1 2008-10-26 Dan Williams <dcbw@redhat.com>
3 Patch from Tambet Ingo <tambet@gmail.com>
5 * libnm-util/libnm-util.ver
6 libnm-util/nm-setting-cdma.c
7 libnm-util/nm-setting-cdma.h
8 - Make properties private and add accessor functions
10 * src/nm-cdma-device.c
11 src/ppp-manager/nm-ppp-manager.c
14 2008-10-26 Dan Williams <dcbw@redhat.com>
16 Patch from Tambet Ingo <tambet@gmail.com>
18 * libnm-util/libnm-util.ver
19 libnm-util/nm-setting-pppoe.c
20 libnm-util/nm-setting-pppoe.h
21 - Make properties private and add accessor functions
23 * src/nm-device-ethernet.c
24 src/ppp-manager/nm-ppp-manager.c
27 2008-10-26 Dan Williams <dcbw@redhat.com>
29 Patch from Tambet Ingo <tambet@gmail.com>
31 * libnm-util/libnm-util.ver
32 libnm-util/nm-setting-wired.c
33 libnm-util/nm-setting-wired.h
34 - Make properties private and add accessor functions
36 * src/nm-device-ethernet.c
37 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
38 system-settings/plugins/ifcfg-suse/parser.c
39 system-settings/src/main.c
42 2008-10-26 Dan Williams <dcbw@redhat.com>
44 Patch from Tambet Ingo <tambet@gmail.com>
46 * libnm-util/libnm-util.ver
47 libnm-util/nm-setting-serial.c
48 libnm-util/nm-setting-serial.h
49 src/nm-serial-device.c
50 - Make properties private and use accessors instead
52 2008-10-26 Dan Williams <dcbw@redhat.com>
54 * src/supplicant-manager/nm-supplicant-interface.c
55 src/supplicant-manager/nm-supplicant-interface.h
56 src/supplicant-manager/nm-supplicant-manager.c
57 src/supplicant-manager/nm-supplicant-manager.h
58 - Add state-to-string conversion functions
60 * src/nm-device-wifi.c
61 src/nm-device-ethernet.c
62 - Normalize state info logging and use strings instead of numbers
64 2008-10-26 Dan Williams <dcbw@redhat.com>
66 * src/NetworkManagerPolicy.c
67 - (update_routing_and_dns): ignore host routes when determining whether
68 a VPN connection should own the default route (bgo #552594)
70 2008-10-24 Dan Williams <dcbw@redhat.com>
73 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
75 2008-10-23 Dan Williams <dcbw@redhat.com>
77 * src/ppp-manager/nm-ppp-manager.c
78 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
79 add really important stuff to the command line to ensure that NM
80 overrides /etc/ppp/options (bgo #556781)
82 2008-10-22 Dan Williams <dcbw@redhat.com>
84 * src/NetworkManagerSystem.c
86 - Use the device's IP interface where appropriate (Per Hallsmark)
88 2008-10-22 Dan Williams <dcbw@redhat.com>
91 - (schedule_automatic_registration_again): use a short timeout here
92 instead of an idle handler to avoid using too much CPU polling for
93 something we should be waiting a bit for anyway
95 2008-10-22 Dan Williams <dcbw@redhat.com>
97 * include/NetworkManager.h
98 introspection/nm-device.xml
99 - Add device state change reason for carrier changes
101 * src/nm-device-ethernet.c
102 - (set_carrier): use the carrier change reason when changing device
103 state in response to carrier changes
105 2008-10-21 Dan Williams <dcbw@redhat.com>
107 * src/NetworkManagerPolicy.c
108 - (update_etc_hosts): don't leak errors, and ensure that
109 g_file_set_contents() gets a valid error placeholder (rh #461933)
111 2008-10-21 Dan Williams <dcbw@redhat.com>
114 - (free_get_settings_info): don't use the DBusGProxy which could be
115 disposed of by the time the function is called
116 - (internal_new_connection_cb): save connection scope
117 - (connection_get_settings_cb): don't replace a connection unless it's
118 actually different from the existing one; fixes an issue where
119 killing the settings service wouldn't deactivate an active connection
120 provided by that settings service, because it was using a connection
121 that had already been replaced in the system or user hash
123 2008-10-21 Dan Williams <dcbw@redhat.com>
125 * src/NetworkManager.c
126 - (main): keep the DHCP manager around since it's a singleton; fixes
127 a use-after-free exposed by r4196 since the DHCP manager singleton
128 variable isn't cleared when the DHCP manager object is finalized
130 2008-10-20 Dan Williams <dcbw@redhat.com>
132 * libnm-util/nm-setting-wireless-security.c
133 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
135 2008-10-20 Dan Williams <dcbw@redhat.com>
137 * src/supplicant-manager/nm-supplicant-config.c
138 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
140 2008-10-20 Dan Williams <dcbw@redhat.com>
142 * src/dhcp-manager/nm-dhcp-manager.c
143 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
144 manager object already refs it once
145 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
146 also get cleaned up by nm_dhcp_device_destroy() to prevent
149 2008-10-20 Dan Williams <dcbw@redhat.com>
152 - (initial_get_connections): use private dbus manager, don't keep
153 ref-ing the singleton. Fixes mismatched refcounts of the dbus
156 2008-10-18 Dan Williams <dcbw@redhat.com>
158 * libnm-glib/nm-settings.c
159 libnm-glib/nm-settings.h
160 - Rename the "get_secrets" virtual function "service_get_secrets" to
161 clarify when it's used; NMExportedConnetion is a base-class for both
162 the client and service side, which is sort of confusing, and
163 get_secrets only makes sense on the service side.
165 * libnm-glib/nm-dbus-connection.c
166 - (get_secrets): remove, unused, and clients need to do extra work to
167 get secrets anyway since the call can block on the remote side
169 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
170 system-settings/plugins/keyfile/nm-keyfile-connection.c
171 - Fix up for get_secrets -> service_get_secrets
173 2008-10-16 Dan Williams <dcbw@redhat.com>
175 * src/nm-device-wifi.c
176 - (constructor): correctly determine encryption capabilities
178 2008-10-15 Dan Williams <dcbw@redhat.com>
180 * src/nm-device-wifi.c
181 - (wireless_qual_to_percent): fix quality calculation in a fallback case
184 2008-10-15 Dan Williams <dcbw@redhat.com>
186 * src/NetworkManagerSystem.c
187 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
188 if the ip4_dest is in a smaller subnet contained within a subnet
189 the machine is currently on, the destination is in the same subnet
190 - (nm_system_device_set_ip4_route): move subnet checks to callers
191 - (add_vpn_gateway_route): check if the VPN gateway is in the same
192 subnet as the parent device, and if so, don't add the direct
193 host route via the parent device's gateway (bgo #481620)
194 - (nm_system_apply_ip4_config): check whether the route to be added
195 is contained within a subnet the device is already on
197 2008-10-11 Dan Williams <dcbw@redhat.com>
199 * include/NetworkManager.h
200 introspection/nm-device.xml
201 include/NetworkManagerVPN.h
202 - Add a few more state reasons for the device deactivated state
204 * src/nm-device-interface.c
205 src/nm-device-interface.h
206 - (nm_device_interface_deactivate): add a 'reason' argument
210 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
211 - (nm_device_state_changed): pass the state change reason to
212 nm_device_take_down()
213 - (nm_device_set_managed): take a 'reason' argument, and pass it along
214 to the state change function
218 - (remove_one_device, handle_unmanaged_devices, sync_devices,
219 impl_manager_sleep): pass a reason code to nm_device_set_managed()
220 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
221 something reasonable along to VPN deactivation
223 * src/vpn-manager/nm-vpn-manager.c
224 src/vpn-manager/nm-vpn-manager.h
225 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
226 pass that along to nm_vpn_connection_disconnect()
228 2008-10-11 Dan Williams <dcbw@redhat.com>
230 * src/nm-device-wifi.c
231 - (can_scan): remove old madwifi hack for not scanning while connected
233 2008-10-11 Dan Williams <dcbw@redhat.com>
235 Add support for VPN subnet gateways (bgo #549196)
237 * include/NetworkManager.h
238 - Add key for internal VPN subnet gateway
240 * src/vpn-manager/nm-vpn-connection.c
241 - (ip_address_to_string): return a const from a static buffer so we
242 don't leak a lot of strings
243 - (print_vpn_config): print internal VPN gateway as well
244 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
246 - (nm_vpn_connection_get_ip4_internal_gateway): new function
248 * src/NetworkManagerSystem.c
249 src/NetworkManagerSystem.h
250 - (nm_system_device_replace_default_ip4_route): split into two, one for
251 VPN connections and one for normal devices
252 - (replace_default_ip4_route): break out route stuff into its own function
253 - (nm_system_replace_default_ip4_route_vpn,
254 nm_system_replace_default_ip4_route): simplify by having two cases,
255 one for VPNs and one for normal devices
257 * src/NetworkManagerPolicy.c
258 - (update_routing_and_dns): simplify, use split default route replacement
261 2008-10-10 Dan Williams <dcbw@redhat.com>
263 Rework default route handling to consolidate decisions in the policy,
264 and to take active VPN connections into account when changing the default
267 * src/NetworkManager.c
268 - (main): pass the vpn_manager to the policy so it knows about active
269 VPN connections; clean up the named manager which wasn't done before
271 * src/NetworkManagerPolicy.c
272 src/NetworkManagerPolicy.h
273 - (nm_policy_new): get a clue about the vpn_manager
274 - (update_default_route): remove, fold into update_routing_and_dns()
275 - (update_routing_and_dns): handle active VPN connections too; an
276 active VPN connection becomes the default route if it does not have
277 server-specified or user-specified custom routes. Otherwise, the
278 best active device gets the default route
279 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
280 nm_policy_destroy): track VPN connection activation and deactivation
281 and update the default route when appropriate
283 * src/NetworkManagerSystem.c
284 src/NetworkManagerSystem.h
285 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
286 in the VPN connection itself
287 - (nm_system_vpn_device_set_from_ip4_config,
288 nm_system_device_set_from_ip4_config): merge together to make
289 nm_system_apply_ip4_config()
290 - (add_vpn_gateway_route): add a route to the VPN's external gateway
291 via the parent device
292 - (nm_system_apply_ip4_config): simplify
293 - (add_ip4_route_to_gateway): new function; add a direct route to the
295 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
296 route stuff out into add_ip4_route_to_gateway() for clarity
299 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
301 * src/vpn-manager/nm-vpn-connection.c
302 src/vpn-manager/nm-vpn-connection.h
303 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
304 nm_vpn_connection_get_parent_device): add
305 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
307 - (connection_state_changed): update the named manager now that
308 nm_system_vpn_device_unset_from_ip4_config() is gone; do something
311 * src/vpn-manager/nm-vpn-manager.c
312 src/vpn-manager/nm-vpn-manager.h
313 - Add a 'connection-activated' signal
314 - (nm_vpn_manager_get_active_connections): new function; mainly for the
315 policy to find out about active VPN connections
317 2008-10-10 Tambet Ingo <tambet@gmail.com>
319 * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
320 a daemon to prevent NM logging spew on console on startup and shutdown (due
321 to dependency loop between NM and syslog).
323 2008-10-10 Alexander Sack <asac@ubuntu.com>
325 Implement managed mode. We bind devices configured in /etc/network/interfaces
326 to their connections by updating wired/wireless setting with the
327 mac address of the device.
329 * system-settings/plugins/ifupdown/plugin.c
330 - (get_net_address_for_udi): implement function to retrieve MAC
331 address of udi from hal in GByteArray format
332 - (bind_device_to_connection): bind mac address of device to
333 wired/wireless system connection
334 - (hal_device_added_cb): call bind_device_to_connection for
335 system connections with a matching interface.name
336 - (hal_device_added_cb): ensure that all code paths
337 properly free the "iface" string.
339 2008-10-10 Alexander Sack <asac@ubuntu.com>
341 Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
342 mode of the ifupdown system config plugin.
344 * system-settings/plugins/ifupdown/plugin.c
345 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
346 private unmanage_well_known state field accordingly
348 2008-10-10 Alexander Sack <asac@ubuntu.com>
350 Implement unmanaged mode that will prevent all devices in the
351 well_known_udis set from being touched by NetworkManager
353 * system-settings/plugins/ifupdown/plugin.c
354 - (typedef struct SCPluginIfupdownPrivate): add gboolean
355 unmanage_well_known field used to turn on/off unmanaged
357 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
358 signal when well_known_udis get added/removed
359 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
360 if we are in unmanaged mode
362 2008-10-10 Alexander Sack <asac@ubuntu.com>
364 Add support to track network devices that have a configuration
365 with a matching interface.name in /etc/network/interfaces
367 * system-settings/plugins/ifupdown/plugin.c
368 - (typedef struct SCPluginIfupdownPrivate): add hash table
369 to track |well_known_udis|
370 - (get_iface_for_udi): helper function to get interface.name
372 - (hal_device_added_cb, hal_device_removed_cb): callbacks
373 that add and remove devices to and from the well_known_udis
374 set depending on whether their |interface.name| matches
375 any interface definition in /etc/network/interfaces
376 - (SCPluginIfupdown_init): connect callbacks from above with
377 hal_mgr and setup well_known_udis hashtable
378 - (GObject__dispose): destroy well_known_udis hashtable
379 - (hal_device_added_cb2): implement wrapper callback with GFunc
380 signature. user_data is supposed to be a triple (hal_mgr,
382 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
383 startup and call hal_device_added_cb2
385 2008-10-10 Alexander Sack <asac@ubuntu.com>
387 Remove implementation for not used NMSystemConfigInterface callback functions
390 * system-settings/plugins/ifupdown/plugin.c
391 - (SCPluginIfupdown_unmanaged_devices_changed): removed
392 - (SCPluginIfupdown_connection_added): removed
394 2008-10-08 Dan Williams <dcbw@redhat.com>
396 Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
398 * src/NetworkManagerUtils.c
399 - (nm_utils_call_dispatcher): add a 'hostname' action
401 * src/NetworkManagerPolicy.c
402 - (set_system_hostname): dispatch hostname changes
404 * callouts/nm-dispatcher-action.c
405 - (nm_dispatcher_action): handle 'hostname' actions
407 2008-10-08 Dan Williams <dcbw@redhat.com>
409 * src/NetworkManagerSystem.c
410 - (find_route): ref the route so it doesn't get destroyed when the cache
412 - (nm_system_device_set_priority): unref the route here after it's done
415 2008-10-08 Dan Williams <dcbw@redhat.com>
417 * src/nm-serial-device.c
418 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
420 2008-10-08 Tambet Ingo <tambet@gmail.com>
422 * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
423 connection with new settings before saving it.
425 2008-10-06 Dan Williams <dcbw@redhat.com>
427 * src/nm-ip4-config.c
429 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
431 * src/nm-device-interface.c
432 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
433 DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
434 by using '/' for the object path
437 - (src/nm-device.c): marshal missing/unexported ip4-config through
438 dbus as '/' since dbus-glib can't handle NULL objects nor can
439 dbus handle NULL object paths
441 2008-10-03 Alexander Sack <asac@ubuntu.com>
443 Implement system hostname support for debian/ubuntu
445 * system-settings/plugins/ifupdown/plugin.c
446 - (GObject__get_property): extend announced capabilities; add
447 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
448 - (GObject__set_property,write_system_hostname): implement
449 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
450 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
451 update_system_hostname, get_hostname):
452 implement hostname property that watches and
455 2008-10-03 Alexander Sack <asac@ubuntu.com>
457 * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
458 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
459 system-settings/plugins/ifcfg-fedora/Makefile.am
460 system-settings/src/nm-inotify-helper.c
461 system-settings/src/nm-inotify-helper.h
463 - Move ifcfg-fedora inotify helpers to the system settings service so
464 they are available to all plugins
466 2008-10-03 Alexander Sack <asac@ubuntu.com>
468 Implement support for wep-tx-keyidx in ifupdown system
471 * system-settings/plugins/ifupdown/parser.c
472 - (update_wireless_security_setting_from_if_block): introduce
473 free_type_mapping func table; rename a few local
474 variables to improve readability; add wpa security mapping
475 for wep-tx-keyidx property
476 - (string_to_gpointerint): new function used for the auto_type_mapping
477 of new wep-tx-keyidx property
478 - (slist_free_all): free func used for mapped slist types
480 2008-10-03 Alexander Sack <asac@ubuntu.com>
482 * system-settings/src/main.c:
483 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
484 always used as the hash key; fixes a crash when removing wired
487 2008-10-02 Dan Williams <dcbw@redhat.com>
489 * src/nm-gsm-device.c
490 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
491 pass the required GSM secret along via user_data rather than keeping
492 it around in the private data where it sometimes didn't get cleared
493 - (real_get_ppp_name): implement using the GSM username
495 2008-10-02 Dan Williams <dcbw@redhat.com>
497 * src/ppp-manager/nm-ppp-manager.c
498 src/ppp-manager/nm-ppp-manager.h
499 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
500 the settings daemon for completely new ones
501 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
502 local PPP peer name; allow PPP debuging by launching NM with
503 the environment variable NM_PPP_DEBUG defined
504 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
505 create_pppd_cmd_line()
507 * src/nm-serial-device.c
508 src/nm-serial-device.h
509 - New 'get_ppp_name' function for subclasses to implement to return the
511 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
512 and pass that name to the PPP manager
514 * src/nm-device-ethernet.c
515 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
518 * src/nm-cdma-device.c
519 - (real_get_ppp_name): implement using the CDMA username
521 2008-10-02 Dan Williams <dcbw@redhat.com>
523 Patch from Alexander Sack <asac ubuntu com>
525 * system-settings/plugins/ifupdown/parser.c
526 - Implement more graceful ip4 config parsing for cases where
527 /etc/network/interfaces omits basic ip4 settings, such as gateway etc
528 by using default values
530 2008-10-02 Dan Williams <dcbw@redhat.com>
532 * src/NetworkManagerPolicy.c
533 - (device_state_changed): when marking a connection invalid, clear its
534 secrets too so that fresh secrets get requested the next time
536 2008-10-01 Dan Williams <dcbw@redhat.com>
538 * system-settings/src/dbus-settings.c
539 - (nm_sysconfig_settings_init): cache system hostname on startup as
540 a fallback if no plugin provides a hostname
541 - (get_property): fall back to cached hostname if no plugin provides
544 2008-10-01 Dan Williams <dcbw@redhat.com>
546 Fix setting value comparison issue that caused some settings to look the
547 same when they were really different (rh #464417)
549 * libnm-util/nm-param-spec-specialized.c
550 - (type_is_fixed_size): return fundamental size of the fixed type too
551 - (nm_gvalues_compare_collection): use the fundamental fixed type size
552 in the comparison so that the _entire_ fixed type collection gets
553 compared rather than just the first 'len1' bytes
555 2008-09-30 Dan Williams <dcbw@redhat.com>
557 * src/NetworkManagerPolicy.c
558 - (lookup_thread_worker): don't store the idle handler ID becuase the
559 idle handler could have already run and freed the LookupThread
562 2008-09-30 Tambet Ingo <tambet@gmail.com>
564 * src/nm-device.c (nm_device_get_priority): Implement.
565 (nm_device_set_ip4_config): Send the device priority to system ip4
568 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
569 Add priority argument and if it's >= 0, set the priority of the network
570 route added automatically by netlink (or kernel?).
571 (nm_system_device_set_priority): Implement.
573 * src/NetworkManagerPolicy.c (get_best_device): Use
574 nm_device_get_priority() instead of home-grown version. Revert the
575 meaning, best priority is the lowest one.
577 2008-09-29 Dan Williams <dcbw@redhat.com>
579 Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
580 when it returns EAGAIN (rh #362421)
582 * src/nm-device-wifi.c
583 - (wireless_get_range): try GIWRANGE a few times until the card responds
584 - (real_get_generic_capabilities, constructor): use wireless_get_range()
586 2008-09-28 Dan Williams <dcbw@redhat.com>
588 * src/nm-serial-device.c
589 src/nm-serial-device.h
590 - (nm_serial_device_close): stop PPP manager here so that PPP gets
591 cleaned at the right times when subclasses close the serial port too
592 - (nm_serial_device_send_command): use a default send delay; don't
593 spin forever on EAGAIN
594 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
595 remove, no longer used
596 - (find_response): return the matched response if any
597 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
599 - (wait_for_reply_done): pass the matched response to the callback
600 - (wait_for_reply_got_data): save the matched response; simplify timeout
602 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
603 const since they never get modified
604 - (cleanup_device): split out common cleanup stuff to a new function
605 - (real_deactivate_quickly, finalize): use cleanup_device()
607 * src/nm-gsm-device.c
608 - (modem_get_reply): remove, unused
609 - (set_apn): give the card a bit more time to respond
610 - (manual_registration_again, schedule_manual_registration_again,
611 manual_registration_response, manual_registration): handle manual
612 registration timeouts better by retrying registration a few times
613 because cards are a bit slow after CFUN=1
614 - (automatic_registration_get_network, get_network_response): use
615 modem_wait_for_reply() because it interacts better with the serial
616 buffer and does more intelligent matching; need to wait for 'OK'
617 rather than just matching terminators
618 - (schedule_automatic_registration_again,
619 automatic_registration_response, automatic_registration): retry
620 registration a few times on timeout or "searching" because cards
621 take a bit to find a network after being powered up with CFUN=1
622 - (power_up_response, power_up, init_full_done, enter_pin,
623 check_pin_done): power up the card with CFUN=1 before trying to
624 register with the network
625 - (init_modem_full, init_modem): use more standard 3G init strings
627 * src/nm-hso-gsm-device.c
628 - (modem_get_reply): remove, unused
629 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
630 modem_wait_for_reply() to match actual responses instead of single
631 termination characters; it doesn't leave stuff in the serial buffer
632 that might confuse later calls
633 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
634 to ensure that the call is really disconnected and not leave extra
635 stuff in the serial buffer
637 * src/nm-cdma-device.c
638 - (power_up_response, power_up, init_done): try Sierra-style modem
639 power up before attempting to connect
641 2008-09-27 Dan Williams <dcbw@redhat.com>
643 * libnm-util/nm-setting-gsm.c
644 - (verify): verify GSM network ID
646 2008-09-25 Dan Williams <dcbw@redhat.com>
648 * libnm-util/nm-setting-gsm.c
649 libnm-util/nm-setting-gsm.h
650 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
651 technology terms (bgo #551361)
653 2008-09-25 Dan Williams <dcbw@redhat.com>
655 Fix bgo #549401 (inspired by patch from Alexander Sack)
657 * src/nm-device-ethernet.c
658 - (finish_supplicant_task): clean up scheduled tasks and free memory
659 - (remove_supplicant_interface_error_handler): remove the supplicant
660 error idle callback too
661 - (supplicant_interface_release): rename from supplicant_interface_clean
662 to match nm-device-wifi.c; clean up supplicant interface-related
663 state tasks when the supplicant interface is disposed of
664 - (schedule_state_handler): add scheduled tasks to a list so they can
666 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
667 supplicant_iface_connection_state_cb_handler): use
668 finish_supplicant_task() to clean up each completed task
669 - (supplicant_iface_connection_error_cb_handler,
670 supplicant_connection_timeout_cb): clear source id when the task is
672 - (supplicant_iface_connection_error_cb): save scheduled task id for
674 - (nm_device_ethernet_dispose): clean up any pending supplicant state
677 * src/nm-device-wifi.c
678 - (finish_supplicant_task): clean up scheduled tasks and free memory
679 - (remove_supplicant_interface_error_handler): remove the supplicant
680 error idle callback too
681 - (supplicant_interface_release): clean up supplicant interface-related
682 state tasks when the supplicant interface is disposed of
683 - (schedule_state_handler): add scheduled tasks to a list so they can
685 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
686 supplicant_iface_connection_state_cb_handler): use
687 finish_supplicant_task() to clean up each completed task
688 - (supplicant_iface_connection_error_cb_handler): clear source id when
690 - (supplicant_iface_connection_error_cb): save scheduled task id for
692 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
694 2008-09-24 Tambet Ingo <tambet@gmail.com>
696 * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
697 method and get/set hostname property.
699 2008-09-24 Tambet Ingo <tambet@gmail.com>
701 * src/supplicant-manager/nm-supplicant-interface.c
702 (nm_supplicant_interface_disconnect): Don't increment the reference
703 count when disconnecting. The problem is on shutdown, when the replies
704 to these commands do not arrive before NM exits, resulting on never
705 calling supplicant interface's dispose(), which removes the interface
708 2008-09-24 Tambet Ingo <tambet@gmail.com>
710 * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
711 all the public function arguments.
713 2008-09-22 Tambet Ingo <tambet@gmail.com>
715 * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
716 "Failure" signal from VPN plugins, store the failure reason, and
717 use it when the state is changed to failure.
719 * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
722 * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
723 reason to the end of the list to not break the API.
724 (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
725 so it can be shared by plugins and daemon.
727 2008-09-18 Dan Williams <dcbw@redhat.com>
729 Patch from Alexander Sack <asac@ubuntu.com>
732 system-settings/plugins/Makefile.am
733 system-settings/plugins/ifupdown/Makefile.am
734 system-settings/plugins/ifupdown/interface_parser.c
735 system-settings/plugins/ifupdown/interface_parser.h
736 system-settings/plugins/ifupdown/nm-ifupdown-connection.c
737 system-settings/plugins/ifupdown/nm-ifupdown-connection.h
738 system-settings/plugins/ifupdown/parser.c
739 system-settings/plugins/ifupdown/parser.h
740 system-settings/plugins/ifupdown/plugin.c
741 system-settings/plugins/ifupdown/plugin.h
742 - Implement a Debian/Ubuntu legacy network configuration plugin
745 2008-09-18 Dan Williams <dcbw@redhat.com>
747 Implement support for honoring configured and automatic hostnames, and for
748 setting the configured hostname.
750 * introspection/nm-ip4-config.xml
753 src/dhcp-manager/nm-dhcp-manager.c
754 - Remove useless hostname property; it's not really part of the IPv4
757 * introspection/nm-settings-system.xml
758 libnm-glib/nm-dbus-settings-system.c
759 libnm-glib/nm-dbus-settings-system.h
760 - Add SetHostname() call to system settings D-Bus interface
761 - Add Hostname property to system settings D-Bus interface
762 - (nm_dbus_settings_system_save_hostname,
763 nm_dbus_settings_system_get_hostname): implement
767 - (nm_device_get_dhcp4_config): implement
771 - Fetch and track system settings service hostname changes, and proxy
772 the changes via a GObject property of the manager
774 * system-settings/src/nm-system-config-interface.c
775 system-settings/src/nm-system-config-interface.h
776 - Replace nm_system_config_interface_supports_add() with a capabilities
779 * system-settings/src/nm-system-config-error.c
780 system-settings/src/nm-system-config-error.h
781 - Add additional errors
783 * system-settings/src/dbus-settings.c
784 system-settings/src/dbus-settings.h
785 - (get_property, nm_sysconfig_settings_class_init): add hostname
786 property; first plugin returning a hostname wins
787 - (impl_settings_add_connection): use plugin capabilities instead of
788 nm_system_config_interface_supports_add()
789 - (impl_settings_save_hostname): implement hostname saving
791 * src/NetworkManagerPolicy.c
792 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
793 lookup_thread_die): implement an asynchronous hostname lookup thread
794 which given an IPv4 address tries to look up the hostname for that
795 address with reverse DNS
796 - (get_best_device): split out best device code from
797 update_routing_and_dns()
798 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
799 to preserve the 127.0.0.1 reverse mapping that so many things require
800 - (set_system_hostname): set a given hostname
801 - (update_system_hostname): implement hostname policy; a configured
802 hostname (from the system settings service) is used if available,
803 otherwise an automatically determined hostname from DHCP, VPN, etc.
804 If there was no automatically determined hostname, reverse DNS of
805 the best device's IP address will be used, and as a last resort the
806 hostname 'localhost.localdomain' is set.
807 - (update_routing_and_dns): use get_best_device(); update the system
808 hostname when the network config changes
809 - (hostname_changed): update system hostname if the system settings
810 service signals a hostname change
811 - (nm_policy_new): list for system settings service hostname changes
812 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
815 * system-settings/plugins/keyfile/plugin.c
816 system-settings/plugins/ifcfg-suse/plugin.c
817 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
818 capabilities properties
820 * system-settings/plugins/ifcfg-fedora/shvar.c
821 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
822 writes out /etc/sysconfig/network now
824 * system-settings/plugins/ifcfg-fedora/plugin.c
825 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
826 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
827 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
828 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
829 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
830 hostname get/set and capabilities get
832 2008-09-18 Dan Williams <dcbw@redhat.com>
834 * libnm-util/nm-setting-wireless.c
835 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
836 group ciphers if the wireless-security setting explicitly specified
837 them, effectively making the default be "all ciphers" (idea from
840 2008-09-15 Dan Williams <dcbw@redhat.com>
842 Patch from Alexander Sack <asac@ubuntu.com>
844 * src/named-manager/nm-named-manager.c
845 - (dispatch_resolvconf): respect resolvconf exit code
847 2008-09-12 Tambet Ingo <tambet@gmail.com>
849 * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
850 again. Add some debugging.
852 2008-09-11 Dan Williams <dcbw@redhat.com>
854 * system-settings/plugins/keyfile/plugin.c
855 - (update_connection_settings): update connection manually, since
856 nm_exported_connection_update() does authentication
857 - (dir_changed): update_connection_settings() doesn't need to return
860 2008-09-09 Dan Williams <dcbw@redhat.com>
862 * libnm-glib/nm-vpn-plugin-ui-interface.c
863 libnm-glib/nm-vpn-plugin-ui-interface.h
864 libnm-glib/libnm_glib_vpn.ver
865 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
866 should clean up resources related to the connection (like keyring
868 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
869 should save user-scope secrets (like to the keyring)
871 2008-09-08 Dan Williams <dcbw@redhat.com>
873 Patch from Alexander Sack <asac@ubuntu.com>
875 * libnm-util/crypto_gnutls.c
876 libnm-util/crypto_nss.c
877 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
879 * libnm-util/nm-utils.c
880 libnm-util/nm-utils.h
881 libnm-util/libnm-util.ver
882 - (nm_utils_init): initialize libnm-util
883 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
885 * libnm-util/nm-setting-8021x.c
886 - (nm_setting_802_1x_class_init): init libnm-util when needed
888 2008-09-05 Dan Williams <dcbw@redhat.com>
890 Patch from Roy Marples <roy@marples.name> and others
893 src/named-manager/nm-named-manager.c
894 - Add support for resolvconf; use --with-resolvconf at configure time
897 2008-09-05 Dan Williams <dcbw@redhat.com>
899 * libnm-util/crypto_nss.c
900 libnm-util/crypto_gnutls.c
902 - (crypto_init): return error when init fails
904 2008-09-05 Dan Williams <dcbw@redhat.com>
906 * libnm-glib/nm-device-wifi.c
907 - (access_point_removed_proxy): clean up the active access point too
908 just in case the active ap changed signal didn't come through yet
909 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
911 2008-09-05 Dan Williams <dcbw@redhat.com>
913 * libnm-glib/nm-client.c
914 - (constructor): get initial state after we know whether NM is running
917 2008-09-05 Dan Williams <dcbw@redhat.com>
919 * libnm-glib/nm-ip4-config.c
920 libnm-glib/nm-dhcp4-config.c
921 - (finalize): clean up the DBusGProxy
923 2008-09-04 Dan Williams <dcbw@redhat.com>
925 * src/nm-ip4-config.c
927 - (nm_ip4_config_new): don't export over D-Bus here
928 - (nm_ip4_config_export): new function; export the config over D-Bus
929 - (nm_ip4_config_is_exported): new function
932 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
933 objects by balancing the IP4Config constructor; the device holds
934 a reference to the IP4Config already
935 - (nm_device_set_ip4_config): export the IP4Config when needed
937 2008-09-04 Dan Williams <dcbw@redhat.com>
939 * src/supplicant-manager/nm-supplicant-settings-verify.c
940 - Allow WPA-NONE key management for Ad-Hoc WPA connections
942 2008-09-04 Dan Williams <dcbw@redhat.com>
944 * libnm-util/nm-setting-vpn.c
945 libnm-util/nm-setting-vpn.h
946 - Split VPN secrets from VPN data so that settings services can actually
947 figure out that they are secrets and store them accordingly
949 * system-settings/plugins/keyfile/nm-keyfile-connection.c
950 system-settings/plugins/keyfile/reader.c
951 system-settings/plugins/keyfile/reader.h
952 system-settings/plugins/keyfile/writer.c
953 - Store VPN secrets separately from VPN data so that they can be fetched
955 - Implement the get_secrets() call so that (a) secrets don't leak out
956 to unprivileged callers, and (b) secrets can be sent to privileged
959 * vpn-daemons/vpnc/src/nm-vpnc-service.c
960 - Handle split VPN secrets
962 2008-08-27 Dan Williams <dcbw@redhat.com>
964 * system-settings/plugins/ifcfg-fedora/reader.c
965 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
967 2008-08-27 Dan Williams <dcbw@redhat.com>
969 Ensure zombie children get cleaned up. To get notifications when children
970 die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
971 that requires calling waitpid() yourself if you've removed the child watch
972 handler before the process has actually died, which NM needs to do in a few
973 places. So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
974 cleans up after the child when required. Should fix problems trying to
975 activate mobile broadband connections after a previous failure.
977 * src/dhcp-manager/nm-dhcp-dhclient.c
978 src/dhcp-manager/nm-dhcp-dhcpcd.c
979 - Use G_SPAWN_DO_NOT_REAP_CHILD
981 * src/dhcp-manager/nm-dhcp-manager.c
982 - (nm_dhcp_device_destroy): ensure child is cleaned up
983 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
984 block on child quitting, since the non-blocking functionality was
987 * src/dnsmasq-manager/nm-dnsmasq-manager.c
988 - (dm_watch_cb): child is already reaped here
989 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
992 - (aipd_cleanup): block until child is dead
994 * src/named-manager/nm-named-manager.c
995 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
996 event bothering to watch the child
998 * src/ppp-manager/nm-ppp-manager.c
999 - (ppp_watch_cb): child is already reaped here
1000 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1002 * src/vpn-manager/nm-vpn-service.c
1003 - (vpn_service_watch_cb): child is already reaped here
1004 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1005 status of the child is actually tracked
1006 - (ensure_killed, finalize): block until child is dead
1008 2008-08-26 Dan Williams <dcbw@redhat.com>
1010 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1011 - (update): Update filename of the connection if the connection id
1014 * system-settings/plugins/keyfile/plugin.c
1015 - (dir_changed): first pass at handling connection renames correctly
1017 * system-settings/plugins/keyfile/writer.c
1018 system-settings/plugins/keyfile/writer.h
1019 - (write_connection): replace '/' with '*' when writing out the filename
1020 from the connection id
1022 2008-08-26 Dan Williams <dcbw@redhat.com>
1024 Add connection UUIDs, since connection names can be changed, and since
1025 old-style connection IDs could change over the life of the connection. The
1026 UUID should be assigned at connection creation time, be stable for a given
1027 connection, and should be unique among all connections for a given settings
1031 libnm-util/Makefile.am
1034 * introspection/nm-exported-connection.xml
1035 - Remove "GetID" method
1037 * libnm-glib/nm-dbus-connection.c
1038 libnm-glib/nm-settings.c
1039 libnm-glib/nm-settings.h
1040 - Remove id-related stuff
1042 * libnm-util/nm-utils.c
1043 libnm-util/nm-utils.h
1044 libnm-util/libnm-util.ver
1045 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1046 utility functions to generate UUIDs
1048 * libnm-util/nm-setting-connection.c
1049 libnm-util/nm-setting-connection.h
1050 - Add 'uuid' member to the connection setting
1051 - (verify): require valid 'uuid' for a valid connection
1053 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1054 system-settings/plugins/ifcfg-fedora/reader.c
1055 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1056 system-settings/plugins/ifcfg-suse/parser.c
1057 system-settings/plugins/keyfile/nm-keyfile-connection.c
1058 system-settings/src/main.c
1059 - Remove id-related stuff
1060 - Give connections UUIDs where needed
1062 2008-08-25 Dan Williams <dcbw@redhat.com>
1064 * libnm-util/crypto_gnutls.c
1065 libnm-util/crypto_nss.c
1066 - (crypto_init, crypto_deinit): refcount init/deinit
1067 - (crypto_md5_hash): allow NULL salt
1069 2008-08-22 Michael Biebl <mbiebl@gmail.com>
1071 * libnm-glib/Makefile.am
1072 libnm-util/Makefile.am
1073 libnm-glib/libnm_glib.ver
1074 libnm-glib/libnm_glib_vpn.ver
1075 libnm-util/libnm-util.ver
1076 - Use linker version scripts to control the list of exported
1077 symbols. List each exported symbol explicitely.
1078 * libnm-util/Makefile.am
1079 - Fix compilation of the test-crypto binary. The crypto
1080 functions are no longer part of the libnm-util API. Add
1081 crypto_*.c to test_crypto_SOURCES and link against the correct
1084 2008-08-19 Dan Williams <dcbw@redhat.com>
1088 - Don't build test/test-common
1089 - Remove unused stuff
1091 * test/nm-set-fallback
1092 test/nmtestdevices.c
1093 test/test-common/.cvsignore
1094 test/test-common/Makefile.am
1095 test/test-common/test-common.c
1096 test/test-common/test-common.h
1099 2008-08-18 Dan Williams <dcbw@redhat.com>
1101 * libnm-util/nm-utils.c
1102 libnm-util/nm-utils.h
1103 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1104 export anything that needs to be converted with this function
1106 * src/dhcp-manager/nm-dhcp-manager.c
1107 - (garray_to_string): convert a byte array to a UTF-8 string with
1108 minimal validation; the DHCP client sends it in ASCII anyway
1109 - (get_option, copy_option): use garray_to_string()
1111 2008-08-18 Dan Williams <dcbw@redhat.com>
1113 * include/NetworkManager.h
1114 introspection/nm-device.xml
1115 - Add a "missing firmware" device state reason
1117 * src/NetworkManagerSystem.c
1118 src/NetworkManagerSystem.h
1119 - (nm_system_device_set_up_down): add a no_firmware argument
1120 - (nm_system_device_set_up_down_with_iface): if the result of setting
1121 IFF_UP is ENOENT, that almost always means missing firmware
1123 * src/backends/NetworkManagerGeneric.c
1124 src/nm-device-ethernet.c
1125 src/nm-device-private.h
1126 src/nm-device-wifi.c
1129 src/nm-hso-gsm-device.c
1130 src/vpn-manager/nm-vpn-connection.c
1131 - Pass no_firmware along; check it where appropriate
1133 2008-08-18 Dan Williams <dcbw@redhat.com>
1135 Patch from Robert Buchholz <rbu@gentoo.org>
1139 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1140 1003.1-1988, allowing for file names longer than 99 characters
1142 2008-08-17 Dan Williams <dcbw@redhat.com>
1144 * include/NetworkManager.h
1145 introspection/nm-device.xml
1147 - Finer-grained GSM registration failure error codes
1149 2008-08-17 Dan Williams <dcbw@redhat.com>
1151 * callouts/Makefile.am
1153 - Move dispatcher directory creation to callouts/Makefile.am
1155 * system-settings/plugins/keyfile/Makefile.am
1156 - Create keyfile connections directory in DESTDIR (bgo #546833)
1158 2008-08-15 Dan Williams <dcbw@redhat.com>
1160 Do connection sharing in a cleaner manner; all required iptables rules
1161 are now stored in the activation request and pertain only to the device
1162 which is being shared to other computers. (rh #458625)
1164 * src/nm-activation-request.c
1165 src/nm-activation-request.h
1166 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1167 the activation request which will get torn down automatically when
1168 the activation request dies
1169 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1170 is started, and tear them down when sharing is stopped
1173 - (start_sharing): start up sharing by doing the required iptables magic
1174 - (share_init): poke the right bits of the kernel and load the right
1176 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1177 connection if it's a 'shared' connection
1179 * src/NetworkManagerPolicy.c
1180 - Remove all sharing stuff; done in the device code itself
1182 2008-08-15 Dan Williams <dcbw@redhat.com>
1184 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1185 - (create_dm_cmd_line): send the right router address
1187 2008-08-15 Dan Williams <dcbw@redhat.com>
1189 * src/ppp-manager/nm-ppp-manager.c
1190 - (pppd_timed_out): ensure timeouts fail the connection
1192 2008-08-14 Dan Williams <dcbw@redhat.com>
1194 * src/nm-properties-changed-signal.c
1195 src/nm-properties-changed-signal.h
1196 - Add a property spec flag for "don't export this property" in
1197 property changed signals
1199 * src/nm-hso-gsm-device.c
1201 src/nm-cdma-device.c
1202 - Don't export monitor interface or netdev interface properties
1204 2008-08-14 Dan Williams <dcbw@redhat.com>
1206 * src/NetworkManagerPolicy.c
1207 - (update_routing_and_dns): 'hso' devices can be default even if they
1208 don't have a gateway
1210 2008-08-14 Dan Williams <dcbw@redhat.com>
1213 - (nm_device_deactivate_quickly): tear down activation request after
1214 calling device-specific deactivation
1216 * src/nm-hso-gsm-device.c
1217 - (real_deactivate_quickly): terminate connection when deactivating
1219 2008-08-14 Dan Williams <dcbw@redhat.com>
1221 * src/nm-activation-request.h
1222 - Add HSO secrets caller
1224 * src/nm-gsm-device.c
1226 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1227 something to the callback function
1228 - (set_apn, set_apn_done): call class dial function, not a static one
1229 - (nm_gsm_device_class_init): add a class 'dial' function
1231 * src/nm-hal-manager.c
1232 - (get_hso_netdev): find the hso-driven hardware's net device
1233 - (modem_device_creator): recognize hso-driven hardware and create the
1234 right type of device object for it
1237 src/nm-hso-gsm-device.c
1238 src/nm-hso-gsm-device.h
1239 - Implement support for devices driven by the 'hso' driver as a subclass
1242 2008-08-14 Dan Williams <dcbw@redhat.com>
1244 * src/NetworkManagerSystem.c
1245 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1246 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1247 success if the operation really was successful
1249 2008-08-14 Dan Williams <dcbw@redhat.com>
1251 * src/nm-netlink-monitor.c
1252 src/nm-netlink-monitor.h
1253 src/nm-device-ethernet.c
1254 - (nm_netlink_monitor_request_status): return an error on failure
1255 - (constructor): don't segfault on missing error
1257 2008-08-13 Dan Williams <dcbw@redhat.com>
1259 * callouts/nm-dispatcher-action.c
1260 - Add IP4 config info to script environment
1262 2008-08-12 Dan Williams <dcbw@redhat.com>
1265 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1266 that want to use DHCP hostnames should use dispatcher scripts
1269 * src/NetworkManagerSystem.h
1270 src/backends/NetworkManagerArch.c
1271 src/backends/NetworkManagerDebian.c
1272 src/backends/NetworkManagerFrugalware.c
1273 src/backends/NetworkManagerGeneric.c
1274 src/backends/NetworkManagerGeneric.h
1275 src/backends/NetworkManagerGentoo.c
1276 src/backends/NetworkManagerMandriva.c
1277 src/backends/NetworkManagerPaldo.c
1278 src/backends/NetworkManagerRedHat.c
1279 src/backends/NetworkManagerSlackware.c
1280 src/backends/NetworkManagerSuSE.c
1281 - Remove nm_system_set_hostname(), no longer used
1283 * src/backends/Makefile.am
1284 src/backends/shvar.c
1285 src/backends/shvar.h
1286 - Remove shvar.*; no longer used
1288 2008-08-12 Dan Williams <dcbw@redhat.com>
1290 Revert most of the 'hostname' patch. Too much stuff still breaks when
1291 hostname is updated at runtime. Distros or users who want hostname updates
1292 can use dispatcher scripts to update the hostname if they need it.
1294 2008-08-12 Dan Williams <dcbw@redhat.com>
1296 * introspection/nm-settings-system.xml
1297 system-settings/src/dbus-settings.c
1298 system-settings/src/dbus-settings.h
1299 - Add a 'Hostname' property (rw) which represents the configured
1300 hostname and domain of the system, if any
1302 * system-settings/src/nm-system-config-error.c
1303 system-settings/src/nm-system-config-error.h
1304 system-settings/src/nm-system-config-interface.c
1305 system-settings/src/nm-system-config-interface.h
1306 - Add a 'hostname' property to the plugin interface
1307 - Add a method to send updated hostname to plugins to save in their
1308 backing configuration store
1310 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1311 system-settings/plugins/keyfile/plugin.c
1312 system-settings/plugins/keyfile/writer.c
1313 system-settings/plugins/keyfile/writer.h
1314 system-settings/plugins/ifcfg-suse/plugin.c
1315 - Add minimal hostname support
1317 * system-settings/plugins/ifcfg-fedora/plugin.c
1318 - Add support for updating system hostname in /etc/sysconfig/network
1320 2008-08-12 Dan Williams <dcbw@redhat.com>
1322 * system-settings/plugins/ifcfg-fedora/shvar.c
1323 system-settings/plugins/ifcfg-fedora/shvar.c
1324 - Fix double-free caused by svSetValue() followed by svCloseFile()
1326 2008-08-12 Tambet Ingo <tambet@gmail.com>
1328 * Makefile.am: Fix distcheck.
1330 2008-08-12 Tambet Ingo <tambet@gmail.com>
1332 * libnm-glib/*.c. Document some more.
1334 2008-08-12 Tambet Ingo <tambet@gmail.com>
1336 Start documenting libnm-glib public API using gtk-doc.
1338 * libnm-glib/nm-serial-device.c:
1339 * libnm-glib/nm-object.c:
1340 * libnm-glib/nm-gsm-device.c:
1341 * libnm-glib/nm-device.c:
1342 * libnm-glib/nm-device-wifi.c:
1343 * libnm-glib/nm-device-ethernet.c:
1344 * libnm-glib/nm-client.c:
1345 * libnm-glib/nm-cdma-device.c: Document the public API.
1347 * docs/libnm-glib/libnm-glib.types: Implement.
1349 * docs/libnm-glib/Makefile.am: Implement.
1353 * Makefile.am: Add gtk-doc support.
1355 2008-08-12 Tambet Ingo <tambet@gmail.com>
1357 * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1359 * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1360 the composite result of all the IP4 configurations and call a distro
1361 specific update_resolv_conf().
1362 (update_resolv_conf): Implement one for directly writing to
1363 /etc/resolv.conf and one for opensuse to call netconfig.
1365 2008-08-11 Dan Williams <dcbw@redhat.com>
1367 * src/ppp-manager/nm-ppp-manager.c
1368 - (impl_ppp_manager_need_secrets): pass interface as required
1370 2008-08-11 Dan Williams <dcbw@redhat.com>
1372 Merge the vpn-properties setting with the vpn setting since it was pointless
1373 to keep both of them around. Convert the vpn 'data' hash table to a hash
1374 of string:string (instead of string:variant) so that system settings plugins
1375 can have an easier time dealing with the arbitrary key/value pairs.
1377 2008-08-11 Dan Williams <dcbw@redhat.com>
1379 * libnm-util/nm-utils.c
1380 - (nm_utils_register_value_transformations): add value transform for
1381 a hash table of string:string
1383 2008-08-10 Dan Williams <dcbw@redhat.com>
1385 * libnm-glib/nm-vpn-plugin.c
1386 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1387 an idle handler so the Connect reply gets delivered before the
1388 stop StateChanged signal
1390 2008-08-10 Dan Williams <dcbw@redhat.com>
1392 * src/nm-ip4-config.c
1393 - (get_property): use common ip4 address/route conversion functions
1394 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1395 copy the new route here, not take ownership
1397 2008-08-08 Tambet Ingo <tambet@gmail.com>
1399 * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1400 Update the IP4 setting's method name.
1402 2008-08-07 Dan Williams <dcbw@redhat.com>
1404 * introspection/nm-ip4-config.xml
1405 libnm-glib/libnm-glib-test.c
1406 libnm-glib/nm-ip4-config.c
1407 libnm-glib/nm-ip4-config.h
1408 src/NetworkManagerSystem.h
1409 src/backends/NetworkManagerArch.c
1410 src/backends/NetworkManagerDebian.c
1411 src/backends/NetworkManagerFrugalware.c
1412 src/backends/NetworkManagerGeneric.c
1413 src/backends/NetworkManagerGeneric.h
1414 src/backends/NetworkManagerGentoo.c
1415 src/backends/NetworkManagerMandriva.c
1416 src/backends/NetworkManagerPaldo.c
1417 src/backends/NetworkManagerRedHat.c
1418 src/backends/NetworkManagerSlackware.c
1419 src/backends/NetworkManagerSuSE.c
1420 src/dhcp-manager/nm-dhcp-manager.c
1424 - Remove NIS logic; should be done from dispatcher scripts instead
1426 2008-08-07 Dan Williams <dcbw@redhat.com>
1428 * src/dhcp-manager/nm-dhcp-manager.c
1429 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1430 mis-handling of DHCP responses that returned more than one router
1431 (found by Grant Williamson)
1433 2008-08-07 Dan Williams <dcbw@redhat.com>
1435 * callouts/nm-dispatcher-action.c
1436 - (nm_dispatcher_action): grab device path and create the device; pass
1437 the device's DHCP4 config to script caller
1438 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1441 * libnm-glib/nm-dhcp4-config.c
1442 libnm-glib/nm-dhcp4-config.h
1443 - (nm_dhcp4_config_get_options): expose
1444 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1446 2008-08-07 Dan Williams <dcbw@redhat.com>
1448 * include/NetworkManager.h
1449 - Add the DHCP4Config D-Bus interface
1451 * libnm-glib/Makefile.am
1452 libnm-glib/nm-dhcp4-config.c
1453 libnm-glib/nm-dhcp4-config.h
1454 - Handle DHCP4 config objects exported by NM over D-Bus
1456 * libnm-glib/nm-device.c
1457 libnm-glib/nm-device.h
1458 - Add a 'dhcp4-config' property
1460 * libnm-glib/libnm-glib-test.c
1461 - Print out DHCP4 config for devices
1462 - Fix some crashes when no connections are active
1464 * src/nm-device-interface.c
1466 src/nm-dhcp4-config.c
1467 src/nm-dhcp4-config.h
1468 - Treat dhcp4-config object as an object path at the D-Bus interface so
1469 that when it doesn't exist we can proxy it as "/" which dbus-glib
1470 doesn't let us do when the property type is G_TYPE_OBJECT
1472 2008-08-07 Dan Williams <dcbw@redhat.com>
1474 * src/NetworkManager.c
1475 src/NetworkManagerSystem.h
1476 src/backends/NetworkManagerArch.c
1477 src/backends/NetworkManagerDebian.c
1478 src/backends/NetworkManagerFrugalware.c
1479 src/backends/NetworkManagerGeneric.c
1480 src/backends/NetworkManagerGeneric.h
1481 src/backends/NetworkManagerGentoo.c
1482 src/backends/NetworkManagerMandriva.c
1483 src/backends/NetworkManagerPaldo.c
1484 src/backends/NetworkManagerRedHat.c
1485 src/backends/NetworkManagerSlackware.c
1486 src/backends/NetworkManagerSuSE.c
1487 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1489 2008-08-06 Dan Williams <dcbw@redhat.com>
1491 * libnm-glib/nm-ip4-config.c
1492 libnm-glib/nm-ip4-config.h
1493 - Add 'routes' property
1495 * libnm-util/nm-setting-vpn.c
1496 libnm-util/nm-setting-vpn.h
1497 - Remove 'routes' property
1499 * libnm-util/nm-setting-ip4-config.c
1500 libnm-util/nm-setting-ip4-config.h
1501 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1502 - Add 'ignore-auto-routes' property
1503 - 'routes' exposed over D-Bus is now an array of array of uint (4) to
1504 accomodate route metrics
1505 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1507 * libnm-util/nm-utils.c
1508 libnm-util/nm-utils.h
1509 - Add helpers for marshalling IP4 routes
1511 * src/NetworkManagerUtils.c
1512 - (nm_utils_merge_ip4_config): handle property renames and new route
1515 * src/NetworkManagerSystem.c
1516 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1517 nm_system_vpn_device_set_from_ip4_config): respect route metrics
1519 * src/dhcp-manager/nm-dhcp-manager.c
1520 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1522 * system-settings/plugins/ifcfg-fedora/reader.c
1523 system-settings/plugins/ifcfg-fedora/writer.c
1524 - Handle routes separately from addresses now that routes have a different
1527 * introspection/nm-ip4-config.xml
1530 - Rename internal routing functions
1531 - 'static-routes' renamed to 'routes'
1533 2008-08-04 Dan Williams <dcbw@redhat.com>
1535 Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1537 * src/NetworkManager.c
1540 - More explicitly make the NMManager a singleton
1542 2008-08-04 Dan Williams <dcbw@redhat.com>
1544 * libnm-util/nm-connection.c
1545 libnm-util/nm-connection.h
1546 - (nm_connection_verify): return error on missing 'connection' setting
1547 (found by Sjoerd Simons)
1549 2008-08-04 Dan Williams <dcbw@redhat.com>
1551 Handle multiple concurrent PPP connections.
1553 * src/ppp-manager/nm-ppp-manager.c
1554 src/ppp-manager/nm-ppp-manager.h
1555 - (constructor): only PPP Manager request bus name once; each
1556 NMPPPManager object gets a unique object path
1557 - (nm_ppp_manager_class_init, get_property, set_property,
1558 nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1560 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1561 remove timeout until PPP manager gets an IP4 config
1562 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1563 the plugin can call back to this specific PPP manager instance
1565 * src/nm-device-ethernet.c
1566 src/nm-serial-device.c
1567 - Pass parent device in nm_ppp_manager_new()
1569 * src/nm-gsm-device.c
1570 src/nm-cdma-device.c
1571 - (device_state_changed): don't close serial device on NEED_AUTH
1572 state changed, that's not a failure case like the rest are
1574 * src/ppp-manager/nm-pppd-plugin.c
1575 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1576 binds one interface to any pppd process, thus the correct index
1577 is always 0; send PHASE_DEAD on error to alert NM immediately of
1578 problems; try harder to get a peer address in spite of pppd
1579 - (plugin_init): use 'ipparam' as the object path back to our specific
1580 PPP manager instance
1582 2008-08-04 Dan Williams <dcbw@redhat.com>
1584 * src/ppp-manager/nm-ppp-manager.c
1585 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1586 since the GSM and CDMA settings now implement need_secrets, we can
1587 rely on them to do the right thing. Where secrets are not required,
1588 just pass empty strings back to the pppd plugin.
1589 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1590 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1591 on successful IP4 config receipt
1593 2008-08-04 Dan Williams <dcbw@redhat.com>
1595 * libnm-util/nm-setting-cdma.c
1596 libnm-util/nm-setting-gsm.c
1597 - (verify): validate username & password if they exist
1598 - (need_secrets): if username given, require a password too
1600 2008-08-04 Dan Williams <dcbw@redhat.com>
1602 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1603 - (create_dm_cmd_line): really don't listen on lo, despite what the
1604 manpage says about --listen-address without --interface
1607 2008-08-01 Dan Williams <dcbw@redhat.com>
1609 * libnm-glib/nm-device.c
1610 - (proxy_get_string): util function for querying a HAL property
1611 - (get_ancestor_device): split out from get_product_and_vendor()
1612 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1613 from PCI devices by querying subsys properties
1614 - (nm_device_update_description): simplify
1616 2008-08-01 Dan Williams <dcbw@redhat.com>
1618 * libnm-util/nm-setting-ip4-config.c
1619 libnm-util/nm-setting-ip4-config.h
1620 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1621 'autoip' -> 'link-local'. VPN & PPP connections can also have IPv4
1622 settings, and they don't necessarily use DHCP.
1624 * src/NetworkManagerPolicy.c
1626 system-settings/plugins/ifcfg-fedora/reader.c
1627 system-settings/plugins/ifcfg-suse/parser.c
1628 - Fixup for method changes
1630 2008-07-31 Dan Williams <dcbw@redhat.com>
1632 * src/nm-activation-request.c
1633 src/vpn-manager/nm-vpn-connection.c
1634 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1635 itself should be attached to the activation request or the VPN
1636 connection, not the NMConnection object, since the call is not
1637 expected to live as long as the NMConnection itself
1639 2008-07-31 Dan Williams <dcbw@redhat.com>
1641 * src/nm-device-wifi.c
1642 - (real_act_stage2_config): fix issue where association would continue
1643 even though secrets were needed; 'goto out' was in wrong scope and
1644 result of handle_auth_or_fail() should have been dumped directly to
1645 'ret' to ensure that the association was postponed until secrets
1648 2008-07-31 Dan Williams <dcbw@redhat.com>
1650 * system-settings/plugins/ifcfg-fedora/plugin.c
1651 system-settings/plugins/ifcfg-fedora/reader.c
1652 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1655 2008-07-29 Dan Williams <dcbw@redhat.com>
1657 * src/nm-gsm-device.c
1658 - (automatic_registration_response, automatic_registration): recognize
1659 denied registration and reorder responses
1661 2008-07-29 Dan Williams <dcbw@redhat.com>
1663 * src/nm-serial-device.c
1664 - (nm_serial_device_wait_for_reply): fix timeout calculation. Since
1665 time(2) is used for current time, which returns seconds, we shouldn't
1666 be multiplying by 1000.
1668 2008-07-28 Dan Williams <dcbw@redhat.com>
1670 Patch from Fabrice Bellet <fabrice@bellet.info>
1672 * src/NetworkManagerSystem.c
1673 - (route_in_same_subnet): mask addresses and compare them so that the
1674 function actually does what it says it's going to do (rh #456685)
1676 2008-07-27 Dan Williams <dcbw@redhat.com>
1678 * libnm-util/nm-setting-ip6-config.c
1679 - (set_property): add missing break that caused routes to be overwritten
1682 * libnm-util/nm-setting-ip6-config.c
1683 - (verify): validate routes and return GError everywhere on invalid setting
1684 - (finalize): don't leak routes
1685 - (set_property): add missing break that caused routes to be overwritten
1688 2008-07-27 Dan Williams <dcbw@redhat.com>
1691 - Relicense to LGPLv2+
1693 2008-07-27 Dan Williams <dcbw@redhat.com>
1695 * system-settings/plugins/ifcfg-fedora/reader.c
1696 - (make_ip4_setting): fix parsing automatic configs
1698 2008-07-27 Dan Williams <dcbw@redhat.com>
1700 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1702 src/ppp-manager/nm-ppp-manager.c
1703 - Ensure child process gets reaped. The child watch function may be
1704 removed from the mainloop before the child gets killed, so we have
1705 to make sure the child is reaped when it's told to die intentionally
1707 2008-07-27 Dan Williams <dcbw@redhat.com>
1709 Patch from Roy Marples <roy@marples.name>
1711 * src/dhcp-manager/nm-dhcp-dhcpcd.c
1712 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1714 2008-07-27 Dan Williams <dcbw@redhat.com>
1716 * src/nm-gsm-device.c
1717 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1718 Huawei devices turn echo back on after CPIN (rh #456770)
1720 2008-07-24 Tambet Ingo <tambet@gmail.com>
1722 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1723 format argument to g_set_error() call.
1725 * src/backends/interface_parser.[ch]: Remove.
1727 * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1729 2008-07-21 Dan Williams <dcbw@redhat.com>
1731 * src/ppp-manager/nm-ppp-manager.c
1732 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1733 to prevent pppd from picking up some random local address from an
1734 interface that doesn't have anything to do with the one we're
1735 interested in (rh #455348)
1737 2008-07-17 Dan Williams <dcbw@redhat.com>
1739 * libnm-util/nm-utils.c
1740 - (string_to_utf8): general function for conversion to UTF-8 assisted
1742 - (nm_utils_ssid_to_utf8): use string_to_utf8()
1743 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
1745 2008-07-17 Dan Williams <dcbw@redhat.com>
1747 * introspection/Makefile.am
1748 introspection/nm-device.xml
1749 introspection/nm-dhcp4-config.xml
1750 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
1752 * src/nm-device-interface.c
1753 src/nm-device-interface.h
1754 - Add the DHCP4Config property
1757 - Keep track of DHCP4 options via a new DHCP4Config property and notify
1758 D-Bus clients when it changes
1760 * src/nm-dhcp4-config.c
1761 src/nm-dhcp4-config.h
1762 - Simple object to store DHCP4 options, export them over D-Bus, and
1763 notify when they change
1765 * src/dhcp-manager/nm-dhcp-manager.c
1766 src/dhcp-manager/nm-dhcp-manager.h
1767 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
1768 filter server-returned DHCP options into an NMDHCP4Config object
1770 2008-07-16 Dan Williams <dcbw@redhat.com>
1772 * introspection/nm-device.xml
1773 - Add device state reasons
1775 2008-07-16 Dan Williams <dcbw@redhat.com>
1777 Patch from Roy Marples <roy@marples.name>
1780 - Add --with-dhcp-client option
1782 * src/dhcp-manager/Makefile.am
1783 - pass DHCP_CLIENT_PATH on compile line
1785 * src/dhcp-manager/nm-dhcp-manager.c
1786 src/dhcp-manager/nm-dhcp-manager.h
1787 - Genericize for both dhcpcd and dhclient
1789 * src/dhcp-manager/nm-dhcp-dhclient.c
1790 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
1792 * src/dhcp-manager/nm-dhcp-dhcpcd.c
1793 - Implement support for dhcpcd too
1795 2008-07-16 Tambet Ingo <tambet@gmail.com>
1797 * system-settings/src/nm-system-config-interface.c
1798 (nm_system_config_interface_supports_add): Implement.
1799 (nm_system_config_interface_add_connection): Return a boolean to notify
1802 * system-settings/src/nm-polkit-helpers.c:
1803 * system-settings/src/nm-polkit-helpers.h: Move error declarations to
1806 * system-settings/src/dbus-settings.c (impl_settings_add_connection):
1807 Return an error when none of the plugins support add or if addition
1808 failed for some reason.
1810 * system-settings/src/nm-system-config-error.h:
1811 * system-settings/src/nm-system-config-error.c: New files, mostly moved
1812 here from nm-polkit-helpers.[ch].
1814 * system-settings/src/Makefile.am: Build new files.
1816 * system-settings/plugins/keyfile/reader.c
1817 (read_array_of_array_of_uint): Make it more general so that it would
1818 work for routes as well.
1820 * system-settings/plugins/keyfile/writer.c
1821 (write_array_of_array_of_uint): Ditto.
1822 Fix the netmask/prefix writing.
1824 * system-settings/plugins/keyfile/plugin.c (add_connection): Return
1825 boolean to notify errors.
1827 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
1828 Return more specific error.
1831 2008-07-11 Dan Williams <dcbw@redhat.com>
1833 Modify the NMDevice::state-changed signal to include the previous state
1834 and reason. Enables the applet to provide more information why device
1837 2008-07-09 Dan Williams <dcbw@redhat.com>
1839 * callouts/Makefile.am
1840 callouts/nm-avahi-autoipd-action.c
1841 callouts/nm-avahi-autoipd.conf
1842 - avahi-autoipd callout to send options back to NM
1849 src/nm-device-private.h
1851 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
1854 2008-07-07 Dan Williams <dcbw@redhat.com>
1856 * system-settings/plugins/ifcfg-fedora/reader.c
1857 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
1858 handle PREFIX too; clean up
1860 2008-07-07 Dan Williams <dcbw@redhat.com>
1862 Convert to using IPv4 prefixes instead of netmasks.
1864 2008-07-03 Dan Williams <dcbw@redhat.com>
1866 * libnm-util/nm-setting-ip4-config.c
1867 libnm-util/nm-setting-ip4-config.h
1868 - Add properties for DHCP Client Identifier and DHCP Hostname
1870 * src/dhcp-manager/nm-dhcp-manager.c
1871 src/dhcp-manager/nm-dhcp-manager.h
1872 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
1873 setting as an argument to pass on to the dhclient config file
1875 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
1877 - (dhclient_run): punt config file handling to create_dhclient_config()
1878 - (create_dhclient_config): create an interface-specific dhclient
1879 config file since there may need to be interface-specific options
1881 - (merge_dhclient_config): merge normal distro dhclient config file and
1882 add options from the connection
1883 - (nm_dhcp_device_new): generate the interface specific dhclient
1884 config file path once
1885 - (nm_dhcp_device_destroy): handle partially initialized objects; free
1886 dhclient config file path
1889 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
1890 DHCP manager when starting DHCP
1892 2008-07-02 Dan Williams <dcbw@redhat.com>
1894 * libnm-util/nm-setting-8021x.c
1895 - (verify): allow forcing the PEAP label to 0
1897 2008-07-02 Dan Williams <dcbw@redhat.com>
1899 * introspection/nm-active-connection.xml
1900 introspection/nm-vpn-connection.xml
1901 libnm-glib/nm-active-connection.c
1902 src/nm-activation-request.c
1903 src/nm-active-connection.h
1904 src/vpn-manager/nm-vpn-connection.c
1905 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
1906 and libnm-glib API since sharing didn't get implemented that way
1908 2008-07-02 Dan Williams <dcbw@redhat.com>
1910 * src/nm-device-wifi.c
1911 - (can_scan): don't scan when a shared connection is activated since
1912 that makes drivers mad (causing disconnects); also NM doesn't need
1913 to hedge against disconnects by keeping up-to-date network topology
1914 because the connection originates from the local machine, and thus
1915 there should be no disconnects
1917 2008-07-01 Dan Williams <dcbw@redhat.com>
1919 Fix mobile broadband username/password issues. NM was never requesting
1920 mobile broadband secrets, nor was it passing back the username and password
1923 * marshallers/nm-marshal.list
1924 - Add some new types for activation request objects
1926 * src/nm-activation-request.c
1927 src/nm-activation-request.h
1928 - (get_secrets_cb): pass the caller type in the signal
1929 - (nm_act_request_request_connection_secrets): take a caller type, so
1930 that GetSecrets() reply handlers know who asked for the secrets in
1931 the first place; use secret hints too so the settings service can
1932 figure out exactly what NM wants (ie, PIN or the PPP password)
1934 * src/ppp-manager/nm-ppp-manager.c
1935 src/ppp-manager/nm-ppp-manager.h
1936 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
1937 detect needed secrets when the secret could be blank, like GSM/CDMA
1938 passwords. So always ask for secrets, and send a hint as to what
1939 secret we really want.
1940 - (nm_ppp_manager_update_secrets): make function more generic by making
1941 the device specific class figure out the username and password, and
1942 accept an error argument to return back over D-Bus
1944 * src/nm-device-wifi.c
1945 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1946 nm_act_request_request_connection_secrets()
1947 - (real_connection_secrets_updated): update for 'caller' changes
1951 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
1952 for 'caller' changes
1954 * src/nm-device-ethernet.c
1955 - (real_connection_secrets_updated): update for 'caller' changes and
1956 move logic for getting PPPoE username and password here before
1957 calling nm_ppp_manager_update_secrets()
1958 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1959 nm_act_request_request_connection_secrets()
1961 * src/nm-cdma-device.c
1962 - (real_connection_secrets_updated): pass username and password back
1963 to the PPP manager when required
1965 * src/nm-gsm-device.c
1966 - (enter_pin): send the required secret name to the settings service
1967 - (real_connection_secrets_updated): pass username and password back
1968 to the PPP manager when required
1970 2008-06-30 Dan Williams <dcbw@redhat.com>
1972 * src/nm-device-wifi.c
1973 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
1975 2008-06-30 Dan Williams <dcbw@redhat.com>
1977 Attempt to fix various issues causing rh #448889. Mainly, to qualify for
1978 the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
1979 priv->supplicant.iface. When either condition is false, the device should
1980 transition back to UNAVAILABLE because it cannot be used.
1982 * src/nm-device-wifi.c
1983 - (constructor): cleanup; connect to supplicant manager here since the
1984 supplicant manager is always around
1985 - (supplicant_interface_acquire): rename from init_supplicant_interface,
1986 ensure the supplicant manager is in the IDLE state
1987 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
1988 cancel any pending scans too
1989 - (real_bring_up): don't set up the supplicnat interface here, because
1990 we need the supplicant interface at times when the device may not
1992 - (real_take_down): just remove the periodic source
1993 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
1994 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
1995 do anything if there's no supplicant interface
1996 - (cleanup_association_attempt): cleanup
1997 - (supplicant_iface_state_cb_handler): request an immediate scan when
1998 the interface enters the READY state; transition to UNAVAILABLE
1999 state when the interface goes down because the device can't be used
2000 without a supplicant interface
2001 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2002 up and transition to UNAVAILABLE; if the supplicant becomes ready,
2003 acquire the supplicant interface and transition to DISCONNECTED
2004 if the radio isn't killed
2005 - (nm_device_wifi_dispose): move most of device_cleanup() here
2006 - (state_changed_cb): release any existing supplicant interface; if the
2007 radio is enabled then try to acquire a new supplicant interface;
2008 if the radio is enabled and a supplicant interface has been acquired,
2009 we can transition to DISCONNECTED
2010 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2011 don't enable the radio, because HAL probably lied to us about the
2012 killswitch being off. If bringing the hardware up worked, then
2013 try to grab a supplicant interface, and if that was successful,
2014 transition to DISCONNECTED
2016 2008-06-30 Dan Williams <dcbw@redhat.com>
2018 * src/supplicant-manager/nm-supplicant-interface.c
2019 - (request_scan_results, nm_supplicant_interface_dispose,
2020 wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2021 the id of the timeout, not a GSource
2023 2008-06-30 Tambet Ingo <tambet@gmail.com>
2025 * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a
2026 bunch of typoes introduced by "Patch from David Cantrell
2027 <dcantrell@redhat.com> and me".
2029 2008-06-30 Tambet Ingo <tambet@gmail.com>
2031 * src/nm-serial-device.c:
2032 * src/nm-gsm-device.c:
2033 * src/nm-cdma-device.c: Move the pending call handling to a common location
2034 in serial device. Handle setting device state to failed in one place as well.
2036 2008-06-29 Dan Williams <dcbw@redhat.com>
2038 * src/nm-hal-manager.c
2039 - Rework killswitch handling to query killswitch status immediately
2040 when the first killswitch is added, so that rfkill state is
2041 known as early as possible
2042 - Also treat failure of GetPower() as rfkill when the dbus method
2043 call times out (but not when the HAL callout returns an error)
2045 2008-06-26 Dan Williams <dcbw@redhat.com>
2047 Patch from David Cantrell <dcantrell@redhat.com> and me
2049 * include/nm-dbus-glib-types.h
2050 - Add IP6 address types
2052 * libnm-util/Makefile.am
2053 libnm-util/nm-setting-ip6-config.c
2054 libnm-util/nm-setting-ip6-config.h
2055 - Add IP6 settings object
2057 * libnm-util/nm-connection.c
2058 - (register_default_settings): register ip6 settings object
2060 * libnm-util/nm-utils.c
2061 libnm-util/nm-utils.h
2062 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2063 nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2064 ip6 address conversion functions
2066 2008-06-26 Dan Williams <dcbw@redhat.com>
2068 Patch from David Cantrell <dcantrell@redhat.com>
2070 * Use inet_ntop() and inet_pton() everwhere and check for errors
2072 2008-06-26 Dan Williams <dcbw@redhat.com>
2074 * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2076 2008-06-26 Dan Williams <dcbw@redhat.com>
2078 Patch from Adel Gadllah <adel.gadllah@gmail.com>
2080 * src/nm-device-wifi.c
2081 - (link_timeout_cb): don't ignore disconnects due to scanning
2082 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2083 a longer timeout when scanning; avoids case where supplicant can't
2084 find the AP and just keeps scanning forever but isn't connected
2086 2008-06-26 Dan Williams <dcbw@redhat.com>
2088 Patch from Michael Biebl <biebl@debian.org>
2090 * Clean up build system stuff
2092 2008-06-23 Christian Persch <chpe@gnome.org>
2094 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2095 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2096 * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2098 * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2100 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2101 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2102 * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2104 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2105 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2106 * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2107 * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2108 * vpn-daemons/pptp/properties/vpnui_opt.c:
2109 (vpnui_opt_connect_signals):
2110 * vpn-daemons/pptp/properties/vpnui_opt.h:
2111 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2112 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2113 deprecated gtk type macros. Bug #539325.
2115 2008-06-20 Dan Williams <dcbw@redhat.com>
2117 * libnm-glib/nm-vpn-plugin-ui-interface.c
2118 libnm-glib/nm-vpn-plugin-ui-interface.h
2119 - 'validity-changed' -> 'changed' to work better with the connection
2120 editor. Plugin UI widgets should emit 'changed' whenever their
2121 UI values change in a meaningful way.
2122 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2123 update_connection member now returns validity of the UI widget
2125 2008-06-20 Tambet Ingo <tambet@gmail.com>
2127 * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2129 2008-06-17 Dan Williams <dcbw@redhat.com>
2131 * libnm-glib/nm-vpn-plugin-ui-interface.c
2132 libnm-glib/nm-vpn-plugin-ui-interface.h
2133 - Add "desc" property for longer descriptions of the VPN plugin
2135 2008-06-16 Dan Williams <dcbw@redhat.com>
2138 libnm-glib/libnm_glib_vpn.pc.in
2139 - add a .pc file for libnm_glib_vpn
2141 * libnm-glib/nm-vpn-plugin-ui-interface.c
2142 libnm-glib/nm-vpn-plugin-ui-interface.h
2143 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2144 rework it substantially
2146 2008-06-12 Dan Williams <dcbw@redhat.com>
2148 Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2149 and add error enums to each NMSetting subclass. Each NMSetting subclass now
2150 returns a descriptive GError when verification fails.
2152 2008-06-11 Dan Williams <dcbw@redhat.com>
2154 Patch from Tambet Ingo <tambet@gmail.com>
2156 * libnm-util/nm-setting-gsm.c
2157 - (verify): validate APN
2159 * src/nm-gsm-device.c
2160 - (manual_registration_done): start setting APN if needed
2161 - (set_apn, set_apn_done): set the APN
2162 - (do_dial): use the APN when dialing
2164 2008-06-11 Dan Williams <dcbw@redhat.com>
2166 * src/NetworkManagerSystem.c
2167 - (nm_system_device_set_ip4_route,
2168 nm_system_device_replace_default_ip4_route): check for the right
2169 return value from rtnl_route_add() to know when to add a gateway
2172 2008-06-11 Dan Williams <dcbw@redhat.com>
2174 * src/NetworkManagerPolicy.c
2175 - do_ipt_cmd -> do_cmd
2176 - (sharing_init): use do_cmd() instead of system()
2178 2008-06-10 Dan Williams <dcbw@redhat.com>
2180 The grand 802-11-wireless rename. Get rid of the 802-11/80211/802_11 bits
2181 and use "wifi" everwhere instead.
2183 2008-06-10 Dan Williams <dcbw@redhat.com>
2185 The grand 802-3-ethernet rename. Get rid of the 802-3/8023/802_3 bits.
2187 2008-06-10 Dan Williams <dcbw@redhat.com>
2189 Patch from Tambet Ingo <tambet@gmail.com>
2191 * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2194 * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2195 a signal to emit these changes over dbus.
2197 * src/Makefile.am: Genereate nm-serial-device-glue.
2199 * libnm-glib/nm-serial-device.[ch]: Implement.
2201 * libnm-glib/nm-cdma-device.[ch]
2202 libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2204 * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2206 * introspection/nm-device-serial.xml: Implement.
2208 * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2210 * introspection/Makefile.am: Add nm-device-serial.xml.
2212 * include/NetworkManager.h: Add a DBus interface for serial device.
2214 2008-06-10 Dan Williams <dcbw@redhat.com>
2217 - Add TARGET_* define to config.h to distinguish distros
2219 * src/dhcp-manager/nm-dhcp-manager.c
2220 - (dhclient_run): use distro-specific path for dhclient config file
2222 2008-06-09 Dan Williams <dcbw@redhat.com>
2224 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2225 src/dnsmasq-manager/nm-dnsmasq-manager.h
2226 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2227 calculate the addresses passed to dnsmasq instead of hard-coding
2231 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2232 IP addresses for shared connections to guard against shared
2233 connection address collisions
2234 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2236 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2239 2008-06-09 Dan Williams <dcbw@redhat.com>
2241 * src/NetworkManagerPolicy.c
2242 - (update_routing_and_dns): set the default connection _after_ unsetting
2243 default on all non-default connections so that two connections can
2244 never be default at the same time
2245 - (device_state_changed): start and stop connection sharing when
2247 - (active_connection_default_changed): restart or stop sharing when
2248 the default connection changes to keep shared connections always
2249 NAT-ed through the default connection
2250 - (check_sharing): handle activation/deactivation of shared connections
2251 - (sharing_restart): atom-bomb approach to connection sharing until we
2252 can use libnl; reinit all sharing when the default connection or
2253 shared connections change
2254 - (sharing_init, sharing_stop): evil functions that init and deinit
2257 2008-06-09 Dan Williams <dcbw@redhat.com>
2259 * src/nm-activation-request.c
2260 src/nm-activation-request.h
2261 - (nm_act_request_set_shared, nm_act_request_get_shared,
2262 nm_act_request_get_device): new functions to facilitate connection
2265 2008-06-09 Dan Williams <dcbw@redhat.com>
2268 - (clear_act_request): unset the 'default' property of the activation
2269 request when clearing it to ensure the property changed signal gets
2270 delivered and handled
2272 2008-06-09 Dan Williams <dcbw@redhat.com>
2274 * libnm-glib/nm-device-802-11-wireless.c
2275 - (access_point_removed_proxy): actually unref the AP after removing
2276 it from the device's AP list. Fixes refcounting bug for APs that
2277 caused them to get mixed up in the applet's menu.
2279 2008-06-09 Tambet Ingo <tambet@gmail.com>
2281 * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2282 (nm_dhcp_device_destroy): Destroy the device options hash table.
2284 2008-06-06 Dan Williams <dcbw@redhat.com>
2286 * system-settings/src/nm-polkit-helpers.c
2287 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2288 unref the context if the initialization fails; also avoid spew when
2291 2008-06-06 Dan Williams <dcbw@redhat.com>
2293 Patch from Tambet Ingo <tambet@gmail.com>
2295 * src/NetworkManagerSystem.c
2296 src/NetworkManagerSystem.h
2297 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2298 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2299 - (nm_system_device_set_ip4_route): clean up
2300 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2303 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2305 * src/vpn-manager/nm-vpn-connection.c
2306 - (ip_address_to_string): new function
2307 - (print_vpn_config): use ip_address_to_string
2308 - (merge_vpn_routes): add user-defined routes to the ip4 config
2309 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2311 * include/NetworkManagerVPN.h
2314 2008-06-05 Dan Williams <dcbw@redhat.com>
2316 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2319 - Show which device is the default device
2321 2008-06-05 Tambet Ingo <tambet@gmail.com>
2325 * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2326 Free data returned from dbus method call.
2328 * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2329 dbus_g_method_get_sender() returns a duplicated string, free it
2331 (check_polkit_privileges): Looks like policykit sometimes returns
2332 error and non-null return value, don't leak errors in that case.
2334 * system-settings/src/main.c (find_plugin): Don't leak existing
2336 (load_stuff): Don't leak device list and list items.
2337 (have_connection_for_device): Don't leak connection list.
2339 * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2340 Free the data received from g_keyfile_get_*.
2342 * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2343 the key when the security object is updated.
2345 * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2346 Free data returned from dbus method call.
2347 (iface_state_cb): Ditto.
2348 (add_network_cb): Ditto.
2349 (nm_supplicant_interface_add_cb): Don't make another copy of already
2350 duplicated object path.
2351 (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2354 * src/supplicant-manager/nm-supplicant-config.c
2355 (ADD_STRING_LIST_VAL): Fix a memory leak.
2357 * src/nm-manager.c (free_get_settings_info): Free the allocated
2359 (list_connections_cb): Free data returned from dbus method call.
2360 (system_settings_get_unmanaged_devices_cb): Ditto.
2362 * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2364 * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile):
2365 * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile):
2366 * src/backends/shvar.c (svCloseFile): Free the duplicated content
2369 * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2370 arguments after the object is created.
2372 2008-06-04 Dan Williams <dcbw@redhat.com>
2374 * libnm-util/Makefile.am
2375 - Don't distribute nm-param-spec-specialized.h
2377 2008-06-02 Tambet Ingo <tambet@gmail.com>
2379 * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2381 * src/nm-ip4-config.[ch]: Store the static routes as a list of
2382 NMIP4Address, update the getters and setters.
2384 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2385 Use the updated NMIP4Config routes api.
2387 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2388 static routes as well.
2390 * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2391 (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2394 2008-05-30 Dan Williams <dcbw@redhat.com>
2396 * src/named-manager/nm-named-manager.c
2397 src/named-manager/nm-named-manager.h
2398 - Remove stale/obsolete bits for controlling bind over DBus
2400 2008-05-29 Dan Williams <dcbw@redhat.com>
2402 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2403 src/dnsmasq-manager/nm-dnsmasq-manager.h
2404 - (nm_dnsmasq_manager_new): move iface argument here
2405 - (constructor): remove, not needed
2406 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2407 nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2410 - (real_act_stage4_get_ip4_config,
2411 nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2414 2008-05-29 Dan Williams <dcbw@redhat.com>
2417 - (dnsmasq_state_changed_cb): new function; fail the connection if
2418 something happens to dnsmasq
2419 - (nm_device_new_ip4_shared_config): new function; create a new
2420 ip4-config for shared connections. Shared connections always use a
2421 fixed static IP address.
2422 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2423 autoip connections by actually using the returned ip4-config and
2425 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2427 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2430 2008-05-29 Dan Williams <dcbw@redhat.com>
2432 * src/nm-device-802-11-wireless.c
2433 - (real_get_best_auto_connection): auto-activate 'shared' method
2436 2008-05-29 Dan Williams <dcbw@redhat.com>
2438 * libnm-util/nm-setting-ip4-config.c
2439 libnm-util/nm-setting-ip4-config.h
2440 - Add a 'shared' method to indicate that this connection should be
2441 brought up with a DHCP and proxy DNS server to facilitate
2443 - (verify): 'shared' method doesn't allow DNS or searches either
2445 2008-05-29 Dan Williams <dcbw@redhat.com>
2449 src/dnsmasq-manager/Makefile.am
2450 src/dnsmasq-manager/nm-dnsmasq-manager.c
2451 src/dnsmasq-manager/nm-dnsmasq-manager.h
2452 - Add a dnsmasq daemon manager to facilitate connection sharing
2454 2008-05-29 Dan Williams <dcbw@redhat.com>
2456 * src/nm-device-private.h
2457 - Remove unused prototypes and clean up
2460 - Remove anything related to system_config_data, which is no longer used
2461 - (nm_device_new_ip4_autoip_config): make static
2463 2008-05-29 Tambet Ingo <tambet@gmail.com>
2465 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2466 (file_changed): Fix a bug where suse system settings plugin didn't
2467 update the connections automatically when the files changed.
2469 2008-05-28 Dan Williams <dcbw@redhat.com>
2471 Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2473 2008-05-28 Dan Williams <dcbw@redhat.com>
2475 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2477 * src/NetworkManagerSystem.c
2478 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2479 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2480 was causing -EINVAL errors since the libnl code actually does flush
2481 the routes on VPN interfaces now
2483 * src/backends/NetworkManagerArch.c
2484 src/backends/NetworkManagerDebian.c
2485 src/backends/NetworkManagerFrugalware.c
2486 src/backends/NetworkManagerGeneric.c
2487 src/backends/NetworkManagerGentoo.c
2488 src/backends/NetworkManagerMandriva.c
2489 src/backends/NetworkManagerPaldo.c
2490 src/backends/NetworkManagerRedHat.c
2491 src/backends/NetworkManagerSlackware.c
2492 src/backends/NetworkManagerSuSE.c
2493 - (nm_system_device_flush_ip4_routes,
2494 nm_system_device_flush_ip4_routes_with_iface): remove
2496 2008-05-28 Dan Williams <dcbw@redhat.com>
2498 * libnm-util/nm-setting-wireless.c
2499 libnm-util/nm-setting-wireless.h
2500 - (set_property, get_property, nm_setting_wireless_class_init): add the
2501 'adhoc-create' property, which when TRUE indicates that NM should
2502 create this connection as an adhoc wifi network if it's not found
2503 as an adhoc network during scanning. Can be used to auto-create
2504 adhoc networks when used in combination with autoconnect.
2506 2008-05-28 Tambet Ingo <tambet@gmail.com>
2508 Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2510 * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2511 checked, it doesn't work on some devices.
2513 2008-05-28 Tambet Ingo <tambet@gmail.com>
2515 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure
2516 pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2518 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2519 Use inet_aton() everywhere to improve error detection.
2520 Don't fall back to 'dhcp_server_identifier' if the gateway is not
2523 2008-05-26 Tambet Ingo <tambet@gmail.com>
2525 * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2528 2008-05-26 Tambet Ingo <tambet@gmail.com>
2530 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2531 reference counting issue.
2533 2008-05-23 Dan Williams <dcbw@redhat.com>
2535 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2537 * src/backends/NetworkManagerGeneric.c
2538 - (nm_generic_enable_loopback): use libnl
2540 2008-05-23 Dan Williams <dcbw@redhat.com>
2542 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2544 * src/NetworkManagerSystem.h
2545 src/backends/NetworkManagerArch.c
2546 src/backends/NetworkManagerDebian.c
2547 src/backends/NetworkManagerFrugalware.c
2548 src/backends/NetworkManagerGentoo.c
2549 src/backends/NetworkManagerMandriva.c
2550 src/backends/NetworkManagerPaldo.c
2551 src/backends/NetworkManagerRedHat.c
2552 src/backends/NetworkManagerSlackware.c
2553 src/backends/NetworkManagerSuSE.c
2554 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2555 nm_system_flush_arp_cache): remove, unused
2557 * src/backends/NetworkManagerGeneric.c
2558 src/backends/NetworkManagerGeneric.h
2559 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2560 nm_generic_flush_arp_cache): remove, unused
2562 2008-05-23 Dan Williams <dcbw@redhat.com>
2564 * system-settings/plugins/ifcfg-fedora/reader.c
2565 - (make_ip4_setting): honor PEERDNS setting
2567 2008-05-23 Dan Williams <dcbw@redhat.com>
2569 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2571 * src/NetworkManagerSystem.c
2572 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2575 * src/backends/NetworkManagerArch.c
2576 src/backends/NetworkManagerDebian.c
2577 src/backends/NetworkManagerFrugalware.c
2578 src/backends/NetworkManagerGentoo.c
2579 src/backends/NetworkManagerMandriva.c
2580 src/backends/NetworkManagerPaldo.c
2581 src/backends/NetworkManagerRedHat.c
2582 src/backends/NetworkManagerSlackware.c
2583 src/backends/NetworkManagerSuSE.c
2584 - (nm_system_device_flush_ip4_addresses,
2585 nm_system_device_flush_ip4_addresses_with_iface): remove
2587 * src/backends/NetworkManagerGeneric.c
2588 - (nm_generic_device_flush_ip4_addresses,
2589 nm_generic_device_flush_ip4_addresses_with_iface): remove
2591 2008-05-23 Dan Williams <dcbw@redhat.com>
2593 * src/supplicant-manager/nm-supplicant-settings-verify.c
2594 - Switch 'bssid' from bytes to keyword type
2595 - (validate_type_keyword): allow NULL keyword lists
2597 * src/supplicant-manager/nm-supplicant-config.c
2598 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2599 a byte array to string form, which is what the supplicant expects
2601 2008-05-23 Tambet Ingo <tambet@gmail.com>
2603 Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2604 information received from DHCP.
2606 * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2607 to make it possible to ignore the DNS information (both servers and
2608 searches) returned by DHCP server.
2610 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2611 name servers and searches if "ignore_dhcp_dns" is set.
2613 * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2614 (nm_ip4_config_reset_searches): Implement.
2616 2008-05-22 Dan Williams <dcbw@redhat.com>
2618 Remove anything mDNS related. This is better done from a distro-specific
2619 dispatcher script. Plus, any distro using avahi doesn't need to restart
2620 avahi, since avahi can handle interface changes just fine using netlink.
2623 - Remove --with-mdns-provider
2625 * src/NetworkManagerPolicy.c
2626 - (global_state_changed): don't restart the mdns provider
2628 * src/NetworkManagerSystem.h
2629 src/backends/NetworkManagerArch.c
2630 src/backends/NetworkManagerDebian.c
2631 src/backends/NetworkManagerFrugalware.c
2632 src/backends/NetworkManagerGentoo.c
2633 src/backends/NetworkManagerMandriva.c
2634 src/backends/NetworkManagerPaldo.c
2635 src/backends/NetworkManagerRedHat.c
2636 src/backends/NetworkManagerSlackware.c
2637 src/backends/NetworkManagerSuSE.c
2638 - (nm_system_restart_mdns_responder): remove
2640 * src/backends/NetworkManagerGeneric.c
2641 src/backends/NetworkManagerGeneric.h
2642 - (nm_generic_restart_mdns_responder): remove
2644 2008-05-22 Dan Williams <dcbw@redhat.com>
2647 - clean up crypto options; just use --with-crypto=nss or
2648 --with-crypto=gnutls
2650 2008-05-22 Tambet Ingo <tambet@gmail.com>
2652 * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2653 anymore, do it right away.
2655 2008-05-22 Tambet Ingo <tambet@gmail.com>
2657 * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2658 serial device open when we're not connecting or connected.
2660 * src/nm-cdma-device.c (device_state_changed): Ditto.
2662 2008-05-22 Tambet Ingo <tambet@gmail.com>
2664 Don't remove all devices on waking up, sync with HAL.
2666 * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2667 (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2668 (hal_manager_hal_reappeared_cb): Just call sync_devices.
2670 2008-05-21 Tambet Ingo <tambet@gmail.com>
2672 * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2673 If the default gateway is unreachable, add a route to gateway and try
2676 2008-05-20 Dan Williams <dcbw@redhat.com>
2678 * system-settings/plugins/ifcfg-fedora/reader.c
2679 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2681 2008-05-19 Dan Williams <dcbw@redhat.com>
2683 * system-settings/plugins/ifcfg-fedora/reader.c
2684 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2685 if the ifcfg doesn't specify one (rh #446527)
2687 2008-05-19 Dan Williams <dcbw@redhat.com>
2689 Make the system settings service exit when the bus goes away. Since it's
2690 a bus-activated service, it's lifetime is limited to the bus that activated
2693 * system-settings/src/Makefile.am
2694 system-settings/src/nm-system-config-hal-manager-private.h
2695 - Remove nm-system-config-hal-manager-private.h
2697 * system-settings/src/nm-system-config-hal-manager.c
2698 - (nm_system_config_hal_manager_reinit_dbus,
2699 nm_system_config_hal_manager_deinit_dbus): remove
2701 * system-settings/src/main.c
2702 - (dbus_reconnect): remove
2703 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2704 - (destroy_cb): just quit when the bus goes away
2705 - (start_dbus_service, dbus_init): simplify
2706 - (main): destroy the wired devices hash table after destroying
2707 the HAL manager so we don't have to disconnect signals from the
2710 2008-05-15 Tambet Ingo <tambet@gmail.com>
2712 Move crypto functions from nm-applet to libnm-util.
2714 * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2715 (nm_setting_802_1x_set_client_cert)
2716 (nm_setting_802_1x_set_phase2_ca_cert)
2717 (nm_setting_802_1x_set_phase2_client_cert)
2718 (nm_setting_802_1x_set_private_key)
2719 (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2720 file (or private key and it's password), read the certificate data.
2722 * libnm-util/crypto_nss.c:
2723 * libnm-util/crypto_gnutls.c:
2724 * libnm-util/crypto.[ch]: Move here from nm-applet.
2726 * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2728 * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2729 Imlement WPA-EAP configuration reading from sysconfig.
2731 2008-05-16 Dan Williams <dcbw@redhat.com>
2733 * src/nm-device-802-11-wireless.c
2734 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2737 2008-05-14 Dan Williams <dcbw@redhat.com>
2739 Fix Linus' bug in rh #134886
2741 * src/nm-device-802-3-ethernet.c
2742 - (constructor): request initial carrier state
2744 * src/nm-netlink-monitor.c
2745 - (nm_netlink_monitor_request_status): schedule emission of carrier
2746 signals after refilling the link cache. Because the refill is a
2747 synchronous operation, the normal message hander won't get called
2748 since libnl has already consumed the messages.
2749 - (deferred_emit_carrier_state): emit carrier states from an idle handler
2751 2008-05-14 Dan Williams <dcbw@redhat.com>
2753 * src/NetworkManagerSystem.c
2754 - (nm_system_device_is_up_with_iface): clean up
2756 2008-05-13 Dan Williams <dcbw@redhat.com>
2758 Fix refcounting issues over sleep/wake when a VPN connection was active that
2759 caused NM to try registering an object path for a device upon wake that was
2760 the same as an already registered object path.
2763 - (nm_device_take_down): properly handle cases where the device is
2764 no longer active but was just active, and therefore must be
2765 deactivated. When a device moves to unmanaged mode, this function
2766 previously would not deactivate the device, because the state was
2767 already unmanaged by the time this function was called.
2769 * src/vpn-manager/nm-vpn-connection.c
2770 - (device_state_changed): properly handle multiple devices states in
2771 which the device is now deactivated. Code previously didn't handle
2772 transitions to the UNAVAILABLE (like rfkill or carrier off) and
2775 2008-05-13 Dan Williams <dcbw@redhat.com>
2777 * src/nm-device-private.h
2779 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
2781 * src/nm-device-802-11-wireless.c
2782 - (nm_device_802_11_wireless_set_enabled): take devices up
2783 and down as appropriate for the rfkill state
2785 2008-05-13 Dan Williams <dcbw@redhat.com>
2787 * marshallers/nm-marshal.list
2788 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
2790 * system-settings/plugins/ifcfg-fedora/Makefile.am
2791 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
2792 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
2793 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
2794 events. Solely for use watching ifcfg files to pick up changes
2795 to their hardlinks, since GIO doesn't support this yet (bgo #532815)
2797 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2798 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
2799 file contents change
2800 - (finalize): clean up inotify watches
2801 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
2802 and the connection ifcfg for changes on their hardlinks
2803 - (files_changed_cb): proxy the changed signal back out to listeners
2805 * system-settings/plugins/ifcfg-fedora/plugin.c
2807 - (connection_ifcfg_changed): re-read the connection when the ifcfg
2809 - (read_one_connection): connect to change signals on the new connection
2810 - (dir_changed, connection_changed_handler,
2811 handle_connection_remove_or_new): break out connection change
2812 handling and connection new/remove handling so it can be used from
2813 both the GFileMonitor callback and the NMIfcfgConnection changed
2816 * system-settings/plugins/ifcfg-fedora/reader.c
2817 system-settings/plugins/ifcfg-fedora/reader.h
2818 - (connection_from_file): return the keyfile path the connection would use
2820 2008-05-13 Tambet Ingo <tambet@gmail.com>
2822 * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a
2823 single PolKitContext which is shared by all. PolKitContext::unref leaks
2824 just about everything, including all open file descriptiors and results
2825 in 99% cpu usage when data arrives to any of the fds that don't belong
2826 to any context anymore.
2828 2008-05-12 Dan Williams <dcbw@redhat.com>
2830 * gfilemonitor/glocaldirectorymonitor.c
2831 gfilemonitor/glocaldirectorymonitor.h
2832 - (g_local_directory_monitor_constructor): actually subscribe to the
2834 - (_g_local_directory_monitor_new): ensure that inotify is started up
2836 * gfilemonitor/glocalfilemonitor.c
2837 gfilemonitor/glocalfilemonitor.h
2838 - (g_local_file_monitor_constructor): actually subscribe to the watch
2839 - (_g_local_file_monitor_new): ensure that inotify is started up
2841 2008-05-11 Dan Williams <dcbw@redhat.com>
2844 - record PolicyKit version
2846 * system-settings/src/nm-polkit-helpers.c
2847 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
2848 with PolicyKit <= 0.6
2850 2008-05-11 Dan Williams <dcbw@redhat.com>
2852 Update Fedora system-settings plugin to support latest API and use
2853 GFileMonitor rather than home-rolled inotify code.
2855 * system-settings/plugins/ifcfg-fedora/Makefile.am
2856 system-settings/plugins/ifcfg-fedora/common.h
2857 system-settings/plugins/ifcfg-fedora/plugin.c
2858 - Update to latest system settings plugin API; use GIO instead of
2859 custom inotify code; use NMIfcfgConnection objects instead of
2860 ConnectionData structures tacked onto NMConnection objects
2862 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2863 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
2864 - Implement an NMExportedConnection subclass mapping ifcfg files to
2867 * system-settings/plugins/ifcfg-fedora/reader.c
2868 system-settings/plugins/ifcfg-fedora/reader.h
2869 - Move ifcfg parsing bits here from parser.c
2871 * system-settings/plugins/ifcfg-fedora/parser.c
2872 system-settings/plugins/ifcfg-fedora/parser.h
2873 - Remove; most code moved to reader.c
2875 2008-05-11 Dan Williams <dcbw@redhat.com>
2880 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
2881 implementation, so that the same change monitoring code can be used
2882 on systems without glib-2.14 (like Fedora 8)
2884 * system-settings/plugins/keyfile/Makefile.am
2885 system-settings/plugins/keyfile/plugin.c
2886 system-settings/plugins/ifcfg-suse/Makefile.am
2887 system-settings/plugins/ifcfg-suse/plugin.c
2888 - Use private gfilemonitor code if GIO is not present
2890 2008-05-09 Tambet Ingo <tambet@gmail.com>
2892 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
2893 NMExportedConnection's 'update' and 'delete' and return error with
2894 descriptive message.
2896 2008-05-08 Dan Williams <dcbw@redhat.com>
2898 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2900 * src/nm-gsm-device.c
2901 src/nm-cdma-device.c
2902 - (real_get_best_auto_connection): implement; allow autoconnection
2903 to GSM & CDMA devices
2905 2008-05-08 Tambet Ingo <tambet@gmail.com>
2907 Use PolicyKit to authorize the system settings' AddConnection method
2908 and the system settings connections' Update and Delete methods.
2910 * libnm-glib/nm-settings.c (impl_exported_connection_update)
2911 (impl_exported_connection_delete, nm_exported_connection_update)
2912 (nm_exported_connection_delete): Return boolean and fill GError
2913 to notify the callers of the reasons why it might have failed.
2915 * libnm-glib/nm-dbus-settings-system.c
2916 (nm_dbus_settings_system_add_connection): Return the error from dbus
2917 call so that the callers can see why it failed.
2919 * libnm-glib/nm-dbus-connection.c (update, delete): Update the
2922 * system-settings/src/nm-polkit-helpers.[ch]: Implement.
2924 * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
2925 abstract base class that checks PolicyKit permissions.
2927 * system-settings/src/dbus-settings.c:
2928 (impl_settings_add_connection): Check the policy before carring out
2931 * system-settings/plugins/keyfile/nm-keyfile-connection.c:
2932 Inherit from NMSysconfigConnection, check the policies before
2933 allowing updating or removing.
2935 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
2936 Inherit from NMSysconfigConnection.
2938 * introspection/nm-exported-connection.xml: Annotate "Update" and
2939 "Delete" methods with async flag so that the implementations can get
2940 access to DBusGMethodInvocation.
2942 * system-settings/src/dbus-settings.c
2943 (settings_add_connection_check_privileges): Implement.
2944 (impl_settings_add_connection): Check the privileges before adding a new
2945 connection. Improve error reporting.
2947 * introspection/nm-settings-system.xml: Make the 'AddConnection' method
2948 async so that the implementation can access DBusGMethodInvocation.
2950 * configure.in: Check for PolicyKit.
2952 * policy/org.freedesktop.network-manager-settings.system.policy:
2955 * policy/Makefile.am: Install the policy file.
2957 * configure.in: Add 'policy' subdir.
2959 2008-05-08 Tambet Ingo <tambet@gmail.com>
2961 Rewrite the suse system settings plugin.
2963 * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
2965 * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
2967 * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
2969 * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
2971 * system-settings/src/dbus-settings.c: Fix connection reference counting.
2973 * system-settings/src/main.c (load_plugins): Improve error reporting.
2975 * system-settings/src/sha1.[ch] Add.
2977 * system-settings/src/Makefile.am: Add sha1[ch] to build.
2979 2008-05-07 Dan Williams <dcbw@redhat.com>
2981 * system-settings/plugins/keyfile/reader.c
2982 - (read_one_setting_value): handle IP address items separately
2983 - (read_array_of_uint): read IPv4 DNS option as a string array
2984 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
2987 * system-settings/plugins/keyfile/writer.c
2988 - (write_setting_value): handle IP address items separately
2989 - (write_array_of_uint): handle IPv4 DNS option as a string array,
2990 not an array of uint, so that it's user-editable
2991 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
2992 arrays, so they are user-editable
2994 2008-05-07 Dan Williams <dcbw@redhat.com>
2996 * system-settings/plugins/keyfile/Makefile.am
2997 - Change location of the keyfile plugin settings to
2998 /etc/NetworkManager/system-connections
3000 2008-05-05 Tambet Ingo <tambet@gmail.com>
3002 * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3004 * system-settings/plugins/keyfile/plugin.c: Work with
3005 NMKeyfileConnections.
3007 * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3008 Plugins are supposed to return NMExportedConnections now and handle the
3009 updated(), removed(), and GetSecrets().
3010 Store the internal list of connections in hash table to make it easier
3013 2008-05-07 Tambet Ingo <tambet@gmail.com>
3015 * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3016 for multiple IP addresses.
3018 2008-05-07 Tambet Ingo <tambet@gmail.com>
3020 Patch from André Lemos.
3022 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3025 2008-05-06 Dan Williams <dcbw@redhat.com>
3027 * src/dhcp-manager/nm-dhcp-manager.c
3028 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3029 NMIP4Config to support multiple IP addresses
3031 * src/NetworkManagerUtils.c
3032 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3034 * src/nm-ip4-config.c
3036 - Store a list of IPv4 address/netmask/gateway tuples
3037 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3038 nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3039 nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3040 nm_ip4_config_set_address): remove
3041 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3042 nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3043 new functions; handle multiple IPv4 addresses
3046 src/ppp-manager/nm-ppp-manager.c
3047 src/vpn-manager/nm-vpn-connection.c
3048 src/NetworkManagerPolicy.c
3050 libnm-glib/libnm-glib-test.c
3051 - update for changes to NMIP4Config for multiple IPv4 addresses
3053 * src/NetworkManagerSystem.c
3054 - (nm_system_device_set_ip4_route): don't add the route if any address
3055 is on the same subnet as the destination
3056 - (check_one_address): ignore the exact match, just match family and
3058 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3060 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3061 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3063 * introspection/nm-ip4-config.xml
3064 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3065 - Add 'addresses' property which is an array of (uuu) tuples of
3066 address/netmask/gateway
3068 * libnm-util/nm-setting-ip4-config.c
3069 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3071 * libnm-glib/nm-ip4-config.c
3072 libnm-glib/nm-ip4-config.h
3073 - Handle D-Bus interface changes to support multiple IP addresses
3075 2008-05-06 Dan Williams <dcbw@redhat.com>
3077 * libnm-util/nm-utils.c
3078 libnm-util/nm-utils.h
3079 - (nm_utils_ip4_addresses_from_gvalue,
3080 nm_utils_ip4_addresses_to_gvalue): new functions
3082 2008-05-06 Tambet Ingo <tambet@gmail.com>
3084 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3085 the returned connection paths.
3087 2008-05-05 Tambet Ingo <tambet@gmail.com>
3089 * libnm-glib/nm-dbus-settings.c (constructor): Fix the
3090 "PropertiesChanged" signal signature.
3092 * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3093 defined in nm-dbus-glib-types.h.
3094 Don't register the connection on dbus, we're a proxy class to
3095 communicate with an already registered connection over dbus.
3097 2008-04-30 Tambet Ingo <tambet@gmail.com>
3099 Implement new subclasses of NMSettings and NMExportedConnection to make
3100 it easier for the applet to access and modify system settings.
3102 * libnm-glib/nm-dbus-connection.[ch]:
3103 * libnm-glib/nm-dbus-settings.[ch]:
3104 * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3106 * libnm-glib/Makefile.am: Add the new files to build, generate some more
3109 * include/NetworkManager.h: Define the system settings DBus interface.
3111 2008-04-30 Tambet Ingo <tambet@gmail.com>
3113 Implement additional C API for exported connections to make them identical
3114 with the DBus API. Change the (list_connections) virtual function to be
3115 more usable from C - instead of requiring implementers to return a GPtrArray
3116 of dbus paths, return a list of connections.
3118 * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3119 (nm_settings_list_connections):
3120 (nm_exported_connection_new):
3121 (nm_exported_connection_update):
3122 (nm_exported_connection_delete): Implement.
3124 (impl_settings_list_connections):
3125 (impl_exported_connection_update):
3126 (impl_exported_connection_delete): Use the new public functions to make
3127 sure the C and dbus interfaces stay in sync.
3129 * system-settings/src/dbus-settings.c (list_connections): Return a list of
3132 2008-05-02 Dan Williams <dcbw@redhat.com>
3134 * system-settings/plugins/ifcfg-fedora/plugin.c
3135 - (dispose): use right unref call on the DBusGConnection
3137 2008-05-02 Dan Williams <dcbw@redhat.com>
3139 * src/nm-serial-device.c
3140 - (find_terminator): don't compare the whole line, just the size of the
3141 terminator, since some modems put stuff after the terminator, like
3144 2008-05-01 Dan Williams <dcbw@redhat.com>
3146 Patch from Michael Biebl <biebl@debian.org>
3148 * callouts/Makefile.am
3149 callouts/org.freedesktop.nm_dispatcher.service.in
3150 system-settings/src/Makefile.am
3151 system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3152 - use the right install location for dbus-activated stuff
3154 2008-04-30 Dan Williams <dcbw@redhat.com>
3156 * src/nm-gsm-device.c
3157 - (enter_pin): fix setting name passed to applets when asking for a GSM
3160 2008-04-30 Dan Williams <dcbw@redhat.com>
3163 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3165 2008-04-30 Dan Williams <dcbw@redhat.com>
3167 * src/nm-device-802-3-ethernet.c
3168 src/nm-device-802-11-wireless.c
3169 - (real_is_up): return true instead of chaining up to unimplemented
3172 2008-04-30 Dan Williams <dcbw@redhat.com>
3174 * src/NetworkManagerSystem.c
3175 src/NetworkManagerSystem.h
3176 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3177 functions to check device flags for IFF_UP
3179 * src/nm-serial-device.c
3180 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3183 * src/nm-device-802-3-ethernet.c
3184 src/nm-device-802-11-wireless.c
3185 - (real_hw_is_up): call nm_system_device_is_up()
3188 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3189 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3192 2008-04-29 Dan Williams <dcbw@redhat.com>
3194 Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3196 * marshallers/nm-marshal.list
3199 * src/NetworkManager.c
3200 - (main): let the NMManager handle the NMHalManager
3202 * src/nm-hal-manager.c
3203 src/nm-hal-manager.h
3204 - convert to a GObject, and emit singals when stuff changes. Let the
3205 NMManager handle the signals, instead of the NMHalManager calling
3210 - (remove_one_device): consolidate device removals here
3211 - (dispose): use remove_one_device()
3212 - (nm_manager_get_device_by_udi): make static
3213 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3214 manager for devices at startup or wakeup time
3215 - (nm_manager_new): create and monitor the HAL manager
3216 - (hal_manager_udi_added_cb): new function; do what
3217 nm_manager_add_device() used to do when signalled by the hal manager
3218 - (hal_manager_udi_removed_cb): new function; do what
3219 nm_manager_remove_device() used to do when signalled by the hal
3221 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3223 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3224 in our device list that aren't known to HAL
3225 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3226 see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3228 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3229 nm_manager_activation_pending, nm_manager_wireless_enabled,
3230 nm_manager_wireless_hardware_enabled,
3231 nm_manager_set_wireless_hardware_enabled): remove, unused
3233 2008-04-28 Dan Williams <dcbw@redhat.com>
3235 Fix the device up/down ambiguities. Up/down state used to be a
3236 conglomeration of hardware state (IFF_UP) and any device-specific things
3237 (supplicant, periodic timers, etc) that the device used to indicate
3238 readiness. Unfortunately, if the hardware was already IFF_UP for some
3239 reason, then the device specific stuff wouldn't get run, and the device
3244 - Create hw_is_up, hw_bring_up, and hw_take_down
3245 - Rename bring_down -> take_down
3246 - (real_hw_is_up): check interface flags for IFF_UP
3247 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3248 - (nm_device_is_up): make static; only used locally
3249 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3250 if the device is already up; if the device isn't up, bring it up
3251 - (nm_device_hw_take_down): just take down hardware
3252 - (nm_device_bring_up): bring up HW first, then device specific stuff
3253 - (nm_device_take_down): always deactivate device when called; always
3254 try to take hardware down too
3255 - (nm_device_state_changed): take device down when entering unmanaged
3256 state from a higher state
3258 * src/nm-device-802-11-wireless.c
3259 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3261 - (real_take_down, supplicant_iface_state_cb_handler,
3262 supplicant_iface_connection_state_cb_handler,
3263 supplicant_mgr_state_cb_handler): fix some messages
3265 * src/nm-device-802-3-ethernet.c
3266 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3269 2008-04-28 Dan Williams <dcbw@redhat.com>
3273 - (nm_manager_error_get_type): add new error
3274 - (nm_manager_remove_device): don't bother taking down the device here,
3275 the state change from unmanaging the device will do it
3276 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3277 uses it; when going to sleep, just unmanage the device instead of
3278 taking it down, because stuff will cleaned up correctly when the
3279 device gets unmanaged
3281 2008-04-28 Dan Williams <dcbw@redhat.com>
3283 * src/nm-hal-manager.c
3284 - (add_initial_devices): convert to a GSourceFunc prototype
3285 - (nm_manager_state_changed): when coming out of sleep, punt the
3286 device re-addition to an idle handler to let D-Bus events go out
3287 first, fixing a potential dbus-glib assert if the old device was
3288 not yet disposed (due to references held while emitting the D-Bus
3289 signals) but the new device was found, because the mainloop didn't
3290 run between signal emission and add_initial_devices()
3292 2008-04-27 Dan Williams <dcbw@redhat.com>
3294 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3296 * initscript/paldo/NetworkManager.in
3297 initscript/SUSE/networkmanager.in
3298 - Remove last bits of dhcdbd
3300 2008-04-27 Dan Williams <dcbw@redhat.com>
3302 * src/nm-device-802-11-wireless.c
3303 - (link_timeout_cb): don't ask for secrets when disconnected during
3304 association/authentication phase, drivers are still just too crappy
3306 2008-04-27 Dan Williams <dcbw@redhat.com>
3310 dispatcher-daemon/Makefile.am
3311 dispatcher-daemon/NetworkManagerDispatcher.c
3312 initscript/Arch/Makefile.am
3313 initscript/Arch/networkmanager-dispatcher.in
3314 initscript/Gentoo/Makefile.am
3315 initscript/Gentoo/NetworkManagerDispatcher.in
3316 initscript/Mandriva/Makefile.am
3317 initscript/Mandriva/networkmanagerdispatcher.in
3318 initscript/RedHat/Makefile.am
3319 initscript/RedHat/NetworkManagerDispatcher.in
3320 initscript/SUSE/Makefile.am
3321 initscript/SUSE/networkmanager-dispatcher.in
3322 initscript/Slackware/Makefile.am
3323 initscript/Slackware/rc.networkmanager-dispatcher.in
3324 initscript/paldo/Makefile.am
3325 initscript/paldo/NetworkManagerDispatcher.in
3327 man/NetworkManagerDispatcher.8.in
3328 - Remove the dispatcher daemon
3330 2008-04-27 Dan Williams <dcbw@redhat.com>
3332 * callouts/Makefile.am
3333 callouts/nm-dispatcher-action.c
3334 callouts/nm-dispatcher-action.h
3335 callouts/nm-dispatcher.conf
3336 callouts/nm-dispatcher.xml
3337 callouts/org.freedesktop.nm_dispatcher.service
3338 - Re-implement the dispatcher as a system-bus activated service that
3339 NM calls on-demand, rather than an always running daemon
3342 - Add callouts dir to includes to pick up dispatcher defines
3345 - (nm_device_state_changed): call dispatcher on device activated/
3348 * src/vpn-manager/nm-vpn-connection.c
3349 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3352 * src/NetworkManagerUtils.c
3353 src/NetworkManagerUtils.h
3354 - (nm_utils_call_dispatcher): helper to call dispatcher
3356 2008-04-27 Dan Williams <dcbw@redhat.com>
3358 * src/NetworkManagerUtils.c
3359 src/NetworkManagerUtils.h
3360 - remove unneeded includes
3361 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3362 nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3363 nm_timeval_cmp, nm_timeval_add): remove, unused
3364 - clean up formatting
3365 - (nm_spawn_process): de-uglify
3367 * src/nm-device-802-11-wireless.c
3368 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3370 2008-04-26 Saleem Abdulrasool <compnerd@compnerd.org>
3372 * initscript/Gentoo/NetworkManager.in:
3373 Fix for starting the daemon.
3375 2008-04-25 Dan Williams <dcbw@redhat.com>
3377 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3379 * src/NetworkManagerSystem.c
3380 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3382 2008-04-25 Dan Williams <dcbw@redhat.com>
3384 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3386 * src/NetworkManagerSystem.c
3387 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3388 implementation of nm_system_device_replace_default_route()
3390 * src/NetworkManagerPolicy.c
3391 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3393 * src/backends/NetworkManagerArch.c
3394 src/backends/NetworkManagerDebian.c
3395 src/backends/NetworkManagerFrugalware.c
3396 src/backends/NetworkManagerGeneric.c
3397 src/backends/NetworkManagerGeneric.h
3398 src/backends/NetworkManagerGentoo.c
3399 src/backends/NetworkManagerMandriva.c
3400 src/backends/NetworkManagerPaldo.c
3401 src/backends/NetworkManagerRedHat.c
3402 src/backends/NetworkManagerSlackware.c
3403 src/backends/NetworkManagerSuSE.c
3404 - (nm_system_device_replace_default_route): remove
3406 2008-04-25 Dan Williams <dcbw@redhat.com>
3408 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3410 * src/NetworkManagerSystem.c
3411 - (validate_ip4_route): remove; use nl_addr_parse() instead
3412 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3413 replace nm_system_device_add_route_via_device_with_iface() in the
3416 * src/backends/NetworkManagerArch.c
3417 src/backends/NetworkManagerDebian.c
3418 src/backends/NetworkManagerFrugalware.c
3419 src/backends/NetworkManagerGeneric.c
3420 src/backends/NetworkManagerGeneric.h
3421 src/backends/NetworkManagerGentoo.c
3422 src/backends/NetworkManagerMandriva.c
3423 src/backends/NetworkManagerPaldo.c
3424 src/backends/NetworkManagerRedHat.c
3425 src/backends/NetworkManagerSlackware.c
3426 src/backends/NetworkManagerSuSE.c
3427 - Remove nm_system_device_add_route_via_device_with_iface()
3429 2008-04-25 Dan Williams <dcbw@redhat.com>
3431 * system-settings/plugins/ifcfg-fedora/parser.c
3432 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3434 2008-04-24 Dan Williams <dcbw@redhat.com>
3436 * dispatcher-daemon/NetworkManagerDispatcher.c
3437 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3439 2008-04-24 Dan Williams <dcbw@redhat.com>
3441 * initscript/RedHat/NetworkManager.in
3442 initscript/RedHat/NetworkManagerDispatcher.in
3443 - Be active at runlevel 2
3444 - Adjust priorities earlier
3446 2008-04-22 Dan Williams <dcbw@redhat.com>
3448 * src/NetworkManagerPolicy.c
3449 - (update_routing_and_dns): when checking for a gateway, look at the
3450 composite IP4 config, not the connection's ip4-config setting, which
3451 doesn't include DHCP-returned information
3453 2008-04-22 Tambet Ingo <tambet@gmail.com>
3455 Implement GKeyFile system settings plugin.
3456 Implement writing system settings (currently supported only by GKeyFile plugin).
3458 * system-settings/src/main.c:
3459 * system-settings/src/dbus-settings.c: Move the communication with plugins
3460 from main.c to dbus-settings.c. Makes it possible to talk to all registered
3461 plugins for adding/updating/removing connections.
3463 * system-settings/src/nm-system-config-interface.c
3464 (nm_system_config_interface_add_connection): Implement
3465 (nm_system_config_interface_update_connection): Implement.
3466 (nm_system_config_interface_remove_connection): Implement.
3468 * system-settings/plugins/keyfile/Makefile.am:
3469 * system-settings/plugins/keyfile/plugin.[ch]:
3470 * system-settings/plugins/keyfile/writer.[ch]:
3471 * system-settings/plugins/keyfile/reader.[ch]: Implement.
3473 * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3475 * configure.in: Generate GKeyFile Makefile.
3477 * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3478 corruption, need to duplicate the returned string.
3479 (impl_exported_connection_update): Implement.
3480 (impl_exported_connection_delete): Implement.
3482 * introspection/nm-settings-system.xml: Add "AddConnection" method.
3484 * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3486 2008-04-22 Dan Williams <dcbw@redhat.com>
3488 Patch from Charles R. Anderson (cra@wpi.edu)
3490 * src/NetworkManagerPolicy.c
3491 - (update_routing_and_dns): don't select devices without a gateway
3492 as having the default route (rh #437338)
3494 2008-04-21 Dan Williams <dcbw@redhat.com>
3496 * src/nm-activation-request.c
3497 src/nm-activation-request.h
3498 - (dispose): ensure to disconnect from the device's state-changed signal
3499 when appropriate so the signal doesn't get handled by an already
3500 disposed NMActRequest
3501 - (device_state_changed): update is_default here too just to make sure
3502 default is only True when the child device is activated
3503 - (nm_act_request_set_default): new function
3505 * src/NetworkManagerPolicy.c
3506 - (update_routing_and_dns): set 'default' on the active connection which
3507 has the default route and DNS
3509 2008-04-21 Dan Williams <dcbw@redhat.com>
3511 * src/NetworkManagerPolicy.c
3512 - (device_state_changed): update routing and DNS when a device goes
3513 into unmanaged or unavailable states too (like rfkill or carrier loss)
3515 2008-04-21 Dan Williams <dcbw@redhat.com>
3517 * include/NetworkManager.h
3518 - Add NMActiveConnectionState enum
3520 * introspection/nm-active-connection.xml
3521 introspection/nm-vpn-connection.xml
3522 - Add 'State' property for overall active connection state
3523 - Add 'Default' property, when True means this active connection
3524 has the default route
3525 - Add PropertyChanged signals so changes actually go out over the bus
3527 * src/nm-active-connection.h
3528 - Add defines for State & Default properties
3530 * src/nm-activation-request.c
3531 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3532 signal to determine active connection state
3534 * src/vpn-manager/nm-vpn-connection.c
3535 src/vpn-manager/nm-vpn-connection.h
3536 src/vpn-manager/nm-vpn-manager.c
3537 src/vpn-manager/nm-vpn-service.c
3538 - Rename old 'state' to 'vpn-state'
3539 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3540 - Add 'state' and 'default' properties, hook up to the vpn connection's
3541 'vpn-state-changed' signal
3543 * libnm-glib/nm-active-connection.c
3544 libnm-glib/nm-active-connection.h
3545 - Add new 'state' and 'default' properties and accessors
3547 * libnm-glib/nm-vpn-connection.c
3548 libnm-glib/nm-vpn-connection.h
3549 - Rename old 'state' property to 'vpn-state'
3550 - Add new 'state' and 'default' properties and accessors
3552 2008-04-21 Dan Williams <dcbw@redhat.com>
3554 * src/nm-ip4-config.c
3555 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3556 not specified (rh #443474)
3558 2008-04-20 Dan Williams <dcbw@redhat.com>
3560 * src/NetworkManagerUtils.c
3561 src/NetworkManagerUtils.h
3562 - (nm_utils_merge_ip4_config): new function; merge settings from an
3563 NMSettingIP4Config to an NMIP4Config object
3566 - (merge_ip4_config): move to NetworkManagerUtils.c
3568 * src/vpn-manager/nm-vpn-connection.c
3569 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3572 2008-04-18 Dan Williams <dcbw@redhat.com>
3574 * libnm-util/nm-setting-ppp.c
3575 libnm-util/nm-setting-ppp.h
3576 - Add 'no-vj-comp' option for TCP header compression
3577 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3580 2008-04-18 Dan Williams <dcbw@redhat.com>
3582 * libnm-util/nm-setting-ppp.c
3583 libnm-util/nm-setting-ppp.h
3584 src/ppp-manager/nm-ppp-manager.c
3585 - Add 'refuse-pap' and 'refuse-mschapv2' options
3587 2008-04-18 Dan Williams <dcbw@redhat.com>
3589 * libnm-util/nm-setting-ppp.c
3590 libnm-util/nm-setting-ppp.h
3591 src/ppp-manager/nm-ppp-manager.c
3592 - Remove the 'usepeerdns' option and always request DNS servers from
3593 the PPP server; the connection chooses to use/override/ignore the
3594 DNS servers returned from the PPP server
3596 2008-04-18 Dan Williams <dcbw@redhat.com>
3598 * libnm-util/nm-setting-ppp.c
3599 libnm-util/nm-setting-ppp.h
3600 src/ppp-manager/nm-ppp-manager.c
3601 - Remove the 'require-mppc' option, because pppd doesn't support it and
3602 it seems to have been an erroneous addition to the PPTP plugin in
3603 the first place (from which the ppp-manager is derived)
3605 2008-04-17 Dan Williams <dcbw@redhat.com>
3607 * libnm-util/nm-setting-pppoe.c
3608 - (verify): require a PPP setting too
3610 * src/ppp-manager/nm-ppp-manager.c
3611 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3614 2008-04-17 Dan Williams <dcbw@redhat.com>
3617 - (nm_device_state_changed): do deactivation and and promotion to
3618 unavailable here, so that the device gets cleaned up before the
3619 manager runs and starts emitting signals; do the
3620 FAILED->DISCONNECTED transition from an idle handler rather than
3621 immediately to guard against recursion
3622 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3623 FAILED->DISCONNECTED handler if it's scheduled
3625 2008-04-17 Dan Williams <dcbw@redhat.com>
3627 * src/nm-device-802-11-wireless.c
3628 - (state_changed_cb): clear AP list when device transitions to
3629 unavailable or unmanaged
3630 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3631 since this is already done in device_cleanup()
3632 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3633 isn't available or managed
3634 - (device_cleanup): use remove_all_aps()
3635 - (remove_all_aps): consolidate code removing all APs
3637 2008-04-17 Dan Williams <dcbw@redhat.com>
3639 * src/nm-serial-device.c
3640 src/nm-serial-device.h
3641 - (wait_for_reply_got_data): break input into lines, and search each
3642 line for responses _and_ terminator strings; also make sure that
3643 the read loop doesn't continue after the timeout is supposed to fire
3644 - (nm_serial_device_wait_for_reply): take an array of terminators too
3646 * src/nm-gsm-device.c
3647 src/nm-cdma-device.c
3648 - Send terminators to nm_serial_device_wait_for_reply()
3650 2008-04-16 Dan Williams <dcbw@redhat.com>
3652 Patch from 陈鑫 <znscnchen@gmail.com>
3654 * src/ppp-manager/nm-pppd-plugin.c
3655 - (get_credentials): return correct value for success; handle case where
3656 pppd just does some checking but doesn't want a password
3657 - (plugin_init): make CHAP work too
3659 2008-04-16 Dan Williams <dcbw@redhat.com>
3661 Patch from 陈鑫 <znscnchen@gmail.com>
3663 * src/ppp-manager/nm-ppp-manager.c
3664 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3666 2008-04-16 Dan Williams <dcbw@redhat.com>
3668 Patch from 陈鑫 <znscnchen@gmail.com>
3670 * src/nm-device-802-3-ethernet.c
3671 - (real_deactivate_quickly): clear the IP interface name on
3672 deactivation, otherwise the wrong interface might get used later
3673 for routing and IP management
3675 2008-04-15 Dan Williams <dcbw@redhat.com>
3677 * libnm-glib/nm-device.c
3678 - (get_product_and_vendor): handle serial devices correctly
3679 - (nm_device_update_description): pass device to get_product_and_vendor()
3681 2008-04-15 Dan Williams <dcbw@redhat.com>
3683 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3685 * src/NetworkManagerSystem.h
3686 src/backends/NetworkManagerArch.c
3687 src/backends/NetworkManagerDebian.c
3688 src/backends/NetworkManagerFrugalware.c
3689 src/backends/NetworkManagerGeneric.c
3690 src/backends/NetworkManagerGeneric.h
3691 src/backends/NetworkManagerGentoo.c
3692 src/backends/NetworkManagerMandriva.c
3693 src/backends/NetworkManagerPaldo.c
3694 src/backends/NetworkManagerRedHat.c
3695 src/backends/NetworkManagerSlackware.c
3696 src/backends/NetworkManagerSuSE.c
3698 - (nm_generic_device_add_ip6_link_address,
3699 nm_system_device_add_ip6_link_address): remove
3701 2008-04-15 Dan Williams <dcbw@redhat.com>
3703 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3705 * src/backends/NetworkManagerArch.c
3706 src/backends/NetworkManagerDebian.c
3707 src/backends/NetworkManagerFrugalware.c
3708 src/backends/NetworkManagerGeneric.c
3709 src/backends/NetworkManagerGeneric.h
3710 src/backends/NetworkManagerGentoo.c
3711 src/backends/NetworkManagerMandriva.c
3712 src/backends/NetworkManagerPaldo.c
3713 src/backends/NetworkManagerRedHat.c
3714 src/backends/NetworkManagerSlackware.c
3715 src/backends/NetworkManagerSuSE.c
3716 src/NetworkManagerSystem.h
3717 - flush_routes -> flush_ip4_routes
3718 - flush_addresses -> flush_ip4_addresses
3720 * src/NetworkManagerSystem.c
3722 src/vpn-manager/nm-vpn-connection.c
3723 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3725 2008-04-15 Dan Williams <dcbw@redhat.com>
3727 Remove exposure of wireless-tools mode types in the API.
3729 * include/NetworkManager.h
3730 - Define NM80211Mode enum
3732 * introspection/generic-types.xml
3733 - Describe NM_802_11_MODE enum
3734 - Remove IW_MODE_* enum
3736 * introspection/nm-access-point.xml
3737 libnm-glib/nm-access-point.c
3738 libnm-glib/nm-access-point.h
3739 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3741 * introspection/nm-device-802-11-wireless.xml
3742 libnm-glib/nm-device-802-11-wireless.c
3743 libnm-glib/nm-device-802-11-wireless.h
3744 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3746 * libnm-util/nm-setting-wireless.c
3747 src/NetworkManagerAP.c
3748 src/NetworkManagerAP.h
3749 src/nm-device-802-11-wireless.c
3750 src/nm-device-802-11-wireless.h
3752 - Use NM80211Mode not IW_MODE_*
3754 2008-04-15 Dan Williams <dcbw@redhat.com>
3756 Enhance nm-online based on a patch from Bill Nottingham.
3760 - Add help messages and option summary
3761 - Add long-format options
3762 - Add a '-x' option to exit if NM isn't running or isn't connecting
3764 2008-04-15 Tambet Ingo <tambet@gmail.com>
3766 * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
3768 * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
3770 2008-04-15 Dan Williams <dcbw@redhat.com>
3772 * nm-setting-ip4-config.c
3773 - (ip4_addresses_from_gvalue): handle NULL address array
3775 * nm-setting-8021x.c
3776 - (verify_tls, verify_ttls): warn on failed verification
3778 2008-04-10 Dan Williams <dcbw@redhat.com>
3780 * src/nm-gsm-device.c
3781 - (automatic_registration): accept "+CREG: 0,0"
3782 - (automatic_registration_response): fail on "+CREG: 0,0"
3784 2008-04-10 Tambet Ingo <tambet@gmail.com>
3786 * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
3788 2008-04-10 Tambet Ingo <tambet@gmail.com>
3790 * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting):
3791 Make it compile again by commenting out broken code that at first didn't work and
3792 now didn't compile either.
3794 2008-04-08 Dan Williams <dcbw@redhat.com>
3796 * libnm-glib/nm-object-cache.c
3797 libnm-glib/nm-settings.c
3798 src/dhcp-manager/nm-dhcp-manager.c
3799 system-settings/plugins/ifcfg-fedora/plugin.c
3800 system-settings/plugins/ifcfg-suse/plugin.c
3801 system-settings/src/nm-system-config-hal-manager.c
3802 libnm-util/nm-utils.c
3803 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
3804 not threadsafe anyway
3806 2008-04-08 Dan Williams <dcbw@redhat.com>
3808 * system-settings/src/main.c
3809 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
3810 callbacks take a device type too
3812 2008-04-08 Dan Williams <dcbw@redhat.com>
3814 The system settings service will now create a new default DHCP connection
3815 for wired devices that have no existing applicable connection.
3817 * system-settings/src/nm-system-config-hal-manager.c
3818 system-settings/src/nm-system-config-hal-manager.h
3819 - (nm_system_config_hal_manager_get_type_for_udi): new function
3821 * system-settings/src/dbus-settings.c
3822 system-settings/src/dbus-settings.h
3823 - (nm_sysconfig_settings_get_connections): new function
3824 - (nm_sysconfig_settings_is_device_managed): new function
3826 * system-settings/src/main.c
3827 - (load_stuff): check for wired devices that need a default connection
3828 - (get_details_for_udi): get interface and MAC address from HAL
3829 - (add_default_dhcp_connection): add a default connection for a wired
3831 - (device_added_cb, device_removed_cb): do the right thing with
3832 wired devices and their default connections on HAL device events
3834 2008-04-07 Dan Williams <dcbw@redhat.com>
3836 * libnm-glib/nm-device.c
3837 libnm-glib/nm-device.h
3838 - Proxy the 'managed' property
3840 2008-04-07 Dan Williams <dcbw@redhat.com>
3842 * src/nm-gsm-device.c
3843 src/nm-cdma-device.c
3844 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3845 handler to transition to DISCONNECTED
3847 2008-04-07 Dan Williams <dcbw@redhat.com>
3849 Patch from Bill Nottingham
3851 * dispatcher-daemon/NetworkManagerDispatcher.c
3852 - ignore backup/packaging crufy (rh #440143)
3854 2008-04-07 Dan Williams <dcbw@redhat.com>
3856 * include/NetworkManager.h
3857 - Remove the DOWN and CANCELLED device states
3858 - Add UNMANAGED and UNAVAILABLE device states
3859 - Document the device states
3861 * introspection/nm-device.xml
3862 src/nm-device-interface.c
3863 src/nm-device-interface.h
3864 - Add the 'managed' property
3867 - (detail_device): print out device state
3869 * src/NetworkManagerSystem.h
3870 src/backends/NetworkManagerArch.c
3871 src/backends/NetworkManagerDebian.c
3872 src/backends/NetworkManagerFrugalware.c
3873 src/backends/NetworkManagerGentoo.c
3874 src/backends/NetworkManagerMandriva.c
3875 src/backends/NetworkManagerPaldo.c
3876 src/backends/NetworkManagerRedHat.c
3877 src/backends/NetworkManagerSlackware.c
3878 src/backends/NetworkManagerSuSE.c
3879 - (nm_system_device_get_system_config, nm_system_device_get_disabled
3880 nm_system_device_free_system_config): remove; they were unused and
3881 their functionality should be re-implemented in each distro's
3882 system settings service plugin
3884 * src/nm-gsm-device.c
3886 src/nm-cdma-device.c
3887 src/nm-cdma-device.h
3888 - (*_new): take the 'managed' argument
3891 - (nm_device_set_address): remove, fold into nm_device_bring_up()
3892 - (nm_device_init): start in unmanaged state, not disconnected
3893 - (constructor): don't start device until the system settings service
3894 has had a chance to figure out if the device is managed or not
3895 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
3896 don't set device state here, let callers handle that as appropriate
3897 - (nm_device_dispose): don't touch the device if it's not managed
3898 - (set_property, get_property, nm_device_class_init): implement the
3900 - (nm_device_state_changed): bring the device up if its now managed,
3901 and deactivate it if it used to be active
3902 - (nm_device_get_managed, nm_device_set_managed): do the right thing
3903 with the managed state
3905 * src/nm-hal-manager.c
3906 - (wired_device_creator, wireless_device_creator, modem_device_creator):
3907 take initial managed state and pass it along to device constructors
3908 - (create_device_and_add_to_list): get managed state and pass to
3911 * src/nm-device-802-11-wireless.c
3912 - (real_can_activate): fold in most of
3913 nm_device_802_11_wireless_can_activate()
3914 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
3915 - (link_timeout_cb): instead of deactivating, change device state and
3916 let the device state handler to it
3917 - (real_update_hw_address): clean up
3918 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3919 handler to transition to DISCONNECTED if the device isn't rfkilled
3921 * src/nm-device-802-3-ethernet.c
3922 - (set_carrier): move above callers and get rid of prototype
3923 - (device_state_changed): when entering UNAVAILABLE state, schedule an
3924 idle handler to transition to DISCONNECTED if the device has a
3926 - (real_update_hw_address): clean up
3927 - (link_timeout_cb, ppp_state_changed): change state instead of calling
3928 deactivation directly as deactivation doesn't change state anymore
3930 * src/NetworkManagerPolicy.c
3931 - (schedule_activate_check): yay, remove wireless_enabled hack since
3932 the NMManager and wireless devices work that out themselves now
3933 - (device_state_changed): change to a switch and update for new device
3935 - (device_carrier_changed): remove; device handles this now through
3937 - (device_added): don't care about carrier any more; the initial
3938 activation check will happen when the device transitions to
3942 - (dispose): clear unmanaged devices
3943 - (handle_unmanaged_devices): update unmanaged device list and toggle
3944 the managed property on each device when needed
3945 - (system_settings_properties_changed_cb): handle signals from the
3946 system settings service
3947 - (system_settings_get_unmanaged_devices_cb): handle callback from
3948 getting the unmanaged device list method call
3949 - (query_unmanaged_devices): ask the system settings service for its
3950 list of unmanaged devices
3951 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
3953 - (manager_set_wireless_enabled): push rfkill state down to wireless
3954 devices directly and let them handle the necessary state transitions
3955 - (manager_device_state_changed): update for new device states
3956 - (nm_manager_add_device): set initial rfkill state on wireless devices
3957 - (nm_manager_remove_device): don't touch the device if it's unmanaged
3958 - (nm_manager_activate_connection): return error if the device is
3960 - (nm_manager_sleep): handle new device states correctly; don't change
3961 the state of unavailable/unmanaged devices
3963 * libnm-glib/nm-device-802-11-wireless.c
3964 - (state_changed_cb): update for new device states
3966 2008-04-07 Dan Williams <dcbw@redhat.com>
3968 * marshallers/nm-marshal.list
3969 - Add VOID:STRING,UINT marshaller for system settings HAL manager
3971 2008-04-07 Dan Williams <dcbw@redhat.com>
3973 * system-settings/src/main.c
3974 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
3975 plugins to the dbus settings object
3976 - (load_stuff): start the dbus service after grabbing unmanaged devices
3977 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
3978 - (log_handler, logging_setup, logging_shutdown): log output to syslog
3979 - (main): switch default logging to syslog with a 'debug' option to
3980 output to console; start up the HAL manager
3982 2008-04-07 Dan Williams <dcbw@redhat.com>
3984 * introspection/nm-settings-system.xml
3985 introspection/Makefile.am
3986 - Define the unmanaged devices interface for the system settings service
3988 * system-settings/src/nm-system-config-hal-manager.c
3989 system-settings/src/nm-system-config-hal-manager.h
3990 system-settings/src/nm-system-config-hal-manager-private.h
3991 system-settings/src/Makefile.am
3992 - Add a lightweight HAL manager object for tracking network devices for
3993 the purpose of determining unmanaged devices and which devices need
3994 the default DHCP connections
3996 * system-settings/src/nm-system-config-interface.c
3997 system-settings/src/nm-system-config-interface.h
3998 - (nm_system_config_interface_init): add the HAL manager as an argument
3999 - (nm_system_config_interface_get_unmanaged_devices): implement
4000 - Define 'unmanaged-devices-changed' signal
4002 * system-settings/src/dbus-settings.c
4003 system-settings/src/dbus-settings.h
4004 - Implement the unmanaged devices interface; some cleanups
4006 * system-settings/plugins/ifcfg-suse/plugin.c
4007 - Fixup for plugin interface changes
4009 * system-settings/plugins/ifcfg-fedora/plugin.c
4010 - (get_ether_device_udi): new function; find the device that has
4011 a specified MAC address and return its UDI
4012 - (get_udi_for_connection): new function; try to find the specific
4013 device a connection is locked to, if any
4014 - (device_added_cb, device_removed_cb): update unmanaged device list in
4015 response to HAL events
4016 - (get_unmanaged_devices): new function; return unmanaged device list
4017 - (build_one_connection): set the connection's locked device, if any
4018 - (write_auto_wired_connection): remove
4019 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4020 - (handle_connection_changed): alert listeners that the unmanaged device
4022 - (init): fixup for plugin interface changes, implement unmanaged devices
4024 * system-settings/plugins/ifcfg-fedora/parser.c
4025 system-settings/plugins/ifcfg-fedora/parser.h
4026 - (connection_data_free): clean up connection UDI
4028 2008-04-07 Dan Williams <dcbw@redhat.com>
4030 * system-settings/plugins/ifcfg-fedora/parser.c
4031 - (make_ip4_setting): fix parsing of DNS servers
4033 2008-04-05 Dan Williams <dcbw@redhat.com>
4037 marshallers/Makefile.am
4038 marshallers/nm-marshal-main.c
4039 marshallers/nm-marshal.list
4040 - Consolidate marshallers
4042 * libnm-glib/nm-marshal-main.c
4043 libnm-glib/nm-marshal.list
4044 src/marshallers/Makefile.am
4045 src/marshallers/nm-marshal-main.c
4046 src/marshallers/nm-marshal.list
4049 * libnm-glib/Makefile.am
4051 src/dhcp-manager/Makefile.am
4052 src/ppp-manager/Makefile.am
4053 src/supplicant-manager/Makefile.am
4054 src/vpn-manager/Makefile.am
4055 - Use consolidated marshallers
4057 2008-04-04 Dan Williams <dcbw@redhat.com>
4059 * src/nm-hal-manager.c
4060 src/nm-hal-manager.h
4061 - (hal_init): don't look for hardware here
4062 - (nm_hal_manager_start): new function; look for hardware here instead,
4063 which can be done at a later time than hal_init()
4065 * src/NetworkManager.c
4066 - (main): start HAL manager after entering the main loop
4068 2008-04-03 Dan Williams <dcbw@redhat.com>
4070 * libnm-glib/nm-settings.c
4071 libnm-glib/nm-settings.h
4072 - (nm_exported_connection_get_id): new function
4073 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4075 2008-04-02 Dan Williams <dcbw@redhat.com>
4077 * src/nm-device-interface.c
4078 src/nm-device-interface.h
4081 - Rename check_connection_conflicts() to check_connection_compatible()
4083 * src/nm-device-802-11-wireless.c
4084 - (real_check_connection_conflicts): remove
4085 - (real_check_connection_compatible): implement; match MAC address
4087 * src/nm-device-802-3-ethernet.c
4088 - (real_check_connection_conflicts): remove
4089 - (real_check_connection_compatible): implement; match MAC address
4090 - (real_get_best_auto_connection): correctly handle PPPoE cases
4093 - (check_connection_allowed): remove; unused until PolicyKit integration
4094 - (internal_activate_device): check whether the connection is compatible
4095 with the device before trying to activate it
4097 2008-04-02 Dan Williams <dcbw@redhat.com>
4099 * system-settings/plugins/ifcfg-fedora/parser.c
4100 - (read_mac_address): new function; read in MAC address and stuff it
4102 - (add_one_wep_key): remove debug spew
4103 - (make_wireless_security_setting): validate the default TX key; don't
4104 add the wireless-security setting if the connection doesn't need
4105 security; don't leak the keys shvarFile on error cases
4106 - (make_wireless_setting, make_wired_setting): populate device's MAC
4109 2008-04-02 Dan Williams <dcbw@redhat.com>
4111 * libnm-util/nm-setting-connection.c
4112 libnm-util/nm-setting-connection.h
4113 - (set_property, get_property, nm_setting_connection_class_init): remove
4114 the 'lockdown' property; it's functionality will be replaced by
4117 2008-04-01 Dan Williams <dcbw@redhat.com>
4119 Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4122 initscript/Makefile.am
4123 initscript/Mandriva/Makefile.am
4124 initscript/Mandriva/networkmanager.in
4125 initscript/Mandriva/networkmanagerdispatcher.in
4126 src/backends/Makefile.am
4127 src/backends/NetworkManagerMandriva.c
4128 system-settings/plugins/Makefile.am
4129 - Add Mandriva support
4131 2008-03-31 Dan Williams <dcbw@redhat.com>
4133 * src/vpn-manager/nm-vpn-service.c
4134 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4135 errors can be passed back to the caller; also no longer scheduled
4136 as an idle handler, but called directly; and bump up VPN service
4137 spawn timeout, 2s is really short
4138 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4139 but call it directly so that errors are reported on return from
4140 ActivateConnection() and don't get lost. If scheduled as an idle
4141 handler, clients don't have the time to query NM for the new VPN
4142 connection's properties before the VPN connection is torn down again
4143 if the service couldn't be launched, and therefore launch errors
4146 2008-03-31 Dan Williams <dcbw@redhat.com>
4148 * src/vpn-manager/nm-vpn-connection.c
4149 - (device_state_changed): send correct state on device failure too
4150 - (plugin_state_changed): failed state means unexpected disconnection,
4151 thus if the service goes away while the VPN connection is activated
4152 that's a failure too
4154 2008-03-31 Dan Williams <dcbw@redhat.com>
4156 * src/vpn-manager/nm-vpn-manager.c
4157 src/vpn-manager/nm-vpn-manager.h
4158 - Make VPNManager errors more available; add a service-start-failed error
4160 2008-03-31 Dan Williams <dcbw@redhat.com>
4162 * libnm-glib/nm-client.c
4163 libnm-glib/nm-client.h
4164 - (activate_cb): pass the new active connection to callback; fix
4165 message when no callback is specified
4167 2008-03-30 Dan Williams <dcbw@redhat.com>
4169 * libnm-util/nm-setting-wireless-security.c
4170 - (need_secrets): only require key0 if the transmit key index is also
4172 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4174 2008-03-29 Dan Williams <dcbw@redhat.com>
4176 * libnm-util/nm-setting-8021x.c
4177 libnm-util/nm-setting-ip4-config.c
4178 libnm-util/nm-setting-vpn-properties.c
4179 libnm-util/nm-setting-vpn.c
4180 libnm-util/nm-setting-wireless-security.c
4181 libnm-util/nm-setting-wireless.c
4182 libnm-util/nm-utils.c
4183 src/dhcp-manager/nm-dhcp-manager.c
4184 src/nm-activation-request.c
4187 src/nm-properties-changed-signal.c
4188 src/ppp-manager/nm-pppd-plugin.c
4189 src/supplicant-manager/nm-supplicant-interface.c
4190 src/vpn-manager/nm-vpn-connection.c
4191 - consistently use nm-dbus-glib-types.h
4193 2008-03-29 Dan Williams <dcbw@redhat.com>
4195 * src/vpn-manager/nm-vpn-connection.c
4196 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4199 * src/nm-activation-request.c
4200 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4203 2008-03-29 Dan Williams <dcbw@redhat.com>
4205 * libnm-glib/nm-device-802-11-wireless.c
4206 - (access_point_added_proxy): create new APs if not found
4208 2008-03-29 Dan Williams <dcbw@redhat.com>
4210 * libnm-glib/nm-client.c
4211 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4214 2008-03-29 Dan Williams <dcbw@redhat.com>
4216 * system-settings/plugins/ifcfg-fedora/parser.c
4217 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4218 [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4220 2008-03-29 Dan Williams <dcbw@redhat.com>
4222 * system-settings/plugins/ifcfg-fedora/parser.c
4223 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4225 2008-03-27 Dan Williams <dcbw@redhat.com>
4228 - (nm_object_queue_notify): don't notify multiple times for the same
4231 * nm-object-private.h
4232 - (handle_ptr_array_return): return NULL if the given array is NULL or
4233 if it has zero elements
4236 - (finalize): use g_ptr_array_foreach() when freeing domains
4237 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4239 * nm-active-connection.c
4240 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4242 * nm-device-802-11-wireless.c
4243 nm-device-802-11-wireless.h
4244 - (nm_device_802_11_wireless_get_access_points): return const; use
4245 handle_ptr_array_return()
4248 - (nm_object_array_demarshal): always create an array, even of length
4249 zero, to distinguish between "NM returned no items" and "haven't
4253 - (dispose): free active connections too
4254 - (proxy_name_owner_changed): free active connections too when NM goes
4256 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4257 - (nm_client_get_active_connections): use handle_ptr_array_return()
4259 2008-03-26 Dan Williams <dcbw@redhat.com>
4261 Rework VPN connection handling for a more consistent D-Bus API. The
4262 VPNManager object has been removed, and active VPN connections are now the
4263 same as any other active connection. The Manager object's ActivateConnection
4264 and DeactivateConnection methods are used to start and stop a VPN connection,
4265 and the VPNConnection objects are subclasses of the ActiveConnection objects.
4266 When activating a VPN connection, pass the path of the active connection
4267 to which the VPN connection is tied in the 'specific_object' argument.
4269 Consequently, the libnm-glib API has been reworked to match this arrangement,
4270 with the VPNManager object removed, and the NMVPNConnection objects now
4271 being subclasses of NMActiveConnection.
4273 2008-03-25 Dan Williams <dcbw@redhat.com>
4275 Patch from Björn Martensen <bjoern.martensen@gmail.com>
4277 * initscript/Arch/networkmanager.in
4278 initscript/Arch/networkmanager-dispatcher.in
4279 - Updates for Arch Linux (gnome.org #523701)
4281 2008-03-25 Dan Williams <dcbw@redhat.com>
4283 * libnm-glib/nm-ip4-config.c
4284 libnm-glib/nm-active-connection.c
4285 libnm-glib/nm-access-point.c
4286 - Use nm_object_queue_notify() instead of g_object_notify()
4288 * libnm-glib/nm-device.c
4289 - (demarshal_ip4_config): distinguish between successful but missing
4290 ip4-config request, and unsuccessful and missing ip4-config request
4291 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4293 - Use nm_object_queue_notify() instead of g_object_notify()
4295 * libnm-glib/nm-device-802-11-wireless.c
4296 - (demarshal_active_ap): distinguish between successfull but missing
4297 active-ap request, and unsuccessful and missing active-ap request
4298 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4300 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4301 for the NMClient to notify the device that wireless is disabled,
4302 and therefore to clear the AP list and active AP
4303 - Use nm_object_queue_notify() instead of g_object_notify()
4305 * libnm-glib/nm-client.c
4306 - (poke_wireless_devices_with_rf_status): new function
4307 - (update_wireless_status): notify wireless devices of the rfkill status
4308 so they can clean up if needed
4309 - Use nm_object_queue_notify() instead of g_object_notify()
4311 2008-03-25 Dan Williams <dcbw@redhat.com>
4313 * libnm-glib/nm-object.c
4314 libnm-glib/nm-object-private.h
4315 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4316 signals to an idle handler
4317 - (nm_object_get_property): add a timeout to the D-Bus method call
4319 2008-03-25 Dan Williams <dcbw@redhat.com>
4321 * introspection/nm-device-cdma.xml
4322 introspection/nm-device-gsm.xml
4323 introspection/Makefile.am
4324 introspection/all.xml
4325 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4327 * src/nm-gsm-device.h
4329 src/nm-cdma-device.h
4330 src/nm-cdma-device.c
4332 - Implement PropertiesChanged signals
4334 * libnm-glib/nm-cdma-device.c
4335 libnm-glib/nm-cdma-device.c
4336 - Attach to PropertiesChanged signals
4338 2008-03-24 Dan Williams <dcbw@redhat.com>
4340 * libnm-glib/nm-client.c
4341 - (client_device_added_proxy): add new devices to the internal device
4342 list so they appear to clients
4344 2008-03-24 Dan Williams <dcbw@redhat.com>
4346 Massive fixup of libnm-glib to:
4347 a) have all objects (with the exception of VPN) cache their properties and
4348 update them asynchronously on PropertiesChanged signals from NM
4349 b) return internal const data for most attributes/properties instead of
4350 allocated values that the caller must free
4351 c) cache wrapped objects such that a given D-Bus path will always map to the
4352 same GObject returned by libnm-glib
4353 d) remove a few signals and move them to GObject property notifications
4354 e) match recent NM D-Bus API changes for activation/deactivation
4355 f) remove some private functions from libnm-glib headers
4357 2008-03-20 Dan Williams <dcbw@redhat.com>
4360 - (nm_manager_update_state, manager_device_state_changed,
4361 nm_manager_activate_device, connection_added_default_handler,
4362 impl_manager_activate_connection, impl_manager_deactivate_connection):
4363 queue PropertyChanged singals when the active connections change
4365 2008-03-20 Dan Williams <dcbw@redhat.com>
4367 * introspection/nm-manager.xml
4368 introspection/nm-manager-client.xml
4369 - (ActivateConnection): return the object path of the active connection
4371 - (GetActiveConnections): remove
4372 - (DeactivateConnection): new function; deactivate a currently active
4374 - Add an ActiveConnections property which returns an array of
4375 active connection object paths
4377 * introspection/nm-device.xml
4378 - (Deactivate): remove
4380 * introspection/all.xml
4381 - Add ActiveConnection introspection
4383 * introspection/nm-active-connection.xml
4384 - Add the ActiveConnection object
4386 * include/NetworkManager.h
4387 - Add the Connection.Active D-Bus interface
4389 * src/nm-device-interface.c
4390 - (impl_device_deactivate): remove
4392 * src/nm-activation-request.c
4393 src/nm-activation-request.c
4395 - Implement the Connection.Active D-Bus interface
4398 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4399 - (nm_manager_activate_device): return the active connection path
4400 - (connection_added_default_handler, impl_manager_activate_connection):
4401 return the active connection to the caller
4402 - (add_one_connection_element, impl_manager_get_active_connections):
4404 - (impl_manager_deactivate_connection): new function; deactivate an
4407 * libnm-glib/nm-device.c
4408 libnm-glib/nm-device.h
4409 - Remove Deactivate() function
4411 2008-03-19 Dan Williams <dcbw@redhat.com>
4413 * introspection/nm-manager.xml
4414 introspection/nm-manager-client.xml
4415 - Rename the ActivateDevice method to ActivateConnection to better
4416 reflect it's usage; it's arguments get reordered a bit too
4417 - Convert GetActiveConnections method return from a struct to a dict
4419 * include/NetworkManager.h
4420 - Define the dict keys for return value of GetActiveConnections
4423 - impl_manager_activate_device -> impl_manager_activate_connection
4424 - (add_one_connection_element): return a populated hash table, not
4427 * libnm-glib/nm-client.c
4428 libnm-glib/nm-client.h
4429 - nm_client_activate_device -> nm_client_activate_connection
4430 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4431 - (nm_client_get_active_connections): return a GSList of GHashTables,
4432 instead of the custom structures. Each element of the returned list
4433 must be freed with nm_client_free_active_connections_element()
4435 2008-03-18 Dan Williams <dcbw@redhat.com>
4437 * system-settings/plugins/ifcfg-fedora/parser.c
4438 system-settings/plugins/ifcfg-fedora/parser.h
4439 system-settings/plugins/ifcfg-fedora/plugin.c
4440 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4441 profiles. DNS servers and searches must now be stored in the ifcfg
4444 2008-03-18 Tambet Ingo <tambet@gmail.com>
4446 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4447 print out username and password, it's supposed to be a secret.
4449 * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication
4450 request and set the device state accordingly.
4452 2008-03-18 Tambet Ingo <tambet@gmail.com>
4454 * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4456 * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4458 2008-03-18 Dan Williams <dcbw@redhat.com>
4460 * src/vpn-manager/nm-vpn-connection.c
4461 - (get_secrets_cb): handle new GetSecrets return format
4463 2008-03-18 Dan Williams <dcbw@redhat.com>
4465 Adapt system settings service for split 802.1x.
4467 * system-settings/src/nm-system-config-interface.h
4468 - clarify return value of get_secrets()
4470 * system-settings/src/dbus-settings.c
4471 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4472 - (check_for_secrets): check if there actually secrets returned by a
4474 - (exported_connection_get_secrets): just return the plugin-returned
4475 hash of settings' secrets if it looks valid
4477 * system-settings/plugins/ifcfg-fedora/plugin.c
4478 - (get_secrets): add split secrets with correct format to reply hash
4480 * system-settings/plugins/ifcfg-fedora/parser.c
4481 system-settings/plugins/ifcfg-fedora/parser.h
4482 - (copy_one_cdata_secret, connection_data_copy_secrets,
4483 connection_data_free, connection_data_add): keep secrets for
4484 different settings in different hashes
4486 2008-03-17 Tambet Ingo <tambet@gmail.com>
4488 Clean up activating device deactivation.
4490 * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4491 should be done whether the device activation gets cancelled or the device
4492 is just getting deactivated.
4493 (nm_device_activation_cancel): Remove.
4494 (nm_device_deactivate_quickly): Handle the case where device is activating.
4496 * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4497 It does the exact same thing as real_deactivate_quickly().
4499 2008-03-17 Dan Williams <dcbw@redhat.com>
4501 Split the 802.1x bits out of the wireless-security setting so they are
4502 generalized enough for wired 802.1x to use too.
4504 * introspection/nm-exported-connection.xml
4505 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4506 of just a hash of the secrets for one setting
4508 * libnm-util/nm-setting-wireless-security.c
4509 libnm-util/nm-setting-wireless-security.h
4510 - Remove 802.1x-specific stuff
4511 - Added leap-username and leap-password properties for old-school LEAP
4515 - (connection_secrets_updated_cb): take a list of updated settings names,
4518 * src/supplicant-manager/nm-supplicant-config.c
4519 src/supplicant-manager/nm-supplicant-config.h
4520 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4521 specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4522 to nm_supplicant_config_add_setting_8021x()
4523 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4524 the supplicant config
4526 * src/nm-device-802-11-wireless.c
4527 - (build_supplicant_config): pass in the 802.1x setting too, if any
4528 - (real_connection_secrets_updated): take a list of updated settings
4531 * src/nm-device-802-3-ethernet.c
4532 src/nm-cdma-device.c
4534 - (real_connection_secrets_updated_cb): take a list of updated settings
4537 * src/nm-activation-request.c
4538 src/nm-activation-request.h
4539 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4540 now passes a list of updated settings names, not just one
4541 - (update_one_setting): new function; handle one updated setting
4542 - (get_secrets_cb): handle multiple settings returned from the
4543 settings service; have to be careful of ordering here as there are
4544 some dependencies between settings (ex. wireless-security and 802.1x
4547 * src/marshallers/nm-marshal.list
4548 - new marshaller for connection-secrets-updated signal
4550 * libnm-util/nm-setting-8021x.c
4551 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4553 - (verify): a valid 'eap' property is now required
4555 * libnm-util/nm-connection.c
4556 - (register_default_settings): add priorities to settings; there are
4557 some dependencies between settings, and during the need_secrets
4558 calls this priority needs to be respected. For example, only the
4559 wireless-security setting knows whether or not the connection is
4560 going to use 802.1x or now, so it must be asked for secrets before
4561 any existing 802.1x setting is
4562 - (nm_connection_lookup_setting_type): expose
4564 * libnm-util/nm-setting-wireless.c
4565 - (verify): should verify even if all_settings is NULL; otherwise won't
4566 catch the case where there is missing security
4568 * libnm-util/nm-setting-wireless-security.c
4569 - Remove everything to do with 802.1x
4570 - Add old-school LEAP specific properties for username and password
4571 - (need_secrets): rework LEAP secrets checking
4572 - (verify): rework for LEAP and 802.1x verification
4574 2008-03-17 Dan Williams <dcbw@redhat.com>
4576 * src/NetworkManagerPolicy.c
4577 - (auto_activate_device): always remove the current activation check
4578 from the pending activation list, otherwise when the policy gets
4579 destroyed on NM exit it will attempt to free the already freed
4582 2008-03-14 Tambet Ingo <tambet@gmail.com>
4584 * src/backends/NetworkManagerSlackware.c
4585 (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4587 * src/backends/NetworkManagerSuSE.c: Add missing includes.
4589 2008-03-14 Dan Williams <dcbw@redhat.com>
4592 - (nm_device_interface_get_iface): g_object_get() will return an
4593 allocated value, so this function must not return const
4594 - (nm_device_interface_activate): free returned iface
4596 2008-03-14 Tambet Ingo <tambet@gmail.com>
4598 * libnm-util/Makefile.am: Add new files to build.
4600 * libnm-util/nm-connection.c: Register NMSetting8021x.
4602 * libnm-util/nm-setting-8021x.c
4603 * libnm-util/nm-setting-8021x.h: Implement.
4605 2008-03-14 Tambet Ingo <tambet@gmail.com>
4607 * libnm-util/Makefile.am: Add new files to build.
4609 * libnm-util/nm-connection.c: Register NMSetting8021x.
4611 * libnm-util/nm-setting-8021x.c
4612 * libnm-util/nm-setting-8021x.h: Implement.
4614 2008-03-14 Tambet Ingo <tambet@gmail.com>
4616 * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4619 2008-03-14 Dan Williams <dcbw@redhat.com>
4621 * include/wireless-helper.h
4623 - One place for all the junk needed for #including wireless.h
4626 src/NetworkManagerAP.c
4629 libnm-util/nm-utils.c
4630 libnm-util/nm-setting-wireless.c
4631 libnm-glib/nm-device-802-11-wireless.c
4632 libnm-glib/nm-access-point.c
4633 libnm-glib/libnm-glib-test.c
4634 - include wireless-helper.h, not iwlib.h
4637 - Don't need libiw really, just need to check for wireless.h
4639 * src/kernel-types.h
4640 - Remove; used types moved into wpa.c
4642 * src/nm-device-802-11-wireless.c
4643 - (nm_device_802_11_wireless_update_signal_strength,
4644 real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4645 nm_device_802_11_wireless_set_mode,
4646 nm_device_802_11_wireless_get_frequency,
4647 nm_device_802_11_wireless_get_ssid,
4648 nm_device_802_11_wireless_set_ssid,
4649 nm_device_802_11_wireless_get_bitrate,
4650 nm_device_802_11_wireless_get_bssid,
4651 nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4652 instead of iwlib functions
4654 2008-03-14 Dan Williams <dcbw@redhat.com>
4656 * src/ppp-manager/nm-ppp-manager.c
4657 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4658 should only take the DBusGMethodInvocation argument, not user/pass
4659 too. With dbus-glib, async functions only take 2 C arguments since
4660 the real dbus method arguments get passed back with
4661 dbus_g_method_return()
4663 2008-03-13 Tambet Ingo <tambet@gmail.com>
4665 * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes):
4666 Adapt the changes of NMSettingIP4Config.
4668 2008-03-13 Dan Williams <dcbw@redhat.com>
4670 * src/NetworkManagerUtils.c
4671 src/NetworkManagerUtils.h
4672 - (nm_ether_ntop): replacement for iw_ether_ntop()
4674 * src/NetworkManagerAP.c
4675 src/nm-device-802-11-wireless.c
4676 src/nm-device-802-3-ethernet.c
4677 - s/iw_ether_ntop/nm_ether_ntop/g
4679 2008-03-13 Dan Williams <dcbw@redhat.com>
4681 * src/NetworkManagerPolicy.c
4682 - (update_routing_and_dns): never set the default route through an
4683 IPv4LL addressed device
4685 2008-03-13 Dan Williams <dcbw@redhat.com>
4687 * NetworkManagerUtils.c
4688 NetworkManagerUtils.h
4689 - Remove NMSock stuff
4690 - Remove the completion stuff
4695 NetworkManagerSystem.c
4697 nm-device-802-11-wireless.c
4698 nm-device-802-3-ethernet.c
4699 - Remove NMSock and completion stuff
4700 - Remove nm_ioctl_info()
4702 2008-03-12 Dan Williams <dcbw@redhat.com>
4705 - (merge_ip4_config): avoid duplicates
4707 2008-03-12 Dan Williams <dcbw@redhat.com>
4709 * libnm-util/nm-setting-ip4-config.c
4710 libnm-util/nm-setting-ip4-config.h
4711 - Remove 'manual' and 'autoip' properties
4712 - Add 'method' property
4713 - (verify): fix verification with 'method'
4714 - (finalize): free 'method'
4715 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4719 - (real_act_stage3_ip_config_start): check IP4Config method
4720 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4722 - (merge_ip4_config): IP settings are valid with DHCP too
4723 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4724 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4726 * src/nm-device-802-11-wireless.c
4727 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4728 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4731 * system-settings/plugins/ifcfg-fedora/parser.c
4732 system-settings/plugins/ifcfg-suse/parser.c
4733 - (make_ip4_setting): fix up for 'method'
4735 2008-03-12 Dan Williams <dcbw@redhat.com>
4737 * system-settings/plugins/ifcfg-fedora/parser.c
4738 system-settings/plugins/ifcfg-fedora/parser.h
4739 - (get_ifcfg_name): ignore more file suffixes
4740 - (is_wireless_device): fix check for ifcfgs that have no TYPE
4742 2008-03-12 Dan Williams <dcbw@redhat.com>
4745 - Bring in the bits of gnome-common we actually use (all 15 lines)
4747 2008-03-12 Dan Williams <dcbw@redhat.com>
4749 * system-settings/plugins/ifcfg-fedora/plugin.c
4750 - (write_auto_wired_connection): new function; write out an auto
4751 wired connection file since the applet isn't doing it any more
4752 - (reload_all_connections): write out the auto wired connection file
4753 if there aren't any wired connections already
4754 - (init): don't leak a GError
4756 2008-03-12 Dan Williams <dcbw@redhat.com>
4758 * src/nm-device-interface.c
4759 - (nm_device_interface_activate): print the ID of the connection
4760 that's about to be activated
4762 2008-03-12 Dan Williams <dcbw@redhat.com>
4764 Harmonize the 802.11 bitrate API
4766 * introspection/nm-access-point.xml
4767 - 'Rate' -> 'MaxBitrate'; clarify units
4769 * introspection/nm-device-802-11-wireless.xml
4770 - Clarify units of 'Bitrate'
4772 * src/NetworkManagerAP.c
4773 src/NetworkManagerAP.h
4774 - (set_property, get_property, nm_ap_class_init): rename 'rate'
4775 property to 'max-bitrate'
4776 - (foreach_property_cb): convert rate to Kb/s
4778 * src/nm-device-802-11-wireless.c
4779 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
4781 * libnm-glib/nm-access-point.c
4782 libnm-glib/nm-access-point.h
4783 - 'rate' -> 'max-bitrate'
4786 libnm-glib/libnm-glib-test.c
4787 - Fix up for these changes
4789 2008-03-12 Dan Williams <dcbw@redhat.com>
4792 - (nm_device_set_ip4_config): don't send property notifications when
4793 the ip4 config is set to NULL; it causes a PropertyChanged signal
4794 which dbus-glib can't parse because the value is NULL, which isn't
4795 a legal object path. Setting the IP4 config to NULL is only
4796 valid when deactivating a device anyway, so the device state change
4797 will alert listeners that the ip4 config is invalid.
4799 2008-03-12 Dan Williams <dcbw@redhat.com>
4801 * src/nm-properties-changed-signal.c
4802 - (add_to_string): better handling of NULL objects
4804 2008-03-12 Dan Williams <dcbw@redhat.com>
4806 Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
4807 convert the libnm-glib NMDevice8023Ethernet to cached properties
4809 * introspection/nm-device-802-3-ethernet.xml
4810 - New 'Carrier' property
4811 - New 'PropertiesChanged' signal
4813 * introspection/nm-device.xml
4814 - Remove 'Carrier' property
4815 - Remove 'CarrierChanged' signal
4817 * src/nm-device-interface.c
4818 src/nm-device-interface.h
4819 - (nm_device_interface_init): remove 'carrier' property and
4820 'carrier-changed' signal
4824 - (nm_device_get_carrier, nm_device_set_carrier): remove
4825 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
4826 the link here; wired device will handle that
4827 - (handle_dhcp_lease_change): don't bother updating link here
4828 - (get_property, nm_device_class_init): remove carrier property
4830 * src/nm-device-802-11-wireless.c
4831 - (real_update_link, nm_device_802_11_wireless_class_init): remove
4832 real_update_link(); wireless devices don't use carrier at all
4833 - (link_timeout_cb, supplicant_iface_state_cb_handler,
4834 supplicant_iface_connection_state_cb_handler,
4835 supplicant_mgr_state_cb_handler): remove anything to do with carrier
4837 * src/nm-device-802-3-ethernet.c
4838 src/nm-device-802-3-ethernet.h
4839 - (nm_device_802_3_ethernet_carrier_on,
4840 nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
4841 instead of nm_device_set_carrier()
4842 - (device_state_changed): update link from sysfs on activation;
4843 replaces real_update_link()
4844 - (real_update_link): remove, replaced by device_state_changed()
4845 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
4846 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
4847 - (real_get_generic_capabilities, real_can_interrupt_activation): use
4848 new get_carrier function
4849 - (get_property): add 'carrier' property
4850 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
4851 hook into property-changed signal helper
4853 * src/NetworkManagerPolicy.c
4854 - (device_carrier_changed): will only ever be called with a wired device
4855 - (device_added): only hook up to carrier-changed for wired devices
4857 * libnm-glib/nm-device.c
4858 libnm-glib/nm-device.h
4859 - (constructor, nm_device_class_init): remove carrier-changed signal
4860 - (device_carrier_changed_proxy): remove; unused
4861 - (nm_device_get_carrier): remove; carrier a property of wired devices
4863 * libnm-glib/nm-device-802-3-ethernet.c
4864 libnm-glib/nm-device-802-3-ethernet.h
4865 - Convert to cached properties like AP and Wireless objects
4866 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
4867 instead of a 'char *', return value should not be freed
4868 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
4869 - (constructor): hook into properties-changed helper
4870 - (set_property, get_property): new functions
4871 - (nm_device_802_3_ethernet_class_init): export GObject properties
4874 - (detail_device): strdup the wired hardware address too since it's
4877 * libnm-glib/libnm-glib-test.c
4878 - (dump_wired): strdup the wired hardware address too since it's
4881 2008-03-12 Dan Williams <dcbw@redhat.com>
4883 * libnm-util/nm-setting-ip4-config.c
4884 libnm-util/nm-setting-ip4-config.h
4885 - (set_property, get_property, nm_setting_ip4_config_class_init): add
4886 the 'autoip' property from the spec
4888 2008-03-11 Dan Williams <dcbw@redhat.com>
4890 * src/backends/NetworkManagerGeneric.c
4891 src/backends/NetworkManagerGeneric.h
4892 - (nm_generic_device_get_use_dhcp): remove
4894 2008-03-11 Dan Williams <dcbw@redhat.com>
4897 - (nm_device_deactivate): don't need to munge DNS here; that gets done
4898 already in nm_device_set_ip4_config()
4899 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
4900 due to a DHCP rebind fails
4901 - (nm_device_set_ip4_config): send property notifications when the
4903 - (get_property): only report IP4Config property during valid states
4905 * src/NetworkManagerPolicy.c
4906 - (update_routing_and_dns): ignore devices that don't have an ip4
4907 config; add parameter 'force_update' to allow callers to specify
4908 that changes should be made even if the default device doesn't change
4909 - (device_ip4_config_changed): update DNS and routing when the device's
4910 IP4Config changes, like for DHCP updates
4911 - (device_added): listen for ip4-config property changes
4913 2008-03-11 Dan Williams <dcbw@redhat.com>
4915 Fix address handling as a result of DHCP rebind/renew/reboot.
4917 * src/NetworkManagerSystem.c
4918 - (check_one_address): delete an address if it doesn't match a given
4919 one for the same interface
4920 - (nm_system_device_set_from_ip4_config): don't flush the default route,
4921 be smarter about flushing addresses (only flush ones that don't
4922 match the one we're about to apply)
4924 * src/backends/NetworkManagerDebian.c
4925 src/backends/NetworkManagerSuSE.c
4926 src/backends/NetworkManagerArch.c
4927 src/backends/NetworkManagerSlackware.c
4928 src/backends/NetworkManagerRedHat.c
4929 src/backends/NetworkManagerPaldo.c
4930 src/backends/NetworkManagerFrugalware.c
4931 src/backends/NetworkManagerGentoo.c
4932 - (nm_system_delete_default_route): remove
4934 * src/backends/NetworkManagerGeneric.c
4935 src/backends/NetworkManagerGeneric.h
4936 - (nm_generic_enable_loopback): fix the loopback device label
4937 - (nm_generic_delete_default_route): remove; no longer used
4939 2008-03-11 Dan Williams <dcbw@redhat.com>
4941 * src/nm-device-interface.h
4942 - Delimit property name words with '-', otherwise g_object_notify()
4943 doesn't work the way we expect
4945 2008-03-11 Tambet Ingo <tambet@gmail.com>
4947 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
4949 2008-03-11 Dan Williams <dcbw@redhat.com>
4951 * src/NetworkManagerPolicy.c
4952 - (update_routing_and_dns): don't change anything if the default device
4953 hasn't changed; print something out when switching the default route
4956 2008-03-10 Tambet Ingo <tambet@gmail.com>
4960 * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
4961 setting. Use "nic-$eth".
4963 * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
4964 the device is activating here to fix a race condition.
4966 * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
4968 * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
4969 (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
4970 (nm_ppp_manager_start): Take activation request instead of connection, we might
4971 need it for asking secrets.
4972 (nm_ppp_manager_update_secrets): Implement.
4974 * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
4975 ppp manager start. It might be needed for asking secrets.
4977 * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
4978 (ppp_state_changed): Handle pppd daemon disappearing.
4979 (pppoe_stage2_config): Send activation request to ppp manager start.
4981 * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
4983 * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
4984 username and password.
4986 2008-03-10 Dan Williams <dcbw@redhat.com>
4989 - (handle_dhcp_lease_change): apply an IP4 config to a device in
4990 response to a DHCP lease change
4991 - (dhcp_state_changed): handle DHCP lease changes while activated
4992 - (nm_device_set_ip4_config): remove a previously set named config
4993 when setting an ip4 config
4995 2008-03-10 Dan Williams <dcbw@redhat.com>
4997 * src/nm-serial-device.c
4998 - (nm_serial_device_send_command): report errno on error
4999 - (get_reply_got_data): limit the size of the overall buffer
5000 - (wait_for_reply_info_destroy): destroy result string
5001 - (wait_for_reply_got_data): append received data to an overall buffer
5002 until timeout, filled buffer, or error instead of keeping a per-call
5003 buffer. Some devices send data slowly enough that this function
5004 gets called multiple times for the same command stream.
5005 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5006 wait_for_reply_got_data() here
5008 2008-03-10 Dan Williams <dcbw@redhat.com>
5010 * src/nm-cdma-device.c
5011 - (do_dial, init_modem): handle errors from
5012 nm_serial_device_send_command_string()
5014 * src/nm-gsm-device.c
5015 - (do_dial, manual_registration, automatic_registration_get_network,
5016 automatic_registration, enter_pin, check_pin, init_modem): handle
5017 errors from nm_serial_device_send_command_string()
5019 2008-03-10 Dan Williams <dcbw@redhat.com>
5021 Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5023 * src/named-manager/nm-named-manager.c
5024 - (compute_searches): prefer searches before domains
5025 - (compute_domain): new function
5026 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5027 - (merge_one_ip4_config): if there are no searches in the source config,
5028 merge domains of the source config into the target config
5029 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5031 2008-03-10 Dan Williams <dcbw@redhat.com>
5033 * src/nm-serial-device.c
5034 - (get_reply_got_data): clean up indentation, shrink serial buffer
5035 - (wait_for_reply_got_data): try to handle slower serial devices where
5036 the reply is broken up into multiple reads by concatenating replies
5037 together until either an error is received or the search string is
5040 2008-03-10 Dan Williams <dcbw@redhat.com>
5043 - (nm_device_bring_down): deactivate the device if it's activating too,
5044 not just if it's already activated. This makes sure that everything
5045 from an association attempt is cleaned up (like DHCP for example)
5047 2008-03-10 Dan Williams <dcbw@redhat.com>
5049 * src/nm-serial-device.c
5050 - (config_fd): report error from TCSETA
5051 - (nm_serial_device_open): fail when config_fd() fails
5053 2008-03-10 Dan Williams <dcbw@redhat.com>
5055 * src/nm-ip4-config.c
5056 - (nm_ip4_config_init): allocate searches list
5057 - (finalize): free searches list
5059 2008-03-09 Dan Williams <dcbw@redhat.com>
5061 Patch from Bas Zoetekouw <bas@debian.org>
5063 * src/dhcp-manager/nm-dhcp-manager.c
5064 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5066 2008-03-09 Dan Williams <dcbw@redhat.com>
5068 Patch from Bas Zoetekouw <bas@debian.org>
5070 * src/nm-ip4-config.c
5072 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5073 nm_ip4_config_get_num_searches): add 'searches' as distinct from
5074 domains. 'searches' is the correct way to store multiple search
5075 domains, whereas 'domains' is really just supposed to store one
5076 domain. Some sites abuse the DHCP 'domain-name' option to push
5077 search domains to the client.
5078 - (nm_ip4_config_add_domain): group with related functions (my patch)
5080 2008-03-09 Dan Williams <dcbw@redhat.com>
5082 * src/dhcp-manager/nm-dhcp-manager.c
5083 - (dhclient_run): send interface-specific config files to dhclient
5085 2008-03-07 Dan Williams <dcbw@redhat.com>
5087 * system-settings/plugins/ifcfg-fedora/parser.c
5088 - (is_wireless_device): new function; test a device for wireless
5090 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5091 test the device for wireless extensions to determine the type
5093 2008-03-07 Dan Williams <dcbw@redhat.com>
5095 Change manager's StateChange signal to StateChanged for consistency.
5097 * introspection/nm-manager.xml
5098 - Add 'StateChanged' signal
5099 - Move 'StateChange' down to the deprecated section
5101 * src/nm-hal-manager.c
5102 - (nm_hal_manager_new): connect to 'state-changed' instead
5104 * src/NetworkManagerPolicy.c
5105 - (nm_policy_new): connect to 'state-changed' instead
5109 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5110 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5113 * libnm-glib/nm-client.c
5114 libnm-glib/nm-client.h
5115 - (constructor, nm_client_class_init, client_state_changed_proxy):
5116 track and proxy 'state-changed' instead of 'state-change'
5118 2008-03-07 Dan Williams <dcbw@redhat.com>
5120 First pass of multiple active device support. Expect bugs.
5122 * src/nm-ip4-config.c
5124 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5125 there are better ways to do this in the named manager
5129 - (nm_device_can_activate): return whether the device can activate a
5130 connection right now; taking into account things like carrier state
5132 - (nm_device_get_best_auto_connection): renamed from
5133 nm_device_get_best_connection
5134 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5135 device subclasses themselves, so that each device can override the
5136 MTU from it's NMSetting subclass if needed
5137 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5138 in NetworkManagerSystem.c, not here
5140 * src/named-manager/nm-named-manager.c
5141 src/named-manager/nm-named-manager.h
5142 - (nm_named_manager_name_owner_changed,
5143 nm_named_manager_dbus_connection_changed): fix for changes to
5144 rewrite_resolv_conf()
5145 - (compute_nameservers): don't need the NMNamedManager at all, remove
5147 - (merge_one_ip4_config): new function; merge ip4 configs together
5148 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5149 ip4 configs; the VPN config takes precedence, then the best
5150 device config, then the rest of the configs
5151 - (get_domain_for_config): take the NMNamedManager as an argument
5152 to check whether the config is the VPN config
5153 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5154 attribute from ip4 configs
5155 - (add_all_ip4_configs_to_named): add all the configs in priority order
5156 - (remove_ip4_config_from_named): fix for changes to
5157 get_domain_for_config()
5158 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5159 based on its type; callers must pass in the type now
5160 - (get_last_default_domain): remove, unused
5161 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5163 * src/nm-device-802-11-wireless.c
5164 - (real_can_activate): new function
5165 - (real_get_best_auto_connection): renamed from real_get_best_connection
5166 - (real_act_stage4_get_ip4_config): handle MTU override
5168 * src/nm-device-802-3-ethernet.c
5169 - (real_can_activate): new function
5170 - (real_get_best_auto_connection): renamed from real_get_best_connection
5171 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5173 * src/vpn-manager/nm-vpn-connection.c
5174 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5175 attribute on the ip4 config
5177 * src/NetworkManagerPolicy.c
5178 - (nm_policy_auto_get_best_device): remove
5179 - (nm_policy_device_change_check): remove
5180 - (update_default_route): new function; set the default route via
5181 the specified device
5182 - (get_device_priority): new function; return the priority number of
5183 a device type WRT which one should have the default route. Order is
5184 (highest to lowest) wired, wireless, GSM, CDMA.
5185 - (update_routing_and_dns): new function; determine which device should
5186 have the default route, then update the routing table and DNS
5187 - (maybe_auto_activate_device): new function; if a device is now
5188 available for activation, find out what connection it would like to
5190 - (schedule_activate_check): new function; if a device can be activated
5191 now, schedule the activation. Each device may have only one
5192 pending activation at a given time.
5193 - (device_state_changed): if activation was canceled, try again,
5194 possibly with another connection; if the device was activated,
5195 update routing and DNS; if the device was deactivated, try again
5196 with another connection
5197 - (device_carrier_changed): if there is no carrier, deactivate the
5198 device; otherwise schedule an activation check for the device
5199 - (wireless_networks_changed): schedule an activation check for the
5201 - (device_added): keep track of the signal handler IDs so they can
5202 be removed when the device goes away
5203 - (device_removed): remove any signal handlers that might be attached
5204 to the device; update routing and DNS
5205 - (schedule_activate_all): new function
5206 - (connections_added, connection_added, connection_updated): when
5207 connections change, schedule all devices for an activation check
5208 - (connection_removed): when a device is deactivated because its
5209 connection was removed, schedule another activation check for it
5210 - (nm_policy_destroy): destroy pending activations and disconnect
5211 all device signal handlers
5214 - (nm_manager_activate_device): if the device was already actived,
5216 - (deactivate_old_device): remove
5217 - (connection_added_default_handler, impl_manager_activate_device):
5218 don't deactivate other devices when activating this one
5220 * src/backends/NetworkManagerGentoo.c
5221 src/backends/NetworkManagerFrugalware.c
5222 src/backends/NetworkManagerPaldo.c
5223 src/backends/NetworkManagerRedHat.c
5224 src/backends/NetworkManagerSlackware.c
5225 src/backends/NetworkManagerArch.c
5226 src/backends/NetworkManagerSuSE.c
5227 src/backends/NetworkManagerDebian.c
5228 - (nm_system_get_mtu): remove; MTU should be provided through the
5229 distro's system settings service plugin instead
5230 - (nm_system_device_add_default_route_via_device): remove
5231 - (nm_system_device_add_default_route_via_device_with_iface): remove
5232 - (nm_system_device_replace_default_route): new function; call
5233 generic implementation
5235 * src/backends/NetworkManagerGeneric.c
5236 src/backends/NetworkManagerGeneric.h
5237 - (nm_generic_device_add_default_route_via_device,
5238 nm_generic_device_add_default_route_via_device_with_iface): remove
5239 - (nm_generic_device_replace_default_route): replace the default route
5240 with the given route via some gateway
5242 * src/NetworkManagerSystem.c
5243 src/NetworkManagerSystem.h
5244 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5245 to routing and DNS; but set the MTU here
5246 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5247 ip_iface of the active device; use the standard MTU setting function
5248 - (nm_system_set_mtu): remove
5249 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5251 2008-03-07 Tambet Ingo <tambet@gmail.com>
5253 Rework the interaction between ppp manager and pppd plugin. Register a well
5254 known DBUS service in manager and let the plugin call it's methods instead
5255 of listening plugin's signals.
5257 * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5258 of emitting signals.
5260 * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5262 * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5264 * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5265 nm_ppp_manager_start().
5267 * introspection/nm-ppp-manager.xml: New file.
5269 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5270 the case correctly where driver is trying to send -1 for the speed, which gets
5271 casted to u16 and thus is always > 0.
5273 2008-03-07 Dan Williams <dcbw@redhat.com>
5275 * src/nm-hal-manager.c
5276 - (nm_get_device_driver_name): use net.originating_device first, fall
5277 back to physical device. HAL has deprecated physical_device.
5279 * libnm-glib/nm-device.c
5280 - (get_product_and_vendor): use net.originating_device first, fall
5281 back to physical device. HAL has deprecated physical_device.
5282 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5284 2008-03-07 Dan Williams <dcbw@redhat.com>
5287 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5288 last commit; fix that
5289 - (get_link_cache): print error string
5291 2008-03-07 Dan Williams <dcbw@redhat.com>
5294 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5295 don't need this hack any more (Benoit Boissinot)
5297 2008-03-06 Dan Williams <dcbw@redhat.com>
5300 - Die gnome-common, die
5302 2008-03-04 Dan Williams <dcbw@redhat.com>
5304 Patch from Michael Biebl <biebl@debian.org>
5306 * NetworkManager.pc.in
5307 - doesn't actually depend on dbus-1
5309 * libnm-util/nm-utils.h
5310 - remove unused #include <dbus/dbus.h>
5312 * libnm-glib/libnm_glib.pc.in
5313 - depends on glib and dbus-glib
5315 2008-03-02 Dan Williams <dcbw@redhat.com>
5317 * src/NetworkManagerPolicy.c
5318 - s/device_state_changed_idle_id/update_state_id/
5320 2008-03-02 Dan Williams <dcbw@redhat.com>
5324 src/nm-device-802-11-wireless.c
5325 src/nm-device-802-3-ethernet.c
5326 src/NetworkManagerPolicy.c
5327 - s/link_active/carrier
5328 - nm_device_set_active_link() -> nm_device_set_carrier()
5329 - nm_device_has_active_link() -> nm_device_get_carrier()
5331 2008-03-02 Dan Williams <dcbw@redhat.com>
5333 * system-settings/plugins/ifcfg-fedora/parser.c
5334 - (make_wireless_setting): fail connection creation on missing SSID
5336 2008-02-29 Dan Williams <dcbw@redhat.com>
5338 * src/NetworkManagerPolicy.c
5339 - (nm_policy_device_change_check): ensure that a previously active
5340 device with a system connection has a link before denying a switch
5341 to a user connection
5343 2008-02-29 Dan Williams <dcbw@redhat.com>
5345 * src/nm-device-802-11-wireless.c
5346 - (link_timeout_cb): try again if scanning; deactivate the device when
5347 activated if the link dies
5348 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5351 2008-02-29 Dan Williams <dcbw@redhat.com>
5353 * src/nm-device-802-11-wireless.c
5354 src/nm-device-802-11-wireless.h
5355 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5356 elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5357 - (device_cleanup): reset the scan interval lower when the device
5359 - (can_scan): base decision mostly off device state, not supplicant
5360 interface state since the supplicant interface state isn't a
5361 great indicator of whether the device is active or not
5362 - (request_wireless_scan): clean up; schedule the next scan here
5363 - (schedule_scan): only back the scan interval off if a new scan
5364 actually gets scheduled; and make scan intervals tighter when the
5365 device is disconnected
5366 - (supplicant_iface_state_cb_handler): fold in the bits of
5367 nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5369 - (activation_success_handler): reset scan interval to something
5372 2008-02-28 Saleem Abdulrasool <compnerd@compnerd.org>
5374 reviewed by: Steev <steev@steev.net>
5377 * src/backends/NetworkManagerGentoo.c:
5378 (nm_system_restart_mdns_responder):
5379 Howl is no longer a supported mDNS provider
5381 2008-02-28 Tambet Ingo <tambet@gmail.com>
5383 Get rid of a bunch of unused distro specific functions.
5385 2008-02-28 Tambet Ingo <tambet@gmail.com>
5387 Implement suse plugin for system settings daemon.
5389 * system-settings/plugins/ifcfg-suse/*: Implement.
5391 * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5394 * configure.in: Check (without failing) for gio.
5395 Create ifcfg-suse plugin's Makefile.
5397 2008-02-20 Dan Williams <dcbw@redhat.com>
5399 * libnm-util/nm-connection.c
5400 libnm-util/nm-connection.h
5401 - (nm_connection_compare): accept compare flags and pass them to the
5402 setting compare function
5404 * libnm-util/nm-setting.c
5405 libnm-util/nm-setting.h
5406 - (nm_setting_compare): accept compare flags; ignore properties that are
5409 * libnm-util/nm-setting-connection.c
5410 libnm-util/nm-setting-wireless.c
5411 libnm-util/nm-setting-ppp.c
5412 libnm-util/nm-setting-wired.c
5413 - Mark some setting properties as ignorable when doing a fuzzy compare
5416 - (device_activation_precheck): use exact compare
5418 2008-02-20 Dan Williams <dcbw@redhat.com>
5420 * src/NetworkManagerPolicy.c
5421 - (nm_policy_device_change_check): get scope off the connection, not
5422 using the manager helper
5426 - (get_scope_for_proxy): rename from get_type_for_proxy()
5427 - (connection_get_settings_cb): set scope and path on connection, not
5428 using GObject data items
5429 - (get_connection_for_proxy): don't need to return path, since that
5430 can be gotten from the connection
5431 - (get_connection_for_proxy): get path off the connection, not from
5433 - (connection_removed_cb, connection_updated_cb): don't need to get
5434 path from get_connection_for_proxy(); get scope off the connection
5435 instead of using GObject data items
5436 - (connection_added_default_handler, add_one_connection_element): use
5437 nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5438 - (nm_manager_get_connection_dbus_path): remove
5439 - (nm_manager_get_connection_scope): remove
5441 2008-02-20 Dan Williams <dcbw@redhat.com>
5443 * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5446 * Add 'path' and 'scope' properties to NMConnection since both NM and the
5447 applet were having to hack this in anyway. Remove the 'path' stuff from
5448 NMExportedConnection
5450 * Internally rename NMConnectionType -> NMConnectionScope
5452 * Provide default implementations of the 'get_id' and 'get_settings' methods
5453 of NMExportedConnection
5455 2008-02-15 Dan Williams <dcbw@redhat.com>
5457 * src/nm-device-802-11-wireless.c
5458 - (device_cleanup): release the AP list here too so that the AP list
5459 doesn't survive across suspend/resume and up/down. There is some
5460 room for optimization, for example blow the list away when the card
5461 brought back up, but only if the device has only been down for a
5464 2008-02-15 Dan Williams <dcbw@redhat.com>
5466 * src/nm-hal-manager.c
5467 - (modem_device_creator): recognize new HAL modem capabilities
5469 2008-02-12 Dan Williams <dcbw@redhat.com>
5471 * system-settings/plugins/ifcfg-fedora/plugin.c
5472 - (watch_path): handle IN_DELETE_SELF too
5473 - (handle_connection_changed): notify when removing a connection
5474 - (stuff_changed): don't warn on unknown inotify watches; handle the
5475 case of a file moving out of the profile directory
5477 2008-02-12 Dan Williams <dcbw@redhat.com>
5479 * system-settings/plugins/ifcfg-fedora/parser.c
5480 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5482 2008-02-12 Dan Williams <dcbw@redhat.com>
5484 * libnm-util/nm-utils.c
5485 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5486 just any empty array
5488 2008-02-12 Dan Williams <dcbw@redhat.com>
5490 * system-settings/src/nm-system-config-interface.c
5491 system-settings/src/nm-system-config-interface.h
5492 - (load_connections): get_connections() should now return an allocated
5493 GSList that the system settings service will free
5495 * system-settings/plugins/ifcfg-fedora/plugin.c
5496 system-settings/plugins/ifcfg-fedora/parser.h
5497 system-settings/plugins/ifcfg-fedora/parser.c
5498 - Fix up inotify issues; handle keys-* files, handle new files appearing
5499 in the profile directory, handle resolv.conf file changes
5501 2008-02-10 Dan Williams <dcbw@redhat.com>
5503 * src/nm-device-802-3-ethernet.c
5504 - (real_bring_up): save the supplicant interface state signal id
5505 - (real_bring_down): disconnect from the supplicant interface state
5508 2008-02-07 Dan Williams <dcbw@redhat.com>
5510 * initscript/RedHat/NetworkManager.in
5511 initscript/RedHat/NetworkManagerDispatcher.in
5512 - Add new-style LSB init headers
5514 2008-02-07 Dan Williams <dcbw@redhat.com>
5516 * system-settings/src/dbus-settings.c
5517 system-settings/src/dbus-settings.h
5518 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5520 - (connection_settings_get_secrets): consolidate error returns into
5521 one place; use the new get_secrets() plugin interface function to
5522 get secrets from the plugin itself rather than using GObject data
5525 * system-settings/src/main.c
5526 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5527 load_connections): keep a private list of the plugin-returned
5528 connections, don't use the plugin's GSList
5530 * system-settings/plugins/ifcfg-fedora/plugin.c
5531 - (watch_path): watch the path, not the filename (duh)
5532 - (reload_all_connections): use the direct hash/equal functions; the
5533 ones for int aren't appropriate here
5534 - (get_secrets, system_config_interface_init): implement the
5535 get_secrets() function
5536 - (build_one_connection, find_connection_by_path): ifcfg file path is
5537 now in the connection's ConnectionData instead of being a GObject
5539 - (handle_profile_item_changed): ifcfg file path is now in the
5540 connection's ConnectionData instead of being a GObject data property;
5541 be sure to copy secrets over from the new connection to the existing
5542 connection when updating the connection's settings
5543 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5546 * system-settings/plugins/ifcfg-fedora/parser.c
5547 system-settings/plugins/ifcfg-fedora/parser.h
5548 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5549 connection_data_copy_secrets, connection_data_free,
5550 connection_data_add): new functions; connection data manipulation
5551 - (make_wireless_security_setting): stuff secrets into the
5552 connection data, not as GObject data items; make sure to close
5554 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5555 connection data to the connection
5557 2008-02-07 Dan Williams <dcbw@redhat.com>
5559 * system-settings/src/nm-system-config-interface.c
5560 system-settings/src/nm-system-config-interface.h
5561 - Add a get_secrets() interface function to retrieve secrets for a
5562 specific setting of a specific connection. Document the interface
5565 2008-02-07 Dan Williams <dcbw@redhat.com>
5567 * src/nm-device-802-11-wireless.c
5568 - (handle_auth_or_fail): new function; consolidate device activation
5569 failure check after a certain number of failures getting secrets
5570 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5571 real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5572 the connection if secrets were requested more than a few times
5573 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5574 tries here; otherwise they are cleared before the IP configure
5575 timeout, which happens with open system WEP when key is wrong
5576 - (activation_success_handler): clear wireless secrets tries here too
5578 2008-02-07 Dan Williams <dcbw@redhat.com>
5580 * src/NetworkManagerPolicy.c
5581 - (connection_updated): clear invalid tag when connection gets updated
5582 to allow that connection to be tried again
5583 - (nm_policy_new): save signal ids so they can be disconnected when
5584 the policy is destroyed
5585 - (nm_policy_destroy): stop any in-progress state change idle handler,
5586 and disconnect all signals from the manager object so that none
5587 of the policy functions gets called after the policy is destroyed
5589 2008-02-06 Dan Williams <dcbw@redhat.com>
5592 - (finalize): remove devices a bit earlier; clean up system settings
5594 - (nm_manager_name_owner_changed): clean up system settings poke when
5595 the service appears, and try to restart it if it fails
5596 - (poke_system_settings_daemon_cb): try to get the system settings
5597 service started through D-Bus service activation
5598 - (initial_get_connections): start the system settings daemon if it's
5601 2008-02-05 Dan Williams <dcbw@redhat.com>
5603 * src/supplicant-manager/nm-supplicant-config.c
5604 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5605 broadcast networks too
5607 2008-02-04 Dan Williams <dcbw@redhat.com>
5609 * system-settings/plugins/ifcfg-fedora/parser.c
5610 - (make_wireless_security_setting): fix spelling; unencrypted networks
5611 need key_mgmt set too
5612 - (parser_parse_file): validate ifcfg file name and don't try to parse
5613 .bak files; ensure that an error is set whenever NULL gets returned
5615 2008-02-04 Dan Williams <dcbw@redhat.com>
5617 * system-settings/src/Makefile.am
5618 - Install D-Bus service activation file for the system settings
5621 * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5622 - D-Bus service activation file for system settings service
5624 2008-02-04 Dan Williams <dcbw@redhat.com>
5626 * system-settings/src/main.c
5627 - (parse_config_file): parse a config file
5628 - (main): accept --config option and read plugins from config file
5630 2008-02-04 Dan Williams <dcbw@redhat.com>
5632 * system-settings/plugins/ifcfg-fedora/plugin.c
5633 - Change reported name to 'ifcfg-fedora'
5634 - Use IFCFG_PLUGIN_NAME
5636 * system-settings/plugins/ifcfg-fedora/plugin.c
5637 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5639 2008-02-04 Dan Williams <dcbw@redhat.com>
5641 * system-settings/plugins/ifcfg-fedora/parser.c
5642 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5643 - (make_connection_setting): use get_ifcfg_name()
5644 - (make_wireless_security_setting): handle shadow key files
5645 - (get_one_wep_key): treat empty string as NULL
5647 2008-02-04 Dan Williams <dcbw@redhat.com>
5649 * src/supplicant-manager/nm-supplicant-manager.c
5650 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5651 glib automatically reschedule
5652 - (nm_supplicant_manager_init): immediately try to start the supplicant
5653 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5656 2008-02-01 Dan Williams <dcbw@redhat.com>
5658 * src/NetworkManagerPolicy.c
5659 - (device_state_changed): schedule a change check when a device gets
5660 deactivated so something happens if you disconnect GSM/CDMA
5662 2008-01-31 Dan Williams <dcbw@redhat.com>
5664 * src/nm-device-802-11-wireless.h
5665 src/nm-device-802-11-wireless.c
5666 - (ap_list_get_ap_by_ssid, is_associated,
5667 nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5668 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5669 - (nm_device_802_11_wireless_get_activation_ap): collapse
5670 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5673 2008-01-30 Dan Williams <dcbw@redhat.com>
5675 * system-settings/plugins/ifcfg
5676 * system-settings/plugins/ifcfg-fedora
5677 - Move the ifcfg plugin to ifcfg-fedora
5679 2008-01-24 Dan Williams <dcbw@redhat.com>
5681 * libnm-glib/nm-device-802-11-wireless.c
5682 - (get_access_point): move the "/" check here; check for invalid path
5684 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5685 to get_access_point()
5686 - (access_point_added_proxy, access_point_removed_proxy): don't try
5687 to send signals for non-existent access points
5689 2008-01-24 Dan Williams <dcbw@redhat.com>
5691 * libnm-glib/nm-device-802-11-wireless.c
5692 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5694 2008-01-23 Dan Williams <dcbw@redhat.com>
5696 * libnm-glib/libnm_glib.c
5697 - (libnm_glib_init): make thread joinable
5698 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5700 2008-01-23 Dan Williams <dcbw@redhat.com>
5702 * test/libnm_glib_test.c
5703 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5704 - (main): set up signal handlers; call libnm_glib_shutdown
5706 2008-01-21 Dan Williams <dcbw@redhat.com>
5708 * include/NetworkManager.h
5709 - Add CDMA mobile broadband card device type
5711 * src/nm-hal-manager.c
5712 - (modem_device_creator): handle both CDMA and GSM modems; the device
5713 must now be tagged with 'cdma' or 'gsm' capability
5715 * src/nm-cdma-device.c
5716 src/nm-cdma-device.h
5718 - Add the CDMA mobile broadband card device class
5720 * libnm-util/nm-connection.c
5721 - (register_default_settings): add NMSettingCdma
5723 * libnm-util/nm-setting-cdma.c
5724 libnm-util/nm-setting-cdma.h
5725 libnm-util/Makefile.am
5726 - Add the CDMA mobile broadband card setting class
5728 * libnm-glib/nm-cdma-device.c
5729 libnm-glib/nm-cdma-device.h
5730 libnm-glib/Makefile.am
5731 - Add the CDMA mobile broadband card GLib proxy class
5733 * libnm-glib/nm-client.c
5734 - (get_device): handle CDMA devices too
5736 2008-01-21 Dan Williams <dcbw@redhat.com>
5738 * src/ppp-manager/nm-ppp-manager.c
5739 - (ip4_config_get): set peer address too
5741 * src/ppp-manager/nm-pppd-plugin.c
5742 - (nm_ip_up): try harder to get the peer's address
5744 * src/NetworkManagerSystem.c
5745 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
5746 address, use that too. Otherwise, some PPP connections won't work.
5748 2008-01-19 Dan Williams <dcbw@redhat.com>
5750 * src/NetworkManagerPolicy.c
5751 - (nm_policy_device_change_check): system connections override user
5752 connections; don't activate a user connection if there's a currently
5753 active system connection, and new, better system connections always
5754 interrupt user connections
5756 2008-01-19 Dan Williams <dcbw@redhat.com>
5759 - (nm_manager_get_connection_type): new function
5761 2008-01-19 Dan Williams <dcbw@redhat.com>
5763 * src/nm-device-802-11-wireless.c
5764 - (real_get_best_connection): collapse find_best_connection() into this
5767 2008-01-19 Dan Williams <dcbw@redhat.com>
5769 * src/nm-device-802-3-ethernet.c
5770 - (real_get_best_connection): collapse find_best_connection() into this
5773 2008-01-18 Dan Williams <dcbw@redhat.com>
5775 * src/nm-device-802-3-ethernet.c
5776 - (find_best_connection): check MAC address too
5777 - (real_get_best_connection): let autoconnect=True connections activate
5778 for devices that don't have carrier detection
5780 * src/nm-device-802-11-wireless.c
5781 - (find_best_connection): check MAC address too
5783 2008-01-18 Dan Williams <dcbw@redhat.com>
5785 * system-settings/plugins/ifcfg/parser.c
5786 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
5788 2008-01-17 Dan Williams <dcbw@redhat.com>
5790 * src/nm-device-802-3-ethernet.c
5791 - (nm_device_802_3_ethernet_carrier_on,
5792 nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
5793 carrier events that might come in for devices that don't support
5796 2008-01-17 Dan Williams <dcbw@redhat.com>
5798 * src/nm-device-interface.c
5799 - (nm_device_interface_check_connection_conflicts): need to actually
5800 get the interface, not cast to the object
5803 - (nm_device_check_connection_conflicts): need to get the device class,
5804 not cast the device to the device class
5806 2008-01-17 Dan Williams <dcbw@redhat.com>
5808 * src/nm-device-802-11-wireless.c
5809 - (real_check_connection_conflicts): ignore connections that aren't
5810 wireless connections
5812 2008-01-17 Dan Williams <dcbw@redhat.com>
5814 * src/NetworkManagerPolicy.c
5815 - (nm_policy_device_change_check): clear change check idle here
5816 - (device_change_check_done): remove
5817 - (schedule_change_check): simplify
5819 2008-01-17 Dan Williams <dcbw@redhat.com>
5822 - (check_connection_allowed): take an NMDeviceInterface instead of
5823 an NMDevice object as an argument
5824 - (nm_manager_activate_device): pass an NMDeviceInterface to
5825 check_connection_allowed()
5827 2008-01-13 Dan Williams <dcbw@redhat.com>
5829 * libnm-glib/nm-device-802-11-wireless.c
5830 - (nm_device_802_11_wireless_get_access_points): fix memory leak
5832 2008-01-12 Dan Williams <dcbw@redhat.com>
5834 * src/nm-device-802-11-wireless.c
5835 - (activation_success_handler): if a match was found in the scan list
5836 and that match is a hidden AP, update that AP's SSID
5838 2008-01-11 Dan Williams <dcbw@redhat.com>
5840 * src/NetworkManagerAP.c
5841 - (nm_ap_new_fake_from_connection): mark fake APs as fake
5843 * src/nm-device-802-11-wireless.c
5844 - (get_active_ap): do two passes over the scan list if the caller
5845 requests that hidden APs get matched too; during the second pass
5846 when matching hidden APs, ignore the SSID since hidden APs in the
5847 scan list don't have an SSID yet
5848 - (periodic_update): move some checks to
5849 nm_device_802_11_periodic_update() because not all callers need them
5850 - (nm_device_802_11_periodic_update): move some checks here from
5852 - (merge_scanned_ap): if the current AP is fake, then don't do strict
5853 matching on incoming scan results, because the fake AP's flags
5854 might be slightly different (yet still compatible) with the incoming
5855 scan result's flags and they might actually be the same AP; update
5856 the rate on merged APs too
5857 - (activation_success_handler): update the frequency of the fake AP
5858 on successful connection; match hidden APs too since if the
5859 current AP is fake, there might already be a scan result in the
5860 scan list for the desired AP, just without it's SSID filled in yet
5862 2008-01-10 Dan Williams <dcbw@redhat.com>
5864 * src/NetworkManagerAP.c
5865 - (foreach_property_cb): catch more hidden SSID formats
5867 2008-01-10 Dan Williams <dcbw@redhat.com>
5869 Fix gnome.org #464215. Requires the kernel patch titled
5870 "Introduce WEXT scan capabilities" but will handle the patch not being
5871 present, you'll just continue to have problems with hidden SSIDs when
5872 using mac80211-based drivers.
5874 * src/supplicant-manager/nm-supplicant-config.h
5875 src/supplicant-manager/nm-supplicant-config.c
5876 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
5877 whether the driver supports SSID scans or not. If it does, and if
5878 the AP is hidden, use ap_scan=1 instead of ap_scan=2
5880 * src/nm-device-802-11-wireless.c
5881 - (constructor): check whether or not the driver supports SSID scans
5882 - (build_supplicant_config): pass driver SSID scan capability when
5883 building the wireless bits of the supplicant config
5885 2008-01-09 Dan Williams <dcbw@redhat.com>
5889 - (device_activation_precheck, check_connection_complete): remove this
5890 virtual function; incomplete connections should be invalid by
5891 definition, complete-ness should be checked in the setting's
5894 * src/nm-serial-device.c
5896 - (real_check_connection_complete): remove
5898 * libnm-util/nm-setting-serial.c
5899 - (verify): new function; ensure there is a PPP setting too
5901 * libnm-util/nm-setting-gsm.c
5902 - (verify): ensure there is a serial setting too
5904 2008-01-06 Dan Williams <dcbw@redhat.com>
5906 * src/dhcp-manager/nm-dhcp-manager.c
5907 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
5910 2008-01-04 Dan Williams <dcbw@redhat.com>
5912 * src/named-manager/nm-named-manager.c
5913 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
5914 nameservers if the secondary config doesn't have any
5917 2008-01-02 Tambet Ingo <tambet@gmail.com>
5919 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
5920 with G_PARAM_CONSTRUCT so that they get the default values.
5922 * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
5923 the monitoring device and prints out the output for now. Or more precicely, doesn't
5924 do absolutely anything right now since the montoring device argument is never set.
5926 * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
5927 requires it's own knob to turn it on.
5928 (config_fd): Add NMSettingSerial to the arguments list.
5929 (nm_serial_device_open): Ditto.
5930 (get_reply_got_data): Ignore the terminators at the beginning of the output.
5931 (nm_serial_device_get_io_channel): Implement.
5933 * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
5934 a new reference every time (and forgetting to release it sometimes) is a pain and
5935 it's not like NMManager could work without dbus.
5936 (nm_manager_add_device): Register the added device on dbus here.
5938 * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
5941 * src/nm-device.c (constructor): Don't export the device here, instead export
5942 it when it's added to the NMManager's device list.
5944 2007-12-31 Dan Williams <dcbw@redhat.com>
5946 * src/nm-device-interface.c
5947 src/nm-device-interface.h
5948 - (nm_device_interface_check_connection_conflicts): new function
5952 - (nm_device_check_connection_conflicts): new function
5953 - (device_activation_precheck): don't require subclasses to implement
5954 check_connection_complete()
5955 - check_connection() -> check_connection_complete()
5957 * src/nm-device-802-11-wireless.c
5958 - (real_check_connection): remove; unused
5959 - (real_check_connection_conflicts): implement, handle lockdown for
5962 * src/nm-device-802-3-ethernet.c
5963 - (real_check_connection): remove; unused
5966 - (check_connection_allowed): new function
5967 - (nm_manager_activate_device): ensure the connection being requested
5968 is allowed to be activated
5970 * src/nm-serial-device.c
5972 - real_check_connection() -> real_check_connection_complete()
5974 2007-12-27 Dan Williams <dcbw@redhat.com>
5976 * src/nm-device-interface.c
5977 src/nm-device-interface.h
5978 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
5979 normalize and expand errors
5980 - (nm_device_interface_init): register errors so they can be marshalled
5982 - (nm_device_interface_activate): ensure that failure of activation
5987 - (device_activation_precheck): implementations of check_connection()
5988 now take a GError and must fill it in if the check fails. Return
5989 more descriptive error if the requested connection is already
5991 - (nm_device_activate): actually try to return descriptive errors on
5994 * src/nm-device-802-11-wireless.c
5995 src/nm-device-802-3-ethernet.c
5996 src/nm-serial-device.c
5998 - (real_check_connection): return more descriptive errors on failure
6000 * src/NetworkManagerPolicy.c
6001 - (nm_policy_device_change_check): print activation errors in the logs
6004 - (nm_manager_error_quark, nm_manager_error_get_type,
6005 nm_manager_class_init): new errors
6006 - (nm_manager_activate_device): handle errors
6007 - (nm_manager_error_new): removed
6008 - (wait_for_connection_expired, connection_added_default_handler,
6009 impl_manager_activate_device): better error handling
6011 2007-12-27 Dan Williams <dcbw@redhat.com>
6013 Fixes gnome.org #466954
6015 * src/supplicant-manager/nm-supplicant-settings-verify.c
6016 - Allow 'frequency' network property
6018 * src/supplicant-manager/nm-supplicant-config.c
6019 src/supplicant-manager/nm-supplicant-config.h
6020 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6021 for callers to specify the frequency an Ad-Hoc network should operate
6022 on. Some drivers require this to successfully create an Ad-Hoc
6025 * src/nm-device-802-11-wireless.c
6026 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6027 guint32 value in MHz
6028 - (constructor, nm_device_802_11_wireless_get_frequency): use
6030 - (find_supported_frequency): new function; find a free supported
6031 frequency for a user-created Ad-Hoc network
6032 - (build_supplicant_config): if no frequency was specified for a user-
6033 created Ad-Hoc network, find a free one to use
6034 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6035 a specific object as user-created
6037 2007-12-27 Dan Williams <dcbw@redhat.com>
6039 * libnm-util/nm-utils.c
6040 libnm-util/nm-utils.h
6041 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6044 2007-12-24 Dan Williams <dcbw@redhat.com>
6046 * libnm-util/nm-setting-wireless.c
6047 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6048 185, 187, 188, 192, and 196
6050 2007-12-24 Dan Williams <dcbw@redhat.com>
6052 * src/nm-device-802-11-wireless.c
6053 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6054 a channel # instead of a frequency
6056 2007-12-24 Dan Williams <dcbw@redhat.com>
6058 * src/NetworkManagerAP.c
6059 src/NetworkManagerAP.h
6060 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6061 - (freq_to_channel): handle split band tables
6062 - (channel_to_freq): handle split band tables, take a band argument
6064 2007-12-24 Dan Williams <dcbw@redhat.com>
6066 * libnm-util/nm-setting-connection.h
6067 libnm-util/nm-setting-connection.c
6068 - Add 'lockdown' member
6070 2007-12-22 Dan Williams <dcbw@redhat.com>
6072 * libnm-util/nm-setting-wireless.c
6073 - (nm_setting_wireless_class_init): add missing 'rate' property
6076 2007-12-18 Dan Williams <dcbw@redhat.com>
6078 Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6080 * src/nm-netlink-monitor.c
6081 src/nm-netlink-monitor.h
6082 - Remove handrolled netlink, use libnl instead
6084 * src/nm-device-802-3-ethernet.c
6085 - (constructor, nm_device_802_3_ethernet_carrier_off,
6086 nm_device_802_3_ethernet_carrier_on): use new names
6088 2007-12-17 Dan Williams <dcbw@redhat.com>
6091 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6092 and fixes memory leaks)
6095 - (nm_netlink_get_default_handle): handle new versions of libnl that
6096 automatically handle the netlink PID
6098 2007-12-17 Dan Williams <dcbw@redhat.com>
6100 Patch from Michael Biebl <biebl@debian.org>
6103 src/ppp-manager/Makefile.am
6104 - fix up install dir of pppd plugin
6105 - clean up configure.in a bit
6107 2007-12-12 Dan Williams <dcbw@redhat.com>
6109 * system-settings/src/nm-system-settings.conf
6110 - Allow non-root clients (like the applet) to read settings
6112 2007-12-10 Tambet Ingo <tambet@gmail.com>
6114 * Replace all occurences of 'UMTS' with 'GSM'.
6116 2007-12-07 Dan Williams <dcbw@redhat.com>
6118 * src/nm-serial-device.c
6119 - (real_is_up): serial devices are always "up"
6121 2007-12-07 Dan Williams <dcbw@redhat.com>
6124 src/NetworkManagerSystem.c
6125 - (new_nl_handle): ensure that the same netlink pid is never chosen
6126 twice (gnome.org #491047)
6127 - Make more robust against allocation-related failures should they occur
6129 2007-12-07 Dan Williams <dcbw@redhat.com>
6131 Noticed by Christian Persch <chpe@gnome.org>
6133 Always chain up to parent object in dispose and finalize handlers.
6136 2007-12-07 Dan Williams <dcbw@redhat.com>
6138 * src/nm-device-802-11-wireless.c
6139 - Wrap #include of linux/mii.h to fix redefined structures due to
6140 incorrect kernel headers (gnome.org #350061)
6142 2007-12-06 Tambet Ingo <tambet@gmail.com>
6144 * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6145 before doing anything else.
6146 (init_modem): Move modem initialization here.
6148 * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6149 (nm_serial_device_flash): Implement.
6151 * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6152 changes signal is "StateChanged" and not "Status".
6153 (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6155 2007-12-06 Dan Williams <dcbw@redhat.com>
6157 * src/supplicant-manager/nm-supplicant-config.c
6158 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6159 to only send some options when they make sense; also send phase2
6160 option to the supplicant (possible fix for rh #399631)
6162 2007-12-06 Tambet Ingo <tambet@gmail.com>
6164 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6165 arguments: This whole file shouldn't really know anything about NMDevices, it
6166 should deal only with device interfaces. Devices might have different ifaces for
6167 different stuff and this place shouldn't know anything about it.
6169 * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6170 (global_state_changed): Implement. In the current NM it's not really important,
6171 but will be required in the case of multiple active devices. (Or even better,
6172 if stuff like that gets moved out from NM).
6174 * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6175 nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config()
6178 * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6179 devices like serial devices (ttyS0 and ppp0 for example).
6180 (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6182 (nm_device_set_ip_iface): Implement.
6183 (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6184 after setting ip4_config from here ...
6185 (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6186 than this function should call nm_system_device_set_from_ip4_config() because no
6187 other code has enough information on which arguments to use. So instead, other code
6188 could just set the new ip4 config using this function and everyone is happy.
6190 * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6191 if we happen to get deactivated while something is pending.
6192 (automatic_registration): Handle the response that indicates pending network
6193 registration and wait until the pending registration is done.
6194 (real_deactivate_quickly): If there's a pending operation, cancel it.
6196 * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6197 (real_deactivate_quickly): ... and remove it when it's down.
6198 (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6200 (nm_serial_device_wait_for_reply): Ditto.
6202 2007-12-05 Tambet Ingo <tambet@gmail.com>
6204 * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6205 (get_network_done): Remove newline, nm_info() does it already.
6206 (real_act_stage1_prepare): Turn the modem echo off.
6208 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6209 device, set the route to the device interface. This is a hack.
6211 * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage
6212 return, no need for a new-line.
6213 (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6214 Change the device iface here (ugh).
6215 (real_act_stage4_get_ip4_config): Implement.
6216 (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6217 Restore the device iface.
6219 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6220 device is not wired or wireless (eg, automatically upped) device.
6222 * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6224 (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6226 * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6227 before calling it's is_device_fn().
6229 2007-12-05 Dan Williams <dcbw@redhat.com>
6231 * libnm-util/nm-utils.c
6232 - (nm_utils_register_value_transformations,
6233 nm_utils_convert_gvalue_hash_to_string): better debug output of
6234 GHashTables of GValues too
6236 2007-12-04 Dan Williams <dcbw@redhat.com>
6238 * initscript/RedHat/NetworkManager.in
6239 - No longer start named; it's D-Bus interface is going away
6241 2007-12-04 Dan Williams <dcbw@redhat.com>
6243 Patch from Michael Biebl <biebl@debian.org>
6245 * system-settings/plugins/ifcfg/Makefile.am
6246 system-settings/src/main.c
6247 system-settings/src/Makefile.am
6248 - Put system settings plugins in NM plugins dir
6250 * src/ppp-manager/Makefile.am
6251 src/ppp-manager/nm-ppp-manager.c
6252 - Move pppd plugin to NM plugins dir
6254 2007-12-04 Dan Williams <dcbw@redhat.com>
6256 * libnm-util/nm-setting-vpn-properties.h
6257 - Clarify usage of the 'data' member of the setting
6259 * libnm-util/nm-setting-vpn-properties.c
6260 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6261 - (set_property): just remove all the settings; don't recreate the has
6262 - (update_one_secret): don't need to create the hash table here since
6263 it should always be present
6265 2007-12-03 Tambet Ingo <tambet@gmail.com>
6267 Implement PIN and PUK requesting.
6269 * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6270 (enter_pin): Handle PIN and PUK requests.
6271 (real_act_stage1_prepare): Clear the secret type.
6272 (real_connection_secrets_updated): Implement this class method to get
6273 notified when new secrets arrive.
6274 (nm_umts_device_class_init): Add private data back to the umts device class
6275 to store the required secret type.
6277 2007-12-01 Dan Williams <dcbw@redhat.com>
6279 * system-settings/plugins/ifcfg/parser.c
6280 - (parser_parse_file): don't try to verify NULL connections
6282 2007-12-01 Dan Williams <dcbw@redhat.com>
6284 * system-settings/src/main.c
6285 - (load_connections, add_connection_to_settings): actually export
6286 plugin-provided connections over D-Bus so NM can get them
6288 2007-12-01 Dan Williams <dcbw@redhat.com>
6290 * system-settings/plugins/ifcfg/parser.c
6291 system-settings/plugins/ifcfg/parser.h
6292 system-settings/plugins/ifcfg/plugin.c
6293 - Hook up more inotify bits (untested)
6295 2007-11-29 Dan Williams <dcbw@redhat.com>
6297 * system-settings/src/nm-system-config-interface.h
6298 system-settings/src/nm-system-config-interface.c
6299 - (nm_system_config_interface_init,
6300 nm_system_config_interface_get_connections): add
6302 * system-settings/src/main.c
6303 - (load_plugins, load_connections, main): use a GSList for plugins
6304 to ensure priority ordering
6306 * system-settings/plugins/ifcfg/parser.c
6307 - (ifcfg_error_quark): move to plugin.c, and rename
6309 * system-settings/plugins/ifcfg/plugin.h
6310 system-settings/plugins/ifcfg/plugin.c
6311 - (ifcfg_plugin_error_quark): move here from parser.c
6312 - rework connection loading and initialization
6313 - Add preliminary inotify support for network profile config file
6315 2007-11-28 Tambet Ingo <tambet@gmail.com>
6317 Merge the beginnings of the new GSM card support.
6319 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6320 ppp watch source before killing pppd - If this happens from g_object_unref()
6321 then the ppp manager is already destroyed by the time the watch callback runs.
6323 * src/nm-hal-manager.c: Add a device_type_name string to the device
6324 creators, so that we can print a nice human readable string when a
6327 * src/nm-umts-device.c (automatic_registration_get_network): Query
6328 for the activated network, not much is done with the result thought.
6330 * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6331 (ppp_ip4_config): Change the device state to activated here for now.
6332 (real_check_connection): Make sure the connection includes ppp setting.
6334 * libnm-glib/nm-client.c (get_device): Handle umts devices.
6336 * libnm-glib/Makefile.am: Add the new files to build.
6338 * libnm-glib/nm-umts-device.c:
6339 * libnm-glib/nm-umts-device.h: Implement.
6341 2007-11-26 Tambet Ingo <tambet@gmail.com>
6343 * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6344 immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6346 * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6347 the timeout source - this function is only called when the timeout source has
6349 (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6350 to be big enough to contain the terminating zero element as well.
6351 The timeout argument is meant to be in seconds now.
6352 (real_deactivate_quickly): Implement.
6354 * src/NetworkManager.conf: Allow root to own
6355 "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6357 * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6358 (not unsigned ints).
6360 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a
6361 small issue with parity bounds - capital letters have lower ascii codes
6362 than lower case letters.
6364 * libnm-util/nm-connection.c (register_default_settings): Register serial
6367 2007-11-22 Tambet Ingo <tambet@gmail.com>
6369 Remove the "index" property from devices as not all device types have this.
6371 * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6373 * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6374 (wired_device_creator): Get the device interface from hal to create the device.
6375 (wireless_device_creator): Ditto.
6377 * src/nm-device.c (nm_device_init): Remove the index member.
6378 (constructor): Remove the checks for index property, make interface property
6379 a require constructor property.
6380 Use the HAL udi for DBus path for devices.
6381 (nm_device_get_index): Remove.
6382 (set_property): Remove index handling.
6383 (get_property): Ditto.
6384 (nm_device_get_dbus_path): Remove.
6386 * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6389 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6390 Access the device index through it's interface.
6391 (nm_device_802_3_ethernet_link_deactivated): Ditto.
6392 (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6393 index argument. Add interface argument.
6395 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6396 the useless test_dev argument. Remove index argument. Add interface arugment.
6398 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6399 device index through interface.
6400 (nm_system_set_mtu): Ditto.
6402 * introspection/nm-device.xml: Remove the "Index" property.
6404 2007-11-21 Tambet Ingo <tambet@gmail.com>
6406 * src/nm-serial-device.c:
6407 * src/nm-serial-device.c:
6408 * src/nm-umts-device.c:
6409 * src/nm-umts-device.h: Implement.
6411 * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string
6412 allocated by libhal.
6413 (modem_device_creator): Implement.
6414 (register_built_in_creators): Register the modem creator.
6416 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new):
6417 Remove the unused test_dev argument.
6419 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6421 * src/Makefile.am: Add new files to build.
6422 Link in ppp-manager.
6424 * libnm-util/nm-setting-umts.c:
6425 * libnm-util/nm-setting-umts.h:
6426 * libnm-util/nm-setting-serial.c:
6427 * libnm-util/nm-setting-serial.h: Implement.
6429 * libnm-util/Makefile.am: Add new files to build.
6431 2007-11-28 Dan Williams <dcbw@redhat.com>
6433 Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6435 Support DHCP-provided static routes.
6437 * src/nm-ip4-config.h
6439 - Add get/set functions for static routes
6441 * src/dhcp-manager/nm-dhcp-manager.c
6442 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6445 * src/NetworkManagerSystem.c
6446 - (nm_system_device_set_from_ip4_config): set any static routes on the
6447 interface when applying the IP4Config
6449 2007-11-28 Dan Williams <dcbw@redhat.com>
6451 * src/nm-device-802-11-wireless.c
6452 - (real_act_stage1_prepare): mark APs created for hidden networks
6455 2007-11-27 Dan Williams <dcbw@redhat.com>
6457 * system-settings/src/nm-system-config-interface.h
6458 - Note how to store secrets on NMSetting objects
6460 * system-settings/src/dbus-settings.c
6461 - (connection_settings_get_secrets): implement
6463 2007-11-27 Dan Williams <dcbw@redhat.com>
6465 * system-settings/plugins/ifcfg/Makefile.am
6466 system-settings/plugins/ifcfg/parser.c
6467 system-settings/plugins/ifcfg/parser.h
6468 system-settings/plugins/ifcfg/plugin.c
6469 - Parse wireless connections too
6471 * system-settings/src/dbus-settings.c
6472 system-settings/src/dbus-settings.h
6473 system-settings/src/main.c
6474 - Handle connection update/removal if the plugin supports it
6476 2007-11-27 Dan Williams <dcbw@redhat.com>
6478 * src/nm-dbus-manager.h
6479 src/nm-hal-manager.c
6480 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6484 src/NetworkManagerDbusUtils.c
6485 src/NetworkManagerDbusUtils.h
6486 - Remove these two source files; they are unused
6488 2007-11-27 Dan Williams <dcbw@redhat.com>
6490 * src/vpn-manager/nm-vpn-manager.c
6491 - (impl_vpn_manager_connect): fix system settings check (found by
6494 2007-11-26 Dan Williams <dcbw@redhat.com>
6496 * Fix warnings so everything compiles with --enable-more-warnings
6498 2007-11-25 Dan Williams <dcbw@redhat.com>
6501 - Rework structure and code to use GModule-loaded plugins and a plugin
6502 interface that plugins export to the system settings service
6504 2007-11-21 Dan Williams <dcbw@redhat.com>
6507 - Add Soren's system settings service. Needs work for distros other
6508 than Fedora; the backends from NM should mostly migrate to here
6509 and be converted to GObjects
6511 2007-11-21 Dan Williams <dcbw@redhat.com>
6513 * libnm-util/nm-setting-vpn-properties.c
6514 - (set_property): must deep-copy the given settings hash, otherwise
6515 double-free errors occur when the setting is disposed of
6517 2007-11-21 Dan Williams <dcbw@redhat.com>
6519 * src/vpn-manager/nm-vpn-act-request.h
6520 src/vpn-manager/nm-vpn-act-request.c
6523 2007-11-20 Dan Williams <dcbw@redhat.com>
6525 * libnm-util/nm-utils.c
6526 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6527 nm_utils_convert_ip4_addr_struct_array_to_string,
6528 nm_utils_register_value_transformations): print out the readable
6529 values of more types of properties of NMSettings subclasses
6531 2007-11-20 Dan Williams <dcbw@redhat.com>
6533 * libnm-util/nm-setting-ip4-config.c
6534 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6535 nm_setting_ip4_config_class_init): apparently dbus-glib can't
6536 marshal GValueArrays inside collections, so switch to types that it
6537 can actually marshal/demarshal
6539 2007-11-16 Dan Williams <dcbw@redhat.com>
6541 * libnm-util/nm-setting-wireless-security.c
6542 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6543 minimal verification of EAP methods too
6544 - (verify): verify phase1 eap methods too
6546 2007-11-15 Dan Williams <dcbw@redhat.com>
6548 * libnm-glib/nm-device.h
6549 libnm-glib/nm-device.c
6550 - (nm_device_get_product, nm_device_get_vendor): should be returning
6553 2007-11-15 Dan Williams <dcbw@redhat.com>
6555 * libnm-glib/nm-device.c
6556 - (get_product_and_vendor): don't try to free things that should be
6559 2007-11-15 Dan Williams <dcbw@redhat.com>
6561 * src/NetworkManagerUtils.c
6562 - (nm_ethernet_address_is_valid): unbreak previous fix
6564 2007-11-15 Dan Williams <dcbw@redhat.com>
6566 * src/supplicant-manager/nm-supplicant-config.c
6567 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6570 2007-11-15 Dan Williams <dcbw@redhat.com>
6572 * src/NetworkManagerUtils.c
6573 - (nm_ethernet_address_is_valid): fix style, clarify
6574 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6576 * src/nm-device-802-11-wireless.c
6577 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6578 - (nm_device_802_11_wireless_get_ssid,
6579 nm_device_802_11_wireless_get_bssid,
6580 nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6581 before calling the ioctl; fixes valgrind-reported jump depends on
6582 uninitialized value errors
6584 2007-11-15 Dan Williams <dcbw@redhat.com>
6586 * libnm-util/nm-setting.c
6587 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6588 unecessary to serialize 'name'
6590 * src/nm-activation-request.c
6591 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6594 2007-11-15 Dan Williams <dcbw@redhat.com>
6596 * libnm-util/nm-setting-connection.h
6597 libnm-util/nm-setting-connection.c
6598 - Rename the 'name' property to 'id', because it conflicted with the
6599 NMSetting superclass' 'name' property.
6601 * libnm-util/nm-setting.c
6602 - (nm_setting_to_hash): serialize the 'name' property
6603 - (one_property_cb): ignore 'name' on deserialization of a connection
6605 * src/nm-device-802-11-wireless.c
6606 src/vpn-manager/nm-vpn-connection.c
6607 src/NetworkManagerPolicy.c
6608 - Fix up for NMSettingConnection 'name'->'id' changes
6610 2007-11-13 Dan Williams <dcbw@redhat.com>
6612 * libnm-glib/nm-device-802-11-wireless.h
6613 libnm-glib/nm-device-802-11-wireless.c
6614 - (nm_device_802_11_wireless_get_hw_address): return should be const
6617 libnm-glib/libnm-glib-test.c
6618 - Fixes for above change
6620 2007-11-12 Dan Williams <dcbw@redhat.com>
6622 * src/supplicant-manager/nm-supplicant-settings-verify.c
6623 - Allow fragment_size option
6625 * src/supplicant-manager/nm-supplicant-settings-verify.c
6626 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6627 EAP fragment size than the default to help some TLS connections
6629 2007-11-12 Dan Williams <dcbw@redhat.com>
6631 Make certs actually work. The private key is now a secret, and should be
6632 decrypted when requested by NM. The private key and phase2 private key
6633 passwords are no longer interesting to NM because they should be used by
6634 the settings service to decrypt the private key itself before passing it
6635 to NM, and hence have been removed as fields.
6637 * libnm-util/nm-setting-wireless-security.h
6638 libnm-util/nm-setting-wireless-security.c
6639 - Remove private-key-passwd and phase2-private-key-passwd from
6641 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6642 need_secrets): use property #defines instead strings to keep things
6644 - (need_secrets_tls): if a client certificate is present but no
6645 private key, request the private key
6646 - (set_property, get_property, nm_setting_wireless_security_class_init):
6647 remove private key password stuff, mark private keys as secret
6649 * src/supplicant-manager/nm-supplicant-settings-verify.c
6650 - Remove private_key_passwd and private_key2_passwd from opt_table
6652 2007-11-09 Dan Williams <dcbw@redhat.com>
6654 Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6655 Since the vpn-properties are managed and known by the VPN daemons themselves,
6656 libnm-util doesn't know what's secret and what's in the setting's 'data'
6659 * libnm-util/nm-setting.h
6660 libnm-util/nm-setting.c
6661 - Add the ability for subclasses to override update_one_secret
6663 * libnm-util/nm-setting-vpn-properties.c
6664 - Override update_one_secret and just copy the values into the
6667 2007-11-09 Dan Williams <dcbw@redhat.com>
6669 * libnm-glib/nm-settings.h
6670 libnm-glib/nm-settings.c
6671 - (nm_settings_new_error): remove
6672 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6673 clients should use g_set_error() with NM_SETTINGS_ERROR
6675 2007-11-09 Dan Williams <dcbw@redhat.com>
6677 * src/supplicant-manager/nm-supplicant-config.c
6678 - (nm_supplicant_config_add_setting_wireless_security): private key
6679 passwords are never sent to wpa_supplicant, because the supplicant
6680 should never be reading random files from the disk. Clients like
6681 the applet are required to decrypt the private keys and send NM
6682 the decrypted blobs.
6684 2007-11-08 Dan Williams <dcbw@redhat.com>
6686 * libnm-util/nm-setting-wireless-security.h
6687 libnm-util/nm-setting-wireless-security.c
6688 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6689 members to 802-11-wireless-security structure. This should be used
6690 to indicate that the values in private-key and phase2-private-key
6691 are already decrypted by the user agent, and that no
6692 private-key-passwd or phase2-private-key-passwd should be expected.
6693 It is not meant to be a stored configuration value, but meant to
6694 be set when the conneciton is sent to NM over dbus.
6696 2007-11-08 Dan Williams <dcbw@redhat.com>
6698 * libnm-util/nm-connection.h
6699 libnm-util/nm-connection.c
6700 - (nm_connection_need_secrets): add argument to return hints
6702 * src/nm-device-802-11-wireless.c
6703 - (link_timeout_cb, supplicant_connection_timeout_cb,
6704 real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6705 nm_connection_need_secrets() change
6707 2007-11-07 Tambet Ingo <tambet@gmail.com>
6709 Rework NMSetting structures: Move each setting to it's own file.
6710 Convert to GObject. Remove home grown setting types and use GTypes.
6711 Use GObject property introspection for hash conversion, enumerating
6714 * libnm-util/nm-setting-connection.[ch]
6715 * libnm-util/nm-setting-ip4-config.[ch]
6716 * libnm-util/nm-setting-ppp.[ch]
6717 * libnm-util/nm-setting-vpn.[ch]
6718 * libnm-util/nm-setting-vpn-properties.[ch]
6719 * libnm-util/nm-setting-wired.[ch]
6720 * libnm-util/nm-setting-wireless.[ch]
6721 * libnm-util/nm-setting-wireless-security.[ch]
6723 New files, each containing a setting.
6725 * libnm-util/nm-setting-template.[ch]: A template for creating new
6726 settings. To use it, just replace 'template' with the new setting
6727 name, and you're half-way done.
6729 * libnm-util/nm-setting.c: Convert to GObject and use GObject
6730 introspection instead of internal types and tables.
6732 * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6734 * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6735 GValue types defined by dbus-glib for composed types like collections,
6736 structures and maps.
6738 * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6739 a setting from connection takes the setting type now. Also, since
6740 the settings are in multiple files, include relevant settings.
6742 2007-10-31 Saleem Abdulrasool <compnerd@compnerd.org>
6745 * src/backends/NetworkManagerGentoo.c:
6746 (nm_system_restart_mdns_responder): Implement restarts for other mdns
6747 providers in Gentoo.
6749 2007-10-31 Dan Williams <dcbw@redhat.com>
6751 * libnm-util/nm-connection.c
6752 - (gvalue_to_string): handle UINT32 arrays
6754 2007-10-31 Dan Williams <dcbw@redhat.com>
6756 * libnm-glib/nm-device.h
6757 libnm-glib/nm-device.c
6758 - (nm_device_get_description): remove
6759 - (nm_device_get_product, nm_device_get_vendor): add
6760 - (nm_device_update_description): new function (private); walk HAL
6761 devices to get product and vendor IDs for a specific device
6763 2007-10-31 Dan Williams <dcbw@redhat.com>
6765 * src/nm-device-802-11-wireless.c
6766 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
6768 2007-10-29 Dan Williams <dcbw@redhat.com>
6770 * src/nm-hal-manager.c
6771 - (device_added, device_new_capability): ignore device additions while
6772 asleep. Fixes crash caused when NM goes to sleep, a network device
6773 kernel module is unloaded and reloaded and recognized by NM again.
6775 2007-10-26 Dan Williams <dcbw@redhat.com>
6777 Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
6779 * src/NetworkManagerAP.c
6780 src/NetworkManagerAP.h
6781 libnm-glib/nm-access-point.c
6782 libnm-glib/nm-access-point.h
6783 - Make 'rate' property a guint32 to better match with WEXT and
6784 wpa_supplicant and to allow representation of higher bitrates
6786 * src/nm-device-802-11-wireless.c
6787 introspection/nm-device-802-11-wireless.xml
6788 libnm-glib/nm-device-802-11-wireless.c
6789 libnm-glib/nm-device-802-11-wireless.h
6790 - Make 'bitrate' property a guint32 to match AP 'rate' property type
6792 * src/nm-device-802-3-ethernet.c
6793 src/nm-device-802-3-ethernet.h
6794 introspection/nm-device-802-3-ethernet.xml
6795 libnm-glib/nm-device-802-3-ethernet.c
6796 libnm-glib/nm-device-802-3-ethernet.h
6797 - Make 'speed' property a guint32 to match other speed/rate types
6798 - Make nm_device_802_3_ethernet_get_speed() static
6801 - Update for the changes above
6803 2007-10-26 Dan Williams <dcbw@redhat.com>
6805 * src/named-manager/nm-named-manager.c
6806 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
6807 not calling fclose() twice on some error conditions
6809 2007-10-26 Dan Williams <dcbw@redhat.com>
6811 * src/nm-activation-request.c
6812 - (dispose): clean up indentation; get the right DBusGProxy object to
6813 cancel the GetSecrets pending call on. Need to use the Secrets
6814 proxy, not the regular connection proxy. Otherwise the GetSecrets
6815 pending call doesn't get canceled, and pressing Cancel in the
6816 applet's password dialog could cause get_secrets_cb() to be called
6817 after the activation request has already been destroyed
6819 2007-10-24 Dan Williams <dcbw@redhat.com>
6821 * src/supplicant-manager/nm-supplicant-config.c
6822 - (nm_supplicant_config_add_blob): pass blob data and length for
6824 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
6826 2007-10-24 Dan Williams <dcbw@redhat.com>
6828 * src/supplicant-manager/nm-supplicant-settings-verify.c
6829 - (opt_table): max length for certificates should be 65536
6831 2007-10-24 Dan Williams <dcbw@redhat.com>
6833 * src/supplicant-manager/nm-supplicant-interface.c
6834 - (blob_free): correctly free blob data after use
6835 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
6837 2007-10-24 Dan Williams <dcbw@redhat.com>
6839 * libnm-util/nm-setting.c
6840 - (setting_wireless_security_need_secrets): Fix lookup table logic for
6841 EAP method need secrets
6843 2007-10-24 Dan Williams <dcbw@redhat.com>
6845 * src/backends/NetworkManagerRedHat.c
6846 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
6848 2007-10-23 Dan Williams <dcbw@redhat.com>
6850 * libnm-util/nm-setting.c
6851 libnm-util/nm-setting.c
6852 - (nm_setting_compare): implement
6853 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
6854 compare_one_hash_gvalue): compare the contents of a setting
6856 * libnm-util/nm-connection.c
6857 - (nm_connection_compare): implement
6859 2007-10-23 Dan Williams <dcbw@redhat.com>
6861 * src/nm-activation-request.c
6862 - (get_secrets_cb): handle getting a setting back that is more than
6863 just secrets (ie, user changed auth or EAP method or something)
6865 2007-10-23 Dan Williams <dcbw@redhat.com>
6867 * libnm-util/nm-setting.c
6868 libnm-util/nm-setting.h
6869 - (nm_setting_verify): new function; verify one setting
6870 - (nm_settings_verify_all): rename from nm_settings_verify()
6871 - (setting_connection_verify, setting_wireless_verify): allow NULL
6874 * libnm-util/nm-connection.c
6875 - (nm_connection_replace_settings, nm_connection_verify,
6876 nm_connection_new_from_hash): handle nm_settings_verify() rename
6878 2007-10-23 Dan Williams <dcbw@redhat.com>
6880 * src/nm-device-802-11-wireless.c
6881 - (real_act_stage2_config): use pre-increment on 'tries' to get the
6884 2007-10-23 Dan Williams <dcbw@redhat.com>
6886 * src/supplicant-manager/nm-supplicant-settings-verify.c
6887 - eap_allowed, phase2_allowed: harmonize with allowed values from
6890 2007-10-23 Dan Williams <dcbw@redhat.com>
6892 * src/nm-device-802-11-wireless.c
6893 - (real_act_stage2_config): after the first association failure,
6894 if the connection still needs secrets ask the user for them
6895 explicitly. After the fourth association failure due to bad
6896 secrets, fail the connection entirely. Handles the GetSecrets
6897 loop that NM gets into when the provided secrets don't match up
6898 with the connection details.
6900 2007-10-23 Dan Williams <dcbw@redhat.com>
6902 * src/supplicant-manager/nm-supplicant-config.c
6903 - (nm_supplicant_config_add_setting_wireless_security): only add
6904 WPA-specific options when WPA is in use
6906 2007-10-23 Dan Williams <dcbw@redhat.com>
6908 * src/supplicant-manager/nm-supplicant-config.c
6909 - (nm_supplicant_config_add_setting_wireless_security): 'password'
6910 secret doesn't need to be unhexified
6912 2007-10-23 Dan Williams <dcbw@redhat.com>
6914 * libnm-util/nm-setting.c
6915 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
6916 before trying to do something with it
6918 2007-10-23 Dan Williams <dcbw@redhat.com>
6920 * src/nm-device-802-11-wireless.c
6921 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
6923 2007-10-23 Dan Williams <dcbw@redhat.com>
6925 * src/nm-device-802-11-wireless.c
6926 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
6927 non-SSID-broadcasting APs
6929 2007-10-23 Dan Williams <dcbw@redhat.com>
6931 * src/NetworkManagerAP.c
6932 - (match_cipher, security_compatible): remove
6933 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
6936 2007-10-23 Dan Williams <dcbw@redhat.com>
6938 * libnm-util/nm-utils.c
6939 libnm-util/nm-utils.h
6940 - (nm_utils_ap_security_compatible): common function for checking
6941 whether a specific AP is compatible with an NMConnection
6943 2007-10-23 Dan Williams <dcbw@redhat.com>
6945 * libnm-util/nm-setting.c
6946 - (setting_wireless_security_need_secrets, need_secrets_phase2,
6947 need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
6948 need_secrets_password, setting_wireless_security_verify): fix
6949 need_secrets for IEEE 802.1x and WPA-EAP by implementing need
6950 secrets logic for each supported EAP method
6952 2007-10-23 Dan Williams <dcbw@redhat.com>
6954 * src/supplicant-manager/nm-supplicant-config.c
6955 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
6956 config option name, should be "private_key2_passwd"
6958 2007-10-22 Tambet Ingo <tambet@gmail.com>
6960 Implement support for static IP addresses, additional/overridden DNS and
6961 DNS domain search lists.
6963 * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
6964 (ip4_addresses_to_gvalue): Implement.
6965 (convert_array_to_byte_array): Implement.
6966 (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
6967 NM_S_TYPE_IP4_ADDRESSES.
6968 (nm_setting_hash): Ditto.
6969 (default_setting_clear_secrets): Add a default case for the switch: IP address
6970 shouldn't be secret, ever.
6971 (setting_ip4_config_verify): Update, requires addresses in case of manual
6973 (setting_ip4_config_destroy): Free stuff.
6975 * src/nm-device.c (merge_ip4_config): Implement.
6976 (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
6978 2007-10-22 Dan Williams <dcbw@redhat.com>
6980 * libnm-util/nm-setting.c
6981 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
6982 pairwise cipher options for Dynamic WEP
6984 2007-10-21 Dan Williams <dcbw@redhat.com>
6986 * src/NetworkManagerAP.c
6987 src/NetworkManagerAP.h
6988 - Rename 'articifical' -> 'fake' since that's what they are until
6990 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
6991 from the attributes in an NMConnection object
6992 - (security_compatible): better handle Dynamic WEP and LEAP; handle
6994 - (nm_ap_match_in_list): find a matching AP in a scan list
6996 * src/nm-device-802-11-wireless.c
6997 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
6998 AP when searching the scan list; match on frequency and mode too
6999 - (nm_device_802_11_wireless_get_frequency): implement
7000 - (merge_scanned_ap): replace duplicate matching logic with
7001 nm_ap_match_in_list()
7002 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7003 the user is trying to connect to a hidden network that is not yet
7004 known from the scan list
7005 - (activation_success_handler): now that the card knows the AP's BSSID,
7006 there may already be a scanned AP in the scan list that is what
7007 we really wanted to connect to, but didn't know at the time. Use
7008 that instead of the 'fake' AP created at activation start and get
7009 rid of the 'fake' AP
7010 - (cull_scan_list): don't remove fake APs
7012 2007-10-21 Dan Williams <dcbw@redhat.com>
7014 * src/nm-activation-request.h
7015 src/nm-activation-request.c
7016 - (nm_act_request_set_specific_object): new function; allow setting the
7017 specific object if one isn't set yet
7019 2007-10-20 Dan Williams <dcbw@redhat.com>
7021 * src/supplicant-manager/nm-supplicant-config.h
7022 src/supplicant-manager/nm-supplicant-config.c
7023 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7024 table to store blobs
7025 - (nm_supplicant_config_add_blob): new function; add blob to internal
7027 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7028 - (nm_supplicant_config_add_setting_wireless_security): handle
7029 options that use certificates (ie, blobs)
7031 * src/nm-device-802-11-wireless.c
7032 - (build_supplicant_config): pass a UID (just use the connection path)
7033 to the supplicant config as now required
7035 * src/supplicant-manager/nm-supplicant-interface.c
7036 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7037 there are any blobs to send to wpa_supplicant, send those first
7038 before sending the network configuration
7040 2007-10-19 Dan Williams <dcbw@redhat.com>
7042 Split the GetSecrets() call off to a separate D-Bus interface so that it
7043 can be more easily locked down with D-Bus policy. Only 'root' (ie, NM)
7044 should be able to call GetSecrets().
7046 * include/NetworkManager.h
7047 - Define the connection secrets D-Bus interface
7049 * src/vpn-manager/nm-vpn-connection.c
7050 - (clear_need_auth): get the right proxy object for the connection
7052 - (get_connection_secrets): use the connection secrets proxy; send
7053 empty hints in get secrets request
7055 * src/nm-activation-request.c
7056 - (nm_act_request_request_connection_secrets): use the connection
7057 secrets proxy; send empty hints in get secrets request
7061 - (connection_get_settings_cb): set the connection secrets proxy on
7062 the connection object too
7063 - (internal_new_connection_cb): create the connection secrets proxy
7065 * introspection/nm-settings-connection.xml
7066 - Define Connection.Secrets interface and move GetSecrets there
7067 - Add a 'hints' argument to GetSecrets
7069 * libnm-glib/nm-settings.c
7070 libnm-glib/nm-settings.h
7071 - (impl_connection_settings_get_secrets): add 'hints' argument
7073 2007-10-19 Dan Williams <dcbw@redhat.com>
7076 - (constructor): add message about what path a device is exported as
7077 to help in debugging rh #339011
7079 2007-10-17 Dan Williams <dcbw@redhat.com>
7081 * libnm-util/nm-utils.h
7082 libnm-util/nm-utils.c
7083 - (nm_utils_security_valid): common function to help find the intersection
7084 of capabilities of devices and (optionally) access points
7086 2007-10-17 Dan Williams <dcbw@redhat.com>
7088 * src/nm-device-802-11-wireless.c
7089 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7090 don't get erroneously cleared
7092 2007-10-17 Dan Williams <dcbw@redhat.com>
7096 src/nm-hal-manager.c
7097 - (device_removed, finalize, nm_manager_remove_device,
7098 nm_manager_sleep): add a 'deactivate' argument to
7099 nm_manager_remove_device() to fully deactivate devices when necessary
7100 (ie, always except when waking up)
7102 2007-10-16 Dan Williams <dcbw@redhat.com>
7104 * libnm-util/nm-setting.c
7105 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7106 also isn't valid phase2 autheap method
7108 2007-10-16 Dan Williams <dcbw@redhat.com>
7110 * libnm-glib/nm-client.c
7111 - (update_wireless_status): consolidate updates of wireless status
7112 - (constructor): use update_wireless_status()
7113 - (manager_running): set wireless status off when NM goes away; requery
7114 the wireless status when NM comes back
7116 2007-10-16 Dan Williams <dcbw@redhat.com>
7118 * libnm-glib/nm-client.c
7119 - (nm_client_activate_device): actually use the fixed-up specific
7122 2007-10-16 Dan Williams <dcbw@redhat.com>
7124 * src/nm-hal-manager.c
7125 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7126 killswitch error messages once
7128 2007-10-16 Dan Williams <dcbw@redhat.com>
7131 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7132 if it's disabled in hardware; don't touch network devices while
7135 2007-10-16 Dan Williams <dcbw@redhat.com>
7137 * libnm-util/nm-client.c
7138 - (nm_client_activate_device): convert NULL specific_object to "/",
7139 which is used in place of NULL
7142 - (impl_manager_activate_device): convert "/" specific_object back into
7145 2007-10-16 Tambet Ingo <tambet@gmail.com>
7147 Implement a generic NMSetting creator from setting name.
7148 While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7149 add a virtual function 'populate_fn'.
7151 * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7152 (register_default_creators): Register setting creators instead of functions
7153 that create and then populate.
7154 (parse_one_setting): Use the common setting creator and then setting specific
7155 poplulation function.
7157 * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7158 they all looked exactly the same.
7159 Add a 'populate_fn' virtual function to NMSetting.
7160 Use default virtual functions in case they are not overriden.
7161 (nm_setting_populate_from_hash): Implement.
7163 * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7164 name, use a defined string.
7165 (real_act_stage4_get_ip4_config): Ditto.
7167 2007-10-16 Tambet Ingo <tambet@gmail.com>
7169 * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7170 HAL is int, not uint.
7172 2007-10-15 Tambet Ingo <tambet@gmail.com>
7174 Implement killswitch polling through HAL.
7176 * src/nm-manager.c: Add wireless hardware status property. Add
7177 'properties-changed' signal for changes in wireless and wireless hardware
7180 * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7181 and update NMManager's wireless hardware state when it has changed.
7182 (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7185 * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7186 values of wireless state and wireless hardware state. Listen for the
7187 'properties-changed' signals, update the cached values and emit notify.
7189 * include/NetworkManager.h: Fix a typo in a comment.
7191 2007-10-14 Dan Williams <dcbw@redhat.com>
7193 * libnm-util/nm-setting.c
7194 - (setting_wireless_security_need_secrets): handle LEAP secrets
7196 2007-10-13 Dan Williams <dcbw@redhat.com>
7198 * libnm-util/nm-setting.h
7199 libnm-util/nm-setting.c
7200 src/supplicant-manager/nm-supplicant-config.c
7201 - Make the 'proto' field of the 802-11-wireless-security field a
7204 2007-10-12 Tambet Ingo <tambet@gmail.com>
7206 Rework the "properties-changed" signal listening implementation.
7207 Add a generic implementation to NMObject class that listens for
7208 the signal and calls property setters of the target NMObject.
7210 * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7212 * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7213 code to the end of file so that all the static functions are available
7214 without extra declarations.
7215 Remove the "properties-changed" signal handling and use the framework from
7217 Implement property setters for properties that change with
7218 "properties-changed" signal.
7220 * libnm-glib/nm-access-point.c: Ditto.
7222 2007-10-12 Tambet Ingo <tambet@gmail.com>
7224 Rework the "properties-changed" signal implementation.
7225 In classes that need to use it, just emit "GObject::notify" and the new
7226 framework takes care of the rest to make the signal available on dbus.
7227 The framework queues the notifications and tries to send as many together
7228 in one signal as possible.
7230 * src/nm-properties-changed-signal.c:
7231 * src/nm-properties-changed-signal.h: Implement.
7233 * src/Makefile.am: Add new files to build.
7235 * src/NetworkManagerAP.c: Use the general framework for properties-changed
7238 * src/nm-device-802-11-wireless.c: Ditto.
7240 2007-10-10 Dan Williams <dcbw@redhat.com>
7243 - (wait_for_connection_expired): ensure info is valid
7244 - (connection_added_default_handler): Should only remove pending
7245 connection info when the manager has the connection that it's
7246 waiting for. Fixes segfault in wait_for_connection_info().
7248 2007-10-10 Dan Williams <dcbw@redhat.com>
7250 * libnm-util/nm-setting.c
7251 libnm-util/nm-setting.h
7252 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7253 can use if they choose. Should be filled in by the settings service
7254 on-the-fly with the currently logged in user's username
7256 2007-10-10 Dan Williams <dcbw@redhat.com>
7258 * src/nm-device-802-11-wireless.c
7259 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7260 as such, because even if the manager fills in the SSID, NM still
7261 has to indicate to wpa_supplicant that the AP isn't broadcasting
7264 2007-10-10 Tambet Ingo <tambet@gmail.com>
7266 Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7267 code that used NM's own version of dbus signal handling and custom dictionary
7268 marshalling/unmarshalling. With this change, all that obsolete code can disappear
7269 and we get to maintain over 2000 lines less code.
7271 * libnm-util/dbus-dict-helpers.c:
7272 * libnm-util/dbus-dict-helpers.h: Remove.
7274 * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7276 * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7278 * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7281 * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7283 * configure.in: Remove test/libnm-util/Makefile creation.
7285 * test/Makefile.am: Remove libnm-util from SUBDIRS.
7287 * test/libnm-util/: Remove the whole directory.
7289 2007-10-10 Tambet Ingo <tambet@gmail.com>
7291 * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the
7292 device_state_changed_idle_id variable or it would contain some random value and the
7293 schedule_change_check calls would not do anything.
7295 2007-10-09 Dan Williams <dcbw@redhat.com>
7297 * src/nm-device-802-11-wireless.c
7298 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7299 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7300 isn't broadcasting its SSID; set the non-broadcast flag here; fix
7301 merging of non-SSID-broadcasting APs
7303 2007-10-09 Tambet Ingo <tambet@gmail.com>
7305 * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7306 "guint8 *" since it's usually used with GByteArray->data.
7307 (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7309 2007-10-09 Tambet Ingo <tambet@gmail.com>
7311 * src/NetworkManagerUtils.c
7312 (nm_utils_is_empty_ssid):
7313 (nm_utils_escape_ssid):
7314 (nm_utils_same_ssid): Remove. These functions are copied and pasted in a
7315 lot of places, so they belong to libnm-utils instead.
7317 Now with 100% less compiler warnings:
7319 * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7320 (nm_dbus_unescape_object_path): Ditto.
7321 (nm_utils_ssid_to_utf8): Ditto.
7322 (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7323 (nm_utils_escape_ssid): Ditto.
7324 (nm_utils_same_ssid): Ditto.
7326 * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7327 (add_one_connection_element): Remove an unused variable.
7328 (impl_manager_get_active_connections): Ditto.
7330 * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7333 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7334 from the previous commit.
7336 * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7337 (real_act_stage1_prepare): Ditto.
7338 (activation_success_handler): Ditto.
7339 (get_property): Ditto.
7341 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7344 * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7347 * src/supplicant-manager/nm-supplicant-config.c
7348 (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7349 to expected "char *".
7350 (nm_supplicant_config_add_setting_wireless): Ditto.
7351 (nm_supplicant_config_remove_option): Remove, not used.
7353 * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7355 (test_wireless_enabled): Ifdef out unused function.
7356 (device_deactivate): Ditto.
7357 (device_state_changed): Ditto.
7358 (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7359 (nm_utils_escape_ssid): Ditto.
7361 * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7362 (nm_utils_is_empty_ssid): Ditto.
7364 * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7367 * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7368 (setting_vpn_properties_update_secrets): Ditto.
7369 (int_to_gvalue): Ifdef out for now, not used.
7370 (byte_to_gvalue): Ditto.
7372 * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array):
7375 2007-10-08 Tambet Ingo <tambet@gmail.com>
7377 * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7378 about dbus manager, not named manager.
7379 Make sure hal_manager and dbus_mgr are created before trying to unreference.
7381 * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7382 handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7383 However, the same signal is emitted when we destroy it and there's
7384 nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7386 (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7387 releasing the DBusGConnection, since proxy needs a conneciton.
7388 (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7390 2007-10-08 Dan Williams <dcbw@redhat.com>
7392 * src/NetworkManager.c
7393 - (main): error on unknown command-line options
7395 2007-10-08 Dan Williams <dcbw@redhat.com>
7397 Reimplement the invalid connection list. Don't try to re-activate a
7398 connection that just failed or was canceled.
7401 - (connection_secrets_failed_cb): fail device activation, don't just
7402 deactivate the device. Listeners have to know about the failure.
7404 * src/NetworkManagerPolicy.c
7405 - (nm_policy_auto_get_best_device): exclude invalid connections from
7406 the connection list given to a device's get_best_connection()
7408 - (device_state_changed): tag failed connections as invalid; clear the
7409 tag from successful connections
7411 2007-10-08 Dan Williams <dcbw@redhat.com>
7413 Fix problems with interrupted activation. Previously, choosing an AP
7414 from the menu, then choosing another one before the first connection was
7415 successful wouldn't deactivate the device before starting the new connection
7416 on that same device.
7418 * src/NetworkManagerPolicy.c
7419 - (deactivate_old_device, device_state_changed, state_changed,
7420 nm_policy_new): wrong place to deactivate old devices
7423 - (pending_connection_info_destroy, finalize,
7424 wait_for_connection_expired): decouple destruction of the pending
7425 connection info from the manager device
7426 - (connection_added_default_handler): deactivate any active or
7427 activating device before starting a new activation
7428 - (impl_manager_activate_device): deactivate any active or activating
7429 device before starting a new activation; be sure not to leak
7430 pending connection info if a new activation request arrives but
7431 there's already a pending one in-process
7433 2007-10-08 Dan Williams <dcbw@redhat.com>
7435 * src/NetworkManagerAP.h
7436 src/NetworkManagerAP.c
7437 - (nm_ap_has_manufacturer_default_ssid): remove, unused. User clients
7438 should handle default SSIDs and whether or not to autoconnect
7441 2007-10-08 Dan Williams <dcbw@redhat.com>
7443 * src/NetworkManagerPolicy.c
7444 - (nm_policy_device_change_check): print out connection name where
7447 2007-10-08 Dan Williams <dcbw@redhat.com>
7449 * src/nm-device-802-11-wireless.c
7450 src/nm-device-802-11-wireless.h
7451 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7452 'hidden-ap-found' signal (for internal use only) that allows the
7453 NMManager to fill in the AP's SSID if a connection has that AP's
7454 BSSID in its seen-bssids list
7457 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7458 wireless device's hidden-ap-found signal and fill in the APs SSID
7461 2007-10-07 Dan Williams <dcbw@redhat.com>
7465 - Add a 'connections-added' signal to batch together updates of large
7466 numbers of connections, like when reading from a settings service
7467 the first time. Otherwise, the policy would just activate the first
7468 suitable connection it saw rather than waiting for the full list
7470 - (nm_manager_class_init): register new signal
7471 - (get_type_for_proxy, connection_get_settings_cb,
7472 get_connection_for_proxy): centralize places where a proxy's setting
7473 service is determined
7474 - (free_get_settings_info): if the call being freed is the last call
7475 in a pending call group, fire off the connections-added signal
7476 - (internal_new_connection_cb): add call to a pending call group if
7478 - (list_connections_cb): always create a call group here, because this
7479 call results in a batch of new connections
7480 - (initial_get_connections): start getting system connections first
7481 - (nm_manager_connections_destroy, emit_removed): actually emit the
7482 removed signal when destroying connections
7484 * src/NetworkManagerPolicy.c
7485 - (nm_policy_new, connections_added): handle connections-added signal
7488 2007-10-06 Dan Williams <dcbw@redhat.com>
7490 * src/nm-device-802-11-wireless.c
7491 - (constructor): fix leaked socket
7493 2007-10-06 Dan Williams <dcbw@redhat.com>
7495 * src/NetworkManagerPolicy.c
7496 - (nm_policy_auto_get_best_device): fix connection list reffing. Each
7497 connection in the list returned by nm_manager_get_connections() is
7498 reffed, but they weren't getting unreffed before returning
7500 2007-10-06 Dan Williams <dcbw@redhat.com>
7503 - (connections_to_slist): sort connections first on autoconnect, then
7506 2007-10-06 Dan Williams <dcbw@redhat.com>
7508 * libnm-util/nm-connection.c
7509 - (gvalue_to_string): handle UINT64
7511 2007-10-06 Dan Williams <dcbw@redhat.com>
7513 * src/NetworkManagerPolicy.c
7514 - (connection_updated, nm_policy_new): recheck state when a connection
7517 2007-10-06 Dan Williams <dcbw@redhat.com>
7521 - (nm_manager_get_connection_dbus_path): make static
7522 - (nm_manager_update_connections): remove; unused
7523 - Add a connection-updated signal
7524 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7525 handle connection object updates
7527 2007-10-06 Dan Williams <dcbw@redhat.com>
7529 * src/NetworkManagerPolicy.c
7530 - (connection_removed): deactivate removed connections
7532 2007-10-06 Dan Williams <dcbw@redhat.com>
7534 * libnm-util/nm-connection.c
7535 libnm-util/nm-connection.h
7536 - (nm_connection_replace_settings): new function
7538 2007-10-06 Dan Williams <dcbw@redhat.com>
7540 * libnm-glib/nm-device-802-11-wireless.c
7541 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7542 on error when getting the active access point over D-Bus from NM
7544 2007-10-05 Dan Williams <dcbw@redhat.com>
7546 * libnm-util/nm-setting.c
7547 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7548 to the NMSettingWireless table; it's now a string array not an array
7551 2007-10-05 Dan Williams <dcbw@redhat.com>
7553 * libnm-glib/nm-device-802-11-wireless.c
7554 - Cache properties and update cached properties on D-Bus signals from NM
7556 2007-10-05 Dan Williams <dcbw@redhat.com>
7558 * src/nm-device-802-11-wireless.c
7559 - (set_current_ap): consolidate current_ap handling code into one place
7560 to ensure that PropertiesChanged signals are emitted in all cases
7561 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7562 nm_device_802_11_wireless_dispose): use set_current_ap()
7564 2007-10-05 Dan Williams <dcbw@redhat.com>
7566 * libnm-glib/nm-access-point.c
7567 libnm-glib/nm-access-point.h
7568 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7569 because the value is cached internally now. Callers should not
7570 free the internal value.
7571 - Make signal name defines private
7574 libnm-glib/libnm-glib-test.c
7575 - Don't free value returned from nm_access_point_get_hw_address()
7577 2007-10-04 Dan Williams <dcbw@redhat.com>
7579 * introspection/nm-device-802-11-wireless.xml
7580 src/nm-device-802-11-wireless.h
7581 src/nm-device-802-11-wireless.c
7582 - Add a PropertiesChanged signal for wireless device
7583 - Store currently associated access point
7584 - (periodic_update): generalize; update rate here too and emit the
7585 correct PropertiesChanged signal when stuff changes
7586 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7587 real_activation_cancel_handler): clear current_ap when device is
7589 - (link_to_specific_ap, get_ap_blacklisted,
7590 nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7592 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7594 - (real_set_hw_address): emit property changed signal if the card's
7596 - (real_act_stage1_prepare): set the initial current_ap to the AP
7597 the card is supposed to be connecting to
7598 - (activation_success_handler): send out property updates on successful
7600 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7601 for ACTIVE_ACCESS_POINT property because sometimes there won't be
7602 one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7603 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7604 is now boxed; add PropertiesChanged signal
7606 2007-10-04 Dan Williams <dcbw@redhat.com>
7608 * libnm-util/nm-connection.c
7609 libnm-util/nm-connection.h
7610 - (nm_connection_verify): new function
7612 2007-10-04 Dan Williams <dcbw@redhat.com>
7614 * libnm-util/nm-setting.c
7615 - (nm_settings_verify): use #defines when possible rather than strings
7616 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7617 - (setting_vpn_verify): tighter validity check on 'service_type'
7619 2007-10-04 Dan Williams <dcbw@redhat.com>
7621 * libnm-glib/nm-settings.c
7622 - (nm_connection_settings_class_init): provide correct type for argument
7623 to the Updated signal so that dbus-glib knows how to marshal it
7625 2007-10-03 Dan Williams <dcbw@redhat.com>
7627 * src/nm-device-802-3-ethernet.c
7628 - (real_get_best_connection): don't create automatic connections
7629 internally; clients should provide a setting that applies to
7630 the device with 'autoconnect: True'. Problem was that these
7631 internally auto-created connections don't have a proxy or service
7632 name becuase they weren't created by a settings daemon, and therefore
7633 clients have no idea what to do with them.
7635 2007-10-03 Dan Williams <dcbw@redhat.com>
7637 * src/nm-device-802-11-wireless.c
7638 src/nm-device-802-11-wireless.h
7639 introspection/nm-device-802-11-wireless.xml
7640 - GetActiveNetworks -> GetAccessPoints
7641 - ActiveNetwork -> ActiveAccessPoint
7642 - NetworkAdded -> AccessPointAdded
7643 - NetowrkRemoved -> AccessPointRemoved
7645 * libnm-glib/nm-device-802-11-wireless.c
7646 libnm-glib/nm-device-802-11-wireless.h
7647 - network-added signal -> access-point-added
7648 - network-removed signal -> access-point-removed
7649 - nm_device_802_11_wireless_get_active_network() ->
7650 nm_device_802_11_wireless_get_active_access_point()
7651 - nm_device_802_11_wireless_get_network_by_path() ->
7652 nm_device_802_11_wireless_get_access_point_by_path()
7653 - nm_device_802_11_wireless_get_networks() ->
7654 nm_device_802_11_wireless_get_access_points()
7656 * libnm-glib/libnm-glib-test.c
7658 src/NetworkManagerPolicy.c
7659 - Fixups for Network -> AccessPoint
7661 2007-10-03 Dan Williams <dcbw@redhat.com>
7663 Add a GetActiveConnections() method on the Manager object.
7667 introspection/nm-manager.xml
7668 - (connection_get_settings_cb): keep connection type around too
7669 - (impl_manager_get_active_connections, add_one_connection_element):
7670 implement; returns all active connections and what devices they
7673 * libnm-glib/nm-client.c
7674 libnm-glib/nm-client.h
7675 introspection/nm-manager-client.xml
7676 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7677 by the caller; free here to avoid memory leak
7678 - (nm_client_get_active_connections): implement; return the list of
7680 - (nm_client_free_active_connection_element): implement; free an element
7681 of the GSList returned by nm_client_get_active_connections()
7683 2007-10-03 Dan Williams <dcbw@redhat.com>
7685 * src/nm-device-802-11-wireless.c
7686 - (nm_device_802_11_wireless_update_bssid): remove
7687 - (get_active_ap): new function; find the AP in the scan list which
7688 matches the current BSSID and SSID of the wireless device
7689 - (nm_device_802_11_periodic_update): get current AP using
7690 get_active_ap() and print AP roam messages
7692 2007-10-01 Dan Williams <dcbw@redhat.com>
7694 * libnm-util/nm-setting.h
7695 - Add a 'timestamp' option to NMSettingConnection
7698 * libnm-util/nm-setting.c
7699 - (uint64_to_gvalue): new function
7700 - (nm_setting_populate_from_hash, nm_setting_hash,
7701 default_setting_clear_secrets): handle UINT64 type
7702 - con_table: add 'timestamp' member
7704 2007-10-01 Dan Williams <dcbw@redhat.com>
7707 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7708 value when the connection can be activated immediately
7710 2007-10-01 Dan Williams <dcbw@redhat.com>
7712 * libnm-glib/nm-device.c
7713 - (nm_device_class_init): actually tell glib about the carrier-changed
7716 2007-10-01 Dan Williams <dcbw@redhat.com>
7719 src/marshallers/Makefile.am
7720 src/marshallers/nm-marshal.list
7721 src/marshallers/nm-marshal-main.c
7722 - Consolidate glib marshallers into one place
7724 * src/dhcp-manager/Makefile.am
7725 src/dhcp-manager/nm-dhcp-manager.c
7726 src/supplicant-manager/Makefile.am
7727 src/supplicant-manager/nm-supplicant-manager.c
7728 src/supplicant-manager/nm-supplicant-interface.c
7729 src/ppp-manager/Makefile.am
7730 src/ppp-manager/nm-ppp-manager.c
7731 src/vpn-manager/Makefile.am
7732 src/vpn-manager/nm-vpn-connection.c
7734 - Use consolidated marshallers
7736 * src/dhcp-manager/nm-dhcp-marshal.list
7737 src/dhcp-manager/nm-dhcp-marshal-main.c
7738 src/supplicant-manager/nm-supplicant-marshal-main.c
7739 src/supplicant-manager/nm-supplicant-marshal.list
7740 src/nm-marshal-main.c
7742 src/ppp-manager/nm-ppp-marshal-main.c
7743 src/ppp-manager/nm-ppp-marshal.list
7744 src/vpn-manager/nm-vpn-marshal-main.c
7745 src/vpn-manager/nm-vpn-marshal.list
7748 2007-10-01 Dan Williams <dcbw@redhat.com>
7750 * include/NetworkManagerVPN.h
7751 - define VPN connection state change reason codes
7753 * src/vpn-manager/Makefile.am
7754 src/vpn-manager/nm-vpn-marshal.list
7755 src/vpn-manager/nm-vpn-marshal-main.c
7756 - Add marshallers for StateChanged signal
7758 * introspection/nm-vpn-connection.xml
7759 - New Banner property
7760 - StateChanged signal now includes a 'reason' argument
7762 * src/vpn-manager/nm-vpn-connection.c
7763 src/vpn-manager/nm-vpn-connection.h
7764 - Add a "Banner" property that contains the returned VPN server login
7765 banner (if any); valid only in the ACTIVATED state
7766 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
7767 a 'reason' argument and emits that reason along with the
7768 state-changed signal
7769 - Fix up calls to nm_vpn_connection_set_state() to include a reason
7770 - (nm_vpn_connection_ip4_config_get): save banner for later
7771 - (nm_vpn_connection_get_banner, get_property,
7772 nm_vpn_connection_class_init): implement Banner property
7774 * src/vpn-manager/nm-vpn-service.c
7775 - (nm_vpn_service_connections_stop): take a reason argument; copy the
7776 connection list because elements may get added/removed from it
7777 while iterating over the list
7778 - (connection_state_changed): signal now includes the 'reason' argument
7780 * libnm-glib/nm-vpn-connection.c
7781 libnm-glib/nm-vpn-connection.h
7782 - (nm_vpn_connection_get_banner): new function
7783 - (state_changed_proxy): handle reason argument
7785 2007-09-28 Tambet Ingo <tambet@gmail.com>
7789 Implement device activation through NMManager.
7790 Implement "pending device activation" here - If the connection isn't found,
7791 we try to wait for up to 5 seconds for the connection to be provided.
7792 Add NMConnectionType argument to "connection-added" and "connection-removed"
7794 (nm_manager_get): Remove. Finally.
7796 * src/nm-activation-request.c:
7797 * src/nm-activation-request.h:
7798 Remove all the deferred activation code.
7800 * src/nm-device.c: Remove all the deferred activation code. Once the device
7801 activation is started, it's started. Update the activation virtual function
7804 * src/nm-device-interface.c:
7805 * src/nm-device-interface.h:
7806 Device activation now takes only NMActRequest argument.
7807 Don't expose device activation directly on dbus, it's supposed to go through
7810 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
7812 Use the new device activation methods through NMManager.
7814 * introspection/nm-manager-client.xml:
7815 * introspection/nm-manager.xml:
7816 * libnm-glib/nm-client.c:
7817 * libnm-glib/nm-client.h:
7818 Add device activation method.
7820 * libnm-glib/nm-device.c:
7821 * libnm-glib/nm-device.h:
7822 * introspection/nm-device.xml:
7823 Remove device activation method. It's done through NMManager now.
7825 * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
7826 new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
7828 2007-09-28 Dan Williams <dcbw@redhat.com>
7830 * libnm-glib/nm-vpn-connection.c
7831 - (nm_vpn_connection_get_state): try to update state if the current
7834 2007-09-27 Dan Williams <dcbw@redhat.com>
7836 Patch from Bill Nottingham
7838 * src/supplicant-manager/nm-supplicant-config.c
7839 - (ADD_STRING_VAL): use correct length for binary blobs when sending
7840 data to the supplicant
7842 2007-09-27 Dan Williams <dcbw@redhat.com>
7844 * src/NetworkManagerSystem.c
7845 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
7846 and all address manipulation here should be happening on the
7847 _VPN_ device, not the active device
7849 2007-09-26 Dan Williams <dcbw@redhat.com>
7853 src/nm-activation-request.c
7854 src/nm-activation-request.h
7855 - Move the GetSecrets stuff out of the NMManager instance because it
7856 doesn't really need to be there and complicates things
7859 - (connection_secrets_failed_cb, device_activation_go): connect to the
7860 connection-secrets-failed signal and deactivate the device if
7861 the GetSecrets call fails
7863 * src/nm-device-802-11-wireless.c
7864 - (link_timeout_cb, supplicant_connection_timeout_cb,
7865 real_act_stage2_config, real_act_stage4_ip_config_timeout): request
7866 secrets and give correct hints about whether new secrets should be
7867 asked for by the client or not
7869 2007-09-26 Dan Williams <dcbw@redhat.com>
7871 * src/vpn-manager/nm-vpn-connection.c
7872 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
7873 connection_secrets_updated_cb, get_secrets_cb): don't need to attach
7874 to the secrets-updated signal of the NMConnection since updating
7875 the secrets is done within the scope of the NMVPNConnection object
7877 - (get_connection_secrets): fix an uninialized variable usage error
7879 2007-09-26 Dan Williams <dcbw@redhat.com>
7881 * libnm-util/nm-setting.c
7882 - (setting_vpn_properties_update_secrets): implement so VPN secrets
7883 actually get updated when the user enters them
7885 2007-09-26 Dan Williams <dcbw@redhat.com>
7887 * libnm-glib/nm-vpn-plugin.c
7888 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
7890 2007-09-26 Dan Williams <dcbw@redhat.com>
7892 * include/NetworkManagerVPN.h
7893 - Add a NEED_AUTH state
7895 * src/vpn-manager/nm-vpn-connection.c
7896 - Implement the NEED_AUTH state. First ask the VPN service plugin if
7897 the connection needs secrets, and if so, then ask the settings
7898 service to fill in the secrets. Then start the connection.
7900 2007-09-26 Dan Williams <dcbw@redhat.com>
7902 * src/vpn-manager/nm-vpn-manager.c
7903 - (new_vpn_error, impl_vpn_manager_connect): set errors
7905 2007-09-26 Dan Williams <dcbw@redhat.com>
7907 * introspection/nm-vpn-plugin.xml
7908 libnm-glib/nm-vpn-plugin.c
7909 libnm-glib/nm-vpn-plugin.h
7910 - (impl_vpn_plugin_need_secrets): implement a call that should return
7911 the name of the NMSetting in an NMConnection that may require
7912 secrets specific to that VPN plugin
7914 2007-09-26 Dan Williams <dcbw@redhat.com>
7918 - (nm_manager_get_connection_secrets): make static, unused outside
7920 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
7922 2007-09-26 Tambet Ingo <tambet@gmail.com>
7924 * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
7926 (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
7927 unreference the connection.
7929 * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
7930 passing properties hash and routes string list, pass NMConnection (in hashed form).
7932 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
7933 as GSList, no need to copy stuff around anymore.
7934 (nm_vpn_connection_activate): Update the plugin activation method.
7936 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
7937 routes argument to GSList.
7939 2007-09-26 Tambet Ingo <tambet@gmail.com>
7941 * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
7942 state and try to get the secrets.
7944 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
7945 connections from NMManager and let the device to choose the best from the list.
7946 Since the connection list is sorted by system ones first and user ones later,
7947 the devices still prefer system connections like they did before.
7948 (deactivate_old_device): Implement. When a device starts activation, we have a
7949 policy (for now at least) to deactivate any other device that might be either
7950 active or still activating.
7952 * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
7953 It's set on construction, there will be no other way to access it.
7955 * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
7956 device events and drive the device, not the other way around.
7958 * src/nm-device-802-3-ethernet.c: Ditto.
7960 * src/nm-device.c (nm_device_get_best_connection): The connections list is now
7961 sent along, pass it on to virtual functions.
7963 * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
7964 for now, but should really be public instead of nm_device_get_iface() since iface
7965 is a property of the DeviceInterface, not Device.
7966 (impl_device_activate): Don't touch NMManager!
7968 2007-09-26 Jürg Billeter <j@bitron.ch>
7970 * initscript/paldo/NetworkManager.in:
7971 * initscript/paldo/NetworkManagerDispatcher.in:
7972 * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
7973 (nm_system_flush_loopback_routes): update paldo backend
7975 2007-09-26 Tambet Ingo <tambet@gmail.com>
7977 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
7978 The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
7979 which means none of the devices get brought down properly, which in turn leaves
7980 DHCP client running.
7982 * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
7983 (supplicant_connection_timeout_cb): Ditto.
7985 2007-09-25 Dan Williams <dcbw@redhat.com>
7988 - (device_activation_go): small hack to work around race when
7989 activating deferred connections; should solve this in a better way
7991 2007-09-25 Dan Williams <dcbw@redhat.com>
7993 * introspection/nm-device.xml
7994 libnm-glib/nm-device.c
7995 libnm-glib/nm-device.h
7996 - Add 'Carrier' property to exported NMDevice objects
7998 * src/nm-device-interface.h
7999 src/nm-device-interface.c
8001 - Add a 'carrier' property to internal NMDevice objects
8003 2007-09-25 Dan Williams <dcbw@redhat.com>
8005 * src/nm-device-802-11-wireless.c
8006 - (ap_auth_enforced): also return the encryption status of the AP so
8007 that callers can differentiate easily between unencrypted APs
8008 and encrypted ones, in addition to whether the AP has an
8010 - (link_timeout_cb, supplicant_connection_timeout_cb,
8011 real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8012 previously would request secrets from unencrypted APs at times
8014 2007-09-25 Dan Williams <dcbw@redhat.com>
8017 - (nm_manager_update_state): new function; updates state and emits
8018 appropriate signals ensuring a state-change signal for the same state
8019 never gets emitted twice in a row.
8020 - (manager_device_state_changed): handle more device state to get a
8021 better picture of the overall NM state
8023 2007-09-25 Dan Williams <dcbw@redhat.com>
8025 * libnm-glib/nm-settings.c
8026 libnm-glib/nm-settings.h
8027 - (new_error -> nm_settings_new_error): make public so that subclasses
8028 can use the same error domain. Also pass a valid error code to
8029 g_error_new_literal() so that libdbus doesn't assert when converting
8030 the GError into a DBusError
8031 - (impl_settings_list_connections, impl_connection_settings_get_id,
8032 impl_connection_settings_get_settings,
8033 impl_connection_settings_get_secrets): use new error creator
8036 2007-09-25 Dan Williams <dcbw@redhat.com>
8038 * src/NetworkManager.c
8039 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8041 2007-09-25 Dan Williams <dcbw@redhat.com>
8043 * src/supplicant-manager/nm-supplicant-manager.c
8044 - (poke_supplicant_cb, nm_supplicant_manager_init,
8045 nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8046 nm_supplicant_manager_startup): when the supplicant isn't running,
8047 try to start it periodically via system bus activation. Fixes
8048 a problem where if wpa_supplicant goes away, NM gets stuck waiting
8049 for the supplicant to come back
8051 2007-09-25 Dan Williams <dcbw@redhat.com>
8053 Ensure that old activation requests are forgotten about; previously
8054 hitting Cancel in the password dialog would deactivate whatever device
8055 that password was requested for, even if that wasn't the currently
8056 activating connection.
8060 - (nm_manager_get_connection_secrets): track the pending call
8061 object so it can be canceled later if needed
8062 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8063 GetSecrets call for a particular connection
8065 * src/nm-activation-request.c
8066 - (dispose): cancel any outstanding GetSecrets calls on the
8069 2007-09-25 Dan Williams <dcbw@redhat.com>
8071 * src/NetworkManagerPolicy.c
8072 - (nm_policy_device_change_check): handle devices that have a
8073 deferred activation. These devices are not really active _yet_,
8074 but need to be treated as such here. Don't interrupt them
8077 * src/nm-device-interface.c
8078 - (impl_device_activate): handle devices that have a deferred activation
8079 like activating or active devices. When multiple active devices
8080 get committed, the device shouldn't be deactivated until the
8081 connection details are available to avoid DoS and such. Currently,
8082 any active, activating, or deferred activation device is deactivated
8083 here before starting the new activation request.
8085 2007-09-25 Dan Williams <dcbw@redhat.com>
8087 Properly re-query secrets from the settings daemon when stuff fails.
8089 * src/nm-device-802-11-wireless.c
8090 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8091 between Shared Key and Open System auth modes
8092 - (link_timeout_cb, supplicant_connection_timeout_cb,
8093 real_act_stage4_ip_config_timeout): clear existing secrets and
8094 request new ones when something fails due to a suspected wrong key
8095 - (real_act_stage2_config): fix for new request_new argument to
8096 nm_manager_get_connection_secrets()
8100 - (nm_manager_get_connection_secrets): return error status; pass
8101 new request_new argument on to the settings daemon
8103 * introspection/nm-settings-connection.xml
8104 - New 'request_new' argument to the GetSecrets call that hints to the
8105 settings daemon to ask the user for completely new secrets
8107 * libnm-glib/nm-settings.c
8108 libnm-glib/nm-settings.h
8109 - (impl_connection_settings_get_secrets): handle new 'request_new'
8112 2007-09-25 Dan Williams <dcbw@redhat.com>
8114 * libnm-util/nm-connection.c
8115 libnm-util/nm-connection.h
8116 - (nm_connection_clear_secrets): new function; clear secrets out of
8117 each NMSetting in an NMConnection
8119 * libnm-util/nm-setting.h
8120 libnm-util/nm-setting.c
8121 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear
8122 secrets out of an NMSetting
8123 - (nm_setting_connection_new, nm_setting_ip4_config_new,
8124 nm_setting_wired_new, nm_setting_wireless_new,
8125 nm_setting_wireless_security_new, nm_setting_ppp_new,
8126 nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8127 to default handler default_setting_clear_secrets()
8129 2007-09-25 Dan Williams <dcbw@redhat.com>
8131 * src/nm-activation-request.c
8132 src/nm-activation-request.h
8133 - (nm_act_request_is_deferred): new function
8135 2007-09-24 Dan Williams <dcbw@redhat.com>
8137 * src/nm-device-802-11-wireless.c
8138 - (activation_success_handler): update signal strength immediately
8141 2007-09-24 Dan Williams <dcbw@redhat.com>
8143 * libnm-util/nm-setting.c
8144 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8146 2007-09-24 Dan Williams <dcbw@redhat.com>
8148 * src/NetworkManagerPolicy.c
8149 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8150 device by deactivating it because it doesn't have a "best connection".
8151 Since autoconnect=False connections aren't automatically chosen,
8152 NM would interrupt activation of such a connection because it
8153 would never be "best" due to autoconnect=False.
8155 2007-09-24 Dan Williams <dcbw@redhat.com>
8158 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8159 actually has some time to enter a key before the GetSecrets call
8162 2007-09-24 Dan Williams <dcbw@redhat.com>
8164 * introspection/nm-manager.xml
8166 - (impl_manager_legacy_state): fix 'state' method call return value
8168 2007-09-24 Matthias Clasen <mclasen@redhat.com>
8170 * test/Makefile.am: Install nm-tool
8172 2007-09-24 Dan Williams <dcbw@redhat.com>
8174 Patch from Ross Burton <ross@burtonini.com>
8177 callouts/nm-dhcp-client-action.c
8179 src/vpn-manager/nm-vpn-connection.c
8180 libnm-glib/libnm-glib-test.c
8183 2007-09-24 Dan Williams <dcbw@redhat.com>
8185 * libnm-util/nm-utils.h
8186 libnm-util/nm-utils.c
8187 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8190 2007-09-23 Dan Williams <dcbw@redhat.com>
8192 * vpn-daemons/vpnc/properties/nm-vpnc.c
8193 - Update for new VPN properties API bits; instead of passing around
8194 a lot of random things, everything goes into the NMConnection
8197 2007-09-23 Dan Williams <dcbw@redhat.com>
8199 * libnm-util/nm-setting.c
8200 - Correctly dispose of settings objects if creating them from a hash
8203 2007-09-23 Dan Williams <dcbw@redhat.com>
8205 * libnm-util/nm-setting.c
8206 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8207 the hash table in a standard manner. Clients of libnm-util should
8208 only call g_hash_table_remove_all(), never destroy the hash table
8211 2007-09-22 Dan Williams <dcbw@redhat.com>
8213 * src/nm-device-802-11-wireless.c
8214 - (real_bring_up): update signal strength every 6 seconds, not 2. No
8215 real reason to do it so often, and reduces wakeups for clients.
8217 2007-09-21 Dan Williams <dcbw@redhat.com>
8219 * src/nm-device-802-11-wireless.c
8220 - (build_supplicant_config): wpa_supplicant requires the option
8221 key_mgmt=NONE for unencrypted networks
8222 - (real_act_stage2_config): clarify log message on activation
8224 2007-09-21 Dan Williams <dcbw@redhat.com>
8226 * test/nm-supplicant-test.c
8228 - Remove supplicant test binary; no longer applicable
8230 2007-09-21 Dan Williams <dcbw@redhat.com>
8232 * src/supplicant-manager/nm-supplicant-manager.c
8233 - (nm_supplicant_manager_init): poke the supplicant at startup to
8234 activate it on the system bus
8236 2007-09-20 Dan Williams <dcbw@redhat.com>
8238 * initscript/RedHat/NetworkManager.in
8239 - dhcdbd is no longer used, so don't try to start it from the initscripts
8241 2007-09-20 Dan Williams <dcbw@redhat.com>
8244 - (nm_device_is_activating): work around a race between auto-activation
8245 and the user activating the same device that is being auto-activated
8247 2007-09-20 Dan Williams <dcbw@redhat.com>
8249 * src/nm-device-interface.c
8250 - (impl_device_activate): until multiple active device support lands,
8251 ensure only one device can be active at a time
8253 2007-09-20 Dan Williams <dcbw@redhat.com>
8255 * src/supplicant-manager/nm-supplicant-config.c
8256 src/supplicant-manager/nm-supplicant-config.h
8257 - (nm_supplicant_config_add_option): hide secrets from system logs
8259 2007-09-20 Dan Williams <dcbw@redhat.com>
8261 * src/NetworkManagerPolicy.c
8262 - (nm_policy_device_change_check): re-enable the wireless device change
8263 checking code; insted of checking for SSIDs, check for the same
8266 2007-09-20 Dan Williams <dcbw@redhat.com>
8268 * src/nm-device-802-11-wireless.c
8269 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8270 composite link state when determining when to start the disconnection
8271 timer; that link state is already based on the supplicant interface's
8272 status which is exactly what's already being examined, plus the link
8273 state is a conglomeration of various things that we don't want here
8275 2007-09-20 Dan Williams <dcbw@redhat.com>
8277 * libnm-glib/nm-access-point.c
8278 - (handle_property_changed): strength is a UCHAR
8280 2007-09-20 Dan Williams <dcbw@redhat.com>
8282 * src/supplicant-manager/nm-supplicant-config.c
8283 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8284 string list keywords too since that's what wpa_supplicant wants
8286 2007-09-20 Dan Williams <dcbw@redhat.com>
8288 * libnm-util/nm-setting.c
8289 - (convert_strv_to_slist): dupe the values in the list because since
8290 the list is a boxed value, it'll get destroyed when it's container
8291 (like a hash table or whatever) gets destroyed
8293 2007-09-20 Tambet Ingo <tambet@gmail.com>
8295 * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8298 * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8300 * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8301 just use (g_object_set_data_full).
8303 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8304 that NMSettingVPN->routes is a GSList, convert it to char **.
8305 (nm_vpn_connection_ip4_config_get): Free routes when done.
8306 (nm_vpn_connection_activate): Ditto.
8308 * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8309 (real_act_stage2_config): Use defined setting names.
8311 2007-09-20 Dan Williams <dcbw@redhat.com>
8313 * src/nm-device-802-11-wireless.c
8316 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8317 so that the device can be deactivated if secrets are wrong
8319 2007-09-20 Dan Williams <dcbw@redhat.com>
8321 * introspection/nm-settings-connection.xml
8322 libnm-glib/nm-settings.c
8323 libnm-glib/nm-settings.h
8324 - Make GetSecrets asynchronous on the server side
8326 2007-09-20 Dan Williams <dcbw@redhat.com>
8330 - (nm_device_activate): actually check if a given connection
8331 exists before assuming it doesn't
8333 2007-09-20 Tambet Ingo <tambet@gmail.com>
8335 * libnm-util/nm-connection.c (register_default_creators): Use defined
8336 setting names. Register NMSettingVPN and NMSettingVPNProperties.
8338 * libnm-util/nm-setting.c: Define property name strings, use them.
8339 Implement NMSettingVPN and NMSettingVPNProperties settings.
8340 Implement NM_S_TYPE_GVALUE_HASH.
8341 (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8342 (setting_connection_verify): Rename 'devtype' property to 'type'.
8344 * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8347 * src/vpn-manager/nm-vpn-service.c: Ditto.
8349 * src/vpn-manager/nm-vpn-connection.c: Ditto.
8351 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8352 (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8354 * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8355 names. NMSettingConnection->devtype got renamed to 'type'.
8357 * src/nm-device-802-3-ethernet.c (find_best_connection):
8358 (real_get_best_connection): Ditto.
8360 * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8362 * libnm-glib/nm-vpn-manager.[ch]: Update.
8364 2007-09-19 Dan Williams <dcbw@redhat.com>
8366 * src/NetworkManagerAP.c
8367 src/NetworkManagerAP.h
8368 introspection/nm-access-point.xml
8369 - Change strength-changed signal into a properties-changed signal
8370 for all properties, not just strength. Export that signal over dbus
8371 so listeners don't have to poll NM for changes.
8372 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8373 get exported over D-Bus, so break up the logic and let other bits
8374 decided when to export the AP
8375 - (nm_ap_new_from_ap): remove, unused
8377 * src/nm-device-802-11-wireless.c
8378 - (merge_scanned_ap): only export APs that are actually on the device
8379 list, not every AP created internally
8381 * libnm-glib/nm-access-point.c
8382 libnm-glib/nm-access-point.h
8383 - Cache properties internally and only hit DBus when needed. Get
8384 property updates from NM signals
8386 2007-09-16 Dan Williams <dcbw@redhat.com>
8388 * libnm-util/nm-connection.c
8389 libnm-util/nm-connection.h
8390 - (nm_connection_for_each_setting_value): new function; iterate over
8391 each setting's value and call a user-provided function with details
8394 * libnm-util/nm-setting.c
8395 libnm-util/nm-setting.h
8396 - (nm_setting_enumerate_values): new function; enumerate the values
8397 of a specific NMSetting subclass for a user-provided function with
8398 details about that value
8399 - Change wep_tx_keyidx to a uint32
8400 - Create settings value tables for each setting defining their type,
8401 key name, offset into the NMSetting subclass' structure, and whether
8402 they are required and/or a secret
8403 - (nm_setting_populate_from_hash): generic function to populate an
8404 NMSetting from a GHash table, make all settings use it
8405 - (nm_setting_hash): generic function to derive a GHashTable from
8406 an NMSetting object, make all settings use it
8408 2007-09-14 Dan Williams <dcbw@redhat.com>
8410 Remove unused stuff in libnm-util
8413 libnm-util/Makefile.am
8414 libnm-util/cipher-private.h
8415 libnm-util/cipher-wep-ascii.c
8416 libnm-util/cipher-wep-ascii.h
8417 libnm-util/cipher-wep-hex.c
8418 libnm-util/cipher-wep-hex.h
8419 libnm-util/cipher-wep-passphrase.c
8420 libnm-util/cipher-wep-passphrase.h
8421 libnm-util/cipher-wpa-psk-hex.c
8422 libnm-util/cipher-wpa-psk-hex.h
8423 libnm-util/cipher-wpa-psk-passphrase.c
8424 libnm-util/cipher-wpa-psk-passphrase.h
8427 libnm-util/dbus-helpers.c
8428 libnm-util/dbus-helpers.h
8429 libnm-util/gnome-keyring-md5.c
8430 libnm-util/gnome-keyring-md5.h
8433 src/nm-device-802-11-wireless.c
8434 test/libnm-util/Makefile.am
8435 test/libnm-util/test-ciphers.c
8436 test/libnm-util/test-dbus-helpers.c
8437 test/libnm-util/test-inputs.h
8440 2007-09-14 Dan Williams <dcbw@redhat.com>
8442 * libnm-util/dbus-method-dispatcher.c
8443 libnm-util/dbus-method-dispatcher.h
8446 2007-09-14 Dan Williams <dcbw@redhat.com>
8448 Implement deferred activation support in the device class.
8450 * src/nm-device-interface.c
8451 src/nm-device-interface.h
8452 - (nm_device_interface_activate): take more arguments to support
8453 deferred activation; callers must pass one of (connection) OR
8454 (service_name, connection_path)
8455 - (impl_device_activate): connection validation is punted to the device
8456 to be able to handle deferred activation. Yes, this means errors
8457 don't get returned from the Activate() dbus call, and yes, that
8458 should be fixed somehow later.
8462 - (clear_act_request): clear additional deferred activation stuff too
8463 - (deferred_activation_timeout_cb): new function; clean up when
8464 deferred activation times out.
8465 - (deferred_activation_start_cb): new function; when the connection
8466 finally becomes available, start device activation
8467 - (nm_device_activate): attach to the right signals of the activation
8468 request if we need to defer activation until the connection is valid
8470 * src/NetworkManagerPolicy.c
8471 - (nm_policy_device_change_check): update for additional arguments
8472 required for nm_device_interface_activate(). Pass NULL for these
8473 though because this function already knows exactly which
8476 2007-09-14 Dan Williams <dcbw@redhat.com>
8478 Implement deferred activation handling in the NMActRequest class. When a
8479 client wants to activate a device but must create the NMConnection details
8480 on the fly, there likely hasn't been enough time yet for NM to receive the
8481 new connection signal and grab all the connection details. So the
8482 activation is deferred (and bounded by a timer) for a while, and if the
8483 connection appears within the window, it is activated.
8485 * src/nm-activation-request.c
8486 src/nm-activation-request.h
8487 - (nm_act_request_class_init): two new signals to support deferred
8488 activation, to allow the listener to handle both timeout and success
8489 - (nm_act_request_new_deferred): new function, starts the deferred
8490 activation timeout handler and listens to the NMManager for
8491 new-connection signals to notice when the connection comes in
8493 2007-09-14 Dan Williams <dcbw@redhat.com>
8497 - (nm_manager_get_connection_service_name,
8498 nm_manager_get_connection_dbus_path): get details about a connection
8499 known internally by the NMManager
8500 - (nm_manager_class_init): fix connection add/remove signal marshalers
8501 because NMConnection is now a GObject subclass
8502 - Use constant for the gobject data tag used on NMConnection objects for
8503 storing the associated DBusGProxy
8505 2007-09-14 Dan Williams <dcbw@redhat.com>
8510 src/supplicant-manager/Makefile.am
8511 src/dhcp-manager/Makefile.am
8512 src/backends/Makefile.am
8513 src/named-manager/Makefile.am
8514 src/ppp-manager/Makefile.am
8515 src/vpn-manager/Makefile.am
8516 test/libnm-util/Makefile.am
8517 test/test-common/Makefile.am
8518 - Remove utils/; it was unused
8520 2007-09-13 Dan Williams <dcbw@redhat.com>
8522 * libnm-glib/nm-vpn-manager.h
8523 libnm-glib/nm-vpn-manager.c
8524 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8526 2007-09-13 Dan Williams <dcbw@redhat.com>
8528 * src/nm-device-802-3-ethernet.c
8529 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8530 netlink monitor carrier signals on dispose, not bring down. The
8531 carrier signals should be handled over the entire lifetime of the
8532 device anyway, not created/destroyed on up or down.
8534 2007-09-13 Dan Williams <dcbw@redhat.com>
8536 * libnm-glib/nm-device.c
8537 libnm-glib/nm-device.h
8538 - (nm_device_activate): take a connection object path rather than an
8539 NMConnection because NMConnection isn't exported over D-Bus and
8540 therefore it dbus-glib can't automatically get an object path from it
8542 2007-09-13 Dan Williams <dcbw@redhat.com>
8544 * libnm-util/nm-setting.c
8545 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8547 2007-09-13 Tambet Ingo <tambet@gmail.com>
8549 * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8551 2007-09-12 Tambet Ingo <tambet@gmail.com>
8553 * src/vpn-manager/nm-vpn-connection.[ch]:
8554 * src/vpn-manager/nm-vpn-manager.[ch]:
8555 * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using
8556 dbus-glib, GObjects, signals etc.
8558 * libnm-glib/nm-vpn-manager.[ch]:
8559 * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8560 so much, rewrite these too.
8562 * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8563 the new introspection files.
8565 * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8567 * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8568 the header with the same name from libnm-utils.
8570 * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8572 * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8574 * introspection/nm-vpn-plugin.xml: Implement.
8576 * introspection/nm-vpn-connection.xml: Implement.
8578 * introspection/nm-vpn-manager.xml: Implement.
8580 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8581 the named manager argument, it can just as easily get it as the caller.
8582 (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8584 * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8586 * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8588 * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8591 * libnm-util/nm-connection.c: Ditto.
8593 * src/NetworkManagerMain.h: Remove, it's finally empty.
8595 * configure.in: Remove utils/ from build.
8597 * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8598 of hard-coded strings.
8600 * utils/: Move it over to libnm-util.
8602 * test/Makefile.am: Link against libnm-util now that util/ is gone.
8604 * dispatcher-daemon/Makefile.am: Ditto.
8606 * src/Makefile.am: Ditto.
8608 2007-09-12 Dan Williams <dcbw@redhat.com>
8610 Wireless connections can be made with config data from the applet now.
8614 * src/supplicant-manager/nm-supplicant-config.h
8615 src/supplicant-manager/nm-supplicant-config.c
8616 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8617 - (nm_supplicant_config_add_setting_wireless,
8618 nm_supplicant_config_add_setting_wireless_security): new functions;
8619 add key/value pairs from the settings objects to the supplicant
8622 * src/nm-device-802-11-wireless.c
8623 - (cull_scan_list): fix check to not prune currently associated AP
8624 - (build_supplicant_config, real_act_stage2_config): call the functions
8625 of the NMSupplicantConfig that parse settings objects rather than
8626 doing it manually here
8628 2007-09-12 Dan Williams <dcbw@redhat.com>
8630 * src/supplicant-manager/nm-supplicant-interface.c
8631 src/supplicant-manager/nm-supplicant-marshal.list
8632 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8633 "connection-error" signal arguments should be STRING not CHAR
8635 2007-09-12 Dan Williams <dcbw@redhat.com>
8637 * src/NetworkManagerUtils.c
8638 src/NetworkManagerUtils.h
8639 - (nm_utils_hexstr2bin): new function
8641 2007-09-11 Dan Williams <dcbw@redhat.com>
8644 - (connection_get_settings_cb): emit connection-added signal
8645 - (connection_removed_cb): uncomment bits for system settings service,
8646 send connection-removed when appropriate
8647 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8648 the stack by trying to g_object_set_data() on something that's
8649 not a GObject; handle case where settings service returns
8650 empty settings hash table
8652 2007-09-11 Dan Williams <dcbw@redhat.com>
8654 * src/NetworkManagerPolicy.c
8655 - (connection_added, connection_removed): trigger device change checks
8656 on connection changes
8658 2007-09-11 Dan Williams <dcbw@redhat.com>
8660 * src/nm-activation-request.c
8661 - (connection_secrets_updated_cb): fix c&p error in signal emission
8663 2007-09-11 Dan Williams <dcbw@redhat.com>
8665 * src/nm-device-802-11-wireless.c
8666 - (real_connection_secrets_updated): fix erroneous check
8668 2007-09-11 Dan Williams <dcbw@redhat.com>
8670 * introspection/nm-device.xml
8671 libnm-glib/nm-device.c
8672 libnm-glib/nm-device.c
8673 - Fix Activate call argument borkage; Activate takes 3 arguments
8675 2007-09-11 Dan Williams <dcbw@redhat.com>
8677 * libnm-glib/nm-access-point.c
8678 libnm-glib/nm-access-point.c
8679 - (nm_access_point_get_frequency): now returns guint32 to match
8680 property change on 2007-09-10
8682 2007-09-11 Dan Williams <dcbw@redhat.com>
8684 * src/nm-device-802-11-wireless.c
8685 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8686 somewhere defines 'index' and I missed this one when I fixed the
8687 shadow declaration errors earlier
8689 2007-09-11 Dan Williams <dcbw@redhat.com>
8691 * libnm-util/nm-connection.c
8692 - (nm_connection_update_secrets, need_secrets_check): move
8693 802-11-wireless-security need_secrets checks to the setting object
8694 itself, where it belongs
8696 * libnm-util/nm-setting.c
8697 libnm-util/nm-setting.h
8698 - (nm_setting_need_secrets): new function
8699 - (setting_wireless_security_verify,
8700 nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8701 - (setting_wireless_security_need_secrets): mostly copy code over
8702 from nm-connection.c
8704 2007-09-11 Dan Williams <dcbw@redhat.com>
8706 * libnm-util/nm-setting.c
8707 libnm-util/nm-setting.h
8708 - (nm_setting_update_secrets): new function; add a virtual function that
8709 subclasses can implement to update their secrets
8710 - (setting_wireless_security_update_secrets): implement that function
8711 for the 802-11-wireless-security subclass
8713 * libnm-util/nm-connection.c
8714 libnm-util/nm-connection.h
8715 - (nm_connection_update_secrets): update secrets for a Setting and
8716 emit a signal on success
8721 - (connection_get_settings_cb): enable system settings bits
8722 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8723 to request secrets from the settings dbus service and to
8724 push those secrets to the NMConnection itself
8726 * src/nm-activation-request.c
8727 src/nm-activation-request.h
8728 - Attach to the 'secrets-updated' signal of the NMConnection that's
8729 currently being activated, and proxy that signal to other listeners.
8730 Goes through the activation request because the activation request
8731 is the thing that manages the lifetime of the NMConnection that's
8734 * src/nm-device-802-11-wireless.c
8735 - (real_connection_secrets_updated): implement the connection secrets
8736 updated notification and restart activation when secrets are
8738 - (real_act_stage2_config): request secrets from the settings dbus
8739 service if secrets are needed
8743 - (clear_act_request, nm_device_activation_cancel,
8744 nm_device_deactivate_quickly, nm_device_dispose): consolidate places
8745 where the activation request is cleared
8746 - (nm_device_activate, connection_secrets_updated_cb): attach to the
8747 updated secrets signal of activation request and add a function
8748 that subclasses can override to handle it easily
8750 2007-09-11 Tambet Ingo <tambet@gmail.com>
8752 * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
8753 removal of NetworkManagerAPList.
8755 2007-09-10 Dan Williams <dcbw@redhat.com>
8757 * src/NetworkManagerAP.c
8758 src/NetworkManagerAP.h
8759 introspection/nm-access-point.xml
8760 - Change 'freq' property to a guint32 instead of a double since we
8761 weren't using the floating point bits anyway
8763 2007-09-10 Dan Williams <dcbw@redhat.com>
8765 * NetworkManagerAP.c
8767 NetworkManagerPolicy.c
8768 NetworkManagerSystem.c
8769 NetworkManagerUtils.c
8770 NetworkManagerUtils.h
8771 nm-device-802-11-wireless.c
8772 nm-device-802-3-ethernet.c
8775 vpn-manager/nm-dbus-vpn.c
8776 - Warning fixes; casts and removal of unused variables
8778 2007-09-10 Dan Williams <dcbw@redhat.com>
8780 * include/NetworkManager.h
8781 - Kill NMNetworkType; AP types don't matter any more
8783 * src/NetworkManagerAPList.c
8784 src/NetworkManagerAPList.h
8786 - Kill; NMAccessPointList has outlived it's usefulness
8788 * src/NetworkManagerAP.c
8789 src/NetworkManagerAP.h
8790 - (match_cipher, security_compatible, nm_ap_check_compatible): new
8791 functions; check if an NMConnection object is compatible with the
8793 - (freq_to_channel, channel_to_freq): utility functions for
8794 channel <-> frequency conversion
8798 - (nm_device_get_best_connection): pass the specific object around
8799 (which might be the object path of a specific AP to connect to).
8800 The get_best_connection() call should populate this on return
8801 if needed (wireless does).
8803 * src/nm-device-802-3-ethernet.c
8804 - (real_get_best_connection): handle specific_object argument
8806 * src/NetworkManager.c
8807 src/NetworkManagerMain.h
8808 - Remove unused includes
8810 * src/nm-device-802-11-wireless.c
8811 src/nm-device-802-11-wireless.h
8812 - Convert the ap_list into a GSList from an NMAccessPointList
8813 - No need for caching the 'activation_ap' since this is now determined
8814 from the specific_object of the activation request, which is
8815 populated from the get_best_connection() call or from a user request
8816 - (nm_device_802_11_wireless_update_bssid): fix warning
8817 - (get_wireless_capabilities): fix error message format arguments
8818 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
8819 - (find_best_connection, real_get_best_connection): implement
8820 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
8821 move here from NetworkManagerAPList
8822 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
8823 - (real_act_stage1_prepare): just ensure an AP exists, connection is
8824 already verified earlier
8825 - (real_act_stage2_config): use nm_connection_need_secrets()
8827 * src/NetworkManagerPolicy.c
8828 - (nm_policy_auto_get_best_device): handle specific objects
8829 - (create_connection): remove; automatic connection creation functionality
8830 is handled by the Connection objects
8831 - (nm_policy_device_change_check): handle specific_object
8833 * libnm-util/nm-connection.c
8834 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
8836 2007-09-10 Dan Williams <dcbw@redhat.com>
8839 - (query_connections): fix uninitialized variable problem that caused
8841 - (nm_manager_add_device): take devices down on startup so that we can
8842 be assured that nm_device_is_up() won't short-circuit the init
8843 process. Hack until the is_up check gets split into two pieces
8844 that aren't behaviorally confusing.
8846 2007-09-09 Dan Williams <dcbw@redhat.com>
8848 * introspection/nm-device.xml
8849 - The 'Activate' method now takes 3 arguments, a service name for the
8850 settings service (user or system), the object path of the connection
8851 to activate, and the specific object to activate, if any
8853 * src/nm-device-interface.c
8854 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
8856 - (impl_device_activate): adapt to new Activate arguments; validate
8857 the service name and get the Connection object from the NMManager
8858 before starting to activate the device with the specified connection
8860 * src/nm-device-802-3-ethernet.c
8861 - (real_get_best_connection): find the best connection, or create a
8862 default one if no existing connections can be used
8864 * src/NetworkManagerPolicy.c
8865 - (nm_policy_auto_get_best_device): Get the device's best connection
8866 and only pick the device if it has one
8867 - (nm_policy_device_change_check): disable wireless bits for now until
8868 wireless get_best_connection() can be implemented (replacing "best_ap");
8869 don't create a default connection here as the device subclass will do
8874 - (nm_manager_get): make NMManager a singleton and expose the getter
8876 - Rework internal NMManager connection handling to use the same
8877 routines for both the system and user settings services. Most calls
8878 take a new NMConnectionType argument specifying either system or user
8880 - (nm_manager_get_connection_by_object_path): new function; get a
8881 connection keyed on its object path
8883 * src/NetworkManager.c
8884 - (main): use nm_manager_get()
8886 2007-09-09 Dan Williams <dcbw@redhat.com>
8890 - (nm_device_get_best_connection): new function; get best connection
8891 for the device at that time
8893 2007-09-09 Dan Williams <dcbw@redhat.com>
8895 * src/nm-device-interface.h
8896 - Add NMDeviceInterfaceError with an UnknownConnection error
8898 2007-09-09 Dan Williams <dcbw@redhat.com>
8900 Stupid mistake on my part; object path and interface for settings service
8901 and connection objects can be the same, only the service name must be
8902 different for the system and user settings services.
8904 * include/NetworkManager.h
8906 introspection/nm-settings-connection.xml
8907 introspection/nm-settings.xml
8908 libnm-glib/nm-settings.c
8909 - (nm_connection_settings_init, query_user_connections,
8910 new_connection_cb): Unify NetworkManagerSettings and Connection
8911 interface name and object path
8913 2007-09-06 Dan Williams <dcbw@redhat.com>
8915 * libnm-glib/nm-object.c
8916 - (nm_object_get_string_property, nm_object_get_object_path_property,
8917 nm_object_get_int_property, nm_object_get_uint_property,
8918 nm_object_get_boolean_property, nm_object_get_byte_property,
8919 nm_object_get_double_property, nm_object_get_byte_array_property):
8920 clear GValues after copying their contents, fixes memory leaks
8921 after every property access because dbus-glib copies the values
8922 from the DBusMessage into the GValue already.
8924 2007-09-06 Dan Williams <dcbw@redhat.com>
8926 * introspection/nm-access-point.xml
8927 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
8928 them to be. There's some magic property name parsing going on in
8929 dbus-glib that breaks up property names based on studly-caps and
8930 puts - between words.
8932 * libnm-glib/nm-access-point.c
8933 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
8936 2007-09-06 Dan Williams <dcbw@redhat.com>
8939 - (nm_manager_user_connections_destroy): clear the user connections hash
8940 table, don't destroy it
8941 - (finalize): only destroy the hash table on NMManager finalization
8943 2007-09-02 Dan Williams <dcbw@redhat.com>
8945 * include/NetworkManager.h
8946 libnm-glib/nm-settings.c
8947 - defines for the user settings daemon D-Bus bits
8949 * src/NetworkManager.c
8950 - Remove stuff that referred to the old NetworkManagerInfo service
8952 * src/vpn-manager/nm-dbus-vpn.h
8953 - Move old NMI defines to the only place they are used still
8955 * libnm-util/nm-connection.c
8956 libnm-util/nm-connection.h
8957 src/nm-activation-request.c
8958 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
8962 - Get connections and their settings from the user settings daemon
8963 at the appropriate times
8965 2007-09-02 Dan Williams <dcbw@redhat.com>
8967 * libnm-util/nm-setting.c
8968 - (nm_settings_verify): correct setting name is 'connection', not 'info'
8969 - (setting_wireless_hash): set the right value on the item
8971 2007-09-02 Dan Williams <dcbw@redhat.com>
8975 - Remove, no longer useful
8977 2007-08-30 Dan Williams <dcbw@redhat.com>
8980 src/NetworkManagerDbus.c
8981 src/NetworkManagerDbus.h
8982 src/vpn-manager/nm-dbus-vpn.c
8983 - Remove, no longer necessary. Move last bits to the only place its
8984 used, in nm-dbus-vpn.c
8986 * src/NetworkManagerAPList.c
8988 src/NetworkManager.c
8989 src/nm-device-802-11-wireless.c
8990 src/vpn-manager/nm-vpn-manager.c
8991 src/vpn-manager/nm-vpn-service.c
8992 src/NetworkManagerPolicy.c
8994 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
8995 that was message_is_error()
8997 2007-08-30 Dan Williams <dcbw@redhat.com>
9000 - Include config.h to get defines for endiannes (gnome.org #420216)
9002 2007-08-30 Dan Williams <dcbw@redhat.com>
9004 Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9006 * src/ppp-manager/Makefile.am
9007 - use -fPIC (gnome.org #471825)
9009 2007-08-29 Dan Williams <dcbw@redhat.com>
9011 * include/NetworkManager.h
9012 - Keep NMConnection object path in sync
9014 * libnm-glib/nm-settings.c
9015 libnm-glib/nm-settings.h
9016 - Break D-Bus object registration out of the init function, because
9017 every object that's exported over D-Bus needs to use the _same_
9018 DBusConnection. Otherwise, each object would get a different object
9019 path tree and wouldn't be callable.
9021 2007-08-29 Dan Williams <dcbw@redhat.com>
9023 * libnm-util/nm-setting.h
9024 libnm-util/nm-setting.c
9025 libnm-util/nm-connection.c
9026 src/NetworkManagerPolicy.c
9027 - 'info' settings object should be 'connection' says the spec
9028 at NetworkManagerConfigurationSpecification
9030 2007-08-29 Dan Williams <dcbw@redhat.com>
9032 * libnm-glib/nm-settings.c
9033 libnm-glib/nm-settings.h
9034 - make the dbus path a property of the object, and autogenerate it.
9035 It can't be composed of the 'id' field becuase that's not available
9036 yet during the GObject creation in nm_connection_settings_init()
9038 2007-08-29 Dan Williams <dcbw@redhat.com>
9040 * introspection/nm-settings-connection.xml
9041 introspection/nm-settings.xml
9042 - Service name -> NetworkManagerUserSettings because two services
9043 can't share part of the same path. I'm not really sure how we'll use
9044 the same code with the system-settings daemon...
9046 2007-08-28 Dan Williams <dcbw@redhat.com>
9048 * src/nm-device-interface.c
9049 src/nm-device-interface.h
9050 - Kill one more bit of NMData
9052 2007-08-28 Dan Williams <dcbw@redhat.com>
9054 * src/NetworkManagerSystem.h
9057 src/nm-hal-manager.c
9058 src/NetworkManager.c
9059 src/nm-device-802-11-wireless.c
9060 src/nm-hal-manager.h
9061 src/nm-device-802-3-ethernet.c
9062 src/vpn-manager/nm-vpn-service.h
9063 src/vpn-manager/nm-vpn-manager.c
9064 src/vpn-manager/nm-vpn-manager.h
9065 src/vpn-manager/nm-vpn-service.c
9066 src/nm-device-802-11-wireless.h
9067 src/NetworkManagerMain.h
9068 src/nm-device-802-3-ethernet.h
9069 src/backends/NetworkManagerGentoo.c
9070 src/backends/NetworkManagerPaldo.c
9071 src/backends/NetworkManagerFrugalware.c
9072 src/backends/NetworkManagerRedHat.c
9073 src/backends/NetworkManagerSlackware.c
9074 src/backends/NetworkManagerGeneric.c
9075 src/backends/NetworkManagerArch.c
9076 src/backends/NetworkManagerSuSE.c
9077 src/backends/NetworkManagerGeneric.h
9078 src/backends/NetworkManagerDebian.c
9081 2007-08-28 Dan Williams <dcbw@redhat.com>
9083 * src/NetworkManagerMain.h
9084 src/nm-device-802-11-wireless.c
9085 src/NetworkManager.c
9086 - Remove invalid AP list from NMData; need to rework this somewhat, but
9087 for now we should set the 'invalid' property on individual APs, and when
9088 we need to invalidate a whole ESS, set the 'invalid' on every member of
9091 2007-08-28 Dan Williams <dcbw@redhat.com>
9093 * src/NetworkManagerAP.c
9094 src/NetworkManagerAP.h
9095 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9096 'autoconnect' property instead
9098 * src/NetworkManager.c
9099 src/NetworkManagerMain.h
9100 src/NetworkManagerPolicy.c
9101 src/NetworkManagerPolicy.h
9102 - Remove the 'allowed_ap_list', which should be replaced by
9103 NMConnection/NMSettings instead, since _those_ are the allowed
9104 things that NM can connect to
9106 * src/nm-device-802-11-wireless.c
9107 - Remove both allowed_ap_list usage and 'fallback' checking
9109 2007-08-28 Dan Williams <dcbw@redhat.com>
9112 src/named-manager/nm-named-manager.c
9113 src/named-manager/nm-named-manager.h
9114 src/NetworkManager.c
9115 src/vpn-manager/nm-vpn-manager.c
9116 src/NetworkManagerMain.h
9117 src/NetworkManagerSystem.c
9118 - Remove the named-manager object from NMData structure in preparation
9119 for NMData's timely death. Make the NMNamedManager the singleton that
9122 2007-08-28 Dan Williams <dcbw@redhat.com>
9124 Remove NMAPSecurity objects, they are replaced with flags on the APs for
9125 each AP's capabilities, and by NMConnection/NMSettings objects for user
9126 defined connections.
9128 * include/NetworkManager.h
9129 - Redefine 802.11 security properties. There are now device capabilities
9130 and AP flags and AP security flags. It was way to unclear before.
9133 src/nm-ap-security-leap.h
9134 src/nm-ap-security-leap.c
9135 src/nm-ap-security-wpa-eap.c
9136 src/nm-ap-security-wpa-eap.h
9137 src/nm-ap-security-private.h
9138 src/nm-ap-security-wpa-psk.c
9139 src/nm-ap-security-wpa-psk.h
9140 src/nm-ap-security-wep.c
9141 src/nm-ap-security-wep.h
9142 src/nm-ap-security.c
9143 src/nm-ap-security.h
9144 - Removed, to be replaced with NMConnection/NMSettings objects
9148 - Removed, to be replaced by code that talks to the new info daemon
9149 interface and gets NMConnection/NMSettings objects
9151 * src/backends/NetworkManagerSuSE.c
9152 - Remove usage of NMAPSecurity; should be replaced by a system-level
9153 info-daemon that does the same thing but talks the new info-daemon
9156 * src/NetworkManagerAP.h
9157 src/NetworkManagerAP.c
9158 src/NetworkManagerAPList.c
9159 libnm-glib/libnm-glib-test.c
9160 - Remove usage of NMAPSecurity objects and adjust to new flags for
9163 * libnm-glib/nm-access-point.c
9164 libnm-glib/nm-access-point.h
9165 introspection/nm-access-point.xml
9167 - Adjust to new flags for AP security
9171 src/vpn-manager/nm-dbus-vpn.c
9172 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9173 stuff which is the only place it's used
9175 * src/nm-device-interface.c
9176 src/nm-device-interface.h
9177 introspection/nm-device.xml
9178 src/nm-activation-request.c
9179 src/nm-activation-request.h
9181 - Add a new 'specific_object' argument that hints to NM what actual
9182 AP or other device-specific thing the connection should apply to.
9183 NMConnection objects can apply to more than one actual device/AP.
9185 * libnm-util/nm-connection.c
9186 * libnm-util/nm-connection.h
9187 - Add 'have_secrets" call stubs
9189 * libnm-util/cipher.h
9190 - Move NM_AUTH_TYPE_* defines here for now
9192 * src/nm-device-802-11-wireless.c
9193 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9196 * src/NetworkManagerDbus.c
9197 * src/NetworkManagerPolicy.c
9198 - Remove usage of update_allowed_networks, should be pushing data in
9201 2007-08-27 Tambet Ingo <tambet@gmail.com>
9203 * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path,
9204 dbus-glib frees it when the call is done.
9206 2007-08-26 Dan Williams <dcbw@redhat.com>
9208 * introspection/nm-device.xml
9209 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9211 2007-08-26 Dan Williams <dcbw@redhat.com>
9213 * src/nm-device-802-3-ethernet.c
9214 - (constructor): move connection of interface-connected/disconnected
9215 signals here from real_bring_up(). Should be listening to netlink
9216 for carrier events no matter what the initial state of the device
9219 2007-08-26 Dan Williams <dcbw@redhat.com>
9221 * src/nm-netlink-monitor.c
9222 - (nm_netlink_monitor_class_init): fix marshalling types for
9223 interface-connected/interface-disconnected
9224 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9227 2007-08-26 Dan Williams <dcbw@redhat.com>
9229 Convert to using interface indexes as the primary method of identifying
9230 devices inside NetworkManager. Indexes are (?) stable, but devices can
9231 be renamed at any time. Device object paths now refer to the device
9232 index rather than the name, and you can map those two manually if you like
9233 by looking in the /sys/class/net/<name>/ifindex file. Also moves most
9234 netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9235 to use interface indexes rather than names.
9237 2007-08-26 Dan Williams <dcbw@redhat.com>
9239 * src/nm-netlink-monitor.h
9240 - Remove one last bit of wireless-event signal
9242 2007-08-26 Dan Williams <dcbw@redhat.com>
9244 * src/nm-netlink-monitor.c
9245 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9246 don't need the 'wireless-event' signal anymore since that's all
9247 handled by wpa_supplicant
9249 2007-08-25 Dan Williams <dcbw@redhat.com>
9251 It's 2007. Remove support for drivers that don't support wireless scanning.
9254 include/NetworkManager.h
9255 src/NetworkManagerUtils.c
9256 src/NetworkManagerPolicy.c
9257 src/nm-device-802-11-wireless.c
9258 - Remove special handling for non-scanning devices and mark them
9259 as unsupported/unhandled
9261 2007-08-20 Dan Williams <dcbw@redhat.com>
9263 * src/nm-device-802-11-wireless.c
9264 src/nm-device-802-3-ethernet.c
9265 - (real_is_up): move device-specific tests before generic IFF_UP test,
9266 because when the card is pulled or the module removed, the device
9267 is already !IFF_UP and then device-specific cleanup (removing
9268 the supplicant interface, periodic checks, etc) never gets done
9270 2007-08-20 Dan Williams <dcbw@redhat.com>
9273 - (nm_manager_remove_device): bring device down before disconnecting
9274 signal handlers, so that the 'state' signal will get broadcast when
9275 the device enters the DOWN state
9276 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9277 of states that cause the NMManager to recheck its state
9279 2007-08-20 Dan Williams <dcbw@redhat.com>
9281 * src/supplicant-manager/nm-supplicant-interface.c
9282 - (interface_disconnect_done): don't try to dispose of the net proxy
9283 when it may already have been disposed of
9285 2007-08-20 Dan Williams <dcbw@redhat.com>
9287 * src/nm-device-802-11-wireless.c
9288 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9289 the SSID isn't available; this can happen when the card is pulled
9290 or the module unloaded, during the post-removal deactivation
9291 paths, when the ioctl returns ENODEV
9293 2007-08-20 Dan Williams <dcbw@redhat.com>
9295 * src/nm-device-802-11-wireless.c
9296 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9297 frequency, and mode match. Applets are now responsible for grouping
9300 2007-08-20 Dan Williams <dcbw@redhat.com>
9302 * src/NetworkManagerAP.c
9303 * src/NetworkManagerAP.h
9304 - (nm_ap_print_self): new function
9306 * src/NetworkManagerAPList.c
9307 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9310 2007-08-17 Dan Williams <dcbw@redhat.com>
9312 * src/nm-device-802-3-ethernet.c
9313 - (real_bring_down): don't try to dispose of stuff that might not
9316 2007-08-17 Dan Williams <dcbw@redhat.com>
9318 * src/NetworkManagerAP.c
9319 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9320 applet. This ensures that the case between the seen-bssids and
9321 the bssids reported by the driver match.
9323 2007-08-17 Dan Williams <dcbw@redhat.com>
9325 * src/nm-device-802-11-wireless.c
9326 - (device_cleanup): disconnect the interface in wpa_supplicant before
9327 we dispose of the interface proxy in NM
9329 2007-08-16 Dan Williams <dcbw@redhat.com>
9331 * libnm-glib/nm-client.c
9332 - (nm_client_init): create VPN connections hash table with key free
9334 - (proxy_vpn_connection_added): VPN connections hash table key should
9335 be a duplicated value, not the same memory address as the VPN
9336 connection name. This is because the VPN connection name could
9337 potentially be freed and set to something else during the lifetime
9338 of the NMVPNConnection object.
9340 2007-08-16 Tambet Ingo <tambet@gmail.com>
9342 * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9343 (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9344 with the file descriptors. Send a child setup function to change the pppd
9347 2007-08-15 Dan Williams <dcbw@redhat.com>
9349 * src/supplicant-manager/nm-supplicant-interface.c
9350 - (try_remove_iface): new function, ask wpa_supplicant to remove
9352 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9353 disposing of the NMSupplicantInterface. Otherwise weird stuff
9354 happens on hotplug if wpa_supplicant doesn't tear down and readd
9355 the interface internally
9357 2007-08-15 Dan Williams <dcbw@redhat.com>
9359 * src/nm-device-802-11-wireless.c
9360 - (real_bring_down): move most of this function into device_cleanup()
9361 so that it can be called from elsewhere
9362 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9363 and stuff on dispose. These would normally get cleaned up when
9364 the device is marked down and deactivated, but when the device is
9365 hot-unplugged, it's already down and real_down() never gets run
9367 2007-08-15 Dan Williams <dcbw@redhat.com>
9370 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9371 caused a reference leak on device for which NM requested a key
9373 2007-08-15 Dan Williams <dcbw@redhat.com>
9375 * libnm-glib/nm-client.c
9376 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9378 2007-08-15 Tambet Ingo <tambet@gmail.com>
9380 * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9381 nothing is using it at the moment, but it'll be all useful and stuff later on.
9383 * libnm-util/nm-setting.h: Define NMSettingPPP.
9385 * libnm-util/nm-setting.c: Implement NMSettingPPP.
9387 * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9389 * src/Makefile.am: Add ppp-manager to SUBDIRS.
9391 * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9393 * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9395 2007-08-14 Tambet Ingo <tambet@gmail.com>
9397 * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9399 * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9400 an issue with dbus-glib bindings generator. The issue is, the generated C caller
9401 functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9402 name and different arguments and it won't compile anymore. To fix this, we now have
9403 two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9404 that is new API + compatibility API and used by the daemon. The other,
9405 nm-manager-client.xml is only the new API without compatibility bits and is used
9406 by libnm-glib to make it compile.
9408 * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9410 * src/nm-manager.c (impl_manager_legacy_sleep)
9411 (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9412 interface functions for 0.6 branch.
9414 2007-08-14 Dan Williams <dcbw@redhat.com>
9416 * src/NetworkManagerAP.c
9417 - (nm_ap_new_from_properties): fix mistaken check of return value
9418 from memcmp (should expect 0)
9420 2007-08-14 Dan Williams <dcbw@redhat.com>
9422 (force-commit to fix wrong comment and partial commit of r2685; this
9423 commit actually applies to r2685)
9425 * src/NetworkManagerUtils.c
9426 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9427 ignores trailing nulls in the SSID to work around mismatches in
9428 expectations between WEXT and what the info-daemon passes back. The
9429 info-daemon would pass back the correct length, but due to the
9430 ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9431 the device would always have an SSID + 1 depending on what versions
9432 of wpa_supplicant, the kernel, and NM you have. This was most often
9433 visible by just quitting the applet and relaunching, which caused
9434 NM to reassociated to the same network over again when reloading
9437 * src/NetworkManagerPolicy.c
9438 src/NetworkManagerUtils.h
9439 src/nm-device-802-11-wireless.c
9440 - Update for new parameter to nm_utils_same_ssid()
9442 2007-08-14 Dan Williams <dcbw@redhat.com>
9444 * src/NetworkManagerAP.c
9445 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs. Today
9446 I encountered a BSS that wasn't just hiding it's ESSID, it was
9447 setting the BSSID to all 0s. That confused the heck out of NM,
9448 plus it's useless and probably out-of-spec.
9450 2007-08-14 Dan Williams <dcbw@redhat.com>
9452 * callouts/Makefile.am
9453 src/dhcp-manager/nm-dhcp-manager.c
9454 src/dhcp-manager/nm-dhcp-manager.h
9455 src/dhcp-manager/Makefile.am
9456 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9458 2007-08-14 Dan Williams <dcbw@redhat.com>
9460 * src/dhcp-manager/nm-dhcp-manager.c
9461 - (dhclient_run): don't pass -x to dhclient until we figure out if
9462 it's really needed, get rid of unused xtra_args parameter
9464 2007-08-14 Dan Williams <dcbw@redhat.com>
9466 * include/NetworkManagerVPN.h
9467 src/vpn-manager/nm-dbus-vpn.c
9468 src/vpn-manager/nm-dbus-vpn.h
9469 src/vpn-manager/nm-vpn-act-request.c
9470 src/vpn-manager/nm-vpn-act-request.h
9471 src/vpn-manager/nm-vpn-service.c
9472 src/vpn-manager/nm-vpn-service.h
9473 libnm-glib/nm-vpn-connection.c
9474 libnm-glib/nm-vpn-connection.h
9475 libnm-glib/nm-client.h
9476 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState ->
9477 NMVPNServiceState to clarify what they apply to
9478 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9479 NMVPNActStage -> NMVPNConnectionState for the same reason
9481 * libnm-glib/nm-client.c
9482 - Constant + type renames from above
9483 - Properly handle NameOwnerChanged/manager_running signals
9484 for NM service; only emit when state really changes
9485 - Use hash tables correctly so that the key (which was previously owned
9486 by the D-Bus message) now has the same lifetime as the value, since
9487 the key is now taken from the the NMVPNConnection itself. This
9488 really fixes the double-VPN names in the applet
9490 2007-08-13 Dan Williams <dcbw@redhat.com>
9492 Patch from Michael Biebl <biebl@debian.org>
9496 - Update for vpn-properties move
9498 2007-08-13 Dan Williams <dcbw@redhat.com>
9500 * libnm-glib/nm-client.c
9501 - Convert internal VPN connection tracking from a list to a hash table
9502 to easily avoid duplicates
9503 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9504 must be freed by the caller, like nm_client_get_devices()
9505 - (nm_client_remove_vpn_connection): don't let the removal signal
9506 leak through for NMVPNConnection objects that aren't actually
9508 - (manager_running): throw away VPN connection list when NM goes away,
9509 like with the device list
9511 2007-08-13 Dan Williams <dcbw@redhat.com>
9513 * src/dhcp-manager/nm-dhcp-manager.c
9514 - Stop any dhclient instance that might be already running for a
9515 particular interface before starting an NM spawned dhclient. Fixes
9516 dhclient processes left over if NM crashes, stuff like that.
9518 2007-08-13 Dan Williams <dcbw@redhat.com>
9520 * src/NetworkManagerAP.c
9521 - (finalize): don't try to g_array_free (NULL, ...), which happened
9522 when the AP wasn't broadcasting it's SSID
9524 2007-08-13 Rodrigo Moya <rodrigo@gnome-db.org>
9526 * include/NetworkManager.h: added DBus path for connection settings.
9528 * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9529 nm_connection_settings_signal_updated,
9530 nm_connection_settings_signal_removed): new functions to wrap the
9532 (nm_connection_settings_init): register GObject with DBus.
9533 (nm_connection_settings_get_dbus_object_path): new function.
9535 * libnm-glib/Makefile.am: added libnmutil to link flags.
9537 2007-08-13 Tambet Ingo <tambet@gmail.com>
9539 * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9541 * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9542 libnm_glib directory got merged with libnm-glib/.
9544 * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9546 * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9547 Rename the library from libnm-glib to libnm_glib to maintain the library API
9548 compatibility with 0.6 branch.
9550 * Makefile.am: Remove gnome/ SUBDIR.
9552 * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9554 * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9556 * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9558 * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9560 Remove checks for wpa_supplicant binary, it's used over dbus.
9561 Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9563 * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9564 Link the binaries with libnm_glib.la.
9566 2007-08-12 Dan Williams <dcbw@redhat.com>
9568 * src/NetworkManagerPolicy.c
9569 - (nm_policy_device_change_check): fix policy to deactivate old device
9570 before activating new one, at least until the multiple active
9571 device support lands
9573 2007-08-12 Dan Williams <dcbw@redhat.com>
9575 * src/NetworkManagerPolicy.c
9576 - (nm_policy_new): hook up to connection-added / connection-removed
9577 signals instead of connections-changed
9579 2007-08-12 Dan Williams <dcbw@redhat.com>
9581 Kill dhcdbd until it's dead, dead, dead. Based on a patch from
9582 Robert Frank <rfrank@redhat.com>
9584 * src/dhcp-manager/nm-dhcp-manager.c
9585 src/dhcp-manager/nm-dhcp-manager.c
9587 - Spawn and communicate with dhclient directly, through means of a
9588 custom dhclient callout script. Process callout D-Bus signals
9589 with dbus-glib instead of hand-rolled dbus. DHCP timeouts are now
9590 sent via gobject signals rather than being driven by the dhcp manager
9593 2007-08-12 Dan Williams <dcbw@redhat.com>
9595 * callouts/nm-dhcp-client-action.c
9596 - (build_message): ignore non-DHCP-related environment variables
9598 2007-08-12 Dan Williams <dcbw@redhat.com>
9602 callouts/Makefile.am
9603 callouts/nm-dhcp-client-action.c
9604 callouts/nm-dhcp-client.conf
9605 - Add dhclient-executed callout that takes the place of dhclient-script
9606 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9609 2007-08-09 Tambet Ingo <tambet@gmail.com>
9611 [Based on patch by Helmut Schaa <hschaa@suse.de>]
9613 * libnm-glib/nm-client.h:
9614 * libnm-glib/nm-object.h:
9615 * libnm-glib/nm-vpn-connection.h:
9616 * libnm-glib/nm-settings.h:
9617 * libnm-glib/nm-device.h:
9618 * libnm-glib/nm-ip4-config.h:
9619 * libnm-glib/nm-access-point.h:
9620 * libnm-glib/nm-device-802-3-ethernet.h:
9621 * libnm-util/nm-setting.h:
9622 * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9624 * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9626 * libnm-glib/nm-access-point.c: Strength has type char.
9628 * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9629 to fix build. GnomeDruid is deprecated in recent libgnomeui.
9631 * introspection/nm-access-point.xml: Strength property is char, not int.
9633 * src/NetworkManagerAP.c (set_property): Set strength from char.
9634 (get_property): Handle hidden APs (with empty SSID).
9635 Get strength value from char.
9636 (nm_ap_class_init): Strength property has char type.
9638 2007-08-03 Rodrigo Moya <rodrigo@gnome-db.org>
9640 * introspection/Makefile.am:
9641 * introspection/nm-settings.xml:
9642 * introspection/nm-settings-connection.xml: added Settings interfaces.
9644 * libnm-glib/nm-settings.[ch]:
9645 * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9646 containing the DBus implementation.
9648 2007-07-26 Dan Williams <dcbw@redhat.com>
9650 Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9652 * src/NetworkManagerSystem.c
9653 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9654 same subnet (#437396)
9656 2007-07-26 Dan Williams <dcbw@redhat.com>
9658 Patch from Kelemen Gábor <kelemeng@gnome.hu>
9660 * gnome/vpn-properties/nm-vpn-properties.c
9661 - Fix translatable strings (#445865)
9663 2007-07-26 Dan Williams <dcbw@redhat.com>
9665 Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9668 - Remove useless junk (#412530)
9670 2007-07-10 Christopher Aillon <caillon@redhat.com>
9672 Patch from Robert Buchholz <rbu@gentoo.org>:
9676 * introspection/Makefile.am:
9677 Make make distcheck work again.
9679 2007-06-27 Dan Williams <dcbw@redhat.com>
9681 * Make SSIDs GByteArrays everywhere
9682 * Rename "essid" -> "ssid" everywhere that's appropriate
9683 * Refcount activation_ap member of the 802.11 wireless device class
9685 2007-06-27 Tambet Ingo <tambet@ximian.com>
9687 * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9689 2007-06-22 Tambet Ingo <tambet@ximian.com>
9691 * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9692 that we got a new AP when we just update existing AP properties.
9694 2007-06-21 Tambet Ingo <tambet@ximian.com>
9696 * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9698 * nm-utils.[ch]: Remove.
9700 * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9701 objects for easy property access and dbus connection handling.
9703 * libnm-glib/nm-client.c: Derive from NMObject.
9705 * libnm-glib/nm-device.c: Ditto.
9707 * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9709 * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9711 * libnm-glib/nm-ip4-config.c: Ditto.
9713 * libnm-glib/nm-access-point.c: Ditto.
9715 * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9716 comparision. Currently used by the device activation code to determine if the new
9717 activation is the same as the old one.
9719 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9720 wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9721 able to ask password for the AP.
9723 * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9724 up if the device is already connected, tear down it's connection (if it isn't the
9725 same as new one) and start the activation.
9727 * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9729 * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9730 the issue where all APs are always listed as encrypted.
9732 * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9733 their own registered paths.
9735 * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9736 device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9738 2007-06-13 Tambet Ingo <tambet@ximian.com>
9740 * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
9743 * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
9744 because the handling code will cause the next state change and signal listeners
9745 get the signals in wrong order.
9747 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
9748 correctly in case of pending activation.
9750 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9751 Convert the essid byte array to string correctly, including the terminating NULL.
9753 * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
9754 mode with correct types.
9756 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
9757 constructed info to dbus call instead of the activation request.
9759 2007-06-11 Christopher Aillon <caillon@redhat.com>
9761 Patch from Christian Persch <chpe@gnome.org>
9763 * libnm-glib/Makefile.am:
9764 * dispatcher-daemon/Makefile.am:
9765 Use the correct variables, the correct paths, and correct ordering. (446315)
9767 2007-06-11 Tambet Ingo <tambet@ximian.com>
9769 * src/nm-device.c: Make the activation stage virtual functions take NMDevice
9770 argument. The activation request is easy to retrieve.
9772 * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
9773 just to be a convenient location for devices to store random stuff.
9775 2007-06-11 Christopher Aillon <caillon@redhat.com>
9777 Patch from Alex Smith <alex@alex-smith.me.uk>
9779 * src/backends/NetworkManagerFrugalware.c:
9780 Update the FrugalWare backend to fix a few segfaults. (#392642)
9782 2007-06-08 Tambet Ingo <tambet@ximian.com>
9784 * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
9786 * libnm-util/nm-connection.c (register_default_creators): Register wireless security
9788 (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
9790 2007-06-06 Tambet Ingo <tambet@ximian.com>
9792 * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
9794 Implement NMSettingIP4Config.
9795 Finish NMSettingWired by adding all known members.
9796 (setting_wired_verify): Implement.
9797 Finish NMSettingWireless by adding all known members.
9798 (setting_wireless_verify): Implement.
9800 * libnm-util/nm-connection.c: Register "ipv4" setting.
9801 (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
9802 dump function, we can introspect the GHashTable which is used for sending connections
9805 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9806 Take GByteArray for essid, it's really not a string.
9808 * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
9809 Start DHCP request if setting is not passed or if it states that DHCP should be used.
9810 (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
9811 means overriding the values we got from DHCP.
9812 (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
9813 (nm_device_deactivate_quickly): Ditto.
9815 * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
9818 2007-05-07 Tambet Ingo <tambet@ximian.com>
9820 * libnm-glib/Makefile.am: Link with libnm-util to gain access to
9823 * libnm-glib/nm-device-802-11-wireless.c:
9824 (nm_device_802_3_ethernet_activate): Remove.
9826 * libnm-glib/nm-device-802-3-ethernet.c
9827 (nm_device_802_3_ethernet_activate): Remove.
9829 * libnm-glib/nm-device.c (nm_device_activate): Implement.
9831 * src/nm-device-802-3-ethernet.c: Implement the new activation using
9834 * src/nm-device-802-11-wireless.c: Store an activation AP once the
9835 activation has started.
9836 Implement the new activation using NMConnection.
9838 * src/nm-activation-request.c: Store a generic connection object instead
9839 of a wireless-specific AP.
9841 * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
9842 on device type, create a device specific connection object suitable for
9845 * src/nm-device.c (nm_device_activate): Re-implement. Call the device
9846 specific check to validate the connection and on success start the
9849 * src/nm-device-interface.h: Add a activate virtual function to the
9850 interface definition.
9852 * src/nm-device-interface.c (nm_device_interface_activate): Implement.
9853 (impl_device_activate): Implement.
9855 * introspection/nm-device.xml: Add a generic device activation interface
9856 that accepts an abstract NMConnection structure that has device-specific
9859 * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
9860 activation interface.
9862 * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
9863 activation interface.
9865 * libnm-util/nm-connection.c:
9866 * libnm-util/nm-connection.h:
9867 * libnm-util/nm-setting.c:
9868 * libnm-util/nm-setting.h: Add.
9870 * libnm-util/Makefile.am: Build the added files.
9872 * src/nm-dbus-manager.c
9873 (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
9874 DbusConnection argument from 'name-owner-changed' signal. The manager
9875 is already passed as a first argument to the signal and the connection
9876 is easy enough to get from it.
9878 * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
9879 Update the signature of the function.
9881 * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
9884 * src/NetworkManager.c: Ditto.
9886 * src/named-manager/nm-named-manager.c
9887 (nm_named_manager_name_owner_changed): Ditto.
9889 * src/supplicant-manager/nm-supplicant-manager.c
9890 (nm_supplicant_manager_name_owner_changed): Ditto.
9892 * src/nm-hal-manager.c (name_owner_changed): Ditto.
9894 * src/dhcp-manager/nm-dhcp-manager.c
9895 (nm_dhcp_manager_name_owner_changed): Ditto.
9897 * src/nm-hal-manager.c: Add a list of device detectors and creators
9898 to make it easier to add new devices. Each device type has it's own
9899 entry in the table so adding new device types is only a matter of
9900 implementing a couple of functions, one for device detection and the
9901 other for device creation.
9903 2007-04-25 Dan Williams <dcbw@redhat.com>
9905 * initscript/RedHat/NetworkManager.in: remove trailing backslash
9908 2007-03-30 Dan Williams <dcbw@redhat.com>
9910 * src/NetworkManagerSystem.c
9911 - (nm_system_device_set_ip4_route): clean up and fix argument
9912 to nm_dev_sock_open()
9914 2007-03-28 Tambet Ingo <tambet@ximian.com>
9916 * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
9917 data to correct types instead of always using string.
9919 * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
9920 _not_ have NM_802_11_CAP_PROTO_NONE.
9921 (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
9924 2007-03-27 Tambet Ingo <tambet@ximian.com>
9926 * libnm-glib/Makefile.am: Fix the build issue.
9928 2007-03-26 Tambet Ingo <tambet@ximian.com>
9930 * libnm-glib/nm-vpn-connection.h:
9931 * libnm-glib/nm-vpn-connection.c: Implement.
9933 * libnm-glib/nm-client.c: Add VPN support.
9935 * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
9938 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
9941 2007-03-26 Dan Williams <dcbw@redhat.com>
9943 * src/NetworkManagerAPList.c
9944 * src/nm-device-802-11-wireless.c
9945 * src/NetworkManagerAP.c:
9946 - Store last seen as glong instead of GTimeVal.
9947 - Fix the upper bound of capabilities, it's a bitfield.
9949 2007-03-16 Tambet Ingo <tambet@ximian.com>
9951 * libnm-glib/nm-device.c (nm_device_get_description): Implement.
9953 * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
9954 "manager-running" signal that notifies the appearance/disappearance of NM.
9955 (nm_client_sleep): Implement.
9957 * libnm-glib/nm-device.c:
9958 * libnm-glib/nm-device-802-11-wireless.c:
9959 * libnm-glib/nm-device-802-3-ethernet.c:
9961 Don't inherit from DBusGProxy, add a proxy to private
9962 data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
9963 for anything but their own dbus interface. DBusGProxy objects support only one
9964 interfaces and to work around this, NMDevice has spearate proxy for each dbus
9965 interface. The nice side effect of this change is that we do not create a new
9966 DBusGProxy object for each property access.
9968 2007-03-15 Tambet Ingo <tambet@ximian.com>
9970 * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
9971 with zeroes before passing them to functions - the functions never do that and
9972 reading the values back may produce wrong values.
9973 (real_bring_up): Store the signal handler id ...
9974 (real_bring_down): ... So that it can be removed here.
9975 Disconnect the supplicant interface here as well.
9976 (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
9977 from the access point instead of old $device/Networks/$essid.
9979 * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
9980 device state is connected (instead of just having link/carrier).
9982 * src/nm-activation-request.c: Don't store NMData in activation request, it's
9983 already easily accessible through the device.
9985 * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
9986 store it within the object.
9987 (nm_ap_get_dbus_path): Export it to public as well.
9989 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
9992 2007-03-12 Dan Williams <dcbw@redhat.com>
9994 Get rid of 2 second poll of sysfs 'carrier' file for wired devices. Useless
9995 for non-carrier-detect capable devices, and useless for carrier-detect
9996 devices since we get notifications from netlink about carrier status anyway.
9998 * src/nm-device-802-3-ethernet.c
9999 - remove 'link_source_id' member from private data
10000 - (probe_link): remove and collapse into real_update_link()
10001 - (nm_device_802_3_periodic_update): remove
10002 - (real_is_up): check for sup_iface rather than link_source_id
10003 - (real_bring_up): return gboolean for success/fail; require that
10004 sup_iface be valid for device bringup to succeed
10005 - (real_bring_down): zero out link signal ids
10008 - (nm_device_activate_stage2_device_config): fail activation if device
10010 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10012 - (nm_device_bring_up): return success/fail
10015 - bring_up now returns success/fail
10017 * src/nm-device-802-11-wireless.c
10018 - (real_bring_up): return success from bringup
10020 2007-03-07 Dan Williams <dcbw@redhat.com>
10022 Patch from Simon Geard <delgarde@ihug.co.nz> (Gnome.org #394956)
10023 * src/nm-ap-security-wpa-psk.c
10024 - (real_write_supplicant_config): work with PSKs that may contain
10025 zeros in the binary format rather than treating it as a string
10027 2007-03-02 Tambet Ingo <tambet@ximian.com>
10029 * libnm-glib/nm-device-802-11-wireless.c
10030 (nm_device_802_11_wireless_get_capabilities): Implement.
10032 * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10034 * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10036 * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10037 reply only if it's not NULL. Not sure why this started happening right now.
10039 * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10040 code paths for when devices get removed on shutdown or when a device is just
10042 (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10043 gets freed so any signal from a device (disconnected for instance) would invoke
10044 NMState update which would crash.
10045 (nm_manager_remove_device): Bring the device down when it gets removed.
10047 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10048 the unused dev_type.
10050 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10051 reference to the added device, NMManager will own it (if it wants).
10053 * test/nm-tool.c: Rewrite using libnm-glib.
10055 * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10056 We get signalled when it changes.
10058 * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10061 * libnm-glib/nm-device.c: Cache the device state property.
10063 * libnm-glib/nm-access-point.c: Cache the strength property.
10065 * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10066 The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10067 and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10068 until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10069 the device is down, activating, or activated (in case of A/B/G cards).
10070 Remove some old dead ifdef'ed out code that used to configure wireless devices,
10071 it's all done through supplicant now.
10073 * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10074 counting issues with pending calls which caused leaks and crashes when
10075 interface was removed (now that the interface actually gets removed).
10077 * src/nm-call-store.c: Make a copy of data before running a foreach
10078 with user callback on it - The most common usage pattern is to cancel
10079 (and thus remove) all pending calls with foreach which would modify
10080 the hash table we're iterating over.
10082 * src/nm-manager.c: When a device is added, make sure it is "up". When
10083 it's removed or disabled due to disabling wireless or networking, bring
10086 * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10088 * src/nm-device-802-11-wireless.c:
10089 * src/nm-device-802-3-ethernet.c:
10091 - Remove "init" virtual function, all gobjects have a place for that
10092 already (constructor).
10093 - Replace "start" virtual function with "bring_up", devices can be
10094 brought up and down more than just on startup now.
10095 - Add "is_up" virtual function.
10096 - Implement one way to bring a device down instead of previous 4 different
10097 ways, each of witch did something different.
10099 * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10100 all it needs is the device interface.
10102 Get rid of NMData.dev_list (3 members to go).
10103 Get rif of NMData in a lot of places.
10105 * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10107 2007-02-23 Dan Williams <dcbw@redhat.com>
10109 Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10111 * src/NetworkManagerAP.c
10112 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10113 OR-ing rather than AND-ing
10115 2007-02-20 Tambet Ingo <tambet@ximian.com>
10117 * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10118 "network-removed" signals.
10120 * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10122 * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10123 when receiving the signal from dbus.
10125 * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10128 * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10129 deactivation of the previously activated device working again.
10131 * src/nm-activation-request.c: Remove NMActStage property and it's getter
10134 * src/nm-device.c (nm_device_is_activated): Remove.
10135 state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10137 * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10138 NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10139 NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10140 NM_DBUS_SIGNAL_STATE_CHANGE signal.
10141 Remove NMNetworkStatus and NMActStage enums.
10143 2007-02-19 Tambet Ingo <tambet@ximian.com>
10145 * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10146 Handle device state changes and disconnect VPN if it's device deactivates.
10148 * src/nm-dbus-nm.c:
10149 * src/nm-dbus-nm.h:
10150 * src/nm-dbus-device.c:
10151 * src/nm-dbus-device.c:
10152 * src/nm-dbus-net.c:
10153 * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10155 * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10157 * src/nm-device.c (nm_device_get_by_udi):
10158 (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10159 implemented in the correct location (NMManager).
10160 Rip out all the test_device stuff.
10162 * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10163 failure handlers, it's all done by NMDevice already.
10165 * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10166 Remove the iochannel hack to route the unix signals to the main thread since
10167 we're not threaded anymore.
10169 * src/NetworkManagerAP.c: Implement HWAddress property.
10171 * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10172 automatically with dbus-glib.
10174 * src/nm-netlink-monitor.c:
10175 * src/nm-netlink-monitor.h:
10176 - Move it low in the class hierarchy, don't reference any NM types.
10177 - Remove private data from the header.
10178 - Use type safe checks in public API methods.
10179 - Make it a singleton so we don't have to pass the single reference around.
10181 2007-02-16 Tambet Ingo <tambet@ximian.com>
10183 * introspection/nm-ip4-config.xml: Implement.
10185 * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10187 * libnm-glib/nm-ip4-config.c:
10188 * libnm-glib/nm-ip4-config.c: Implement.
10190 * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10191 securities. APs reference security.
10193 * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10194 be exported over DBUS.
10196 * src/nm-device-802-3-ethernet.c: Ditto.
10198 * src/NetworkManagerAP.c:
10199 * src/NetworkManagerAP.h:
10200 - Convert to GObject, export over DBUS.
10202 * src/nm-ip4-config.h:
10203 * src/nm-ip4-config.h:
10204 - Convert to GObject, export over DBUS.
10206 2007-02-12 Dan Williams <dcbw@redhat.com>
10208 Patch from Helmut Schaa <hschaa@suse.de>
10210 * vpn-daemons/pptp/configure.in
10211 vpn-daemons/pptp/Makefile.am
10212 vpn-daemons/openvpn/configure.in
10213 vpn-daemons/openvpn/Makefile.am
10214 vpn-daemons/vpnc/configure.in
10215 vpn-daemons/vpnc/Makefile.am
10216 - Add --without-gnome switch which disables building gnome bits
10218 2007-02-12 Tambet Ingo <tambet@ximian.com>
10220 * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10222 * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10224 * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10227 * introspection/nm-device.xml: Remove 'UseDhcp' property.
10229 * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10231 Totally break NetworkManager. Please use 0.6 branch until futher notice.
10234 - Remove old low-level dbus interface implementations and replace them
10235 with dbus-glib one.
10238 - Require dbus-glib >= 0.72.
10239 - Plug in new sources to build.
10242 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10243 to make it more convenient to use from GObject based programs.
10246 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10248 2007-02-09 Tambet Ingo <tambet@ximian.com>
10250 * src/nm-device-802-11-wireless.c:
10251 - Add "network-added" and "network-removed" signals.
10252 - Use gobject boilerplate macros to define the GObject.
10253 - Implement wireless device activation.
10254 - Remove activation_failure_handler and activation_success_handler
10255 and instead listen on state-changed signals and run the same code
10259 - Implment NMDeviceInterface::deactivate.
10260 - Remove activation_failure_handler and activation_success_handler
10261 virtual methods. Each device which is interested in these events
10262 can just listen on it's state changed signals.
10264 * src/NetworkManagerPolicy.c:
10265 - Move a bit more NMData usage to NMManager.
10266 - Remove activation scheduling bits.
10267 - Add listeners for wireless device's "network-added" and
10268 "network-removed" signals.
10269 - Listen device changed signals and deactivate currently activated
10270 device when another device start activating (for now).
10271 - Remove (nm_policy_schedule_device_change_check): There's never a need
10272 for calling this, the policy code knows exactly when this should happen,
10273 by listening on events from NMManager and NMDevices.
10275 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10278 * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10279 method on the specific device instead of going to through policy code
10280 and determining the device type by passed in AP's existance.
10282 * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10283 abstract NMDevice deactivation.
10285 2007-02-08 Tambet Ingo <tambet@ximian.com>
10287 * src/NetworkManager.c:
10288 - Set up all the shiny new managers.
10290 * src/NetworkManagerPolicy.c:
10291 - Add the beginnings of new NMPolicy code. Instead of requireing all
10292 classes to call into policy code, make the policy code kind of like
10293 a supervisor that monitors what's going on and drives the whole NM.
10295 * src/nm-hal-manager.c:
10296 * src/nm-hal-manager.h:
10297 - Collect all libhal code scattered around NM to this one class.
10298 - Listen libhal and NMManager events and add/remove devices to
10301 * src/nm-manager.c:
10302 * src/nm-manager.h:
10303 - Implment a replacement for NMData. NMData is now officially
10306 2007-02-05 Tambet Ingo <tambet@ximian.com>
10308 * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb):
10309 * src/supplicant-manager/nm-supplicant-interface.h
10310 * src/supplicant-manager/nm-supplicant-interface.c
10311 (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10312 argument to boolean from enum.
10314 Make NMDevice abstract class, remove almost all references to it's
10315 subclasses (the last place gets removed with new policy manager). Add
10316 NMDeviceInterface (which NMDevice implements) so that when we have
10317 NMDevice exported over DBUS, there's a common NMDevice interface which
10318 all instances have, plus there's a device specific interface for each
10320 Remove functions (nm_device_is_802_3_ethernet) and
10321 (nm_device_is_802_11_wireless). There are already standard GObject macros
10322 for type safe checks.
10323 Use the updated supplican manager API.
10325 * src/nm-device-interface.h:
10326 * src/nm-device-interface.c:
10327 * src/nm-call-store.h:
10328 * src/nm-call-store.c: Implement.
10330 * src/supplicant-manager/nm-supplicant-interface.c:
10331 * src/supplicant-manager/nm-supplicant-interface.h:
10332 * src/supplicant-manager/nm-supplicant-manager.c:
10333 * src/supplicant-manager/nm-supplicant-manager.h:
10334 - Remove all private data type references from public header files.
10335 - Remove all references to other NM classes, this class is just a
10336 proxy between wpa_supplicant and NM so it doesn't have to know
10338 - Convert to dbus-glib bindings.
10339 - Type safe checks for public methods' arguments.
10340 - Store pending DBUS call ids to NMCallStore.
10342 * src/supplicant-manager/nm-supplicant-config.c:
10343 - Store config values in a GHashTable instead of GSList.
10345 * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10347 * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10350 * src/nm-device.c: Use the new DHCP manager API.
10352 * src/nm-activation-request.c:
10353 * src/nm-activation-request.h:
10354 - Remove all dhcp related properties and methods.
10356 * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10358 * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10360 * src/dhcp-manager/nm-dhcp-manager.c:
10361 * src/dhcp-manager/nm-dhcp-manager.h:
10362 - Convert it to GObject since we need to signal state changes.
10363 - Remove all references to other NM classes, this class is one
10364 of the lowest classes in our hierarchy.
10365 - One less class to use NMActRequest.
10366 - Make it singleton, one less user of NMData.
10367 - Remove a couple of sleep() calls.
10368 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10369 One less class to use the NM's custom tailored signal handlig.
10371 * Makefile.am: Generate marshallers, add them to build.
10373 2007-02-02 Dan Williams <dcbw@redhat.com>
10379 - Remove last bits referencing gnome applet
10381 2007-02-02 Dan Williams <dcbw@redhat.com>
10383 * src/vpn-manager/nm-vpn-service.c
10384 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10385 and NBNS server addresses
10387 2007-02-02 Tambet Ingo <tambet@ximian.com>
10389 * src/nm-dbus-manager.c:
10390 * src/nm-dbus-manager.h:
10391 - Convert all internal DBUS code to use dbus-glib bindings.
10392 - Remove GObject properties, we don't need them here.
10393 - Don't explicitly set things to NULL after freeing, glib is
10394 happy to do it if asked nicely (G_DEBUG=gc-friendly).
10395 - Make public API argument checks type safe.
10396 - Remove unnecessary (and wrong) cast to GObject for the first
10397 argument to g_signal_* calls - The first argument is a gpointer.
10398 - Export DBusGConnection to other cool classes that (are going to)
10401 2007-01-26 Dan Williams <dcbw@redhat.com>
10403 * libnm-util/dbus-dict-helpers.c
10404 libnm-util/dbus-dict-helpers.h
10405 - Coordinate style with wpa_supplicant version to minimize diff
10406 - Add uint32 array support
10407 - (nmu_dbus_dict_append_uint32_array): new function
10408 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10409 nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10410 version; allow adding string array elements individually
10412 * test/libnm-util/test-dbus-dict-helpers.c
10413 - Test uint32 arrays
10415 2007-01-27 Jürg Billeter <j@bitron.ch>
10417 * src/backends/NetworkManagerPaldo.c
10418 - (nm_system_update_dns): clear nscd hosts cache
10420 2007-01-04 Dan Williams <dcbw@redhat.com>
10422 Threading removal related cleanups:
10424 - Use the glib default main context. Remove the device main context
10425 member from NMDevice, and the main_context member from NMData. Change
10426 all the idle and timeout scheduler functions to use plain
10427 g_idle_add() and g_timeout_add().
10429 - As a side-effect of the first change, nm_dbus_manager_get() no longer
10430 takes an argument; fix that up too.
10432 - Remove all locking, which is useless since we no longer use threads. For
10433 example, nm_get_device_by_iface_locked() has been removed. The global
10434 device list lock, the AP List lock, and all static locks in
10435 NetworkManagerPolicy.c have been removed. The locking utility functions
10436 in NetworkManagerUtils.c have also been removed.
10438 - Other cleanups in spacing and code style
10440 2007-01-01 Dan Williams <dcbw@redhat.com>
10442 Found by Bill Moss:
10444 * src/supplicant-manager/nm-supplicant-interface.c
10445 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10446 the supplicant interface wasn't already disconnected. Always
10447 call removeNetwork and disconnect unless the supplicant interface
10448 is in the DISCONNECTED or INACTIVE state.
10450 2006-12-28 Dan Williams <dcbw@redhat.com>
10452 Use a single thread for everything. With the move to wpa_supplicant
10453 and communication over D-Bus, there's no reason for multiple threads.
10454 Almost all of the blocking code has been removed, with one exception in
10455 the DHCP manager and a few in the VPN manager. This commit removes the
10456 per-device worker thread and fixes activation cancellation in the absence
10457 of threads. Further removal of thread-related code would be removing
10458 any locking code (like the device list lock) and simplification of logic
10459 around areas of code or data structures that are currently locked.
10462 dhcp-manager/nm-dhcp-manager.c
10463 nm-device-802-11-wireless.c
10464 nm-device-802-3-ethernet.c
10467 - Remove usage of multiple threads
10469 2006-12-19 Dan Williams <dcbw@redhat.com>
10471 Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10472 plus a few other patches from wpa_supplicant bugzilla.
10475 src/NetworkManagerPolicy.c
10476 src/NetworkManagerUtils.c
10477 src/NetworkManagerUtils.h
10478 src/nm-ap-security-leap.c
10479 src/nm-ap-security-wep.c
10480 src/nm-ap-security-wpa-eap.c
10481 src/nm-ap-security-wpa-psk.c
10482 src/nm-ap-security.c
10483 src/nm-ap-security.h
10484 src/nm-device-802-11-wireless.c
10485 src/nm-device-802-11-wireless.h
10486 src/supplicant-manager/nm-supplicant-config.c
10487 src/supplicant-manager/nm-supplicant-config.h
10488 src/supplicant-manager/nm-supplicant-interface.c
10489 src/supplicant-manager/nm-supplicant-interface.h
10490 src/supplicant-manager/nm-supplicant-marshal.list
10491 src/supplicant-manager/nm-supplicant-settings-verify.c
10492 src/supplicant-manager/nm-supplicant-settings-verify.h
10493 - Move all connection management and association handling to
10494 wpa_supplicant over dbus, rather than spawning a private copy
10496 2006-12-19 Dan Williams <dcbw@redhat.com>
10498 * src/NetworkManagerPolicy.c
10499 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10500 better locking of the device change check handler ID. Incorrect
10501 locking was causing lost device change requests
10503 2006-12-18 Dan Williams <dcbw@redhat.com>
10505 * libnm-util/dbus-dict-helpers.c
10506 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10507 _nmu_dbus_dict_entry_get_byte_array): replace usage of
10508 dbus_message_iter_get_array_len() (Gnome.org #382898)
10510 2006-12-18 Dan Williams <dcbw@redhat.com>
10512 * gnome/libnm_glib/libnm_glib.c
10513 - Change dbus_connection_close() -> dbus_connection_unref()
10515 2006-12-11 Dan Williams <dcbw@redhat.com>
10517 * src/supplicant-manager/nm-supplicant-interface.c
10518 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10519 wpa_supplicant interface state
10520 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10521 state before transitioning to READY state
10523 2006-12-04 Dan Williams <dcbw@redhat.com>
10525 * src/nm-device-802-11-wireless.c
10526 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10527 odd length of ESSID returned from ieee80211 stack-based drivers
10529 2006-12-04 Dan Williams <dcbw@redhat.com>
10531 * src/nm-device-802-11-wireless.c
10532 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10533 IE handling blocks that cause mis-parsing of the IE
10535 2006-12-04 Dan Williams <dcbw@redhat.com>
10537 * src/nm-device-802-11-wireless.c
10538 - (init_supplicant_interface): new function; pull supplicant interface
10539 setup code out into standalone function since it must be called from
10540 two different places
10541 - (real_init): sup_mgr is now in private object data; get and track
10542 the supplicant manager object over the NMDevice subclass' lifetime
10543 and register a signal handler for its state signals; only try to
10544 initialize the supplicant interface if the supplicant manager is in
10545 the IDLE state (and therefore is ready for requests)
10546 - (request_wireless_scan): reschedule the scan request if (a) there is
10547 no supplicant interface yet (meaning wpa_supplicant isn't running
10548 or isn't ready yet), or (b) if the supplicant interface isn't ready
10550 - (supplicant_iface_connection_state_cb): new function; stub for
10551 handling supplicant interface connection state signals
10552 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10554 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10555 supplicant manager object that's being tracked starting with this
10558 2006-12-04 Dan Williams <dcbw@redhat.com>
10560 * src/supplicant-manager/nm-supplicant-interface.c
10561 - (nm_supplicant_interface_set_property): track signal handler ID
10562 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10564 2006-12-04 Dan Williams <dcbw@redhat.com>
10566 * src/supplicant-manager/nm-supplicant-interface.[ch]
10567 - (nm_supplicant_interface_get_state): new function
10569 2006-12-04 Dan Williams <dcbw@redhat.com>
10571 * src/supplicant-manager/nm-supplicant-interface.c
10572 - (bssid_properties_cb): don't treat DBus errors as valid
10573 scanned AP messages
10575 2006-12-04 Dan Williams <dcbw@redhat.com>
10577 * src/supplicant-manager/nm-supplicant-interface.[ch]
10578 - (nm_supplicant_interface_get_connection_state): new function
10579 - define new supplicant connection states
10580 - send a signal when the supplicant connection state changes
10582 2006-12-03 Dan Williams <dcbw@redhat.com>
10584 * src/supplicant-manager/Makefile.am
10585 src/supplicant-manager/nm-supplicant-connection.h
10586 src/supplicant-manager/nm-supplicant-connection.c
10587 src/supplicant-manager/nm-supplicant-config.h
10588 src/supplicant-manager/nm-supplicant-config.c
10589 src/supplicant-manager/nm-supplicant-types.h
10590 src/supplicant-manager/nm-supplicant-interface.h
10591 src/supplicant-manager/nm-supplicant-interface.c
10592 - Rename NMSupplicantConnection -> NMSupplicantConfig
10594 2006-12-03 Dan Williams <dcbw@redhat.com>
10596 Patch from Gabor Kelemen <kelemeng@gnome.hu> (Gnome.org #381890)
10600 - Move VPN-related translatables to .skip
10602 * vpn-daemons/pptp/po/POTFILES.in
10603 - Update with new translatables
10605 2006-12-02 Dan Williams <dcbw@redhat.com>
10607 Patch from Christian Persch <chpe@gnome.org>
10609 * gnome/applet/Makefile.am
10610 gnome/applet/applet-dbus-devices.c
10611 gnome/applet/applet-notifications.c
10612 gnome/applet/applet.c
10613 gnome/applet/applet.h
10614 gnome/applet/main.c
10615 - Be a GtkStatusIcon on GTK+ >= 2.10
10617 2006-12-02 Dan Williams <dcbw@redhat.com>
10619 * gnome/applet/applet.c
10620 - (nma_update_info): fix two unecessary allocations
10622 2006-12-02 Dan Williams <dcbw@redhat.com>
10624 Patch from Michael Biebl <biebl@teco.edu>
10626 man/NetworkManager.1.in
10627 man/NetworkManagerDispatcher.1.in
10628 man/NetworkManager.8.in
10629 man/NetworkManagerDispatcher.8.in
10630 - Add .SH NAME stanzas
10631 - Move NM & NM Dispatcher manpages to section 8 (admin)
10633 2006-12-02 Dan Williams <dcbw@redhat.com>
10635 Patch from Christian Persch <chpe@gnome.org>
10638 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10640 2006-11-29 Tambet Ingo <tambet@ximian.com>
10642 Patch by Timo Hoenig <thoenig@suse.de>:
10643 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10646 * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10647 we can't use the one from the main source directory.
10649 2006-11-27 Dan Williams <dcbw@redhat.com>
10651 Patch from Christian Persch <chpe@gnome.org>
10653 * gnome/applet/applet-dbus-devices.c
10654 - (hal_info_product_cb): fix memleak; free duped string.
10657 2006-11-27 Dan Williams <dcbw@redhat.com>
10659 Patch from Christian Persch <chpe@gnome.org>
10661 * gnome/applet/menu-items.c
10662 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10663 as gtk_progress_set_percentage is deprecated. Should
10664 work as far back as GTK+ 2.4. Gnome.org #379780
10666 2006-11-26 Dan Williams <dcbw@redhat.com>
10668 Scan using wpa_supplicant over DBus.
10670 * src/nm-device-802-11-wireless.c
10671 - remove wireless extensions netlink event handler bits
10672 (wireless_event_helper, nm_device_802_11_wireless_event)
10673 - remove wireless extensions scan event handler bits
10674 (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10675 hex2byte, hex2num, request_and_convert_scan_results,
10676 free_process_scan_cb_data, scan_results_timeout,
10677 schedule_scan_results_timeout, cancel_scan_results_timeout)
10678 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10679 and request scans from the supplicant interface rather than directly
10680 - Move functionality of convert_scan_results() to cull_scan_list() and
10681 supplicant_iface_scanned_ap_cb()
10682 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10683 at the scan interval when the current scan has finished
10684 - (supplicant_iface_state_cb): start scanning when the supplicant
10685 interface enters the READY state, and stop scanning when it
10686 enters the DOWN state
10687 - (cull_scan_list): weed out old access points from the scan list
10688 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10689 point into an NMAccessPoint and merge it into the device's scan list
10691 * src/supplicant-manager/nm-supplicant-interface.c
10692 src/supplicant-manager/nm-supplicant-interface.h
10693 - Add a new signal "scan-result" which is issued when the supplicant
10694 notifies NM that a scan has completed
10695 - Add a new signal "scanned-ap" that notifies listeners of a new access
10696 point found in the scan. Called once for each access point that
10697 the supplicant interface object receives from the supplicant as a
10698 result of the "scanResults" method call
10699 - (wpas_iface_query_scan_results): don't wait 4s before querying
10700 for the initial scan results
10701 - (scan_request_cb): new function; send listeners the result
10702 (success, error) of a wireless scan request
10703 - (nm_supplicant_interface_request_scan): new function; ask the
10704 supplicant to perform an immediate wireless scan
10706 2006-11-25 Dan Williams <dcbw@redhat.com>
10708 * src/supplicant-manager/Makefile.am
10709 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10710 add HAL cflags/includes and named-manager includes directory
10712 * src/supplicant-manager/nm-supplicant-interface.h
10713 - New state STARTING to handle transition from INIT to READY where
10714 the addInterface pending call is still outstanding
10716 * src/supplicant-manager/nm-supplicant-interface.c
10717 - track pending calls differently since we may have more than one
10718 going on at any given time
10719 - request scan results from wpa_supplicant; but don't do it more often
10720 than every 4 seconds. Drivers that do background scanning
10721 (like the 'ipw' drivers) send a continuous stream of scan completion
10722 notifications, so we don't want to hammer the supplicant or dbus
10723 with requests for all scan results every time we get a completion
10726 2006-11-25 Dan Williams <dcbw@redhat.com>
10728 * src/supplicant-manager/nm-supplicant-types.h
10729 - new file; move all supplicant manager object typedefs here for
10732 * src/supplicant-manager/nm-supplicant-interface.c
10733 src/supplicant-manager/nm-supplicant-interface.h
10734 - new file; an object that interfaces an NMDevice object to the
10735 supplicant and handles signals from the supplicant. This object
10736 does all necessary DBus communication with wpa_supplicant.
10738 * src/supplicant-manager/nm-supplicant-manager.c
10739 src/supplicant-manager/nm-supplicant-manager.h
10740 - Actually do something. Track the state of the wpa_supplicant service
10741 and deal with its comings & goings. Handle life events of
10742 supplicant interfaces too.
10743 - Move NMSupplicantManager typedef to nm-supplicant-types.h
10745 * src/supplicant-manager/nm-supplicant-connection.h
10746 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
10748 * src/supplicant-manager/Makefile.am
10749 - Add new files to build, and add libnm-util to includes
10751 * src/nm-marshal.list
10752 - New marshaler type: VOID:UINT,UINT
10754 * src/nm-device-802-3-ethernet.c
10755 - (real_init): grab a supplicant interface
10756 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
10757 - (supplicant_iface_state_cb): new function, stub for handling
10758 supplicant interface state changes
10760 * src/nm-device-802-11-wireless.c
10761 - (real_init): grab a supplicant interface
10762 - (nm_device_802_11_wireless_dispose): release the supplicant interface
10763 - (supplicant_iface_state_cb): new function, stub for handling
10764 supplicant interface state changes
10766 * src/NetworkManager.c
10767 - (main): create and keep the supplicant manager around for the lifetime
10771 - Link to the supplicant manager sub-library and use the supplicant
10774 2006-11-25 Dan Williams <dcbw@redhat.com>
10776 Rework DBus manager signal handling to be more flexible. Previously,
10777 only one signal handler could be registered for a particular interface.
10778 The DBus manager now reference counts DBus bus matches and allows multiple
10779 clients to register signal handlers for the same interface and sender.
10781 * src/NetworkManager.c
10782 - (main): track NMI signal handler ID and remove it when we quit
10784 * src/NetworkManagerMain.h
10785 - Keep track of NMI signal handler ID
10787 * src/nm-dbus-manager.c
10788 src/nm-dbus-manager.h
10789 - rework signal handling; each signal handler references one signal
10790 match, but a signal match may be referenced by one or more
10791 signal handlers. Matches are refcounted and are destroyed when the
10792 last signal handler that references the match is removed. This is
10793 necessary because two signal handlers may end up requiring the same
10794 dbus bus match, so the match must live until the last signal handler
10795 is destroyed (for example, with the wpa_supplicant network interface
10798 * src/dhcp-manager/nm-dhcp-manager.c
10799 - (nm_dhcp_manager_new): track DHCP signal handler id
10800 - (nm_dhcp_manager_dispose): remove DHCP signal handler
10802 * src/vpn-manager/nm-vpn-service.c
10803 - (nm_vpn_service_add_watch): track VPN service signal handler id
10804 - (nm_vpn_service_remove_watch): remove VPN service signal handler
10806 2006-11-25 Dan Williams <dcbw@redhat.com>
10808 Suggested by Helmut Schaa <hschaa@suse.de>
10810 * src/vpn-daemons/nm-vpn-service.c
10811 - (supplicant_child_setup): new function
10812 - (supplicant_exec): make child process use a new process group id
10814 * src/nm-device-802-11-wireless.c
10815 - (nm_vpn_service_child_setup): new function
10816 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
10819 2006-11-19 Dan Williams <dcbw@redhat.com>
10821 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377262
10822 * gnome/vpn-properties/nm-vpn-properties.c
10823 - clean up after renamed VPN connection
10825 2006-11-19 Dan Williams <dcbw@redhat.com>
10827 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377205
10828 * gnome/applet/applet-dbus-vpn.c
10829 - (nma_dbus_vpn_properties_cb): sort VPN connections
10831 * gnome/vpn-properties/nm-vpn-properties.c
10832 - (init_app): sort VPN connections
10834 2006-11-09 Dan Williams <dcbw@redhat.com>
10836 * src/NetworkManagerAPList.c
10837 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
10838 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
10839 from the nm_ap_list_get_ap_by_address() call was incorrect and
10840 broke hidden SSID matching. Found by Bill Moss.
10842 2006-10-25 Dan Williams <dcbw@redhat.com>
10845 - (nm_dbus_nm_set_active_device): return an empty success message on
10846 success, rather than falling through to the error case.
10848 2006-10-25 Dan Williams <dcbw@redhat.com>
10850 * src/NetworkManagerUtils.c
10851 - (nm_utils_supplicant_request_with_check): suppress messages for the
10854 2006-10-24 Dan Williams <dcbw@redhat.com>
10856 Reduce the number of times the Gnome applet wakes up, especially when
10857 it's doing absolutely nothing and is hidden. Initial patch by
10860 * gnome/applet/applet-dbus.c
10861 - (nma_dbus_filter): when NM isn't around, or when it goes away,
10862 kill the redraw timeout. When NM starts up, start the redraw
10863 timeout. Also, if we get kicked off the bus for some reason,
10864 start the reconnection timeout if one's not already running.
10865 - (nma_dbus_init): better handling of error conditions, don't leak
10866 a half-initialized dbus connection
10867 - (nma_dbus_connection_watcher): consolidate places we reinitialize
10868 the applet's data, just call nm_dbus_init_helper()
10869 - (nma_start_dbus_connection_watch): new function, starts a periodic
10870 timeout that calls nma_dbus_connection_watcher()
10871 - (nma_dbus_init_helper): if we get a successful connection, kill the
10872 reconnection timeout, and don't start the reconnection timeout
10873 unconditionally anymore
10875 * gnome/applet/applet-dbus.h
10876 - Expose nma_start_dbus_connection_watch()
10878 * gnome/applet/applet.c
10879 - (nma_update_state): no longer static, called from applet-dbus.c for
10880 immediate UI updates on certain events
10881 - (nma_set_running): new function; take over setting applet->running,
10882 when not running (ie, NM is not active), don't activate the redraw
10883 timeout because we're not showing the applet anyway. When we are
10884 running (ie, NM is active), and only when we're running, start the
10886 - (nma_destroy): kill the redraw timeout by setting 'not running', and
10887 kill any reconnection timeout
10888 - (nma_get_instance): move one-off dbus initialization code here since
10889 nm_dbus_init_helper() gets called more than once, possibly by the
10890 reconnection timeout function too. And, when we start up, if we
10891 can't get a connection to the bus, start the reconnection timeout.
10892 But don't start the redraw timeout yet, only do that when we get
10893 NM's state and find out if it's running or not.
10895 * gnome/applet/applet.h
10896 - Add the reconnection GSource ID
10897 - Add prototypes for nma_set_running() and the no-longer-static
10900 2006-10-24 Dan Williams <dcbw@redhat.com>
10902 * src/vpn-daemons/nm-dbus-vpnc.c
10903 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
10904 pending call tracker
10905 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
10906 pending call tracker; register one-vpn-connection update pending
10907 call in pending call tracker
10908 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
10909 update pending call in pending call tracker
10910 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
10911 update pending call in pending call tracker; don't block waiting
10914 2006-10-19 Robert Love <rml@novell.com>
10916 * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
10919 2006-10-14 Dan Williams <dcbw@redhat.com>
10921 * src/dhcp-manager/nm-dhcp-manager.c
10922 - (get_ip4_string, get_ip4_uint32s): have the caller pass
10923 the dbus connection and the device object path rather than
10924 constructing it inside both functions. Saves a bit of memory
10925 and clarifies a failure path.
10926 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
10927 and allocate device path here rather than each of the two
10930 2006-10-13 Dan Williams <dcbw@redhat.com>
10932 * src/NetworkManager.c
10933 - (nm_name_owner_changed_handler): handle NMI coming and going,
10934 this somehow droppout in the refactor
10936 2006-10-13 Dan Williams <dcbw@redhat.com>
10938 * Huge DBus refactor:
10939 - Create a "DBus Manager" object which manages the connection and
10940 sends signals on NameOwnerChanged and connection/disconnection events,
10941 handles reconnection to the bus if NM gets kicked off, and abstracts
10943 - Remove DBusConnection members from places where they are no
10944 longer needed due to the refactor, like the dbus-connection
10945 property of the named manager, and from NMData
10946 - Reformats a bunch of the code to gnome style
10947 (8-space tabs, braces on same line as statement, 80-col width).
10948 Consider it open season to reformat any bits to gnome style.
10949 style that aren't already.
10951 2006-10-13 Dan Williams <dcbw@redhat.com>
10953 * src/supplicant-manager/Makefile.am
10956 * src/supplicant-manager/nm-supplicant-manager.[ch]:
10957 - Make it a minimal GObject
10959 * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:
10960 - Verify settings destined for wpa_supplicant
10962 * src/supplicant-manager/nm-supplicant-connection.[ch]:
10963 - Minimal GObject to track wpa_supplicant controlled device
10966 2006-10-13 Wouter Bolsterlee <wbolster@gnome.org>
10968 * gnome/applet/applet.c: (nma_update_info),
10969 (nma_act_stage_to_pixbuf), (nma_update_state):
10970 Mark missing strings for translation. Fixes bug #343306.
10972 2006-10-01 Dan Williams <dcbw@redhat.com>
10974 * src/vpn-manager/nm-vpn-manager.c
10975 - (nm_vpn_manager_load_services): split and clean up
10976 for readability and correctness. Restrict VPN service
10977 files to ending in ".name", as was meant from the
10978 beginning (but not coded in). Better error reporting.
10980 2006-10-01 Dan Williams <dcbw@redhat.com>
10983 - Clean up formatting of debug/info/warning log messages
10985 2006-09-27 Robert Love <rml@novell.com>
10987 Patch by Tambet Ingo <tambet@ximian.com>:
10988 * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
10991 2006-09-07 Dan Williams <dcbw@redhat.com>
10994 test/libnm-util/Makefile.am
10995 test/nm-supplicant-test.c
10996 - Add test program emulating the way NM drives wpa_supplicant
10997 to help debug supplicant issues
10999 2006-08-24 Dan Williams <dcbw@redhat.com>
11003 src/supplicant-manager/Makefile.am
11004 src/supplicant-manager/nm-supplicant-manager.c
11005 src/supplicant-manager/nm-supplicant-manager.h
11006 - Add skeleton bits of the wpa_supplicant manager
11008 2006-08-24 Dan Williams <dcbw@redhat.com>
11010 Patch from Ed Catmur:
11011 * src/NetworkManagerUtils.c
11012 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11013 if netmask is 0 (Gnome #352634)
11015 2006-08-17 Robert Love <rml@novell.com>
11017 * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11018 package is now DBUS-enabled and listens for the NM signals.
11020 2006-08-14 Dan Williams <dcbw@redhat.com>
11022 * Patch from Christian Persch <chpe gnome org>
11025 vpn-daemons/openvpn/po/LINGUAS
11026 vpn-daemons/openvpn/configure.in
11027 vpn-daemons/pptp/po/LINGUAS
11028 vpn-daemons/pptp/configure.in
11029 vpn-daemons/vpnc/po/LINGUAS
11030 vpn-daemons/vpnc/configure.in
11031 - Convert to LINGUAS method so translators don't have to modify
11032 configure.in, just stuff in po/. Gnome #343132, requires intltool
11035 2006-08-14 Dan Williams <dcbw@redhat.com>
11037 Patch from Alex Smith <alex.extreme2@gmail.com>
11039 src/backends/Makefile.am
11040 src/backends/NetworkManagerFrugalware.c
11041 - Add support for Frugalware
11043 2006-08-13 Dan Williams <dcbw@redhat.com>
11045 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11046 * src/nm-device-802-11-wireless.c
11047 - (supplicant_exec): spawn wpa_supplicant without debug spew
11050 2006-08-13 Dan Williams <dcbw@redhat.com>
11052 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11053 * src/nm-ap-security.c
11054 src/nm-ap-security.h
11055 - Add authentication_required bits for subclasses to specify whether
11056 or not real authentication is required for connections, i.e. whether
11057 the AP rejects us when an encryption key is wrong or not.
11059 * src/nm-ap-security-wep.c
11060 src/nm-ap-security-wpa-eap.c
11061 src/nm-ap-security-wpa-psk.c
11062 src/nm-ap-security-leap.c
11063 - Implement authentication_required appropriately for each method
11065 * src/nm-device-802-11-wireless.c
11066 - Be smarter about when to request a key; for example, using a wrong key
11067 in WEP shared key mode previously just timed out and did not request
11070 2006-08-13 Dan Williams <dcbw@redhat.com>
11072 * gnome/libnm_glib/libnm_glib.c
11073 - dbus_connection_disconnect() -> dbus_connection_close() for
11076 2006-08-07 Dan Williams <dcbw@redhat.com>
11078 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11079 * src/NetworkManagerSystem.c
11080 - Respect specified MTU. Gnome #344967
11082 2006-08-07 Dan Williams <dcbw@redhat.com>
11084 * src/vpn-manager/nm-vpn-service.c
11085 - Simplify print_vpn_config() arguments
11087 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11088 * src/vpn-manager/Makefile.am
11089 src/vpn-manager/nm-vpn-service.c
11090 - Add new API for passing VPN config options as a dict. Gnome #344967
11092 2006-08-06 Dan Williams <dcbw@redhat.com>
11094 * gnome/applet/applet-dbus-devices.c
11095 gnome/applet/applet-dbus-vpn.c
11096 gnome/applet/applet-dbus.c
11097 gnome/applet/applet-dbus.h
11101 - Make pending call tracking code generic,
11102 so we can use it in NM as well as the applet
11104 2006-08-06 Dan Williams <dcbw@redhat.com>
11106 * src/nm-activation-request.c
11107 - Refcount pending call objects
11109 2006-08-06 Dan Williams <dcbw@redhat.com>
11111 Patch from Christan Chiesa <christanc@gmail.com>
11113 - Tell sha1.c to use bigendian mode on PPC
11115 2006-08-04 Robert Love <rml@novell.com>
11117 Glib Memory Slices!
11118 * configure.in: Require glib 2.10 or later.
11119 * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11120 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11121 src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11122 src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11123 g_new calls to g_slice_new. Likewise for g_free to g_slice_free.
11124 Memory Slices are the greatest thing since bread slices.
11125 * src/NetworkManagerAP.c: Also, fix memory leak.
11127 2006-08-01 Robert Love <rml@novell.com>
11129 * gnome/applet/main.c: Shutdown all VPN connections on logout.
11131 2006-07-31 Robert Love <rml@novell.com>
11133 * src/backends/interface_parser.c: Declarations must begin the block.
11135 2006-07-24 Dan Williams <dcbw@redhat.com>
11137 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11138 * src/backends/Makefile.am
11139 src/backends/NetworkManagerArch.c
11140 src/backends/NetworkManagerDebian.c
11141 src/backends/NetworkManagerGeneric.c
11142 src/backends/NetworkManagerGeneric.h
11143 src/backends/NetworkManagerGentoo.c
11144 src/backends/NetworkManagerPaldo.c
11145 src/backends/NetworkManagerRedHat.c
11146 src/backends/NetworkManagerSlackware.c
11147 src/backends/NetworkManagerSuSE.c
11148 - Genericize common backend functions
11150 2006-07-18 Robert Love <rml@novell.com>
11152 * configure.in: Add "--with-notify" option to allow disabling of
11155 2006-07-13 Dan Williams <dcbw@redhat.com>
11157 Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11158 * gnome/applet/applet.glade
11159 gnome/applet/Makefile.am
11160 gnome/applet/nm-gconf-wso.c
11161 gnome/applet/nm-gconf-wso-leap.c
11162 gnome/applet/nm-gconf-wso-leap.h
11163 gnome/applet/wireless-security-manager.c
11164 gnome/applet/wso-leap.c
11165 gnome/applet/wso-leap.h
11166 include/NetworkManager.h
11167 libnm-util/dbus-helpers.c
11168 libnm-util/dbus-helpers.h
11170 src/NetworkManagerAP.c
11171 src/nm-ap-security.c
11172 src/nm-ap-security-leap.c
11173 src/nm-ap-security-leap.h
11174 - Add LEAP authentication support
11176 2006-07-13 Dan Williams <dcbw@redhat.com>
11178 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11180 src/backends/NetworkManagerArch.c
11181 src/backends/NetworkManagerDebian.c
11182 src/backends/NetworkManagerGentoo.c
11183 src/backends/NetworkManagerPaldo.c
11184 src/backends/NetworkManagerRedHat.c
11185 src/backends/NetworkManagerSlackware.c
11186 src/backends/NetworkManagerSuSE.c
11187 - Convert hardcoding of 'ip' path to configure-time
11190 2006-07-12 Leonid Kanter <leon@asplinux.ru>
11192 * configure.in: added ru to ALL_LINGUAS
11194 2006-07-10 Dan Williams <dcbw@redhat.com>
11196 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11198 - (real_act_stage3_ip_config_start): don't infinite loop when
11199 dhcdbd isn't running (Gnome #346845)
11201 2006-07-09 Dan Williams <dcbw@redhat.com>
11203 * gnome/applet/applet.c
11204 - (nma_destroy): don't pass NULL to notify_notification_close
11207 2006-07-09 Dan Williams <dcbw@redhat.com>
11209 * gnome/applet/applet.c
11210 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11212 2006-07-04 Tor Krill <tor@krill.nu>
11214 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11215 * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11216 (nm_system_restart_mdns_responder), (ArchReadConfig),
11217 (nm_system_device_get_system_config):
11218 - Explicitly check for DHCP configuration
11219 - Check if daemons are running before starting them
11221 2006-06-25 Dan Williams <dcbw@redhat.com>
11223 * libnm-util/dbus-dict-helpers.[ch]
11224 test/libnm-util/test-dbus-dict-helpers.c
11225 - Add string array support
11227 2006-06-24 Dan Williams <dcbw@redhat.com>
11229 * src/dhcp-manager/nm-dhcp-manager.c
11230 - (nm_dhcp_manager_process_signal): clean up spacing
11232 2006-06-21 Dan Williams <dcbw@redhat.com>
11234 * src/nm-dbus-device.c
11235 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11238 2006-06-21 Raivis Dejus <orvils@gmail.com>
11240 * configure.in: Added 'lv' to ALL_LINGUAS
11242 2006-06-19 Dan Williams <dcbw@redhat.com>
11244 * src/NetworkManagerAP.c
11245 - Clarify usage of user_created
11247 * src/nm-ap-security-wep.c
11248 src/nm-ap-security-wpa-eap.c
11249 src/nm-ap-security-wpa-psk.c
11250 src/nm-ap-security.c
11251 src/nm-ap-security.h
11252 - s/user_created/adhoc, because we really do mean adhoc
11254 Patch from Bernard Blackham <bernard@blackham.com.au>
11255 * src/nm-device-802-11-wireless.c
11256 - (supplicant_send_network_config): instead of user_created,
11257 use adhoc, and do AP_SCAN 2 for adhoc networks
11259 2006-06-18 Robert Love <rml@novell.com>
11261 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11262 we have a value to set. Gconf generates a warning if `val' is NULL.
11263 * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11264 unless we actually received a valid private key file passphrase or
11265 password. Otherwise, we don't know to later ask the applet to pull
11266 the key from the keyring.
11268 2006-06-17 Dan Williams <dcbw@redhat.com>
11270 * libnm-util/dbus-dict-helpers.[ch]
11271 test/libnm-util/test-dbus-dict-helpers.c
11272 - Fixes for zero-length byte arrays
11273 - Replace return values of 0 with FALSE for clarity
11274 - Test zero-length byte arrays
11276 2006-06-17 Dan Williams <dcbw@redhat.com>
11278 * libnm-util/dbus-dict-helpers.[ch]
11279 test/libnm-util/test-dbus-dict-helpers.c
11280 - Add helpers for byte arrays
11281 - Rework bits of the testcase
11283 2006-06-16 Dan Williams <dcbw@redhat.com>
11285 * libnm-util/Makefile.am
11286 * libnm-util/dbus-dict-helpers.[ch]
11287 - Add some helpers to take the pain out of using dict types in
11290 * test/libnm-util/Makefile.am
11291 * test/libnm-util/test-dbus-dict-helpers.c
11292 - Test cases for the dict helper functions
11294 2006-06-15 Robert Love <rml@novell.com>
11296 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11297 is a non-empty key to set. Elsewhere, pass an empty string via DBUS
11298 if there is no key to pass.
11299 * libnm-util/dbus-helpers.c: Given the above, we can trust always
11300 receiving a non-NULL key.
11302 2006-06-14 Robert Love <rml@novell.com>
11304 * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11308 2006-06-14 Dan Williams <dcbw@redhat.com>
11310 Patch from Lorenzo Colitti <lorenzo@colitti.com> gnome.org #344825
11311 * src/nm-device-802-11-wireless.c
11312 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11313 or ones where the driver is unknown
11314 - (supplicant_exec): don't wait for supplicant startup here
11315 - (supplicant_interface_init): finer grained polling for supplicant
11318 2006-06-13 Robert Love <rml@novell.com>
11320 * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11321 if it is currently set to TRUE. Otherwise, we will reset the value
11322 when we connect normally.
11323 * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11324 the old BSSID is valid, too. The recently added ESSID check may not be
11325 sufficient (we can remove it?). What we really want to catch is the
11326 case of going from all-zeros to the BSSID of some other network, which
11327 happens on failure.
11329 2006-06-09 Dan Williams <dcbw@redhat.com>
11331 * src/NetworkManagerSystem.[ch]
11332 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11333 it was unused and pointless
11334 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11335 fix for set_up_down_with_iface change
11337 * src/vpn-manager/nm-vpn-connection.c
11338 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11340 * src/backends/NetworkManagerPaldo.c
11341 src/backends/NetworkManagerRedHat.c
11342 src/backends/NetworkManagerSuSE.c
11343 src/backends/NetworkManagerArch.c
11344 src/backends/NetworkManagerDebian.c
11345 src/backends/NetworkManagerGentoo.c
11346 - (nm_system_enable_loopback): use set_up_down_with_iface where
11348 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11351 2006-06-09 Dan Williams <dcbw@redhat.com>
11353 Patch from Peter Jones:
11354 * src/nm-device-802-11-wireless.c
11355 - (nm_device_802_11_wireless_update_bssid): make sure that the
11356 SSID hasn't changed from what we expect before automatically
11357 updating the saved BSSID from a new AP
11359 2006-06-08 Robert Love <rml@novell.com>
11361 Add 'fallback' support. NetworkManager will attempt to brute-force
11362 connect to networks marked as fallback if there are no better wireless
11363 connections available. This is useful as a method of last resort, to
11364 work around driver problems, and for use with hidden networks.
11365 * gnome/applet/applet-dbus-devices.c,
11366 gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11367 * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11368 pass it on via DBUS.
11369 * gnome/applet/applet.c: No fallback by default.
11370 * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11371 Update other-network-dialog to add UI checkbox toggling fallback.
11372 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11373 propery from AP object. Add "fallback" property to AP object.
11374 * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11375 * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11376 * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11377 separate function. Add get_best_fallback_ap() for returning an AP
11378 on which to attempt fallback.
11379 * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11380 * test/nm-set-fallback: New file. Sets a given network as fallback.
11382 2006-06-07 Robert Love <rml@novell.com>
11384 * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11385 checked that the return type was GCONF_VALUE_STRING, not the correct
11386 GCONF_VALUE_BOOL, and thus it never worked.
11387 * src/NetworkManagerAPList.c: Before concluding that two networks are
11388 identical based on their BSSID, make sure that the BSSID in question
11389 is actually valid. Specifically, an empty or all zero BSSID does not
11391 * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11392 src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11393 similar invariant clean up.
11395 2006-06-02 Robert Love <rml@novell.com>
11397 * gnome/applet/applet.c: Update copyright years. Add Novell.
11399 2006-05-28 Dan Williams <dcbw@redhat.com>
11401 * gnome/applet/applet.glade
11402 gnome/vpn-properties/nm-vpn-properties.glade
11403 - Set window icons on dialogs (Gnome.org #333420)
11405 2006-05-28 Christian Persch <chpe@cvs.gnome.org>
11407 * gnome/vpn-properties/nm-vpn-properties.glade:
11408 * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11409 * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11410 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11411 - Make the VPN properties pages prettier and more HIG
11412 compliant. Gnome Bug #336913.
11414 2006-05-28 Dan Williams <dcbw@redhat.com>
11416 Patch from Christian Persch <chpe@gnome.org>
11417 * gnome/vpn-properties/nm-vpn-properties.c
11418 * gnome/vpn-properties/nm-vpn-properties.glade
11419 - HIG-ification love (Gnome.org #336846)
11421 2006-05-28 Dan Williams <dcbw@redhat.com>
11423 Patch from Christian Persch <chpe@gnome.org>
11425 gnome/vpn-properties/nm-vpn-properties.c
11426 - (main): Fix option parsing. Gnome.org #336847
11428 2006-05-28 Dan Williams <dcbw@redhat.com>
11430 * gnome/vpn-properties/nm-vpn-properties.c
11431 - (find_vpn_ui_by_service_name): protect against NULL service names
11432 - (update_edit_del_sensitivity): protect against NULL service names
11435 2006-05-28 Dan Williams <dcbw@redhat.com>
11437 Patch from Chris Fuller <crf@grandecom.net>:
11438 * src/nm-device-802-11-wireless.c
11439 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11440 don't dispose of wireless-specific stuff unless it is actually
11441 initialized. Gnome.org #341263
11443 2006-05-28 Dan Williams <dcbw@redhat.com>
11445 * src/NetworkManagerPolicy.c
11446 - (nm_policy_device_change_check): don't switch devices if the "best"
11447 AP is essentially the same as the current activation request, but
11448 the current activation request isn't done activating yet. Fixes
11449 multiple requests for keyring password on startup for Gnome applet.
11452 2006-05-26 Nicolas Trangez <eikke@eikke.com>
11454 * src/NetworkManager.c: use GOptions instead of getopt
11455 * configure.in: bump glib required version to >= 2.6 for GOption
11458 2006-05-25 Robert Love <rml@novell.com>
11460 * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11461 nm_info() if IOCTL_DEBUG is set and a no-op if not. We can use this
11462 instead of dumping ifdef's throughout the code.
11463 * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11464 src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11465 use nm_ioctl_info() in lieu.
11467 2006-05-25 Robert Love <rml@novell.com>
11469 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11470 * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11471 not using gcrypt. Otherwise, we get a linker error.
11473 2006-05-25 Robert Love <rml@novell.com>
11475 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11476 * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11477 configure flag to disable building of the GNOME-based applet.
11479 2006-05-25 Robert Love <rml@novell.com>
11481 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11482 parameter from link, because it shadows a global variable with some
11483 older versions of glibc. Yes, glibc is now fixed and, yes, glibc
11484 should never have exported to the entire system a common four letter
11485 word. But we here at NetworkManager are team players. Fixes
11488 2006-05-25 Arangel Angov <ufo@linux.net.mk>
11490 * configure.in: Added mk.po, Macedonian translation.
11492 2006-05-24 Robert Love <rml@novell.com>
11494 * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11495 gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11496 src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11498 2006-05-24 Robert Love <rml@novell.com>
11500 * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11501 libnm-util/Makefile.am, src/Makefile.am,
11502 vpn-daemons/openvpn/auth-dialog/Makefile.am,
11503 vpn-daemons/openvpn/properties/Makefile.am,
11504 vpn-daemons/pptp/auth-dialog/Makefile.am,
11505 vpn-daemons/pptp/properties/Makefile.am,
11506 vpn-daemons/vpnc/auth-dialog/Makefile.am,
11507 vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11508 user passed for --datadir, if anything, when setting the GNOME locale
11509 directory. It should be a function of the specified datadir and not
11512 2006-05-24 Robert Love <rml@novell.com>
11514 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11515 src/NetworkManager.c: Take care to call bindtextdomain with the
11516 location of msgid files.
11517 * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11520 2006-05-22 Robert Love <rml@novell.com>
11522 * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11523 stage4_timeout on failure unless the wireless network is Ad-Hoc.
11524 99% of the time there is a real problem with wireless, and a
11525 seemingly successful connection via Zeroconf just confuses the user.
11526 And that 1% of the time the network is probably Ad-Hoc, anyhow.
11528 2006-05-22 Robert Love <rml@novell.com>
11530 * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11531 autofs on interface up if NIS is configured. On interface down, do
11534 2006-05-22 Robert Love <rml@novell.com>
11536 * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11537 to avoid calling g_object_unref() on stale pointers on error in
11538 nma_icons_free(). This happens because we short-circuit loaded the
11539 icons on the first failure but then free all icons. Normally we have
11540 no issue because the icons were zero'ed out malloc, but we have stale
11541 pointer data after nma_icon_theme_changed().
11542 * gnome/applet/main.c: Return error code if nma_new() failed.
11544 2060-05-21 Dan Williams <dcbw@redhat.com>
11546 * initscript/NetworkManager.in
11547 - Ensure both dhcdbd and named are started before NM
11549 2006-05-21 Dan Williams <dcbw@redhat.com>
11552 - Bump version to 0.7 to signify we are in 0.7 development
11554 2006-05-21 Dan Williams <dcbw@redhat.com>
11556 Patch from Adam Schreiber <sadam@clemson.edu>
11557 * gnome/vpn-properties/nm-vpn-properties.c
11558 - (main): correct Gnome program name (gnome.org #342498)
11560 2006-05-21 Dan Williams <dcbw@redhat.com>
11562 Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11564 * src/NetworkManagerDbus.[ch]
11565 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11566 clarify that function's argument should be an escaped dbus object
11567 path, and look for path segment end before returning a match
11568 * src/nm-dbus-nm.c:
11569 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11571 2006-05-17 Robert Love <rml@novell.com>
11573 Functionality to differentiate Ad-Hoc networks from infrastructure
11574 networks in the applet, by displaying a special icon:
11575 * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11576 * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11577 * gnome/applet/menu-items.c: Set a special icon in the scan list for
11578 ad-hoc networks. TODO: Add a third icon representing "encrypted and
11579 Ad-Hoc". Right now, we display the same icon for all Ad-Hoc wireless
11580 networks, encrypted or not.
11581 * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11582 accessor functions to get and set the mode of a given network,
11583 wireless_network_get_mode() and wireless_network_set_mode().
11585 2006-05-17 Robert Love <rml@novell.com>
11587 Functionality to automatically add BSSIDs to the allowed-MAC list as
11588 one roams from access point to access point on a given network:
11589 * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11590 helper function to compare two ether_addr structures and return TRUE
11591 if they contain the same MAC address.
11592 * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11594 * src/nm-device-802-11-wireless.c: New function to update the BSSID
11595 stored with the current AP. If the BSSID has indeed changed, we
11596 send it out to the applet, allowing the allowed-MAC list to grow
11597 automatically in response to roaming.
11599 2006-05-16 Robert Love <rml@novell.com>
11601 * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11602 unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11604 2006-05-13 Dan Williams <dcbw@redhat.com>
11606 * src/nm-device-802-3-ethernet.c
11607 - (real_get_generic_capabilities): Don't ignore devices that can't do
11608 carrier detect (Debian bug #366373)
11610 2006-05-11 Dan Williams <dcbw@redhat.com>
11612 Patch from Michael Biebl <biebl@teco.edu>
11613 * src/backends/NetworkManagerDebian.c
11614 - Debian backend fixups
11616 2006-05-10 Robert Love <rml@novell.com>
11618 * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11620 2006-05-09 Robert Love <rml@novell.com>
11622 * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11623 private certificate passphrase, if any, in the GNOME Keyring.
11624 * libnm-utils/dbus-helpers.c: Update.
11626 2006-05-05 Dan Williams <dcbw@redhat.com>
11628 * src/nm-device-802-11-wireless.c
11629 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11630 nm_device_802_11_wireless_disable_encryption() since that's all
11631 we use it for anymore; we don't ever set WEP keys ourselves.
11632 - (real_deactivate_quickly): reset SSID and encryption keys
11633 - (real_deactivate): move SSID and encryption key reset to
11634 real_deactivate_quickly(), which gets run before us anyway
11636 2006-05-05 Robert Love <rml@novell.com>
11638 * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11639 root has a wacky default of its own (or, more common, a user has a
11640 bad umask and uses su/sudo to restart NetworkManager). Anything
11641 other than 0022 does not do what we want with, for example,
11642 resolv.conf. This problem is amplified by our judicious use of
11643 fopen(), which uses mode 0666 -- implying that the only way to get
11644 the permissions we want is with a umask of 0022.
11646 2006-05-05 Dan Williams <dcbw@redhat.com>
11648 * gnome/libnm_glib/libnm_glib.c
11649 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11650 to reconnect; instead wait a bit more with each reconnect attempt
11651 up to a max of one minute.
11653 2006-05-04 Ryan Lortie <desrt@desrt.ca>
11655 * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11656 the WirelessNetwork structure using the proper function instead of
11657 just casting it directly to (const char *) (gnome.org #336991)
11659 2006-05-03 Robert Love <rml@novell.com>
11661 * src/backends/NetworkManagerSuSE.c: Respect the variable
11662 dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11663 config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11664 to dynamically update /etc/resolv.conf.
11666 2006-05-02 Peter Jones <pjones@redhat.com>
11668 * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11670 2006-05-02 Robert Love <rml@novell.com>
11672 Patch by Timo Hoenig;
11673 * tests/nm-online.c: Print pretty status indicator as timeout winds
11674 down. Also fix possible race between DBUS startup and failure
11677 2006-05-01 Robert Love <rml@novell.com>
11679 * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11682 2006-04-27 Jeremy Katz <katzj@redhat.com>
11684 * src/nm-device.c (discover_device_type): Actually use the hal
11685 device type instead of ioctl poking
11687 2006-04-26 Robert Love <rml@novell.com>
11689 * tests/nm-online.c: New file. Simple utility that returns exit status
11690 noting whether the connection is offline or online. If offline on
11691 start, it waits 30 seconds (or a command-line given value) for an
11692 online signal. If it times out, it again returns offline. This is
11693 useful for scripts that want to wait for network connections.
11695 2006-04-25 Robert Love <rml@novell.com>
11697 * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11698 key mode (the authentication algorithm), e.g. open or shared, when we
11699 moved to using wpa_supplicant. wpa_supplicant defaults to open, so
11700 only shared was broken. If the user specified a shared key, set it
11701 explicitly, otherwise let wpa_supplicant go with the default.
11703 2006-04-24 Dan Williams <dcbw@redhat.com>
11705 * src/nm-device-802-11-wireless.c
11706 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11708 2006-04-24 Dan Williams <dcbw@redhat.com>
11710 Commit the async scanning patch
11712 * src/nm-device-802-11-wireless.c
11713 - get rid of scan_mutex
11714 - (wireless_event_helper): act on wireless scan events
11715 - (real_start): schedule a pending scan
11716 - (link_to_specific_ap): fake the link to the AP during a scan
11717 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11718 strength during scans
11719 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11720 nm_device_set_bitrate): unused with new scanning code, disable
11721 - (nm_device_wireless_schedule_scan): removed
11722 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11723 - (request_and_convert_scan_results): new function; retrieve scan
11724 results from the driver and schedule the processing function
11725 - (scan_results_timeout): timeout triggered when card doesn't send
11726 a scan results wireless event during a certain interval
11727 - (schedule_scan_results_timeout): new function; schedule the scan
11729 - (cancel_scan_results_timeout): new function; cancel the scan
11731 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11732 to do the scanning. Otherwise, just request a scan but don't
11733 grab results here; instead schedule a timeout for scan results and
11734 let netlink notify us of scan completion events
11735 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11736 - (cancel_pending_scan): new function; cancel a pending wireless scan
11737 - (supplicant_status_cb): ignore disconnect events while scanning
11738 - (supplicant_exec): wait a bit longer for the supplicant to start up
11739 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
11741 - (get_scan_results): removed; folded into request_and_convert_scan_results()
11743 2006-04-24 Dan Williams <dcbw@redhat.com>
11745 * gnome/applet/applet-dbus.c
11746 - Disable the pending call debug stuff, seems under control now
11748 2006-04-20 Robert Love <rml@novell.com>
11750 Fix bug where hidden ESSID's would not show up in the applet, even
11751 if NMI provided a BSSID -> ESSID mapping from Gconf. This occurred
11752 because nm_policy_device_list_update_from_allowed_list() would merge
11753 the data, putting a name to the hidden networks, but never notify NMI
11754 of the changes. Simple fix is to invoke the function
11755 nm_dbus_signal_wireless_network_change() if we make a mapping.
11756 * src/NetworkManagerAPList.c: Call the function
11757 nm_dbus_signal_wireless_network_change() if we made a successful
11758 BSSID to ESSID mapping, notifying the applet of the "new" network.
11759 * src/NetworkManagerAPList.h: Update the prototypes for both
11760 nm_ap_list_copy_essids_by_address() and
11761 nm_ap_list_copy_one_essid_by_address().
11763 2006-04-20 Robert Love <rml@novell.com>
11765 * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
11766 not set. Just return zero.
11768 2006-04-20 Robert Love <rml@novell.com>
11770 * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
11771 only one copy of nm-vpn-properties is running at a time via the 'ol
11772 X selection trick. This prevents the user from opening two "VPN
11773 Connections" windows from within the applet, which leads to mass
11775 * clipboard.c: New file, implementing simple X selection logic.
11776 * clipboard.h: New file.
11777 * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
11779 2006-04-18 Nicolas Trangez <eikke@eikke.com>
11781 * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
11783 initscript/Gentoo/Makefile.am
11784 initscript/Gentoo/NetworkManagerDispatcher.in
11786 * initscript/Gentoo/NetworkManager.in: small dependency fixup from
11789 2006-04-16 Dan Williams <dcbw@redhat.com>
11791 Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
11793 initscript/Slackware/Makefile.am
11794 initscript/Slackware/rc.networkmanager-dispatcher.in
11795 initscript/Slackware/rc.networkmanager.in
11796 - Update slackware initscripts
11798 2006-04-10 Robert Love <rml@novell.com>
11800 * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
11801 the "delete_event" signal on the druid's parent window and handle it
11802 our way, lest using the WM to close the druid results in a series of
11803 bloody and ultimately lethal errors.
11805 2006-04-10 Robert Love <rml@novell.com>
11807 * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
11808 'Back' too or else the 'Forward' option is initially disabled despite
11811 2006-04-06 Robert Love <rml@novell.com>
11813 Fix bad but simple bug where an active modem connection did not update
11814 NM's connection state, breaking any app that did online/offline:
11815 * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
11816 represented whether a dial up connection is active, or not.
11817 * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
11818 to modem activation and deactivation.
11819 * src/NetworkManagerDbus.c: When asked our state, do not return
11820 disconnected if the modem is active.
11822 2006-04-04 Robert Love <rml@novell.com>
11824 * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
11825 applet. It just confuses the crap out of people and does not make a
11826 lot of sense, as the daemon still runs.
11828 2006-04-02 Tor Krill <tor@krill.nu>
11830 * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
11831 in start of service.
11832 * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
11833 get Archlinux backend up to date.
11835 2006-03-29 Robert Love <rml@novell.com>
11837 Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
11838 to add support for per-route MSS and improve support for per-interface
11840 * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
11841 optionally take an MSS parameter and set it for the given route.
11842 Remove nm_system_device_set_ip4_route_with_iface. Pass in the
11843 NMIP4Config's stored MSS, if any.
11844 * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
11845 the interface's MTU and the route's MSS, respectively. Add functions
11846 nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
11847 and nm_ip4_config_set_mss for retrieving and setting the MTU and the
11849 * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
11850 nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
11851 nm_ip4_config_set_mss.
11852 * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
11854 * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
11855 Change the retval of nm_system_get_mtu to guint32.
11856 * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
11857 NMIP4Config to the MTU provided by the system, if any. TODO: If DHCP
11858 servers can specify MTU's, we should set it here if the MTU was not
11861 2006-03-27 Jürg Billeter <j@bitron.ch>
11864 * initscript/Makefile.am:
11865 * initscript/paldo/Makefile.am:
11866 * initscript/paldo/NetworkManager.in:
11867 * initscript/paldo/NetworkManagerDispatcher.in:
11868 * src/backends/Makefile.am:
11869 * src/backends/NetworkManagerPaldo.c:
11870 - Add paldo support
11872 2006-03-27 Dan Williams <dcbw@redhat.com>
11874 Patch from Christian Persch <chpe@gnome.org>
11875 * gnome/applet/applet.glade
11876 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
11878 2006-03-27 Dan Williams <dcbw@redhat.com>
11880 Patch from Diffe <diffie@blazebox.homeip.net>
11881 * src/backends/NetworkManagerSlackware.c
11882 - Don't restart howl, since it's been replaced by Avahi
11883 in most distributions
11885 2006-03-27 Dan Williams <dcbw@redhat.com>
11887 Patch from Tor Krill <bugzilla@krill.nu>
11889 initscript/Makefile.am
11890 src/backends/Makefile.am
11891 src/backends/NetworkManagerArch.c
11892 initscript/Arch/Makefile.am
11893 initscript/Arch/networkmanager-dispatcher.in
11894 initscript/Arch/networkmanager.in
11895 - Add Arch Linux support, fixes gnome.org #335147
11897 2006-03-27 Dan Williams <dcbw@redhat.com>
11899 Patch from Diffe <diffie@blazebox.homeip.net>
11900 * initscript/Slackware/rc.networkmanager
11901 - update, fixed gnome.org #333368
11903 2006-03-27 Robert Love <rml@novell.com>
11905 * gnome/applet/other-network-dialog.c: Do not allow the user to try to
11906 create WPA-EAP Ad-Hoc networks because such an action makes no sense.
11908 2006-03-27 Robert Love <rml@novell.com>
11910 Patch by Jürg Billeter <j@bitron.ch>:
11911 * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
11913 * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
11914 as we prefer glibc over kernel headers, if possible.
11916 2006-03-27 Robert Love <rml@novell.com>
11918 Patch by Jon Escombe <list@dresco.co.uk>:
11919 * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
11920 * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
11921 fail, don't bail out. We don't expect all of the various WPA-EAP
11922 values to be present.
11923 * src/nm-ap-security.c: We need to match all capabilities for each
11924 encryption type, not any one of them.
11926 2006-03-27 Robert Love <rml@novell.com>
11928 * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
11929 restart, not reload, ypbind. Unfortunately there is no superior
11932 2006-03-24 Christopher Aillon <caillon@redhat.com>
11934 * gnome/applet/applet-notifications.c:
11935 When displaying a notification, make sure to get rid of the
11936 previous notification so as to not have competing bubbles,
11937 and stop leaking the old one.
11939 * gnome/applet/applet.c:
11940 * gnome/applet/applet.h:
11941 Add a new 'notification' member to the applet, and zero it out
11942 and free it appropriately.
11944 2006-03-23 Robert Love <rml@novell.com>
11946 Patch by j <j@bootlab.org>:
11947 * gnome/applet/applet.glade: Don't set the invisible_char property,
11948 which simply overrides the GTK default. By and by, this behavior
11949 ought to be fixed in Glade.
11951 2006-03-22 Robert Love <rml@novell.com>
11953 * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
11955 2006-03-22 Robert Love <rml@novell.com>
11957 Bug fix by Timo Hoenig <thoenig@suse.de>:
11958 * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
11959 disconnect. Otherwise, we have the daemon surviving DBUS restarts
11960 and the applet going AWOL.
11962 2006-03-22 Robert Love <rml@novell.com>
11964 * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
11965 preprocessor define and use it instead of open-coded the DHCP
11966 timeout, which is currently 25 seconds, everywhere.
11968 2006-03-22 Robert Love <rml@novell.com>
11970 Implement "Dynamic WEP", which is basically WPA authentication and WEP
11971 key exchange via WPA, ostensibly providing good security without
11972 requiring hardware that supports full WPA. Also, add UI elements to
11973 allow the user to select the pairwise & group cipher for WPA Enterprise
11975 * gnome/applet/applet.glade: Update glade file.
11976 * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
11977 key type, too, to and from gconf.
11978 * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
11979 wso_wpa_create_key_type_model(), noting whether we are handling PSK
11980 or EAP configuration, and in the latter case add in "Dynamic WEP" if
11981 the capabilities match.
11982 * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
11984 * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
11985 serialize from UI to DBUS.
11986 * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
11988 * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
11989 nmu_security_serialize_wpa_eap_with_cipher(), and
11990 nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
11991 serialize/deserialize the key type via DBUS as the new third DBUS
11993 * libnm-util/dbus-helpers.h: Update prototypes.
11994 * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
11995 too. If the key type is WEP104, do Dynamic WEP, which means
11996 "IEEE8021X" for "key_mgmt". Also add support for user-specified
11997 pairwise and group ciphers (fixes a FIXME).
11999 2006-03-21 Robert Love <rml@novell.com>
12001 * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12002 nm_system_get_mtu(), which returns a user-provided or system-mandated
12003 MTU value for a given device, if any, or zero if no such value
12004 exists. Add nm_system_set_mtu() to set the MTU for a given device
12005 if we have a provided value.
12006 * src/nm-device.c: Set the MTU of devices.
12007 * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12008 * src/backends/NetworkManagerDebian.c,
12009 src/backends/NetworkManagerGentoo.c,
12010 src/backends/NetworkManagerRedHat.c,
12011 src/backends/NetworkManagerSlackware.c: Implement stub functions.
12013 2006-03-21 Robert Love <rml@novell.com>
12015 * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12016 configuration file.
12018 2006-03-17 Robert Love <rml@novell.com>
12020 * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12021 signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12022 it, in case it is not running in the first place. We just want its
12023 configuration reloaded. Also, do not "rcypbind stop" on device down.
12025 2006-03-15 Robert Love <rml@novell.com>
12027 * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12028 gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12029 label "WEP 40/128-bit" is inconsistent because the physical key size
12030 is 40 or 104-bits, to which a 24-bit initialisation vector is
12031 appended, forming a 64 or 128-bit traffic key. Thus, the label ought
12032 to read "40/104" or "64/128". I do not care much which, but most
12033 users think of "silver" and "gold" encryption as 64 and 128-bits, so
12034 let's stick with that. Thus, s/"40/128"/"64/128"/g. Also, since our
12035 WEP passphrase support only handles 128-bit keys, and any future
12036 64-bit passphrase support will require a new option (no way to auto-
12037 detect the target key size), explicitly label our passphrase support
12038 "WEP 128-bit Passphrase".
12040 2006-03-15 Robert Love <rml@novell.com>
12042 * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12043 the system init scripts (or some other mechanism) starting it (or a
12044 compatible DBUS service) before NetworkManager runs. This means that
12045 distributions might need to update their init scripts. This fixes
12046 possible races and is quite a bit cleaner.
12047 * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12048 starting the NetworkManager daemon.
12051 2006-03-14 Robert Love <rml@novell.com>
12053 * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12054 before adding anything.
12056 2006-03-13 Robert Love <rml@novell.com>
12058 * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12059 widgets, too, if they exist, in case the user hit the back button.
12060 Fixes a bug where the details page contains the widgets of multiple
12061 VPN modules (Novell bug #157048).
12063 2006-03-13 Robert Love <rml@novell.com>
12065 Patch by Timo Hoenig <thoenig@suse.de>:
12066 * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12067 daemon survive DBUS restarts, too.
12069 2006-03-10 Robert Love <rml@novell.com>
12071 * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12073 * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12074 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12075 gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12076 in response to "toggled" signal on new toggle.
12078 2006-03-10 Robert Love <rml@novell.com>
12080 * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12081 serialization if strings are NULL, lest DBUS get angry.
12083 2006-03-10 Robert Love <rml@novell.com>
12085 * src/nm-ap-security-wpa-eap.c: Don't log the password.
12087 2006-03-09 Robert Love <rml@novell.com>
12089 * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12092 2006-03-09 Dan Williams <dcbw@redhat.com>
12094 Track pending call requests in the applet, and report how many are
12095 outstanding, and how long each completed one takes.
12097 * gnome/applet/applet-dbus-devices.c
12098 gnome/applet/applet-dbus-vpn.c
12099 - Track pending calls
12101 * gnome/applet/applet-dbus.[ch]
12102 - Remove some unused enums
12103 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12104 new functions to track dbus pending calls and spit out some
12105 statistics about them
12107 2006-03-09 Robert Love <rml@novell.com>
12109 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12110 nm_ap_set_timestamp() take the second and micro-second parameters as
12111 direct arguments, which avoids both a dynamic memory allocation and a
12112 structure-to-structure copy! Add a new interface, the aptly named
12113 nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12114 existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12115 the return from nm_ap_get_timestamp(). New users should use the new
12116 nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12117 the extreme benefit to performance.
12118 * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12119 src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12121 2006-03-08 Robert Love <rml@novell.com>
12123 * gnome/applet/applet.glade: Hide the password entry text with
12126 2006-03-08 Robert Love <rml@novell.com>
12128 * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12129 NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12130 NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12131 a second argument, NMData.
12132 * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12133 * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12134 config files as trusted.
12136 2006-03-06 Robert Love <rml@novell.com>
12138 * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12139 * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12140 to exit the applet. As a sweet side-effect, idea courtesy of Chris
12141 Rivera, detect if the applet was auto-started. If so, ask the user
12142 if he or she would like to stop automatically running the applet on
12143 login. If so, disable autostart.
12145 2006-03-06 Robert Love <rml@novell.com>
12147 * NetworkManager.pc.in: Provide an -I to the NetworkManager include
12148 directory in CFLAGS so developers can actually use NetworkManager.h.
12150 2006-03-06 Robert Love <rml@novell.com>
12152 * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12153 open-coded integer constants. Add state_to_string() to map a given
12154 state to a textual description, and provide that when notifying of
12156 * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12157 states, copied and cleaned up from dhcdbd.d. Ideally, we would use
12158 this header directly, but it is currently not installed on most
12161 2006-03-05 Dan Williams <dcbw@redhat.com>
12163 Process netlink messages in device subclasses rather than in
12164 NetworkManager.c. Also add support for recognizing Wireless Events.
12167 - Find GLIB_GENMARSHAL
12170 - Since we're marshalling custom types for wireless event signals,
12171 we get to create our own marshallers using GLIB_GENMARSHAL
12173 * src/NetworkManager.c
12174 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12175 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12176 cut down somewhat. We no longer process signals here.
12177 - (nm_data_new): create the netlink monitor here, and remove a
12178 useless call to nm_policy_schedule_device_change_check()
12179 - (nm_data_free): get rid of the netlink monitor here
12180 - (nm_device_link_activated, nm_device_link_deactivated): removed
12181 - (main): don't create the netlink monitor here, let nm_data_new
12182 do that. Call nm_policy_schedule_device_change_check() right
12183 before we jump to the mainloop to figure out which device
12186 * src/NetworkManagerSystem.[ch]
12187 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12188 convert back and forth from interface names to interface
12191 * src/nm-device-802-11-wireless.c
12192 - (real_init): connect to wireless-event signals from the netlink
12194 - (nm_device_802_11_wireless_event): new function, schedule handler
12195 for wireless event signals from the netlink monitor object. We
12196 want the handler to run in the device's context
12197 - (wireless_event_helper): handle wireless-event signals from netlink
12198 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12201 * src/nm-device-802-11-wireless.h
12202 - remove unused prototype for nm_device_802_11_wireless_new
12204 * src/nm-device-802-3-ethernet.c
12205 - (real_init): new function; set up signal handlers for link events
12206 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12207 handler for netlink link activated events on device's main loop
12208 - (link_activated_helper): when we get a link activated event, set
12209 the device's link to be active
12210 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12211 handler for netlink link deactivated events on device's main loop
12212 - (link_deactivated_helper): when we get a link deactivated event, set
12213 the device's link to be inactive
12214 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12217 * src/nm-device-802-3-ethernet.h
12218 - remove unused prototype for nm_device_802_3_ethernet_new
12220 * src/nm-device.[ch]
12221 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12222 but locks the device list
12223 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12225 * src/nm-netlink-monitor.[ch]
12226 - (nm_netlink_monitor_class_install_signals): New signal
12228 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12230 - (nm_netlink_monitor_event_handler): expand for wireless events too
12232 * src/nm-marshal-main.c
12233 - Include generated nm-marshal.c and nm-marshal.h
12235 * src/nm-marshal.list
12236 - List of custom marshal functions
12238 2006-03-05 Dan Williams <dcbw@redhat.com>
12240 * gnome/applet/applet-notifications.h
12241 - Protect prototype of nma_send_event_notification() because it
12242 includes libnotify-specific types
12243 - Include libnotify/libnotify.h too, since we technically need it
12245 * gnome/applet/applet.c
12246 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12247 - (nma_show_vpn_login_banner_dialog): add some error checking
12249 2006-03-04 Dan Williams <dcbw@redhat.com>
12251 Clean up activation cancellation. Should be a lot faster now. Observed
12252 an issue with wireless devices between stage 2 and 3 of activation, where
12253 activation would be cancelled, but the device thread wouldn't notice until
12254 the supplicant association timed out. Reorganize activation such that
12255 a cancellation handler gets immediately scheduled in the device's thread,
12256 and devices have a chance to perform any custom cleanup too.
12258 * src/nm-device.[ch]
12259 - (activation_cancel_handler): new device-type-specific function
12260 for cleaning up device-type-specific stuff on cancellation
12261 - (cancel_activation): removed
12262 - (nm_device_activation_cancel): subsume functionality of
12263 real_cancel_activation, but instead of doing anything, punt
12264 operation to a handler that's run in device-thread context
12265 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12267 - (activation_handle_cancel_helper): cancellation handler run in
12268 device-thread context, calls device-type-specific cancelation,
12269 then tears down the activation request
12270 - (real_activation_cancel_handler): generic cancellation handler,
12271 deals with cancelling any in-process DHCP request
12272 - (nm_device_activate_stage1_device_prepare,
12273 nm_device_activate_stage2_device_config,
12274 nm_device_activate_stage3_ip_config_start,
12275 nm_device_activate_stage4_ip_config_get,
12276 nm_device_activate_stage4_ip_config_timeout,
12277 nm_device_activate_stage5_ip_commit): don't call
12278 nm_device_schedule_activation_handle_cancel() any more, since
12279 cancellation will have been already scheduled for us by
12280 nm_device_activation_cancel(). Just exit the function and
12281 assume that the cancel handler will be called next.
12283 * src/nm-device-802-3-ethernet.c
12284 - (real_act_stage2_config): remove; didn't do anything anyway
12286 * src/nm-device-802-11-wireless.c
12287 - (supplicant_status_cb): ensure we don't do anything if the activation
12289 - (real_activation_cancel_handler): implement; cancel user key request
12290 on activation cancellation
12292 2006-03-04 Dan Williams <dcbw@redhat.com>
12294 * src/nm-device-802-11-wireless.c
12295 - (supplicant_send_network_config): assume that drivers that don't
12296 support WPA pretty much suck, and can't handle NM scanning
12297 along with wpa_supplicant.
12299 2006-03-03 Robert Love <rml@novell.com>
12301 * configure.in: Bump version to 0.6.0.
12304 2006-03-03 Robert Love <rml@novell.com>
12306 * configure.in: Require DBUS 0.60 or later.
12308 2006-03-03 Dan Williams <dcbw@redhat.com>
12310 Fix a crash if an "Other wireless network" was chosen, failed, then
12311 chosen again from the applet's menu. If the other network wasn't
12312 noticed in a scan, it wouldn't have any capabilities, but would still
12313 be listed because the user forced the network. To fix this, we set
12314 sensible capabilities on the forced network, which will get overwritten
12315 with the correct ones if the network shows up later in a scan.
12317 * src/nm-ap-security.h
12318 - Add a new "get_default_capabilities_func" member to the
12321 * src/nm-ap-security.c
12322 - (nm_ap_security_get_default_capabilities): new function
12324 * src/nm-ap-security.c
12325 src/nm-ap-security-wep.c
12326 src/nm-ap-security-wpa-psk.c
12327 src/nm-ap-security-wpa-eap.c
12328 - Implement get_default_capabilities_func() for all, which
12329 uses the information contained in a specific NMAPSecurity
12330 object to determine default AP capabilites necessary
12331 to support that object
12333 As a secondary measure, we now prune artificial access points that fail
12334 to be activated right away. The thing failed, and we have no scan data for
12335 it, so it's pretty much useless since security information is only saved
12336 in the applets when a connection is successful.
12338 * src/NetworkManagerAPList.c
12339 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12340 not artificial. If we see it, it's no longer a figment of the
12341 user's imagination :)
12343 * src/NetworkManagerPolicy.c
12344 - (nm_policy_activation_failed): send along the failed AP if we
12347 * src/nm-device-802-11-wireless.c
12348 - (real_activation_failure_handler): remove artificial APs from
12349 the device list, because activation failed
12351 2006-03-02 Robert Love <rml@novell.com>
12353 Add support for retrieving both the per-device speed and the
12354 per-network maximum supported rate. Then change the getProperties
12355 DBUS API for both networks and devices to report this informaiton.
12356 Finally, display the information via both nm-applet and nm-tool:
12357 * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12359 * gnome/applet/applet.c: Display the device's speed in the 'Connection
12360 Information' dialog.
12361 * gnome/applet/applet.glade: Update the UI to show per-device speed.
12362 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12363 network_device_get_speed() and network_device_set_speed() for
12364 retrieving and setting, respectively, a network device's current
12366 * src/nm-dbus-device.c: Send the device's speed on getProperties.
12367 * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12368 in the function nm_device_802_11_wireless_get_bitrate() -- it does
12369 not matter (yet) what the units are, because we only feed it its own
12370 output. Implement SIOCGIRATE and set the per-network maximum
12371 supported rate during scanning.
12372 * src/nm-device-802-11-wireless.h: Export the function
12373 nm_device_802_11_wireless_get_bitrate().
12374 * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12375 function nm_device_802_3_ethernet_get_speed() for returning an
12376 802.3's current speed, in Mb/s.
12377 * test/nm-tool.c: Display the per-device current speed, if available,
12378 and the per-network maximum rate.
12380 2006-03-02 Dan Williams <dcbw@redhat.com>
12382 * src/nm-device-802-11-wireless.c
12383 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12384 card when it gets initialized. Since devices don't get added to
12385 the scan list until they are initialized, this function wasn't
12386 setting the intitial scan interval correctly, and was leaving
12387 it at 0. This caused cards to get many scan requests in a short
12388 amount of time when they were initialized
12390 2006-03-02 Robert Love <rml@novell.com>
12392 * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12393 active device. But do not do what we used to do and override the
12394 state, which caused the dreaded icon race of '05.
12396 2006-03-02 Robert Love <rml@novell.com>
12398 Commit Dan's update of my previous commit:
12399 * src/nm-device-802-11-wireless.c: Always set the mode, because the
12400 set_mode() function itself does the check. But do only set the
12401 frequency if in Ad-Hoc mode.
12403 2006-03-02 Robert Love <rml@novell.com>
12405 Patch by Brian Magnuson <magnuson@rcn.com>:
12406 * src/nm-device-802-11-wireless.c: During scanning, only set the
12407 wireless mode to infrastructure if it is not currently in
12408 infrastructure mode. For some driver, setting the mode is a costly
12409 operation, apparently.
12411 2006-03-01 Rodrigo Moya <rodrigo@novell.com>
12413 * Makefile.am: use the correct dir for autostart mechanism.
12415 2006-02-28 Dan Williams <dcbw@redhat.com>
12417 Patch from Brian Magnuson <magnuson@rcn.com>
12418 * gnome/applet/applet.c
12419 - (nma_show_vpn_failure_dialog): fix errors left over from
12420 libnotify support changes
12422 2006-02-28 Dan Williams <dcbw@redhat.com>
12424 * src/vpn-manager/nm-vpn-act-request.[ch]
12425 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12427 - (nm_vpn_act_request_is_failed): new function; return whether or
12428 not the vpn activation request has failed
12430 * src/vpn-manager/nm-vpn-manager.c
12431 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12432 daemon to kill the connection when the activation request fails.
12433 Fixes issue where NM would get confused if the VPN activation
12434 request timed out, and would not allow further VPN connections
12437 2006-02-28 Dan Williams <dcbw@redhat.com>
12439 * gnome/applet/applet.c
12440 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12441 overlapping connection requests, disable all VPN menu items
12442 but the active VPN connection
12444 2006-02-28 Dan Williams <dcbw@redhat.com>
12446 * src/vpn-manager/nm-vpn-connection.c
12447 - (nm_vpn_connection_set_parent_device): fix C&P error which
12448 called g_object_unref() on the connection's parent device
12449 when it should have been ref-ed instead. Fixes crash with
12450 repeated vpn connect requests
12452 2006-02-28 Christopher Aillon <caillon@redhat.com>
12454 * gnome/applet/applet.glade:
12455 Mark a few strings non-translatable, since they shouldn't be.
12457 2006-02-28 Dan Williams <dcbw@redhat.com>
12459 * src/vpn-manager/nm-vpn-service.c
12460 - (nm_vpn_service_start_connection): if the vpn service daemon is
12461 already running, don't blindly ask it to connect, but wait until
12462 it's in the STOPPED state first. Fixes an assertion when user
12463 starts a second vpn connection without stopping the first.
12464 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12465 dbus service exists before continuing with the connection
12466 process, and reduce latency while waiting for it to become
12468 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12469 waiting for the vpn service daemon to become available
12470 - General log message cleanups; show progress via "Stage x of 4"
12471 rather than not telling anyone how many stages there are
12473 2006-02-28 Robert Love <rml@novell.com>
12475 * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12476 * src/backends/NetworkManagerSuSE.c: Implement the interface
12477 nm_system_should_modify_resolv_conf() for SUSE.
12478 * src/backends/NetworkManagerDebian.c,
12479 src/backends/NetworkManagerGentoo.c,
12480 src/backends/NetworkManagerRedHat.c,
12481 src/backends/NetworkManagerSlackware.c: Add stub.
12482 * src/named-manager/Makefile.am: Grab includes from src.
12483 * src/named-manager/nm-named-manager.c: Allow backends to disable the
12484 automatic updating of resolv.conf. This is useful for testing,
12485 broken static configurations, and administrator lock-down.
12487 2006-02-28 Dan Williams <dcbw@redhat.com>
12489 * src/nm-device-802-11-wireless.c
12490 - Move all the wpa_supplicant-related management stuff into its
12491 own struct, just for oranization's sake
12492 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12493 to a GIOChannel/GSource
12494 - (supplicant_log_stdout): new function; grab output from the
12495 wpa_supplicant stdout pipe and write it to our logs.
12497 2006-02-27 Christopher Aillon <caillon@redhat.com>
12499 * src/nm-device-802-11-wireless.c:
12500 Err, fix thinko in my previous commit.
12502 2006-02-28 Robert Love <rml@novell.com>
12504 * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12506 2006-02-28 Robert Love <rml@novell.com>
12508 * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12509 src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12510 gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12511 deserializers are responsible for freeing the returned DBUS strings.
12513 2006-02-27 Christopher Aillon <caillon@redhat.com>
12515 * src/nm-device-802-11-wireless.c:
12516 The scan list is being pruned prematurely. We should prune after
12517 the device has gone MIA for three scans, not one. Split out the
12518 interval to realtime seconds function to better serve this.
12520 2006-02-27 Robert Love <rml@novell.com>
12522 * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12523 Open the pid file O_TRUNC, so if it already exists we truncate it to
12524 zero length. Also, be more verbose about warnings generated during
12525 writing out the pid file. Finally, always write out the pid file if
12526 in daemon mode. Use "--pid-file" to override the default.
12528 2006-02-27 Robert Love <rml@novell.com>
12530 Patch by R. Vinay <rvinay@novell.com>:
12531 * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12532 'last_attempt_success' when removing a VPN connection, too. (Fixes
12533 Novell bug #153628).
12535 2006-02-27 Robert Love <rml@novell.com>
12537 * gnome/applet/applet.glade: Set "activates_default" on passphrase
12538 entry so user can hit <ENTER> after entering passphrase (Novell bug
12541 2006-02-27 Dan Williams <dcbw@redhat.com>
12544 - Mass search/replace of:
12546 NMWirelessApplet -> NMApplet
12547 NM_*_WIRELESS_APPLET -> NM_*_APPLET
12548 (it ain't just for wireless anymore, ma!)
12549 - Fix duplicate function name printing when using nm_warning
12550 - wireless-applet.glade -> applet.glade
12552 2006-02-27 Dan Williams <dcbw@redhat.com>
12554 * dispatcher-daemon/NetworkManagerDispatcher.c
12555 - Accept --pid-file with a path to a pidfile, write it out on
12556 startup, and delete it on shutdown
12558 * src/NetworkManager.c
12559 - Accept --pid-file with a path to a pidfile, write it out on
12560 startup, and delete it on shutdown
12561 - Move nm_print_usage() lower
12563 * initscripts/RedHat/NetworkManager.in
12564 - Use new --pid-file option
12565 - Fix service stopping to wait a bit for NM to quit
12567 * initscripts/RedHat/NetworkManagerDispatcher.in
12568 - Use new --pid-file option
12570 2006-02-26 Dan Williams <dcbw@redhat.com>
12573 - make and install nm-crash-logger
12575 * src/nm-logging.[ch]
12576 - New files; consolidate logging and crash handling
12578 * src/nm-crash-logger.c
12580 - Standalong crashlogger for NM, grab a backtrace
12583 * src/NetworkManager.[ch]
12584 - Remove signal handling and put it into nm-logging.c
12586 2006-02-26 Dan Williams <dcbw@redhat.com>
12589 gnome/applet/Makefile.am
12590 - Conditionalize all the notify stuff
12592 Merge most of Chris Aillon's notification patch:
12594 * gnome/applet/applet-notifications.[ch]
12595 - New files; show a notification
12597 * gnome/applet/applet-dbus-devices.[ch]
12598 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12599 nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12600 new functions, do the right thing when a device change occurs
12602 * gnome/applet/applet-dbus.c
12603 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12604 signals, so we can handle them specially
12606 * gnome/applet/applet.[ch]
12607 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12608 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12609 - (nmwa_notify_state): remove
12610 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12611 notification work is now done when the appropriate dbus signals
12613 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12614 defer execution of the notification/dialog stuff. That was an
12615 artifact of the previous multi-threaded nature of the applet
12616 and is now pointless.
12617 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12618 no longer needed. Function folded into applet-notifications.c
12620 * src/NetworkManagerPolicy.c
12621 - (nm_policy_activation_finish): send the AP along with the device
12622 status change signal, if the connection is wireless. Should
12623 fix the race where applet would show a connection to "unknown"
12625 2006-02-25 Robert Love <rml@novell.com>
12627 Add WPA Enterprise support:
12628 * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12629 nm-gconf-wso-wpa-eap.h.
12630 * gnome/applet/nm-gconf-wso-wpa-eap.c,
12631 gnome/applet/nm-gconf-wso-wpa-eap.h: Add WPA Enterprise Gconf
12632 serialization and deserialization.
12633 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12634 gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12635 gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12636 * gnome/applet/wireless-applet.glade: Add UI for configurating security
12637 settings related to WPA Enterprise.
12638 * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12639 instantiate WPA Enterprise wireless-security-option.
12640 * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12641 Implement WPA Enterprise wireless-security-option object.
12642 * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12644 * libnm-util/cipher-wpa-psk-hex.c,
12645 libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12646 * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12647 nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12648 nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12649 including the cipher to DBUS method, and
12650 nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12652 * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12653 nm-ap-security-wpa-eap.h
12654 * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12655 NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12656 * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12657 files. Implement NMAPSecurityWPA_EAP object.
12658 * src/nm-ap-security-wpa-psk.c: Cleanup.
12659 * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12660 an NMAPSecurityWPA_EAP object via the method
12661 nm_ap_security_wpa_eap_new_deserialize().
12662 * src/nm-dbus-nm.c: Cleanup.
12663 * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12664 WPA Enterprise support.
12666 2006-02-24 Robert Love <rml@novell.com>
12668 Patch from Timo Hoenig <thoenig@suse.de>:
12669 * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12671 2006-02-24 Robert Love <rml@novell.com>
12673 Patch from Dan Winship <danw@novell.com>:
12674 * gnome/applet/eggtrayicon.c: Update EggTrayIcon code. Set the gdk
12675 area to transparent.
12677 2006-02-21 Dan Williams <dcbw@redhat.com>
12679 * gnome/applet/applet.[ch]
12680 gnome/applet/applet-dbus.c
12681 - Implement notification support for VPN messages too
12683 2006-02-21 Dan Williams <dcbw@redhat.com>
12685 * gnome/applet/applet-dbus-info.c
12686 - Clean up warning messages to not double-print the function
12688 2006-02-21 Dan Williams <dcbw@redhat.com>
12690 * gnome/applet/applet-compat.c
12691 - (convert_one_entry): accept entries without a key_type and
12692 convert them to unencrypted networks
12694 2006-02-21 Dan Williams <dcbw@redhat.com>
12696 * gnome/libnm_glib/libnm_glib.c
12697 - Use __func__ everywhere we can
12699 - Use dbus pending calls rather than blocking
12700 - Reduce busywaits for our thread to start and stop
12701 (gnome.org #330562)
12702 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12703 stomp on others using the default shared dbus connection.
12704 Fixes #rh177546# and gnome.org #326572
12706 2006-02-21 Dan Williams <dcbw@redhat.com>
12708 Patch from Rodney Dawes <dobey@novell.com>
12710 gnome/applet/Makefile.am
12711 gnome/applet/applet.c
12712 - Add libnotify support if '--enable-notify=yes' is passed
12715 2006-02-16 Kang Jeong-Hee <keizie@gmail.com>
12717 * configure.in (ALL_LINGUAS): ko added. (Korean)
12719 2006-02-15 Robert Love <rml@novell.com>
12721 * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12722 define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12723 and WPA_SUPPLICANT_CONTROL_SOCKET.
12725 2006-02-15 Robert Love <rml@novell.com>
12727 * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12728 information about what connection stage we are at, provide the total
12729 number of stages, e.g. "Stage 2 of 5", so users know how far along
12730 they are if they experience problems.
12732 2006-02-15 Robert Love <rml@novell.com>
12734 * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12735 define to $sysconfdir.
12736 * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12737 editing dialog, vpn_edit_widget, which fixes a bug where editing one
12738 type of VPN and then editing another results in a mangled dialog
12739 box containing the widgets from both VPNs (fixes Novell #150854).
12740 Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
12742 2006-02-14 Robert Love <rml@novell.com>
12744 * src/NetworkManager.c: Call closelog() on daemon shutdown to close
12745 syslog's file descriptor.
12747 2006-02-14 Robert Love <rml@novell.com>
12749 Fix bug around since the change to "deal with APs changing settings on
12750 us," checked in on the fifth of February in the year of the dog,
12751 wherein connecting to non-broadcast encrypted networks always fails
12752 because nm_ap_get_encrypted() always returns FALSE, even when the user
12753 provided a key, because the newly-created fake AP does not have any
12754 capabilities set, which is a sypmtom of security settings not matching
12755 capabilities (Novell bug #150784):
12756 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
12757 nm_ap_add_capabilities_from_security(), which sets the given AP's
12758 capabilities off the given security settings. Also improve our
12759 handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
12760 NM_AUTH_CIPHER_AUTO.
12761 * src/nm-device-802-11-wireless.c: Call the function
12762 nm_ap_add_capabilities_from_security() to ensure that capabilities
12763 match newly updated security settings.
12765 2006-02-14 Robert Love <rml@novell.com>
12767 * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
12768 error as a string, not an integer, if possible; do not print the
12769 function name twice; always give the interface, if possible; misc.
12772 2006-02-12 Dan Williams <dcbw@redhat.com>
12774 Patch from Tom Parker <palfrey@tevp.net>
12775 * src/NetworkManagerSystem.h
12776 - Remove prototype for nm_system_device_setup_static_ip4_config(),
12779 * src/backends/NetworkManagerDebian.c
12780 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
12783 2006-02-12 Dan Williams <dcbw@redhat.com>
12785 * vpn-daemons/openvpn/intltool-extract.in
12786 vpn-daemons/openvpn/intltool-merge.in
12787 vpn-daemons/openvpn/intltool-update.in
12788 vpn-daemons/pptp/intltool-extract.in
12789 vpn-daemons/pptp/intltool-merge.in
12790 vpn-daemons/pptp/intltool-update.in
12791 - Remove from CVS, they should get created by intltoolize,
12794 2006-02-12 Dan Williams <dcbw@redhat.com>
12796 * vpn-daemons/pptp/src/pppd/patchlevel.h
12797 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
12798 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
12799 Makefile-defined VERSION
12801 2006-02-09 Dan Williams <dcbw@redhat.com>
12803 Patch from: Vinay A R <rvinay@novell.com>
12804 * src/vpn-manager/nm-vpn-act-request.[ch]
12805 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
12806 IPSec VPNs require them for std gateway.
12807 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
12808 and 'user_routes_count'
12809 - (nm_vpn_act_request_get_user_routes): new function; gets user
12810 defined routes from NMVPNActRequest object, returns the string
12813 * src/vpn-manager/nm-vpn-manager.[ch]
12814 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
12815 for 'user_routes' and 'user_routes_count'
12817 * src/vpn-manager/nm-dbus-vpn.c
12818 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
12819 nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
12821 * src/vpn-manager/nm-vpn-service.c
12822 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
12825 Modifications by Dan:
12826 * src/vpn-manager/nm-vpn-service.c
12827 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
12830 * vpn-daemons/vpnc/src/nm-vpnc-service.c
12831 * vpn-daemons/pptp/src/nm-pptp-service.c
12832 * vpn-daemons/openvpn/src/nm-openvpn-service.c
12833 - Grab user routes from dbus message
12834 - Free all string arrays we got from dbus
12836 2006-02-07 Robert Love <rml@novell.com>
12838 Patch by Stefan Seyfried <seife@suse.de>:
12839 * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
12841 2006-02-06 Robert Love <rml@novell.com>
12843 * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
12845 2006-02-06 Robert Love <rml@novell.com>
12847 * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
12848 test ">=" is never false. If no newline is found, we loop forever.
12849 We can just check for ">" because the following if() will see the
12850 zero-th argument if the while() gets that far.
12852 2006-02-05 Dan Williams <dcbw@redhat.com>
12854 Refine handling of non-broadcast networks.
12856 * src/NetworkManagerAPList.c
12857 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
12858 property from scanned AP to the AP from the device list
12860 * src/nm-device-802-11-wireless.c
12861 - (supplicant_send_network_config): use ap_scan=1 for all networks
12862 except non-SSID-broadcasting and Ad-Hoc networks. Use
12863 ap_scan=2 for those. Also, don't set scan_ssid for Ad-Hoc
12864 networks since those don't have APs.
12865 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
12866 AP as non-SSID-broadcasting
12867 - (process_scan_results): don't handle non-SSID-broadcasting here
12869 2006-02-05 Dan Williams <dcbw@redhat.com>
12871 * src/nm-device-802-11-wireless.c
12872 - (get_supplicant_timeout): new function; return
12873 NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
12874 14 channels. These are likely a/b/g cards, like Atheros, and
12875 slow as hell to scan.
12876 - (supplicant_timeout_cb, supplicant_monitor_start): use
12877 get_supplicant_timeout()
12879 2006-02-05 Dan Williams <dcbw@redhat.com>
12881 * src/dhcp-manager/nm-dhcp-manager.c
12882 - Loose a commit race with Robert; make sure size check
12883 uses size of DHCP_SERVICE_LEN, not hardcoded 15
12885 2006-02-05 Robert Love <rml@novell.com>
12887 Patch by Christoph Brill <chrisbrill@gmx.net>:
12888 * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
12889 with DHCP_SERVICE_NAME.
12891 2006-02-05 Dan Williams <dcbw@redhat.com>
12893 Remove anything having to do with device_setup_func from the
12894 AP security objects, since it's no longer used.
12896 * src/nm-ap-security.h
12897 - Kill device_setup_func and nm_ap_security_device_setup()
12899 * src/nm-ap-security-wep.c
12900 src/nm-ap-security-wpa-psk.c
12901 - (real_device_setup): remove
12903 * src/nm-ap-security.c
12904 - (real_device_setup): remove
12905 - (nm_ap_security_device_setup): remove
12907 * src/nm-device-802-11-wireless.[ch]
12908 - (nm_device_802_11_wireless_set_wep_enc_key): make static
12909 - (set_wireless_config, wireless_configure_adhoc): remove; unused
12910 and done by wpa_supplicant now anyway
12912 2006-02-05 Dan Williams <dcbw@redhat.com>
12914 * src/nm-device-802-11-wireless.c
12915 - (ap_need_key, real_act_stage2_config): deal with APs changing
12916 settings on us. Previously NM would loop asking for the
12917 key but getting the same one back. Now, if the NMI-supplied
12918 cipher doesn't overlap with the scanned AP capabilities,
12919 we request a completely new key from the user.
12921 2006-02-05 Dan Williams <dcbw@redhat.com>
12923 * src/NetworkManagerUtils.c
12924 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
12925 Handle newline killing better
12927 2006-02-05 Dan Williams <dcbw@redhat.com>
12929 * gnome/applet/nm-gconf-wso.c
12930 - (real_serialize_dbus): return TRUE, not 0. Fixes serialization
12931 of unencrypted access point security info.
12933 2006-02-03 Robert Love <rml@novell.com>
12935 * src/NetworkManagerUtils.c: Even for debugging, we should not log the
12936 user's encryption key, so we print the err_msg_cmd not the command,
12937 if available. So long as SUPPLICANT_DEBUG is default, this makes
12940 2006-02-03 Christopher Aillon <caillon@redhat.com>
12942 * initscript/RedHat/NetworkManagerDispatcher.in:
12943 * initscript/RedHat/NetworkManager.in: modify the pidfile location
12944 Patch from Dan Walsh <dwalsh@redhat.com>
12946 2006-02-03 Robert Love <rml@novell.com>
12948 * dispatcher-daemon/NetworkManagerDispatcher.c,
12949 dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
12950 but use the sysconfdir.
12952 2006-02-03 Robert Love <rml@novell.com>
12954 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
12955 Make nm_device_802_11_wireless_get_essid() return 'const char *' not
12957 * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
12958 nm_ip4_config_get_hostname() and
12959 nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
12960 * src/backends/NetworkManagerSuSE.c: Fix up for above. Also, do not
12961 leak g_strdup() result.
12963 2006-02-03 Robert Love <rml@novell.com>
12965 * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
12966 broadcast == TRUE. Also, copy broadcast and artificial properties
12967 from source network to destination in nm_ap_copy().
12968 * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
12969 since we now default new networks to non-hidden.
12971 2006-02-03 Dan Williams <dcbw@redhat.com>
12973 * gnome/applet/main.c
12974 - (main): change the NEVER->ALWAYS so we start at the
12975 beginning of the session, if being session-managed
12977 2006-02-03 Dan Williams <dcbw@redhat.com>
12979 * gnome/applet/main.c
12980 - (main): in a variation on Robert's patch, change
12981 RESTART_IMMEDIATELY -> RESTART_NEVER. Should do what
12984 2006-02-02 Robert Love <rml@novell.com>
12986 * src/Makefile.am: If we aren't going to create the run directory at,
12987 uh, run-time, create it during install. Then users just doing
12988 'make install' are cool, too. While we are here, create the
12989 dispatcher.d directory, too.
12990 * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
12991 the exact run directory.
12992 * Makefile.am: Install nm-applet.desktop.
12994 2006-02-02 Robert Love <rml@novell.com>
12996 * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
12997 structure, which denotes whether or not the AP is hidden. This is a
12998 superset of 'artificial' -- we need 'broadcast' because a hidden AP
12999 can show up in the scan list. Add nm_ap_get_broadcast() and
13000 nm_ap_set_broadcast() accessor interfaces.
13001 * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13002 nm_ap_set_broadcast().
13003 * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13004 "getProperties" method, which denotes whether or not the given
13006 * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13007 an artificial network. Set broadcast to TRUE when scanning returns
13008 an ESSID and FALSE when not.
13009 * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13010 from "getProperties" method on a network. Possible TODO is to
13011 somehow display this.
13012 * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13014 2006-02-02 Dan Williams <dcbw@redhat.com>
13016 * src/nm-device-802-11-wireless.c
13017 - (supplicant_interface_init): don't try to create
13018 /var/run/NetworkManager, since that should be done by
13019 the distro package. Causes problems for stuff like SELinux
13021 2006-02-02 Robert Love <rml@novell.com>
13023 Patch by Sureshkumar T <tsureshkumar@novell.com>:
13024 * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13025 Check for and handle empty string for iface.
13027 2006-02-01 Robert Love <rml@novell.com>
13029 * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13032 2006-01-31 Dan Williams <dcbw@redhat.com>
13034 * nm-applet.desktop
13035 - Add --sm-disable to Exec arguments, presuming that when
13036 using autostart, we don't want session management
13038 2006-01-31 Robert Love <rml@novell.com>
13040 * src/NetworkManagerAP.c: Add two new manufacturer default network
13041 names: linksys-a and linksys-g. These are found (at least) on the
13042 Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13045 2006-01-31 Robert Love <rml@novell.com>
13047 * src/NetworkManagerAP.c: Optimize the function
13048 nm_ap_has_manufacturer_default_essid(). I did not like its resulting
13049 machine code. This is the first in a series of code tweaks aiming to
13050 generate better machine code and make NetworkManager all the better.
13051 Just kidding. Who has time to go through the assembly generated for
13052 every function? I certainly don't. I have a wife, a kid, a job,
13053 a mortgage, a mistress. But this function was so bad, I was called
13054 to arms. Like the book.
13056 2006-01-31 Robert Love <rml@novell.com>
13058 * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13059 AP is not broadcasting, to scan with probe request frames. Required
13060 for non-broadcast networks.
13062 2006-01-31 Robert Love <rml@novell.com>
13064 * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13065 preprocessor define (still 20s). Fix message text in nm_info()
13066 s/too too/took too/.
13068 2006-01-30 Dan Williams <dcbw@redhat.com>
13070 * src/nm-device-802-11-wireless.c
13071 - (supplicant_monitor_start): increase connect/auth timeout to
13072 20 seconds from 10 seconds
13074 2006-01-30 Dan Williams <dcbw@redhat.com>
13077 - Define LOCALSTATEDIR
13079 * src/nm-device-802-11-wireless.c
13080 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13081 socket where we want it to
13083 * src/wpa_ctrl.[ch]
13084 - (wpa_ctrl_open): accept location to put local control socket
13086 2006-01-30 Robert Love <rml@novell.com>
13088 * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13089 get_ip4_string() for "domain_name".
13091 2006-01-30 Robert Love <rml@novell.com>
13093 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13094 gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13095 libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13096 libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13097 support for "Automatic" pairwise and group cipher configuration by
13098 letting wpa_supplicant handle the details. Add UI elements, new
13099 cipher type NM_AUTH_CIPHER_AUTO, and backend support. Works like a
13100 charm. Note this does more than add a nice feature, it fixes a bug.
13101 Apparently, some people have AP's where the pairwise cipher does not
13102 match the group cipher. Insane, but true.
13104 2006-01-30 Dan Williams <dcbw@redhat.com>
13106 * gnome/applet/applet-dbus-devices.c
13107 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13108 functions, grab device driver name from NetworkManager
13109 - (nmwa_dbus_device_properties_cb): call functions to get driver
13111 * gnome/applet/applet.c
13112 - (nmwa_update_info): show driver name in Connection Information
13115 * gnome/applet/nm-device.[ch]
13116 - (network_device_get_driver, network_device_set_driver): add
13117 accessors for driver name
13119 * gnome/applet/wireless-applet.glade
13120 - Add line for driver name to Connection Information dialog
13122 * src/nm-dbus-device.c
13123 - (nm_dbus_device_get_driver): new function to return driver name
13124 - (nm_dbus_device_methods): hook up driver name function to dbus
13127 - (get_driver_name): new function
13128 - (detail_device): grab and show driver name
13130 2006-01-30 Robert Love <rml@novell.com>
13132 * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13133 does not parse the markup if it is not part of the format.
13135 2006-01-30 Robert Love <rml@novell.com>
13137 * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13138 FALSE, we have no security options for this dialog, so we throw up
13139 an error dialog instead of a broken passphrase dialog. Fixes
13141 * gnome/applet/wireless-security-manager.c,
13142 gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13143 does not add any security options, not even NONE, print a warning
13144 and return FALSE. This let's functions constructing a dialog bail
13145 out if the device's capabilities and the network's requirements have
13148 2006-01-27 Robert Love <rml@novell.com>
13150 * configure.in: Require wpa_supplicant. Detect location of binary and
13151 use it. Override with "--with-wpa_supplicant=foo".
13152 * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13153 path to wpa_supplicant but use the auto-detected or user-provided
13154 value from configure.
13156 2006-01-27 Robert Love <rml@novell.com>
13158 * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13159 but the DHCP server did not return a hostname, try to look up our
13160 name via DNS and set the system hostname to that.
13162 2006-01-27 Dan Williams <dcbw@redhat.com>
13164 * src/backends/NetworkManagerRedHat.c
13165 - Add NM_CONTROLLED system network script support for RH/Fedora
13167 2006-01-27 Dan Williams <dcbw@redhat.com>
13169 * src/backends/NetworkManagerGentoo.c
13170 - (nm_system_device_get_disabled): add missing function.
13173 2006-01-27 Clytie Siddall <clytie@riverland.net.au>
13175 * configure.in: Added vi in ALL_LINGUAS line.
13177 2006-01-26 Robert Love <rml@novell.com>
13179 * src/Makefile.am, src/kernel-types.h: Now that two different source
13180 files are feeling the crack-addled leakage of kernel types such as
13181 u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13182 types in user-space -- define a header and include it as needed.
13183 * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13184 * src/nm-device-802-3-ethernet.h: Remove defines.
13185 * src/wpa.c: Remove defines and include kernel-types.h.
13187 2006-01-26 Robert Love <rml@novell.com>
13189 * TODO: Update. WPA support is in the bag and HAL restarts (should)
13192 2006-01-26 Robert Love <rml@novell.com>
13194 * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13195 * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13196 gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13197 gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13198 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13199 gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13200 gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13201 gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13202 gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13203 gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13204 gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13205 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13206 libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13207 src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13208 src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13209 src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13210 Kill unused variables, labels, and static functions. Don't pass
13211 string literals as the format string for printf-like functions.
13213 2006-01-25 Dan Williams <dcbw@redhat.com>
13215 * gnome/applet/wireless-applet.glade
13216 - Remove WPA2 Checkbox
13218 * gnome/applet/wireless-security-manager.c
13219 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13220 This means the Wireless Security menu now has two WPA options,
13221 one for "WPA Personal" and one for "WPA2 Personal"
13223 * gnome/applet/wso-wpa-psk.[ch]
13224 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13225 'wpa2' argument to determine WPA version to use
13226 - (append_dbus_params_func): pass stored WPA version to cipher
13227 rather than using the (removed) checkbox
13229 2006-01-24 Robert Love <rml@novell.com>
13231 * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13232 before we g_strdup(), not the ultimate string.
13234 2006-01-23 Dan Williams <dcbw@redhat.com>
13236 * src/NetworkManagerAP.[ch]
13237 - (nm_ap_new_from_ap): copy original essid too
13238 - (nm_ap_unref): free original essid
13239 - (nm_ap_get_orig_essid): new function
13240 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13241 but keep original essid around too
13243 * src/nm-device-802-11-wireless.c
13244 - (supplicant_send_network_config): send wpa_supplicant the
13245 _original_ essid, and not as a string, but in hex. Should
13246 allow us to connect to more APs that use wierd character
13247 encodings for their essids
13249 * utils/nm-utils.[ch]
13250 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13251 to UTF-8. If it's not already valid UTF-8, we check LANG and
13252 use the current locale as a hint for what encoding the essid
13253 might be in. Obviously not 100% accurate, but the idea here is
13254 that if a user's locale is ex. ja_JP, they are more likely than
13255 not to be in Japan, where access points will likely be in some
13258 2006-01-23 Dan Williams <dcbw@redhat.com>
13260 * libnm-util/cipher-private.h
13261 libnm-util/cipher.c
13262 libnm-util/cipher.h
13263 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13265 2006-01-23 Robert Love <rml@novell.com>
13267 Patch by Timo Hoenig <thoenig@suse.de>:
13268 * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13269 nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13270 by DHCP and pass it to the backends, allowing distribution-specific
13271 behavior with respect to the DHCP-supplied hostname (if nothing else,
13272 some distributions might not want to set the hostname).
13273 * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13274 DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13275 Also update our NIS behavior.
13276 * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13277 backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13278 Add stub functions.
13280 2006-01-23 Robert Love <rml@novell.com>
13282 * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13283 gnome-session does autostart. TODO: We need to install this to
13284 $prefix/share/autostart/.
13286 2006-01-22 Dan Williams <dcbw@redhat.com>
13288 * src/NetworkManagerAP.[ch]
13290 src/nm-device-802-11-wireless.c
13291 - Make nm_ap_get_essid return "const char *"
13293 2006-01-22 Dan Williams <dcbw@redhat.com>
13295 * src/NetworkManagerAP.[ch]
13296 - (nm_ap_get_matched, nm_ap_set_matched): remove
13298 * src/NetworkManagerAPList.[ch]
13299 - (nm_ap_list_diff): removed
13300 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13301 deal with access points changing essids on us
13303 * src/nm-device-802-11-wireless.c
13304 - (add_new_ap_to_device_list): move AP dbus signal logic to
13305 src/NetworkManagerAPList.c
13306 - (real_can_interrupt_activation): new function; allow interruption
13307 of device activation if we are waiting for a network key
13309 * src/NetworkManagerPolicy.c
13310 - (nm_policy_device_change_check): allow interruption of currently
13311 activating devices if the device allows it. Previous behavior
13312 would refuse to activate a just-plugged wired device if a
13313 wireless device was waiting for a key.
13315 * src/nm-device.[ch]
13316 - (nm_device_can_interrupt_activation): new function; ask devices
13317 whether their activation can be interrupted
13319 2006-01-20 Robert Love <rml@novell.com>
13321 * Makefile.am, configure.in: Add new man subdirectory.
13322 * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13323 man/Makefile.am: Add man pages for NetworkManager and its
13324 crime-solving bumbling buddy, NetworkManagerDispatcher.
13325 * man/.cvsignore: Add.
13326 * initscript/Debian/NetworkManager,
13327 initscript/Gentoo/NetworkManager.in,
13328 initscript/RedHat/NetworkManager.in,
13329 initscript/RedHat/NetworkManagerDispatcher.in,
13330 initscript/SUSE/networkmanager-dispatcher.in,
13331 initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13333 2006-01-20 Robert Love <rml@novell.com>
13335 * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13336 instead of queuing. This prevents the running of multiple NM
13337 daemons concurrently, which does not work whatsoever and results in
13338 neither daemon working correctly. Also, we don't handle queuing and
13339 name-owner-changes, anyhow.
13341 2006-01-20 Robert Love <rml@novell.com>
13343 * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13344 * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13347 2006-01-19 Robert Love <rml@novell.com>
13349 * configure.in: Require hal 0.5.0 or later.
13351 2006-01-18 Robert Love <rml@novell.com>
13353 * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13354 Allow backends to flag a device (in whatever distro-dependent way
13355 they so desire) as disabled. NM will ignore any such device.
13356 * src/backends/NetworkManagerDebian.c,
13357 src/backends/NetworkManagerRedHat.c,
13358 src/backends/NetworkManagerSlackware.c: Add stub function
13359 nm_system_device_get_disabled() that always returns FALSE (enabled).
13360 * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13361 SUSE-specific configuration structure. Fill it in from the
13362 NM_CONTROLLED variable in the system networking scripts. If this var
13363 exists and is "no", we ignore the device.
13365 2006-01-17 Robert Love <rml@novell.com>
13367 * configure.in: Remove 'no' language. Replaced by 'nb', which is
13368 identical for NM. For a full discussion, see the thread at
13369 http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13371 2006-01-17 Dan Williams <dcbw@redhat.com>
13374 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13375 function. Fixes crash when wired DHCP fails.
13377 2006-01-16 Robert Love <rml@novell.com>
13379 * src/Makefile.am: Don't install NMLoadModules
13380 * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13381 from src/ to test/ as no one uses it anymore. Note that I would be
13382 fine with removing it altogether.
13384 2006-01-16 Robert Love <rml@novell.com>
13386 * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13387 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13388 gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13389 gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13390 src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13391 src/nm-netlink-monitor.c: Don't miss any initializers on structure
13392 declarations, ever.
13393 * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13394 NM_STATE_DISCONNECTED is zero).
13396 2006-01-16 Robert Love <rml@novell.com>
13398 * src/nm-device-802-11-wireless.c: argv[3], not argv[4]. Fix
13399 uninitialized parameter and buffer overflow. Novell #143496.
13401 2006-01-16 Dan Williams <dcbw@redhat.com>
13403 Apply the PtP Address bits of a patch from Tim Niemueller
13405 * src/nm-ip4-config.[ch]
13406 - Add ip4_ptp_address member to object
13407 - (nm_ip4_config_copy): copy ptp address too
13408 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13410 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13411 rather than local tunnel ip address
13413 * src/vpn-manager/nm-vpn-service.c
13414 - (print_vpn_config): update for PtP address
13415 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13416 DBusMessageIters in preparation for getting routes from the VPN
13417 service daemons too
13419 * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13420 - (send_config_info): update for PtP address, clean up code
13421 - (main): update for PtP address, clean up code, fix typo
13423 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13424 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13426 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13427 - (pptp_ip_up): update for PtP address
13429 * vpn-daemons/pptp/src/nm-pptp-service.c
13430 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13432 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13433 - (print_vpn_config): update for PtP address
13434 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13436 2006-01-16 Dan Williams <dcbw@redhat.com>
13438 * gnome/applet/applet.c
13439 - (nmwa_add_networks_helper): don't indicate an active network
13440 if NM is disconnected or asleep
13442 2006-01-16 Dan Williams <dcbw@redhat.com>
13444 * src/NetworkManagerPolicy.c
13445 - (nm_policy_device_change_check): switch devices if we lose the link
13446 on an ethernet device.
13448 2006-01-16 Dan Williams <dcbw@redhat.com>
13450 * gnome/applet/wso-wpa-psk-hex.[ch]
13451 - Renamed -> wso-wpa-psk.[ch]
13453 * gnome/applet/wso-wpa-psk.[ch]
13456 * gnome/applet/wso-wpa-psk-passphrase.[ch]
13457 - Removed, rolled into wso-wpa-psk.[ch]
13459 * gnome/applet/Makefile.am
13460 - Updated for above changes
13462 * gnome/applet/wireless-applet.glade
13463 - Consolidate WPA-PSK options into one notebook
13464 widget, and make dialogs invisible by default
13465 to fix screen oddities
13467 * gnome/applet/wireless-security-manager.c
13468 - (wsm_set_capabilities): create the new wpa-psk widget rather
13469 than both the old hex & passphrase ones
13471 2006-01-16 Dan Williams <dcbw@redhat.com>
13473 * gnome/applet/other-network-dialog.c
13474 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13476 2006-01-16 Dan Williams <dcbw@redhat.com>
13478 * gnome/applet/applet.c
13479 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13480 nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13481 prevention to realize window before trying to get server
13484 * gnome/applet/other-network-dialog.c
13485 - (nmwa_other_network_dialog_run): fix up focus-stealing
13486 prevention to realize window before trying to get server
13489 * gnome/applet/passphrase-dialog.c
13490 - (nmi_passphrase_dialog_new): fix up focus-stealing
13491 prevention to realize window before trying to get server
13494 2006-01-16 Robert Love <rml@novell.com>
13496 Patch from Timo Hoenig <thoenig@suse.de:
13497 * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13498 libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13499 libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13500 libnm-util/dbus-helpers.h: add checks whether headers are used
13501 within a C++ build.
13503 2006-01-16 Dan Williams <dcbw@redhat.com>
13505 * gnome/applet/wireless-security-option.c
13506 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13508 2006-01-16 Dan Williams <dcbw@redhat.com>
13510 * libnm-util/cipher-wpa-psk-passphrase.c
13511 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13512 be 8 - 63 characters inclusive
13514 2006-01-16 Dan Williams <dcbw@redhat.com>
13517 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13519 2006-01-13 Robert Love <rml@novell.com>
13521 Patch by T Sureshkumar <tsureshkuman@novell.com>:
13522 * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13523 modules that do not use an interface.
13525 2006-01-13 Dan Williams <dcbw@redhat.com>
13529 - Allow subclasses to implement deactivate_quickly()
13530 - (nm_device_deactivate_quickly): call subclass
13531 deactivate_quickly() methods
13532 - (nm_device_set_active_link): small cleanups, and don't
13533 deactivate the device right away because we risk a deadlock
13534 when called from device thread, waiting for the device
13535 thread to cancel activation
13537 * src/nm-device-802-11-wireless.c
13538 - (real_deactivate_quickly): new function
13539 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13540 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13541 so that we kill the supplicant when we sleep too
13542 - (supplicant_interface_init): work around naive naming attempts of
13543 wpa_ctrl when naming sockets
13545 2006-01-13 Dan Williams <dcbw@redhat.com>
13547 * src/nm-device-802-11-wireless.c
13548 - (supplicant_cleanup): delete old device control sockets too
13549 - (supplicant_get_device_socket_path): new function to consolidate
13550 locations that need a path to a device's control socket
13552 2006-01-12 Robert Love <rml@novell.com>
13554 * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13555 description so that the description is unique for each
13556 pair (device,provider). Fixes Novell #142773.
13558 2006-01-12 Dan Williams <dcbw@redhat.com>
13560 * src/nm-device-802-11-wireless.c
13561 - (supplicant_exec): ensure GError is correctly initialized
13562 Reported by Diego González (gnome.org #326708)
13564 2006-01-11 Robert Love <rml@novell.com>
13566 * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13567 define if_mii(), open code the same results, and do so without any
13570 2006-01-11 Robert Love <rml@novell.com>
13572 * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13573 that wso_foo_new() returned non-NULL. Instead, only append the new
13574 wso to wsm->options if the wso is non-NULL. The crux is that we
13575 assume that the relevant key types are implied by WEP and WPA as
13576 appropriate. To be sure, they should be, but we should not expect
13577 drivers to not be oozing piles of wolf fecal matter.
13579 2006-01-11 Robert Love <rml@novell.com>
13581 * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13582 * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13583 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13584 src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13585 src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13586 src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13587 test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13588 * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13589 comparing values within DBL_EPSILON. Also fix shadowed variable
13592 2006-01-11 Dan Williams <dcbw@redhat.com>
13594 Add options for WPA2 and WPA1+CCMP (AES).
13596 * gnome/applet/wireless-applet.glade
13597 - Add UI bits for WPA+CCMP
13599 * gnome/applet/other-network-dialog.c
13600 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13601 and don't allow creation of WPA2 Ad-Hoc networks since
13602 wpa_supplicant doesn't support them
13604 * gnome/applet/wireless-security-manager.c
13605 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13606 on to the specific wireless security option being created
13608 * gnome/applet/wireless-security-option.[ch]
13609 - (wso_wpa_create_key_type_model): new utility function to create
13610 the model required for WPA Key Type combo box
13612 * gnome/applet/wso-private.h
13613 gnome/applet/wireless-security-option.h
13614 - Move private function prototypes into wso-private.h
13616 * gnome/applet/wso-wpa-psk-hex.[ch]
13617 gnome/applet/wso-wpa-psk-passphrase.[ch]
13618 - (append_dbus_params_func): get WPA version from checkbox and pass
13619 it to the dbus serialization helper
13620 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13621 key type combo changes
13622 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13625 * libnm-util/cipher-wpa-psk-hex.c
13626 libnm-util/cipher-wpa-psk-passphrase.c
13627 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13628 new function; allow the cipher to be changed after object creation
13630 * src/nm-ap-security-wpa-psk.c
13631 - (set_description): Do WPA2 descriptions too
13633 * src/nm-ap-security.c
13634 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13636 2006-01-11 Robert Love <rml@novell.com>
13638 * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13639 is defined in <linux/mii.h> to return the mii_ioctl_data structure
13640 from the ifreq structure in lieu of an open coded solution. Removes
13641 a life-threatening type-punning.
13642 * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13643 types, ever, whatsoever, baby.
13645 2006-01-11 Robert Love <rml@novell.com>
13647 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13648 gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13649 assignments to applet->nm_state into a new nmwa_set_state() function
13650 for both cleanliness and to help debugging.
13652 2006-01-10 Robert Love <rml@novell.com>
13654 * src/autoip.c: Fix FIXME. In performing the link-local zeroconf IP
13655 assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13656 seconds, exclusive. That is, we want to sleep x seconds such that
13659 2006-01-10 Robert Love <rml@novell.com>
13661 * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13662 the attr fields according to the example in the email available at
13663 mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13664 Conversely, we do have to free 'name', so we do so, fixing a leak.
13666 2006-01-10 Robert Love <rml@novell.com>
13668 * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13669 sure that we close the socket!
13671 2006-01-10 Robert Love <rml@novell.com>
13673 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13674 src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13675 src/nm-device.c: Fix a FIXME! Reimplement the function
13676 nm_device_update_hw_address() in device subclass variants,
13677 nm_device_802_3_ethernet_set_address() and
13678 nm_device_802_11_wireless_set_address(), hook them up, and use them.
13679 This fixes the existing bug where MAC addresses are all zeros.
13681 2006-01-10 Robert Love <rml@novell.com>
13683 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13684 gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13685 option to give users ability to globally disconnect and put NM to
13686 sleep. This is useful as a 'lockdown mode' for flying, security, and
13689 2006-01-09 Robert Love <rml@novell.com>
13691 * src/nm-device-802-3-ethernet.h: The kernel headers <linux/mii.h> and
13692 <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13693 User-space does not supply these types, so we have to define them
13694 ourselves. The relevant kernel maintainer refused to accept a patch
13695 switching these headers to the proper C99 types.
13697 2006-01-09 Dan Williams <dcbw@redhat.com>
13699 Apply Robert's 'tray icon redo' patch with fixes
13700 * gnome/applet/applet.c
13701 gnome/applet/applet.h
13702 - Instead of using a menu bar + menu item, simulate menu
13703 behavior using a popup menu. Highlight the area around
13704 the icon more like a menu too, by playing with the
13705 applet's size requisition
13707 2006-01-09 Timo Hoenig <thoenig@suse.de>
13708 * libnm-util/dbus-helpers.c
13709 libnm-util/dbus-helpers.h
13710 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13711 to 'exception_namespace' (:namespace is a keyword in
13714 2006-01-09 Dan Williams <dcbw@redhat.com>
13716 * src/NetworkManagerPolicy.c
13717 - (nm_policy_device_change_check): don't autoswitch away from
13718 Ad-Hoc networks, since there's really no concept of
13722 - (nm_dbus_nm_create_wireless_network): mark created networks
13725 * src/nm-device-802-11-wireless.c
13726 - (real_activation_success_handler): add user-created Ad-Hoc
13727 networks to the device's scan list
13729 2006-01-08 Dan Williams <dcbw@redhat.com>
13731 We now require a patch for wpa_supplicant to support Ad-Hoc
13733 http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13735 * src/nm-device-802-11-wireless.c
13736 - (supplicant_send_network_config): turn off wpa_supplicant's
13737 scanning. Fixes Ad-Hoc networks.
13739 2006-01-08 Dan Williams <dcbw@redhat.com>
13741 * src/nm-ap-security.c
13742 src/nm-ap-security.h
13743 - Add a user_created argument to the write_supplicant_config
13746 * src/nm-ap-security-wep.c
13747 src/nm-ap-security-wpa-psk.c
13748 src/nm-device-802-11-wireless.c
13749 - Make Ad-Hoc mode somewhat work, at least write the
13750 correct options to wpa_supplicant
13752 2006-01-08 Dan Williams <dcbw@redhat.com>
13754 * src/nm-device-802-11-wireless.c
13755 - Remove unused code from the old device activation path
13757 2006-01-08 Dan Williams <dcbw@redhat.com>
13759 * libnm-util/dbus-helpers.c
13760 - (nmu_security_serialize_wpa_psk): pass a blank key through
13761 dbus when key == NULL
13763 2006-01-08 Dan Williams <dcbw@redhat.com>
13765 * gnome/applet/nm-gconf-wso-wpa-psk.c
13766 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
13767 correct arguments to nmu_security_deserialize_wpa_psk()
13769 * src/nm-ap-security-wpa-psk.c
13770 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
13771 arguments to nmu_security_deserialize_wpa_psk()
13773 2006-01-08 Dan Williams <dcbw@redhat.com>
13775 * gnome/applet/wso-wpa-psk-hex.c
13776 gnome/applet/wso-wpa-psk-passphrase.c
13777 - Hook up the append_dbus_params_func() function
13779 2006-01-08 Dan Williams <dcbw@redhat.com>
13781 * src/nm-device-802-11-wireless.c
13782 - (get_wireless_capabilities): correctly detect driver WPA
13785 2006-01-08 Dan Williams <dcbw@redhat.com>
13787 * gnome/applet/Makefile.am
13788 gnome/applet/wso-wpa-psk-hex.c
13789 gnome/applet/wso-wpa-psk-hex.h
13790 - New files, implement WPA-PSK Hex key input
13792 * gnome/applet/wireless-applet.glade
13793 - Change existing wpa-psk stuff to wpa-psk-hex
13794 - Add new widgets for wpa-psk-passphrase
13796 * gnome/applet/wireless-security-manager.c
13797 - (wsm_set_capabilities): enable WPA options
13799 * gnome/applet/wso-wpa-psk-passphrase.c
13800 - (wso_wpa_psk_passphrase_new): use correct glade widgets
13801 for WPA-PSK passphrase
13803 2006-01-08 Dan Williams <dcbw@redhat.com>
13805 * include/NetworkManager.h
13806 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
13807 applet/info-daemons
13809 * gnome/applet/passphrase-dialog.c
13810 - Use the constant. Fixes a bug where the arguments to
13811 dbus_message_new_error() were incorrect
13813 * src/nm-dbus-nmi.c
13816 2006-01-07 Dan Williams <dcbw@redhat.com>
13818 * src/nm-device-802-11-wireless.c
13819 - Add a link timeout so we allow the supplicant time to
13820 reassociate if it can, before we deactivate the card
13821 - Fix up link status and link updating so things work better
13823 2006-01-07 Dan Williams <dcbw@redhat.com>
13825 * src/nm-device-802-11-wireless.c
13826 - Switch over to using wpa_supplicant
13827 - Add a timeout of 10s for association of the supplicant
13828 - Start the monitor callback of the supplicant
13830 2006-01-07 Dan Williams <dcbw@redhat.com>
13832 * src/NetworkManagerUtils.c
13833 - (nm_utils_supplicant_request,
13834 nm_utils_supplicant_request_with_check):
13835 pass correct buffer length to wpa_ctrl_request()
13837 2006-01-07 Dan Williams <dcbw@redhat.com>
13839 * src/nm-device-private.h
13841 - (nm_device_activate_schedule_stage3_ip_config_start): make
13842 this function available to subclasses
13844 2006-01-06 Robert Love <rml@novell.com>
13846 * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
13847 user plugging in a network cable signals their preference for to
13848 switch, unless the user explicitly selected a wireless network and
13849 therefore signaled their preference for said wireless network over
13850 wired. In other words, do exactly what makes sense.
13852 2006-01-06 Robert Love <rml@novell.com>
13854 * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
13855 src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
13856 src/NetworkManagerWireless.h: Remove, no longer used and they keep
13857 showing up in my greps.
13859 2006-01-06 Robert Love <rml@novell.com>
13861 * gnome/applet/applet-dbus-devices.c,
13862 gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
13863 libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
13864 src/nm-dbus-nm.c: Fix several issues. 'Connect to Other' and 'Create
13865 New Network' both failed in the non-encrypted case because we were
13866 not appending the security options to the DBUS message. And
13867 'Connect to Other' was also failing in the encrypted case because
13868 we were not incrementing to the next DBUS parameter. All fixed.
13869 Thanks to dcdw for some debugging help.
13871 2006-01-06 Robert Love <rml@novell.com>
13873 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
13874 gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
13875 hangup code and add per-device hangup. Tie last commit into the
13876 GNOME applet. TODO: Save, understand, and respond to the state of
13877 each dialup device.
13879 2006-01-06 Robert Love <rml@novell.com>
13881 Patch by Timo Hoenig <thoenig@suse.de>:
13882 * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
13883 hangup specific dialup devices.
13884 * src/backends/NetworkManagerDebian.c,
13885 src/backends/NetworkManagerGentoo.c,
13886 src/backends/NetworkManagerRedHat.c,
13887 src/backends/NetworkManagerSlackware.c: Add stub backend.
13888 * src/backends/NetworkManagerRedHat.c,
13889 src/backends/NetworkManagerSuSE.c: Add specific backend interface to
13890 hangup specific dialup devices.
13892 2006-01-04 Robert Love <rml@novell.com>
13894 * gnome/applet/applet-dbus-devices.c,
13895 gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
13896 src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
13899 2006-01-04 Dan Williams <dcbw@redhat.com>
13901 First dump of wpa_supplicant-related code. It's not hooked up to
13902 anything yet though. Thanks to Kay Sievers for
13903 wpa_supplicant_wrapper.c, which formed the basis for this work,
13904 and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
13908 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
13910 * src/NetworkManagerUtils.[ch]
13911 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
13912 Add convenience functions for talking to wpa_supplicant
13914 * src/nm-ap-security.[ch]
13915 src/nm-ap-security-wep.c
13916 src/nm-ap-security-wpa-psk.[ch]
13917 - Update and implement real_write_supplicant_config functions
13918 in all security types
13919 - (nm_ap_security_wpa_psk_new_from_ap): implement in
13920 nm-ap-security-wpa-psk.c
13922 * src/nm-device-802-11-wireless.c
13923 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
13924 wpa_supplicant_start, wpa_supplicant_interface_init,
13925 wpa_supplicant_send_network_config): add functions to talk to
13926 wpa_supplicant and write network config to it
13928 2006-01-04 Robert Love <rml@novell.com>
13930 * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
13931 values so that distribution-backends can differentiate between the
13932 various types (modem, ISDN, et cetera) of dialup device that they
13934 * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
13937 2006-01-03 Dan Williams <dcbw@redhat.com>
13939 * src/NetworkManagerPolicy.c
13941 src/nm-device-802-11-wireless.c
13942 - Move wireless-specific activation failure and success code
13943 into wireless device class
13945 2006-01-03 Robert Love <rml@novell.com>
13947 Patch by Preggna S:
13948 * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
13949 IPsec does not require that a VPN client be bound to an interface,
13950 due to the use of the in-kernel IPSec bits. So make the tunnel
13953 2006-01-03 Dan Williams <dcbw@redhat.com>
13955 * src/NetworkManagerAP.c
13956 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
13957 the WPA IE specifies that WEP is supported
13959 * src/nm-device-802-11-wireless.c
13960 - (process_scan_results): don't mark an AP as supporting WEP
13961 if there's already other encryption capability info
13963 2006-01-03 Dan Williams <dcbw@redhat.com>
13965 * src/dhcp-manager/nm-dhcp-manager.c
13966 - Recognize activation cancellation when waiting for DHCP
13967 configuration from dhcdbd
13968 - Ignore non-dhcdbd messages
13971 - (real_act_stage3_ip_config_start): return to correct behavior
13972 of letting the dhcp-manager notify us of failure or
13973 success rather than incorrectly doing that ourselves
13974 - (nm_device_activate_stage4_ip_config_get): deal with
13975 activation cancellation a bit earlier
13977 2006-01-03 Dan Williams <dcbw@redhat.com>
13979 * src/nm-device-802-11-wireless.c
13981 - Add hooks to subclasses for stage3_ip_config_start and
13982 stage4_ip_config_timeout
13984 * src/nm-device-802-3-ethernet.c
13985 - (real_get_generic_capabilities): make devices NM-supported
13988 2006-01-03 Robert Love <rml@novell.com>
13990 * src/backends/NetworkManagerSuSE.c: update to newer API (no more
13991 nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
13992 latter cannot differentiate between error and the address -1; misc.
13995 2006-01-03 Dan Williams <dcbw@redhat.com>
13997 * src/NetworkManager.c
13998 - Move link-checking/probing into the device subclasses
14001 * src/nm-device.[ch]
14002 src/nm-device-802-11-wireless.c
14003 src/nm-device-802-3-ethernet.c
14004 - Do periodic link checking in device subclasses rather
14005 than being triggered from NetworkManager.c
14006 - discover_wireless_capabilities -> get_wireless_capabilities
14007 - discover_generic_capabilities -> get_generic_capabilities
14008 - Device subclass activation routines now return a value of type
14009 NMActStageReturn to indicate what step to perform next
14010 - Devices now override stage4_get_ip4_config if they choose
14012 2006-01-01 Dan Williams <dcbw@redhat.com>
14014 * src/nm-device-802-11-wireless.c
14015 - (real_init): don't chain up to parent init because we don't
14016 need to do that anymore
14019 - (discover_device_type): fix arguments to ioctl() to correctly
14020 pass interface name
14021 - (nm_device_new): consolidate generic device initialization into
14023 - (real_init): remove, consolidated to nm_device_new()
14024 - (nm_device_deactivate, real_deactivate): consolidate
14026 2006-01-01 Dan Williams <dcbw@redhat.com>
14028 * src/nm-activation-request.c
14029 - Change dhcp_state member of the NMActRequest structure
14030 from guint8 to guint32
14032 * src/dhcp-manager/nm-dhcp-manager.[ch]
14033 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14034 than guint8 to match the dbus argument. Turns out we were
14035 overwriting memory since we were passing in only a guint8
14037 2005-12-31 Dan Williams <dcbw@redhat.com>
14039 * refactor NMDevice into a GObject-based framework with separate
14040 objects for wired and wireless. The following files are no
14041 longer used but should stick around for a bit so we don't
14042 loose code through the cracks:
14043 NetworkManagerDevice.c
14044 NetworkManagerDevice.h
14045 NetworkManagerWireless.c
14046 NetworkManagerWireless.h
14048 The intent here is to allow each device type to manage its own
14049 connection & activation life-cycle, ie to allow wireless devices
14050 to interface with wpa_supplicant, etc. There's a fair bit of
14051 encapsulation breakage right now that should gradually get pulled
14052 back into each device, along with things like periodic property
14053 updates and link probing.
14055 2005-12-29 Dan Williams <dcbw@redhat.com>
14057 * include/NetworkManager.h
14058 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14059 between networks that don't have any encryption at all
14061 2005-12-29 Dan Williams <dcbw@redhat.com>
14063 * test/test-common.c
14066 - Move to a test-common subdirectory
14068 * test/libnm-util/test-ciphers.c
14069 - Move test data to test-inputs.h
14070 - Test WPA ciphers too
14072 * test/libnm-util/test-dbus-helpers.c
14073 - Test serialization/deserialization of ciphers
14075 2005-12-29 Dan Williams <dcbw@redhat.com>
14077 * gnome/applet/applet-dbus-devices.c
14078 - Replace 'enc' parameter with 'capabilities' for wireless networks
14079 in dbus calls to NM
14080 - Set capabilities on WirelessNetwork objects
14081 - Receive and save type-specific device capabilities too
14083 * gnome/applet/applet-dbus-info.c
14084 gnome/applet/applet-dbus.c
14085 - Passphrase dialog no longer a singleton; new instance gets created
14086 on each request. Updates to deal with that.
14088 * gnome/applet/applet.c
14089 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14090 than single 'encrypted' flag
14091 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14093 - Passphrase dialog updates per above
14095 * gnome/applet/menu-items.c
14096 - (network_menu_item_update): use AP capabilities to determine
14099 * gnome/applet/nm-device.[ch]
14100 - Add accessors for type-specific device capabilities
14102 * gnome/applet/other-network-dialog.c
14103 - Rework to respect device capabilities. i.e., if the device doesn't
14104 support WPA, remove that option from the security dropdown
14106 * gnome/applet/passphrase-dialog.c
14107 - Massive rework so that a new instance is created each time
14108 it's used, to support wireless network capabilities
14110 * gnome/applet/wireless-network.[ch]
14111 - Add accessors and members for wireless network capabilities
14113 * gnome/applet/wireless-security-manager.[ch]
14114 - (wsm_set_capabilities): called after creation to set which
14115 security options get shown to the user
14117 2005-12-29 Dan Williams <dcbw@redhat.com>
14119 * libnm-util/cipher-wpa-psk-passphrase.c
14120 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14123 2005-12-23 Dan Williams <dcbw@redhat.com>
14125 * gnome/applet/applet-dbus-info.c
14126 - (nmi_dbus_get_key_for_network): if there's no entry in
14127 GConf for a network, assume we want a new key
14128 - (nmi_save_network_info): serialize wireless security info
14129 into GConf so its saved
14132 - Fix warning as we may not be passed security info when
14133 connecting to a wireless network
14135 2005-12-23 Dan Williams <dcbw@redhat.com>
14137 * gnome/applet/applet-compat.c
14138 - Fix bugs in GConf entry conversion
14140 * gnome/applet/applet-dbus-info.c
14141 - (nmi_dbus_get_network_properties): handle case of the BSSID
14142 list being zero-length
14144 * libnm-util/cipher-*
14145 libnm-util/dbus-helpers.c
14146 - All ciphers must now return hashed keys as UTF-8 valid
14147 hexadecimal strings, ie "8f3dae4023". They are pushed
14148 through dbus as strings too.
14149 - Consolidate various functions that do bin->hex and hex->bin
14150 conversion into cipher.c
14152 * src/nm-ap-security-wep.c
14153 src/nm-ap-security-wpa-psk.c
14154 - Handle NULL keys since we may not know keys right away
14156 * src/nm-dbus-nmi.c
14157 - (nm_dbus_get_network_data_cb): actually advance to the start
14158 of the wireless security info before we try to deserialize it
14160 * libnm-util/test-ciphers.c
14161 - Update cipher tests for the change to UTF-8 hexadecimal strings
14163 2005-12-22 Dan Williams <dcbw@redhat.com>
14165 * gnome/applet/applet-compat.[ch]
14166 - Convert old-format GConf and keyring entries
14167 when the applet starts up.
14169 * gnome/applet/applet.c
14170 - (nmwa_get_instance): Call the conversion function
14171 on startup before dbus is initialized
14173 2005-12-22 Dan Williams <dcbw@redhat.com>
14175 * gnome/applet/applet-dbus-info.c
14176 - Remove nmi_dbus_create_error_message() in favor of
14177 nmu_create_dbus_error_message()
14178 - (nmi_dbus_get_network_properties): Error message cleanups
14179 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14180 gconf key rather than 'addresses', since they really are BSSIDs
14181 - (nmi_dbus_get_network_properties): Dispose of the security
14182 object when we're done with it
14184 2005-12-21 Dan Williams <dcbw@redhat.com>
14186 * Consolidate the info-daemon's "updateNetworkInfo" and
14187 "addNetworkAddress" calls into just "updateNetworkInfo"
14189 2005-12-21 Dan Williams <dcbw@redhat.com>
14191 * Make connection after key retrieval work again
14193 2005-12-21 Dan Williams <dcbw@redhat.com>
14195 * gnome/applet/nm-gconf-wso*
14196 - Make the serialize functions return gboolean
14199 * gnome/applet/nm-gconf-wso.c
14200 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14201 parent class handling so we don't segfault
14203 * src/NetworkManagerAP.[ch]
14204 - (nm_ap_get_capabilities): new function, return capabilities
14205 now that something can use them
14206 - (nm_ap_set_encrypted): assume that an access point supports
14207 both WEP104 and WEP40 if its set encrypted. FIXME: can
14208 we even tell whether it just supports WEP40?
14210 * src/NetworkManagerDevice.c
14211 - (ap_need_key): resurrect and update for the New World Order
14212 - (nm_device_wireless_get_activation_ap): if we're not given
14213 security info to use, create some based on access point
14216 * src/nm-ap-security-wep.c
14217 - (nm_ap_security_wep_new_from_ap): create a new object
14218 based on a certain access point's capabilities
14220 * src/nm-ap-security.c
14221 - (nm_ap_security_new_from_ap): delegate creation of a new
14222 object based on access point capabilities to a subclass
14223 - (nm_ap_security_copy_properties): don't segfault if we
14224 don't have a key yet
14227 - (nm_dbus_nm_set_active_device): provide more informative
14228 output when errors occur. Also construct security info
14229 for a given access point if we weren't given any
14231 2005-12-21 Žygimantas Beručka <zygis@gnome.org>
14233 * configure.in: Added Lithuanian to ALL_LINGUAS.
14235 2005-12-21 Dan Williams <dcbw@redhat.com>
14238 - Add some testcases for WEP ciphers
14240 2005-12-17 Dan Williams <dcbw@redhat.com>
14244 2005-12-17 Dan Williams <dcbw@redhat.com>
14246 * include/NetworkManager.h
14247 - Finally kill NMEncKeyType
14249 * gnome/applet/applet-dbus-info.c
14250 - (nmi_save_network_info): convert to NMGConfWSO
14252 * gnome/applet/nm-gconf-wso-*.c
14253 - Implement gconf serialization functions
14255 * src/NetworkManagerPolicy.c
14256 - (nm_policy_activation_finish): fix up meaning of
14257 automatic/user_requested
14259 2005-12-17 Dan Williams <dcbw@redhat.com>
14262 - More applet cleanups
14263 - Use the dbus-method-dispatcher
14265 * libnm-util/dbus-method-dispatcher.[ch]
14266 - Generalize the implementation from NM in
14267 NetworkManagerUtils.c
14269 2005-12-16 Dan Williams <dcbw@redhat.com>
14272 - Fix up the passphrase dialog to use all the
14273 WirelessSecurityOption stuff (untested)
14275 2005-12-16 Dan Williams <dcbw@redhat.com>
14277 * Move nm_gconf_get_*_helper() functions to separate files,
14278 gconf-helpers.c & gconf-helpers.h
14280 * New NMGConfWSO objects for managing the gconf side of things.
14281 Eventually these should be merged with the
14282 WirelessSecurityOption objects and a common base (that can
14283 serialize/deserialize from dbus & gconf) should be
14284 refactored out, but for now they are separate.
14286 2005-12-16 Robert Love <rml@novell.com>
14288 * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14289 binaries unless they exist (nm_spawn_process() emits a warning if
14290 asked to spawn a non-existant process).
14292 2005-12-16 Dan Williams <dcbw@redhat.com>
14294 * gnome/applet/applet-dbus-info.c
14295 - Clean up lots of gconf-related code
14297 2005-12-16 Robert Love <rml@novell.com>
14299 * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14301 2005-12-16 Dan Williams <dcbw@redhat.com>
14303 * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14305 * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14306 bits still to be done)
14308 2005-12-16 Dan Williams <dcbw@redhat.com>
14310 * Finally move info-daemon related stuff out of
14311 NetworkManagerDbus.c to nm-dbus-nmi.c
14313 2005-12-16 Dan Williams <dcbw@redhat.com>
14315 * Kill auth_method for access points, since that's now done
14316 by NMAPSecurity objects
14318 * Add a copy-constructor of sorts to NMAPSecurity
14319 (how do you do this properly in glib???)
14321 2005-12-15 Dan Williams <dcbw@redhat.com>
14323 * Exorcise encryption key hashing on APs
14324 * Use libnm-util's serialization/deserialization in both the
14326 * Random other stuff
14328 2005-12-15 Robert Love <rml@novell.com>
14330 * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14331 is being added to the icon naming spec, so let's use that (Tango CVS
14332 has the icon). Because it is new, however, we fall back to the
14333 current "gnome-lockscreen" if the new icon is not around, thus
14334 behavior is the same.
14335 * gnome/applet/applet.c: Remove setup_stock(). We do not need the
14338 2005-12-15 Robert Love <rml@novell.com>
14340 * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14341 well, help to give. Couple other misc. bits.
14343 2005-12-15 Dan Williams <dcbw@redhat.com>
14345 * libnm-util/dbus-helpers.[ch]
14346 - Make this the one-stop-shop for serializing/deserializing
14347 AP & connection security settings over dbus. Both NM
14348 and applets should use this to ensure consistent dbus
14349 API going forwared.
14351 2005-12-15 Robert Love <rml@novell.com>
14353 Patch by Timo Hoenig <thoenig@suse.de>:
14354 * src/NetworkManagerDbus.c
14355 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14356 if HAL jumps off the system bus. Otherwise libdbus
14357 (dbus_connection_dispatch) will try to run the filter
14358 function of our libhal context which is already freed.
14360 2005-12-15 Alexander Shopov <ash@contact.bg>
14362 * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14364 2005-12-14 Dan Williams <dcbw@redhat.com>
14366 * include/NetworkManager.h
14367 src/NetworkManagerWireless.c
14368 - Rearrange 802.11 wireless-specific capabilities again
14371 - Forgot to add wpa.c/wpa.h to the makefiles
14373 * src/NetworkManagerAP.[ch]
14374 - Implement access point capabilities and parse the
14375 WPA/RSN IEs into the capability bitfield
14376 - Switch the "encrypted" attribute to utilize the bitfield
14377 and capabilities rather than being independent
14379 * src/NetworkManagerDevice.c
14380 - (nm_device_wireless_get_activation_ap): break it horribly
14381 until we can push NMAPSecurity objects into access point
14382 objects and through the activation chain
14383 - Stuff WPA & RSN IEs into AP capabilities
14386 - Take a shot at actually making setActiveDevice work
14389 - Make the API a bit saner
14391 2005-12-14 Dan Williams <dcbw@redhat.com>
14393 * include/NetworkManager.h
14394 - Add 802.11-specific capability for 802.1x key
14398 - Pull in WPA IE and RSN IE parsing code from
14399 wpa_supplicant so we can determine access point
14401 - Move WPA-related constants here from NetworkManagerAP.h
14402 and NetworkManagerDevice.c
14404 * src/NetworkManagerDevice.c
14405 src/NetworkManagerAP.[ch]
14406 - Use WPA-related constants from wpa.h
14408 2005-12-14 Dan Williams <dcbw@redhat.com>
14410 * include/NetworkManager.h
14411 - Update and split 802.11 wireless-specific capabilities from
14412 generic device capabilities
14414 * src/NetworkManagerDevice.c
14415 src/NetworkManagerDevicePrivate.h
14416 - (nm_device_wireless_discover_capabilities): Move 802.11
14417 wireless-specific capability checks to
14418 NetworkManagerWireless.c
14419 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14420 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14422 * src/NetworkManagerWireless.[ch]
14423 - (nm_802_11_wireless_discover_capabilities): Check extended
14424 802.11 wireless-specific capabilities of the driver
14426 2005-12-14 Robert Love <rml@novell.com>
14428 Patch from Stefan Scheler <sscheler@suse.de>:
14429 * src/NetworkManagerDevice.c: call backend code to activate and
14431 * src/NetworkManagerSystem.h: add new NIS interfaces.
14432 * src/backends/NetworkManagerDebian.c,
14433 src/backends/NetworkManagerGentoo.c,
14434 src/backends/NetworkManagerRedHat.c,
14435 src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14437 * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14439 2005-12-14 Dan Williams <dcbw@redhat.com>
14441 * src/nm-ap-security*.[ch]
14442 - Add AP security abstractions to NetworkManager
14444 * src/nm-dbus-device.c
14445 - Begin to parse new format dbus messages from the applet
14446 and construct an AP security object from the message
14448 * libnm-util/dbus-helpers.c
14449 - Use message iters so we can append the key as a fixed
14450 array of bytes, which actually works rather than
14451 using dbus_message_append_args() as we were before
14453 2005-12-14 Dan Williams <dcbw@redhat.com>
14455 * src/NetworkManagerDbus.c
14456 gnome/applet/applet-dbus.c
14457 - Fix up dbus service replacement options. The applet
14458 should allow replacement, NM itself should not.
14460 2005-12-13 Robert Love <rml@novell.com>
14462 * src/named-manager/nm-named-manager.c: Revert earlier commit.
14463 Instead, fail silently if config is NULL by not asserting and not
14464 returning FALSE. Also, make sure we always fclose() the file.
14466 2005-12-13 Robert Love <rml@novell.com>
14468 Patch by Stefan Scheler <sscheler@suse.de>:
14469 * src/nm-ip4-config.h, src/nm-ip4-config.c,
14470 src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14471 via DHCP. Still need the backends to commit the NIS domain name and
14472 and servers to yp.conf as needed.
14474 2005-12-13 Robert Love <rml@novell.com>
14476 * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14477 nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14479 2005-12-13 Robert Love <rml@novell.com>
14481 * src/named-manager/nm-named-manager.c: Don't unref the config until
14482 after we call rewrite_resolv_conf(), because get_last_default_domain()
14483 needs to access the config. Fixes "rewrite_resolv_conf: assertion
14484 `config != NULL' failed" assertion failures and "Could not commit DNS
14487 2005-12-12 Dan Williams <dcbw@redhat.com>
14489 * libnm-util/dbus-helpers.[ch]
14490 libnm-util/Makefile.am
14491 - new helper calls to consolidate locations where
14492 NM's setDevice method is called
14494 * gnome/applet/applet-dbus-devices.c
14495 gnome/applet/wireless-security-option.c
14497 - Implement dbus message param append function for
14498 all wireless security options
14500 2005-12-12 Robert Love <rml@novell.com>
14502 * libnm-util/cipher-wep-passphrase.c,
14503 libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14504 src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14505 src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14506 all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14507 When handling keys, we don't care what the sign is. The compiler
14508 guarantees us that we get our 8-bits, which is all we care about.
14509 * configure.in: Remove "-Wno-pointer-sign" flag. We are sign-aware!
14511 2005-12-12 Dan Williams <dcbw@redhat.com>
14513 * gnome/applet/applet-dbus-devices.[ch]
14514 gnome/applet/applet.c
14515 gnome/applet/other-network-dialog.c
14516 gnome/applet/wireless-security-manager.[ch]
14517 gnome/applet/wireless-security-option.[ch]
14519 - Push the wireless security options further into the applet
14521 2005-12-12 Robert Love <rml@novell.com>
14523 * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14524 return any name servers. That is perfectly valid. (Novell #134369).
14526 2005-12-11 Dan Williams <dcbw@redhat.com>
14528 * gnome/applet/wso-*
14529 gnome/applet/wireless-security-option.*
14530 gnome/applet/Makefile.am
14531 - split each security option out so we can eventually
14532 have each one build up their own dbus message
14533 arguments to send to NM
14535 2005-12-11 Dan Williams <dcbw@redhat.com>
14537 * Make validation of the key work correctly
14539 2005-12-11 Dan Williams <dcbw@redhat.com>
14541 * Hook more bits of the Other Network Dialog up to the
14542 wireless security manager stuff, and restructure
14543 bits of the dialog so there's less code.
14545 2005-12-10 Dan Williams <dcbw@redhat.com>
14547 * gnome/applet/Makefile.am
14548 - Add libnm-util to includes
14549 - Add libnm-util to link list
14550 - Add wireless-security-common.* to compile list
14552 * gnome/applet/other-network-dialog.c
14553 - Convert to using the WirelessSecurityManager code and
14556 * gnome/applet/passphrase-dialog.c
14557 - Comment out references to stuff in the glade file that
14558 cause runtime errors until it can be fixed up
14559 to use the WirelessSecurityManager code
14561 * gnome/applet/wireless-applet.glade
14562 - Rename some widgets
14563 - Add widgets for the WirelessSecurityManager code
14564 - Remove passphrase-related stuff since that's now
14565 handled by the WirelessSecurityManager code
14567 2005-12-10 Dan Williams <dcbw@redhat.com>
14569 * gnome/applet/applet-dbus-devices.c
14570 - Print out error message details for dbus pending call callbacks
14571 - Move nmwa_dbus_update_devices() up
14573 * gnome/applet/applet-dbus-vpn.c
14574 - Print out error message details for dbus pending call callbacks
14576 2005-12-10 Dan Williams <dcbw@redhat.com>
14580 - Remove cipher-manager.* because we don't need it
14581 - Forgot to add gnome-keyring-md5 files to compile list
14583 2005-12-09 Dan Williams <dcbw@redhat.com>
14588 - Add a utility library for clients of NetworkManager. It's
14589 only targetted at applets for the moment, and contains
14590 a generalized 802.11 cipher framework for different
14591 types of keys (WEP & WPA Hex, ASCII, Passphrase)
14593 2005-12-09 Robert Love <rml@novell.com>
14595 * src/NetworkManagerDevice.c: handle error better in
14596 nm_device_set_mode().
14598 2005-12-08 Robert Love <rml@novell.com>
14600 * include/NetworkManager.h: add WPA capabilities constants
14601 * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14602 or WPA2 and add the capabilities bits as appropriate.
14604 2005-12-08 Robert Love <rml@novell.com>
14606 * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14607 NetworkManagerDispatcher.
14608 * configure.in, initscript/SUSE/.cvsignore,
14609 initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14612 2005-12-08 Robert Love <rml@novell.com>
14614 * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14616 2005-12-08 Robert Love <rml@novell.com>
14618 * src/NetworkManagerDevice.c: We want to fall back on and default to
14619 IW_MODE_AUTO, not -1, which is more in line with our previous
14620 behavior. Otherwise, we try to set the wireless mode to -1 in
14621 nm_device_set_mode().
14623 2005-12-07 Robert Love <rml@novell.com>
14625 * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14626 src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14627 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14628 src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14629 src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14630 wireless-tools constants directly. UNKNOWN is now -1 and NONE is
14633 2005-12-07 Robert Love <rml@novell.com>
14635 * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14636 supplied IP is invalid, fall back to DHCP.
14638 2005-12-07 Dan Williams <dcbw@redhat.com>
14640 * Convert NETWORK_MODE_* constants to IW_MODE_*
14641 * Make all the get_mode/set_mode functions take and return 'int'
14642 * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14644 2005-12-07 Robert Love <rml@novell.com>
14646 * src/NetworkManagerDevice.c: strncpy() buffer check.
14647 * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14649 2005-12-06 Dan Williams <dcbw@redhat.com>
14651 * gnome/applet/applet-dbus.c
14652 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14654 * gnome/applet/applet-dbus-vpn.c
14655 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14656 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14657 to TRUE here if stage was ACTIVATED
14659 2005-12-06 Dan Williams <dcbw@redhat.com>
14661 * Change nm_device_is_* functions to better names:
14662 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14663 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14665 2005-12-06 Dan Williams <dcbw@redhat.com>
14667 * Change naming of NMDeviceType to something more sensible:
14668 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14669 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14670 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14672 2005-12-06 Dan Williams <dcbw@redhat.com>
14674 * Move NetworkManager.h -> include/NetworkManager.h
14675 * Split out VPN stuff into include/NetworkManagerVPN.h
14676 * Fix up makefiles to include new location
14677 * Fix up sources to include NetworkManagerVPN.h
14679 2005-12-06 Dan Williams <dcbw@redhat.com>
14681 Various changes in the applet to move VPN connection "state" -> "stage",
14682 which it actually is. I'd like to change the signal as well when we
14683 break compat in the near future.
14685 2005-12-06 Dan Williams <dcbw@redhat.com>
14687 Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14688 * initscript/Slackware/rc.networkmanager
14691 * src/backends/NetworkManagerSlackware.c
14692 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14695 2005-12-05 Robert Love <rml@novell.com>
14697 * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14698 to free, particularly here as it just barfs.
14700 2005-12-05 Dan Williams <dcbw@redhat.com>
14702 * gnome/applet/applet-dbus.c
14703 - Work with dbus 0.6 too
14705 2005-12-03 Dan Williams <dcbw@redhat.com>
14707 * src/NetworkManagerUtils.[ch]
14708 src/nm-ip4-config.c
14709 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14710 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14712 2005-12-01 Robert Love <rml@novell.com>
14714 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14715 need a NULL for the '...' parameter, too, to fill the so-called
14718 2005-12-01 Robert Love <rml@novell.com>
14720 * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14721 interface is already gone, so don't call rtnl_link_change() to down
14722 it (which will segfault, anyhow).
14724 2005-11-22 Robert Love <rml@novell.com>
14726 * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14727 gateway is not set, just print a little note. Configurations without
14728 gateways are valid.
14730 2005-11-22 Robert Love <rml@novell.com>
14734 2005-11-20 Ilkka Tuohela <hile@iki.fi>
14736 * configure.in: Added Finnish translation to ALL_LINGUAS
14738 2005-11-14 Robert Love <rml@novell.com>
14740 * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
14741 Niemueller <tim@niemueller.de>.
14743 2005-11-08 Dan Williams <dcbw@redhat.com>
14745 Patch from Bill Moss <bmoss@clemson.edu>
14746 * src/NetworkManagerDevice.c
14747 - (nm_device_activate_stage5_ip_config_commit): fix ordering
14748 of nm_policy_schedule_activation_finish() to prevent a
14749 race condition that causes the link to be dropped
14751 2005-11-08 Dan Williams <dcbw@redhat.com>
14753 Patch from Bill Moss <bmoss@clemson.edu>
14754 * src/NetworkManagerAPList.c
14755 src/NetworkManagerDevice.c
14756 src/NetworkManagerDbus.c
14757 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
14758 we get more readable ether/mac addresses
14760 2005-11-02 Christopher Aillon <caillon@redhat.com>
14762 * gnome/applet/main.c: Don't set the restart command. This fixes
14763 the issue where the restart command was getting copies of all its
14764 arguments for each time the applet was restarted.
14766 2005-11-02 Robert Love <rml@novell.com>
14768 * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
14769 if the widget state differs from our saved state. This ensures we
14770 do not enter an endless loop of death and destruction. Also, this
14771 guarantees us that we enforce the widget state.
14773 2005-11-02 Robert Love <rml@novell.com>
14775 * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
14776 * gnome/applet/applet-dbus-devices.c: invoke the new function
14777 nmwa_enable_wireless_set_active() to ensure that the state of the
14778 'Enable Wireless' checkbox matches the daemon's state. This is a
14779 concern because the daemon remembers the state.
14781 2005-11-02 Robert Love <rml@novell.com>
14783 * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
14784 Enabled", as checkboxes should be actions/commands not positive
14785 statements, otherwise they are confusing in the unselected case. See
14786 examples in GNOME HIG, Chapter 6.
14788 2005-11-02 Robert Love <rml@novell.com>
14790 * gnome/applet/applet.c: When wireless is disabled, act it. Do not
14791 show a list of wireless networks or the wireless devices or the
14792 "Create Wireless ..." menus. Aside from this cosmetics, this fixes
14793 a bad bug: If wireless is disabled and the user picks a wireless
14794 network, NM will switch to the network, only to immediately switch
14795 back, as wireless is disabled. This also reassures people that NM
14796 is not scanning (it is not -- I verified). Fixes Novell bug #130041.
14798 2005-11-02 Christopher Aillon <caillon@redhat.com>
14800 * gnome/applet/applet.c:
14801 * gnome/applet/applet.h:
14802 Partial backout of Dan's timeout animation patch.
14803 Timeout IDs cannot legally be 0, so revert the code in place to handle
14804 a timeout ID of 0 to denote the timeout isn't running.
14806 2005-11-02 Christopher Aillon <caillon@redhat.com>
14808 * src/NetworkManagerPolicy.c:
14809 (nm_policy_device_change_check) Clarify wireless switch nm_info text
14811 2005-10-28 Robert Love <rml@novell.com>
14813 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
14814 "Import Saved Configuration..." to make it clear that importing is
14815 not the next step, but an option. As an aside, a nice TODO would be
14816 to move Importing out of the vpn-specific dialog and into the main
14817 property editor, as Importing goes with Adding, but that will require
14818 some rearchitecting of the VPN stuff I suspect.
14820 2005-10-27 Dan Williams <dcbw@redhat.com>
14822 Start using libnl. You need 1.0-pre3 or higher. Eventually
14823 we should replace most of the distro-specific backend code
14826 Get it here: http://people.suug.ch/~tgr/libnl/
14830 - Add checks for libnl pkgconfig file
14831 - Use LIBNL_LIBS & LIBNL_CFLAGS
14833 * src/NetworkManagerSystem.c
14834 src/nm-ip4-config.[ch]
14835 - Use libnl rather than ioctl() for most things
14836 - Remove unused functions
14838 2005-10-27 Robert Love <rml@novell.com>
14840 * src/backends/NetworkManagerSuSE.c: fix warning message text
14842 2005-10-27 Christopher Aillon <caillon@redhat.com>
14844 * gnome/applet/applet.c: Use the copyright symbol instead of (C)
14846 2005-10-27 Christopher Aillon <caillon@redhat.com>
14848 * gnome/applet/applet.c: The applet's about dialog can advertise our
14849 project page <http://www.gnome.org/projects/NetworkManager/>
14851 2005-10-26 Christopher Aillon <caillon@redhat.com>
14853 * gnome/applet.c: Also use translator credits if we don't have
14854 the new GtkAboutDialog (older versions of GTK+)
14856 2005-10-26 Robert Love <rml@novell.com>
14858 * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
14859 failure; correct usage text for "--no-daemon"
14861 2005-10-25 Dan Williams <dcbw@redhat.com>
14863 * src/NetworkManagerDevice.c
14864 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
14866 - (free_process_scan_cb_data): unref the device when freeing results
14867 - (nm_device_wireless_process_scan_results): free scan results a bit later
14868 so we don't unref the device underneath ourselves
14870 2005-10-25 Dan Williams <dcbw@redhat.com>
14872 * Back out 2005-10-24 commit from Tor Krill. Patch
14873 causes nameservers never to be removed from named.
14875 2005-10-24 Dan Williams <dcbw@redhat.com>
14877 Clean up wireless scanning and wireless link probing.
14879 * src/NetworkManagerDevice.c
14880 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
14881 just see if there's an activation request on the device, and check the
14882 current link against the activation request access point's ESSID.
14883 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
14884 - (nm_device_wireless_process_scan_results): actually free our scan data, and
14885 don't call process_scan_results() on zero-length data
14886 - (nm_device_set_wireless_scan_interval): increase the init scan interval to
14887 15 seconds (from 10)
14889 2005-10-24 Dan Williams <dcbw@redhat.com>
14891 Cleanup some applet stuff:
14893 - Animation timeouts. If NM died while the applet was animating,
14894 the applet would not hide itself. This is now fixed.
14896 - Remove some dead code
14898 - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
14899 to nmi_passphrase_dialog_cancel() since we no longer use threads.
14901 - Track animation timeout using a gboolean rather than the timeout's
14902 ID, since timeout IDs can legally be 0.
14904 2005-10-24 Dan Williams <dcbw@redhat.com>
14906 * src/backends/interface_parser.c
14907 - Add void to function declarations that need it
14908 to match patch from Engin AYDOGAN
14910 * src/backends/interface_parser.h
14911 - Remove unused prototype for ifparser_interfaces()
14913 Patch from Engin AYDOGAN <engin@bzzzt.biz>
14914 * src/backends/interface_parser.h:
14915 - Compile fixes for gcc 4.0.2 (add void)
14917 2005-10-24 Dan Williams <dcbw@redhat.com>
14919 Patch from Tor Krill <tor@krill.nu>
14920 * src/named-manager/nm-named-manager.c
14921 - Write more than just the first nameserver to /etc/resolv.conf
14922 - Write out valid /etc/resolv.conf on exit
14924 2005-10-21 Christopher Aillon <caillon@redhat.com>
14926 * gnome/applet/applet-dbus-vpn.c:
14927 Get rid of spurious newlines in debug console output
14929 2005-10-21 Christopher Aillon <caillon@redhat.com>
14931 * src/backends/NetworkManagerGentoo.c:
14932 Fix path to killall. Patch from Dave Shanker <dshanker@gmail.com>
14934 2005-10-20 Robert Love <rml@novell.com>
14936 * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
14937 direct comparison of floating point values, which is never correct.
14938 Also some misc. cleanup.
14940 2005-10-19 Robert Love <rml@novell.com>
14942 * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
14944 2005-10-19 Robert Love <rml@novell.com>
14946 * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
14947 sensitivity of the buttons. Specificaly, do the right thing if
14948 there are no entries.
14950 2005-10-19 Christopher Aillon <caillon@redhat.com>
14952 * configure.in: Update check for adequate wireless-tools
14953 with an AC_TRY_COMPILE for the new symbols we use.
14955 2005-10-19 Dan Williams <dcbw@redhat.com>
14957 * src/NetworkManagerDevice.c
14958 - (process_scan_results): don't drop the last (or only)
14959 access point we see
14961 2005-10-19 Christopher Aillon <caillon@redhat.com>
14963 * src/backends/NetworkManagerSlackware.c:
14964 Patch from Nico <lordllucifer@gmail.com>
14965 - Update the Slackware backend.
14967 2005-10-18 Christopher Aillon <caillon@redhat.com>
14969 * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
14970 if we've got GLib 2.8.0
14972 2005-10-18 Robert Love <rml@novell.com>
14974 * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
14975 function nm_schedule_state_change_signal_broadcast() when we
14976 deactivate a device, too.
14978 2005-10-18 Robert Love <rml@novell.com>
14980 * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
14981 be used uninitialized.
14983 2005-10-18 Christopher Aillon <caillon@redhat.com>
14985 * test/libnm_glib_test.c: Test unregistering, too.
14987 2005-10-17 Christopher Aillon <caillon@redhat.com>
14989 * configure.in: Bump to 0.5.0
14991 2005-10-17 Dan Williams <dcbw@redhat.com>
14994 - Remove WPA-related constants so they aren't part of the
14997 2005-10-17 Christopher Aillon <caillon@redhat.com>
14999 * gnome/applet/applet.c:
15000 * gnome/applet/applet.h:
15001 Desensitize the 'Connection Information' menu item when there is
15002 no active connection.
15004 2005-10-17 Christopher Aillon <caillon@redhat.com>
15006 * gnome/libnm_glib/libnm_glib.c:
15007 Make libnm_glib_unregister_callback () actually unregister the callback
15009 2005-10-17 Robert Love <rml@novell.com>
15011 * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15012 two seconds -- tries is updated every 1/10 of a second, not every
15015 2005-10-17 Christopher Aillon <caillon@redhat.com>
15017 * gnome/applet/applet-dbus-info.c:
15018 Let D-BUS know that we haven't handled a message when we haven't.
15020 2005-10-17 Robert Love <rml@novell.com>
15022 * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15023 in order to remain 64-bit clean.
15025 2005-10-17 Christopher Aillon <caillon@redhat.com>
15027 * gnome/applet/applet-dbus-info.c:
15028 Find network encryption keys asynchronously
15030 2005-10-17 Robert Love <rml@novell.com>
15032 * src/backends/NetworkManagerDebian.c,
15033 src/backends/NetworkManagerRedHat,
15034 src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15037 2005-10-17 Robert Love <rml@novell.com>
15039 * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15042 2005-10-17 Christopher Aillon <caillon@redhat.com>
15044 * src/NetworkManagerDevice.c: (process_scan_results)
15045 Fix logic that checks to see whether we have an ESSID.
15047 2005-10-15 Dan Williams <dcbw@redhat.com>
15049 Move scanning code into NetworkManager rather than use iwlib's
15050 iw_scan() function, so that we can figure out AP capabilities.
15053 - Add AP capability bits
15055 * src/NetworkManagerAP.[ch]
15056 - Add capability field to NMAccessPoint structure
15057 - Add WPA & RSN Information Element fields and accessor
15058 functions to NMAccessPoint
15060 * src/NetworkManagerDevice.c
15061 - Remove usage of iw_scan
15062 - Add scanning code to NetworkManager rather than use
15063 iw_scan() from iwlib
15065 * src/NetworkManagerUtils.[ch]
15066 - (nm_dispose_scan_results): remove, unused
15068 2005-10-14 Christopher Aillon <caillon@redhat.com>
15070 * gnome/libnm_glib/libnm_glib.c:
15071 * gnome/libnm_glib/libnm_glib.h:
15072 Use guint instead of gint for callback IDs.
15074 2005-10-12 Christopher Aillon <caillon@redhat.com>
15076 * gnome/applet/applet.c:
15077 Fix icon animation smoothness issues. nmwa_redraw_timeout gets called
15078 every 1000ms. It will unconditionally call nmwa_update_state which
15079 kills the existing animation timeout and registers a new one with a
15080 callback to draw a new frame every 100ms. There are 11 connecting
15081 icon frames, so the last 2 frames kept getting dropped. Only reset
15082 the animation timeout if we aren't animating.
15084 2005-10-11 Dan Williams <dcbw@redhat.com>
15086 * gnome/applet/applet-dbus-devices.c
15087 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15088 We want to grab the product & vendor from net.physical_dev
15089 rather than info.parent.
15091 2005-10-11 Dan Williams <dcbw@redhat.com>
15093 * src/NetworkManagerDevice.c
15094 - Use the driver's WE version for scanning rather than
15095 the WE version NM was compiled with. Fixes random
15096 crashes in iw_scan () in iwlib.
15098 2005-10-10 Dan Williams <dcbw@redhat.com>
15100 * Remove nm_system_load_device_modules() from backend files
15101 and from NetworkManager.c
15103 2005-10-10 Dan Williams <dcbw@redhat.com>
15105 * src/NetworkManagerPolicy.c
15106 - Fix some bugs introduced by the capabilities patch
15108 2005-10-10 Dan Williams <dcbw@redhat.com>
15110 * gnome/applet/applet-dbus-info.c
15111 - (nmi_dbus_get_network_key): hide the menu when putting up
15112 the keyring dialog. (not sure if the code is right...)
15114 2005-10-09 Dan Williams <dcbw@redhat.com>
15116 Patch from Bill Moss <bmoss@clemson.edu>
15117 * src/NetworkManagerDevice.c
15118 - (nm_device_set_user_key_for_network): don't try to set auth
15119 mode on the AP from the allowed list if it's NULL
15121 2005-10-09 Dan Williams <dcbw@redhat.com>
15123 * Replace the "driver support level" stuff with capabilities. The
15124 capability field is a bitfield that is more flexible than the
15125 old driver support level thing. It's mostly so we can easily
15126 figure out what supports WPA and what doesn't, but should be
15127 quite useful later.
15129 2005-10-09 Dan Williams <dcbw@redhat.com>
15136 - Added new "nm-tool" tool that gives quite a bit more
15139 2005-10-07 Robert Love <rml@novell.com>
15141 * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15142 gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15143 src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15144 test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15147 2005-10-07 Robert Love <rml@novell.com>
15149 * configure.in: Change our compile flags for the betterment of mankind.
15150 Add "-Wstrict-prototypes" because we comply anyhow and missing a
15151 prototype is very bad on 64-bit platforms as types default to int but
15152 sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15153 "-Wmissing-declarations" to warn if we define an exported function
15154 but fail to put it in a header.
15156 2005-10-07 Robert Love <rml@novell.com>
15158 * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15159 by the name nm_update_device_wireless_timeouts() and once tried,
15160 without success, to steal my pet turtle.
15162 2005-10-07 Robert Love <rml@novell.com>
15164 * Cleanup prototypes: put some functions in header files and mark
15165 others as 'static' -- feel free to invert
15166 * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15167 nm_vpn_manager_vpn_connection_list_copy()
15168 * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15169 nm_vpn_service_get_dbus_connection()
15170 * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15171 nm_vpn_manager_vpn_connection_list_copy()
15172 * src/vpn-manager/nm-vpn-service.c: make
15173 nm_vpn_service_act_request_failed() and
15174 nm_vpn_service_stage2_daemon_wait() static
15175 * src/vpn-manager/nm-vpn-service.h: add prototype for
15176 nm_vpn_service_get_dbus_connection()
15178 2005-10-06 Christopher Aillon <caillon@redhat.com>
15180 * gnome/applet/applet.c:
15181 * gnome/applet/applet.h:
15182 * gnome/applet/icons/Makefile.am:
15183 Convey information about the current connection stage in the
15184 icons themselves instead of creating a separate progress bar.
15186 2005-10-04 Robert Love <rml@novell.com>
15188 * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15189 convert an ether_addr structure's MAC into a string, because the
15190 latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15191 versus 07:3B:04, while the former will not.
15193 2005-10-04 Robert Love <rml@novell.com>
15195 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15196 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15197 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15198 default route in the 'Connection Information' dialog, send primary
15199 and secondary name servers in in "getProperties" DBUS method, add
15200 network_device_{get,set}_{primary,secondary}_dns(), The primary and
15201 secondary domain name servers are crucial pieces of information
15202 that a user might need in debugging a network problem.
15204 2005-10-04 Robert Love <rml@novell.com>
15206 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15207 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15208 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15209 default route in the 'Connection Information' dialog, send default
15210 route in "getProperties" DBUS method, add network_device_set_route(),
15211 and network_device_get_route(). The Gateway is a crucial piece of
15212 connection-related information that a user might need in debugging a
15215 2005-10-03 Robert Love <rml@novell.com>
15217 * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15220 2005-10-02 Dan Williams <dcbw@redhat.com>
15222 * Shorten time taken to sleep by fastpathing bits of device deactivation
15223 necessary for sleep.
15225 * Fix issue where deactivating a device might deactivate the active
15226 VPN connection, even if the VPN was not using the device.
15228 2005-10-02 Dan Williams <dcbw@redhat.com>
15230 * gnome/applet/applet.c
15231 - Adjust signal strength -> icon mapping values slightly
15232 (so that 51% signal doesn't show a 75% icon) by adding
15233 5% to the values. ex: > 5% now shows 25% icon, > 30%
15234 shows 50% icon, etc.
15236 2005-09-29 Robert Love <rml@novell.com>
15238 * src/NetworkManager.c: removed unused variable.
15240 2005-09-28 Dan Williams <dcbw@redhat.com>
15242 Support for named + DBus, using Red Hat DBus patches for named. You
15243 can find those patches here, with "dbus" in the patch's filename:
15245 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15247 Don't forget the named dbus service file either.
15249 Instead of writing a config file and spawing a named process, NM will
15250 use an already-running dbus-enabled named if it finds one. NM will
15251 update named's forwarder configuration on the fly using dbus.
15253 If there is no dbus-enabled named running, NM will automatically fall
15254 back to writing the most-recent DNS server information to /etc/resolv.conf
15255 and calling nm_system_update_dns() to kick the system's resolver.
15257 Accordingly, all named-related configure-time options have been removed.
15259 2005-09-26 Robert Love <rml@novell.com>
15261 * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15263 * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15264 bug in error path if "ASKPASSWORD" is "no".
15266 2005-09-26 Robert Love <rml@novell.com>
15268 * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15269 comment in /etc/resolv.conf -- ';' is not.
15271 2005-09-19 Dan Williams <dcbw@redhat.com>
15273 * src/backends/NetworkManagerRedHat.c:
15274 * src/backends/NetworkManagerDebian.c:
15275 * src/backends/NetworkManagerSlackware.c:
15276 * src/backends/NetworkManagerGentoo.c:
15277 * src/backends/NetworkManagerSUSE.c:
15278 Fix invocations of "/sbin/ip address" to use short form instead
15280 2005-09-19 Christopher Aillon <caillon@redhat.com>
15282 * src/nm-dbus-device.c: Don't assert when getting
15283 addresses of a not yet connected interface.
15285 * gnome/applet/applet.c: Free icons if loading fails.
15286 Use translator-credits so translators can make themselves known.
15288 2005-09-15 Christopher Aillon <caillon@redhat.com>
15290 * src/NetworkManagerAP.c:
15291 * src/NetworkManagerAP.h:
15292 * src/NetworkManagerDevice.c:
15293 Set a blacklist for certain common manufacturer default ESSIDs:
15294 APs with these ESSIDs are extremely likely to be completely
15295 different networks: connecting to one should not make NM
15296 auto-connect to every other AP with the same default ESSID.
15298 2005-09-12 Christopher Aillon <caillon@redhat.com>
15300 * gnome/applet/wireless-applet.glade:
15301 The passphrase entry should also activate the default
15303 * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15305 * gnome/applet/applet-dbus-devices.c:
15306 * gnome/applet/applet.c:
15307 * gnome/applet/nm-device.c:
15308 * gnome/applet/nm-device.h:
15309 * src/NetworkManagerUtils.c:
15310 * src/NetworkManagerUtils.h:
15311 * src/nm-dbus-device.c:
15312 I've got a fever, and the only cure for it is less ioctl.
15313 Make NM push IP data rather than make the applet open a socket
15316 2005-09-10 Christopher Aillon <caillon@redhat.com>
15318 * gnome/applet/applet.c:
15319 * gnome/applet/applet-dbus-devices.c:
15320 * gnome/applet/applet-dbus-info.c:
15321 * gnome/applet/passphrase-dialog.c:
15322 * gnome/libnm_glib/libnm_glib.c:
15323 * gnome/vpn-properties/nm-vpn-properties.c:
15325 * src/backends/NetworkManagerRedHat.c:
15326 * src/named-manager/nm-named-manager.c:
15327 * src/NetworkManagerAPList.c:
15328 * src/NetworkManager.c:
15329 * src/NetworkManagerDbus.c:
15330 * src/NetworkManagerDevice.c:
15331 * src/NetworkManagerPolicy.c:
15332 * src/NetworkManagerSystem.c:
15333 * src/nm-dbus-device.c:
15334 * src/nm-dbus-nm.c:
15335 * src/vpn-manager/nm-vpn-manager.c:
15336 * src/vpn-manager/nm-vpn-service.c:
15337 * test/libnm_glib_test.c:
15338 * test/nminfotest.c:
15339 * test/nmtestdevices.c:
15340 Fix a bunch of 'unused variable' compiler warnings
15342 * NetworkManager.h:
15343 * gnome/applet/applet-dbus-info.c:
15344 * gnome/applet/applet-dbus-info.h:
15345 * gnome/applet/applet.c:
15346 * gnome/applet/applet.h:
15347 * src/NetworkManager.c:
15348 * src/NetworkManagerDbus.c:
15349 * src/NetworkManagerDbus.h:
15350 * src/NetworkManagerDevice.c:
15351 * src/NetworkManagerDevice.h:
15352 * src/NetworkManagerMain.h:
15353 * src/NetworkManagerWireless.c:
15354 * src/NetworkManagerWireless.h:
15355 * src/nm-dbus-nm.c:
15356 Make NetworkManager be smart about how frequently to scan
15357 based on its current state. Remove the UI for choosing when
15358 to scan. Scanning still may disabled completely by the user
15359 via the "Wireless Enabled" menu item.
15361 2005-09-09 Christopher Aillon <caillon@redhat.com>
15363 * gnome/applet/applet.c:
15364 Also overlay the vpn connecting icons onto the wired icon,
15367 * gnome/vpn-properties/nm-vpn-properties.glade:
15368 Clean up a few strings to use better grammar and proper casing.
15370 2005-09-08 Christopher Aillon <caillon@redhat.com>
15372 * gnome/applet/vpn-connection.c:
15373 * gnome/applet/vpn-connection.h:
15374 Add nmwa_vpn_connection_is_activating ()
15376 * gnome/applet/applet.c:
15377 * gnome/applet/applet.h:
15378 * gnome/applet/icons/nm-vpn-connecting*.png:
15379 Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15380 the user know something's happening between clicking the VPN item and it
15381 actually being connected.
15383 2005-09-07 Christopher Aillon <caillon@redhat.com>
15385 * gnome/applet/applet-dbus-info.c: need to free attributes in the
15386 failure case as well.
15388 2005-09-07 Rodrigo Moya <rodrigo@novell.com>
15390 * gnome/panel/eggtrayicon.[ch]:
15391 * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15393 2005-09-07 Dan Williams <dcbw@redhat.com>
15395 Patch from Bill Moss <bmoss@clemson.edu>
15396 * src/applet-dbus.c
15397 - (nmwa_dbus_filter): strip whitespace from beginning
15398 and end of VPN login banner
15400 2005-09-07 Dan Williams <dcbw@redhat.com>
15402 * The great VPN Manager rewrite of 2005
15404 2005-09-07 Christopher Aillon <caillon@redhat.com>
15406 * gnome/applet/menu-items.c:
15407 * gnome/applet/nm-device.c:
15408 * gnome/applet/wireless-network.c:
15409 * gnome/libnm_glib/libnm_glib.c:
15410 * src/NetworkManagerDbusUtils.c:
15411 * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15412 g_malloc0 doesn't return NULL
15414 2005-09-06 Dan Williams <dcbw@redhat.com>
15416 Patch from Tomislav Vujec <tvujec@redhat.com>
15417 * src/NetworkManagerDevice.c
15418 - (nm_get_device_by_udi): don't return a device when we
15419 actually didn't find what we were looking for
15421 2005-09-06 Christopher Aillon <caillon@redhat.com>
15423 * gnome/applet/applet-dbus-devices.c:
15424 * gnome/applet/applet-dbus-devices.h:
15425 * gnome/applet/applet-dbus.c:
15426 * src/NetworkManagerDbus.c:
15427 * src/NetworkManagerDbus.h:
15428 * src/NetworkManagerDevice.c:
15429 * src/nm-dbus-device.c:
15430 Make NM push updates about active device strength when it changes,
15431 rather than having the applet poll every 2s.
15433 2005-09-05 Christopher Aillon <caillon@redhat.com>
15435 * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15436 network_device_set_strength
15438 2005-09-04 Dan Williams <dcbw@redhat.com>
15440 Patch from Bill Nottingham <notting@redhat.com>
15441 * src/NetworkManagerDevice.c
15442 - (nm_device_activation_cancel): reset the quit_activation flag
15444 2005-09-04 Dan Williams <dcbw@redhat.com>
15446 * src/nm-activation-request.c
15447 - (nm_act_request_unref): actually free the structure,
15448 which we didn't seem to be doing before
15450 2005-09-04 Dan Williams <dcbw@redhat.com>
15452 Patch from John Palmieri <johnp@redhat.com>
15453 * gnome/applet/applet-dbus-devices.c
15454 - Fix up unreffing of DBusMessage objects
15456 2005-09-04 Dan Williams <dcbw@redhat.com>
15458 Patch from John Palmieri <johnp@redhat.com>
15459 * gnome/applet/nm-device.c
15460 - (nm_device_unref): clear network_device's memory _before_ freeing it
15462 2005-09-02 Christopher Aillon <caillon@redhat.com>
15464 * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15466 2005-09-02 Bill Nottingham <notting@redhat.com>
15468 * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15470 2005-09-01 Dan Williams <dcbw@redhat.com>
15472 * src/NetworkManager.c
15473 - (nm_remove_device_from_list): rename to nm_remove_device
15474 - (nm_hal_device_removed): call nm_remove_device()
15476 * src/NetworkManagerDevice.c
15477 - Change the NMWirelessScanCB member 'reschedule' which
15478 wasn't used to 'force' to indicate that we need to
15479 force a scan when adding a device
15482 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15483 from the device list
15484 - (nm_dbus_nm_wake): Re-add all devices to the device list
15486 2005-09-01 Robert Love <rml@novell.com>
15488 * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15489 and the check "!iface" in the error case is probably never true.
15491 2005-09-01 Dan Williams <dcbw@redhat.com>
15493 Patch from Bill Nottingham <notting@redhat.com>
15494 * src/backends/NetworkManagerRedHat.c
15495 - Add initial dialup support to Red Hat/Fedora backend
15497 2005-09-01 Dan Williams <dcbw@redhat.com>
15499 * gnome/applet/applet-dbus-devices.c
15500 - Sort both wireless networks and devices again, which got
15501 broken when removing threading
15503 2005-09-01 Christopher Aillon <caillon@redhat.com>
15505 * gnome/applet/applet.c:
15506 Only show the "Stop/Start All Wireless Devices" menuitem
15507 if we actually have wireless devices.
15509 * gnome/applet/applet-dbus-info.c:
15510 * gnome/applet/applet.c:
15511 * gnome/applet/other-network-dialog.c:
15512 * gnome/applet/vpn-password-dialog.c:
15513 Drop the gtk_dialog_run () calls in favor of connecting to
15514 "response" signals, needed now that the applet is not threaded.
15516 2005-08-31 Dan Williams <dcbw@redhat.com>
15518 Patch from Bill Moss <bmoss@clemson.edu>
15519 * src/NetworkManagerDevice.c
15520 - (nm_device_wireless_scan): fix scan timeout values
15522 2005-08-30 Dan Williams <dcbw@redhat.com>
15524 * gnome/applet/wireless-applet.glade
15525 - HIG-ify the Other Wireless Networks dialog a bit more
15526 - Fix some potential segfaults in the info dialog
15528 2005-08-30 Dan Williams <dcbw@redhat.com>
15530 * gnome/applet/applet-dbus-devices.c
15531 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15533 2005-08-30 Dan Williams <dcbw@redhat.com>
15535 * gnome/applet/applet-dbus.[ch]
15536 - Remove all the nmwa_dbus_call_method_xxxx functions since
15537 they weren't being used anyway
15539 2005-08-30 Bastien Nocera <hadess@hadess.net>
15541 * test/nmtestdevices.c: (print_usage), (main):
15542 Check the number of arguments, and fix a typo
15544 2005-08-29 Dan Williams <dcbw@redhat.com>
15546 Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15547 * gnome/applet/applet.c
15548 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15550 2005-08-29 Dan Williams <dcbw@redhat.com>
15553 - Don't use threads any more. Anything that blocks
15554 (like gtk_dialog_run()) will have to get fixed up which
15555 should happen quickly. We really only had threads to make
15556 the animation smooth, and when everything got converted over
15557 to DBus Pending Calls, the need for threads kind of went away
15559 2005-08-29 Christopher Aillon <caillon@redhat.com>
15561 * gnome/applet/applet.c: Draw VPN connections as radio items
15562 since we don't yet support multiple VPNs.
15563 * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15564 * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15566 2005-08-29 Dan Williams <dcbw@redhat.com>
15568 Patch from j@bootlab.org
15569 - Make --without-named work
15570 - Make --with-dhcdbd work correctly
15572 2005-08-27 Josep Puigdemont i Casamajó <josep.puigdemont@gmail.com>
15574 * configure.in: Added "ca" to ALL_LINGUAS.
15576 2005-08-26 Christopher Aillon <caillon@redhat.com>
15578 * Fix up VPN state handling between the applet and NetworkManager,
15579 so that the applet doesn't show a VPN as connected when one
15581 - The applet no longer has a pointer to the active VPN's
15582 name, but tracks each VPNs state individually
15583 - NM no longer has a "getActiveVPNConnection" method
15584 - NM no longer broadcasts the "VPNConnectionChange" signal
15585 - NM now broadcasts a "VPNConnectionStateChange" signal
15586 whenever the state of a VPN changes
15588 2005-08-26 Dan Williams <dcbw@redhat.com>
15590 * gnome/applet/applet-dbus-devices.c
15591 gnome/applet/applet-dbus-vpn.c
15592 - Remove calls to dbus_pending_call_ref() because we already
15593 "own" the pending call
15594 - Remove calls to dbus_pending_call_get_completed() because
15595 when we are in the callback, the pending call is completed
15598 2005-08-22 Dan Williams <dcbw@redhat.com>
15600 Patch by Bill Moss <bmoss@clemson.edu>
15601 * src/dhcp-manager/nm-dhcp-manager.c
15602 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15603 some time to send out a RELEASE if they like
15605 2005-08-22 Dan Williams <dcbw@redhat.com>
15607 Noticed by Bill Moss <bmoss@clemson.edu>
15608 * src/NetworkManagerDbus.c
15609 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15610 instead of just cancelling its activation
15612 * src/NetworkManagerDevice.c
15613 - (nm_device_deactivate): some small cleanups
15614 - (nm_device_set_user_key_for_network): deactivate the device
15615 instead of just cancelling its activation
15617 2005-08-22 Dan Williams <dcbw@redhat.com>
15619 Noticed by Bill Moss <bmoss@clemson.edu>
15620 * src/NetworkManagerDevice.c
15621 - (nm_device_wireless_scan): fix scan timeout, we were
15622 waiting way too long for scans to complete
15624 2005-08-22 Dan Williams <dcbw@redhat.com>
15626 Patch from j@bootlab.org:
15627 * src/backends/NetworkManagerDebian.c
15628 - Make the Debian backend work for static IP again
15630 2005-08-20 Christopher Aillon <caillon@redhat.com>
15632 * gnome/applet/other-network-dialog.c:
15633 The "Create New Network" and "Connect to Other Network"
15634 dialogs share alot of code, but shouldn't share a window
15635 title. Give them different ones.
15637 * gnome/applet/wireless-applet.glade:
15638 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15639 Some more minor UI tweaks.
15641 2005-08-19 Christopher Aillon <caillon@redhat.com>
15643 * gnome/applet/other-network-dialog.c:
15644 * gnome/applet/wireless-applet.glade:
15645 Also need mnemonic widgets, and underline enabled.
15647 2005-08-19 Dan Williams <dcbw@redhat.com>
15649 * vpn-daemons/vpnc/nm-vpnc-service.c
15650 - (vpnc_watch_cb): remove no-longer-relevant comment
15651 - (write_config_option): new function, helper to write
15652 config options to vpnc's stdin
15653 - (nm_vpnc_config_write): use the new helper, make the
15656 2005-08-19 Christopher Aillon <caillon@redhat.com>
15658 * gnome/applet/passphrase-dialog.c:
15659 * gnome/applet/wireless-applet.glade:
15660 Make the passphrase dialog response based, and treat
15661 responses other than OK (such as Esc, [X]) as a cancel.
15663 2005-08-18 Christopher Aillon <caillon@redhat.com>
15665 * initscript/Gentoo/NetworkManager:
15666 * initscript/RedHat/NetworkManager:
15667 * initscript/RedHat/NetworkManagerDispatcher:
15668 * initscript/SUSE/networkmanager:
15669 CVS remove these in place of .in replacements
15672 * initscript/Gentoo/NetworkManager.in:
15673 * initscript/RedHat/NetworkManager.in:
15674 * initscript/RedHat/NetworkManagerDispatcher.in:
15675 * initscript/SUSE/networkmanager.in:
15676 These scripts now are generated so they work still when
15677 NM is built using a bindir other than /usr/bin
15679 2005-08-18 Dan Williams <dcbw@redhat.com>
15681 * gnome/applet/main.c
15682 - Revert previous change for --no-session since
15683 --sm-disable does the same thing
15685 2005-08-18 Dan Williams <dcbw@redhat.com>
15687 * gnome/applet/applet-dbus-info.c
15688 - (nmi_dbus_create_error_message): new function
15689 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15690 functions. Also don't check for both device _and_ network before
15691 asking for a user's key, because we may not have gotten all our
15692 networks back from NM quite yet (due to the dbus pending calls
15693 coming in later). Fixes a hang in NM/nm-applet.
15695 * src/NetworkManagerDbus.c
15696 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15697 slightly more sane manner, even though we are still broken for
15698 certain other error conditions.
15699 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15700 to the info-daemon too
15702 * src/NetworkManagerDevice.c
15703 - Fix some debug messages to be info messages instead
15705 2005-08-18 Dan Williams <dcbw@redhat.com>
15707 * gnome/applet/main.c
15708 - Add new "--no-session" parameter that disables applet
15709 session management, ie for testing
15711 2005-08-18 Christopher Aillon <caillon@redhat.com>
15713 * gnome/applet/other-network-dialog.c:
15714 * gnome/applet/wireless-applet.glade: More mnemonics
15716 2005-08-17 Robert Love <rml@novell.com>
15718 * initscript/SUSE/networkmanager: update
15720 2005-08-17 Dan Williams <dcbw@redhat.com>
15722 * Tag NM_0_4_1_RELEASE
15724 2005-08-17 Christopher Aillon <caillon@redhat.com>
15726 * gnome/applet/applet.c: More translatable string cleanup
15729 2005-08-17 Dan Williams <dcbw@redhat.com>
15731 * gnome/applet/applet-dbus-info.c
15732 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15733 from the dbus message, which tells us to unconditionally
15734 ask the user for a new key. Otherwise, we pull the key from
15735 the keyring and return it. If we fail to get the key from the
15736 keyring, we ask the user for a new key.
15737 - (nmi_dbus_get_network_key): new function to grab the key for
15738 an essid from the keyring.
15739 - (nmi_dbus_get_network_properties): don't access the keyring here.
15740 Also, don't return any key in the dbus message.
15742 * src/NetworkManagerDbus.[ch]
15743 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
15744 indicate that we unconditionally want a new key. This function
15745 is now also used to get keys from the info-daemon which are
15746 pre-stored, not just for asking the user for a new key. The
15747 "new_key" parameter indicates whether or not we wish to ask the
15748 user for a new key.
15749 - (nm_dbus_get_network_data_cb): we no longer get a key from the
15750 info-daemon in the return message, so use NULL instead. The
15751 key will be filled in at connect time by calling
15752 nm_dbus_get_user_key_for_network()
15754 * src/NetworkManagerDevice.c
15755 - (nm_device_wireless_configure): update for "new_key" param to
15756 nm_dbus_get_user_key_for_network(). We initially set new_key
15757 to FALSE to see if we have a stored key in the info-daemon, but
15758 if the connection is unsuccessful at this stage we request a
15761 2005-08-17 Dan Williams <dcbw@redhat.com>
15763 * gnome/applet/icons/nm-no-connection.png
15764 gnome/applet/icons/nm-device-wired.png
15765 - Use Diana's new RJ45 connector icons
15767 2005-08-17 Dan Williams <dcbw@redhat.com>
15769 * src/NetworkManagerPolicy.c
15770 - (nm_policy_device_change_check): clarify switching rules if
15771 both new and old devices are valid; mainly, don't switch
15772 away from user-requested wireless connection back to a wired
15775 2005-08-17 Dan Williams <dcbw@redhat.com>
15777 * gnome/applet/Makefile.am
15778 - Relocate the applet to /usr/bin since it is no longer
15779 executed by anything, but directly by the user
15781 2005-08-17 Dan Williams <dcbw@redhat.com>
15783 Patch from Bill Moss <bmoss@clemson.edu>
15785 * gnome/applet/applet-dbus-info.[ch]
15786 - (nmi_save_network_info): save timestamp for network if it
15787 was a change requested by the user
15788 - (nmi_dbus_update_network_info): get user_requested from dbus
15789 message and pass to nmi_save_network_info()
15791 * gnome/applet/applet.c
15792 - (nmwa_update_network_timestamp): remove
15793 - (nmwa_menu_item_activate): don't set timestamp on networks
15794 here, only after a successful connect in nmi_save_network_info()
15796 * src/NetworkManagerDbus.[ch]
15797 - (nm_dbus_update_network_info): pass user_requested into the
15800 * src/NetworkManagerPolicy.c
15801 - (nm_policy_activation_finish): pass user_requested to
15802 nm_dbus_update_network_info()
15804 2005-08-16 Robert Love <rml@novell.com>
15806 * gnome/applet/applet.c: Better "Dial Up" menu item.
15808 2005-08-16 Robert Love <rml@novell.com>
15810 * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
15811 "Connection Information" menu item.
15813 2005-08-16 Dan Williams <dcbw@redhat.com>
15815 Patch from j@bootlab.org
15816 * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
15818 * configure.in: allow specifying the path to dhcdbd
15820 2005-08-16 Robert Love <rml@novell.com>
15822 Patch from j@bootlab.org
15823 * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
15824 src/backends/interface_parser.h: Debian dialup support.
15826 2005-08-16 Christopher Aillon <caillon@redhat.com>
15828 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
15829 * gnome/applet/applet.c: Add some mnemonics for VPNC
15831 * vpn-daemons/.cvsignore: fix this up a little bit
15833 2005-08-16 Robert Love <rml@novell.com>
15835 * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
15838 2005-08-16 Christopher Aillon <caillon@redhat.com>
15840 * gnome/applet/applet.c: Split markup out of translatable strings
15841 and clean up logic a little bit. (fixes #309012)
15843 2005-08-15 Christopher Aillon <caillon@redhat.com>
15845 * gnome/vpn-properties/nm-vpn-properties.c:
15846 * gnome/vpn-properties/nm-vpn-ui-interface.h:
15847 * vpn-daemons/vpnc/properties/nm-vpnc.c:
15848 Makeshift fix to remove newlines from translatable strings.
15849 Note that we now return an allocated string, so callers of
15850 get_confirmation_details () must now call g_free () on the
15851 result. (fixes #309033).
15853 2005-08-12 Robert Love <rml@novell.com>
15855 * gnome/applet/applet-dbus.c: remove newlines from translatable
15856 strings--not needed here anyway. (fix b.g.o #309011)
15857 * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
15859 2005-08-11 Robert Love <rml@novell.com>
15861 * gnome/applet/applet.c: mark string as translatable.
15863 2005-08-11 Robert Love <rml@novell.com>
15865 * initscript/SUSE/networkmanager: update.
15867 2005-08-11 Dan Williams <dcbw@redhat.com>
15869 * src/nm-dhcp-manager.c
15870 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
15871 an gateway returned from DHCP, try to use the address of the DHCP
15872 server as the gateway instead. Found by Ralf Ertzinger.
15874 2005-08-10 Robert Love <rml@novell.com>
15876 * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
15877 wait for it on exit; call exit() in nmwa_destroy() to jump ship.
15879 2005-08-10 Dan Williams <dcbw@redhat.com>
15881 Patch from Bill Moss <bmoss@clemson.edu>
15882 * Consolidate writes of access point information updates to the info daemon
15883 so that we only do it when the connection to the access point was
15884 successful. Also consolidates updates to GConf in the Gnome applet.
15886 * src/nm-netlink-monitor.c
15887 - Silence compile warning when calling g_object_new()
15889 2005-08-08 Dan Williams <dcbw@redhat.com>
15891 Patch from Steev <steev@steev.net>:
15892 * src/backends/NetworkManagerGentoo.c
15893 - Stub new dialup backend functions
15895 2005-08-08 Dan Williams <dcbw@redhat.com>
15897 Patch from Colin Slater:
15898 * src/backends/NetworkManagerGentoo.c
15899 - (nm_system_update_dns): Fix exit status check for restarting
15902 2005-08-05 Robert Love <rml@novell.com>
15904 * NetworkManager.h,
15905 gnome/applet/applet-dbus-devices.c,
15906 gnome/applet/applet-dbus-devices.h,
15907 gnome/applet/applet-dbus.c,
15908 gnome/applet/applet.c,
15909 gnome/applet/applet.h,
15910 src/NetworkManager.c,
15911 src/NetworkManagerMain.h,
15912 src/NetworkManagerSystem.h,
15913 src/backends/NetworkManagerRedHat.c,
15914 src/backends/NetworkManagerSuSE.c,
15915 src/nm-dbus-nm.c: basic dialup support using distro infrastructure
15917 2005-08-05 Robert Love <rml@novell.com>
15919 * gnome/applet/other-network-dialog.c: default the adhoc network to the
15920 machine's hostname to make adhoc creation idiot-proof.
15922 2005-08-04 Robert Love <rml@novell.com>
15924 * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
15927 2005-08-04 Dan Williams <dcbw@redhat.com>
15929 * gnome/applet/applet-dbus-info.c
15930 gnome/applet/applet-dbus-info.h
15931 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
15932 to store key, key type, and auth method rather than just auth method
15933 - (nmi_dbus_update_network_info): new function
15934 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
15936 * gnome/applet/passphrase-dialog.c
15937 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
15938 of saving the info ourselves
15940 * gnome/libnm_glib/libnm_glib.c
15941 - Remove the stupid version check for dbus
15943 * src/NetworkManagerAP.c
15944 src/NetworkManagerAP.h
15945 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
15947 * src/NetworkManagerDbus.c
15948 src/NetworkManagerDbus.h
15949 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
15950 more than just the auth method
15952 * src/NetworkManagerDevice.c
15953 - Update network info at the appropriate times
15955 2005-07-29 Ray Strode <rstrode@redhat.com>
15957 * src/NetworkManager.c (nm_info_handler): don't use input as format
15958 string (Spotted by Ian Jackson).
15960 2005-07-27 Dan Williams <dcbw@redhat.com>
15964 - Random cleanups of spacing
15966 * gnome/applet/applet.h
15967 gnome/applet/other-network-dialog.c
15968 gnome/applet/passphrase-dialog.c
15969 - Conslidate usage of NMWAEncryptionKeyTypes enum
15971 Patch from Bill Moss:
15972 - Make Other Wireless Networks work again with encryption keys
15974 2005-07-26 Dan Williams <dcbw@redhat.com>
15976 Patch from Steev <steev@steev.net>:
15977 * src/backends/NetworkManagerGentoo.c
15978 src/backends/Makefile.am
15979 - Fix up Gentoo backend
15981 2005-07-26 Robert Love <rml@novell.com>
15983 * src/backends/NetworkManagerSuSE.c: misc. cleanup
15985 2005-07-25 Robert Love <rml@novell.com>
15987 * gnome/applet/applet.c: make the "Wired" menu item a radio button,
15988 in the same group as the wireless networks, since they are all
15989 mutually exclusive.
15991 2005-07-24 Ray Strode <rstrode@redhat.com>
15993 * src/nm-netlink-monitor.c (nm_netlink_monitor_new):
15994 remove unneeded NULL arg from g_object_new(). Any
15995 warnings caused by not having the extra NULL are just a
15996 result of a bug in glib 2.7.0 - 2.7.2.
15998 2005-07-22 Robert Love <rml@novell.com>
16000 * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16002 2005-07-22 Robert Love <rml@novell.com>
16004 * src/nm-netlink-monitor.c: g_object_new() needs at least three
16005 parameters (gcc 4.0.2 warning fix).
16007 2005-07-18 Robert Love <rml@novell.com>
16009 Suggested by Aaron Bockover (abockover@novell.com)
16010 * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16012 * gnome/applet/passphrase-dialog.c: ditto
16013 * gnome/applet/wireless-applet.glade: ditto
16015 2005-07-13 Dan Williams <dcbw@redhat.com>
16017 Patch from Ray Strode <halfline@gmail.com>
16018 * vpn-daemons/vpnc/nm-vpnc-service.c
16019 - Don't let vpnc daemonize, fixes some races with PID file reading
16021 2005-07-13 Dan Williams <dcbw@redhat.com>
16023 Patch from Ray Strode <halfline@gmail.com>
16024 * Random cleanups for strict CFLAGS
16026 2005-07-07 Dan Williams <dcbw@redhat.com>
16028 Patch from Derek Atkins <warlord@MIT.EDU>
16029 * src/nm-dbus-net.c:
16030 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16032 2005-07-07 Dan Williams <dcbw@redhat.com>
16034 Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16035 * src/backends/NetworkManagerGentoo.c
16036 - Gentoo backend Static IP nameserver fixes
16037 - General Gentoo backend goodness
16039 2005-07-07 Dan Williams <dcbw@redhat.com>
16041 Patch from Bastien Nocera:
16042 * gnome/applet/applet.c
16043 - Fix up error reporting when icons or glade files are missing
16045 2005-07-07 Robert Love <rml@novell.com>
16047 * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16048 are not any VPN connections above it.
16050 2005-07-07 Robert Love <rml@novell.com>
16052 * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16054 2005-07-05 Robert Love <rml@novell.com>
16056 * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16059 2005-07-05 Robert Love <rml@novell.com>
16061 * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16062 on wired or unencrypted wireless.
16064 2005-07-01 Robert Love <rml@novell.com>
16066 * src/NetworkManagerSystem.c: Print the error via strerror().
16068 2005-06-30 Robert Love <rml@novell.com>
16070 * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16071 then exit if the glade file is not found. currently the application
16074 2005-06-30 Robert Love <rml@novell.com>
16076 * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16077 explicitly up all interfaces on wake from sleep.
16079 2005-06-30 Robert Love <rml@novell.com>
16081 * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16082 with information about the currently active connection.
16083 * gnome/applet/applet.h: (ditto)
16084 * gnome/applet/wireless-applet.glade: (ditto), new file
16086 2005-06-30 Robert Love <rml@novell.com>
16088 * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16089 * src/nm-dbus-nm.c: print when we sleep and wake up.
16090 * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16091 * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16092 in /sbin unless D-BUS is, folks).
16093 * README: update to reflect nm-applet replacing NetworkManagerInfo.
16095 2005-06-27 Robert Love <rml@novell.com>
16097 * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16100 2005-06-27 Robert Love <rml@novell.com>
16102 * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16105 2005-06-26 Robert Love <rml@novell.com>
16107 * src/NetworkManagerDevice.c: be specific about which device in
16110 2005-06-23 Adam Weinberger <adamw@gnome.org>
16112 * src/nm-netlink-monitor.c: correct spelling error.
16114 2005-06-23 Robert Love <rml@novell.com>
16116 * gnome/applet/applet-dbus-info.c: gnome keyring support!
16117 * gnome/applet/passphrase-dialog.c: more of that keyring!
16119 2005-06-23 Robert Love <rml@novell.com>
16121 * configure.in: remove extraneous GNOMEKEYRING directives.
16122 * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16123 * gnome/applet/applet.c: nmwa_icons_init: make style local.
16124 * gnome/applet/passphrase-dialog.c: whitespace.
16126 2005-06-23 Robert Love <rml@novell.com>
16128 * src/NetworkManagerDevice.c: division in assignment was flipped.
16130 2005-06-23 David Zeuthen <david@fubar.dk>
16132 * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16133 signal to the child to indicate that we got what we wanted when we
16134 see two new-lines right after each other.
16135 (nmwa_vpn_request_password): Pass a structure with several members
16136 instead of just the passwords
16138 2005-06-23 Dan Williams <dcbw@redhat.com>
16140 * src/NetworkManager.c
16141 src/NetworkManagerMain.h
16142 - (nm_get_hal_ctx): new function, move Hal initialization code here
16143 - (nm_hal_init): new function, init libhal context then add devices
16144 - (nm_hal_deinit): new function, clean up libhal context
16145 - (nm_data_free): Move Hal cleanup here
16146 - (main): check whether Hal is running, and if so, get a list of
16147 network devices from it
16149 * src/NetworkManagerDbus.c
16150 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16151 and when it appears, get a list of network devices from it. If
16152 Hal goes away, clean up the libhal context
16154 2005-06-22 Robert Love <rml@novell.com>
16156 * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16157 permissions of scripts before executing.
16159 2005-06-21 Robert Love <rml@novell.com>
16161 * initscript/SUSE/networkmanager: update.
16162 * src/backends/NetworkManagerSuSE.c: cleanup.
16164 2005-06-21 Robert Love <rml@novell.com>
16166 * gnome/applet/applet.c: use menu mnemonics.
16167 * gnome/applet/menu-items.c: (ditto)
16169 2005-06-21 Robert Love <rml@novell.com>
16171 * applet/applet-dbus-devices.c: mark non-static functions static.
16172 * applet/applet-dbus-vpn.c: (ditto)
16173 * applet/applet.c: (ditto)
16174 * applet/nm-device.h: (ditto)
16175 * applet/other-network-dialog.c: (ditto)
16176 * applet/passphrase-dialog.c: (ditto)
16177 * NetworkManager.c: (ditto)
16178 * NetworkManagerDbus.c: (ditto)
16179 * NetworkManagerDevice.c: (ditto)
16180 * NetworkManagerPolicy.c: (ditto)
16181 * NetworkManagerUtils.c: (ditto)
16182 * NetworkManagerWireless.c: (ditto)
16183 * NetworkManagerWireless.h: (ditto)
16184 * nm-netlink-monitor.c: (ditto)
16185 * applet/applet-dbus-info.c: (ditto), add FIXME's.
16186 * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16187 * autoip.c: include autoip.h.
16188 * autoip.h: new file. define get_autoip().
16189 * nm-netlink-monitor.h: define nm_netlink_close_connection().
16190 * NetworkManagerDbus.h: remove duplicate definitions.
16192 2005-06-20 Robert Love <rml@novell.com>
16194 * Makefile.am: Add missing intltool-foo.in generated files to
16195 EXTRA_DIST so that 'distcheck' works. Also add DISTCLEANFILES
16196 with the start of stuff to cleanup on 'distclea'.
16197 * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16198 stuff right and 'distcheck' works.
16199 * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c. If
16200 we keep it, we need to add all of examples/* to EXTRA_DIST and do
16201 Makefile.am for each. And systray/Makefile needs to be redone.
16203 2005-06-19 Dan Williams <dcbw@redhat.com>
16205 * src/NetworkManagerDevice.c
16206 - (nm_device_wireless_process_scan_results): scan every 20s when
16207 disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16209 2005-06-19 Dan Williams <dcbw@redhat.com>
16211 * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16213 2005-06-18 Ray Strode <rstrode@redhat.com>
16215 * src/nm-netlink-monitor.c
16216 (nm_netlink_monitor_event_handler): check for the presence
16217 of either error condition not both.
16219 (nm_netlink_monitor_error_handler): emit error signal if
16222 (nm_netlink_monitor_event_handler),
16223 (nm_netlink_monitor_error_handler),
16224 (nm_netlink_monitor_disconnect_handler): if an
16225 assertion fails disconnect the event handler to prevent
16228 * src/nm-netlink-monitor.h: add new error condition
16229 NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16231 2005-06-18 Ray Strode <rstrode@redhat.com>
16233 * src/nm-netlink-monitor.c
16234 (nm_netlink_monitor_event_handler): remove bogus < 0
16235 check on unsigned value and return early if the kernel
16236 didn't send any bytes.
16238 2005-06-17 Robert Love <rml@novell.com>
16240 * initscript/SUSE/networkmanager: Change the Provides and default
16243 2005-06-16 Dan Williams <dcbw@redhat.com>
16245 Patch from Robert Love:
16246 * gnome/applet/applet.c
16247 - Beautify some applet menu item names
16249 2005-06-17 David Zeuthen <davidz@redhat.com>
16251 * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16252 API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16253 Also add new methods can_export, import_file and export.
16255 * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16258 * gnome/vpn-properties/nm-vpn-properties.c:
16259 Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16260 nm-vpn-ui-interface.h.
16261 (update_edit_del_sensitivity): Also update "Export" sensitivity
16262 (add_vpn_connection): Also add new SVC_NAME column
16263 (import_settings): New function
16264 (retrieve_data_from_selected_connection): New function
16265 (edit_cb): Use retrieve_data_from_selected_connection to simplify
16267 (export_cb): New function
16268 (init_app): Also setup the "export" widget
16269 (main): Support the --import-service and --import-file commandline
16272 * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16275 2005-06-16 Dan Williams <dcbw@redhat.com>
16277 Patch from Robert Love:
16278 * gnome/applet/menu-items.c
16279 - (network_menu_item_new): pass -1 as wireless network
16280 menu items height size request rather than ascent / 2
16282 2005-06-16 Dan Williams <dcbw@redhat.com>
16284 * Clean up wording in Wireless Scan Methods menu items and constants
16286 2005-06-16 Robert Love <rml@novell.com>
16289 - remove gtkcell* files
16291 2005-06-15 Dan Williams <dcbw@redhat.com>
16293 Patch from Robert Love: make the applet stetic
16295 * gnome/applet/Makefile.am
16296 - Don't compile the gtkcellview and gtkcellrendererprogress files
16298 * gnome/applet/gtkcellview.h
16299 gnome/applet/gtkcellview.c
16300 gnome/applet/gtkcellrendererprogress.h
16301 gnome/applet/gtkcellrendererprogress.c
16304 * gnome/applet/menu-items.c
16305 - Progress bars are 5:1 size ratio
16306 - Use GTK progress bars rather than internal ones
16308 2005-06-15 Dan Williams <dcbw@redhat.com>
16310 Patch from Robert Love:
16311 * initscript/SUSE/networkmanager
16314 2005-06-15 Dan Williams <dcbw@redhat.com>
16316 * src/backends/NetworkManagerSuSE.c
16317 src/backends/NetworkManagerRedHat.c
16318 src/backends/NetworkManagerDebian.c
16319 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16321 2005-06-15 Dan Williams <dcbw@redhat.com>
16323 * src/backends/NetworkManagerDebian.c
16324 - Add nm_system_device_get_use_dhcp() to debian backend
16326 Patch from Kay Sievers:
16327 * src/backends/NetworkManagerSuSE.c
16328 - Update debian backend for static IP nameservers
16330 * src/NetworkManagerDevice.c
16331 - Actually set the device to use static IP or DHCP rather
16334 2005-06-15 Dan Williams <dcbw@redhat.com>
16336 Patch from Thom May:
16337 * src/backends/NetworkManagerDebian.c
16338 - Update debian backend for static IP nameservers
16340 2005-06-15 Dan Williams <dcbw@redhat.com>
16342 Patches from Robert Love:
16343 * gnome/applet/wireless-applet.glade
16344 - Tighten up wording
16346 * src/NetworkManagerDevice.c
16347 - Remove misplaced ';'
16350 initscript/Makefile.am
16351 initscript/SUSE/Makefile.am
16352 initscript/SUSE/networkmanager
16353 - Add SUSE initscript
16355 2005-06-12 David Zeuthen <davidz@redhat.com>
16357 * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16359 * gnome/vpn-properties/nm-vpn-properties.glade: New file
16361 * gnome/vpn-properties/nm-vpn-properties.c: New file
16363 * gnome/vpn-properties/Makefile.am: New file
16365 * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16368 * src/vpn-manager/nm-vpn-manager.c
16369 (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16370 instead of just a single one
16372 * src/vpn-manager/nm-dbus-vpn.c:
16373 (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16375 (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16377 * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password):
16378 Change the interface here to give a list of passwords. Also, don't
16379 require username, but do require service
16381 * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16382 the binary for the auth-dialog and use that instead of putting up a
16383 dialog asking for a single password
16385 * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16386 however do remember the service
16388 * gnome/applet/main.c (main): Setup i18n
16390 * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16391 connection to '%s'" to the tooltip if we are connected using VPN
16392 (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16393 key to determine whether we the auth-dialog needs to
16394 reprompt. Also cope with the fact that the auth-dialog now returns
16395 an array of passwords.
16396 (nmwa_menu_configure_vpn_item_activate): New handler for
16397 "Configure VPN..." menu item
16398 (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16399 (is_vpn_available): New function to determine if we got any
16400 NM-compatible VPN software installed
16401 (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16402 items only if we have NM-compatible VPN software installed
16403 (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16404 logic for detecting when VPN connections are removed
16406 * gnome/applet/applet-dbus.h: Removed the prototypes for
16407 nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16408 since these are defined elsewhere
16410 * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16411 function used to keep track of whether the last attempt succeded
16412 (nmwa_dbus_filter): Update last_attempt according to whether the
16413 VPN connection could be established or not
16415 * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection):
16416 Change prototype to take an array of passwords, not just a single
16419 * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16420 update service, not user
16421 (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16422 dbus_active_vpn_name is not NULL before using it
16423 (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16424 string array instead of assuming a single password
16426 * gnome/applet/applet-dbus-info.c:
16427 (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16428 user name; don't read from gconf
16430 * gnome/applet/Makefile.am: Also export SYSCONFDIR and
16433 * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16435 * configure.in: Add checks for gmodule-2.0.
16436 Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16437 in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16438 projects under vpn-daemons now. See vpn-daemons/vpnc/Changelog
16441 * vpn-daemons/Makefile.am: Removed
16443 * vpn-daemons/README: New file to describe extensions points for VPN
16446 2005-06-10 Dan Williams <dcbw@redhat.com>
16448 * src/backends/NetworkManagerRedHat.c
16449 - (get_current_profile_name): new function, grab current network profile name from
16450 /etc/sysconfig/network
16451 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16452 update an IP4 Config structure's settings from it
16453 - (nm_system_device_get_system_config): if we're using static IP on this device,
16454 get DNS info from current network profile
16456 2005-06-09 Dan Williams <dcbw@redhat.com>
16458 Patch from Robert Love:
16459 * src/NetworkManagerDevice.c
16460 src/NetworkManagerUtils.c
16461 - 64-bit build fixes
16463 2005-06-09 Dan Williams <dcbw@redhat.com>
16465 Patch from Kay Sievers and Robert Love:
16467 src/backends/Makefile.am
16468 src/backends/NetworkManagerSuSE.c
16471 2005-06-09 Dan Williams <dcbw@redhat.com>
16474 - Add NMWirelessScanMethod enum for scan methods
16476 * gnome/applet/applet-dbus-devices.c
16477 - (nmwa_dbus_update_scanning_enabled_cb): remove
16478 - (nmwa_dbus_update_scanning_enabled): remove
16479 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16480 since it got removed
16481 - (nmwa_dbus_enable_scanning): remove
16483 * gnome/applet/applet-dbus-info.c
16484 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16485 update the wireless scanning method from NMI
16486 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16487 method value to NetworkManager
16488 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16490 * gnome/applet/applet-dbus-info.h
16491 - Add prototype for nmi_dbus_signal_update_scan_method
16493 * gnome/applet/applet.c
16494 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16495 Wireless Scanning menu based on current wireless scan method
16496 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16497 signal for Wireless Scanning menu items, tell NetworkManager the new method
16498 and update our menu items to make sure the right one is checked
16499 - (nmwa_set_scanning_enabled_cb): remove
16500 - (nmwa_context_menu_update): remove references to pause_scanning_item
16501 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16503 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16505 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16506 so we get notified of preference values too
16507 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16509 * gnome/applet/applet.h
16510 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16511 - Add wireless scan method member to applet data
16512 - Remove pause_scanning_item, add Wireless Scanning submenu
16514 * src/NetworkManager.c
16515 - (nm_data_new): default to NM_SCAN_METHOD_ON
16516 - (main): grab scanning method from NMI if we can
16518 * src/NetworkManagerDbus.c
16519 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16520 nm_dbus_update_wireless_scan_method()
16521 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16523 - (nm_dbus_nmi_is_running): redundant function, removed
16524 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16525 when NMI comes back
16527 * src/NetworkManagerDevice.c
16528 - (nm_device_is_activated): return TRUE if the device is activated
16529 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16530 and we are activated
16533 - (nm_dbus_nm_set_scanning_enabled): removed
16534 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16535 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16537 2005-06-09 Dan Williams <dcbw@redhat.com>
16540 src/vpn-manager/nm-vpn-service.c
16541 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16543 2005-05-27 Dan Williams <dcbw@redhat.com>
16545 * vpn-daemons/vpnc/nm-vpnc-service.c
16546 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16547 Should fix the bug where the VPN connection terminates the first time.
16549 2005-05-20 Dan Williams <dcbw@redhat.com>
16552 - Differentiate VPN config signals between bad VPN config options
16555 * gnome/applet/applet-dbus-info.h
16556 - Add prototypes for wireless network and vpn connection update functions
16558 * gnome/applet/applet-dbus.c
16559 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16561 * gnome/applet/applet.c
16562 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16564 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16565 propogation to NetworkManager
16566 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16567 notify propogation to NetworkManager
16569 * src/NetworkManagerDbus.c
16570 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16571 are updating so a network can be removed from it if necessary
16573 * src/vpn-manager/nm-vpn-manager.c
16574 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16576 * vpn-daemons/vpnc/nm-vpnc-service.c
16577 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16578 - (nm_vpnc_dbus_signal_launch_failed): remove
16579 - (nm_vpnc_dbus_signal_connect_failed): remove
16580 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16581 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16582 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16583 for new generalized error signal function, remove config file stuff
16584 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16585 we can write configuration options to it
16586 - (nm_vpnc_config_file_generate): removed
16587 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16588 - (nm_vpnc_config_options_validate): validate the config options we receive
16589 from NetworkManager to block potential exploits
16590 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16592 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16595 2005-05-16 Dan Williams <dcbw@redhat.com>
16597 * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16598 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16601 2005-05-16 Dan Williams <dcbw@redhat.com>
16603 Patch from Tomislav Vujec <tvujec@redhat.com>
16604 * gnome/applet/applet-dbus-info.c
16605 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16606 GConf and pass them to NetworkManager. New key is 'routes' under
16607 the VPN connection, and should be a string list
16609 * src/NetworkManagerSystem.c
16610 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16611 set them on the device when we set the rest of the VPN config. Ensure
16612 they are in the correct format since they are passed directly to the
16615 * src/backends/NetworkManagerRedHat.c
16616 src/backends/NetworkManagerDebian.c
16617 - (nm_system_device_add_route_via_device_with_iface): new function
16619 * src/vpn-manager/nm-dbus-vpn.c
16620 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16622 * src/vpn-manager/nm-vpn-manager.c
16623 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16624 them into the IP4 config functions
16626 2005-05-15 Dan Williams <dcbw@redhat.com>
16628 From Filip Miletic:
16632 - Serbian translation added
16634 2005-05-15 Dan Williams <dcbw@redhat.com>
16636 * dispatcher-daemon/NetworkManagerDispatcher.c
16637 - (main): sync arguments with NetworkManager and the applet, now use
16638 "--no-daemon" rather than "daemon=no"
16639 - (nmd_print_usage): Fix script path in usage message
16641 2005-05-15 Dan Williams <dcbw@redhat.com>
16643 * src/NetworkManagerDevice.[ch]
16644 src/NetworkManagerPolicy.c
16645 src/NetworkManager.c
16647 - Remove the "just_added" parameter from nm_device_deactivate(). We no
16648 longer send the DeviceNoLongerActive signal unconditionally, but only
16649 when the device is actually active.
16651 * dispatcher-daemon/NetworkManagerDispatcher.c
16652 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16653 and simplify the logic
16654 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16655 we free it later on
16657 * initscript/RedHat/Makefile.am
16658 initscript/RedHat/NetworkManagerDispatcher
16659 - Add initscript for NetworkManagerDispatcher
16662 Patch from Bill Moss:
16663 * dispatcher-daemon/NetworkManagerDispatcher.c
16664 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16666 * src/NetworkManagerDbus.c
16667 - (nm_dbus_signal_device_ip4_address_change): remove. If the device goes up,
16668 and DeviceNowActive gets signaled, then the device has a new IP address
16669 anyway. There's no need for a separate signal.
16671 * src/NetworkManagerDevice.c
16672 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16674 * src/NetworkManagerPolicy.c
16675 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16676 activates successfully. This kind of went missing when I reworked the
16679 2005-05-15 Dan Williams <dcbw@redhat.com>
16682 - Check for dhcdbd and error if its not found
16684 * src/dhcp-manager/Makefile.am
16685 src/dhcp-manager/nm-dhcp-manager.c
16686 - Use path to dhcdbd that configure found
16688 2005-05-14 Dan Williams <dcbw@redhat.com>
16690 * gnome/applet/nm-device.c
16691 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16692 sort wireless networks alphabetically
16694 * gnome/applet/applet-dbus-devices.c
16695 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16696 before copying them over to the GUI
16698 2005-05-14 Dan Williams <dcbw@redhat.com>
16700 * src/NetworkManager.c
16701 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16702 fixes a deadlock on shutdown with a VPN connection active. This function locks
16703 the device list, as does nm_get_active_device() which is called from
16704 nm_vpn_manager_deactivate_vpn_connection().
16706 2005-05-14 Dan Williams <dcbw@redhat.com>
16709 - Add signals for VPN Launch and Connect failures
16711 * gnome/applet/applet-dbus.c
16712 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16714 * gnome/applet/applet.c
16715 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16716 function to handle all VPN failure messages
16717 - (nmwa_schedule_vpn_failure_dialog): generalize old nmwa_schedule_vpn_login_failure_dialog()
16718 function to hanlde all VPN failure messages
16719 - (show_warning_dialog): work around focus-stealing prevention
16721 * gnome/applet/other-network-dialog.c
16722 gnome/applet/passphrase-dialog.c
16723 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16724 problem where it never enabled for ASCII Key and Hex Key types
16726 * gnome/applet/wireless-applet.glade
16727 - Add window title to Other Wireless Network Dialog
16729 * src/vpn-manager/nm-dbus-vpn.c
16730 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16731 function to handle all VPN failure messages
16733 * src/vpn-manager/nm-vpn-manager.c
16734 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16736 * vpn-daemons/vpnc/nm-vpnc-service.c
16737 - (nm_vpnc_dbus_signal_launch_failed): new function
16738 - (nm_vpnc_dbus_signal_connect_failed): new function
16739 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16740 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
16741 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
16742 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
16744 2005-05-11 Dan Williams <dcbw@redhat.com>
16746 * vpn-daemons/vpnc/nm-vpnc-service.c
16747 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
16748 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
16749 file exists before trying to write it out.
16751 2005-05-10 Dan Williams <dcbw@redhat.com>
16753 * gnome/applet/applet-dbus-device.c
16754 - (nmwa_dbus_set_device): remove check for valid key and key type, which
16755 prevented just entering ESSID and leaving key and key type up to
16756 NetworkManager (which should have them already cached)
16758 2005-05-08 Dan Williams <dcbw@redhat.com>
16760 * src/NetworkManagerPolicy.c
16761 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
16762 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
16763 fix a situation where NM is told to terminate and the device stops activation,
16764 but the main thread isn't aware of that because it would never have run
16765 nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
16768 * src/NetworkManagerDevice.c
16769 - (nm_device_probe_wired_link_state): cosmetic fixes
16770 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
16771 we've failed to activate or been canceled.
16772 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
16774 2005-05-08 Dan Williams <dcbw@redhat.com>
16776 * src/NetworkManagerWireless.c
16777 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
16778 value of WEXT quality structures, and add a debug message when we cannot
16779 determine any quality % at all
16781 2005-05-08 Dan Williams <dcbw@redhat.com>
16783 * src/dhcp-manager/nm-dhcp-manager.c
16784 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
16787 2005-05-06 Dan Williams <dcbw@redhat.com>
16789 * gnome/applet/applet-dbus-device.c
16790 gnome/applet/applet-dbus-info.c
16791 gnome/applet/applet-dbus.c
16792 gnome/applet/applet.c
16793 gnome/applet/applet.h
16794 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
16796 * gnome/applet/applet-dbus.c
16797 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
16798 so we notice when wired device's carriers come back on. Should
16799 fix issue with wired devices being grayed out even if the cable
16800 is in, for devices that support carrier detection.
16802 * gnome/applet/applet.c
16803 - (nmwa_driver_notify): bash focus-stealing prevention in the face
16804 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
16806 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
16807 Fix situation where applet wouldn't respond to menu selections
16809 * src/NetworkManager.c
16810 src/NetworkManagerDevice.c
16811 src/NetworkManagerDbus.c
16812 src/NetworkManagerDbus.h
16813 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
16815 * src/NetworkManagerDbus.c
16816 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
16817 Remove, no longer used or relevant
16818 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
16819 - (nm_dbus_schedule_device_status_change_signal): add
16821 * src/NetworkManagerDevice.c
16822 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
16823 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
16824 ie don't deactivate them unless explicitly told to by the user. Also send
16825 CARRIER_OFF / CARRIER_ON signals when link changes
16826 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
16827 Don't print error message when device is no longer around
16828 - (nm_device_deactivate): kill any current DHCP process attached to this device,
16829 not just during activation
16831 * src/NetworkManagerPolicy.c
16832 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
16833 auto-device-selection.
16834 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
16836 * src/NetworkManagerSystem.c
16837 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
16838 is no longer present (Bill Moss)
16840 * src/backends/shvar.c
16841 - (svOpenFile): Open read-only to make SELinux happy
16843 * src/backends/NetworkManagerRedHat.c
16844 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
16845 the path to the ifcfg-* files
16847 2005-05-05 Dan Williams <dcbw@redhat.com>
16849 * Expose activation stages to NetworkManager clients, like the applet
16850 * Add Diana's progress icons to the applet, cued off NM activation stage
16851 * Use more descriptive tooltips, cued off NM activation stage
16853 2005-05-05 Ray Strode <rstrode@redhat.com>
16855 * src/nm-netlink-monitor.c:
16856 - Use clear_event_source instead of g_nullify_pointer() again.
16858 2005-05-05 Dan Williams <dcbw@redhat.com>
16860 * gnome/applet/main.c
16861 - Fix session management so the applet is actually managed now
16863 * gnome/applet/passphrase-dialog.c
16864 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
16866 2005-05-05 Dan Williams <dcbw@redhat.com>
16868 Patch from Bill Moss:
16869 * gnome/libnm_glib/libnm_glib.c
16870 - Fix for dbus-0.33
16872 2005-05-05 Dan Williams <dcbw@redhat.com>
16874 Suggestion from Bill Moss:
16875 * src/NetworkManagerSystem.c
16876 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
16879 * src/NetworkManager.c
16880 - (nm_data_free): move destruction of the various managers after
16881 release of device list, because deactivating and freeing a device
16882 requires at least the named manager
16883 - (nm_poll_and_update_wireless_link_state):
16884 (nm_device_link_activated):
16885 (nm_device_link_deactivated):
16886 don't grab the device list lock when actually updating device
16887 link status or strength, since nm_device_set_link_active()
16888 needs to call nm_get_active_device(), which also locks the device list.
16890 * src/NetworkManagerDevice.c
16891 - (nm_device_set_link_active): if a device's link switches from off->on,
16892 and it's wired, and the active device is wireless (or there is no
16893 active device), activate the new device whose link just came on
16894 - (link_to_specific_ap): try to smooth over intermittency in wireless links
16895 my only calling the link to the current ap "failed" when more than 2
16896 consecutive link checks have failed
16898 2005-05-04 Dan Williams <dcbw@redhat.com>
16900 * src/NetworkManagerDevice.c
16901 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
16902 but let link_to_specific_ap() do the locking where it needs
16904 Patch from Bill Moss:
16905 * src/NetworkManagerSystem.c
16906 - Set MTU of VPN devices to 1412
16908 2005-05-04 Dan Williams <dcbw@redhat.com>
16910 * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
16912 * Fix some holes in device activation and retaining the currently connected
16915 2005-05-03 Dan Williams <dcbw@redhat.com>
16917 * Kill dhcpcd. We now use "dhcdbd", a dbus daemon that controls dhclient.
16918 This means that NetworkManager shouldn't have DHCP issues anymore. It also
16919 means you need dhcdbd, which you can get here (get the latest one):
16921 http://people.redhat.com/jvdias/dhcdbd/
16923 Technically NetworkManager can use any DHCP daemon that uses the same DBUS
16924 interface as dhcdbd.
16926 * Rewrite device activation to facilitate the new DHCP infrastructure and
16927 future improvements. Its now "activation request" based, ie there is a single
16928 activation request composed of the device, access point, and other info which
16929 follows the entire activation process. There are 5 stages of the activation
16930 process which correspond to:
16932 1) Device preparation
16933 2) Device configuration (bring it up, set ESSID/Key/etc)
16934 3) IP Config Start (fire off DHCP if we're using it)
16935 4) IP Config Get (grab config from DHCP or static config files)
16936 5) IP Config Commit (set device's IP address, DNS, etc)
16938 Note that there is no longer a "scanning" step, since the access point must
16939 be known _before_ activation starts. If the access point drops out or does
16940 not exist for some reason, the entire activation process fails and must be
16941 restarted for a different access point or device.
16943 Patch from Bill Moss:
16944 * gnome/applet/applet.c
16945 - Fix type of vpn_failure dialog -> vpn_banner dialog
16947 2005-04-27 Dan Williams <dcbw@redhat.com>
16949 * gnome/applet/applet-dbus-vpn.c
16950 gnome/applet/applet.c
16951 gnome/applet/applet.h
16952 - Fix up active VPN handling so that we reliably know when a VPN
16953 connection has been deactivated
16955 * src/vpn-manager/nm-vpn-manager.c
16956 - Remove duplicate VPNConnectionChange signal
16958 2005-04-27 Dan Williams <dcbw@redhat.com>
16960 Patch from Peter Jones:
16961 * Remove usage of varargs to fix crashes on PPC (RH #154336)
16963 Patch from Bill Moss:
16964 * src/NetworkManagerSystem.c
16965 - Fix checking of return value from ioctl()
16967 2005-04-27 Dan Williams <dcbw@redhat.com>
16969 * Fix choosing of wireless networks and "Other wireless network..." from the applet
16970 * Warn and exit if icons cannot be found
16972 2005-04-27 Dan Williams <dcbw@redhat.com>
16974 Patch from Tom Parker:
16975 * Update debian backend
16977 2005-04-27 Dan Williams <dcbw@redhat.com>
16979 * Merge the applet and the info-daemon, and move the converged
16980 applet under gnome/applet
16981 * Move libnm_glib to gnome/libnm_glib
16982 * Convert most dbus calls between the applet, info-daemon, and NM
16984 * Fix a few things valgrind noticed
16985 * Make NM broadcast state more reliably
16987 2005-04-22 Pawan chitrakar <pawan@nplinux.org>
16989 * configure.in: Added ne in ALL_LINGUAS
16991 2005-04-15 Dan Williams <dcbw@redhat.com>
16993 * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
16994 code for dbus 0.2x versions
16996 2005-04-15 Dan Williams <dcbw@redhat.com>
16998 Patches from Tom Parker:
17000 - Join with worker thread rather than polling for its exit
17002 Patch from Bill Moss:
17003 - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17005 2005-04-15 Dan Williams <dcbw@redhat.com>
17007 - Fixes to pass 'make distcheck'
17009 2005-04-15 Dan Williams <dcbw@redhat.com>
17011 Initial VPN Support
17013 - reworks device IP configuration, backend files have changed and will need
17014 to be updated for all distributions. I will try to do what I can for
17015 them, but I cannot test them.
17017 - Move named directory to src/named-manager
17018 - Make backends directory self-contained
17020 2005-04-06 Dan Williams <dcbw@redhat.com>
17022 Add debug code for socket/file descriptor leaks. We register every socket
17023 that we open (except for stuff in dhcpcd/) for tracking, and print out the
17024 list of sockets that we forgot to close on shutdown. This also consolidates
17025 about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17027 2005-04-06 Dan Williams <dcbw@redhat.com>
17030 - (dhcp_interface_free): fix a file descriptor leak that may have
17031 caused network drivers to not unload due to refcounts > 0
17033 2005-04-04 Dan Williams <dcbw@redhat.com>
17035 * panel-applet/NMWirelessAppletDbus.c
17036 - (nmwa_dbus_call_nm_method): remove some commented code
17038 * src/NetworkManagerAPList.[ch]
17039 - (nm_ap_list_remove_ap_by_essid): new function
17041 * src/NetworkManagerDevice.c
17042 - (nm_device_wireless_force_use): remove access points from the ignore list
17043 when the user forces them
17045 * src/nm-dbus-device.c
17046 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17048 2005-04-04 Dan Williams <dcbw@redhat.com>
17050 Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17052 2005-04-04 Dan Williams <dcbw@redhat.com>
17054 * src/NetworkManagerDevice.c:
17055 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17056 of only erroring after the second consecutive scan times out. Also
17057 don't exit when the card requires more time than we can give it, just
17058 log the event and continue.
17060 2005-04-01 Steve Murphy <murf@e-tools.com>
17062 * configure.in: Added "rw" to ALL_LINGUAS.
17064 2005-04-01 Dan Williams <dcbw@redhat.com>
17066 Perform scans during device activation, if needed. Both activation
17067 and scans run in the same GMainContext. Therefore, if an access point
17068 is not found by the time the device starts activation, it will not
17069 be available until after activation. We now try to scan during
17070 activation (in nm_wa_test) every 15s so that all available access
17071 points are more likely to be found and available for the activation
17074 Also change nm_wireless_link_state_handle() to only update the "best"
17075 AP if we are not forcing a device and if we are not about to change
17076 state. This attempts to work around a race when forcing a device,
17077 where the forced AP would get cleared out too soon by the link state
17078 checking timeout in the main thread, and the activation attempt with
17079 that AP would fail.
17081 2005-04-01 Dan Williams <dcbw@redhat.com>
17084 - Update with new translatables
17086 2005-03-31 Dan Williams <dcbw@redhat.com>
17088 * panel-applet/NMWirelessAppletDbus.c
17089 - Fix device names now that hal has changed device parenting for
17092 2005-03-31 Dan Williams <dcbw@redhat.com>
17094 Tighten up handling of wireless devices that don't support wireless
17095 scanning (ie, Orinoco). Due to restructuring of code, these devices
17096 hadn't been doing pseudo-scanning for a while either and would just
17097 spin waiting for an access point. They are now manual devices where
17098 the user must choose the access point from the menu every time. All
17099 "allowed" access points are listed in the applet's menu regardless
17100 of whether or not they can be seen by the card, since it can't scan
17103 * src/NetworkManager.c
17104 - (nm_wireless_link_state_handle): new function, but only update
17105 the "best" ap for non-scanning devices when its not activating,
17106 and when no device is being forced on the card
17107 - (nm_link_state_monitor): split wireless link state handling out
17108 into separate function
17110 * src/NetworkManagerDevice.c
17111 - (nm_device_copy_allowed_to_dev_list): new function
17112 - (nm_device_new): populate non-scanning cards' AP lists with
17113 access points from the "allowed" list
17114 - (nm_device_new): don't start a scanning timeout for devices that
17116 - (nm_device_activation_schedule_finish): new parameter, should be
17117 the AP that failed to be connected to, pass it on to the
17118 activation finish function in NetworkManagerPolicy.c
17119 - (nm_device_activate_wireless): don't ever try to get a new AP
17120 for non-scanning devices, just fail. The user must choose
17121 a new access point manually.
17122 - (nm_device_activate): grab the AP that failed connection and
17124 - (nm_device_update_best_ap): Clear the best AP if we don't have
17125 a link to it, user must manually choose a new one
17126 - (nm_device_do_pseudo_scan): remove function
17127 - (nm_device_wireless_process_scan_results): remove bits for non-
17128 scanning cards since they never get here
17129 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17130 and fake the scan list for test devices a bit earlier
17132 * src/NetworkManagerPolicy.c
17133 - (nm_policy_activation_finish): use the failed_ap that we get
17134 passed rather than getting the best_ap from the card, which
17135 may have changed since we were scheduled
17136 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17137 update their scan list directly from the allowed list when
17138 we get updates to the allowed list from NetworkManagerInfo
17140 * src/NetworkManagerPolicy.h
17141 - New member for failed access point in NMActivationResult
17143 -------------------------------------
17145 Driver Notification patch: notifies the user when their driver
17146 sucks. Gives them the option to ignore further insertions
17147 of the card that has the sucky driver.
17150 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17151 enum and replace it with NO_CARRIER_DETECT and
17154 * panel-applet/NMWirelessApplet.[ch]
17155 - Merge essid.glade -> wireless-applet.glade
17156 - Implement the "Your driver sucks" notification dialog
17158 * panel-applet/NMWirelessAppletDbus.c
17159 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17160 - Grab hardware address for each device from NM too
17161 - Check whether the driver for each device sucks or not whenever
17162 a new device is noticed
17164 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17165 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17167 * src/NetworkManager.c
17168 - Fix a double-unref on device removal
17170 * src/NetworkManagerUtils.c
17171 - Set appropriate driver support level on a device that doesn't
17172 support scanning or carrier detection
17174 * src/nm-dbus-device.c
17175 - New "getHWAddress" dbus method on devices
17176 - getSupportsCarrierDetect -> getDriverSupportLevel
17178 2005-03-31 Dan Williams <dcbw@redhat.com>
17180 * src/NetworkManagerDevice.c
17181 - (nm_device_wireless_scan): Fix leak of scan results in some
17184 2005-03-29 Dan Williams <dcbw@redhat.com>
17186 * src/NetworkManager.c
17187 - (nm_poll_and_update_wireless_link_state): make code less indented
17189 Patch from Bill Moss:
17190 * src/NetworkManager.c
17191 - (nm_device_update_link_state): Update signal strength on wireless
17192 devices every time we update link state too.
17194 2005-03-29 Dan Williams <dcbw@redhat.com>
17196 * src/NetworkManagerDevice.c
17197 - (nm_device_set_essid): Work around Orinoco cards which need
17198 extra time after setting the ESSID
17200 2005-03-29 Dan Williams <dcbw@redhat.com>
17202 * src/NetworkManagerDevice.c
17203 - Merge one more bit of Peter Jones' completion patch
17205 2005-03-29 Dan Williams <dcbw@redhat.com>
17207 * src/NetworkManagerDevice.c
17208 - (nm_device_force_use): Fix possible segfault
17210 2005-03-29 Dan Williams <dcbw@redhat.com>
17212 * src/NetworkManagerDevice.c
17213 - Use iw_get_ext() where we should rather than iw_set_ext()
17215 2005-03-29 Dan Williams <dcbw@redhat.com>
17217 * src/NetworkManagerDevice.c
17218 - (nm_device_set_up_down): remove check for unsupported devices
17219 that caused NM to not bring devices up when they were
17220 added to the device list.
17222 2005-03-28 Dan Williams <dcbw@redhat.com>
17224 * src/NetworkManagerDevice.c
17225 - (mdio_read): Fix two bugs that caused all devices to fail
17226 the MII carrier detection support checks
17228 2005-03-26 Dan Williams <dcbw@redhat.com>
17230 * src/NetworkManagerDevice.c
17231 - (nm_device_wireless_scan): Remove duplicated scanning code
17233 2005-03-25 Dan Williams <dcbw@redhat.com>
17235 * panel-applet/NMWirelessApplet.c
17236 - (nmwa_about_cb): Add some more contributors
17237 - (nmwa_update_state): show the applet when there's no connection
17238 - Enable the "Stop/Resume all wireless devices" option in the
17240 - New "no connection" icon
17242 * src/NetworkManager.c
17243 - (nm_poll_and_update_wireless_link_state): don't do anything if
17244 wireless is disabled or we're asleep
17246 * src/NetworkManagerDHCP.c
17247 - Remove trailing "\n" on debug messages
17249 * src/NetworkManagerDbus.c
17250 - (nm_dbus_network_status_from_data): new state "asleep"
17252 * src/NetworkManagerDevice.c
17253 - Merge most of Peter Jones' "completion" patch that greatly reduces
17254 latency and wait times for most operations
17255 - (nm_device_wireless_scan): Don't scan when asleep
17257 * src/NetworkManagerPolicy.c
17258 - (nm_policy_get_best_device): return no device when asleep
17259 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17260 for all wireless devices on update, not just active device
17262 * src/NetworkManagerUtils.c
17263 - Merge Peter Jones' "completion" patch
17266 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17267 we're told to disable them
17268 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17271 - New variants of the warn/info/error/debug print functions that can take
17272 variables rather than static strings
17274 2005-03-24 Dan Williams <dcbw@redhat.com>
17276 * src/NetworkManagerUtils.c
17277 - (nm_get_device_driver_name): driver names are now on the parents of
17278 "Network Interface" objects, so look for them there
17280 2005-03-24 Dan Williams <dcbw@redhat.com>
17283 - Escape some forgotten object paths before we shove them through dbus
17285 2005-03-24 Dan Williams <dcbw@redhat.com>
17287 * dhcpcd/dhcpcd.[ch]
17288 src/NetworkManagerDHCP.c
17289 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17290 (ie, dhcp_option_record_len -> dhcp_option_element_len)
17292 * src/NetworkManagerDbus.c
17295 * src/nm-dbus-dhcp.c
17296 - Make the API suck less. There is now only 1 type of each function,
17297 ie only "getInteger" and no longer also "getIntegerv". All types
17298 are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17299 that will never have more than 1 element. This should simplify
17302 * test/nm-dhcp-opt-test.c
17303 - Make the tool not segfault
17304 - adapt to new DHCP Options API
17306 2005-03-22 Dan Williams <dcbw@redhat.com>
17308 * src/NetworkManager.c
17309 - (nm_wired_link_deactivated): actually ignore netlink events from
17312 2005-03-22 Dan Williams <dcbw@redhat.com>
17314 * src/NetworkManager.c
17315 - (nm_wired_link_activated): actually ignore netlink events from
17318 2005-03-17 Dan Williams <dcbw@redhat.com>
17320 Patch from Tom Parker:
17321 * src/nm-netlink-monitor.c
17323 * info-daemon/NetworkManagerInfoDbus.c
17324 - (nmi_dbus_update_network_auth_method): free GConf values
17326 Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17327 * src/NetworkManagerDevice.c
17328 - (nm_device_set_wireless_config): wait for successful
17329 association longer for some cards (Atheros a/b/g)
17331 2005-03-15 Ray Strode <rstrode@redhat.com>
17333 * src/NetworkManager.c:
17334 (sigterm_pipe_handler):
17337 2005-03-15 Ray Strode <rstrode@redhat.com>
17339 * src/NetworkManagerDbus.c:
17340 Fix some sign weirdness that gcc4 doesn't like,
17341 and add a header file so PPC can hopefully find
17344 2005-03-14 Ray Strode <rstrode@redhat.com>
17346 Fourth (probably working) cut at porting to
17347 dbus 0.30 api and new hal. This cut adds
17348 some new logging macros to make debugging
17351 * dispatcher-daemon/NetworkManagerDispatcher.c:
17352 * info-daemon/NetworkmanagerInfo.c:
17353 * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17354 * info-daemon/NetworkManagerInfoVPN.c:
17355 * src/NetworkManager.c:
17356 * src/NetworkManagerAP.c:
17357 * src/NetworkManagerAPList.c:
17358 * src/NetworkManagerDHCP.c:
17359 * src/NetworkManagerDbus.c:
17360 * src/NetworkManagerDevice.c:
17361 * src/NetworkManagerPolicy.c:
17362 * src/NetworkManagerSystem.c:
17363 * src/NetworkManagerUtils.c:
17364 * src/NetworkManagerWireless.c:
17366 * src/nm-dbus-nm.c:
17367 * src/backends/NetworkManagerDebian.c:
17368 * src/backends/NetworkManagerGentoo.c:
17369 * src/backends/NetworkManagerRedHat.c:
17370 * src/backends/NetworkManagerSlackware.c:
17371 use new logging macros.
17373 * dispatcher-daemon/NetworkManagerDispatcher.c:
17374 (nmd_dbus_filter): s/dbus_free/g_free/
17376 * info-daemon/Makefile.am: link in utils library.
17377 * info-daemon/NetworkmanagerInfo.c: use new logging
17379 (nmi_dbus_get_network): don't assume enumerations
17381 (nmi_dbus_nmi_message_handler): don't free what
17382 doesn't belong to us.
17384 * libnm_glib/libnm_glib.c:
17385 (libnm_glib_get_nm_status):
17386 (libnm_glib_init): don't free what doesn't
17388 (libnm_glib_dbus): strdup result, so it doesn't get
17389 lost when message is unref'd.
17391 * panel-applet/NMWirelessAppletDbus.c:
17392 (nmwa_dbus_update_devices): s/dbus_free/g_free/
17394 * src/NetworkManager.c:
17395 (nm_monitor_wired_link_state): request initial status
17396 dump of all cards when we start up, instead of relying
17397 on /sys/.../carrier.
17398 (nm_info_handler), (nm_set_up_log_handlers):
17399 log handlers to specify what syslog priorites
17400 the logging macros default to.
17402 * src/NetworkManagerAPList.c:
17403 (nm_ap_list_populate_from_nmi):
17404 s/dbus_free_string_array/g_strfreev/
17406 * src/NetworkManagerDbus.c:
17407 (nm_dbus_get_network_object):
17408 validate d-bus message argument types.
17409 Advance message iterator after reading argument,
17410 prepend instead of append to GSList.
17412 * src/NetworkManagerDevice.c:
17413 (nm_device_probe_wired_link_status):
17414 remove redundant /sys in /sys path. remove wrong
17415 contents == NULL means has carrier assumption.
17417 * src/nm-netlink-monitor.c
17418 (nm_netlink_monitor_request_status): implement
17419 function to ask kernel to dump interface link
17420 status over netlink socket.
17422 * test/*.c: s/dbus_free/g_free/
17424 * utils/nm-utils.h:
17425 (nm_print_backtrace): new macro to print backtrace.
17426 (nm_get_timestamp): new macro to get sub-second precise
17428 (nm_info), (nm_debug), (nm_warning), (nm_error):
17429 new logging functions. nm_info just prints,
17430 nm_debug includes timestamp and function,
17431 nm_warning includes function, nm_error includes
17432 backtrace and sigtrap.
17434 2005-03-11 Ray Strode <rstrode@redhat.com>
17436 Third (unfinished, partially working) cut at porting to
17437 dbus 0.30 api and new hal.
17439 * info-daemon/NetworkManagerInfoDbus.c:
17440 don't free null arrays.
17442 * panel-applet/NMWirelessAppletDbus.c:
17443 * src/nm-dbus-device.c:
17444 * src/nm-dbus-net.c:
17445 * src/NetworkManagerDbus.c: more
17446 STRING -> OBJECT_PATH fun
17447 * src/NetworkManagerDevice.c:
17448 * src/NetworkManagerDevice.h:
17449 (rename nm_device_get_link_active): rename to
17450 nm_device_has_active_link
17451 (nm_device_wireless_link_active): rename to
17452 nm_device_probe_wireless_link_state
17453 (nm_device_wired_link_active): rename to
17454 nm_device_probe_wired_link_state. Rewrite to
17455 use carrier file since hal doesn't maintain
17456 link state anymore.
17457 (nm_device_update_link_active): rename to
17458 nm_device_update_link_state
17459 * src/NetworkManagerPolicy.c
17460 (nm_policy_activation_finish): check for NULL
17464 * src/NetworkManagerMain.h:
17465 * src/NetworkManager.c:
17466 * src/nm-netlink-monitor.c:
17467 * src/nm-netlink-monitor.h: New class to support
17468 monitoring wired ethernet link status, since HAL
17469 doesn't export that information anymore.
17471 2005-03-09 Ray Strode <rstrode@redhat.com>
17473 Second (unfinished, unworking) cut at porting to
17476 * dispatcher-daemon/NetworkManagerDispatcher.c:
17477 * info-daemon/NetworkManagerInfoDbus.c:
17478 * panel-applet/NMWirelessAppletDbus.c:
17479 * src/NetworkManagerDbusUtils.c:
17480 * src/NetworkManagerDbusUtils.h:
17481 * src/nm-dbus-device.c:
17482 * src/nm-dbus-nm.c:
17483 * test/nmtest.c: support dbus "object path" type
17487 * info-daemon/Makefile.am:
17488 * libnm_glib/Makefile.am:
17489 * panel-applet/Makefile.am:
17490 * dispatcher-daemon/Makefile.am
17492 * test/Makefile.am:
17493 * utils/Makefile.am:
17494 * utils/nm-utils.c:
17495 * utils/nm-utils.h: new utils static lib
17497 2005-03-07 Ray Strode <rstrode@redhat.com>
17499 * info-daemon/NetworkManagerInfoDbus.c:
17500 * libnm_glib/libnm_glib.c:
17501 * panel-applet/NMWirelessAppletDbus.c:
17502 * src/NetworkManager.c:
17503 * src/NetworkManagerDbus.c:
17504 * src/NetworkManagerDevice.c:
17505 * src/NetworkManagerUtils.c:
17506 * src/nm-dbus-device.c:
17507 * src/nm-dbus-dhcp.c:
17508 * src/nm-dbus-net.c:
17509 * src/nm-dbus-nm.c:
17510 * test/nminfotest.c:
17511 First (unfinished, unworking) cut at porting to dbus 0.30 api.
17513 2005-03-04 Dan Williams <dcbw@redhat.com>
17518 2005-03-04 Dan Williams <dcbw@redhat.com>
17520 Patch from Peter Jones:
17521 - Make stuff work with gcc 4.0
17523 2005-02-28 Maxim Dziumanenko <mvd@mylinux.com.ua>
17525 * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17527 2005-02-27 Jim Huang <jserv@kaffe.org>
17529 * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17531 2005-02-27 Dan Williams <dcbw@redhat.com>
17533 Patch from Bill Moss:
17534 * panel-applet/NMWirelessAppletDbus.c
17535 - Make sure strength for current access point is up-to-date when we
17536 update the gui data model
17538 2005-02-27 Alessio Frusciante <algol@firenze.linux.it>
17540 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17542 2005-02-27 Dan Williams <dcbw@redhat.com>
17544 * src/backends/NetworkManagerRedHat.c
17545 - (nm_system_init): Kill any dhclient processes lying around as well
17546 as stopping 'nifd' if its already been started. NetworkManager
17547 subsumes the functions of nifd (kicking mDNSResponder, autoip)
17549 2005-02-27 Dan Williams <dcbw@redhat.com>
17551 * panel-applet/NMWirelessApplet.c
17552 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17553 dbus data model, not the GUI data model twice.
17555 2005-02-27 Dan Williams <dcbw@redhat.com>
17557 * panel-applet/NMWirelessApplet.[ch]
17558 panel-applet/NMWirelessAppletDbus.[ch]
17559 - Move to incremental network updates. Instead of blowing away our list
17560 of devices every time we get a signal from NetworkManager, we now
17561 incrementally add/remove networks when NetworkManager notifies us that
17562 a new network has appeared or disappered. Strength updates now happen
17563 on-the-fly for each access point as well. There are now two copies of
17564 data from NetworkManager: one for the dbus side, and one for the gui side.
17565 When the dbus side data is modified, it is copied over to the gui side
17566 so we don't have to hold the data_mutex for long periods of time (and
17567 therefore block animation of the applet's icon).
17568 - Clean up some memleaks too
17570 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17571 - Minor code beautification
17573 * src/NetworkManagerAPList.c
17574 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17575 completely new and whether or not an existing one's strength was updated.
17576 Try to fix multiple access points and signal strength by using the highest
17577 signal strength in each scan for any given ESSID.
17579 * src/NetworkManagerDbus.[ch]
17580 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17581 wireless networks; now we have only WirelessNetworkUpdate which includes
17582 a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17583 - Kill usage of DbusMessageIter
17585 * src/NetworkManagerDevice.c
17586 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17587 in the same scan result list. Copy ESSIDs-by-address earlier on, for each
17588 AP rather than all-at-once. Also don't ever remove the AP a card is
17589 currently associated with from the network list.
17590 - Update for new signals during scan, send out Appeared, Disappeared, or
17591 StrengthChanged when necessary.
17593 2005-02-25 Dan Williams <dcbw@redhat.com>
17596 - Line break the README
17598 2005-02-25 Dan Williams <dcbw@redhat.com>
17600 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17601 - Remove usage of gtk_window_set_default_size()
17603 * panel-applet/essid.glade
17604 - Stick default size here
17605 - Add in random crap that current glade wants to add in now
17607 2005-02-25 Dan Williams <dcbw@redhat.com>
17609 * src/backends/NetworkManagerRedHat.c
17610 - For non-caching-nameserver/non-named case, ensure that nscd is running
17611 and that we actually tell nscd to reload the hosts cache when it changes
17613 2005-02-25 Dan Williams <dcbw@redhat.com>
17615 * info-daemon/NetworkManagerInfoDbus.c
17616 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17618 * test/nminfotest.c
17619 - Whack usage of DbusMessageIter
17620 - Clean up DbusError and DbusMessage handling and freeing
17621 - Remove unused unregister handler
17624 - Whack usage of DbusMessageIter
17626 * test/nmtestdevices.c
17627 - Whack usage of DbusMessageIter
17629 2005-02-25 Dan Williams <dcbw@redhat.com>
17632 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17635 2005-02-25 Dan Williams <dcbw@redhat.com>
17637 * named/nm-named-manager.c
17638 - Ensure that pid and watch variables for child named process get cleared out
17639 when the child goes away.
17641 2005-02-22 Dan Williams <dcbw@redhat.com>
17643 * src/NetworkManagerPolicy.c
17644 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17645 and NULL out data->active_device so that we have to choose another one.
17646 This may make NetworkManager keep attempting to connect to a wired network
17647 if it fails, but if it keeps failing the wired network has more problems than
17648 just NetworkManager.
17650 * src/backends/NetworkManagerRedHat.c
17651 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17654 * named/nm-named-manager.c
17655 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17656 named so that the distro can flush whatever name service caching
17659 2005-02-21 Dan Williams <dcbw@redhat.com>
17661 * src/NetworkManagerDHCP.[ch]
17662 - (nm_device_dhcp_remove_timeouts): new function
17664 * src/NetworkManagerDevice.c
17665 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17666 remove the DHCP timeouts.
17668 2005-02-21 Dan Williams <dcbw@redhat.com>
17670 * panel-applet/NMWirelessApplet.[ch]
17671 panel-applet/menu-info.[ch]
17672 - Give the panel applet some major love: menu items are no longer
17673 subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17674 This allows the applet to actually reflect theme changes correctly,
17675 since themeing of subclassed items in GTK _sucks_.
17677 2005-02-18 Dan Williams <dcbw@redhat.com>
17679 * libnm_glib/libnm_glib.[ch]
17680 test/libnm_glib_test.c
17681 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17682 and its data, and doesn't have to free the callback data anymore
17684 2005-02-18 Dan Williams <dcbw@redhat.com>
17686 * panel-applet/NMWirelessApplet.c
17687 - Revert 2005-02-18 William Jon McCann fix for standard
17688 copyright string until it passes 'make distcheck'.
17689 With standard copyright string, xgettext complains
17690 about "Non-ASCII string at ...".
17692 2005-02-18 Dan Williams <dcbw@redhat.com>
17694 * panel-applet/essid.glade
17695 panel-applet/NMWirelessAppletOtherNetworksDialog.c
17696 - Correct spelling of "adaptor"->"adapter"
17698 2005-02-18 William Jon McCann <mccann@jhu.edu>
17700 * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17701 (nmwa_about_cb): Use standard copyright string. Update comment
17702 text to reflect that it is a notification area applet. Remove
17703 leading newline in authors list.
17704 (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17705 instead of on parent menu item activation. Fixes #167550.
17707 2005-02-18 William Jon McCann <mccann@jhu.edu>
17709 * panel-applet/essid.glade: Capitalize items as per HIG.
17712 2005-02-16 William Jon McCann <mccann@jhu.edu>
17714 * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17715 files for GTK 2.4 or lower, since now public in GTK 2.6.
17717 * panel-applet/essid.glade: Don't specify window size.
17719 2005-02-17 Dan Williams <dcbw@redhat.com>
17721 Caught by Bill Moss:
17723 - Time remaining for DHCP transaction calculation was incorrectly
17724 inside a #ifdef DEBUG
17726 2005-02-15 Christophe Merlet <redfox@redfoxcenter.org>
17728 * configure.in: Added fr (French) to ALL_LINGUAS.
17730 2005-02-14 Dan Williams <dcbw@redhat.com>
17732 * src/NetworkManagerDHCP.c
17733 - (set_domain_searches): Fix free of invalid pointer
17735 2005-02-14 Dan Williams <dcbw@redhat.com>
17737 Patch from Peter Jones:
17739 - Ensure we return RET_DHCP_CEASED everywhere we should
17740 * dhcpcd/udpipgen.c
17741 - Use faster TOS for IP packets
17742 - Don't set ip_id since we're UDP
17744 Patch from Tomislav Vujec:
17745 * src/nm-dbus-dhcp.c
17746 test/nm-dhcp-opt-test.c
17747 - Clean up warnings to enable cvs tree compilation.
17749 2005-02-14 Tomislav Vujec <tvujec@redhat.com>
17753 - Add the Croatian locale.
17755 2005-02-14 Colin Walters <walters@verbum.org>
17757 * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
17758 list of domains to search.
17760 * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
17762 2005-02-13 Dan Williams <dcbw@redhat.com>
17765 - Debug output cleanups of DHCP option printing and parsing.
17767 2005-02-13 Dan Williams <dcbw@redhat.com>
17769 Patch from Dan Reed: DHCP options D-BUS API
17770 Exposes the DHCP options that a device receives to clients over D-BUS.
17776 - Correct names, option length, and types for DHCP options
17778 * dhcpcd/dhcpcd.[ch]
17779 - Clarify function names that access DHCP options & data
17781 * src/NetworkManagerDHCP.c
17782 - Use new DHCP data access functions
17784 * src/NetworkManagerDbus.c
17785 - Message handler for DHCP functions
17787 * src/nm-dbus-dhcp.[ch] (new)
17788 - DHCP dbus methods
17790 * test/nm-dhcp-opt-test.c
17791 - Test DHCP D-BUS API and return all present DHCP options
17793 2005-02-12 Dan Williams <dcbw@redhat.com>
17796 test/nmclienttest.c
17798 - Move nmclienttest.c -> nmtest.c
17800 2005-02-12 Dan Williams <dcbw@redhat.com>
17802 * dhcpcd/buildmsg.c
17803 - Pad DHCP packets until they are at least 300 bytes in size.
17805 2005-02-11 Dan Williams <dcbw@redhat.com>
17808 - (dhcp_init): only print out client ID and class ID if they are specified
17810 * src/NetworkManagerDbus.[ch]
17811 src/nm-dbus-nm.[ch]
17812 src/nm-dbus-device.[ch]
17813 src/nm-dbus-net.[ch]
17814 - Move NM, Device, and Net functions to separate files and use the
17815 dbus method list stuff in NetworkManagerDbusUtils.c to do
17818 * src/NetworkManagerDbusUtils.c
17819 - Add new validate_method called before each dispatch (if present)
17820 that can validate the method call
17822 * src/NetworkManagerWireless.c
17823 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
17824 levels never to be evaluated
17826 Patch from j@bootlab.org
17827 * src/NetworkManagerDevice.c
17828 - Add typedef for "u64"
17830 * src/backends/NetworkManagerDebian.c
17831 - Copy in Dave Woodhouse's fixes for IPv6
17833 2005-02-11 Dan Williams <dcbw@redhat.com>
17835 Patch from Dave Woodhouse for IPv6:
17836 * src/NetworkManagerUtils.c
17837 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
17838 and multicast addresses
17840 * src/NetworkManagerDevice.c
17841 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
17842 after bringing up a card.
17844 2005-02-10 Dan Williams <dcbw@redhat.com>
17846 Patch from Dave Woodhouse:
17847 * src/NetworkManagerSystem.h
17848 src/backends/NetworkManagerDebian.c
17849 src/backends/NetworkManagerGentoo.c
17850 src/backends/NetworkManagerSlackware.c
17851 - New nm_system_device_add_ip6_link_address() function to add link-local
17852 address on an interface. Stubbed in Debian, Gentoo, and Slackware.
17854 * src/backends/NetworkManagerRedHat.c
17855 - (nm_system_device_add_ip6_link_address): implement
17856 - (nm_system_device_flush_addresses): revert to previous behavior of
17857 flushing all addresses
17859 2005-02-10 Dan Williams <dcbw@redhat.com>
17861 Patch from Tom Parker:
17862 * src/NetworkManagerDevice.c
17863 - Remove the "#include <pci/types.h>" since both the ethtool.h and
17864 mii.h headers are broken, and instead use our own typedefs
17866 2005-02-10 Dan Williams <dcbw@redhat.com>
17868 * dhcpcd/buildmsg.c
17869 - (fill_host_and_class_id): only fill in client and class IDs if
17870 they are set by callers.
17873 - (class_id_setup): don't autogenerate a class ID, only use one
17874 we're given, if any.
17875 - (client_id_setup): don't autogenerate a client ID, only use one
17876 we're given, if any.
17879 - (dhcp_interface_init): ensure that client options are correctly
17882 * src/NetworkManagerDHCP.c
17883 - (nm_device_dhcp_request): pass hostname to dhcp library
17885 2005-02-10 Dan Williams <dcbw@redhat.com>
17888 - #rh147661# Don't send kernel version in DHCP requests
17890 * src/NetworkManagerSystem.h
17891 src/backends/NetworkManagerDebian.c
17892 src/backends/NetworkManagerGentoo.c
17893 src/backends/NetworkManagerRedHat.c
17894 src/backends/NetworkManagerSlackware.c
17895 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
17896 functions, they are no longer used anyway
17898 * src/backends/NetworkManagerRedHat.c
17899 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
17900 addresses in an attempt to keep IPv6 local-scope addresses around
17902 2005-02-10 Dan Williams <dcbw@redhat.com>
17904 * src/NetworkManager.c
17905 - (nm_create_device_and_add_to_list): change the add message slightly
17907 * src/NetworkManagerUtils.c
17908 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
17909 Return driver name to calling function
17910 - (nm_get_driver_support_level): print out the driver a device is using
17911 during the support check
17913 Patch from Dave Woodhouse:
17914 * dhcpcd/udpipgen.c
17915 - (in_cksum): copy last byte of odd-sized packets into a
17916 'u_short' rather than a 'u_char', should fix wrong checksums
17917 on big-endian platforms
17919 2005-02-09 Dan Williams <dcbw@redhat.com>
17921 * Clean up usage of GSList objects and looping through their members
17922 * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
17924 * Fix problem where even if scanning was turned off, card would still
17925 cycle through frequencies.
17927 2005-02-08 Dan Williams <dcbw@redhat.com>
17929 * panel-applet/NMWirelessApplet.c
17932 2005-02-08 Dan Williams <dcbw@redhat.com>
17934 Patch from Bill Moss
17935 * panel-applet/NMWirelessApplet.c
17936 - Restore correct ESSID in tooltips
17938 2005-02-07 Dan Williams <dcbw@redhat.com>
17940 * panel-applet/NMWirelessApplet.[ch]
17941 - Add a context menu that contains:
17942 Pause/Resume Wireless Scanning
17943 Stop/Start All Wireless Devices
17945 - Grab active device strength off active device,
17948 * panel-applet/NMWirelessAppletDbus.[ch]
17949 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
17950 "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
17951 - Update active device strength every 2 seconds, not every 1 second
17953 * panel-applet/menu-info.c
17954 - Only disable wired devices in the menu when they support carrier detection,
17955 and don't currently have a link. Non-carrier-detect devices will always
17959 src/NetworkManagerDbusUtils.[ch]
17960 - Add new new dbus utils sources
17962 * src/NetworkManager.c
17963 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
17964 with the boolean parameter
17965 - Set scanning_enabled & wireless_enabled to TRUE
17967 * src/NetworkManagerDbus.c
17968 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
17969 - Implement scanning & wireless enable/disable calls
17970 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
17972 * src/NetworkManagerDevice.c
17973 - New link detection stuff again...
17974 o Create device's mainloop earlier (but don't run it earlier)
17975 o Hook up new carrier-detect support stuff
17976 o Add in the ethtool & mii support detection code
17977 - Don't scan if scanning is disabled
17979 * src/NetworkManagerPolicy.c
17980 - Never automatically choose a device that doesn't support carrier detection
17981 - Don't automatically choose a wireless device if wireless is disabled
17983 2005-02-07 Dan Williams <dcbw@redhat.com>
17985 * libnm_glib/libnm_glib.c
17986 - Small cleanup in element list iteration
17988 2005-02-07 Dan Williams <dcbw@redhat.com>
17990 * src/NetworkManagerWireless.c
17991 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
17992 to be in line with the WEXT quality specification
17994 2005-02-02 Dan Williams <dcbw@redhat.com>
17996 Patch from Nathan Fredrickson <nathan@silverorange.com>
17997 * Fix up compile for deprecation of libgnomeui
17998 - Switch to <glib/gi18n.h> from <libintl.h>
17999 - Remove <libgnomeui/libgnomeui.h> includes
18000 - Use gtk_window_set_default_icon_from_file() rather than
18001 gnome_window_set_default_icon_from_file()
18003 * named/nm-named-manager.c
18004 - (generate_named_conf): Fix return-nothing in non-void
18007 2005-02-02 Dan Williams <dcbw@redhat.com>
18009 * Clean up unused variables and the like
18011 2005-02-02 Dan Williams <dcbw@redhat.com>
18013 * src/NetworkManagerAPList.c
18014 - (nm_ap_list_merge_scanned_ap): merge strength too
18016 * src/NetworkManagerUtils.c
18017 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18018 of locking issues by printing out prettier information than g_mutex_lock
18019 - Print out names of mutexes registered with nm_register_mutex_desc()
18020 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18021 us to seemingly block here for too long
18023 * src/NetworkManager.c
18024 src/NetworkManagerAPList.c
18025 src/NetworkManagerDevice.c
18026 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18027 so we get better debug information printed
18029 * src/NetworkManagerDbus.c
18030 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18031 since it sometimes has locking side effects
18032 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18034 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18035 we don't need a switch. This gets called often enough that we can't block
18036 until the scan mutex is acquired, because we'll block on device activation
18037 and a few other things, which hangs main thread for too long.
18039 * src/NetworkManagerPolicy.c
18040 - (nm_policy_auto_get_best_device): reduce the possiblity that
18041 nm_device_need_ap_switch() will be called
18043 2005-02-02 Dan Williams <dcbw@redhat.com>
18045 * panel-applet/NMWirelessApplet.c
18046 - Display name of wireless network we are connecting to or connected to
18047 in the tooltip of the applet
18049 2005-02-02 Dan Williams <dcbw@redhat.com>
18051 * src/NetworkManagerDHCP.c
18052 - Hopefully fix double-default-route problem by cleaning up the default
18053 route added by DHCP code right before the DHCP transaction begins
18055 2005-02-02 Dan Williams <dcbw@redhat.com>
18057 * named/nm-named-manager.c
18058 - Write out valid resolv.conf when we exit
18060 2005-02-01 Dan Williams <dcbw@redhat.com>
18062 Patch from Colin Walters:
18063 * named/nm-named-manager.c
18064 - Make multi-domain search options work
18066 2005-01-31 Dan Williams <dcbw@redhat.com>
18068 * info-daemon/NetworkManagerInfoDbus.c
18069 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18071 * src/NetworkManagerDevice.c
18072 - (nm_device_new): Don't store the entire range struct, use only what we need
18073 (which is currently avg_quality, max_quality, and frequencies). Also
18074 zero device structure when we've free'd it to maybe expose errors down
18076 - (nm_device_update_signal_strength): grab the scan mutex before getting
18077 quality data from the card since quality will be useless during a scan.
18078 Call updated wireless qual-to-percent function with values stored in
18079 nm_device_new() earlier.
18080 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18081 nm_device_get_bad_crypt_packets())
18082 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18084 - (get_initial_auth_method): always use the Auth method that's in the allowed
18085 list if available. Problem was this: when the WEP key is wrong, NM will
18086 try OS then SK modes, and then get stuck in SK mode after that. This
18088 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18091 * src/NetworkManagerWireless.c
18092 - (nm_wireless_qual_to_percent): try to make this function actually work and
18093 mimic iwlib behavior. Use card's idea of quality divided by max_qual
18094 if that's all present, otherwise fall back to signal-to-noise ratios.
18096 2005-01-29 Dan Williams <dcbw@redhat.com>
18098 * initscript/RedHat/NetworkManager
18099 - Don't spit out sysctl stuff to console
18101 * libnm_glib/libnm_glib.c
18102 - (libnm_glib_init): call dbus_g_thread_init()
18104 * panel-applet/NMWirelessAppletDbus.c
18105 - (nmwa_dbus_worker): call dbus_g_thread_init()
18107 * src/NetworkManager.c
18108 - (main): call dbus_g_thread_init()
18110 * src/NetworkManagerAPList.c
18111 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18112 so we can actually see what's there in a normal syslog
18114 * src/NetworkManagerDevice.c
18115 - (nm_device_activate_wireless): print out the "waiting for access point"
18116 message only once, then say what access point we actually got after
18118 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18119 function, wait until the scan is done. Scans may change the ESSID of
18120 the card, making this function think we need to switch access points
18121 - (nm_device_wireless_process_scan_results): for artificial access points
18122 don't check against the card's ESSID, but the best_ap's ESSID. This
18123 prevents collisions with the scanning code, which may change the card's
18124 ESSID and cause the access point to get dropped from the device's AP
18125 list. Also increase the keep-around time to 2m from 60s since the max
18126 scan interval could be 60s in some cases.
18128 * src/NetworkManagerPolicy.c
18129 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18130 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18131 the new properties and ESSIDs to the device's AP list. Fixes some races
18132 between NM and NMI.
18134 2005-01-27 Dan Williams <dcbw@redhat.com>
18136 * info-daemon/NetworkManagerInfoDbus.c
18137 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18138 GConf, make a minimal entry for it (essid & timestamp)
18140 * src/NetworkManagerAPList.c
18141 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18142 NetworkManagerInfo isn't running
18144 * src/NetworkManagerDbus.[ch]
18145 - (nm_dbus_nmi_is_running): new function
18147 * src/NetworkManagerDevice.c
18148 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18149 address to garbage.
18151 * src/NetworkManagerPolicy.c
18152 - (nm_policy_activation_finish): On successful activation, make sure
18153 the "best" AP has a MAC address, and don't tell NMI to add the
18154 current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18155 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18156 access point after refreshing our allowed list if it doesn't already
18157 have a "best" access point.
18159 2005-01-25 Dan Williams <dcbw@redhat.com>
18161 * panel-applet/NMWirelessAppletDbus.c
18162 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18163 so we check for NM_DBUS_SERVICE rather than not for it
18165 * libnm_glib/libnm_glib.c
18166 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18167 ServiceOwnerChanged signal
18169 2005-01-25 Dan Williams <dcbw@redhat.com>
18172 - Check DBUS version in configure, and set the C macros
18173 DBUS_VERSION_[MAJOR,MINOR,MICRO]
18175 * info-daemon/NetworkManagerInfoDbus.c
18176 - Remove #if 0-d section of code that quit NMI if NM went away.
18178 * panel-applet/NMWirelessAppletDbus.c
18179 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18181 * src/NetworkManager.c
18182 src/NetworkManagerMain.h
18183 src/NetworkManagerDbus.c
18184 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18185 - Make updating of our Allowed Wireless Network lists from NMI
18186 an idle function in the main thread now, with a high priority.
18188 2005-01-24 Dan Williams <dcbw@redhat.com>
18190 * panel-applet/gtkcellview.[ch]
18191 panel-applet/menu-info.c
18192 - Fix GTK version checks to be <= rather than <
18195 - Include the libtool archive of libnm_glib rather than
18196 trying to pull in the .so
18198 2005-01-24 Dan Williams <dcbw@redhat.com>
18200 * src/NetworkManagerDevice.c
18201 src/NetworkManagerDevicePrivate.h
18202 - Block nm_device_new() until our device's worker thread has had a
18203 chance to start up. Fixes a race between main thread and worker
18204 thread starting that caused activation requests to get lost.
18206 2005-01-24 Dan Williams <dcbw@redhat.com>
18208 * initscript/RedHat/NetworkManager
18209 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18210 to add the NM startup script at priority 50, which was
18213 2005-01-24 Colin Walters <walters@redhat.com>
18215 * named/named.conf: Use any port for query source instead of
18216 restricting to port 53.
18218 2005-01-24 Dan Williams <dcbw@redhat.com>
18220 * initscript/RedHat/NetworkManager
18221 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18222 to add the NM startup script at priority 50, which was
18225 2005-01-24 Dan Williams <dcbw@redhat.com>
18227 Patch from Tom Parker <palfrey@tevp.net>
18228 * Fix up compile warnings & errors in the wireless applet
18230 2005-01-24 Dan Williams <dcbw@redhat.com>
18232 * panel-applet/NMWirelessApplet.c
18233 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18235 2005-01-24 Dan Williams <dcbw@redhat.com>
18237 * panel-applet/gtkcellview.[ch]
18238 - Only compile these files for GTK 2.4 or lower, since
18239 GtkCellView is now public in GTK 2.6. Fixes crasher
18240 when choosing "Other Wireless Networks" from the panel
18243 2005-01-21 Dan Williams <dcbw@redhat.com>
18245 * src/NetworkManager.c
18246 - Daemonize earlier so that glib doesn't get confused (?)
18248 2005-01-21 Dan Williams <dcbw@redhat.com>
18250 * panel-applet/NMWirelessApplet.[ch]
18251 panel-applet/NMWirelessAppletDbus.c
18252 panel-applet/menu-info.c
18253 src/NetworkManagerDevice.c
18254 - Disable wired devices in the menu when they have no link.
18256 2005-01-21 Dan Williams <dcbw@redhat.com>
18258 * Cache last-known-good wireless authentication method in
18259 NetworkManagerInfo, and use that method first during
18260 wireless device activation. Should speed up devices that
18261 need Shared Key authentication method since Open System is
18264 * Remove the hack to not do full activation on wired connections
18265 that are active when we launch, it causes too many problems
18266 with name resolution and was a hack in the first place.
18268 * Re-work wireless device activation again somewhat to have a
18269 clearer chain of events and to use last-known-good
18270 authentication method of the access point. Also provide
18271 better status throughout activation to ensure the applet
18272 can tell the user exactly what's going on.
18274 * Remove the "find wireless network" code and now simply attempt
18275 to activate with that access point. This reduces the delay
18276 between selecting "Other wireless Network" and actually
18277 connecting to that network.
18279 * Correctly stop the device's worker thread when its removed.
18281 2005-01-21 Dan Williams <dcbw@redhat.com>
18284 - Clean up some of the debug messages
18286 2005-01-21 Dan Williams <dcbw@redhat.com>
18288 * Add new icons, more frames of animation
18289 * Remove some hacks to get the panel applet to display correct
18290 status, an NM update will soon follow that will fix the
18293 2005-01-19 Kjartan Maraas <kmaraas@gnome.org>
18295 * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18296 the first include for working i18n. Also, don't include it in .h files
18297 * panel-applet/NMWirelessApplet.h: Same
18298 * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18299 * panel-applet/menu-info.c: Same
18301 2005-01-18 Dan Williams <dcbw@redhat.com>
18304 - Remove some debug messages
18305 - Wrap others in #ifdef DEBUG/#endif
18307 * src/NetworkManager.c
18308 - Remove some debug messages
18309 - Clarify some debug messages
18310 - Remove code related to old single-thread wireless scanning
18312 * src/NetworkManagerAP.[ch]
18313 - New AP property "last_seen" to track how recently an AP was
18315 - Start using 'const' more in function arguments
18317 * src/NetworkManagerAPList.[ch]
18318 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18319 of an AP found in an AP list from a source AP, or if not found
18320 in the list add the source AP
18321 - (nm_ap_list_combine): remove, no longer needed
18323 * src/NetworkManagerDevice.c
18324 - Each device now has a "worker" thread from start to end of its life.
18325 Scanning for wireless devices now happens in that thread,
18326 not in a single "wireless scanning thread" for all devices as
18327 previously. Activation consists of adding an idle handler to the
18328 thread's main loop/context, which gets run at the next available
18330 - Wireless scanning is also simplified, there is now only one list of
18331 access points per wireless device, and APs older than 60s are
18332 removed from the list. Previously, we kept results for the last
18333 3 scans and merged whole lists, which was complicated.
18334 - Cleaned up activation debug messages.
18335 - Wireless activation and access-point search routines now use Open System
18336 authentication before trying Shared Key.
18337 - Removed some code in nm_device_update_best_ap() that could cause cards
18338 to loose their link to the access point.
18339 - Scanning now uses a backoff algorithm, where the inverval becomes
18340 progressively longer between scans when the list of scanned access
18341 points doesn't change. A change will revert to the shortest scan
18344 * src/NetworkManagerWireless.[ch]
18345 - Remove code related to old single-thread wireless scanning
18347 2005-01-18 Colin Walters <walters@redhat.com>
18349 * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18350 of older nameservers.
18352 2005-01-18 Colin Walters <walters@redhat.com>
18354 * named/nm-named-manager.c (generate_named_conf): Many fixes
18355 to config file generation.
18356 (safer_kill): Remove, was too much trouble for little gain.
18357 (nm_named_manager_start): Run named as NM_NAMED_USER.
18359 * configure.in: Add option --with-named-user.
18361 2005-01-14 Colin Walters <walters@redhat.com>
18363 Patch from ed@catmur.co.uk (Ed Catmur)
18365 * named/nm-named-manager.c: Add "context" property.
18366 Use it to add child watch source in specific GMainContext.
18368 * src/NetworkManager.c (nm_data_new): Initialize
18369 named with correct main context. Start named only
18372 2005-01-14 Colin Walters <walters@redhat.com>
18374 * named/nm-named-manager.c (generate_named_conf): Write config
18375 and pid files into NM_NAMED_DATA_DIR; this allows things to
18376 work better with FC3 named SELinux policy. Also fix up silly
18379 * configure.in: Add --with-named-dir option.
18381 2005-01-14 Colin Walters <walters@redhat.com>
18383 * configure.in: Make named support require passing --with-named.
18385 * named/nm-named-manager.c: Support writing resolv.conf directly
18386 without running named.
18388 2005-01-13 Dan Williams <dcbw@redhat.com>
18390 * named/nm-named-manager.c
18391 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18393 * src/NetworkManagerDevice.c
18394 - Rework wireless link detection code to be more reliable
18396 2005-01-12 Dan Williams <dcbw@redhat.com>
18398 * initscripts/RedHat/NetworkManager
18399 - Change initial level to "-" rather than "345" so that
18400 we don't activate ourselves by default on install
18402 2005-01-12 Dan Williams <dcbw@redhat.com>
18405 - Client library for applications using glib
18409 - Split NM_CFLAGS and NM_LIBS into separate variables
18410 like DBUS_*, HAL_* and GLIB_*
18412 * src/NetworkManager.c
18413 src/NetworkManagerMain.h
18414 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18415 broadcast a status changed signal over DBUS from the main thread.
18416 Still unused anywhere for the moment.
18418 Patch from j@bootlab.org
18419 * panel_applet/NMWirelessAppletDbus.c
18420 src/NetworkManagerDbus.c
18421 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18422 for the "getMode" method call
18424 2005-01-10 Dan Williams <dcbw@redhat.com>
18426 * src/NetworkManagerDevice.c
18427 - Minor fixups & corrections to "auto" frequency mode, make it
18428 less chatty with syslog
18430 2005-01-10 Dan Williams <dcbw@redhat.com>
18432 * src/NetworkManagerDevice.c
18433 - Implement "auto" frequency/channel support, since cards like Atheros
18434 can't use other frequencies at all when you've told it to use a
18435 specific one, even for scanning.
18436 - Grab the scan mutex around places where we can't tolerate wireless
18437 settings changing underneath us, like nm_device_wireless_network_exists()
18438 and nm_device_activate_wireless()
18440 * src/NetworkManagerWireless.c
18441 - Back scan interval off to 20s instead of 14s
18443 2005-01-09 Dan Williams <dcbw@redhat.com>
18445 * src/NetworkManagerDevice.c
18446 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18447 already set. Stops some drivers like Atmel from continually
18448 reloading the firmware, which they do upon every configuration
18451 2005-01-09 Dan Williams <dcbw@redhat.com>
18454 - Use correct timeout value
18456 * info-daemon/NetworkManagerInfoDbus.c
18457 src/NetworkManagerDbus.c
18458 - Consolidate communication between NM and NMI by doing only 1 dbus
18459 method call to get Wireless Network info from NMI instead of 6
18461 * src/NetworkManager.c
18462 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18463 when we didn't have an AP to use, we'd wait for one forever without
18466 * src/NetworkManagerDevice.c
18467 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18468 activation, dhcp might not have started yet but we don't quit activation
18469 before starting it, so the quit signal gets lost
18471 2005-01-07 Dan Williams <dcbw@redhat.com>
18474 - Rework the DHCP client code to be much less chatty when
18475 it receives non-DHCP UDP packets during the DHCP run
18476 (reported by and preliminary patches from Bill Moss)
18478 * Move wireless scanning to a separate thread. This thread forwards the
18479 results to the main thread when done where they are integrated into
18480 the device's access point lists. This keeps the main thread (which
18481 does all the DBUS communication) from being blocked for long periods
18482 of time by wireless scanning.
18484 * Make state modification an idle routine in the main loop, and trigger
18485 state changes rather than polling for them.
18487 * src/backends/NetworkManagerGentoo.c
18488 - Fix up invalid C90 code (reported by Christoph Ruessler)
18490 * src/NetworkManagerDevice.c
18491 - Revert IPv6 patch for wired devices from 2004-12-22 for
18492 router advertisements, causing problems and infinite loop
18493 during "best" device determination due to link going up/down
18494 (reported by Bill Moss)
18496 Apply patch from Peter Jones
18497 * src/NetworkManagerDevice.c
18498 - Shortcut for link-checking for ipw2x00 cards
18499 - Split out association check into separate routine
18501 2004-01-05 Colin Walters <walters@redhat.com>
18503 * named/named.conf: Add PID_FILE.
18505 * named/nm-named-manager.c: Always generate a pid
18506 file, since older BIND versions don't support
18509 2005-01-01 Satoru SATOH <ss@gnome.gr.jp>
18511 * configure.in (ALL_LINGUAS): Added ja (Japanese).
18513 2004-12-22 Dan Williams <dcbw@redhat.com>
18515 * src/NetworkManagerDevice.c
18516 - Silently fail when setting bitrate doesn't work
18519 Patches from j@bootlab.org:
18520 * src/backends/NetworkManagerDebian
18521 - Update backend to match functionality in RedHat backend
18522 * src/NetworkManagerDevice.c
18523 - Take down then bring up wired devices after connection so
18524 they send out ipv6 router advertisements
18526 2004-12-21 Colin Walters <walters@verbum.org>
18528 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18529 test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18531 2004-12-21 Colin Walters <walters@redhat.com>
18533 * configure.in: Correct named detection.
18535 2004-12-21 Colin Walters <walters@redhat.com>
18537 * src/NetworkManager.c (nm_data_new): Initialize named.
18538 Also, set up a signal handler for SIGINT/SIGTERM, and exit
18539 the mainloop when these signals are received.
18540 (nm_data_free): Unref named.
18541 (sigterm_handler, sigterm_pipe_handler): New functions for
18544 * src/NetworkManagerMain.h (NMData): Add signal handling and
18547 * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18550 * src/NetworkManagerDHCP.c (set_nameservers): New function;
18551 set nameservers from DHCP response data.
18552 (set_domain_search): Set domain search from DHCP response.
18553 (nm_device_dhcp_configure): Invoke them.
18555 * src/NetworkManagerSystem.c
18556 (nm_system_device_update_resolv_conf): Delete. Deleting
18557 code is totally sweet.
18559 * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18561 * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18562 implements an object which controls a nameserver. Currently
18565 * configure.in: Check for named.
18567 * Makefile.am (SUBDIRS): Add named dir.
18569 * named/named.conf: New template config file.
18571 2004-12-20 Colin Walters <walters@redhat.com>
18573 * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18576 2004-12-17 Dan Williams <dcbw@redhat.com>
18578 * Ad Ad-Hoc networking mode support. In Ad-Hoc mode, we only try to get
18579 link-local addresses instead of doing DHCP.
18581 * In the panel applet, there's a new "Create new Wireless Network..." item
18583 * The panel applet also sticks around now even if NetworkManager dies, but
18584 it doesn't hide its icon when NM isn't around. Not hiding the icon is
18585 a bug, I'll fix that later.
18587 * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18588 lookups after a switch rather than actually doing them.
18590 * Clean up some of those warnings in nm_ap_list_* functions
18592 * Delay between scans changed to 15s instead of 10s
18594 2004-12-15 Dan Williams <dcbw@redhat.com>
18596 Patch from Tom Parker
18597 * Add autoip/Link Local Addressing support when we fail to get a DHCP
18600 * Longer pause after setting ESSID on cards that support a larger number
18601 of channels to give the card time to find the right channel
18603 * Add system hook to restart mDNSResponder (or whatever the local implementation
18604 of Multicast DNS is) when we activate interfaces
18606 2004-12-15 Dan Williams <dcbw@redhat.com>
18608 * Rework the DHCP code again to revert to sending full ethernet frames
18609 rather then relying on the kernel to do the right thing with our
18612 2004-12-06 Dan Williams <dcbw@redhat.com>
18615 - Fix some minor errors in dhcp_handle_transaction() that caused
18616 unexpected early timeouts of DHCP transactions
18619 - DHCP retransmit time from 4s -> 5s
18621 2004-12-05 Dan Williams <dcbw@redhat.com>
18623 * Major rework of the DHCP code, taking some cues from pump. We don't
18624 write raw Ethernet packets anymore, which simplifies the code quite
18625 a bit. The new code should be more robust, not hang in recvfrom()
18626 as much, and generally work better. This also means that we need
18627 to force HAL/dbus to use a created GMainContext rather than the
18628 default context, since having the DHCP renew/rebind thread using
18629 its own GMainContext seemed to give dbus a fit. There is also more
18630 debugging information printed from the DHCP loop to help with future
18633 * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18634 assume that the default gateway should be the DHCP server.
18636 Patch from Matthew Schick <matt oss-institute org>
18637 * src/backends/NetworkManagerGentoo.c
18638 - Fix compilation error due to missing "ip4_broadcast"
18640 2004-12-03 Dan Williams <dcbw@redhat.com>
18642 * initscript/Makefile.am
18643 * initscript/Debian/NetworkManager
18644 * initscript/Gentoo/NetworkManager
18645 * initscript/RedHat/NetworkManager
18646 * initscript/NMLaunchHelper.c
18647 - Remove NMLaunchHelper, if you need to wait until the network
18648 comes up, use the dead code from CVS.
18650 2004-12-01 Colin Walters <walters@redhat.com>
18652 * configure.in: Suck in gcc warnings code from Rhythmbox,
18653 but use fewer default flags, and in particular add -Wno-unused,
18654 since the codebase has a lot of unused variables.
18656 * test/nmtestdevices.c (create_device):
18657 * test/nminfotest.c (get_network_string_property)
18658 (get_networks_of_type):
18659 * test/nmclienttest.c (main):
18660 * src/NetworkManagerDbus.c (nm_dbus_create_error_message):
18661 * initscript/NMLaunchHelper.c (get_nm_status):
18662 * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb):
18663 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message):
18664 Fix declarations after statements.
18666 2004-12-01 Colin Walters <walters@redhat.com>
18668 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18669 (nmi_dbus_get_vpn_userpass): New method.
18670 (nmi_dbus_nmi_message_handler): Invoke it.
18672 * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18674 * info-daemon/NetworkManagerInfoVPN.h,
18675 info-daemon/NetworkManagerInfoVPN.c: New files; responds
18676 to requests for VPN passwords.
18678 * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18680 2004-12-01 Colin Walters <walters@redhat.com>
18682 * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18685 2004-12-01 Colin Walters <walters@redhat.com>
18687 * panel-applet/NMWirelessAppletDbus.c
18688 (nmwa_dbus_update_active_device_strength): Fix missing
18691 2004-12-01 Colin Walters <walters@redhat.com>
18693 * panel-applet/NMWirelessApplet.c: Add missing include.
18695 2004-12-01 Colin Walters <walters@redhat.com>
18697 * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18698 Remove useless CLAMP (); the value is unsigned, and the case tests
18699 qual->qual < 100, so the value must always be between 0 and 100.
18701 2004-12-01 Colin Walters <walters@redhat.com>
18703 * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18705 2004-11-22 Colin Walters <walters@verbum.org>
18707 * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18708 "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18709 which is essentially a noop since nscd caches hosts on disk too.
18711 2004-11-22 Colin Walters <walters@redhat.com>
18713 * src/Makefile.am (NetworkManager_SOURCES): Add
18714 NetworkManagerDevicePrivate.h.
18716 2004-11-22 Dan Williams <dcbw@redhat.com>
18718 * src/NetworkManagerDevicePrivate.h
18719 - Split out the NMDevice struct to a different file so that stuff like
18720 NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18724 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18725 need to cancel the dhcp request during the send and recv
18728 - Move the DHCP option enum to dhcpcd.h
18730 * src/NetworkManagerDHCP.c
18731 - Split out the actual IP/netmask/etc setting code
18732 - New Renew/Rebind functions
18733 - New timer setup function for renew/rebind operations
18735 * src/NetworkManagerDevice.c
18736 - For device activation, if we are using DHCP then keep the activation thread
18737 alive until device deactivation. We need to renew/rebind the DHCP address
18738 after the T1 (renew) and T2 (rebind) times have expired.
18739 - Increase some timeouts after bringing wireless cards up/down
18741 2004-11-17 Dan Williams <dcbw@redhat.com>
18743 * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
18744 connected to them. Then, after a scan, match up non-ESSID-broadcasting access
18745 points with any cached MAC addresses from NetworkManagerInfo. Allows us to
18746 show known access points that don't broadcast their ESSID in the menus without
18747 any user intervention whatsoever.
18749 * info-daemon/NetworkManagerInfoDbus.c
18750 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
18751 for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
18753 * src/NetworkManagerAP.[ch]
18754 - Add a "user_addresses" data member to the NMAccessPoint structure
18755 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
18756 the user_addresses data member
18758 * src/NetworkManagerAPList.c
18759 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
18760 the AP's reported address
18761 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
18763 * src/NetworkManagerDHCP.c
18764 - Increase DHCP timeout from 25s -> 30s
18766 * src/NetworkManagerDbus.[ch]
18767 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
18770 * src/NetworkManagerDevice.c
18771 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
18772 wait 2s, then configure it. Sometimes Prism54 cards will freeze up with
18773 "mgnt tx queue full", seemingly in response to NM controlling the card too much.
18774 So, we take the card down to clear it out.
18775 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
18776 too, since that's where the user_addresses are
18778 * src/NetworkManagerPolicy.c
18779 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
18780 that wireless networks' user_addresses list upon successful activation
18782 2004-11-16 Dan Williams <dcbw@redhat.com>
18784 * src/NetworkManagerDevice.[ch]
18785 - (nm_device_clear_activation_fail): new function
18787 * src/NetworkManagerPolicy.c
18788 - (nm_state_modification_monitor): clear the activation_failed flag on devices
18789 when we've dealt with the failure so the user doesn't get failure-dialog-spammed
18791 2004-11-16 Dan Williams <dcbw@redhat.com>
18793 * src/NetworkManagerDevice.c
18794 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
18795 leak the structure, better updating of now_scanning status
18796 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
18798 2004-11-15 Dan Williams <dcbw@redhat.com>
18800 Major rework of link detection code. We now use DHCP
18801 as part of the link detection which proves to be much more robust,
18802 and also supports Open System authentication for wireless networks.
18804 We no longer use external DHCP client programs. Instead, we use
18805 our own DHCP client, based on substantially reworked bits of 'dhcpcd'
18806 which was written by:
18807 Yoichi Hariguchi <yoichi@fore.com>
18808 Sergei Viznyuk <sv@phystech.com>
18809 http://www.phystech.com/download/
18810 It resides in the "dhcpcd" directory and was refactored into a general
18811 purpose DHCP client library by me.
18813 Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
18814 move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
18816 2004-11-15 Dan Williams <dcbw@redhat.com>
18818 Patch from Tom Parker <palfrey@tevp.net>:
18820 * src/NetworkManagerDevice.c
18821 - Less output to console when no access
18822 points are found during a scan
18824 2004-11-15 Dan Williams <dcbw@redhat.com>
18826 Patch from Tom Parker <palfrey@tevp.net>:
18828 * src/backends/interface_parser.c
18830 - Check for inp == NULL
18833 2004-11-13 Colin Walters <walters@redhat.com>
18835 Patch from Tom Parker <palfrey@tevp.net>:
18837 * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
18839 * src/backends/NetworkManagerRedHat.c: Switch to
18840 including shvar.h instead of shvar.c.
18842 * src/backends/NetworkManagerDebian.c: Don't include
18843 interface_parser.c in source file.
18845 (libnmbackend_la_SOURCES): Don't include shvar.[ch]
18846 and interface_parser.[ch].
18847 * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
18848 Include shvar.c and shvar.h here.
18849 (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
18850 interface_parser.c and interface_parser.h here.
18852 2004-11-12 Colin Walters <walters@redhat.com>
18854 * configure.in: Strip out TARGET_DISTRO and
18855 SYSTEM_BACKEND_FILE variables. Switch to Automake
18858 * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
18859 (libnmbackend_la_SOURCES): Use Automake conditionals
18860 to add distro-specific files.
18862 * initscript/Makefile.am (SUBDIRS): Update to
18865 2004-11-12 Colin Walters <walters@redhat.com>
18867 Patches from j bootlab org
18869 * src/Makefile.am (EXTRA_NetworkManager_SOURCES):
18870 Add interface_parser.[ch].
18872 * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
18873 dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
18875 2004-11-12 Colin Walters <walters@redhat.com>
18877 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
18878 call to nmi_dbus_is_running too, not necessary anymore.
18879 * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
18882 2004-11-11 Colin Walters <walters@verbum.org>
18884 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
18886 (nmi_dbus_service_init): Call dbus_bus_acquire_service with
18887 the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
18888 then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
18889 This avoids a race condition that made it pretty easily
18890 possible to get two NetworkManagerInfo daemons running.
18892 2004-11-11 Colin Walters <walters@verbum.org>
18894 * src/NetworkManager.c (main): Use daemon(3).
18896 * info-daemon/NetworkManagerInfo.c (main): Ditto.
18898 * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
18900 2004-11-10 Dan Williams <dcbw@redhat.com>
18902 Patches from j bootlab org
18903 * src/NetworkManagerDevice.c
18904 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
18905 whether the card has a link or not, some cards are slow
18906 - (nm_device_activation_configure_ip): make ipv6 work a bit better
18908 * info-daemon/NetworkManagerInfoPassphraseDialog.c
18909 - Disable the "Login" button on the passphrase dialog until the user
18910 enters a valid passphrase or key
18912 Patches from Tom Parker <palfrey tevp net>
18913 * src/backends/NetworkManagerDebian.c
18914 - Add static IP support to the debian backend
18916 * src/backends/interface_parser.[ch]
18917 - Parse debian interface config files
18919 2004-11-08 Dan Williams <dcbw@redhat.com>
18921 * src/NetworkManagerDevice.c
18922 - Some random fprintf->syslog conversions
18923 - (nm_device_wireless_network_exists): double-check for network
18924 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
18926 * src/NetworkManagerWireless.[ch]
18927 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
18928 so that the binary->ascii conversion works (if unsigned, the bitshift
18929 will fill with zeros, which is what's required). Also mask bitshift
18930 result with 0xF for futher assurance.
18932 2004-11-06 Dan Williams <dcbw@redhat.com>
18934 * src/NetworkManagerUtils.c
18935 - (nm_get_wireless_driver_support_level): default to
18936 FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
18937 flip this when changing from whitelist->blacklist of
18940 2004-11-05 Dan Williams <dcbw@redhat.com>
18942 Patch from Robert Paskowitz:
18943 * src/backends/NetworkManagerGentoo.c
18944 - Update static IP config code
18946 2004-11-05 Dan Williams <dcbw@redhat.com>
18948 * info-daemon/NetworkManagerInfoDbus.c
18949 src/NetworkManagerDbus.[ch]
18950 src/NetworkManagerDevice.c
18951 - Keep track of the # of attempts to get the WEP key
18952 from the user and pass that along to the info daemon
18954 2004-11-05 Dan Williams <dcbw@redhat.com>
18956 * src/NetworkManagerUtils.c
18957 - Blacklist wireless cards rather than whitelisting them.
18958 - Grab driver name from HAL rather than trying to find it
18961 2004-11-03 Dan Williams <dcbw@redhat.com>
18963 * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
18964 - Disable OK button until valid data is entered
18965 for encryption stuff too
18967 * panel-applet/NMWirelessApplet.c
18968 - Report card strength for current AP if the card
18969 doesn't report strength data for scanned access
18972 * src/NetworkManagerDevice.c
18973 - Smooth out cards reported quality, Atmel card was
18974 intermittently reporting no quality data but soon
18977 * src/NetworkManagerWireless.c
18978 - Better quality data percentage calculation. Atmel
18979 cards (mine at least) seem to report the quality
18980 in percentage format already, so honor that
18982 Patch from <j@bootlab.org>
18984 info-daemon/NetworkManagerInfoPassphraseDialog.c
18985 info-daemon/passphrase.glade
18986 panel-applet/NMWirelessAppletOtherNetworkDialog.c
18987 panel-applet/essid.glade
18988 src/NetworkManagerAP.c
18989 src/NetworkManagerDevice.c
18990 src/NetworkManagerWireless.[ch]
18991 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
18993 2004-11-03 Dan Williams <dcbw@redhat.com>
18995 * src/NetworkManagerDevice.[ch]
18996 - (nm_device_set_enc_key): Add parameter to set Authentication
18997 Mode (Open System, Shared Key, or None). We're still using
18998 Shared Key for now though.
19000 2004-11-02 Bryan Clark <clarkbw@cvs.gnome.org>
19002 * panel-applet/menu-info.c: change from bold text to light
19003 colored, may cause problems with some themes, i've tested a lot
19004 and they seem fine.
19006 * panel-applet/NMWirelessApplet.c: fix strength tooltip
19008 2004-11-01 Colin Walters <walters@verbum.org>
19010 * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19011 (nm_wireless_128bit_key_from_passphrase): Add const.
19013 * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19014 (nm_ap_set_enc_key_source): Add const.
19016 2004-11-01 Colin Walters <walters@verbum.org>
19018 * .cvsignore: Update.
19020 2004-10-29 Dan Williams <dcbw@redhat.com>
19022 * src/NetworkManagerDevice.c
19023 - (nm_device_wireless_network_exists): Actually use the encryption
19024 key we got from the applet when attempting to find a wireless network
19025 - Don't bring devices down so much since on some cards it triggers
19026 firmware hotplugs each time
19028 * src/NetworkManagerDbus.c
19029 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19032 2004-10-29 Dan Williams <dcbw@redhat.com>
19034 * src/NetworkManager.c
19035 - (nm_hal_device_property_modified): unlock a locked active
19036 wireless device when a wired connection gets a link.
19037 (Means you'll switch to wired whenever you plug in no
19040 2004-10-29 Dan Williams <dcbw@redhat.com>
19042 * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19043 - New files, implement the "Other wireless network" dialog
19045 * panel-applet/NMWirelessApplet.c
19046 - Move "other wireless network" dialog to separate file
19048 * panel-applet/NMWirelessAppletDbus.[ch]
19049 - Take key and key_type paramaters for the set_device function
19051 * panel-applet/essid.glade
19052 - Add UI bits for encryption settings
19054 * src/NetworkManagerDbus.c
19055 - Retrieve key and key_type params for "setActiveDevice" method call
19057 - unref AP returned from nm_device_get_best_ap() when needed
19059 * src/NetworkManagerDevice.c
19060 - (nm_device_get_best_ap): ref the ap before returning it
19061 - unref AP returned from nm_device_get_best_ap() when needed
19062 - (nm_device_activate_wireless): add "ap" parameter so we don't
19063 need to call nm_device_get_best_ap() here, it was pretty much
19065 - (AP_NEED_KEY): break second link check condition out into separate
19066 function, and fix segfault when ap->enc_key_source was NULL
19067 - (nm_device_find_and_use_essid): take key and key_type parameters and
19068 pass them along to nm_device_wireless_network_exists(). If the
19069 network does exist, set the passed-in key+key_type on the AP
19071 * src/NetworkManagerPolicy.c
19072 - unref AP returned from nm_device_get_best_ap() when needed
19074 2004-10-28 Dan Williams <dcbw@redhat.com>
19076 * src/NetworkManagerUtils.c
19077 - (nm_spawn_process): Fix a potential dereference of NULL
19079 Patches from Peter Jones:
19081 * src/NetworkManagerDevice.c
19082 - (nm_device_test_wireless_extensions): Better check for
19085 * src/NetworkManagerUtils.c
19086 - (nm_spawn_process): Pass in valid stdout and stderr so
19087 executed programs don't randomly SIGPIPE and fail
19088 - (nm_get_wired_driver_support_level): quash hal warning
19089 when checking for USB ethernet device
19091 2004-10-27 Dan Williams <dcbw@redhat.com>
19093 * info-daemon/NetworkManagerInfo.c
19094 info-daemon/NetworkManagerInfoDbus.c
19095 info-daemon/NetworkManagerInfoPassphraseDialog.c
19096 panel-applet/NMWirelessApplet.c
19097 - Properly escape gconf keys
19099 * src/NetworkManager.c
19100 - remove unused variables
19102 * src/NetworkManagerAP.c
19103 - (nm_ap_new_from_ap): Don't redundantly set new APs
19104 refcount since it got set in nm_ap_new()
19106 * src/NetworkManagerAPList.c
19107 - (nm_ap_list_combine): Give up ownership of newly created
19108 access points to the ap list, fixes memleak
19110 * src/NetworkManagerDevice.c
19111 - Remove cached_ap_list4 member since its not really needed
19112 - (nm_device_wireless_network_exists): Try to get correct
19113 encryption status of a found AP if its already in our
19115 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19116 memory allocs/deallocs a bit clearer and shorter-lived
19118 2004-10-26 Ray Strode <rstrode@redhat.com>
19120 * panel-applet/NMWirelessApplet.c:
19121 (custom_essid_item_selected): kill some compiler
19124 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19126 * info-daemon/NetworkManagerInfoDbus.c
19127 - (nmi_dbus_is_running): New function for determining if nmi is already running
19128 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19130 2004-10-23 Dan Williams <dcbw@redhat.com>
19132 * info-daemon/NetworkManagerInfoDbus.c
19133 - Trap the "DeviceActivationFailed" signal
19135 * docs/NetworkManager DBUS API.txt
19136 - Add "DeviceActivationFailed" signal
19138 * panel-applet/NMWirelessAppletDbus.c
19139 - Quash the "NetworkManager service not available" message
19141 * src/NetworkManagerDbus.[ch]
19142 - Add the "DeviceActivationFailed" signal
19144 * src/NetworkManagerDevice.c
19145 - Add support for activation_failed flag
19146 - Fix deadlock where activation thread didn't clean itself up, making
19147 main thread still believe it was alive forever (didn't reset activation
19148 flags like activating, just_activated, etc when IP configuration
19151 * src/NetworkManagerPolicy.c
19152 - Implement logic for DeviceActivationFailed signal, and when activation fails
19153 for wireless networks, try to fall back to some other access point
19155 2004-10-23 Dan Williams <dcbw@redhat.com>
19157 * panel-applet/NMWirelessApplet.[ch]
19158 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19159 to the applet object, so we can get tooltips
19160 - Add tooltips (RH #136866)
19162 * src/NetworkManagerDevice.c
19163 - When trying to find a wireless network, try to connect with encryption
19164 turned on first, so that we can more accurately detect whether or not
19165 we need to use encryption for the actual association later on
19167 2004-10-21 Dan Williams <dcbw@redhat.com>
19169 * Add some support for telling NetworkManagerInfo to tell the user
19170 that they are using a device that's not fully supported
19172 * Fix some assertions in debug messages due to null access point args
19174 2004-10-21 Dan Williams <dcbw@redhat.com>
19176 * src/NetworkManagerDevice.c
19177 - Don't try to activate/bring up/down unsupported
19180 * src/NetworkManagerUtils.c
19181 - Fix case of PCI ID checks for driver support levels
19183 2004-10-21 Dan Williams <dcbw@redhat.com>
19186 - New file, now contains commonly used structures and bits
19187 for the dbus API of NetworkManager
19190 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19192 * src/NetworkManager.h
19193 - Rename -> src/NetworkManagerMain.c
19195 * Various fixups all around to use NetworkManager.h and new
19196 src/NetworkManagerMain.h, remove redundant bits that got
19197 moved into NetworkManager.h
19199 * src/NetworkManagerDevice.[ch]
19200 src/NetworkManagerUtils.[ch]
19201 src/NetworkManagerPolicy.c
19202 src/NetworkManagerDbus.c
19203 - Whitelist wireless drivers, and blacklist some wired
19204 drivers. Also blacklist cipsec and ethernet-over-usb
19205 devices at this time (RH #135722, RH #135648)
19206 - Don't leak unsupported devices out over dbus, or allow
19207 them to be set as the active device. Skip over them
19208 during automatic device picking
19210 * test/nmclienttest.c
19211 - Clean up the dbus code a lot
19213 Tue Oct 19 14:20:29 2004 Jonathan Blandford <jrb@redhat.com>
19215 * configure.in: post release bump.
19217 Tue Oct 19 14:19:24 2004 Jonathan Blandford <jrb@redhat.com>
19220 * NEWS: Released NetworkManager-0.3.1
19222 2004-10-18 Dan Williams <dcbw@redhat.com>
19224 Patches from Thom May:
19225 * test/nmtestdevices.c
19226 - Include <string.h>
19227 * src/backends/NetworkManagerDebian.c:
19228 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19229 (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19230 Move to using g_strdup_printf rather than arbitrary buffers
19231 - (nm_system_device_setup_static_ip4_config) Implement function.
19232 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19234 2004-10-17 Dan Williams <dcbw@redhat.com>
19236 * info-daemon/NetworkManagerInfoDbus.c
19237 - Display name of network in the "network not found" dialog
19239 * panel-applet/NMWirelessAppletDbus.c
19240 - (nmwa_dbus_call_nm_method): new function replaces all other
19241 nmwa_dbus_get_[string|string_array|int|boolean] methods
19242 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19243 consolidated into nmwa_dbus_get_object_name()
19245 2004-10-15 Dan Williams <dcbw@redhat.com>
19247 * src/NetworkManagerDbus.c
19248 info-daemon/NetworkManagerInfoDbus.c
19249 - Display an error dialog when the user tries to use an
19250 "Other wireless network" that's not found.
19252 2004-10-15 Dan Williams <dcbw@redhat.com>
19254 * panel-applet/NMWirelessApplet.[ch]
19255 - Fix up corner cases in applet state, making it
19256 look more responsive. Change state to "connecting" when
19257 the user is forcing a device too.
19259 2004-10-15 Dan Williams <dcbw@redhat.com>
19261 * src/NetworkManagerAPList.c
19262 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19264 * src/NetworkManagerDbus.c
19265 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19267 * src/NetworkManagerDevice.c
19268 - Disown APs after the device's AP list takes ownership
19270 2004-10-15 Dan Williams <dcbw@redhat.com>
19272 * panel-applet/NMWirelessApplet.c
19273 - Update our applet state from the GUI thread
19275 * panel-applet/NMWirelessAppletDbus.c
19276 - Greatly simplify the locking to make the GUI thread
19277 smoother. Update a private copy of the device list
19278 and active device and only when done talking to
19279 NetworkManager turn it over to the GUI thread.
19281 2004-10-15 Dan Williams <dcbw@redhat.com>
19283 * src/NetworkManagerAP.[ch]
19284 - Add "artificial" get/set functions, set for APs that
19285 aren't discovered as part of a scan but instead
19286 discovered by force-setting the ESSID
19288 * src/NetworkManagerDevice.[ch]
19289 - (nm_device_wireless_network_exists): pass back whether
19290 or not the discovered AP was encrypted. Also, try
19291 falling back to encrypted mode on the card if unencrypted
19292 association doesn't work
19293 - (nm_device_find_and_use_essid): If the network requested
19294 did in fact exists, but it wasn't in our scan list, add
19295 an "artificial" entry for it. Some Cisco cards don't
19296 see non-ESSID-broadcasting APs in their scan but can still
19297 associate with them if you know the ESSID, this works around
19299 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19300 to scan if the card is currently associated with that AP
19302 2004-10-15 Dan Williams <dcbw@redhat.com>
19304 ---- We have a website ----
19305 http://people.redhat.com/dcbw/NetworkManager
19307 Patch from Robert Paskowitz:
19308 * src/NetworkManager.c
19309 - (main): Make sure we are run as root
19310 * src/NetworkManagerDevice.c
19311 - Fix type in ad-hoc setting function
19313 Patch from Thom May:
19314 * src/backends/NetworkManagerDebian.c
19315 - Make Debian backend compile again
19317 2004-10-14 Dan Williams <dcbw@redhat.com>
19319 * Tagged NetworkManager-0_3
19321 2004-10-14 Dan Williams <dcbw@redhat.com>
19323 Patch from Robert Paskowitz:
19325 src/NetworkManagerDevice.[ch]
19326 src/backends/NetworkManagerDebian.c
19327 src/backends/NetworkManagerGentoo.c
19328 src/backends/NetworkManagerRedHat.c
19329 src/backends/NetworkManagerSlackware.c
19330 - Add support for grabbing and using a broadcast address
19331 from system config files
19332 - Some Gentoo backend fixes for grabbing network config
19333 - Fix LOG_WARN->LOG_WARNING
19335 2004-10-14 Dan Williams <dcbw@redhat.com>
19337 * NEWS: a few small fixes in the credits
19339 Thu Oct 14 19:12:58 2004 Jonathan Blandford <jrb@redhat.com>
19341 * NEWS: prep for release.
19343 Thu Oct 14 16:47:12 2004 Jonathan Blandford <jrb@redhat.com>
19345 * panel-applet/NMWirelessAppletDbus.c
19346 (nmwa_dbus_update_device_wireless_networks): remove warnings.
19348 Thu Oct 14 16:40:39 2004 Jonathan Blandford <jrb@redhat.com>
19350 * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19351 applet->state == APPLET_STATE_NO_NM animation.
19353 * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19354 set the text correctly.
19356 2004-10-14 Dan Williams <dcbw@redhat.com>
19358 * src/NetworkManager.c
19359 - Only accept and manager 802.3 and 802.11 devices
19361 * src/NetworkManagerDbus.[ch]
19362 - (nm_dbus_nm_set_active_device): move most of the actual activation
19363 logic into NetworkManagerDevice.c
19364 - (nm_dbus_network_status_from_data): new function
19365 - (nm_dbus_signal_network_status_change): new function, unused for now
19366 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19368 * src/NetworkManagerDevice.[ch]
19369 - (nm_device_find_and_use_essid): new function. Search for, and if found use,
19372 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19374 * info-daemon/NetworkManagerInfo.c
19375 - (main): Added session management
19377 2004-10-14 Dan Williams <dcbw@redhat.com>
19379 * panel-applet/NMWirelessAppletDbus.[ch]
19380 - Expose network_device_[un]ref()
19381 - Expose wireless_network_[un]ref()
19382 - (wireless_network_new_with_essid): new function, create and return
19383 a wireless network with a particular essid
19385 * panel-applet/NMWirelessApplet.c
19386 - Hook up the "other network" dialog to do something
19388 Wed Oct 13 19:31:53 2004 Jonathan Blandford <jrb@redhat.com>
19390 * panel-applet/NMWirelessApplet.c: Add an essid dialog. It
19391 doesn't work yet, but it looks okay.
19393 * panel-applet/icons/*png: Resize to 22x22 and install in the
19396 2004-10-13 Dan Williams <dcbw@redhat.com>
19398 * panel-applet/NMWirelessApplet.c
19399 - Add function to print out applet_state in a readable
19402 * src/NetworkManager.c
19403 - (main): Don't segfault when nm_dbus_init() fails, we had
19404 a left-over call to hal_shutdown() into which we passed NULL
19406 * src/NetworkManagerAP.c
19407 - (nm_ap_set_essid): Allow NULL essids
19409 * src/NetworkManagerAPList.[ch]
19410 - More use of nm_ap_list_[un]lock ()
19411 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19412 network/essid, just return nothing. Also skip over NULL
19413 essid access points in the list when searching
19414 - (nm_ap_list_get_ap_by_address): new function
19415 - (nm_ap_list_update_network): set the access point's key source to
19416 NULL when the key returned from NetworkManagerInfo is NULL or
19418 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19419 copy timestamp over too
19420 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19421 find the correct ESSID for a blank-essid access point by searching
19422 through another list and matching access point MAC addresses
19423 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19425 * src/NetworkManagerDbus.c
19426 - (nm_dbus_nm_set_active_device): deal with random networks the user
19427 may specify. This is mainly for access points that don't
19428 broadcast their essid. So if the user tells us to associate with
19429 some random ESSID that's not in our access point list, we find
19430 out if the access point does in fact exist (by attempting association
19431 and then matching that access point's MAC address with the essid the
19432 user gave us) and then we switch to it.
19433 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19434 to the returned list of networks for the "getNetworks" method
19436 * src/NetworkManagerDevice.[ch]
19437 - Extra debugging info for link detection
19438 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19439 based on MAC address
19440 - (nm_device_get_path_for_ap): ignore blank-essid access points
19441 - (nm_device_wireless_network_exists): new function, find out whether
19442 a random ESSID exists by attempting to associate with it
19443 - (nm_device_do_normal_scan): allow blank-essid access points in our
19444 device list as long as they have an AP MAC address we can use.
19445 Also send WirelessNetwork[Dis]Appeared signals for non-active
19446 devices too. Lets the applet update more frequently.
19448 * src/backends/NetworkManagerGentoo.c
19449 - Patch from: Robert Paskowitz
19450 - Update backend code for Gentoo
19451 - Implement nm_system_device_update_config_info ()
19453 * test/nmclienttest.c
19454 - (set_network_device): new function, takes a command-line argument
19455 and tells NetworkManager to use that wireless network
19457 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19459 * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19460 if the notification icon crashes 5 times within 5 seconds of each respawn
19462 Tue Oct 12 22:53:04 2004 Jonathan Blandford <jrb@redhat.com>
19464 * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19467 Tue Oct 12 22:44:15 2004 Jonathan Blandford <jrb@redhat.com>
19469 * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19471 * panel-applet/NMWirelessApplet.c: (animation_timeout),
19472 (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19473 (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19474 Change the name of the icons.
19476 * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19477 (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19478 (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19479 (nm_menu_wireless_expose_event): Really bad hack to get the style
19480 to draw in the right color.
19482 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19484 * info-daemon/NetworkManagerInfo.c (main): Add child watch to respawn
19485 Notification if it crashes
19487 Fri Oct 8 07:19:55 2004 Jonathan Blandford <jrb@redhat.com>
19489 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double):
19490 (nmwa_dbus_get_string): remove unused functions
19492 * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19493 (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19494 remove unused functions
19496 * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19498 2004-10-12 Dan Williams <dcbw@redhat.com>
19500 * panel-applet/NMWirelessAppletDbus.c
19502 wireless_network_new
19503 wireless_network_copy
19505 network_device_copy
19507 * src/NetworkManagerDevice.[ch]
19509 nm_device_set_mode_managed
19510 nm_device_set_mode_adhoc
19511 - Use these functions where appropriate
19512 - When creating a new wireless device, force the card
19513 to managed/Infrastructure mode as soon as possible
19515 2004-10-12 Dan Williams <dcbw@redhat.com>
19517 * src/NetworkManagerDevice.c
19518 - Force wireless cards into Infrastructure mode before we use them
19520 2004-10-12 Dan Williams <dcbw@redhat.com>
19523 - Remove bit about static IP address support
19525 * src/NetworkManagerUtils.c
19526 - (nm_spawn_process): Add some error reporting
19528 * src/NetworkManagerDevice.c
19529 - (nm_device_activation_configure_ip): hook up to the static config
19530 routines in the backends
19532 * src/backends/NetworkManagerRedHat.c
19533 - (nm_system_device_update_config_info): use shvar.c routines to
19534 parse the config file iformation, not our own
19535 - (nm_system_device_setup_static_ip4_config): new function, based
19536 heavily on 'ifup' script and 'ipcalc' tool code. Set up a device
19537 with a static IP address and gateway
19539 * src/backends/shvar.[ch]
19540 - Parser (filched from initscripts package) for ifcfg-* files
19542 * src/backends/NetworkManagerSystem.h
19543 src/backends/NetworkManagerGentoo.c
19544 src/backends/NetworkManagerDebian.c
19545 src/backends/NetworkManagerSlackware.c
19546 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19548 2004-10-11 Dan Williams <dcbw@redhat.com>
19551 - Remove bit about more robust AP diffing since I just implemented it
19553 2004-10-11 Dan Williams <dcbw@redhat.com>
19555 * src/NetworkManagerAP.c
19556 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19557 enough RAM to allocate new AP structures, but return NULL instead
19559 * src/NetworkManagerAPList.[ch]
19560 - (nm_ap_list_is_empty): new function
19561 - (nm_ap_list_combine): new function, combine two access point lists
19562 - (nm_ap_list_copy_keys): new function, copy keys from one list
19565 * src/NetworkManagerDevice.[ch]
19566 - Rename some functions to be clearer:
19567 nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19568 nm_device_just_activated -> nm_device_is_just_activated
19569 nm_device_activating -> nm_device_is_activating
19570 nm_device_now_scanning -> nm_device_is_scanning
19571 - Cache the last 4 scans so that the access point list is more stable.
19572 We combine the lastest two scans and use that as the AP list,
19573 and diff that combined list against the combination of the earliest
19574 two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19576 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19578 * info-daemon/NWManagerInfo.h
19579 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19581 * info-daemon/NWManagerInfoDbus.c
19582 - (shutdown_callback): new function
19583 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19584 if NetworkManager goes away. Kill the timeout
19585 if NetworkManager restarts before the 30 seconds
19587 - (nmi_dbus_service_init):
19588 - call gtk_main_quit if NetworkManager is not running
19589 - add filters to monitor dbus service creations and
19592 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19594 * panel-applet/NMWirelessApplet.c
19595 - (nmwa_update_state): Hide notification icon if we are only
19596 showing one wired card and no wireless interfaces
19597 (Red Hat Bug #134895)
19599 * panel-applet/NMWirelessAppletDbus.c
19600 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19602 * info-daemon/NWManagerInfo.c
19603 - (main): Terminated the notification_icon_cmd array with a NULL
19605 2004-10-08 Hendrik Brandt <hebra@cvs.gnome.org>
19607 * configure.in (ALL_LINGUAS): Added de (German).
19609 2004-10-08 Dan Williams <dcbw@redaht.com>
19611 * src/NetworkManagerDevice.c
19612 - Be a bit more robust about link checking, ie make sure that
19613 the WEP key we were given actually has some data in it
19615 2004-10-08 Dan Williams <dcbw@redhat.com>
19617 * info-daemon/NetworkManagerInfo.c (main):
19618 - Initialize GError object to NULL
19620 2004-10-08 Dan Williams <dcbw@redhat.com>
19622 * panel-applet/NMWirelessAppletDbus.c
19623 - Die if NetworkManagerInfo dies, since it manages our lifetime
19625 2004-10-08 Dan Williams <dcbw@redhat.com>
19627 * info-daemon/NetworkManagerInfo.[ch]
19628 info-dameon/NetworkManagerInfoDbus.[ch]
19629 info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19630 - Preserve original label text in the passphrase dialog so that
19631 it actually gets updated with the new network name the next
19632 time around. Previously, we were overwriting it so you'd get
19633 the wrong network name to enter a key for
19634 - Add a "Key Type" combo to the passphrase dialog, user selects
19635 encryption key type now, type is stored in GConf too
19636 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19638 * src/NetworkManagerAP.[ch]
19639 - Remove all the encyption method magic. It's now set by the user
19640 and NetworkManager retrieves the type of encryption key from
19643 * src/NetworkManagerAPList.[ch]
19644 src/NetworkManagerDbus.[ch]
19645 - Adjust to new way of setting encryption key and method
19646 - Pull encryption method down from NMI along with key
19648 * src/NetworkManagerDevice.[ch]
19649 - Removed encryption method fallback magic as the method is now
19650 determined by the user. This greatly simplifies the connection
19652 - More robust connection/link logic. Besides removing the encryption
19653 method fallback magic, check whether or not the card is receiving
19654 invalidly encrypted packets, which usually indicates that we have
19656 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19658 * test/nminfotest.c
19659 - Test out new "Key Type" stuff in the NMI passphrase dialog
19661 2004-10-07 Dan Williams <dcbw@redhat.com>
19663 * info-daemon/NetworkManagerInfo.conf
19664 - Allow root user to run NMI too
19666 2004-10-06 Dan Williams <dcbw@redhat.com>
19668 * src/NetworkManagerDevice.[ch]
19669 src/NetworkManagerDbus.c
19670 doc/NetworkManager DBUS API.txt
19671 - Add a new status tag "scanning", which is set when there
19672 is no active network connection, but NetworkManager is
19673 looking for an access point to associate with
19675 * panel-applet/main.c
19676 - Cast the applet appropriately for gtk_widget_show_all ()
19678 Mon Oct 4 12:55:41 2004 Jonathan Blandford <jrb@redhat.com>
19680 * panel-applet/eggtrayicon.[ch]:
19681 * panel-applet/main.c: Add missing file
19683 2004-10-04 Dan Williams <dcbw@redhat.com>
19685 * src/NetworkManagerDevice.[ch]
19686 - Add a slightly more robust method of determining if the WEP key
19687 is correct or not, by checking the WEP-discarded packet count
19690 * info-daemon/NetworkManagerInfo.c
19691 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19692 un-escape values we pull out rather than escaping them
19694 2004-10-03 Marcel Telka <marcel@telka.sk>
19696 * configure.in (ALL_LINGUAS): Added sk.
19698 Fri Oct 1 18:26:03 2004 Jonathan Blandford <jrb@redhat.com>
19700 * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19701 and feel. We should be back to working, and have a good, clean
19704 2004-09-30 Dan Williams <dcbw@redhat.com>
19706 * info-daemon/NetworkManagerInfo.c
19707 info-daemon/NetworkManagerInfoDbus.c
19709 - Escape ESSIDs in gconf
19711 * src/NetworkManagerDevice.c
19712 - Fix pseudo-scanning to use netowrk list from info daemon
19714 Wed Sep 29 18:18:24 2004 Jonathan Blandford <jrb@redhat.com>
19716 * configure.in: Add a temporary --enable-notification-icon. This
19717 will prolly go away.
19719 * info-daemon/Makefile.am:
19720 * info-daemon/NetworkManagerInfo.c:
19721 * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19723 * panel-applet/Makefile.am:
19724 * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19725 * panel-applet/NMWirelessApplet.h:
19727 Tue Sep 28 16:35:20 2004 Jonathan Blandford <jrb@redhat.com>
19729 * panel-applet/NMWirelessApplet.c: Fix deadlock. Add a separator
19730 before 'select custom ESSID'.
19732 * panel-applet/menu-info.c: Start rewrite for better headers. Not
19733 fully complete, but syncing in prep for merge.
19735 * panel-applet/icons/*png: New images
19737 2004-09-28 Dan Williams <dcbw@redhat.com>
19739 * src/NetworkManager.c
19740 src/NetworkManagerDevice.c
19741 src/NetworkManagerPolicy.c
19742 - Don't blow away an active wired connection on startup
19744 2004-09-28 Bryan Clark <clarkbw@cvs.gnome.org>
19748 * info-daemon/NetworkManagerInfo.conf: fixed own permissions
19750 * info-daemon/NetworkManagerInfoDbus.c: added service name to
19753 Wed Sep 22 14:19:48 2004 Jonathan Blandford <jrb@redhat.com>
19755 * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
19756 have a wireless card.
19758 Wed Sep 22 14:05:48 2004 Jonathan Blandford <jrb@redhat.com>
19760 * panel-applet/NMWirelessApplet.c: move the custom essid item.
19761 Also, get the right device strings.
19763 Wed Sep 22 13:51:45 2004 Jonathan Blandford <jrb@redhat.com>
19765 * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
19766 the logic to make this right.
19768 * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
19769 devices so that wired networks are always first.
19771 2004-09-22 <clarkbw@cvs.gnome.org>
19773 * initscript/Debian/.cvsignore:
19774 * initscript/Slackware/.cvsignore:
19775 Added new cvsignores for Makefile, Makefile.in
19778 Added nmtestdevices
19780 * src/NetworkManagerDevice.c:
19781 * src/NetworkManager.c:
19782 Updated the wireless/wired HAL device strings from net.ethernet to
19783 net.80203 or net.80211 depending on wired or wireless respectively
19785 * examples/python/NetworkManager.py:
19786 s/Quality/Strength/
19788 * examples/python/systray/network_tray.py:
19789 Lots of little changes and fixes. been rotting for a while so I
19790 figured I'd finally sync them all with CVS
19792 Tue Sep 21 18:05:34 2004 Jonathan Blandford <jrb@redhat.com>
19794 * configure.in: Add graphics
19796 * panel-applet/Makefile.am: Add graphics
19798 * panel-applet/icons/*: Add graphics
19800 * panel-applet/NMWirelessApplet.c: Use new menu times to display
19801 the icons fully lined up.
19803 * panel-applet/menu-info.c:
19804 * panel-applet/menu-info.h: Add another menu type.
19806 Fri Sep 17 14:04:34 2004 Jonathan Blandford <jrb@redhat.com>
19808 * panel-applet/NMWirelessApplet.c: Redo the menu item code.
19810 * panel-applet/menu-item.[ch]: Wireless menu item.
19812 2004-09-15 John (J5) Palmieri <johnp@redhat.com>
19814 * info-daemon/NetworkManagerInfo.conf
19815 - Created a more robust security policy for the DBus service
19816 - everything is denied by default
19817 - root can own and send to the service
19818 - users logged in at the console can send to the service
19820 2004-09-13 Dan Williams <dcbw@redhat.com>
19822 * src/NetworkManagerDevice.c
19823 - (nm_device_get_essid): use iw_get_basic_config() rather than
19824 iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
19827 2004-09-13 Dan Williams <dcbw@redhat.com>
19831 * docs/NetworkManager DBUS API.txt
19832 - Update for new signal strength changes
19834 * panel-applet/NMWirelessApplet.c
19835 - Make panel icon show strength of the current connection
19836 - Cleanups and memleak fixes
19838 * panel-applet/NMWirelessApplet.h
19839 - Add data members for signal strength on devices and networks
19841 * panel-applet/NMWirelessAppletDbus.c
19842 - Free more DBusErrors
19843 - Update for new signal strength changes
19844 - Make devices and networks more like real objects, use ref/unref methods
19845 - Actually unlock the mutex when updating the active device
19847 * src/NetworkManagerAP.c
19848 - Change AP functions and data members from "quality"->"strength"
19850 * src/NetworkManagerDbus.c
19851 - Kill "getMaxQuality" and "getQuality" methods
19852 - Add "getStrength" methods for Networks and Devices
19854 * src/NetworkManagerDevice.[ch]
19855 - Add accessors for device strength
19856 - Add functions to update strength for a device. Note that not all drivers
19857 actually support signal strength for scanned access points (Atmel drivers
19859 - Calculate signal strength for each AP during scan
19861 * src/NetworkManagerWireless.[ch]
19862 - Add function to return signal strength % from a device and a raw quality struct
19864 * test/nmclienttest.c
19865 - Update for new signal strength changes
19867 2004-09-11 Dan Williams <dcbw@redhat.com>
19869 * src/NetworkManager.c
19870 - Fix race condition between initscripts and NM on card insertion
19871 which could cause a card to keep an IP address and routes around
19872 even when it was not the active device
19874 * src/NetworkManagerDbus.c
19875 - Fix compile errors, free more DBusErrors
19877 2004-09-11 Dan Williams <dcbw@redhat.com>
19879 * docs/NetworkManager DBUS API.txt
19880 - Add an explanation of NM's API
19882 * src/NetworkManagerDbus.c
19883 - Free some more DBusErrors if needed
19885 2004-09-11 Dan Williams <dcbw@redhat.com>
19887 * panel-applet/NMWirelessApplet.c
19888 panel-applet/NMWirelessAppletDbus.c
19889 - Start using NetworkDevice/WirelessNetwork structures in more places
19890 - Update for unified device/network forcing in NetworkManager
19892 * src/NetworkManager.c
19893 - some code consolidation
19895 * src/NetworkManagerDbus.c
19896 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
19897 or two arguments: the first is the NM ID of the device to switch to,
19898 and the second (optional) argument is the ESSID of a wireless network
19900 - Get rid of "setNetwork" method due to above change
19902 * src/NetworkManagerDevice.c
19903 - (nm_device_new): perform scan and update best AP on device creation
19904 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
19905 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
19906 spin waiting for cancellation to finish before returning
19908 * src/NetworkManagerPolicy.c
19909 - Changes here clarify the situations in which a device switch occurs, and
19910 make sure to keep using a forced device and network if the user gives
19912 - Remove old unused code
19914 2004-09-11 Martin Willemoes Hansen <mwh@sysrq.dk>
19916 * configure.in: Added Danish (da) to ALL_LINGUAS.
19918 2004-09-09 Dan Williams <dcbw@redhat.com>
19920 * panel-applet/NMWirelessAppletDbus.c
19921 - Pull fresh devices and networks from NM when wireless networks
19922 change. Provides faster feedback of a forced wireless network
19924 * src/NetworkManagerDbus.c
19925 - Return error when "getMaxQuality" is called on a wired device
19926 - Make best_ap freezing actually work again, and signal cancellation
19927 of activation if there's already a device activation when the user
19928 freezes the best_ap
19930 * src/NetworkManagerDevice.c
19931 - Don't clear out the best_ap for wireless devices when the link goes
19932 down, that's done elsewhere
19933 - Kill any dhcp daemons when cancelling device activation since they
19934 may be stuck waiting for a DHCP address, and since we're cancelling
19935 activation we don't care about that anymore
19937 * src/NetworkManagerPolicy.c
19938 - Make sure to unref the device we ref earlier (we refed it to make sure
19939 it stuck around during device activation and such)
19940 - If we were going to change the best device, but its activating currently
19941 (and therefore the change didn't occur due to the check earlier)
19942 we mark the state changed to we come back to it later when device
19943 activation has canceled and its no longer activating
19945 * src/backends/NetworkManagerRedHat.c
19946 - SIGKILL dhcp daemons rather than SIGTERM-ing them
19948 2004-09-09 Bryan Clark <clarkbw@cvs.gnome.org>
19950 * info-daemon/passphrase.glade:
19951 set passphrase input to activates_default : True
19953 * examples/python/systray/network_tray.py
19954 (network_tray.sort_networks):
19956 Added support for having wireless always scanning
19958 2004-09-09 Dan Williams <dcbw@redhat.com>
19960 NOTE: this commit changes the behavior of wireless devices in
19961 NetworkManager. They are now up all the time, scanning all
19962 the time. Only the active device has an IP address and routing
19963 information set up however. Also, NetworkManager will no longer
19964 opportunistically switch wireless networks when a better one
19965 comes in range, it will remain associated with one wireless network
19966 until that one drops out.
19968 * panel-applet/NMWirelessApplet.c
19969 panel-applet/NMWirelessAppletDbus.c
19970 - List all wireless cards and their respective networks
19972 * src/NMLoadModules
19973 - Use full path to /sbin/ip
19975 * src/NetworkManager.c
19976 - Keep wireless devices up all the time so they can scan
19978 * src/NetworkManagerDbus.c
19979 - On a WirelessNetworkUpdate signal from NMI, don't update
19982 * src/NetworkManagerDevice.c
19983 - (nm_device_set_link_active): clear out the best ap for
19984 wireless devices when the link is set to FALSE
19985 - Scan on all wireless cards, all the time
19986 - (nm_device_activation_worker): split out the wireless card
19987 link-waiting code to a separate function
19988 - Keep wireless cards up even if device activation fails
19989 - Don't update the "best" ap as much
19991 * src/NetworkManagerPolicy.c
19992 - Don't update the best ap when checking if its frozen,
19993 let link checking clear out a frozen best ap for us
19995 * src/NetworkManagerWireless.c
19996 - Scan on all wireless cards, all the time
19998 2004-09-09 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
20000 * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20002 2004-09-09 Ankit Patel <ankit@redhat.com>
20004 * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20006 2004-09-09 Pablo Saratxaga <pablo@mandrakesoft.com>
20008 * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20010 2004-09-08 Bryan Clark <clarkbw@cvs.gnome.org>
20012 * examples/python/NetworkManager.py:
20013 added CONNECTED, CONNECTING, and DISCONNECTED states
20014 added methods to return number of devices of a single type
20016 * examples/python/systray/network_tray.py:
20017 did some tweaks to get the menu looking near what it is supposed
20018 to look like. Also did a Airo card hack to make it show the
20021 2004-09-08 Dan Williams <dcbw@redhat.com>
20023 * panel-applet/no-networkmanager.png
20024 panel-applet/Makefile.am
20025 panel-applet/NMWirelessApplet.c
20026 - Add a "NetworkManager not running" icon and use it
20027 - Use new consolidated GConf keys rather than Preferred/Trusted
20031 * info-daemon/NetworkManagerInfo.c
20032 info-daemon/NetworkManagerInfoDbus.[ch]
20033 info-daemon/NetworkManagerInfoPassphraseDialog.c
20034 - There are now no longer two separate lists of wireless networks,
20035 but one list where each network is "trusted" or not trusted
20036 - Add a "getNetworkTrusted" dbus method
20037 - "WirelessNetworkUpdate" signal now sent rather than
20038 "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20039 - Start freeing some dbus errors (not completed yet)
20041 * info-daemon/passphrase.glade
20042 - Remove the "don't show" hints for pager and taskbar
20043 - Add a title since its going to be in the taskbar
20045 * src/NetworkManager.[ch]
20046 src/NetworkManagerAPList.[ch]
20047 - There are now no longer two separate lists of wireless networks,
20048 but one list where each network is "trusted" or not trusted
20050 * src/NetworkManagerAP.[ch]
20051 - Add get/set "trusted" accessors and data bit
20053 * src/NetworkManagerDbus.[ch]
20054 - Add function to get "trusted" status of a network from NetworkManagerInfo
20055 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20057 * src/NetworkManagerDevice.[ch]
20058 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20059 - (nm_device_new): Get device config from backend when initializing devices
20060 - (nm_device_activation_worker): Split out device configuration on
20061 activation to deal with static/dynamic IP differences, and try encryption
20062 fallbacks on a device if the encryption method for the best AP is not good
20063 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20064 NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20066 * src/NetworkManagerWireless.c
20067 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20069 * src/backends/NetworkManagerRedHat.c
20070 src/backends/NetworkManagerSystem.h
20071 - (nm_system_device_update_config_info): Add function to get device configuration
20072 from system data in ifcfg-* files
20074 * src/backends/NetworkManagerDebian.c
20075 src/backends/NetworkManagerGentoo.c
20076 src/backends/NetworkManagerSlackware.c
20077 - Add stub functions for getting device configuration
20079 2004-09-07 Dan Williams <dcbw@redhat.com>
20081 * src/backends/NetworkManagerRedhat.c
20082 src/backends/NetworkManagerSlackware.c
20083 - Use full path to /sbin/ip everywhere
20085 2004-09-07 Dan Williams <dcbw@redhat.com>
20087 Patch from: Narayan Newton <narayan_newton@yahoo.com>
20090 initscript/Makefile.am
20091 initscript/Slackware/Makfile.am
20092 initscript/Slackware/rc.networkmanager
20094 src/backends/NetworkManagerSlackware.c
20095 - Add Slackware support
20097 2004-09-07 Dan Williams <dcbw@redhat.com>
20099 Patches below from:
20101 Mark Roach <mrroach@okmaybe.com>
20102 Thom May <thom@debian.org>
20105 initscript/Debian/NetworkManager
20106 initscript/Debian/Makefile.am
20107 - Initscript for Debian
20109 * src/backends/NetworkManagerDebian.c
20110 - Add missing system init function to allow compilation
20113 2004-09-03 Raphael Higino <raphaelh@cvs.gnome.org>
20115 * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20117 2004-09-03 Akagic Amila <bono@linux.org.ba>
20119 * configure.in: Added 'bs' to ALL_LINGUAS.
20121 2004-09-02 Colin Walters <walters@verbum.org>
20123 * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20124 (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20125 g_strdup_printf instead of arbitrarily sized buffers.
20127 2004-09-01 Colin Walters <walters@verbum.org>
20129 * NetworkManager.pc.in: New file.
20131 * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20133 2004-09-01 Amanpreet Singh Alam <aalam@redhat.com>
20135 * configure.in: Punjabi(pa) is added to po/.
20137 2004-08-31 Dan Williams <dcbw@redhat.com>
20139 * Remove 'debug' extern global from all files since we now
20142 * src/NetworkManager.[ch]
20143 - Break out routine that get the net.interface property from HAL,
20144 removing that logic from nm_create_device_and_add_to_list()
20145 - (nm_create_device_and_add_to_list): make this a bit more general so
20146 it doesn't do the talking to HAL. Also add arguments to facilitate
20147 the create of test devices.
20148 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20149 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20150 which makes NetworkManager listen for dbus commands to create test
20151 devices, which have no backing hardware. Use when you're on a plane
20152 for example, and/or forgot your wireless card at home. Test devices
20153 _cannot_ be created unless NM is started with --enable-test-devices.
20155 * src/NetworkManagerDbus.[ch]
20156 - New "getLinkActive" method for devices
20157 - New "setLinkActive" method for devices (only works on test devices)
20158 - New "createTestDevice" method on NetworkManager object to create a test
20159 device of a specified type (ie wired, wireless). UDI is created from
20160 scratch, as is the interface name. Only works when NM is started with
20161 --enable-test-devices switch.
20162 - New "removeTestDevice" method on NetworkManager object which removes a
20163 test device. Only works when NM is started with --enable-test-devices
20165 * src/NetworkManagerDevice.[ch]
20166 - Logic to facilitate test devices. Add variables to NMDevice struct to indicate
20167 whether a device is a test device or not, and what its link status is.
20168 - Deal with test devices in most functions. For those that work directly on hardware
20169 special-case test devices.
20170 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20172 - (nm_device_update_link_active): split out logic for wired and wireless device link
20173 checking to separate functions to facilitate test device link checking.
20174 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20175 don't make a distinction between System Authentication and Encryption
20176 (namely Cisco aironet), we use Open System auth when setting a WEP key
20177 on the card. We don't deal with Shared Key auth yet.
20178 - (nm_device_activation_worker): split the activation cancel check logic out into
20179 a separate routine nm_device_activation_cancel_if_needed()
20180 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20181 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20182 a list of fake access points that they can "see"
20183 - (nm_device_is_test_device): return whether or not a device is a test device
20185 * src/NetworkManagerPolicy.c
20186 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20187 previously if you "locked"/forced NM to use a wireless device but then
20188 selected a wireless network for NM to use, it would switch to a wired device.
20189 So, if the active device is wireless and it has a "forced" best AP, use it
20190 if the "forced" best AP is still valid
20191 - (nm_state_modification_monitor): deal with NULL best devices, for example
20192 there were no usable network devices, or the last one was removed
20194 * src/backends/NetworkManager*.c
20195 - Deal with test devices, mostly just return success for operations like getting
20198 * test/nmtestdevices.c
20199 - Test tool to create/remove/link-switch test devices
20201 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
20203 * examples/python/NetworkManager.py:
20204 added convience functions has_wired_device and has_wireless_device
20206 * examples/python/systray/network_tray.py:
20207 cleaned up a bunch of cruft, added support for listing wireless
20208 networks just like the real applet. This is probably all I'm
20209 going to work on this applet from now on.
20210 TODO: add support for actually changing networks and devices
20212 * examples/python/NetworkManager.py (NetworkManager.get_device):
20213 changed "nm.networks" into a dict from a list so I can store all
20214 the cool information about networks in there
20216 * examples/python/systray/network_tray.py:
20217 Added nice message when you try to run without running make first
20219 * examples/python/NetworkManager.py:
20220 Bug fixes to the code so we get all the device information
20221 that we need in get_device()
20223 * examples/python/NMTester.py:
20224 Fixed _print_device_list to print_device_list
20226 2004-08-29 Seth Nickell <seth@gnome.org>
20230 Actually properly setup the Debian backend in configure.
20232 2004-08-29 Colin Walters <walters@verbum.org>
20234 * test/nminfotest.c: Include string.h and stdlib.h.
20235 (get_network_string_property, get_networks_of_type): Return NULL.
20237 * test/nmclienttest.c (get_device_name, get_active_device): Return
20240 * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20241 use strlen, fgets always NULL-terminates the string.
20243 * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20244 dbus_message_get_member): Remove /* in comment.
20246 * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20248 * src/NetworkManager.c (quit): Unused, delete.
20249 (nm_data_free): Cast arg to GFunc.
20251 * panel-applet/NMWirelessAppletDbus.c: Need to include
20252 string.h, and dbus-glib-lowlevel.h (the latter is needed
20253 for dbus_connection_setup_with_g_main at present).
20254 (nmwa_dbus_update_wireless_network_list): Parenthesize
20255 assignment in conditional.
20256 (nmwa_dbus_worker): Return NULL.
20258 * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20259 (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20260 (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20261 (nmwa_populate_menu): Return NULL on failure, instead of just
20264 * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20266 * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20269 * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20272 2004-08-29 Colin Walters <walters@verbum.org>
20274 * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20275 a GTimeVal instead of time_t. This is easier to work with,
20276 since time_t may be a long or double, we don't know.
20278 * src/NetworkManagerDbus.h: Update prototype.
20280 * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20282 (nm_ap_get_timestamp): Update to return GTimeVal.
20283 (nm_ap_set_timestamp): Update to take GTimeVal.
20285 * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20286 to handle GTimeVal.
20288 * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20290 (nm_ap_list_print_members): Fix warnings in printf format.
20292 2004-08-29 Colin Walters <walters@verbum.org>
20294 * panel-applet/NMWirelessApplet.c: Include config.h.
20296 2004-08-29 Colin Walters <walters@verbum.org>
20298 * configure.in: Generate config.h.
20300 * configure.in: Dump dependency on OpenSSL; we can't
20301 use it since this package is GPL:
20302 http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20303 Instead, check for libgcrypt, use it if available,
20304 otherwise use included MD5 code.
20306 * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20307 Suck in from gnome-keyring, munge a bit.
20309 * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20310 gnome-keyring-md5.h gnome-keyring-md5.c.
20311 (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20313 * src/NetworkManagerWireless.c (nm_md5): New function, uses
20314 libgcrypt or included gnome-keyring md5 bits.
20315 (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20317 2004-08-28 Kjartan Maraas <kmaraas@gnome.org>
20319 * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20321 2004-08-27 Bryan Clark <bclark@redhat.com>
20323 * examples/python/systray/Makefile:
20325 Updated the clean section
20327 * examples/python/systray/trayiconmodule.c:
20328 * examples/python/systray/trayicon.override:
20329 * examples/python/systray/network_tray.py:
20330 * examples/python/systray/eggtrayicon.h:
20331 * examples/python/systray/eggtrayicon.c:
20332 * examples/python/systray/Makefile:
20333 * examples/python/README:
20334 * examples/python/NetworkManager.py:
20335 * examples/python/NMTester.py:
20337 Initial commit of these python example files
20339 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20341 * panel-applet/NMWirelessApplet.c
20342 - Make current device bold
20343 - Show more user-friendly device name if we got one from hal
20345 * panel-applet/NMWirelessAppletDbus.c
20346 - Grab "info.product" key from hal for network devices
20347 - Cache the current active device
20349 2004-08-27 Adam Weinberger <adamw@gnome.org>
20351 * configure.in: Added en_CA to ALL_LINGUAS.
20353 2004-08-27 Christian Rose <menthos@menthos.com>
20355 * configure.in: Added "sv" to ALL_LINGUAS.
20357 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20359 * Tag NetworkManager-0.2
20361 Thu Aug 26 17:23:16 2004 Jonathan Blandford <jrb@redhat.com>
20363 * initscripts/Makefile.am
20364 * configure.in: Make pass distcheck
20366 * po/ChangeLog: added
20368 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20370 * panel-applet/NMWirelessApplet.c
20371 - Remove debugging code
20372 - Enable device switching from menus
20374 * panel-applet/NMWirelessAppletDbus.[ch]
20375 - Method for asking NM to switch devices
20377 * src/NetworkManagerDevice.c
20378 - Set dev->activating earlier, avoids race between
20379 the dbus signal of "DeviceActivating" and setting
20380 dev->activating (which is what NM's "status" method call
20383 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20385 * panel-applet/NMWirelessApplet.[ch]
20386 - Rework menu code to add devices to menu, and to show
20387 signal strength for each access point. Code cleanups
20390 * panel-applet/NMWirelessAppletDbus.c
20391 - Grab network devices from NetworkManager too
20392 - Grab quality information from NM for wireless networks
20394 * src/NetworkManagerDbus.[ch]
20395 - Add dbus methods for getting the HAL UDI from a device and
20396 for getting its base quality, if its wireless
20397 - Consolidate some functions (wireless network notifications,
20398 device notifications)
20399 - Add method for requesting NM to use a particular device
20401 * src/NetworkManager.c
20402 - Change for function consolidations from NetworkManagerDbus.c
20403 - Implement active device locking and user-requested devices
20404 (ie, tell NM to use a particular device instead of the one
20407 * src/NetworkManagerDevice.c
20408 - Add method for getting the base quality of a device, if its
20410 - Grab device base quailty info from iwlib during scans
20412 * src/NetworkManagerPolicy.c
20413 - Use a user-requested device rather than the auto-chosen device
20416 Thu Aug 26 15:12:36 2004 Jonathan Blandford <jrb@redhat.com>
20418 * Makefile.am: add po as a supdir
20420 * autogen.sh: use gnome-autogen.sh
20422 * initscript/Gentoo/.cvsignore:
20423 * initscript/RedHat/.cvsignore: Shut up cvs
20425 * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20427 * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20428 (nmwa_fill): Use gettext.
20430 * configure.in: add gettext support
20432 * po/NetworkManager.pot:
20435 2004-08-26 Seth Nickell <seth@gnome.org>
20437 * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20438 (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20439 (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20440 (nmwa_dispose_menu_items), (nmwa_populate_menu),
20441 (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20442 * panel-applet/NMWirelessApplet.h:
20444 Use a menu bar instead of a button for the main clickable
20447 2004-08-25 Dan Williams <dcbw@redhat.com>
20449 * src/NetworkManagerDevice.c
20450 - (nm_device_set_enc_key): always set device to "open" mode instead of
20451 turning encryption off, because the Cisco driver doesn't associate
20452 with WEP-enabled access points unless we are in "open"
20454 2004-08-25 Dan Williams <dcbw@redhat.com>
20456 * src/NetworkManagerWireless.c
20457 - Don't try to defererence blank passphrases
20459 2004-08-25 Dan Williams <dcbw@redhat.com>
20461 * panel-applet/NMWirelessApplet.c
20462 - Rebuild the menu whenever a user clicks
20464 2004-08-25 Dan Williams <dcbw@redhat.com>
20466 * panel-applet/NMWirelessApplet.c
20467 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20468 when NM isn't around or when its not connected
20470 * src/NetworkManagerDevice.c
20471 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20474 2004-08-25 Dan Williams <dcbw@redhat.com>
20476 * panel-applet/NMWirelessAppletDbus.c
20477 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20478 for getting encryption, and don't stop on "val" once we've gotten it
20479 from NetworkManager. Short form: encryption should now show up.
20481 2004-08-25 Dan Williams <dcbw@redhat.com>
20483 * panel-applet/NMWirelessApplet.c
20484 - Set ESSID on a gconf trusted network too when force-setting the wireless
20485 network to associate with
20487 2004-08-25 Dan Williams <dcbw@redhat.com>
20490 - Rework the panel applet to do all DBUS communication in a separate
20493 2004-08-25 Dan Williams <dcbw@redhat.com>
20495 * info-daemon/NetworkManagerInfo.[ch]
20496 - Remove "get_next_priority" function
20498 * info-daemon/NetworkManagerInfoDbus.[ch]
20499 - Convert "priority" functions to "timestamp"
20501 2004-08-25 Dan Williams <dcbw@redhat.com>
20503 * src/NetworkManagerAP.[ch]
20504 - Add a "enc_method_good" member and accessors to an Access Point
20505 to signal when we've found the correct encryption method
20506 for an access point
20507 - Add a "timestamp" member and accessors, remove "priority" member
20508 and accessors (use timestamps instead)
20509 - Rename "wep_key"->"enc_key"
20510 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20511 for a specified encryption method using the access points
20512 source encryption key/passphrase
20514 * src/NetworkManagerAPList.c
20515 - When updating a network with dbus, grab timestamp now instead of
20518 * src/NetworkManagerDBus.[ch]
20519 - Add signal for "DeviceActivating"
20520 - Switch priority->timestamp
20522 * src/NetworkManagerDevice.c
20523 - Change references of "wep_key" -> "enc_key" or "key"
20524 - Signal DeviceActivating when starting activation
20525 - When activating a wireless device, if the access point we are connecting
20526 to is encrypted, and we have a source key, try to generate a mangled
20527 key and use that (ie, generate real WEP key from a passphrase)
20528 - Rework device activation to fallback to other encryption methods if
20529 a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20530 first, then if that doesn't work fall back to direct hex key).
20531 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20532 priority. We now prefer the latest access point used, rather than using
20534 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20535 points we've just discovered, and merge in correct info from the global
20538 2004-08-25 Seth Nickell <seth@gnome.org>
20540 Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20544 * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20545 (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20546 (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20547 (nm_system_delete_default_route),
20548 (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20549 (nm_system_load_device_modules):
20551 2004-08-24 Dan Willemsen <dan@willemsen.us>
20553 * src/NetworkManager.c
20554 src/backends/NetworkManagerGentoo.c
20555 src/backends/NetworkManagerRedHat.c
20556 src/backends/NetworkManagerSystem.h
20557 - Implement preliminary Gentoo support, adding a
20558 nm_system_init function to the backend specification
20561 - Distribution auto-detection, lowercase any user-fed
20564 * initscript/.cvsignore
20565 initscript/Makefile.am
20566 initscript/RedHat/Makefile.am
20567 initscript/RedHat/NetworkManager
20568 initscript/Gentoo/Makefile.am
20569 initscript/Gentoo/NetworkManager
20570 - Refactored initscript code separately for each
20573 2004-08-23 Dan Williams <dcbw@redhat.com>
20577 src/NetworkManagerDevice.c
20578 src/NetworkManager.c
20579 src/NetworkManagerUtils.[ch]
20580 src/backends/NetworkManagerSystem.h
20581 src/backends/NetworkManagerRedHat.c
20582 src/backends/NetworkManagerGentoo.c
20583 - Refactor system-specific code into separate backends for
20586 2004-08-23 Dan Willemsen <dan@willemsen.us>
20588 * dispatcher-daemon/NetworkManagerDispatcher.c
20589 info-daemon/NetworkManagerInfo.[ch]
20590 info-daemon/NetworkManagerInfoDbus.c
20591 info-daemon/NetworkManagerInfoPassphraseDialog.c
20592 src/NetworkManager.c
20593 src/NetworkManagerAP.c
20594 src/NetworkManagerAPList.c
20595 src/NetworkManagerDbus.c
20596 src/NetworkManagerDevice.c
20597 src/NetworkManagerPolicy.c
20598 src/NetworkManagerUtils.[ch]
20599 src/NetworkManagerWireless.c
20600 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20602 * src/NetworkManager.c
20603 - Fixed usage wording for --no-daemon
20605 2004-08-23 Dan Williams <dcbw@redhat.com>
20607 * panel-applet/NMWirelessApplet.c
20608 - Update our state every second to get more responsive panel icon
20609 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20610 was causing our marching ants status blips to never move when
20611 looking for a wireless network
20613 * src/NetworkManagerDevice.c
20614 - (nm_device_activation_begin): return if activation has already begun
20615 - (nm_device_do_normal_scan): merge WEP key and priority from the
20616 trusted/preferred network into the device's access point when the
20617 scan list is processed
20619 2004-08-23 Dan Williams <dcbw@redhat.com>
20621 * initscript/NetworkManager
20622 - Use NMLaunchHelper rather than sleeping
20624 * initscript/NMLaunchHelper.c
20626 - Add helper program that exits only when NM activates a device,
20627 or 10 seconds have passed, whichever happens first. This
20628 stops the boot processes until we have a network connection,
20629 which NM can't do because it daemonizes and brings the connection
20630 up in the background. Allows stuff like NFS to not die.
20632 2004-08-20 Dan Williams <dcbw@redhat.com>
20634 * info-daemon/NetworkManagerInfoPassphraseDialog.c
20635 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20636 for a network, set the essid as well since it may not exist yet
20637 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20638 since WEP keys/passphrases are long and prone to entry-error
20640 * panel-applet/Makefile.am
20641 panel-applet/wired.png
20642 - Add (pulled from system-config-network temporarily)
20644 * panel-applet/NMWirelessApplet.[ch]
20645 - Show wired picture when a wired connection is used
20646 - Rename wireless icon enums, adding WIRELESS
20648 * src/NetworkManagerDevice.c
20649 - (nm_device_activate_wireless): unset encryption before bringing
20650 down the card and setting the essid
20651 - (nm_device_activatin_worker): request a key from the user if the
20652 AP we are connecting to is encrypted but we don't have a key
20654 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20655 strcmp() that prevented a user-entered key from actually getting
20658 2004-08-16 Dan Williams <dcbw@redhat.com>
20660 * initscript/NetworkManager
20661 - Check for /sbin/ip
20662 - Do sysctl magic that network service does
20663 - sleep 4s after start to allow network time to come up [hack]
20667 - Load all network device kernel modules (hal doesn't know devices
20668 are ethernet until the module is loaded, and therefore we don't know)
20670 * src/NetworkManager.c
20671 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20672 network devices, and bring up the loopback device explicitly
20674 * src/NetworkManagerUtils.[ch]
20675 - (nm_enable_loopback): new function
20677 2004-08-13 Dan Williams <dcbw@redhat.com>
20680 panel-applet/Makefile.am
20681 - Fix up cleanfiles and server_DATA/server_in_files
20684 - Update with some comments on theory of operation
20690 2004-08-12 Dan Williams <dcbw@redhat.com>
20692 * info-daemon/passphrase.glade
20693 - Set window title to " "
20695 * panel-applet/Makefile.am
20696 panel-applet/keyring.png
20697 - Deliver to correct place
20699 * panel-applet/NMWirelessApplet.[ch]
20701 - Remove applet->have_active_device as its no longer used
20702 - (nmwa_load_theme): load keyring.png too
20703 - (error_dialog): remove
20704 - (show_warning_dialog): subsume functionality of error dialog too
20705 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20706 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20708 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20709 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20710 and when we get broadcasts of changed wireless access points only, not when the
20711 user clicks on the button to display the menu (too long of a wait)
20712 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20713 networks that are encrypted
20714 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20715 menu item with g_object_set_data()
20717 * panel-applet/NMWirelessAppletDbus.[ch]
20718 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20719 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20720 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20721 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20722 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20723 activation/deactivation signals and rebuild the menu when they happen
20725 * src/NetworkManager.c
20726 - (main): use new nm_spawn_process() rather than system()
20728 * src/NetworkManagerDbus.c
20729 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20730 instead. Since we can now force best_aps to stick around, the AP structure to which
20731 dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20732 if a scan has happened since the best_ap was frozen. Also add "setNetwork" method
20733 to freeze the best_ap.
20735 * src/NetworkManagerDevice.[ch]
20736 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20737 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20738 the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
20741 * src/NetworkManagerUtils.[ch]
20742 - (nm_spawn_process): add replacement for system() usage
20744 2004-08-11 Dan Williams <dcbw@redhat.com>
20746 * panel-applet/NMWirelessApplet.[ch]
20747 - Fix up copyright and credits to include Bastien and Eskil,
20748 who created the gnome-applets wireless applet, from whose
20749 skeleton this one was created
20750 - Rework nmwa_update_state()/nmwa_draw() so that state and which
20751 pixmap to draw is computed during nmwa_update_state()
20752 - Applet now shows itself all the time due to panel packing issues
20753 which caused the applet to previously never come back after hiding.
20754 When a wired device is the active device, the applet shows "not connected"
20756 * panel-applet/NMWirelessAppletDbus.[ch]
20757 - Clean up error messages and show what function they are from
20758 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
20759 - Add new device type getters, and a status getter
20761 * src/NetworkManagerDbus.c
20762 - (nm_dbus_devices_handle_request): Don't return an active network unless that
20763 network is actually in the device's ap list
20764 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
20766 * src/NetworkManagerDevice.c
20767 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
20770 * test/nmclienttest.c
20771 - Report status of NetworkManager too
20773 2004-08-11 Dan Williams <dcbw@redhat.com>
20775 * info-daemon/NetworkManagerInfo.c:
20776 - (main): clean up Seth's code style
20778 * info-daemon/NetworkManagerInfoDbus.c:
20779 - Use the more aptly-named path/service/interface constants from NetworkManager
20780 - Don't return empty strings ("") as object paths ever, instead return errors
20782 * panel-applet/NMWirelessApplet.c:
20783 - Clean up Seth's code style
20785 * src/NetworkManager.[ch]
20786 - (nm_remove_device_from_list): remove anything having to do with pending_device
20787 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
20789 * src/NetworkManagerAPList.[ch]
20790 - Move Iter struct right above the iter functions to preserve opacity
20791 - (nm_ap_list_remove_ap): implement
20792 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
20793 remove AP if NetworkManagerInfo doesn't know anything about it
20794 - (nm_ap_list_diff): user NMAPList iterators
20795 - (nm_ap_list_print_members): implement debugging function
20797 * src/NetworkManagerDbus.[ch]
20798 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
20799 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
20800 and move the actual key setting stuff into NetworkManagerDevice.c
20801 - (nm_dbus_get_network_priority): return -1 now on errors
20802 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
20803 get lost, and force the active device to update its "best" ap when AP lists change
20804 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
20805 method call due to pending_device member removal
20807 * src/NetworkManagerDevice.[ch]
20808 - Move NMDevice structure to the top
20809 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
20810 - Remove Pending Action stuff from everywhere
20811 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
20812 activation for us. This thread blocks until all conditions for activation have
20813 been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
20814 then setup up the interface and runs dhclient. We have to do this because there
20815 is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
20816 run our main loop and respond to dbus method calls or HAL device removals/inserts
20817 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
20818 can tell nm_device_activation_worker() that we've got a key
20819 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
20820 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
20821 diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
20822 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
20824 * src/NetworkManagerPolicy.c
20825 - Remove anything to do with pending_device
20826 - Adjust device activation to deal with activation-in-worker-thread
20828 * src/NetworkManagerUtils.c
20829 - Clean up locking debugging a bit
20831 * src/NetworkManagerWireless.[ch]
20832 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap(). This function
20833 was badly named and is better as a device function
20835 * panel-applet/.cvsignore: add
20837 2004-08-09 Seth Nickell <seth@gnome.org>
20839 * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
20840 (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
20842 * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
20844 Don't load the menus until clicked on (also removes a call outside
20845 normal code paths at first load).
20847 Hide applet when NM is not present.
20849 Improve printf debugging stuff.
20851 2004-08-09 Dan Williams <dcbw@redhat.com>
20853 * dispatcher-daemon/NetworkManagerDispatcher.c:
20854 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
20855 - Use constants for NetworkManager interface, service, and path
20857 2004-08-09 Dan Williams <dcbw@redhat.com>
20859 * src/NetworkManagerDbus.c:
20860 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
20861 instead return an error message
20862 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
20863 on a wired device. Also never return an empty object path, instead return an error message
20865 2004-08-06 Seth Nickell <seth@gnome.org>
20867 * panel-applet/NMWirelessApplet.c: (nmwa_new):
20869 Check the error code when getting a connection.
20871 * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
20873 Check if the NM service exists when initializing (rather than
20874 assuming it does not).
20876 * src/NetworkManagerDbus.c: (nm_dbus_init):
20878 Don't acquire the well-known service name until we have
20879 registered object/path handlers and can actually receive
20882 2004-08-06 Dan Williams <dcbw@redhat.com>
20887 * src/NetworkManagerPolicy.c
20888 src/NetworkManager.c
20889 - Get access point lists from NetworkManagerInfo on-demand,
20890 and look for ServiceCreate/ServiceDeleted signals to see when
20891 we should query NMI for lists
20892 * src/NetworkManagerAPList.c
20893 - Make sure to init the list's mutex
20894 - Convert traversals of the list over to the list iter functions
20896 * src/NetworkManagerDbus.[ch]
20897 - Use more aptly-named path/service/interface constants
20898 - Treat both active and pending devices the same for "getActiveDevice"
20899 - Add a "status" method returning "connected", "connecting", or "disconnected"
20901 * src/NetworkManagerDevice.c
20902 - Honor "ignored" network list when picking best ap to use
20904 2004-08-06 Seth Nickell <seth@gnome.org>
20908 Autogenerated, remove from CVS.
20912 Don't hardcode automake version.
20915 * info-daemon/Makefile.am:
20916 * info-daemon/NetworkManagerInfo.c: (main):
20918 Use GnomeProgram et al. for doing session management.
20919 Use popt stuff for argument parsing rather than doing
20922 2004-08-05 Dan Williams <dcbw@redhat.com>
20924 * test/nminfotest.c
20925 - Update to new NMI dbus API, check different network types
20927 * info-daemon/NetworkManagerInfoDbus.c
20928 - Update to new NM dbus API, ie network type sent in query message
20930 2004-08-05 Dan Williams <dcbw@redhat.com>
20932 * An assload of changes
20934 2004-08-02 Dan Williams <dcbw@redhat.com>
20937 - new task: proper logging support
20939 * info-daemon/NetworkManagerInfo.c
20940 - Correct spelling of "canceled"
20941 - Correct casting of objects for g_signal_connect()
20943 * info-daemon/NetworkManagerInfoDbus.c
20944 - Add defines for NetworkManager namespace and object path, and use them
20945 - Add filter function to trap new signals from NetworkManager:
20946 WirelessNetworkAppeared, WirelessNetworkDisappeared
20948 * info-daemon/passphrase.glade
20949 - Change name of "ok" button to "Login to Network..."
20952 * src/NetworkManager.c
20953 - Code and debug message cleanups
20954 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
20955 - (nm_add_initial_devices) Check returned string array of devices
20956 and don't try to add devices if array is NULL
20957 - (main) Initialize libhal a bit later, make code a bit clearer
20959 * src/NetworkManagerAP.[ch]
20960 - New accessor and data member "matched": used to speed up AP list
20962 - New accessor and data member "enc_method": will be used during key
20963 fallback to cache which passphrase->key conversion actually works
20964 so we don't have to do it every time
20966 * src/NetworkManagerAPList.[ch]
20967 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
20968 - (nm_ap_list_diff) New: given two lists of access points, find the differences
20969 between them, and send WirelessNetworkAppeared/Disappeared signals over
20970 dbus in response to those differences
20972 * src/NetworkManagerDbus.[ch]
20973 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
20974 make an object path for that access point (NOTE that we don't yet check to
20975 make sure that access point is actually in the device's AP list yet)
20976 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
20977 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
20978 New: signal appearance/disappearance of wireless networks
20979 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
20982 * src/NetworkManagerDevice.[ch]
20983 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
20984 - (nm_device_ap_list_get) New: return the AP list (static function)
20985 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
20986 new one resulting from the scan with the old one
20988 * src/NetworkManagerWireless.c
20989 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
20991 * test/nminfotest.c
20992 - #define object paths and namespaces and use the #defines rather than static strings
20993 - Test out user-key functionality of NetworkManagerInfo too
20995 2004-07-29 Dan Williams <dcbw@redhat.com>
20997 * info-daemon/NetworkManagerInfoDbus.c
20998 src/NetworkManagerDbus.c
20999 - Update to current DBus (ie don't use decomposed paths when registering
21000 object paths/fallbacks)
21002 2004-07-27 Dan Williams <dcbw@redhat.com>
21004 * Remove various Makefile.in files
21007 - Add some more items
21010 - Add checks for OpenSSL/md5 headers and libs
21013 - Use OpenSSL CFLAGS
21015 * src/NetworkManagerAP.[ch]
21016 - Remove 'stamp' functions, replace with 'invalid' functions
21017 to support user cancelling WEP key entry
21019 * src/NetworkManagerDbus.c
21020 - Remove 'stamp' return functions
21021 - Treat returned user key as a passphrase and convert to a WEP key,
21022 but don't actually use the WEP key yet. We use the returned user
21023 key as a hexadecimal WEP key until we can figure out a UI for
21024 passphrase-vs-hex key
21026 * src/NetworkManagerWireless.[ch]
21027 - Add passphrase-to-128bit-key function
21029 2004-07-27 Dan Williams <dcbw@redhat.com>
21032 - Add a couple of items
21034 2004-07-27 Dan Williams <dcbw@redhat.com>
21036 * info-daemon/NetworkManagerInfo.c
21037 - Update allowed network's GConf key when user enters a WEP key explicitly
21039 * info-daemon/NetworkManagerDbus.c
21040 - Fix some comments
21041 - nmi_dbus_get_allowed_networks(): kill warning
21043 2004-07-27 Dan Williams <dcbw@redhat.com>
21045 * initscript/Makefile.in
21048 * initscript/Makefile.am
21049 - Add correct rules to install the init.d initscript
21051 * info-daemon/NetworkManagerInfoDbus.c
21052 - Remove debug fprintf
21054 * src/NetworkManagerDbus.[ch]
21055 - Remove debug fprintfs
21056 - Add macros for NetworkManagerInfo object path/namespace
21057 - Use said macros instead of constant strings
21059 2004-07-27 Dan Williams <dcbw@redhat.com>
21061 * initscript/.cvsignore
21064 * info-daemon/Makefile.am
21065 - Install .glade files and keyring.png
21066 - Fix stupid omission of a \ that caused half the flags not to be
21069 * info-daemon/NetworkManagerInfo.c
21070 - gtk_signal_connect->g_signal_connect
21071 - Alert NetworkManagerInfo to new glade file location
21073 2004-07-27 Dan Williams <dcbw@redhat.com>
21075 * test/nmclienttest.c
21077 - Add missing <dbus/dbus.h> headers
21078 - Add GPL message at top
21080 2004-07-27 Dan Williams <dcbw@redhat.com>
21082 * src/NetworkManagerAPList.[ch]
21084 - Add. Deal with allowed network list additions, deletions, and updates
21086 * dispatcher-daemon/NetworkManagerDispatcher.c
21087 - Add missing <dbus/dbus.h> header
21089 * info-daemon/NetworkManagerInfo.[ch]
21090 - Add missing <dbus/dbus.h> header
21091 - Implement the GConf notify callback to signal NetworkManager of an allowed
21093 - Better error checking
21095 * info-daemon/NetworkManagerInfoDbus.[ch]
21096 - Add missing <dbus/dbus.h> header
21097 - Convert to using dbus_message_append_args/dbus_message_get_args
21098 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21099 that an allowed network changed. We don't want to signal on individual
21100 keys _inside_ an allowed network really, just want NM to query the info
21101 daemon for updated info on all keys.
21102 - Better error checking
21104 * src/NetworkManager.[ch]
21105 - Add missing <dbus/dbus.h> header
21106 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21107 - Zero out NMData structure on free
21108 - No longer use a thread for allowed_ap_list updating, instead its now done
21109 through dbus queries against NetworkManagerInfo
21110 - Populate allowed_ap_list initially before adding existing network devices
21111 to the device list, so wireless devices can get their "best" AP
21113 * src/NetworkManagerDbus.[ch]
21114 - Convert to using dbus_message_append_args/dbus_message_get_args
21115 - Better error checking
21116 - Implement Allowed Network info functions to request allowed network
21117 info from NetworkManagerInfo
21118 - Implement the filter function to process signals from NetworkManagerInfo
21119 about changing allowed networks
21121 * src/NetworkManagerDevice.c
21122 - Fix file descriptor leak in nm_device_update_ip4_address()
21124 2004-07-27 Dan Williams <dcbw@redhat.com>
21129 dispatcher-daemon/.cvsignore
21130 info-daemon/.cvsignore
21131 - Add .cvsignore files to reduce noise when diffing
21133 2004-07-24 Dan Williams <dcbw@redhat.com>
21135 * src/NetworkManager.[ch]
21136 src/NetworkManagerDbus.[ch]
21137 src/NetworkManagerDevice.[ch]
21138 src/NetworkManagerPolicy.c
21139 src/NetworkManagerWireless.[ch]
21140 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21141 - Pass the NMData application data structure through all calls
21142 that need it so we can get rid of nm_get_global_data()
21143 - Change deallocation of the allowed_ap_list GSList in preparation
21144 for not completely clearing it every time we get an update,
21145 but instead getting incremental updates via GConf/dbus
21147 2004-07-22 Dan Williams <dcbw@redhat.com>
21150 - Add checks for GConf libs & headers & flags
21152 * info-daemon/Makefile.am
21153 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21155 * info-daemon/NetworkManagerInfo.[ch]
21156 - Don't use gquarks for data storage, just use normal data storage
21157 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21159 * info-daemon/NetworkManagerDbus.[ch]
21160 - Add method call for getting allowed networks
21161 - Add method calls for getting an allowed network's essid, priority, and key
21162 - Hook the method calls up to GConf
21163 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21164 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21166 * src/NetworkManagerDbus.[ch]
21167 - Switch for enumeration of networks to using essid instead
21171 - Add test program for NetworkManagerInfo
21173 2004-07-19 Dan Williams <dcbw@redhat.com>
21175 * src/NetworkManagerDbus.c
21176 - Switch from indexed device paths to names. Less code, more efficient.
21177 ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21179 2004-07-19 Dan Williams <dcbw@redhat.com>
21181 * dispatcher-daemon/NetworkManagerDispatcher.c
21182 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21184 2004-07-19 Dan Williams <dcbw@redhat.com>
21187 - Add info-daemon directory
21190 - Check for glade libs and headers
21191 - Add info-daemon directory
21193 * src/NetworkManagerAP.c
21194 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21195 copied over to the new AP.
21197 * src/NetworkManagerDbus.c
21198 src/NetworkManagerDbus.h
21199 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21200 - Remove nm_dbus_signal_need_key_for_network()
21201 - Add disabled code for asynchronous user wep key callbacks
21202 - Add functions for getting, setting, and cancelling user key operations
21203 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21204 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21206 * src/NetworkManagerDevice.c
21207 src/NetworkManagerDevice.h
21208 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21209 logic is in device activation now
21210 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21211 key is wrong) trigger get-user-key pending action
21212 - Implement get-user-key pending action stuff, tie to dbus messages
21213 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21214 - Add nm_device_ap_list_get_ap_by_essid()
21215 - Instead of copying "best" access points, ref them instead so that the key we set
21218 * src/NetworkManagerPolicy.c
21219 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21220 - Don't cancel pending actions on a device if its the same device as last iteration
21221 - Only promote pending_device->active_device if activation was successfull
21224 - Rename nmclienttest->nmtest
21226 * info-daemon/Makefile.am
21227 info-daemon/NetworkManagerInfo.c
21228 info-daemon/NetworkManagerInfo.h
21229 info-daemon/NetworkManagerInfoDbus.c
21230 info-daemon/NetworkManagerInfoDbus.h
21231 info-daemon/passphrase.glade
21232 info-daemon/NetworkManagerInfo.conf
21233 info-daemon/keyring.png
21234 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21235 NetworkManager asks for it, and also will (soon) provide "allowed" access point
21236 lists to NetworkManager by proxying user's GConf
21239 2004-07-15 Dan Williams <dcbw@redhat.com>
21244 * src/NetworkManager.c
21245 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21246 that doing the deactivation ourselves
21247 - Cancel an pending actions on a device if its being removed
21248 - Break up link state checking a bit, make non-active wireless cards
21249 deactivated to save power
21250 - Remove unused variables
21252 * src/NetworkManager.h
21253 - Add support for "pending" device
21255 * src/NetworkManagerAP.h
21256 src/NetworkManagerAP.c
21257 - Add support for determining whether and AP has encryption enabled or not
21258 - AP address is now "struct ether_addr" rather than a string
21260 * src/NetworkManagerDbus.h
21261 src/NetworkManagerDbus.c
21262 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21263 - Changes for AP address from struct ether_addr->string
21265 * src/NetworkManagerDevice.h
21266 src/NetworkManagerDevice.c
21267 - Remove unused variables, fix warnings
21268 - Add support for Pending Actions (things that block a device from being "active"
21269 until they are completed).
21270 - First pending action: Get a WEP key from the user
21271 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21272 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21273 - Update wireless link checking to try to determine if the AP we are associated
21274 with is correct, but the WEP key we are using is just wrong. If its wrong,
21275 trigger the GetUserKey pending action on the device
21276 - If dhclient can't get an IP address, it brings the device down. Bring it back
21277 up in that case, otherwise we can't scan or link-check on it
21278 - Add IP address change notifications at appropriate points (still needs some work)
21279 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21281 * src/NetworkManagerPolicy.h
21282 src/NetworkManagerPolicy.c
21283 - Split out "best" access point determiniation into separate function
21284 - Make device activation 2-stage: first the device is pending, then
21285 in the next iteration through it becomes "active" unless it has
21288 * src/NetworkManagerUtils.h
21289 src/NetworkManagerUtils.c
21290 - Clean up unused variables and warnings
21291 - Wrap our debug macros in {} to prevent possible confusion
21293 * src/NetworkManagerWireless.c
21294 - Forgot to return current best priority, which lead to last available AP always
21295 being chosen no matter what its priority was. Corrected.
21297 2004-07-15 Dan Williams <dcbw@redhat.com>
21299 * dispatcher-daemon/Makefile.am
21302 * dispatcher-daemon/NetworkManagerDispatcher.c
21303 - Remove unused variables due to warnings
21304 - Fix some comments
21305 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21307 2004-07-06 Dan Williams <dcbw@redhat.com>
21309 * src/NetworkManager.c
21310 - Add IPv4 address update for active device during link state check
21311 - Don't allow wireless cards to be powered up when they are not the
21314 * src/NetworkManagerDbus.c
21315 src/NetworkManagerDbus.h
21316 - Add DBUS IPv4 address change signal
21317 - Add DBUS IPv4 address get method for devices
21319 * src/NetworkManagerDevice.c
21320 - Make setting the WEP key actually work
21321 - Move IP address get/set/update stuff here, per-device
21322 - Power down/bring down wireless device when deactivated
21323 - For scanning wireless devices, if first scan returned ENODATA, try again
21325 * src/NetworkManagerPolicy.c
21326 - Only set the WEP key for an allowed access point if there is one.
21327 We were setting it to be blank if one wasn't specified.
21329 * src/NetworkManagerUtils.h
21330 src/NetworkManagerUtils.c
21331 - Move the IP address stuff to NetworkManagerDevice.c
21333 * dispatcher-daemon/NetworkManagerDispatcher.c
21334 - Add device IPv4 address change notification stuff
21336 2004-07-05 Dan Williams <dcbw@redhat.com>
21338 * dispatcher-daemon/NetworkManagerDispatcher.c
21339 - A bit more descriptive state message
21340 - Don't segfault when reading directory
21342 * src/NetworkManager.h
21343 - Remove NMData desired_ap member, its now
21344 per-device rather than global
21346 * src/NetworkManager.c
21347 - Remove references to desired_ap
21348 - Move the allowed AP list refresh stuff into a thread
21350 * src/NetworkManagerDevice.c
21351 src/NetworkManagerDevice.h
21352 - Each wireless device now has a "best ap"
21353 - Make device activate/deactivate functions per-device
21354 - Make wireless scanning per-device
21355 - Add IPv4 address discover functions, stub IPv6 ones
21356 - Move ethernet address validation functions to NetworkManagerUtils.c
21357 - Add wireless access point accessor function
21358 - Get/Set functions for "best ap"
21360 * src/NetworkManagerPolicy.c
21361 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21362 - Deal with per-device "best ap" rather than data->desired_apa
21363 - Implement allowed access point worker thread
21364 - Add nm_policy_essid_is_allowed() function
21366 * src/NetworkManagerUtils.c
21367 src/NetworkManagerUtils.h
21368 - Add nm_ethernet_address_is_valid() function
21369 - Add IPv4/IPv6 address get functions
21371 * src/NetworkManagerWireless.c
21372 src/NetworkManagerWireless.h
21373 - Move scanning stuff into NetworkManagerDevice.c, per-device
21375 2004-06-29 Dan Williams <dcbw@redhat.com>
21377 * dispatcher-daemon/NetworkManagerDispatcher.c
21378 - Implement script callout functionality
21380 2004-06-24 Dan Williams <dcbw@redhat.com>
21384 - Flush device routes and ip addresses when added to the device list
21386 * NetworkManagerDbus.c
21388 - Add missing returns in the two signal functions
21390 * NetworkManagerPolicy.c
21391 - Spacing and variable cleanups
21393 2004-06-24 Dan Williams <dcbw@redhat.com>
21398 dispatcher-daemon/Makefile.am
21399 dispatcher-daemon/Makefile.in
21400 dispatcher-daemon/NetworkManagerDispatcher.c
21401 - Add a daemon that receives signals from NetworkManager
21402 and will (eventually) call scripts in /etc/somewhere
21403 when devices go up or down.
21407 - Flush device routes and ip addresses when added to the device list
21409 * NetworkManagerDbus.c
21411 - Add missing returns in the two signal functions
21413 * NetworkManagerPolicy.c
21414 - Spacing and variable cleanups
21415 - Rename nm_policy_switch_interface->nm_policy_switch_device
21416 - nm_policy_switch_device():
21417 Use kill (pid) instead of system ("kill <pid>")
21418 - nm_state_modification_monitor():
21419 Add wireless essid to output of debug statements
21420 Correct typo in device compare to switch or not (should be !=)
21421 Don't sleep after sending "no longer active" signal, was useless
21423 2004-06-24 Dan Williams <dcbw@redhat.com>