2008-10-18 Dan Williams <dcbw@redhat.com>
[NetworkManager.git] / ChangeLog
1 2008-10-18  Dan Williams  <dcbw@redhat.com>
2
3         * libnm-glib/nm-settings.c
4           libnm-glib/nm-settings.h
5                 - Rename the "get_secrets" virtual function "service_get_secrets" to
6                         clarify when it's used; NMExportedConnetion is a base-class for both
7                         the client and service side, which is sort of confusing, and
8                         get_secrets only makes sense on the service side.
9
10         * libnm-glib/nm-dbus-connection.c
11                 - (get_secrets): remove, unused, and clients need to do extra work to
12                         get secrets anyway since the call can block on the remote side
13
14         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
15           system-settings/plugins/keyfile/nm-keyfile-connection.c
16                 - Fix up for get_secrets -> service_get_secrets
17
18 2008-10-16  Dan Williams  <dcbw@redhat.com>
19
20         * src/nm-device-wifi.c
21                 - (constructor): correctly determine encryption capabilities
22
23 2008-10-15  Dan Williams  <dcbw@redhat.com>
24
25         * src/nm-device-wifi.c
26                 - (wireless_qual_to_percent): fix quality calculation in a fallback case
27                         (Johannes Berg)
28
29 2008-10-15  Dan Williams  <dcbw@redhat.com>
30
31         * src/NetworkManagerSystem.c
32                 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
33                         if the ip4_dest is in a smaller subnet contained within a subnet
34                         the machine is currently on, the destination is in the same subnet
35                 - (nm_system_device_set_ip4_route): move subnet checks to callers
36                 - (add_vpn_gateway_route): check if the VPN gateway is in the same
37                         subnet as the parent device, and if so, don't add the direct
38                         host route via the parent device's gateway (bgo #481620)
39                 - (nm_system_apply_ip4_config): check whether the route to be added
40                         is contained within a subnet the device is already on
41
42 2008-10-11  Dan Williams  <dcbw@redhat.com>
43
44         * include/NetworkManager.h
45           introspection/nm-device.xml
46           include/NetworkManagerVPN.h
47                 - Add a few more state reasons for the device deactivated state
48
49         * src/nm-device-interface.c
50           src/nm-device-interface.h
51                 - (nm_device_interface_deactivate): add a 'reason' argument
52
53         * src/nm-device.c
54           src/nm-device.h
55                 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
56                 - (nm_device_state_changed): pass the state change reason to
57                         nm_device_take_down()
58                 - (nm_device_set_managed): take a 'reason' argument, and pass it along
59                         to the state change function
60
61         * src/nm-manager.c
62           src/nm-manager.h
63                 - (remove_one_device, handle_unmanaged_devices, sync_devices,
64                    impl_manager_sleep): pass a reason code to nm_device_set_managed()
65                 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
66                         something reasonable along to VPN deactivation
67
68         * src/vpn-manager/nm-vpn-manager.c
69           src/vpn-manager/nm-vpn-manager.h
70                 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
71                         pass that along to nm_vpn_connection_disconnect()
72
73 2008-10-11  Dan Williams  <dcbw@redhat.com>
74
75         * src/nm-device-wifi.c
76                 - (can_scan): remove old madwifi hack for not scanning while connected
77
78 2008-10-11  Dan Williams  <dcbw@redhat.com>
79
80         Add support for VPN subnet gateways (bgo #549196)
81
82         * include/NetworkManager.h
83                 - Add key for internal VPN subnet gateway
84
85         * src/vpn-manager/nm-vpn-connection.c
86                 - (ip_address_to_string): return a const from a static buffer so we
87                         don't leak a lot of strings
88                 - (print_vpn_config): print internal VPN gateway as well
89                 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
90                         VPN service too
91                 - (nm_vpn_connection_get_ip4_internal_gateway): new function
92
93         * src/NetworkManagerSystem.c
94           src/NetworkManagerSystem.h
95                 - (nm_system_device_replace_default_ip4_route): split into two, one for
96                         VPN connections and one for normal devices
97                 - (replace_default_ip4_route): break out route stuff into its own function
98                 - (nm_system_replace_default_ip4_route_vpn,
99                    nm_system_replace_default_ip4_route): simplify by having two cases,
100                         one for VPNs and one for normal devices
101
102         * src/NetworkManagerPolicy.c
103                 - (update_routing_and_dns): simplify, use split default route replacement
104                         functions
105
106 2008-10-10  Dan Williams  <dcbw@redhat.com>
107
108         Rework default route handling to consolidate decisions in the policy,
109         and to take active VPN connections into account when changing the default
110         route (bgo #545912)
111
112         * src/NetworkManager.c
113                 - (main): pass the vpn_manager to the policy so it knows about active
114                         VPN connections; clean up the named manager which wasn't done before
115
116         * src/NetworkManagerPolicy.c
117           src/NetworkManagerPolicy.h
118                 - (nm_policy_new): get a clue about the vpn_manager
119                 - (update_default_route): remove, fold into update_routing_and_dns()
120                 - (update_routing_and_dns): handle active VPN connections too; an
121                         active VPN connection becomes the default route if it does not have
122                         server-specified or user-specified custom routes.  Otherwise, the
123                         best active device gets the default route
124                 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
125                    nm_policy_destroy): track VPN connection activation and deactivation
126                         and update the default route when appropriate
127
128         * src/NetworkManagerSystem.c
129           src/NetworkManagerSystem.h
130                 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
131                         in the VPN connection itself
132                 - (nm_system_vpn_device_set_from_ip4_config,
133                    nm_system_device_set_from_ip4_config): merge together to make
134                         nm_system_apply_ip4_config()
135                 - (add_vpn_gateway_route): add a route to the VPN's external gateway
136                         via the parent device
137                 - (nm_system_apply_ip4_config): simplify
138                 - (add_ip4_route_to_gateway): new function; add a direct route to the
139                         gateway if needed
140                 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
141                         route stuff out into add_ip4_route_to_gateway() for clarity
142
143         * src/nm-device.c
144                 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
145
146         * src/vpn-manager/nm-vpn-connection.c
147           src/vpn-manager/nm-vpn-connection.h
148                 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
149                    nm_vpn_connection_get_parent_device): add
150                 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
151                         device explicit
152                 - (connection_state_changed): update the named manager now that
153                         nm_system_vpn_device_unset_from_ip4_config() is gone; do something
154                         useful on errors
155
156         * src/vpn-manager/nm-vpn-manager.c
157           src/vpn-manager/nm-vpn-manager.h
158                 - Add a 'connection-activated' signal
159                 - (nm_vpn_manager_get_active_connections): new function; mainly for the
160                         policy to find out about active VPN connections
161
162 2008-10-10  Tambet Ingo  <tambet@gmail.com>
163
164         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
165         a daemon to prevent NM logging spew on console on startup and shutdown (due
166         to dependency loop between NM and syslog).
167
168 2008-10-10  Alexander Sack  <asac@ubuntu.com>
169
170         Implement managed mode. We bind devices configured in /etc/network/interfaces
171         to their connections by updating wired/wireless setting with the
172         mac address of the device.
173
174         * system-settings/plugins/ifupdown/plugin.c
175                 - (get_net_address_for_udi): implement function to retrieve MAC
176                         address of udi from hal in GByteArray format
177                 - (bind_device_to_connection): bind mac address of device to
178                         wired/wireless system connection
179                 - (hal_device_added_cb): call bind_device_to_connection for
180                         system connections with a matching interface.name
181                 - (hal_device_added_cb): ensure that all code paths
182                         properly free the "iface" string.
183
184 2008-10-10  Alexander Sack  <asac@ubuntu.com>
185
186         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
187         mode of the ifupdown system config plugin.
188
189         * system-settings/plugins/ifupdown/plugin.c
190                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
191                         private unmanage_well_known state field accordingly
192
193 2008-10-10  Alexander Sack  <asac@ubuntu.com>
194
195         Implement unmanaged mode that will prevent all devices in the
196         well_known_udis set from being touched by NetworkManager
197
198         * system-settings/plugins/ifupdown/plugin.c
199                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
200                         unmanage_well_known field used to turn on/off unmanaged
201                         mode
202                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
203                         signal when well_known_udis get added/removed
204                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
205                         if we are in unmanaged mode
206
207 2008-10-10  Alexander Sack  <asac@ubuntu.com>
208
209         Add support to track network devices that have a configuration
210         with a matching interface.name in /etc/network/interfaces
211
212         * system-settings/plugins/ifupdown/plugin.c
213                 - (typedef struct SCPluginIfupdownPrivate): add hash table
214                         to track |well_known_udis|
215                 - (get_iface_for_udi): helper function to get interface.name
216                         for a udi
217                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
218                         that add and remove devices to and from the well_known_udis
219                         set depending on whether their |interface.name| matches
220                         any interface definition in /etc/network/interfaces
221                 - (SCPluginIfupdown_init): connect callbacks from above with
222                         hal_mgr and setup well_known_udis hashtable
223                 - (GObject__dispose): destroy well_known_udis hashtable
224                 - (hal_device_added_cb2): implement wrapper callback with GFunc
225                         signature. user_data is supposed to be a triple (hal_mgr,
226                         config and devtype)
227                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
228                         startup and call hal_device_added_cb2
229
230 2008-10-10  Alexander Sack  <asac@ubuntu.com>
231
232         Remove implementation for not used NMSystemConfigInterface callback functions
233         in ifupdown plugin
234
235         * system-settings/plugins/ifupdown/plugin.c
236                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
237                 - (SCPluginIfupdown_connection_added): removed
238
239 2008-10-08  Dan Williams  <dcbw@redhat.com>
240
241         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
242
243         * src/NetworkManagerUtils.c
244                 - (nm_utils_call_dispatcher): add a 'hostname' action
245
246         * src/NetworkManagerPolicy.c
247                 - (set_system_hostname): dispatch hostname changes
248
249         * callouts/nm-dispatcher-action.c
250                 - (nm_dispatcher_action): handle 'hostname' actions
251
252 2008-10-08  Dan Williams  <dcbw@redhat.com>
253
254         * src/NetworkManagerSystem.c
255                 - (find_route): ref the route so it doesn't get destroyed when the cache
256                         is cleared
257                 - (nm_system_device_set_priority): unref the route here after it's done
258                         being used
259
260 2008-10-08  Dan Williams  <dcbw@redhat.com>
261
262         * src/nm-serial-device.c
263                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
264
265 2008-10-08  Tambet Ingo  <tambet@gmail.com>
266
267         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
268         connection with new settings before saving it.
269
270 2008-10-06  Dan Williams  <dcbw@redhat.com>
271
272         * src/nm-ip4-config.c
273           src/nm-ip4-config.h
274                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
275
276         * src/nm-device-interface.c
277                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
278                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
279                         by using '/' for the object path
280
281         * src/nm-device.c
282                 - (src/nm-device.c): marshal missing/unexported ip4-config through
283                         dbus as '/' since dbus-glib can't handle NULL objects nor can
284                         dbus handle NULL object paths
285
286 2008-10-03  Alexander Sack  <asac@ubuntu.com>
287
288         Implement system hostname support for debian/ubuntu
289
290         * system-settings/plugins/ifupdown/plugin.c
291                 - (GObject__get_property): extend announced capabilities; add
292                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
293                 - (GObject__set_property,write_system_hostname): implement
294                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
295                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
296                    update_system_hostname, get_hostname):
297                         implement hostname property that watches and
298                         parses /etc/hostname
299
300 2008-10-03  Alexander Sack  <asac@ubuntu.com>
301
302         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
303           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
304           system-settings/plugins/ifcfg-fedora/Makefile.am
305           system-settings/src/nm-inotify-helper.c
306           system-settings/src/nm-inotify-helper.h
307           src/Makefile.am
308                 - Move ifcfg-fedora inotify helpers to the system settings service so
309                         they are available to all plugins
310
311 2008-10-03  Alexander Sack  <asac@ubuntu.com>
312
313         Implement support for wep-tx-keyidx in ifupdown system
314         config plugin.
315
316         * system-settings/plugins/ifupdown/parser.c
317                 - (update_wireless_security_setting_from_if_block): introduce
318                         free_type_mapping func table; rename a few local
319                         variables to improve readability; add wpa security mapping
320                         for wep-tx-keyidx property
321                 - (string_to_gpointerint): new function used for the auto_type_mapping
322                         of new wep-tx-keyidx property
323                 - (slist_free_all): free func used for mapped slist types
324
325 2008-10-03  Alexander Sack  <asac@ubuntu.com>
326
327         * system-settings/src/main.c:
328                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
329                         always used as the hash key; fixes a crash when removing wired
330                         devices
331
332 2008-10-02  Dan Williams  <dcbw@redhat.com>
333
334         * src/nm-gsm-device.c
335                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
336                         pass the required GSM secret along via user_data rather than keeping
337                         it around in the private data where it sometimes didn't get cleared
338                 - (real_get_ppp_name): implement using the GSM username
339
340 2008-10-02  Dan Williams  <dcbw@redhat.com>
341
342         * src/ppp-manager/nm-ppp-manager.c
343           src/ppp-manager/nm-ppp-manager.h
344                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
345                         the settings daemon for completely new ones
346                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
347                         local PPP peer name; allow PPP debuging by launching NM with
348                         the environment variable NM_PPP_DEBUG defined
349                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
350                         create_pppd_cmd_line()
351
352         * src/nm-serial-device.c
353           src/nm-serial-device.h
354                 - New 'get_ppp_name' function for subclasses to implement to return the
355                         local PPP peer name
356                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
357                         and pass that name to the PPP manager
358
359         * src/nm-device-ethernet.c
360                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
361                         the local peer name
362
363         * src/nm-cdma-device.c
364                 - (real_get_ppp_name): implement using the CDMA username
365
366 2008-10-02  Dan Williams  <dcbw@redhat.com>
367
368         Patch from Alexander Sack <asac ubuntu com>
369
370         * system-settings/plugins/ifupdown/parser.c
371                 - Implement more graceful ip4 config parsing for cases where
372                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
373                   by using default values
374
375 2008-10-02  Dan Williams  <dcbw@redhat.com>
376
377         * src/NetworkManagerPolicy.c
378                 - (device_state_changed): when marking a connection invalid, clear its
379                         secrets too so that fresh secrets get requested the next time
380
381 2008-10-01  Dan Williams  <dcbw@redhat.com>
382
383         * system-settings/src/dbus-settings.c
384                 - (nm_sysconfig_settings_init): cache system hostname on startup as
385                         a fallback if no plugin provides a hostname
386                 - (get_property): fall back to cached hostname if no plugin provides
387                         a hostname
388
389 2008-10-01  Dan Williams  <dcbw@redhat.com>
390
391         Fix setting value comparison issue that caused some settings to look the
392         same when they were really different (rh #464417)
393
394         * libnm-util/nm-param-spec-specialized.c
395                 - (type_is_fixed_size): return fundamental size of the fixed type too
396                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
397                         in the comparison so that the _entire_ fixed type collection gets
398                         compared rather than just the first 'len1' bytes
399
400 2008-09-30  Dan Williams  <dcbw@redhat.com>
401
402         * src/NetworkManagerPolicy.c
403                 - (lookup_thread_worker): don't store the idle handler ID becuase the
404                         idle handler could have already run and freed the LookupThread
405                         structure
406
407 2008-09-30  Tambet Ingo  <tambet@gmail.com>
408
409         * src/nm-device.c (nm_device_get_priority): Implement.
410         (nm_device_set_ip4_config): Send the device priority to system ip4 
411         config setter.
412
413         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
414         Add priority argument and if it's >= 0, set the priority of the network
415         route added automatically by netlink (or kernel?).
416         (nm_system_device_set_priority): Implement.
417
418         * src/NetworkManagerPolicy.c (get_best_device): Use 
419         nm_device_get_priority() instead of home-grown version. Revert the
420         meaning, best priority is the lowest one.
421
422 2008-09-29  Dan Williams  <dcbw@redhat.com>
423
424         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
425         when it returns EAGAIN (rh #362421)
426
427         * src/nm-device-wifi.c
428                 - (wireless_get_range): try GIWRANGE a few times until the card responds
429                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
430
431 2008-09-28  Dan Williams  <dcbw@redhat.com>
432
433         * src/nm-serial-device.c
434           src/nm-serial-device.h
435                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
436                         cleaned at the right times when subclasses close the serial port too
437                 - (nm_serial_device_send_command): use a default send delay; don't
438                         spin forever on EAGAIN
439                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
440                         remove, no longer used
441                 - (find_response): return the matched response if any
442                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
443                         while doing so
444                 - (wait_for_reply_done): pass the matched response to the callback
445                 - (wait_for_reply_got_data): save the matched response; simplify timeout
446                         handling
447                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
448                         const since they never get modified
449                 - (cleanup_device): split out common cleanup stuff to a new function
450                 - (real_deactivate_quickly, finalize): use cleanup_device()
451
452         * src/nm-gsm-device.c
453                 - (modem_get_reply): remove, unused
454                 - (set_apn): give the card a bit more time to respond
455                 - (manual_registration_again, schedule_manual_registration_again,
456                    manual_registration_response, manual_registration): handle manual
457                         registration timeouts better by retrying registration a few times
458                         because cards are a bit slow after CFUN=1
459                 - (automatic_registration_get_network, get_network_response): use
460                         modem_wait_for_reply() because it interacts better with the serial
461                         buffer and does more intelligent matching; need to wait for 'OK'
462                         rather than just matching terminators
463                 - (schedule_automatic_registration_again,
464                    automatic_registration_response, automatic_registration): retry
465                         registration a few times on timeout or "searching" because cards
466                         take a bit to find a network after being powered up with CFUN=1
467                 - (power_up_response, power_up, init_full_done, enter_pin,
468                    check_pin_done): power up the card with CFUN=1 before trying to
469                         register with the network
470                 - (init_modem_full, init_modem): use more standard 3G init strings
471
472         * src/nm-hso-gsm-device.c
473                 - (modem_get_reply): remove, unused
474                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
475                         modem_wait_for_reply() to match actual responses instead of single
476                         termination characters; it doesn't leave stuff in the serial buffer
477                         that might confuse later calls
478                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
479                         to ensure that the call is really disconnected and not leave extra
480                         stuff in the serial buffer
481
482         * src/nm-cdma-device.c
483                 - (power_up_response, power_up, init_done): try Sierra-style modem
484                         power up before attempting to connect
485
486 2008-09-27  Dan Williams  <dcbw@redhat.com>
487
488         * libnm-util/nm-setting-gsm.c
489                 - (verify): verify GSM network ID
490
491 2008-09-25  Dan Williams  <dcbw@redhat.com>
492
493         * libnm-util/nm-setting-gsm.c
494           libnm-util/nm-setting-gsm.h
495                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
496                         technology terms (bgo #551361)
497
498 2008-09-25  Dan Williams  <dcbw@redhat.com>
499
500         Fix bgo #549401 (inspired by patch from Alexander Sack)
501
502         * src/nm-device-ethernet.c
503                 - (finish_supplicant_task): clean up scheduled tasks and free memory
504                 - (remove_supplicant_interface_error_handler): remove the supplicant
505                         error idle callback too
506                 - (supplicant_interface_release): rename from supplicant_interface_clean
507                         to match nm-device-wifi.c; clean up supplicant interface-related
508                         state tasks when the supplicant interface is disposed of
509                 - (schedule_state_handler): add scheduled tasks to a list so they can
510                         be cleaned up later
511                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
512                    supplicant_iface_connection_state_cb_handler): use
513                         finish_supplicant_task() to clean up each completed task
514                 - (supplicant_iface_connection_error_cb_handler,
515                    supplicant_connection_timeout_cb): clear source id when the task is
516                         complete
517                 - (supplicant_iface_connection_error_cb): save scheduled task id for
518                         later cleanup
519                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
520                         tasks
521
522         * src/nm-device-wifi.c
523                 - (finish_supplicant_task): clean up scheduled tasks and free memory
524                 - (remove_supplicant_interface_error_handler): remove the supplicant
525                         error idle callback too
526                 - (supplicant_interface_release): clean up supplicant interface-related
527                         state tasks when the supplicant interface is disposed of
528                 - (schedule_state_handler): add scheduled tasks to a list so they can
529                         be cleaned up later
530                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
531                    supplicant_iface_connection_state_cb_handler): use
532                         finish_supplicant_task() to clean up each completed task
533                 - (supplicant_iface_connection_error_cb_handler): clear source id when
534                         the task is complete
535                 - (supplicant_iface_connection_error_cb): save scheduled task id for
536                         later cleanup
537                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
538
539 2008-09-24  Tambet Ingo  <tambet@gmail.com>
540
541         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
542         method and get/set hostname property.
543
544 2008-09-24  Tambet Ingo  <tambet@gmail.com>
545
546         * src/supplicant-manager/nm-supplicant-interface.c
547         (nm_supplicant_interface_disconnect): Don't increment the reference 
548         count when disconnecting. The problem is on shutdown, when the replies
549         to these commands do not arrive before NM exits, resulting on never
550         calling supplicant interface's dispose(), which removes the interface
551         from supplicant.
552
553 2008-09-24  Tambet Ingo  <tambet@gmail.com>
554
555         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
556         all the public function arguments.
557
558 2008-09-22  Tambet Ingo  <tambet@gmail.com>
559
560         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
561         "Failure" signal from VPN plugins, store the failure reason, and
562         use it when the state is changed to failure.
563
564         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
565         description.
566
567         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
568         reason to the end of the list to not break the API.
569         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
570         so it can be shared by plugins and daemon.
571
572 2008-09-18  Dan Williams  <dcbw@redhat.com>
573
574         Patch from Alexander Sack <asac@ubuntu.com>
575
576         * configure.in
577           system-settings/plugins/Makefile.am
578           system-settings/plugins/ifupdown/Makefile.am
579           system-settings/plugins/ifupdown/interface_parser.c
580           system-settings/plugins/ifupdown/interface_parser.h
581           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
582           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
583           system-settings/plugins/ifupdown/parser.c
584           system-settings/plugins/ifupdown/parser.h
585           system-settings/plugins/ifupdown/plugin.c
586           system-settings/plugins/ifupdown/plugin.h
587                 - Implement a Debian/Ubuntu legacy network configuration plugin
588                         (gnome.org #551941)
589
590 2008-09-18  Dan Williams  <dcbw@redhat.com>
591
592         Implement support for honoring configured and automatic hostnames, and for
593         setting the configured hostname.
594
595         * introspection/nm-ip4-config.xml
596           src/nm-ip4-config.c
597           src/nm-ip4-config.h
598           src/dhcp-manager/nm-dhcp-manager.c
599                 - Remove useless hostname property; it's not really part of the IPv4
600                         config
601
602         * introspection/nm-settings-system.xml
603           libnm-glib/nm-dbus-settings-system.c
604           libnm-glib/nm-dbus-settings-system.h
605                 - Add SetHostname() call to system settings D-Bus interface
606                 - Add Hostname property to system settings D-Bus interface
607                 - (nm_dbus_settings_system_save_hostname,
608                    nm_dbus_settings_system_get_hostname): implement
609
610         * src/nm-device.c
611           src/nm-device.h
612                 - (nm_device_get_dhcp4_config): implement
613
614         * src/nm-manager.c
615           src/nm-manager.h
616                 - Fetch and track system settings service hostname changes, and proxy
617                         the changes via a GObject property of the manager
618
619         * system-settings/src/nm-system-config-interface.c
620           system-settings/src/nm-system-config-interface.h
621                 - Replace nm_system_config_interface_supports_add() with a capabilities
622                         bitfield
623
624         * system-settings/src/nm-system-config-error.c
625           system-settings/src/nm-system-config-error.h
626                 - Add additional errors
627
628         * system-settings/src/dbus-settings.c
629           system-settings/src/dbus-settings.h
630                 - (get_property, nm_sysconfig_settings_class_init): add hostname
631                         property; first plugin returning a hostname wins
632                 - (impl_settings_add_connection): use plugin capabilities instead of
633                         nm_system_config_interface_supports_add()
634                 - (impl_settings_save_hostname): implement hostname saving
635
636         * src/NetworkManagerPolicy.c
637                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
638                    lookup_thread_die): implement an asynchronous hostname lookup thread
639                         which given an IPv4 address tries to look up the hostname for that
640                         address with reverse DNS
641                 - (get_best_device): split out best device code from
642                         update_routing_and_dns()
643                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
644                         to preserve the 127.0.0.1 reverse mapping that so many things require
645                 - (set_system_hostname): set a given hostname
646                 - (update_system_hostname): implement hostname policy; a configured
647                         hostname (from the system settings service) is used if available,
648                         otherwise an automatically determined hostname from DHCP, VPN, etc.
649                         If there was no automatically determined hostname, reverse DNS of
650                         the best device's IP address will be used, and as a last resort the
651                         hostname 'localhost.localdomain' is set.
652                 - (update_routing_and_dns): use get_best_device(); update the system
653                         hostname when the network config changes
654                 - (hostname_changed): update system hostname if the system settings
655                         service signals a hostname change
656                 - (nm_policy_new): list for system settings service hostname changes
657                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
658                         gets told to die
659
660         * system-settings/plugins/keyfile/plugin.c
661           system-settings/plugins/ifcfg-suse/plugin.c
662                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
663                         capabilities properties
664
665         * system-settings/plugins/ifcfg-fedora/shvar.c
666                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
667                         writes out /etc/sysconfig/network now
668
669         * system-settings/plugins/ifcfg-fedora/plugin.c
670                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
671                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
672                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
673                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
674                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
675                         hostname get/set and capabilities get
676
677 2008-09-18  Dan Williams  <dcbw@redhat.com>
678
679         * libnm-util/nm-setting-wireless.c
680                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
681                         group ciphers if the wireless-security setting explicitly specified
682                         them, effectively making the default be "all ciphers"  (idea from
683                         Alexander Sack)
684
685 2008-09-15  Dan Williams  <dcbw@redhat.com>
686
687         Patch from Alexander Sack <asac@ubuntu.com>
688
689         * src/named-manager/nm-named-manager.c
690                 - (dispatch_resolvconf): respect resolvconf exit code
691
692 2008-09-12  Tambet Ingo  <tambet@gmail.com>
693
694         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
695         again. Add some debugging.
696
697 2008-09-11  Dan Williams  <dcbw@redhat.com>
698
699         * system-settings/plugins/keyfile/plugin.c
700                 - (update_connection_settings): update connection manually, since
701                         nm_exported_connection_update() does authentication
702                 - (dir_changed): update_connection_settings() doesn't need to return
703                         an error
704
705 2008-09-09  Dan Williams  <dcbw@redhat.com>
706
707         * libnm-glib/nm-vpn-plugin-ui-interface.c
708           libnm-glib/nm-vpn-plugin-ui-interface.h
709           libnm-glib/libnm_glib_vpn.ver
710                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
711                         should clean up resources related to the connection (like keyring
712                         secrets)
713                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
714                         should save user-scope secrets (like to the keyring)
715
716 2008-09-08  Dan Williams  <dcbw@redhat.com>
717
718         Patch from Alexander Sack <asac@ubuntu.com>
719
720         * libnm-util/crypto_gnutls.c
721           libnm-util/crypto_nss.c
722                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
723
724         * libnm-util/nm-utils.c
725           libnm-util/nm-utils.h
726           libnm-util/libnm-util.ver
727                 - (nm_utils_init): initialize libnm-util
728                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
729
730         * libnm-util/nm-setting-8021x.c
731                 - (nm_setting_802_1x_class_init): init libnm-util when needed
732
733 2008-09-05  Dan Williams  <dcbw@redhat.com>
734
735         Patch from Roy Marples <roy@marples.name> and others
736
737         * configure.in
738           src/named-manager/nm-named-manager.c
739                 - Add support for resolvconf; use --with-resolvconf at configure time
740                         to enable it
741
742 2008-09-05  Dan Williams  <dcbw@redhat.com>
743
744         * libnm-util/crypto_nss.c
745           libnm-util/crypto_gnutls.c
746           libnm-util/crypto.h
747                 - (crypto_init): return error when init fails
748
749 2008-09-05  Dan Williams  <dcbw@redhat.com>
750
751         * libnm-glib/nm-device-wifi.c
752                 - (access_point_removed_proxy): clean up the active access point too
753                         just in case the active ap changed signal didn't come through yet
754                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
755
756 2008-09-05  Dan Williams  <dcbw@redhat.com>
757
758         * libnm-glib/nm-client.c
759                 - (constructor): get initial state after we know whether NM is running
760                         or not
761
762 2008-09-05  Dan Williams  <dcbw@redhat.com>
763
764         * libnm-glib/nm-ip4-config.c
765           libnm-glib/nm-dhcp4-config.c
766                 - (finalize): clean up the DBusGProxy
767
768 2008-09-04  Dan Williams  <dcbw@redhat.com>
769
770         * src/nm-ip4-config.c
771           src/nm-ip4-config.h
772                 - (nm_ip4_config_new): don't export over D-Bus here
773                 - (nm_ip4_config_export): new function; export the config over D-Bus
774                 - (nm_ip4_config_is_exported): new function
775
776         * src/nm-device.c
777                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
778                         objects by balancing the IP4Config constructor; the device holds
779                         a reference to the IP4Config already
780                 - (nm_device_set_ip4_config): export the IP4Config when needed
781
782 2008-09-04  Dan Williams  <dcbw@redhat.com>
783
784         * src/supplicant-manager/nm-supplicant-settings-verify.c
785                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
786
787 2008-09-04  Dan Williams  <dcbw@redhat.com>
788
789         * libnm-util/nm-setting-vpn.c
790           libnm-util/nm-setting-vpn.h
791                 - Split VPN secrets from VPN data so that settings services can actually
792                         figure out that they are secrets and store them accordingly
793
794         * system-settings/plugins/keyfile/nm-keyfile-connection.c
795           system-settings/plugins/keyfile/reader.c
796           system-settings/plugins/keyfile/reader.h
797           system-settings/plugins/keyfile/writer.c
798                 - Store VPN secrets separately from VPN data so that they can be fetched
799                         on demand
800                 - Implement the get_secrets() call so that (a) secrets don't leak out
801                         to unprivileged callers, and (b) secrets can be sent to privileged
802                         callers when needed
803
804         * vpn-daemons/vpnc/src/nm-vpnc-service.c
805                 - Handle split VPN secrets
806
807 2008-08-27  Dan Williams  <dcbw@redhat.com>
808
809         * system-settings/plugins/ifcfg-fedora/reader.c
810                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
811
812 2008-08-27  Dan Williams  <dcbw@redhat.com>
813
814         Ensure zombie children get cleaned up.  To get notifications when children
815         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
816         that requires calling waitpid() yourself if you've removed the child watch
817         handler before the process has actually died, which NM needs to do in a few
818         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
819         cleans up after the child when required.  Should fix problems trying to
820         activate mobile broadband connections after a previous failure.
821
822         * src/dhcp-manager/nm-dhcp-dhclient.c
823           src/dhcp-manager/nm-dhcp-dhcpcd.c
824                 - Use G_SPAWN_DO_NOT_REAP_CHILD
825
826         * src/dhcp-manager/nm-dhcp-manager.c
827                 - (nm_dhcp_device_destroy): ensure child is cleaned up
828                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
829                         block on child quitting, since the non-blocking functionality was
830                         never actually used
831
832         * src/dnsmasq-manager/nm-dnsmasq-manager.c
833                 - (dm_watch_cb): child is already reaped here
834                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
835
836         * src/nm-device.c
837                 - (aipd_cleanup): block until child is dead
838
839         * src/named-manager/nm-named-manager.c
840                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
841                         event bothering to watch the child
842
843         * src/ppp-manager/nm-ppp-manager.c
844                 - (ppp_watch_cb): child is already reaped here
845                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
846
847         * src/vpn-manager/nm-vpn-service.c
848                 - (vpn_service_watch_cb): child is already reaped here
849                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
850                         status of the child is actually tracked
851                 - (ensure_killed, finalize): block until child is dead
852
853 2008-08-26  Dan Williams  <dcbw@redhat.com>
854
855         * system-settings/plugins/keyfile/nm-keyfile-connection.c
856                 - (update): Update filename of the connection if the connection id
857                         was changed
858
859         * system-settings/plugins/keyfile/plugin.c
860                 - (dir_changed): first pass at handling connection renames correctly
861
862         * system-settings/plugins/keyfile/writer.c
863           system-settings/plugins/keyfile/writer.h
864                 - (write_connection): replace '/' with '*' when writing out the filename
865                         from the connection id
866
867 2008-08-26  Dan Williams  <dcbw@redhat.com>
868
869         Add connection UUIDs, since connection names can be changed, and since
870         old-style connection IDs could change over the life of the connection.  The
871         UUID should be assigned at connection creation time, be stable for a given
872         connection, and should be unique among all connections for a given settings
873         service.
874
875         * configure.in
876           libnm-util/Makefile.am
877                 - Require libuuid
878
879         * introspection/nm-exported-connection.xml
880                 - Remove "GetID" method
881
882         * libnm-glib/nm-dbus-connection.c
883           libnm-glib/nm-settings.c
884           libnm-glib/nm-settings.h
885                 - Remove id-related stuff
886
887         * libnm-util/nm-utils.c
888           libnm-util/nm-utils.h
889           libnm-util/libnm-util.ver
890                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
891                         utility functions to generate UUIDs
892
893         * libnm-util/nm-setting-connection.c
894           libnm-util/nm-setting-connection.h
895                 - Add 'uuid' member to the connection setting
896                 - (verify): require valid 'uuid' for a valid connection
897
898         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
899           system-settings/plugins/ifcfg-fedora/reader.c
900           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
901           system-settings/plugins/ifcfg-suse/parser.c
902           system-settings/plugins/keyfile/nm-keyfile-connection.c
903           system-settings/src/main.c
904                 - Remove id-related stuff
905                 - Give connections UUIDs where needed
906
907 2008-08-25  Dan Williams  <dcbw@redhat.com>
908
909         * libnm-util/crypto_gnutls.c
910           libnm-util/crypto_nss.c
911                 - (crypto_init, crypto_deinit): refcount init/deinit
912                 - (crypto_md5_hash): allow NULL salt
913
914 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
915
916         * libnm-glib/Makefile.am
917           libnm-util/Makefile.am
918           libnm-glib/libnm_glib.ver
919           libnm-glib/libnm_glib_vpn.ver
920           libnm-util/libnm-util.ver
921                 - Use linker version scripts to control the list of exported 
922                 symbols. List each exported symbol explicitely.
923         * libnm-util/Makefile.am
924                 - Fix compilation of the test-crypto binary. The crypto
925                 functions are no longer part of the libnm-util API. Add 
926                 crypto_*.c to test_crypto_SOURCES and link against the correct
927                 crypto libraries.
928
929 2008-08-19  Dan Williams  <dcbw@redhat.com>
930
931         * configure.in
932           test/Makefile.am
933                 - Don't build test/test-common
934                 - Remove unused stuff
935
936         * test/nm-set-fallback
937           test/nmtestdevices.c
938           test/test-common/.cvsignore
939           test/test-common/Makefile.am
940           test/test-common/test-common.c
941           test/test-common/test-common.h
942                 - delete
943
944 2008-08-18  Dan Williams  <dcbw@redhat.com>
945
946         * libnm-util/nm-utils.c
947           libnm-util/nm-utils.h
948                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
949                         export anything that needs to be converted with this function
950
951         * src/dhcp-manager/nm-dhcp-manager.c
952                 - (garray_to_string): convert a byte array to a UTF-8 string with
953                         minimal validation; the DHCP client sends it in ASCII anyway
954                 - (get_option, copy_option): use garray_to_string()
955
956 2008-08-18  Dan Williams  <dcbw@redhat.com>
957
958         * include/NetworkManager.h
959           introspection/nm-device.xml
960                 - Add a "missing firmware" device state reason
961
962         * src/NetworkManagerSystem.c
963           src/NetworkManagerSystem.h
964                 - (nm_system_device_set_up_down): add a no_firmware argument
965                 - (nm_system_device_set_up_down_with_iface): if the result of setting
966                         IFF_UP is ENOENT, that almost always means missing firmware
967
968         * src/backends/NetworkManagerGeneric.c
969           src/nm-device-ethernet.c
970           src/nm-device-private.h
971           src/nm-device-wifi.c
972           src/nm-device.c
973           src/nm-device.h
974           src/nm-hso-gsm-device.c
975           src/vpn-manager/nm-vpn-connection.c
976                 - Pass no_firmware along; check it where appropriate
977
978 2008-08-18  Dan Williams  <dcbw@redhat.com>
979
980         Patch from Robert Buchholz <rbu@gentoo.org>
981
982         * autogen.sh
983           configure.in
984                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
985                         1003.1-1988, allowing for file names longer than 99 characters
986
987 2008-08-17  Dan Williams  <dcbw@redhat.com>
988
989         * include/NetworkManager.h
990           introspection/nm-device.xml
991           src/nm-gsm-device.c
992                 - Finer-grained GSM registration failure error codes
993
994 2008-08-17  Dan Williams  <dcbw@redhat.com>
995
996         * callouts/Makefile.am
997           src/Makefile.am
998                 - Move dispatcher directory creation to callouts/Makefile.am
999
1000         * system-settings/plugins/keyfile/Makefile.am
1001                 - Create keyfile connections directory in DESTDIR (bgo #546833)
1002
1003 2008-08-15  Dan Williams  <dcbw@redhat.com>
1004
1005         Do connection sharing in a cleaner manner; all required iptables rules
1006         are now stored in the activation request and pertain only to the device
1007         which is being shared to other computers. (rh #458625)
1008
1009         * src/nm-activation-request.c
1010           src/nm-activation-request.h
1011                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1012                         the activation request which will get torn down automatically when
1013                         the activation request dies
1014                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1015                         is started, and tear them down when sharing is stopped
1016
1017         * src/nm-device.c
1018                 - (start_sharing): start up sharing by doing the required iptables magic
1019                 - (share_init): poke the right bits of the kernel and load the right
1020                         modules for NAT
1021                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1022                         connection if it's a 'shared' connection
1023
1024         * src/NetworkManagerPolicy.c
1025                 - Remove all sharing stuff; done in the device code itself
1026
1027 2008-08-15  Dan Williams  <dcbw@redhat.com>
1028
1029         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1030                 - (create_dm_cmd_line): send the right router address
1031
1032 2008-08-15  Dan Williams  <dcbw@redhat.com>
1033
1034         * src/ppp-manager/nm-ppp-manager.c
1035                 - (pppd_timed_out): ensure timeouts fail the connection
1036
1037 2008-08-14  Dan Williams  <dcbw@redhat.com>
1038
1039         * src/nm-properties-changed-signal.c
1040           src/nm-properties-changed-signal.h
1041                 - Add a property spec flag for "don't export this property" in
1042                         property changed signals
1043
1044         * src/nm-hso-gsm-device.c
1045           src/nm-gsm-device.c
1046           src/nm-cdma-device.c
1047                 - Don't export monitor interface or netdev interface properties
1048
1049 2008-08-14  Dan Williams  <dcbw@redhat.com>
1050
1051         * src/NetworkManagerPolicy.c
1052                 - (update_routing_and_dns): 'hso' devices can be default even if they
1053                         don't have a gateway
1054
1055 2008-08-14  Dan Williams  <dcbw@redhat.com>
1056
1057         * src/nm-device.c
1058                 - (nm_device_deactivate_quickly): tear down activation request after
1059                         calling device-specific deactivation
1060
1061         * src/nm-hso-gsm-device.c
1062                 - (real_deactivate_quickly): terminate connection when deactivating
1063
1064 2008-08-14  Dan Williams  <dcbw@redhat.com>
1065
1066         * src/nm-activation-request.h
1067                 - Add HSO secrets caller
1068
1069         * src/nm-gsm-device.c
1070           src/nm-gsm-device.h
1071                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1072                         something to the callback function
1073                 - (set_apn, set_apn_done): call class dial function, not a static one
1074                 - (nm_gsm_device_class_init): add a class 'dial' function
1075
1076         * src/nm-hal-manager.c
1077                 - (get_hso_netdev): find the hso-driven hardware's net device
1078                 - (modem_device_creator): recognize hso-driven hardware and create the
1079                         right type of device object for it
1080
1081         * src/Makefile.am
1082           src/nm-hso-gsm-device.c
1083           src/nm-hso-gsm-device.h
1084                 - Implement support for devices driven by the 'hso' driver as a subclass
1085                         of NMGsmDevice
1086
1087 2008-08-14  Dan Williams  <dcbw@redhat.com>
1088
1089         * src/NetworkManagerSystem.c
1090                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1091                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1092                         success if the operation really was successful
1093
1094 2008-08-14  Dan Williams  <dcbw@redhat.com>
1095
1096         * src/nm-netlink-monitor.c
1097           src/nm-netlink-monitor.h
1098           src/nm-device-ethernet.c
1099                 - (nm_netlink_monitor_request_status): return an error on failure
1100                 - (constructor): don't segfault on missing error
1101
1102 2008-08-13  Dan Williams  <dcbw@redhat.com>
1103
1104         * callouts/nm-dispatcher-action.c
1105                 - Add IP4 config info to script environment
1106
1107 2008-08-12  Dan Williams  <dcbw@redhat.com>
1108
1109         * src/nm-device.c
1110                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1111                         that want to use DHCP hostnames should use dispatcher scripts
1112                         for that
1113
1114         * src/NetworkManagerSystem.h
1115           src/backends/NetworkManagerArch.c
1116           src/backends/NetworkManagerDebian.c
1117           src/backends/NetworkManagerFrugalware.c
1118           src/backends/NetworkManagerGeneric.c
1119           src/backends/NetworkManagerGeneric.h
1120           src/backends/NetworkManagerGentoo.c
1121           src/backends/NetworkManagerMandriva.c
1122           src/backends/NetworkManagerPaldo.c
1123           src/backends/NetworkManagerRedHat.c
1124           src/backends/NetworkManagerSlackware.c
1125           src/backends/NetworkManagerSuSE.c
1126                 - Remove nm_system_set_hostname(), no longer used
1127           
1128         * src/backends/Makefile.am
1129           src/backends/shvar.c
1130           src/backends/shvar.h
1131                 - Remove shvar.*; no longer used
1132
1133 2008-08-12  Dan Williams  <dcbw@redhat.com>
1134
1135         Revert most of the 'hostname' patch.  Too much stuff still breaks when
1136         hostname is updated at runtime.  Distros or users who want hostname updates
1137         can use dispatcher scripts to update the hostname if they need it.
1138
1139 2008-08-12  Dan Williams  <dcbw@redhat.com>
1140
1141         * introspection/nm-settings-system.xml
1142           system-settings/src/dbus-settings.c
1143           system-settings/src/dbus-settings.h
1144                 - Add a 'Hostname' property (rw) which represents the configured
1145                         hostname and domain of the system, if any
1146
1147         * system-settings/src/nm-system-config-error.c
1148           system-settings/src/nm-system-config-error.h
1149           system-settings/src/nm-system-config-interface.c
1150           system-settings/src/nm-system-config-interface.h
1151                 - Add a 'hostname' property to the plugin interface
1152                 - Add a method to send updated hostname to plugins to save in their
1153                         backing configuration store
1154
1155         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1156           system-settings/plugins/keyfile/plugin.c
1157           system-settings/plugins/keyfile/writer.c
1158           system-settings/plugins/keyfile/writer.h
1159           system-settings/plugins/ifcfg-suse/plugin.c
1160                 - Add minimal hostname support
1161
1162         * system-settings/plugins/ifcfg-fedora/plugin.c
1163                 - Add support for updating system hostname in /etc/sysconfig/network
1164
1165 2008-08-12  Dan Williams  <dcbw@redhat.com>
1166
1167         * system-settings/plugins/ifcfg-fedora/shvar.c
1168           system-settings/plugins/ifcfg-fedora/shvar.c
1169                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1170
1171 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1172
1173         * Makefile.am: Fix distcheck.
1174
1175 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1176
1177         * libnm-glib/*.c. Document some more.
1178
1179 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1180
1181         Start documenting libnm-glib public API using gtk-doc.
1182
1183         * libnm-glib/nm-serial-device.c: 
1184         * libnm-glib/nm-object.c: 
1185         * libnm-glib/nm-gsm-device.c: 
1186         * libnm-glib/nm-device.c: 
1187         * libnm-glib/nm-device-wifi.c: 
1188         * libnm-glib/nm-device-ethernet.c: 
1189         * libnm-glib/nm-client.c: 
1190         * libnm-glib/nm-cdma-device.c: Document the public API.
1191
1192         * docs/libnm-glib/libnm-glib.types: Implement.
1193
1194         * docs/libnm-glib/Makefile.am: Implement.
1195
1196         * autogen.sh: 
1197         * configure.in: 
1198         * Makefile.am: Add gtk-doc support.
1199
1200 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1201
1202         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1203
1204         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1205         the composite result of all the IP4 configurations and call a distro
1206         specific update_resolv_conf().
1207         (update_resolv_conf): Implement one for directly writing to 
1208         /etc/resolv.conf and one for opensuse to call netconfig.
1209
1210 2008-08-11  Dan Williams  <dcbw@redhat.com>
1211
1212         * src/ppp-manager/nm-ppp-manager.c
1213                 - (impl_ppp_manager_need_secrets): pass interface as required
1214
1215 2008-08-11  Dan Williams  <dcbw@redhat.com>
1216
1217         Merge the vpn-properties setting with the vpn setting since it was pointless
1218         to keep both of them around.  Convert the vpn 'data' hash table to a hash
1219         of string:string (instead of string:variant) so that system settings plugins
1220         can have an easier time dealing with the arbitrary key/value pairs.
1221
1222 2008-08-11  Dan Williams  <dcbw@redhat.com>
1223
1224         * libnm-util/nm-utils.c
1225                 - (nm_utils_register_value_transformations): add value transform for
1226                         a hash table of string:string
1227
1228 2008-08-10  Dan Williams  <dcbw@redhat.com>
1229
1230         * libnm-glib/nm-vpn-plugin.c
1231                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1232                         an idle handler so the Connect reply gets delivered before the
1233                         stop StateChanged signal
1234
1235 2008-08-10  Dan Williams  <dcbw@redhat.com>
1236
1237         * src/nm-ip4-config.c
1238                 - (get_property): use common ip4 address/route conversion functions
1239                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1240                         copy the new route here, not take ownership
1241
1242 2008-08-08  Tambet Ingo  <tambet@gmail.com>
1243
1244         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1245         Update the IP4 setting's method name.
1246
1247 2008-08-07  Dan Williams  <dcbw@redhat.com>
1248
1249         * introspection/nm-ip4-config.xml
1250           libnm-glib/libnm-glib-test.c
1251           libnm-glib/nm-ip4-config.c
1252           libnm-glib/nm-ip4-config.h
1253           src/NetworkManagerSystem.h
1254           src/backends/NetworkManagerArch.c
1255           src/backends/NetworkManagerDebian.c
1256           src/backends/NetworkManagerFrugalware.c
1257           src/backends/NetworkManagerGeneric.c
1258           src/backends/NetworkManagerGeneric.h
1259           src/backends/NetworkManagerGentoo.c
1260           src/backends/NetworkManagerMandriva.c
1261           src/backends/NetworkManagerPaldo.c
1262           src/backends/NetworkManagerRedHat.c
1263           src/backends/NetworkManagerSlackware.c
1264           src/backends/NetworkManagerSuSE.c
1265           src/dhcp-manager/nm-dhcp-manager.c
1266           src/nm-device.c
1267           src/nm-ip4-config.c
1268           src/nm-ip4-config.h
1269                 - Remove NIS logic; should be done from dispatcher scripts instead
1270
1271 2008-08-07  Dan Williams  <dcbw@redhat.com>
1272
1273         * src/dhcp-manager/nm-dhcp-manager.c
1274                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1275                         mis-handling of DHCP responses that returned more than one router
1276                         (found by Grant Williamson)
1277
1278 2008-08-07  Dan Williams  <dcbw@redhat.com>
1279
1280         * callouts/nm-dispatcher-action.c
1281                 - (nm_dispatcher_action): grab device path and create the device; pass
1282                         the device's DHCP4 config to script caller
1283                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1284                         scripts
1285
1286         * libnm-glib/nm-dhcp4-config.c
1287           libnm-glib/nm-dhcp4-config.h
1288                 - (nm_dhcp4_config_get_options): expose
1289                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1290
1291 2008-08-07  Dan Williams  <dcbw@redhat.com>
1292
1293         * include/NetworkManager.h
1294                 - Add the DHCP4Config D-Bus interface
1295
1296         * libnm-glib/Makefile.am
1297           libnm-glib/nm-dhcp4-config.c
1298           libnm-glib/nm-dhcp4-config.h
1299                 - Handle DHCP4 config objects exported by NM over D-Bus
1300
1301         * libnm-glib/nm-device.c
1302           libnm-glib/nm-device.h
1303                 - Add a 'dhcp4-config' property
1304
1305         * libnm-glib/libnm-glib-test.c
1306                 - Print out DHCP4 config for devices
1307                 - Fix some crashes when no connections are active
1308
1309         * src/nm-device-interface.c
1310           src/nm-device.c
1311           src/nm-dhcp4-config.c
1312           src/nm-dhcp4-config.h
1313                 - Treat dhcp4-config object as an object path at the D-Bus interface so
1314                         that when it doesn't exist we can proxy it as "/" which dbus-glib
1315                         doesn't let us do when the property type is G_TYPE_OBJECT
1316
1317 2008-08-07  Dan Williams  <dcbw@redhat.com>
1318
1319         * src/NetworkManager.c
1320           src/NetworkManagerSystem.h
1321           src/backends/NetworkManagerArch.c
1322           src/backends/NetworkManagerDebian.c
1323           src/backends/NetworkManagerFrugalware.c
1324           src/backends/NetworkManagerGeneric.c
1325           src/backends/NetworkManagerGeneric.h
1326           src/backends/NetworkManagerGentoo.c
1327           src/backends/NetworkManagerMandriva.c
1328           src/backends/NetworkManagerPaldo.c
1329           src/backends/NetworkManagerRedHat.c
1330           src/backends/NetworkManagerSlackware.c
1331           src/backends/NetworkManagerSuSE.c
1332                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1333
1334 2008-08-06  Dan Williams  <dcbw@redhat.com>
1335
1336         * libnm-glib/nm-ip4-config.c
1337           libnm-glib/nm-ip4-config.h
1338                 - Add 'routes' property
1339
1340         * libnm-util/nm-setting-vpn.c
1341           libnm-util/nm-setting-vpn.h
1342                 - Remove 'routes' property
1343
1344         * libnm-util/nm-setting-ip4-config.c
1345           libnm-util/nm-setting-ip4-config.h
1346                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1347                 - Add 'ignore-auto-routes' property
1348                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
1349                         accomodate route metrics
1350                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1351
1352         * libnm-util/nm-utils.c
1353           libnm-util/nm-utils.h
1354                 - Add helpers for marshalling IP4 routes
1355
1356         * src/NetworkManagerUtils.c
1357                 - (nm_utils_merge_ip4_config): handle property renames and new route
1358                         structure
1359
1360         * src/NetworkManagerSystem.c
1361                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1362                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
1363
1364         * src/dhcp-manager/nm-dhcp-manager.c
1365                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1366
1367         * system-settings/plugins/ifcfg-fedora/reader.c
1368           system-settings/plugins/ifcfg-fedora/writer.c
1369                 - Handle routes separately from addresses now that routes have a different
1370                         format
1371
1372         * introspection/nm-ip4-config.xml
1373           src/nm-ip4-config.c
1374           src/nm-ip4-config.h
1375                 - Rename internal routing functions
1376                 - 'static-routes' renamed to 'routes'
1377
1378 2008-08-04  Dan Williams  <dcbw@redhat.com>
1379
1380         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1381
1382         * src/NetworkManager.c
1383           src/nm-manager.c
1384           src/nm-manager.h
1385                 - More explicitly make the NMManager a singleton
1386
1387 2008-08-04  Dan Williams  <dcbw@redhat.com>
1388
1389         * libnm-util/nm-connection.c
1390           libnm-util/nm-connection.h
1391                 - (nm_connection_verify): return error on missing 'connection' setting
1392                         (found by Sjoerd Simons)
1393
1394 2008-08-04  Dan Williams  <dcbw@redhat.com>
1395
1396         Handle multiple concurrent PPP connections.
1397
1398         * src/ppp-manager/nm-ppp-manager.c
1399           src/ppp-manager/nm-ppp-manager.h
1400                 - (constructor): only PPP Manager request bus name once; each
1401                         NMPPPManager object gets a unique object path
1402                 - (nm_ppp_manager_class_init, get_property, set_property,
1403                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1404                         at construct time
1405                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1406                         remove timeout until PPP manager gets an IP4 config
1407                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1408                         the plugin can call back to this specific PPP manager instance
1409
1410         * src/nm-device-ethernet.c
1411           src/nm-serial-device.c
1412                 - Pass parent device in nm_ppp_manager_new()
1413
1414         * src/nm-gsm-device.c
1415           src/nm-cdma-device.c
1416                 - (device_state_changed): don't close serial device on NEED_AUTH
1417                         state changed, that's not a failure case like the rest are
1418
1419         * src/ppp-manager/nm-pppd-plugin.c
1420                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1421                         binds one interface to any pppd process, thus the correct index
1422                         is always 0; send PHASE_DEAD on error to alert NM immediately of
1423                         problems; try harder to get a peer address in spite of pppd
1424                 - (plugin_init): use 'ipparam' as the object path back to our specific
1425                         PPP manager instance
1426
1427 2008-08-04  Dan Williams  <dcbw@redhat.com>
1428
1429         * src/ppp-manager/nm-ppp-manager.c
1430                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1431                         since the GSM and CDMA settings now implement need_secrets, we can
1432                         rely on them to do the right thing.  Where secrets are not required,
1433                         just pass empty strings back to the pppd plugin.
1434                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1435                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1436                         on successful IP4 config receipt
1437
1438 2008-08-04  Dan Williams  <dcbw@redhat.com>
1439
1440         * libnm-util/nm-setting-cdma.c
1441           libnm-util/nm-setting-gsm.c
1442                 - (verify): validate username & password if they exist
1443                 - (need_secrets): if username given, require a password too
1444
1445 2008-08-04  Dan Williams  <dcbw@redhat.com>
1446
1447         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1448                 - (create_dm_cmd_line): really don't listen on lo, despite what the
1449                         manpage says about --listen-address without --interface
1450                         (bgo #546033)
1451
1452 2008-08-01  Dan Williams  <dcbw@redhat.com>
1453
1454         * libnm-glib/nm-device.c
1455                 - (proxy_get_string): util function for querying a HAL property
1456                 - (get_ancestor_device): split out from get_product_and_vendor()
1457                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1458                         from PCI devices by querying subsys properties
1459                 - (nm_device_update_description): simplify
1460
1461 2008-08-01  Dan Williams  <dcbw@redhat.com>
1462
1463         * libnm-util/nm-setting-ip4-config.c
1464           libnm-util/nm-setting-ip4-config.h
1465                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1466                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
1467                         settings, and they don't necessarily use DHCP.
1468
1469         * src/NetworkManagerPolicy.c
1470           src/nm-device.c
1471           system-settings/plugins/ifcfg-fedora/reader.c
1472           system-settings/plugins/ifcfg-suse/parser.c
1473                 - Fixup for method changes
1474
1475 2008-07-31  Dan Williams  <dcbw@redhat.com>
1476
1477         * src/nm-activation-request.c
1478           src/vpn-manager/nm-vpn-connection.c
1479                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1480                         itself should be attached to the activation request or the VPN
1481                         connection, not the NMConnection object, since the call is not
1482                         expected to live as long as the NMConnection itself
1483
1484 2008-07-31  Dan Williams  <dcbw@redhat.com>
1485
1486         * src/nm-device-wifi.c
1487                 - (real_act_stage2_config): fix issue where association would continue
1488                         even though secrets were needed; 'goto out' was in wrong scope and
1489                         result of handle_auth_or_fail() should have been dumped directly to
1490                         'ret' to ensure that the association was postponed until secrets
1491                         are available
1492
1493 2008-07-31  Dan Williams  <dcbw@redhat.com>
1494
1495         * system-settings/plugins/ifcfg-fedora/plugin.c
1496           system-settings/plugins/ifcfg-fedora/reader.c
1497                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1498                         valid NM connection
1499
1500 2008-07-29  Dan Williams  <dcbw@redhat.com>
1501
1502         * src/nm-gsm-device.c
1503                 - (automatic_registration_response, automatic_registration): recognize
1504                         denied registration and reorder responses
1505
1506 2008-07-29  Dan Williams  <dcbw@redhat.com>
1507
1508         * src/nm-serial-device.c
1509                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
1510                         time(2) is used for current time, which returns seconds, we shouldn't
1511                         be multiplying by 1000.
1512
1513 2008-07-28  Dan Williams  <dcbw@redhat.com>
1514
1515         Patch from Fabrice Bellet <fabrice@bellet.info>
1516
1517         * src/NetworkManagerSystem.c
1518                 - (route_in_same_subnet): mask addresses and compare them so that the
1519                         function actually does what it says it's going to do (rh #456685)
1520
1521 2008-07-27  Dan Williams  <dcbw@redhat.com>
1522
1523         * libnm-util/nm-setting-ip6-config.c
1524                 - (set_property): add missing break that caused routes to be overwritten
1525                         with addresses
1526
1527         * libnm-util/nm-setting-ip6-config.c
1528                 - (verify): validate routes and return GError everywhere on invalid setting
1529                 - (finalize): don't leak routes
1530                 - (set_property): add missing break that caused routes to be overwritten
1531                         with addresses
1532
1533 2008-07-27  Dan Williams  <dcbw@redhat.com>
1534
1535         * libnm-util/*
1536                 - Relicense to LGPLv2+
1537
1538 2008-07-27  Dan Williams  <dcbw@redhat.com>
1539
1540         * system-settings/plugins/ifcfg-fedora/reader.c
1541                 - (make_ip4_setting): fix parsing automatic configs
1542
1543 2008-07-27  Dan Williams  <dcbw@redhat.com>
1544
1545         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1546           src/nm-device.c
1547           src/ppp-manager/nm-ppp-manager.c
1548                 - Ensure child process gets reaped.  The child watch function may be
1549                         removed from the mainloop before the child gets killed, so we have
1550                         to make sure the child is reaped when it's told to die intentionally
1551
1552 2008-07-27  Dan Williams  <dcbw@redhat.com>
1553
1554         Patch from Roy Marples <roy@marples.name>
1555
1556         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1557                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1558
1559 2008-07-27  Dan Williams  <dcbw@redhat.com>
1560
1561         * src/nm-gsm-device.c
1562                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1563                         Huawei devices turn echo back on after CPIN (rh #456770)
1564
1565 2008-07-24  Tambet Ingo  <tambet@gmail.com>
1566
1567         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1568         format argument to g_set_error() call.
1569
1570         * src/backends/interface_parser.[ch]: Remove.
1571
1572         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1573
1574 2008-07-21  Dan Williams  <dcbw@redhat.com>
1575
1576         * src/ppp-manager/nm-ppp-manager.c
1577                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1578                         to prevent pppd from picking up some random local address from an
1579                         interface that doesn't have anything to do with the one we're
1580                         interested in (rh #455348)
1581
1582 2008-07-17  Dan Williams  <dcbw@redhat.com>
1583
1584         * libnm-util/nm-utils.c
1585                 - (string_to_utf8): general function for conversion to UTF-8 assisted
1586                         by locale
1587                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
1588                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
1589
1590 2008-07-17  Dan Williams  <dcbw@redhat.com>
1591
1592         * introspection/Makefile.am
1593           introspection/nm-device.xml
1594           introspection/nm-dhcp4-config.xml
1595                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
1596                         itself
1597         * src/nm-device-interface.c
1598           src/nm-device-interface.h
1599                 - Add the DHCP4Config property
1600
1601         * src/nm-device.c
1602                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
1603                         D-Bus clients when it changes
1604
1605         * src/nm-dhcp4-config.c
1606           src/nm-dhcp4-config.h
1607                 - Simple object to store DHCP4 options, export them over D-Bus, and
1608                         notify when they change
1609
1610         * src/dhcp-manager/nm-dhcp-manager.c
1611           src/dhcp-manager/nm-dhcp-manager.h
1612                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
1613                         filter server-returned DHCP options into an NMDHCP4Config object
1614
1615 2008-07-16  Dan Williams  <dcbw@redhat.com>
1616
1617         * introspection/nm-device.xml
1618                 - Add device state reasons
1619
1620 2008-07-16  Dan Williams  <dcbw@redhat.com>
1621
1622         Patch from Roy Marples <roy@marples.name>
1623
1624         * configure.in
1625                 - Add --with-dhcp-client option
1626
1627         * src/dhcp-manager/Makefile.am
1628                 - pass DHCP_CLIENT_PATH on compile line
1629
1630         * src/dhcp-manager/nm-dhcp-manager.c
1631           src/dhcp-manager/nm-dhcp-manager.h
1632                 - Genericize for both dhcpcd and dhclient
1633
1634         * src/dhcp-manager/nm-dhcp-dhclient.c
1635                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
1636
1637         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1638                 - Implement support for dhcpcd too
1639
1640 2008-07-16  Tambet Ingo  <tambet@gmail.com>
1641
1642         * system-settings/src/nm-system-config-interface.c 
1643         (nm_system_config_interface_supports_add): Implement.
1644         (nm_system_config_interface_add_connection): Return a boolean to notify
1645         of errors.
1646
1647         * system-settings/src/nm-polkit-helpers.c: 
1648         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
1649         a separate file.
1650
1651         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
1652         Return an error when none of the plugins support add or if addition
1653         failed for some reason.
1654
1655         * system-settings/src/nm-system-config-error.h: 
1656         * system-settings/src/nm-system-config-error.c: New files, mostly moved
1657         here from nm-polkit-helpers.[ch].
1658
1659         * system-settings/src/Makefile.am: Build new files.
1660
1661         * system-settings/plugins/keyfile/reader.c 
1662         (read_array_of_array_of_uint): Make it more general so that it would
1663         work for routes as well.
1664
1665         * system-settings/plugins/keyfile/writer.c
1666         (write_array_of_array_of_uint): Ditto.
1667         Fix the netmask/prefix writing.
1668
1669         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
1670         boolean to notify errors.
1671
1672         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
1673         Return more specific error.
1674         (delete): Ditto.
1675
1676 2008-07-11  Dan Williams  <dcbw@redhat.com>
1677
1678         Modify the NMDevice::state-changed signal to include the previous state
1679         and reason. Enables the applet to provide more information why device
1680         activation failed.
1681
1682 2008-07-09  Dan Williams  <dcbw@redhat.com>
1683
1684         * callouts/Makefile.am
1685           callouts/nm-avahi-autoipd-action.c
1686           callouts/nm-avahi-autoipd.conf
1687                 - avahi-autoipd callout to send options back to NM
1688
1689         * src/autoip.c
1690           src/autoip.h
1691                 - remove
1692
1693         * src/nm-device.c
1694           src/nm-device-private.h
1695           src/nm-manager.c
1696                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
1697                         old custom stuff
1698
1699 2008-07-07  Dan Williams  <dcbw@redhat.com>
1700
1701         * system-settings/plugins/ifcfg-fedora/reader.c
1702                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
1703                         handle PREFIX too; clean up
1704
1705 2008-07-07  Dan Williams  <dcbw@redhat.com>
1706
1707         Convert to using IPv4 prefixes instead of netmasks.
1708
1709 2008-07-03  Dan Williams  <dcbw@redhat.com>
1710
1711         * libnm-util/nm-setting-ip4-config.c
1712           libnm-util/nm-setting-ip4-config.h
1713                 - Add properties for DHCP Client Identifier and DHCP Hostname
1714
1715         * src/dhcp-manager/nm-dhcp-manager.c
1716           src/dhcp-manager/nm-dhcp-manager.h
1717                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
1718                         setting as an argument to pass on to the dhclient config file
1719                         creation function
1720                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
1721                         DHCP is torn down
1722                 - (dhclient_run): punt config file handling to create_dhclient_config()
1723                 - (create_dhclient_config): create an interface-specific dhclient
1724                         config file since there may need to be interface-specific options
1725                         passed to dhclient
1726                 - (merge_dhclient_config): merge normal distro dhclient config file and
1727                         add options from the connection
1728                 - (nm_dhcp_device_new): generate the interface specific dhclient
1729                         config file path once
1730                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
1731                         dhclient config file path
1732
1733         * src/nm-device.c
1734                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
1735                         DHCP manager when starting DHCP
1736
1737 2008-07-02  Dan Williams  <dcbw@redhat.com>
1738
1739         * libnm-util/nm-setting-8021x.c
1740                 - (verify): allow forcing the PEAP label to 0
1741
1742 2008-07-02  Dan Williams  <dcbw@redhat.com>
1743
1744         * introspection/nm-active-connection.xml
1745           introspection/nm-vpn-connection.xml
1746           libnm-glib/nm-active-connection.c
1747           src/nm-activation-request.c
1748           src/nm-active-connection.h
1749           src/vpn-manager/nm-vpn-connection.c
1750                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
1751                         and libnm-glib API since sharing didn't get implemented that way
1752
1753 2008-07-02  Dan Williams  <dcbw@redhat.com>
1754
1755         * src/nm-device-wifi.c
1756                 - (can_scan): don't scan when a shared connection is activated since
1757                         that makes drivers mad (causing disconnects); also NM doesn't need
1758                         to hedge against disconnects by keeping up-to-date network topology
1759                         because the connection originates from the local machine, and thus
1760                         there should be no disconnects
1761
1762 2008-07-01  Dan Williams  <dcbw@redhat.com>
1763
1764         Fix mobile broadband username/password issues.  NM was never requesting
1765         mobile broadband secrets, nor was it passing back the username and password
1766         if it had them.
1767
1768         * marshallers/nm-marshal.list
1769                 - Add some new types for activation request objects
1770
1771         * src/nm-activation-request.c
1772           src/nm-activation-request.h
1773                 - (get_secrets_cb): pass the caller type in the signal
1774                 - (nm_act_request_request_connection_secrets): take a caller type, so
1775                         that GetSecrets() reply handlers know who asked for the secrets in
1776                         the first place; use secret hints too so the settings service can
1777                         figure out exactly what NM wants (ie, PIN or the PPP password)
1778
1779         * src/ppp-manager/nm-ppp-manager.c
1780           src/ppp-manager/nm-ppp-manager.h
1781                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
1782                         detect needed secrets when the secret could be blank, like GSM/CDMA
1783                         passwords.  So always ask for secrets, and send a hint as to what
1784                         secret we really want.
1785                 - (nm_ppp_manager_update_secrets): make function more generic by making
1786                         the device specific class figure out the username and password, and
1787                         accept an error argument to return back over D-Bus
1788
1789         * src/nm-device-wifi.c
1790                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1791                         nm_act_request_request_connection_secrets()
1792                 - (real_connection_secrets_updated): update for 'caller' changes
1793
1794         * src/nm-device.c
1795           src/nm-device.h
1796                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
1797                         for 'caller' changes
1798
1799         * src/nm-device-ethernet.c
1800                 - (real_connection_secrets_updated): update for 'caller' changes and
1801                         move logic for getting PPPoE username and password here before
1802                         calling nm_ppp_manager_update_secrets()
1803                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1804                         nm_act_request_request_connection_secrets()
1805
1806         * src/nm-cdma-device.c
1807                 - (real_connection_secrets_updated): pass username and password back
1808                         to the PPP manager when required
1809
1810         * src/nm-gsm-device.c
1811                 - (enter_pin): send the required secret name to the settings service
1812                 - (real_connection_secrets_updated): pass username and password back
1813                         to the PPP manager when required
1814
1815 2008-06-30  Dan Williams  <dcbw@redhat.com>
1816
1817         * src/nm-device-wifi.c
1818                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
1819
1820 2008-06-30  Dan Williams  <dcbw@redhat.com>
1821
1822         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
1823         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
1824         priv->supplicant.iface.  When either condition is false, the device should
1825         transition back to UNAVAILABLE because it cannot be used.
1826
1827         * src/nm-device-wifi.c
1828                 - (constructor): cleanup; connect to supplicant manager here since the
1829                         supplicant manager is always around
1830                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
1831                         ensure the supplicant manager is in the IDLE state
1832                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
1833                         cancel any pending scans too
1834                 - (real_bring_up): don't set up the supplicnat interface here, because
1835                         we need the supplicant interface at times when the device may not
1836                         be "up"
1837                 - (real_take_down): just remove the periodic source
1838                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
1839                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
1840                         do anything if there's no supplicant interface
1841                 - (cleanup_association_attempt): cleanup
1842                 - (supplicant_iface_state_cb_handler): request an immediate scan when
1843                         the interface enters the READY state; transition to UNAVAILABLE
1844                         state when the interface goes down because the device can't be used
1845                         without a supplicant interface
1846                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
1847                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
1848                         acquire the supplicant interface and transition to DISCONNECTED
1849                         if the radio isn't killed
1850                 - (nm_device_wifi_dispose): move most of device_cleanup() here
1851                 - (state_changed_cb): release any existing supplicant interface; if the
1852                         radio is enabled then try to acquire a new supplicant interface;
1853                         if the radio is enabled and a supplicant interface has been acquired,
1854                         we can transition to DISCONNECTED
1855                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
1856                         don't enable the radio, because HAL probably lied to us about the
1857                         killswitch being off.  If bringing the hardware up worked, then
1858                         try to grab a supplicant interface, and if that was successful,
1859                         transition to DISCONNECTED
1860
1861 2008-06-30  Dan Williams  <dcbw@redhat.com>
1862
1863         * src/supplicant-manager/nm-supplicant-interface.c
1864                 - (request_scan_results, nm_supplicant_interface_dispose,
1865                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
1866                         the id of the timeout, not a GSource
1867
1868 2008-06-30  Tambet Ingo  <tambet@gmail.com>
1869
1870         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
1871         bunch of typoes introduced by "Patch from David Cantrell 
1872         <dcantrell@redhat.com> and me".
1873
1874 2008-06-30  Tambet Ingo  <tambet@gmail.com>
1875
1876         * src/nm-serial-device.c: 
1877         * src/nm-gsm-device.c: 
1878         * src/nm-cdma-device.c: Move the pending call handling to a common location
1879         in serial device. Handle setting device state to failed in one place as well.
1880
1881 2008-06-29  Dan Williams <dcbw@redhat.com>
1882
1883         * src/nm-hal-manager.c
1884                 - Rework killswitch handling to query killswitch status immediately
1885                         when the first killswitch is added, so that rfkill state is
1886                         known as early as possible
1887                 - Also treat failure of GetPower() as rfkill when the dbus method
1888                         call times out (but not when the HAL callout returns an error)
1889
1890 2008-06-26  Dan Williams <dcbw@redhat.com>
1891
1892         Patch from David Cantrell <dcantrell@redhat.com> and me
1893
1894         * include/nm-dbus-glib-types.h
1895                 - Add IP6 address types
1896
1897         * libnm-util/Makefile.am
1898           libnm-util/nm-setting-ip6-config.c
1899           libnm-util/nm-setting-ip6-config.h
1900                 - Add IP6 settings object
1901
1902         * libnm-util/nm-connection.c
1903                 - (register_default_settings): register ip6 settings object
1904
1905         * libnm-util/nm-utils.c
1906           libnm-util/nm-utils.h
1907                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
1908                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
1909                         ip6 address conversion functions
1910         
1911 2008-06-26  Dan Williams <dcbw@redhat.com>
1912
1913         Patch from David Cantrell <dcantrell@redhat.com>
1914         
1915         * Use inet_ntop() and inet_pton() everwhere and check for errors
1916
1917 2008-06-26  Dan Williams <dcbw@redhat.com>
1918
1919         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
1920
1921 2008-06-26  Dan Williams <dcbw@redhat.com>
1922
1923         Patch from Adel Gadllah <adel.gadllah@gmail.com>
1924
1925         * src/nm-device-wifi.c
1926                 - (link_timeout_cb): don't ignore disconnects due to scanning
1927                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
1928                         a longer timeout when scanning; avoids case where supplicant can't
1929                         find the AP and just keeps scanning forever but isn't connected
1930
1931 2008-06-26  Dan Williams <dcbw@redhat.com>
1932
1933         Patch from Michael Biebl <biebl@debian.org>
1934
1935         * Clean up build system stuff
1936
1937 2008-06-23  Christian Persch  <chpe@gnome.org>
1938
1939         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
1940         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
1941         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
1942         (impl_get_object):
1943         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
1944         (impl_get_object):
1945         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
1946         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
1947         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
1948         (impl_get_object):
1949         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
1950         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
1951         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
1952         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
1953         * vpn-daemons/pptp/properties/vpnui_opt.c:
1954         (vpnui_opt_connect_signals):
1955         * vpn-daemons/pptp/properties/vpnui_opt.h:
1956         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
1957         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
1958         deprecated gtk type macros. Bug #539325.
1959
1960 2008-06-20  Dan Williams  <dcbw@redhat.com>
1961
1962         * libnm-glib/nm-vpn-plugin-ui-interface.c
1963           libnm-glib/nm-vpn-plugin-ui-interface.h
1964                 - 'validity-changed' -> 'changed' to work better with the connection
1965                         editor.  Plugin UI widgets should emit 'changed' whenever their
1966                         UI values change in a meaningful way.
1967                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
1968                         update_connection member now returns validity of the UI widget
1969
1970 2008-06-20  Tambet Ingo  <tambet@gmail.com>
1971
1972         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
1973
1974 2008-06-17  Dan Williams  <dcbw@redhat.com>
1975
1976         * libnm-glib/nm-vpn-plugin-ui-interface.c
1977           libnm-glib/nm-vpn-plugin-ui-interface.h
1978                 - Add "desc" property for longer descriptions of the VPN plugin
1979
1980 2008-06-16  Dan Williams  <dcbw@redhat.com>
1981
1982         * configure.in
1983           libnm-glib/libnm_glib_vpn.pc.in
1984                 - add a .pc file for libnm_glib_vpn
1985
1986         * libnm-glib/nm-vpn-plugin-ui-interface.c
1987           libnm-glib/nm-vpn-plugin-ui-interface.h
1988                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
1989                         rework it substantially
1990
1991 2008-06-12  Dan Williams  <dcbw@redhat.com>
1992
1993         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
1994         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
1995         returns a descriptive GError when verification fails.
1996
1997 2008-06-11  Dan Williams  <dcbw@redhat.com>
1998
1999         Patch from Tambet Ingo <tambet@gmail.com>
2000
2001         * libnm-util/nm-setting-gsm.c
2002                 - (verify): validate APN
2003
2004         * src/nm-gsm-device.c
2005                 - (manual_registration_done): start setting APN if needed
2006                 - (set_apn, set_apn_done): set the APN
2007                 - (do_dial): use the APN when dialing
2008
2009 2008-06-11  Dan Williams  <dcbw@redhat.com>
2010
2011         * src/NetworkManagerSystem.c
2012                 - (nm_system_device_set_ip4_route,
2013                    nm_system_device_replace_default_ip4_route): check for the right
2014                         return value from rtnl_route_add() to know when to add a gateway
2015                         route (from Tambet)
2016
2017 2008-06-11  Dan Williams  <dcbw@redhat.com>
2018
2019         * src/NetworkManagerPolicy.c
2020                 - do_ipt_cmd -> do_cmd
2021                 - (sharing_init): use do_cmd() instead of system()
2022
2023 2008-06-10  Dan Williams  <dcbw@redhat.com>
2024
2025         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
2026         and use "wifi" everwhere instead.
2027
2028 2008-06-10  Dan Williams  <dcbw@redhat.com>
2029
2030         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
2031
2032 2008-06-10  Dan Williams  <dcbw@redhat.com>
2033
2034         Patch from Tambet Ingo <tambet@gmail.com>
2035
2036         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2037                 changes.
2038
2039         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2040                 a signal to emit these changes over dbus.
2041
2042         * src/Makefile.am: Genereate nm-serial-device-glue.
2043
2044         * libnm-glib/nm-serial-device.[ch]: Implement.
2045
2046         * libnm-glib/nm-cdma-device.[ch]
2047           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2048
2049         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2050
2051         * introspection/nm-device-serial.xml: Implement.
2052
2053         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2054
2055         * introspection/Makefile.am: Add nm-device-serial.xml.
2056
2057         * include/NetworkManager.h: Add a DBus interface for serial device.
2058
2059 2008-06-10  Dan Williams  <dcbw@redhat.com>
2060
2061         * configure.in
2062                 - Add TARGET_* define to config.h to distinguish distros
2063
2064         * src/dhcp-manager/nm-dhcp-manager.c
2065                 - (dhclient_run): use distro-specific path for dhclient config file
2066
2067 2008-06-09  Dan Williams  <dcbw@redhat.com>
2068
2069         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2070           src/dnsmasq-manager/nm-dnsmasq-manager.h
2071                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2072                         calculate the addresses passed to dnsmasq instead of hard-coding
2073                         them
2074
2075         * src/nm-device.c
2076                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2077                         IP addresses for shared connections to guard against shared
2078                         connection address collisions
2079                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2080                         error conditions
2081                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2082                         the dnsmasq manager
2083
2084 2008-06-09  Dan Williams  <dcbw@redhat.com>
2085
2086         * src/NetworkManagerPolicy.c
2087                 - (update_routing_and_dns): set the default connection _after_ unsetting
2088                         default on all non-default connections so that two connections can
2089                         never be default at the same time
2090                 - (device_state_changed): start and stop connection sharing when
2091                         needed
2092                 - (active_connection_default_changed): restart or stop sharing when
2093                         the default connection changes to keep shared connections always
2094                         NAT-ed through the default connection
2095                 - (check_sharing): handle activation/deactivation of shared connections
2096                 - (sharing_restart): atom-bomb approach to connection sharing until we
2097                         can use libnl; reinit all sharing when the default connection or
2098                         shared connections change
2099                 - (sharing_init, sharing_stop): evil functions that init and deinit
2100                         iptables
2101
2102 2008-06-09  Dan Williams  <dcbw@redhat.com>
2103
2104         * src/nm-activation-request.c
2105           src/nm-activation-request.h
2106                 - (nm_act_request_set_shared, nm_act_request_get_shared,
2107                    nm_act_request_get_device): new functions to facilitate connection
2108                         sharing
2109
2110 2008-06-09  Dan Williams  <dcbw@redhat.com>
2111
2112         * src/nm-device.c
2113                 - (clear_act_request): unset the 'default' property of the activation
2114                         request when clearing it to ensure the property changed signal gets
2115                         delivered and handled
2116
2117 2008-06-09  Dan Williams  <dcbw@redhat.com>
2118
2119         * libnm-glib/nm-device-802-11-wireless.c
2120                 - (access_point_removed_proxy): actually unref the AP after removing
2121                         it from the device's AP list.  Fixes refcounting bug for APs that
2122                         caused them to get mixed up in the applet's menu.
2123
2124 2008-06-09  Tambet Ingo  <tambet@gmail.com>
2125
2126         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2127         (nm_dhcp_device_destroy): Destroy the device options hash table.
2128
2129 2008-06-06  Dan Williams <dcbw@redhat.com>
2130
2131         * system-settings/src/nm-polkit-helpers.c
2132                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2133                         unref the context if the initialization fails; also avoid spew when
2134                         the error isn't set
2135
2136 2008-06-06  Dan Williams <dcbw@redhat.com>
2137
2138         Patch from Tambet Ingo  <tambet@gmail.com>
2139
2140         * src/NetworkManagerSystem.c
2141           src/NetworkManagerSystem.h
2142                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2143                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2144                 - (nm_system_device_set_ip4_route): clean up
2145                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2146
2147         * src/nm-device.c
2148                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2149
2150         * src/vpn-manager/nm-vpn-connection.c
2151                 - (ip_address_to_string): new function
2152                 - (print_vpn_config): use ip_address_to_string
2153                 - (merge_vpn_routes): add user-defined routes to the ip4 config
2154                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2155
2156         * include/NetworkManagerVPN.h
2157                 - Add 'routes' key
2158
2159 2008-06-05  Dan Williams <dcbw@redhat.com>
2160
2161         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2162
2163         * test/nm-tool.c
2164                 - Show which device is the default device
2165
2166 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2167
2168         Fix memory leaks.
2169
2170         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2171         Free data returned from dbus method call.
2172
2173         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2174         dbus_g_method_get_sender() returns a duplicated string, free it 
2175         when done.
2176         (check_polkit_privileges): Looks like policykit sometimes returns
2177         error and non-null return value, don't leak errors in that case.
2178
2179         * system-settings/src/main.c (find_plugin): Don't leak existing 
2180         plugin names.
2181         (load_stuff): Don't leak device list and list items.
2182         (have_connection_for_device): Don't leak connection list.
2183
2184         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2185         Free the data received from g_keyfile_get_*.
2186
2187         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2188         the key when the security object is updated.
2189
2190         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2191         Free data returned from dbus method call.
2192         (iface_state_cb): Ditto.
2193         (add_network_cb): Ditto.
2194         (nm_supplicant_interface_add_cb): Don't make another copy of already
2195         duplicated object path.
2196         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2197         when done.
2198
2199         * src/supplicant-manager/nm-supplicant-config.c 
2200         (ADD_STRING_LIST_VAL): Fix a memory leak.
2201
2202         * src/nm-manager.c (free_get_settings_info): Free the allocated
2203         memory slice.
2204         (list_connections_cb): Free data returned from dbus method call.
2205         (system_settings_get_unmanaged_devices_cb): Ditto.
2206
2207         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2208
2209         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2210         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2211         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2212         of the GList.
2213
2214         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2215         arguments after the object is created.
2216
2217 2008-06-04  Dan Williams <dcbw@redhat.com>
2218
2219         * libnm-util/Makefile.am
2220                 - Don't distribute nm-param-spec-specialized.h
2221
2222 2008-06-02  Tambet Ingo  <tambet@gmail.com>
2223
2224         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2225
2226         * src/nm-ip4-config.[ch]: Store the static routes as a list of
2227         NMIP4Address, update the getters and setters.
2228
2229         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2230         Use the updated NMIP4Config routes api.
2231
2232         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2233         static routes as well.
2234
2235         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2236         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2237         routes api.
2238
2239 2008-05-30  Dan Williams <dcbw@redhat.com>
2240
2241         * src/named-manager/nm-named-manager.c
2242           src/named-manager/nm-named-manager.h
2243                 - Remove stale/obsolete bits for controlling bind over DBus
2244
2245 2008-05-29  Dan Williams <dcbw@redhat.com>
2246
2247         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2248           src/dnsmasq-manager/nm-dnsmasq-manager.h
2249                 - (nm_dnsmasq_manager_new): move iface argument here
2250                 - (constructor): remove, not needed
2251                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2252                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2253
2254         * src/nm-device.c
2255                 - (real_act_stage4_get_ip4_config,
2256                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2257                         changes
2258
2259 2008-05-29  Dan Williams <dcbw@redhat.com>
2260
2261         * src/nm-device.c
2262                 - (dnsmasq_state_changed_cb): new function; fail the connection if
2263                         something happens to dnsmasq
2264                 - (nm_device_new_ip4_shared_config): new function; create a new
2265                         ip4-config for shared connections.  Shared connections always use a
2266                         fixed static IP address.
2267                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2268                         autoip connections by actually using the returned ip4-config and
2269                         not leaking it
2270                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2271                         connections
2272                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2273                         if its active
2274
2275 2008-05-29  Dan Williams <dcbw@redhat.com>
2276
2277         * src/nm-device-802-11-wireless.c
2278                 - (real_get_best_auto_connection): auto-activate 'shared' method
2279                         connections too
2280
2281 2008-05-29  Dan Williams <dcbw@redhat.com>
2282
2283         * libnm-util/nm-setting-ip4-config.c
2284           libnm-util/nm-setting-ip4-config.h
2285                 - Add a 'shared' method to indicate that this connection should be
2286                         brought up with a DHCP and proxy DNS server to facilitate
2287                         connection sharing.
2288                 - (verify): 'shared' method doesn't allow DNS or searches either
2289
2290 2008-05-29  Dan Williams <dcbw@redhat.com>
2291
2292         * configure.in
2293           src/Makefile.am
2294           src/dnsmasq-manager/Makefile.am
2295           src/dnsmasq-manager/nm-dnsmasq-manager.c
2296           src/dnsmasq-manager/nm-dnsmasq-manager.h
2297                 - Add a dnsmasq daemon manager to facilitate connection sharing
2298
2299 2008-05-29  Dan Williams <dcbw@redhat.com>
2300
2301         * src/nm-device-private.h
2302                 - Remove unused prototypes and clean up
2303
2304         * src/nm-device.c
2305                 - Remove anything related to system_config_data, which is no longer used
2306                 - (nm_device_new_ip4_autoip_config): make static
2307
2308 2008-05-29  Tambet Ingo  <tambet@gmail.com>
2309
2310         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2311         (file_changed): Fix a bug where suse system settings plugin didn't
2312         update the connections automatically when the files changed.
2313
2314 2008-05-28  Dan Williams  <dcbw@redhat.com>
2315
2316         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2317
2318 2008-05-28  Dan Williams  <dcbw@redhat.com>
2319
2320         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2321
2322         * src/NetworkManagerSystem.c
2323                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2324                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2325                         was causing -EINVAL errors since the libnl code actually does flush
2326                         the routes on VPN interfaces now
2327
2328         * src/backends/NetworkManagerArch.c
2329           src/backends/NetworkManagerDebian.c
2330           src/backends/NetworkManagerFrugalware.c
2331           src/backends/NetworkManagerGeneric.c
2332           src/backends/NetworkManagerGentoo.c
2333           src/backends/NetworkManagerMandriva.c
2334           src/backends/NetworkManagerPaldo.c
2335           src/backends/NetworkManagerRedHat.c
2336           src/backends/NetworkManagerSlackware.c
2337           src/backends/NetworkManagerSuSE.c
2338                 - (nm_system_device_flush_ip4_routes,
2339                    nm_system_device_flush_ip4_routes_with_iface): remove
2340
2341 2008-05-28  Dan Williams  <dcbw@redhat.com>
2342
2343         * libnm-util/nm-setting-wireless.c
2344           libnm-util/nm-setting-wireless.h
2345                 - (set_property, get_property, nm_setting_wireless_class_init): add the
2346                         'adhoc-create' property, which when TRUE indicates that NM should
2347                         create this connection as an adhoc wifi network if it's not found
2348                         as an adhoc network during scanning.  Can be used to auto-create
2349                         adhoc networks when used in combination with autoconnect.
2350
2351 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2352
2353         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2354
2355         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2356         checked, it doesn't work on some devices.
2357
2358 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2359
2360         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
2361         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2362
2363         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2364         Use inet_aton() everywhere to improve error detection.
2365         Don't fall back to 'dhcp_server_identifier' if the gateway is not
2366         provided.
2367
2368 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2369
2370         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2371         Fix a typo.
2372
2373 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2374
2375         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2376         reference counting issue.
2377
2378 2008-05-23  Dan Williams  <dcbw@redhat.com>
2379
2380         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2381
2382         * src/backends/NetworkManagerGeneric.c
2383                 - (nm_generic_enable_loopback): use libnl
2384
2385 2008-05-23  Dan Williams  <dcbw@redhat.com>
2386
2387         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2388
2389         * src/NetworkManagerSystem.h
2390           src/backends/NetworkManagerArch.c
2391           src/backends/NetworkManagerDebian.c
2392           src/backends/NetworkManagerFrugalware.c
2393           src/backends/NetworkManagerGentoo.c
2394           src/backends/NetworkManagerMandriva.c
2395           src/backends/NetworkManagerPaldo.c
2396           src/backends/NetworkManagerRedHat.c
2397           src/backends/NetworkManagerSlackware.c
2398           src/backends/NetworkManagerSuSE.c
2399                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2400                    nm_system_flush_arp_cache): remove, unused
2401
2402         * src/backends/NetworkManagerGeneric.c
2403           src/backends/NetworkManagerGeneric.h
2404                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2405                    nm_generic_flush_arp_cache): remove, unused
2406
2407 2008-05-23  Dan Williams  <dcbw@redhat.com>
2408
2409         * system-settings/plugins/ifcfg-fedora/reader.c
2410                 - (make_ip4_setting): honor PEERDNS setting
2411
2412 2008-05-23  Dan Williams  <dcbw@redhat.com>
2413
2414         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2415
2416         * src/NetworkManagerSystem.c
2417                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2418                         libnl
2419
2420         * src/backends/NetworkManagerArch.c
2421           src/backends/NetworkManagerDebian.c
2422           src/backends/NetworkManagerFrugalware.c
2423           src/backends/NetworkManagerGentoo.c
2424           src/backends/NetworkManagerMandriva.c
2425           src/backends/NetworkManagerPaldo.c
2426           src/backends/NetworkManagerRedHat.c
2427           src/backends/NetworkManagerSlackware.c
2428           src/backends/NetworkManagerSuSE.c
2429                 - (nm_system_device_flush_ip4_addresses,
2430                    nm_system_device_flush_ip4_addresses_with_iface): remove
2431
2432         * src/backends/NetworkManagerGeneric.c
2433                 - (nm_generic_device_flush_ip4_addresses,
2434                    nm_generic_device_flush_ip4_addresses_with_iface): remove
2435
2436 2008-05-23  Dan Williams  <dcbw@redhat.com>
2437
2438         * src/supplicant-manager/nm-supplicant-settings-verify.c
2439                 - Switch 'bssid' from bytes to keyword type
2440                 - (validate_type_keyword): allow NULL keyword lists
2441
2442         * src/supplicant-manager/nm-supplicant-config.c
2443                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2444                         a byte array to string form, which is what the supplicant expects
2445
2446 2008-05-23  Tambet Ingo  <tambet@gmail.com>
2447
2448         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2449         information received from DHCP.
2450
2451         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2452         to make it possible to ignore the DNS information (both servers and 
2453         searches) returned by DHCP server.
2454
2455         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2456         name servers and searches if "ignore_dhcp_dns" is set.
2457
2458         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2459         (nm_ip4_config_reset_searches): Implement.
2460
2461 2008-05-22  Dan Williams  <dcbw@redhat.com>
2462
2463         Remove anything mDNS related.  This is better done from a distro-specific
2464         dispatcher script.  Plus, any distro using avahi doesn't need to restart
2465         avahi, since avahi can handle interface changes just fine using netlink.
2466
2467         * configure.in
2468                 - Remove --with-mdns-provider
2469
2470         * src/NetworkManagerPolicy.c
2471                 - (global_state_changed): don't restart the mdns provider
2472
2473         * src/NetworkManagerSystem.h
2474           src/backends/NetworkManagerArch.c
2475           src/backends/NetworkManagerDebian.c
2476           src/backends/NetworkManagerFrugalware.c
2477           src/backends/NetworkManagerGentoo.c
2478           src/backends/NetworkManagerMandriva.c
2479           src/backends/NetworkManagerPaldo.c
2480           src/backends/NetworkManagerRedHat.c
2481           src/backends/NetworkManagerSlackware.c
2482           src/backends/NetworkManagerSuSE.c
2483                 - (nm_system_restart_mdns_responder): remove
2484
2485         * src/backends/NetworkManagerGeneric.c
2486           src/backends/NetworkManagerGeneric.h
2487                 - (nm_generic_restart_mdns_responder): remove
2488
2489 2008-05-22  Dan Williams  <dcbw@redhat.com>
2490
2491         * configure.in
2492                 - clean up crypto options; just use --with-crypto=nss or
2493                         --with-crypto=gnutls
2494
2495 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2496
2497         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2498         anymore, do it right away.
2499
2500 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2501
2502         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2503         serial device open when we're not connecting or connected.
2504
2505         * src/nm-cdma-device.c (device_state_changed): Ditto.
2506
2507 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2508
2509         Don't remove all devices on waking up, sync with HAL.
2510
2511         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2512         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2513         (hal_manager_hal_reappeared_cb): Just call sync_devices.
2514
2515 2008-05-21  Tambet Ingo  <tambet@gmail.com>
2516
2517         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2518         If the default gateway is unreachable, add a route to gateway and try
2519         again.
2520
2521 2008-05-20  Dan Williams  <dcbw@redhat.com>
2522
2523         * system-settings/plugins/ifcfg-fedora/reader.c
2524                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2525
2526 2008-05-19  Dan Williams  <dcbw@redhat.com>
2527
2528         * system-settings/plugins/ifcfg-fedora/reader.c
2529                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2530                         if the ifcfg doesn't specify one (rh #446527)
2531
2532 2008-05-19  Dan Williams  <dcbw@redhat.com>
2533
2534         Make the system settings service exit when the bus goes away.  Since it's
2535         a bus-activated service, it's lifetime is limited to the bus that activated
2536         it (rh #444976).
2537
2538         * system-settings/src/Makefile.am
2539           system-settings/src/nm-system-config-hal-manager-private.h
2540                 - Remove nm-system-config-hal-manager-private.h
2541
2542         * system-settings/src/nm-system-config-hal-manager.c
2543                 - (nm_system_config_hal_manager_reinit_dbus,
2544                    nm_system_config_hal_manager_deinit_dbus): remove
2545
2546         * system-settings/src/main.c
2547                 - (dbus_reconnect): remove
2548                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2549                 - (destroy_cb): just quit when the bus goes away
2550                 - (start_dbus_service, dbus_init): simplify
2551                 - (main): destroy the wired devices hash table after destroying
2552                         the HAL manager so we don't have to disconnect signals from the
2553                         HAL manager
2554
2555 2008-05-15  Tambet Ingo  <tambet@gmail.com>
2556
2557         Move crypto functions from nm-applet to libnm-util.
2558
2559         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2560         (nm_setting_802_1x_set_client_cert)
2561         (nm_setting_802_1x_set_phase2_ca_cert)
2562         (nm_setting_802_1x_set_phase2_client_cert)
2563         (nm_setting_802_1x_set_private_key)
2564         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2565         file (or private key and it's password), read the certificate data.
2566
2567         * libnm-util/crypto_nss.c: 
2568         * libnm-util/crypto_gnutls.c: 
2569         * libnm-util/crypto.[ch]: Move here from nm-applet.
2570
2571         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2572
2573         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2574         Imlement WPA-EAP configuration reading from sysconfig.
2575
2576 2008-05-16  Dan Williams  <dcbw@redhat.com>
2577
2578         * src/nm-device-802-11-wireless.c
2579                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2580                         wireless
2581
2582 2008-05-14  Dan Williams  <dcbw@redhat.com>
2583
2584         Fix Linus' bug in rh #134886
2585
2586         * src/nm-device-802-3-ethernet.c
2587                 - (constructor): request initial carrier state
2588
2589         * src/nm-netlink-monitor.c
2590                 - (nm_netlink_monitor_request_status): schedule emission of carrier
2591                         signals after refilling the link cache.  Because the refill is a 
2592                         synchronous operation, the normal message hander won't get called
2593                         since libnl has already consumed the messages.
2594                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
2595
2596 2008-05-14  Dan Williams  <dcbw@redhat.com>
2597
2598         * src/NetworkManagerSystem.c
2599                 - (nm_system_device_is_up_with_iface): clean up
2600
2601 2008-05-13  Dan Williams  <dcbw@redhat.com>
2602
2603         Fix refcounting issues over sleep/wake when a VPN connection was active that
2604         caused NM to try registering an object path for a device upon wake that was
2605         the same as an already registered object path.
2606
2607         * src/nm-device.c
2608                 - (nm_device_take_down): properly handle cases where the device is
2609                         no longer active but was just active, and therefore must be
2610                         deactivated.  When a device moves to unmanaged mode, this function
2611                         previously would not deactivate the device, because the state was
2612                         already unmanaged by the time this function was called.
2613
2614         * src/vpn-manager/nm-vpn-connection.c
2615                 - (device_state_changed): properly handle multiple devices states in
2616                         which the device is now deactivated.  Code previously didn't handle
2617                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
2618                         UNMANAGED states.
2619
2620 2008-05-13  Dan Williams  <dcbw@redhat.com>
2621
2622         * src/nm-device-private.h
2623           src/nm-device.c
2624                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
2625
2626         * src/nm-device-802-11-wireless.c
2627                 - (nm_device_802_11_wireless_set_enabled): take devices up
2628                         and down as appropriate for the rfkill state
2629
2630 2008-05-13  Dan Williams  <dcbw@redhat.com>
2631
2632         * marshallers/nm-marshal.list
2633                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
2634
2635         * system-settings/plugins/ifcfg-fedora/Makefile.am
2636           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
2637           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
2638                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
2639                         events.  Solely for use watching ifcfg files to pick up changes
2640                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
2641
2642         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2643                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
2644                         file contents change
2645                 - (finalize): clean up inotify watches
2646                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
2647                         and the connection ifcfg for changes on their hardlinks
2648                 - (files_changed_cb): proxy the changed signal back out to listeners
2649
2650         * system-settings/plugins/ifcfg-fedora/plugin.c
2651                 - (dir_changed): 
2652                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
2653                         changes
2654                 - (read_one_connection): connect to change signals on the new connection
2655                 - (dir_changed, connection_changed_handler,
2656                    handle_connection_remove_or_new): break out connection change
2657                         handling and connection new/remove handling so it can be used from
2658                         both the GFileMonitor callback and the NMIfcfgConnection changed
2659                         signals
2660
2661         * system-settings/plugins/ifcfg-fedora/reader.c
2662           system-settings/plugins/ifcfg-fedora/reader.h
2663                 - (connection_from_file): return the keyfile path the connection would use
2664
2665 2008-05-13  Tambet Ingo  <tambet@gmail.com>
2666
2667         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
2668         single PolKitContext which is shared by all. PolKitContext::unref leaks
2669         just about everything, including all open file descriptiors and results
2670         in 99% cpu usage when data arrives to any of the fds that don't belong
2671         to any context anymore.
2672
2673 2008-05-12  Dan Williams  <dcbw@redhat.com>
2674
2675         * gfilemonitor/glocaldirectorymonitor.c
2676           gfilemonitor/glocaldirectorymonitor.h
2677                 - (g_local_directory_monitor_constructor): actually subscribe to the
2678                         watch
2679                 - (_g_local_directory_monitor_new): ensure that inotify is started up
2680
2681         * gfilemonitor/glocalfilemonitor.c
2682           gfilemonitor/glocalfilemonitor.h
2683                 - (g_local_file_monitor_constructor): actually subscribe to the watch
2684                 - (_g_local_file_monitor_new): ensure that inotify is started up
2685
2686 2008-05-11  Dan Williams  <dcbw@redhat.com>
2687
2688         * configure.in
2689                 - record PolicyKit version
2690
2691         * system-settings/src/nm-polkit-helpers.c
2692                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
2693                         with PolicyKit <= 0.6
2694
2695 2008-05-11  Dan Williams  <dcbw@redhat.com>
2696
2697         Update Fedora system-settings plugin to support latest API and use
2698         GFileMonitor rather than home-rolled inotify code.
2699
2700         * system-settings/plugins/ifcfg-fedora/Makefile.am
2701           system-settings/plugins/ifcfg-fedora/common.h
2702           system-settings/plugins/ifcfg-fedora/plugin.c
2703                 - Update to latest system settings plugin API; use GIO instead of
2704                         custom inotify code; use NMIfcfgConnection objects instead of
2705                         ConnectionData structures tacked onto NMConnection objects
2706
2707         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2708           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
2709                 - Implement an NMExportedConnection subclass mapping ifcfg files to
2710                         connections
2711
2712         * system-settings/plugins/ifcfg-fedora/reader.c
2713           system-settings/plugins/ifcfg-fedora/reader.h
2714                 - Move ifcfg parsing bits here from parser.c
2715
2716         * system-settings/plugins/ifcfg-fedora/parser.c
2717           system-settings/plugins/ifcfg-fedora/parser.h
2718                 - Remove; most code moved to reader.c
2719
2720 2008-05-11  Dan Williams  <dcbw@redhat.com>
2721
2722         * configure.in
2723           Makefile.am
2724           gfilemonitor/*
2725                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
2726                         implementation, so that the same change monitoring code can be used
2727                         on systems without glib-2.14 (like Fedora 8)
2728
2729         * system-settings/plugins/keyfile/Makefile.am
2730           system-settings/plugins/keyfile/plugin.c
2731           system-settings/plugins/ifcfg-suse/Makefile.am
2732           system-settings/plugins/ifcfg-suse/plugin.c
2733                 - Use private gfilemonitor code if GIO is not present
2734
2735 2008-05-09  Tambet Ingo  <tambet@gmail.com>
2736
2737         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
2738         NMExportedConnection's 'update' and 'delete' and return error with
2739         descriptive message.
2740
2741 2008-05-08  Dan Williams  <dcbw@redhat.com>
2742
2743         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2744
2745         * src/nm-gsm-device.c
2746           src/nm-cdma-device.c
2747                 - (real_get_best_auto_connection): implement; allow autoconnection
2748                         to GSM & CDMA devices
2749
2750 2008-05-08  Tambet Ingo  <tambet@gmail.com>
2751
2752         Use PolicyKit to authorize the system settings' AddConnection method
2753         and the system settings connections' Update and Delete methods.
2754         
2755         * libnm-glib/nm-settings.c (impl_exported_connection_update)
2756         (impl_exported_connection_delete, nm_exported_connection_update)
2757         (nm_exported_connection_delete): Return boolean and fill GError
2758         to notify the callers of the reasons why it might have failed.
2759
2760         * libnm-glib/nm-dbus-settings-system.c
2761         (nm_dbus_settings_system_add_connection): Return the error from dbus
2762         call so that the callers can see why it failed.
2763
2764         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
2765         signatures.
2766
2767         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
2768
2769         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
2770         abstract base class that checks PolicyKit permissions.
2771
2772         * system-settings/src/dbus-settings.c:
2773         (impl_settings_add_connection): Check the policy before carring out
2774         the request.
2775
2776         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
2777         Inherit from NMSysconfigConnection, check the policies before
2778         allowing updating or removing.
2779
2780         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
2781         Inherit from NMSysconfigConnection.
2782
2783         * introspection/nm-exported-connection.xml: Annotate "Update" and 
2784         "Delete" methods with async flag so that the implementations can get
2785         access to DBusGMethodInvocation.
2786
2787         * system-settings/src/dbus-settings.c 
2788         (settings_add_connection_check_privileges): Implement.
2789         (impl_settings_add_connection): Check the privileges before adding a new
2790         connection. Improve error reporting.
2791
2792         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
2793         async so that the implementation can access DBusGMethodInvocation.
2794
2795         * configure.in: Check for PolicyKit.
2796
2797         * policy/org.freedesktop.network-manager-settings.system.policy: 
2798         New file.
2799
2800         * policy/Makefile.am: Install the policy file.
2801
2802         * configure.in: Add 'policy' subdir.
2803
2804 2008-05-08  Tambet Ingo  <tambet@gmail.com>
2805
2806         Rewrite the suse system settings plugin.
2807
2808         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
2809
2810         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
2811
2812         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
2813
2814         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
2815
2816         * system-settings/src/dbus-settings.c: Fix connection reference counting.
2817
2818         * system-settings/src/main.c (load_plugins): Improve error reporting.
2819
2820         * system-settings/src/sha1.[ch] Add.
2821
2822         * system-settings/src/Makefile.am: Add sha1[ch] to build.
2823
2824 2008-05-07  Dan Williams  <dcbw@redhat.com>
2825
2826         * system-settings/plugins/keyfile/reader.c
2827                 - (read_one_setting_value): handle IP address items separately
2828                 - (read_array_of_uint): read IPv4 DNS option as a string array
2829                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
2830                         array
2831
2832         * system-settings/plugins/keyfile/writer.c
2833                 - (write_setting_value): handle IP address items separately
2834                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
2835                         not an array of uint, so that it's user-editable
2836                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
2837                         arrays, so they are user-editable
2838
2839 2008-05-07  Dan Williams  <dcbw@redhat.com>
2840
2841         * system-settings/plugins/keyfile/Makefile.am
2842                 - Change location of the keyfile plugin settings to
2843                         /etc/NetworkManager/system-connections
2844
2845 2008-05-05  Tambet Ingo  <tambet@gmail.com>
2846
2847         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
2848
2849         * system-settings/plugins/keyfile/plugin.c: Work with
2850         NMKeyfileConnections.
2851
2852         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
2853         Plugins are supposed to return NMExportedConnections now and handle the
2854         updated(), removed(), and GetSecrets().
2855         Store the internal list of connections in hash table to make it easier
2856         to find duplicates.
2857
2858 2008-05-07  Tambet Ingo  <tambet@gmail.com>
2859
2860         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
2861         for multiple IP addresses.
2862
2863 2008-05-07  Tambet Ingo  <tambet@gmail.com>
2864
2865         Patch from André Lemos.
2866
2867         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
2868         corruption.
2869
2870 2008-05-06  Dan Williams  <dcbw@redhat.com>
2871
2872         * src/dhcp-manager/nm-dhcp-manager.c
2873                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
2874                         NMIP4Config to support multiple IP addresses
2875
2876         * src/NetworkManagerUtils.c
2877                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
2878
2879         * src/nm-ip4-config.c
2880           src/nm-ip4-config.h
2881                 - Store a list of IPv4 address/netmask/gateway tuples
2882                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
2883                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
2884                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
2885                    nm_ip4_config_set_address): remove
2886                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
2887                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
2888                         new functions; handle multiple IPv4 addresses
2889
2890         * src/nm-device.c
2891           src/ppp-manager/nm-ppp-manager.c
2892           src/vpn-manager/nm-vpn-connection.c
2893           src/NetworkManagerPolicy.c
2894           test/nm-tool.c
2895           libnm-glib/libnm-glib-test.c
2896                 - update for changes to NMIP4Config for multiple IPv4 addresses
2897
2898         * src/NetworkManagerSystem.c
2899                 - (nm_system_device_set_ip4_route): don't add the route if any address
2900                         is on the same subnet as the destination
2901                 - (check_one_address): ignore the exact match, just match family and
2902                         interface index
2903                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
2904                         an interface
2905                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
2906                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
2907
2908         * introspection/nm-ip4-config.xml
2909                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
2910                 - Add 'addresses' property which is an array of (uuu) tuples of
2911                         address/netmask/gateway
2912
2913         * libnm-util/nm-setting-ip4-config.c
2914                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
2915
2916         * libnm-glib/nm-ip4-config.c
2917           libnm-glib/nm-ip4-config.h
2918                 - Handle D-Bus interface changes to support multiple IP addresses
2919
2920 2008-05-06  Dan Williams  <dcbw@redhat.com>
2921
2922         * libnm-util/nm-utils.c
2923           libnm-util/nm-utils.h
2924                 - (nm_utils_ip4_addresses_from_gvalue,
2925                    nm_utils_ip4_addresses_to_gvalue): new functions
2926
2927 2008-05-06  Tambet Ingo  <tambet@gmail.com>
2928
2929         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
2930         the returned connection paths.
2931
2932 2008-05-05  Tambet Ingo  <tambet@gmail.com>
2933
2934         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
2935         "PropertiesChanged" signal signature.
2936
2937         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
2938         defined in nm-dbus-glib-types.h.
2939         Don't register the connection on dbus, we're a proxy class to 
2940         communicate with an already registered connection over dbus.
2941
2942 2008-04-30  Tambet Ingo  <tambet@gmail.com>
2943
2944         Implement new subclasses of NMSettings and NMExportedConnection to make
2945         it easier for the applet to access and modify system settings.
2946
2947         * libnm-glib/nm-dbus-connection.[ch]:
2948         * libnm-glib/nm-dbus-settings.[ch]:
2949         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
2950
2951         * libnm-glib/Makefile.am: Add the new files to build, generate some more
2952         bindings and glue.
2953
2954         * include/NetworkManager.h: Define the system settings DBus interface.
2955
2956 2008-04-30  Tambet Ingo  <tambet@gmail.com>
2957
2958         Implement additional C API for exported connections to make them identical
2959         with the DBus API. Change the (list_connections) virtual function to be
2960         more usable from C - instead of requiring implementers to return a GPtrArray
2961         of dbus paths, return a list of connections.
2962
2963         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
2964         (nm_settings_list_connections):
2965         (nm_exported_connection_new):
2966         (nm_exported_connection_update):
2967         (nm_exported_connection_delete): Implement.
2968
2969         (impl_settings_list_connections):
2970         (impl_exported_connection_update):
2971         (impl_exported_connection_delete): Use the new public functions to make 
2972         sure the C and dbus interfaces stay in sync.
2973
2974         * system-settings/src/dbus-settings.c (list_connections): Return a list of
2975         connections.
2976
2977 2008-05-02  Dan Williams  <dcbw@redhat.com>
2978
2979         * system-settings/plugins/ifcfg-fedora/plugin.c
2980                 - (dispose): use right unref call on the DBusGConnection
2981
2982 2008-05-02  Dan Williams  <dcbw@redhat.com>
2983
2984         * src/nm-serial-device.c
2985                 - (find_terminator): don't compare the whole line, just the size of the
2986                         terminator, since some modems put stuff after the terminator, like
2987                         "CONNECT 9600"
2988
2989 2008-05-01  Dan Williams  <dcbw@redhat.com>
2990
2991         Patch from Michael Biebl <biebl@debian.org>
2992
2993         * callouts/Makefile.am
2994           callouts/org.freedesktop.nm_dispatcher.service.in
2995           system-settings/src/Makefile.am
2996           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
2997                 - use the right install location for dbus-activated stuff
2998
2999 2008-04-30  Dan Williams  <dcbw@redhat.com>
3000
3001         * src/nm-gsm-device.c
3002                 - (enter_pin): fix setting name passed to applets when asking for a GSM
3003                         PIN or PUK
3004
3005 2008-04-30  Dan Williams  <dcbw@redhat.com>
3006
3007         * src/nm-manager.c
3008                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3009
3010 2008-04-30  Dan Williams  <dcbw@redhat.com>
3011
3012         * src/nm-device-802-3-ethernet.c
3013           src/nm-device-802-11-wireless.c
3014                 - (real_is_up): return true instead of chaining up to unimplemented
3015                         parent method
3016
3017 2008-04-30  Dan Williams  <dcbw@redhat.com>
3018
3019         * src/NetworkManagerSystem.c
3020           src/NetworkManagerSystem.h
3021                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3022                         functions to check device flags for IFF_UP
3023
3024         * src/nm-serial-device.c
3025                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3026                         implement is_up
3027
3028         * src/nm-device-802-3-ethernet.c
3029           src/nm-device-802-11-wireless.c
3030                 - (real_hw_is_up): call nm_system_device_is_up()
3031
3032         * src/nm-device.c
3033                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3034                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3035                         does not implement
3036
3037 2008-04-29  Dan Williams  <dcbw@redhat.com>
3038
3039         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3040
3041         * marshallers/nm-marshal.list
3042                 - Add marshaller
3043
3044         * src/NetworkManager.c
3045                 - (main): let the NMManager handle the NMHalManager
3046
3047         * src/nm-hal-manager.c
3048           src/nm-hal-manager.h
3049                 - convert to a GObject, and emit singals when stuff changes.  Let the
3050                         NMManager handle the signals, instead of the NMHalManager calling
3051                         into the NMManager.  
3052
3053         * src/nm-manager.c
3054           src/nm-manager.h
3055                 - (remove_one_device): consolidate device removals here
3056                 - (dispose): use remove_one_device()
3057                 - (nm_manager_get_device_by_udi): make static
3058                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3059                         manager for devices at startup or wakeup time
3060                 - (nm_manager_new): create and monitor the HAL manager
3061                 - (hal_manager_udi_added_cb): new function; do what
3062                         nm_manager_add_device() used to do when signalled by the hal manager
3063                 - (hal_manager_udi_removed_cb): new function; do what
3064                         nm_manager_remove_device() used to do when signalled by the hal
3065                         manager
3066                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3067                         hal manager
3068                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3069                         in our device list that aren't known to HAL
3070                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3071                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3072                         commits ago
3073                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3074                    nm_manager_activation_pending, nm_manager_wireless_enabled,
3075                    nm_manager_wireless_hardware_enabled,
3076                    nm_manager_set_wireless_hardware_enabled): remove, unused
3077
3078 2008-04-28  Dan Williams  <dcbw@redhat.com>
3079
3080         Fix the device up/down ambiguities.  Up/down state used to be a
3081         conglomeration of hardware state (IFF_UP) and any device-specific things
3082         (supplicant, periodic timers, etc) that the device used to indicate
3083         readiness.  Unfortunately, if the hardware was already IFF_UP for some
3084         reason, then the device specific stuff wouldn't get run, and the device
3085         would be stuck.
3086
3087         * src/nm-device.c
3088           src/nm-device.h
3089                 - Create hw_is_up, hw_bring_up, and hw_take_down
3090                 - Rename bring_down -> take_down
3091                 - (real_hw_is_up): check interface flags for IFF_UP
3092                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3093                 - (nm_device_is_up): make static; only used locally
3094                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3095                         if the device is already up; if the device isn't up, bring it up
3096                 - (nm_device_hw_take_down): just take down hardware
3097                 - (nm_device_bring_up): bring up HW first, then device specific stuff
3098                 - (nm_device_take_down): always deactivate device when called; always
3099                         try to take hardware down too
3100                 - (nm_device_state_changed): take device down when entering unmanaged
3101                         state from a higher state
3102
3103         * src/nm-device-802-11-wireless.c
3104                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3105                         check IFF_UP really
3106                 - (real_take_down, supplicant_iface_state_cb_handler, 
3107                    supplicant_iface_connection_state_cb_handler,
3108                    supplicant_mgr_state_cb_handler): fix some messages
3109
3110         * src/nm-device-802-3-ethernet.c
3111                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3112                         check IFF_UP really
3113
3114 2008-04-28  Dan Williams  <dcbw@redhat.com>
3115
3116         * src/nm-manager.c
3117           src/nm-manager.h
3118                 - (nm_manager_error_get_type): add new error
3119                 - (nm_manager_remove_device): don't bother taking down the device here,
3120                         the state change from unmanaging the device will do it
3121                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3122                         uses it; when going to sleep, just unmanage the device instead of
3123                         taking it down, because stuff will cleaned up correctly when the
3124                         device gets unmanaged
3125
3126 2008-04-28  Dan Williams  <dcbw@redhat.com>
3127
3128         * src/nm-hal-manager.c
3129                 - (add_initial_devices): convert to a GSourceFunc prototype
3130                 - (nm_manager_state_changed): when coming out of sleep, punt the
3131                         device re-addition to an idle handler to let D-Bus events go out
3132                         first, fixing a potential dbus-glib assert if the old device was
3133                         not yet disposed (due to references held while emitting the D-Bus
3134                         signals) but the new device was found, because the mainloop didn't
3135                         run between signal emission and add_initial_devices()
3136
3137 2008-04-27  Dan Williams  <dcbw@redhat.com>
3138
3139         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3140
3141         * initscript/paldo/NetworkManager.in
3142           initscript/SUSE/networkmanager.in
3143                 - Remove last bits of dhcdbd
3144
3145 2008-04-27  Dan Williams  <dcbw@redhat.com>
3146
3147         * src/nm-device-802-11-wireless.c
3148                 - (link_timeout_cb): don't ask for secrets when disconnected during
3149                         association/authentication phase, drivers are still just too crappy
3150
3151 2008-04-27  Dan Williams  <dcbw@redhat.com>
3152
3153         * Makefile.am
3154           configure.in
3155           dispatcher-daemon/Makefile.am
3156           dispatcher-daemon/NetworkManagerDispatcher.c
3157           initscript/Arch/Makefile.am
3158           initscript/Arch/networkmanager-dispatcher.in
3159           initscript/Gentoo/Makefile.am
3160           initscript/Gentoo/NetworkManagerDispatcher.in
3161           initscript/Mandriva/Makefile.am
3162           initscript/Mandriva/networkmanagerdispatcher.in
3163           initscript/RedHat/Makefile.am
3164           initscript/RedHat/NetworkManagerDispatcher.in
3165           initscript/SUSE/Makefile.am
3166           initscript/SUSE/networkmanager-dispatcher.in
3167           initscript/Slackware/Makefile.am
3168           initscript/Slackware/rc.networkmanager-dispatcher.in
3169           initscript/paldo/Makefile.am
3170           initscript/paldo/NetworkManagerDispatcher.in
3171           man/Makefile.am
3172           man/NetworkManagerDispatcher.8.in
3173                 - Remove the dispatcher daemon
3174
3175 2008-04-27  Dan Williams  <dcbw@redhat.com>
3176
3177         * callouts/Makefile.am
3178           callouts/nm-dispatcher-action.c
3179           callouts/nm-dispatcher-action.h
3180           callouts/nm-dispatcher.conf
3181           callouts/nm-dispatcher.xml
3182           callouts/org.freedesktop.nm_dispatcher.service
3183                 - Re-implement the dispatcher as a system-bus activated service that
3184                         NM calls on-demand, rather than an always running daemon
3185
3186         * src/Makefile.am
3187                 - Add callouts dir to includes to pick up dispatcher defines
3188
3189         * src/nm-device.c
3190                 - (nm_device_state_changed): call dispatcher on device activated/
3191                         deactivated
3192
3193         * src/vpn-manager/nm-vpn-connection.c
3194                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3195                         go up and down
3196
3197         * src/NetworkManagerUtils.c
3198           src/NetworkManagerUtils.h
3199                 - (nm_utils_call_dispatcher): helper to call dispatcher
3200
3201 2008-04-27  Dan Williams  <dcbw@redhat.com>
3202
3203         * src/NetworkManagerUtils.c
3204           src/NetworkManagerUtils.h
3205                 - remove unneeded includes
3206                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3207                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3208                    nm_timeval_cmp, nm_timeval_add): remove, unused
3209                 - clean up formatting
3210                 - (nm_spawn_process): de-uglify
3211
3212         * src/nm-device-802-11-wireless.c
3213                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3214
3215 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
3216
3217         * initscript/Gentoo/NetworkManager.in:
3218                 Fix for starting the daemon.
3219
3220 2008-04-25  Dan Williams  <dcbw@redhat.com>
3221
3222         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3223
3224         * src/NetworkManagerSystem.c
3225                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3226
3227 2008-04-25  Dan Williams  <dcbw@redhat.com>
3228
3229         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3230
3231         * src/NetworkManagerSystem.c
3232                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3233                         implementation of nm_system_device_replace_default_route()
3234
3235         * src/NetworkManagerPolicy.c
3236                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3237
3238         * src/backends/NetworkManagerArch.c
3239           src/backends/NetworkManagerDebian.c
3240           src/backends/NetworkManagerFrugalware.c
3241           src/backends/NetworkManagerGeneric.c
3242           src/backends/NetworkManagerGeneric.h
3243           src/backends/NetworkManagerGentoo.c
3244           src/backends/NetworkManagerMandriva.c
3245           src/backends/NetworkManagerPaldo.c
3246           src/backends/NetworkManagerRedHat.c
3247           src/backends/NetworkManagerSlackware.c
3248           src/backends/NetworkManagerSuSE.c
3249                 - (nm_system_device_replace_default_route): remove
3250
3251 2008-04-25  Dan Williams  <dcbw@redhat.com>
3252
3253         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3254
3255         * src/NetworkManagerSystem.c
3256                 - (validate_ip4_route): remove; use nl_addr_parse() instead
3257                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3258                         replace nm_system_device_add_route_via_device_with_iface() in the
3259                         backends
3260
3261         * src/backends/NetworkManagerArch.c
3262           src/backends/NetworkManagerDebian.c
3263           src/backends/NetworkManagerFrugalware.c
3264           src/backends/NetworkManagerGeneric.c
3265           src/backends/NetworkManagerGeneric.h
3266           src/backends/NetworkManagerGentoo.c
3267           src/backends/NetworkManagerMandriva.c
3268           src/backends/NetworkManagerPaldo.c
3269           src/backends/NetworkManagerRedHat.c
3270           src/backends/NetworkManagerSlackware.c
3271           src/backends/NetworkManagerSuSE.c
3272                 - Remove nm_system_device_add_route_via_device_with_iface()
3273
3274 2008-04-25  Dan Williams  <dcbw@redhat.com>
3275
3276         * system-settings/plugins/ifcfg-fedora/parser.c
3277                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3278
3279 2008-04-24  Dan Williams  <dcbw@redhat.com>
3280
3281         * dispatcher-daemon/NetworkManagerDispatcher.c
3282                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3283
3284 2008-04-24  Dan Williams  <dcbw@redhat.com>
3285
3286         * initscript/RedHat/NetworkManager.in
3287           initscript/RedHat/NetworkManagerDispatcher.in
3288                 - Be active at runlevel 2
3289                 - Adjust priorities earlier
3290
3291 2008-04-22  Dan Williams  <dcbw@redhat.com>
3292
3293         * src/NetworkManagerPolicy.c
3294                 - (update_routing_and_dns): when checking for a gateway, look at the
3295                         composite IP4 config, not the connection's ip4-config setting, which
3296                         doesn't include DHCP-returned information
3297
3298 2008-04-22  Tambet Ingo  <tambet@gmail.com>
3299
3300         Implement GKeyFile system settings plugin.
3301         Implement writing system settings (currently supported only by GKeyFile plugin).
3302
3303         * system-settings/src/main.c: 
3304         * system-settings/src/dbus-settings.c: Move the communication with plugins
3305         from main.c to dbus-settings.c. Makes it possible to talk to all registered
3306         plugins for adding/updating/removing connections.
3307
3308         * system-settings/src/nm-system-config-interface.c
3309         (nm_system_config_interface_add_connection): Implement
3310         (nm_system_config_interface_update_connection): Implement.
3311         (nm_system_config_interface_remove_connection): Implement.
3312
3313         * system-settings/plugins/keyfile/Makefile.am:
3314         * system-settings/plugins/keyfile/plugin.[ch]:
3315         * system-settings/plugins/keyfile/writer.[ch]:
3316         * system-settings/plugins/keyfile/reader.[ch]: Implement.
3317
3318         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3319
3320         * configure.in: Generate GKeyFile Makefile.
3321
3322         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3323         corruption, need to duplicate the returned string.
3324         (impl_exported_connection_update): Implement.
3325         (impl_exported_connection_delete): Implement.
3326
3327         * introspection/nm-settings-system.xml: Add "AddConnection" method.
3328
3329         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3330
3331 2008-04-22  Dan Williams  <dcbw@redhat.com>
3332
3333         Patch from Charles R. Anderson (cra@wpi.edu)
3334
3335         * src/NetworkManagerPolicy.c
3336                 - (update_routing_and_dns): don't select devices without a gateway
3337                         as having the default route (rh #437338)
3338
3339 2008-04-21  Dan Williams  <dcbw@redhat.com>
3340
3341         * src/nm-activation-request.c
3342           src/nm-activation-request.h
3343                 - (dispose): ensure to disconnect from the device's state-changed signal
3344                         when appropriate so the signal doesn't get handled by an already
3345                         disposed NMActRequest
3346                 - (device_state_changed): update is_default here too just to make sure
3347                         default is only True when the child device is activated
3348                 - (nm_act_request_set_default): new function
3349
3350         * src/NetworkManagerPolicy.c
3351                 - (update_routing_and_dns): set 'default' on the active connection which
3352                         has the default route and DNS
3353
3354 2008-04-21  Dan Williams  <dcbw@redhat.com>
3355
3356         * src/NetworkManagerPolicy.c
3357                 - (device_state_changed): update routing and DNS when a device goes
3358                         into unmanaged or unavailable states too (like rfkill or carrier loss)
3359
3360 2008-04-21  Dan Williams  <dcbw@redhat.com>
3361
3362         * include/NetworkManager.h
3363                 - Add NMActiveConnectionState enum
3364
3365         * introspection/nm-active-connection.xml
3366           introspection/nm-vpn-connection.xml
3367                 - Add 'State' property for overall active connection state
3368                 - Add 'Default' property, when True means this active connection
3369                         has the default route
3370                 - Add PropertyChanged signals so changes actually go out over the bus
3371
3372         * src/nm-active-connection.h
3373                 - Add defines for State & Default properties
3374
3375         * src/nm-activation-request.c
3376                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3377                         signal to determine active connection state
3378
3379         * src/vpn-manager/nm-vpn-connection.c
3380           src/vpn-manager/nm-vpn-connection.h
3381           src/vpn-manager/nm-vpn-manager.c
3382           src/vpn-manager/nm-vpn-service.c
3383                 - Rename old 'state' to 'vpn-state'
3384                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3385                 - Add 'state' and 'default' properties, hook up to the vpn connection's
3386                         'vpn-state-changed' signal
3387
3388         * libnm-glib/nm-active-connection.c
3389           libnm-glib/nm-active-connection.h
3390                 - Add new 'state' and 'default' properties and accessors
3391
3392         * libnm-glib/nm-vpn-connection.c
3393           libnm-glib/nm-vpn-connection.h
3394                 - Rename old 'state' property to 'vpn-state'
3395                 - Add new 'state' and 'default' properties and accessors
3396
3397 2008-04-21  Dan Williams  <dcbw@redhat.com>
3398
3399         * src/nm-ip4-config.c
3400                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3401                         not specified (rh #443474)
3402
3403 2008-04-20  Dan Williams  <dcbw@redhat.com>
3404
3405         * src/NetworkManagerUtils.c
3406           src/NetworkManagerUtils.h
3407                 - (nm_utils_merge_ip4_config): new function; merge settings from an
3408                         NMSettingIP4Config to an NMIP4Config object
3409
3410         * src/nm-device.c
3411                 - (merge_ip4_config): move to NetworkManagerUtils.c
3412
3413         * src/vpn-manager/nm-vpn-connection.c
3414                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3415                         too
3416
3417 2008-04-18  Dan Williams  <dcbw@redhat.com>
3418
3419         * libnm-util/nm-setting-ppp.c
3420           libnm-util/nm-setting-ppp.h
3421                 - Add 'no-vj-comp' option for TCP header compression
3422                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3423                         uint32
3424
3425 2008-04-18  Dan Williams  <dcbw@redhat.com>
3426
3427         * libnm-util/nm-setting-ppp.c
3428           libnm-util/nm-setting-ppp.h
3429           src/ppp-manager/nm-ppp-manager.c
3430                 - Add 'refuse-pap' and 'refuse-mschapv2' options
3431
3432 2008-04-18  Dan Williams  <dcbw@redhat.com>
3433
3434         * libnm-util/nm-setting-ppp.c
3435           libnm-util/nm-setting-ppp.h
3436           src/ppp-manager/nm-ppp-manager.c
3437                 - Remove the 'usepeerdns' option and always request DNS servers from
3438                         the PPP server; the connection chooses to use/override/ignore the
3439                         DNS servers returned from the PPP server
3440
3441 2008-04-18  Dan Williams  <dcbw@redhat.com>
3442
3443         * libnm-util/nm-setting-ppp.c
3444           libnm-util/nm-setting-ppp.h
3445           src/ppp-manager/nm-ppp-manager.c
3446                 - Remove the 'require-mppc' option, because pppd doesn't support it and
3447                         it seems to have been an erroneous addition to the PPTP plugin in
3448                         the first place (from which the ppp-manager is derived)
3449
3450 2008-04-17  Dan Williams  <dcbw@redhat.com>
3451
3452         * libnm-util/nm-setting-pppoe.c
3453                 - (verify): require a PPP setting too
3454
3455         * src/ppp-manager/nm-ppp-manager.c
3456                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3457                         segfaulting
3458
3459 2008-04-17  Dan Williams  <dcbw@redhat.com>
3460
3461         * src/nm-device.c
3462                 - (nm_device_state_changed): do deactivation and and promotion to
3463                         unavailable here, so that the device gets cleaned up before the
3464                         manager runs and starts emitting signals; do the
3465                         FAILED->DISCONNECTED transition from an idle handler rather than
3466                         immediately to guard against recursion
3467                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3468                         FAILED->DISCONNECTED handler if it's scheduled
3469
3470 2008-04-17  Dan Williams  <dcbw@redhat.com>
3471
3472         * src/nm-device-802-11-wireless.c
3473                 - (state_changed_cb): clear AP list when device transitions to
3474                         unavailable or unmanaged
3475                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3476                         since this is already done in device_cleanup()
3477                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3478                         isn't available or managed
3479                 - (device_cleanup): use remove_all_aps()
3480                 - (remove_all_aps): consolidate code removing all APs
3481
3482 2008-04-17  Dan Williams  <dcbw@redhat.com>
3483
3484         * src/nm-serial-device.c
3485           src/nm-serial-device.h
3486                 - (wait_for_reply_got_data): break input into lines, and search each
3487                         line for responses _and_ terminator strings; also make sure that
3488                         the read loop doesn't continue after the timeout is supposed to fire
3489                 - (nm_serial_device_wait_for_reply): take an array of terminators too
3490
3491         * src/nm-gsm-device.c
3492           src/nm-cdma-device.c
3493                 - Send terminators to nm_serial_device_wait_for_reply()
3494
3495 2008-04-16  Dan Williams  <dcbw@redhat.com>
3496
3497         Patch from 陈鑫 <znscnchen@gmail.com>
3498
3499         * src/ppp-manager/nm-pppd-plugin.c
3500                 - (get_credentials): return correct value for success; handle case where
3501                         pppd just does some checking but doesn't want a password
3502                 - (plugin_init): make CHAP work too
3503
3504 2008-04-16  Dan Williams  <dcbw@redhat.com>
3505
3506         Patch from 陈鑫 <znscnchen@gmail.com>
3507
3508         * src/ppp-manager/nm-ppp-manager.c
3509                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3510
3511 2008-04-16  Dan Williams  <dcbw@redhat.com>
3512
3513         Patch from 陈鑫 <znscnchen@gmail.com>
3514
3515         * src/nm-device-802-3-ethernet.c
3516                 - (real_deactivate_quickly): clear the IP interface name on
3517                         deactivation, otherwise the wrong interface might get used later
3518                         for routing and IP management
3519
3520 2008-04-15  Dan Williams  <dcbw@redhat.com>
3521
3522         * libnm-glib/nm-device.c
3523                 - (get_product_and_vendor): handle serial devices correctly
3524                 - (nm_device_update_description): pass device to get_product_and_vendor()
3525
3526 2008-04-15  Dan Williams  <dcbw@redhat.com>
3527
3528         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3529
3530         * src/NetworkManagerSystem.h
3531           src/backends/NetworkManagerArch.c
3532           src/backends/NetworkManagerDebian.c
3533           src/backends/NetworkManagerFrugalware.c
3534           src/backends/NetworkManagerGeneric.c
3535           src/backends/NetworkManagerGeneric.h
3536           src/backends/NetworkManagerGentoo.c
3537           src/backends/NetworkManagerMandriva.c
3538           src/backends/NetworkManagerPaldo.c
3539           src/backends/NetworkManagerRedHat.c
3540           src/backends/NetworkManagerSlackware.c
3541           src/backends/NetworkManagerSuSE.c
3542           src/nm-device.c
3543                 - (nm_generic_device_add_ip6_link_address,
3544                    nm_system_device_add_ip6_link_address): remove
3545
3546 2008-04-15  Dan Williams  <dcbw@redhat.com>
3547
3548         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3549
3550         * src/backends/NetworkManagerArch.c
3551           src/backends/NetworkManagerDebian.c
3552           src/backends/NetworkManagerFrugalware.c
3553           src/backends/NetworkManagerGeneric.c
3554           src/backends/NetworkManagerGeneric.h
3555           src/backends/NetworkManagerGentoo.c
3556           src/backends/NetworkManagerMandriva.c
3557           src/backends/NetworkManagerPaldo.c
3558           src/backends/NetworkManagerRedHat.c
3559           src/backends/NetworkManagerSlackware.c
3560           src/backends/NetworkManagerSuSE.c
3561           src/NetworkManagerSystem.h
3562                 - flush_routes -> flush_ip4_routes
3563                 - flush_addresses -> flush_ip4_addresses
3564
3565         * src/NetworkManagerSystem.c
3566           src/nm-device.c
3567           src/vpn-manager/nm-vpn-connection.c
3568                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3569
3570 2008-04-15  Dan Williams  <dcbw@redhat.com>
3571
3572         Remove exposure of wireless-tools mode types in the API.
3573
3574         * include/NetworkManager.h
3575                 - Define NM80211Mode enum
3576
3577         * introspection/generic-types.xml
3578                 - Describe NM_802_11_MODE enum
3579                 - Remove IW_MODE_* enum
3580
3581         * introspection/nm-access-point.xml
3582           libnm-glib/nm-access-point.c
3583           libnm-glib/nm-access-point.h
3584                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3585
3586         * introspection/nm-device-802-11-wireless.xml
3587           libnm-glib/nm-device-802-11-wireless.c
3588           libnm-glib/nm-device-802-11-wireless.h
3589                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3590
3591         * libnm-util/nm-setting-wireless.c
3592           src/NetworkManagerAP.c
3593           src/NetworkManagerAP.h
3594           src/nm-device-802-11-wireless.c
3595           src/nm-device-802-11-wireless.h
3596           test/nm-tool.c
3597                 - Use NM80211Mode not IW_MODE_*
3598
3599 2008-04-15  Dan Williams  <dcbw@redhat.com>
3600
3601         Enhance nm-online based on a patch from Bill Nottingham.
3602
3603         * test/nm-online.c
3604                 - Add a '-q' option
3605                 - Add help messages and option summary
3606                 - Add long-format options
3607                 - Add a '-x' option to exit if NM isn't running or isn't connecting
3608
3609 2008-04-15  Tambet Ingo  <tambet@gmail.com>
3610
3611         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
3612
3613         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
3614
3615 2008-04-15  Dan Williams  <dcbw@redhat.com>
3616
3617         * nm-setting-ip4-config.c
3618                 - (ip4_addresses_from_gvalue): handle NULL address array
3619
3620         * nm-setting-8021x.c
3621                 - (verify_tls, verify_ttls): warn on failed verification
3622
3623 2008-04-10  Dan Williams  <dcbw@redhat.com>
3624
3625         * src/nm-gsm-device.c
3626                 - (automatic_registration): accept "+CREG: 0,0"
3627                 - (automatic_registration_response): fail on "+CREG: 0,0"
3628
3629 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3630
3631         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
3632
3633 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3634
3635         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
3636         Make it compile again by commenting out broken code that at first didn't work and
3637         now didn't compile either.
3638
3639 2008-04-08  Dan Williams  <dcbw@redhat.com>
3640
3641         * libnm-glib/nm-object-cache.c
3642           libnm-glib/nm-settings.c
3643           src/dhcp-manager/nm-dhcp-manager.c
3644           system-settings/plugins/ifcfg-fedora/plugin.c
3645           system-settings/plugins/ifcfg-suse/plugin.c
3646           system-settings/src/nm-system-config-hal-manager.c
3647           libnm-util/nm-utils.c
3648                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
3649                         not threadsafe anyway
3650
3651 2008-04-08  Dan Williams  <dcbw@redhat.com>
3652
3653         * system-settings/src/main.c
3654                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
3655                         callbacks take a device type too
3656
3657 2008-04-08  Dan Williams  <dcbw@redhat.com>
3658
3659         The system settings service will now create a new default DHCP connection
3660         for wired devices that have no existing applicable connection.
3661
3662         * system-settings/src/nm-system-config-hal-manager.c
3663           system-settings/src/nm-system-config-hal-manager.h
3664                 - (nm_system_config_hal_manager_get_type_for_udi): new function
3665
3666         * system-settings/src/dbus-settings.c
3667           system-settings/src/dbus-settings.h
3668                 - (nm_sysconfig_settings_get_connections): new function
3669                 - (nm_sysconfig_settings_is_device_managed): new function
3670
3671         * system-settings/src/main.c
3672                 - (load_stuff): check for wired devices that need a default connection
3673                 - (get_details_for_udi): get interface and MAC address from HAL
3674                 - (add_default_dhcp_connection): add a default connection for a wired
3675                         device if needed
3676                 - (device_added_cb, device_removed_cb): do the right thing with
3677                         wired devices and their default connections on HAL device events
3678
3679 2008-04-07  Dan Williams  <dcbw@redhat.com>
3680
3681         * libnm-glib/nm-device.c
3682           libnm-glib/nm-device.h
3683                 - Proxy the 'managed' property
3684
3685 2008-04-07  Dan Williams  <dcbw@redhat.com>
3686
3687         * src/nm-gsm-device.c
3688           src/nm-cdma-device.c
3689                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3690                         handler to transition to DISCONNECTED
3691
3692 2008-04-07  Dan Williams  <dcbw@redhat.com>
3693
3694         Patch from Bill Nottingham
3695
3696         * dispatcher-daemon/NetworkManagerDispatcher.c
3697                 - ignore backup/packaging crufy (rh #440143)
3698
3699 2008-04-07  Dan Williams  <dcbw@redhat.com>
3700
3701         * include/NetworkManager.h
3702                 - Remove the DOWN and CANCELLED device states
3703                 - Add UNMANAGED and UNAVAILABLE device states
3704                 - Document the device states
3705
3706         * introspection/nm-device.xml
3707           src/nm-device-interface.c
3708           src/nm-device-interface.h
3709                 - Add the 'managed' property
3710
3711         * test/nm-tool.c
3712                 - (detail_device): print out device state
3713
3714         * src/NetworkManagerSystem.h
3715           src/backends/NetworkManagerArch.c
3716           src/backends/NetworkManagerDebian.c
3717           src/backends/NetworkManagerFrugalware.c
3718           src/backends/NetworkManagerGentoo.c
3719           src/backends/NetworkManagerMandriva.c
3720           src/backends/NetworkManagerPaldo.c
3721           src/backends/NetworkManagerRedHat.c
3722           src/backends/NetworkManagerSlackware.c
3723           src/backends/NetworkManagerSuSE.c
3724                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
3725                    nm_system_device_free_system_config): remove; they were unused and
3726                         their functionality should be re-implemented in each distro's
3727                         system settings service plugin 
3728
3729         * src/nm-gsm-device.c
3730           src/nm-gsm-device.h
3731           src/nm-cdma-device.c
3732           src/nm-cdma-device.h
3733                 - (*_new): take the 'managed' argument
3734
3735         * src/nm-device.c
3736                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
3737                 - (nm_device_init): start in unmanaged state, not disconnected
3738                 - (constructor): don't start device until the system settings service
3739                         has had a chance to figure out if the device is managed or not
3740                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
3741                         don't set device state here, let callers handle that as appropriate
3742                 - (nm_device_dispose): don't touch the device if it's not managed
3743                 - (set_property, get_property, nm_device_class_init): implement the
3744                         'managed' property
3745                 - (nm_device_state_changed): bring the device up if its now managed,
3746                         and deactivate it if it used to be active
3747                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
3748                         with the managed state
3749
3750         * src/nm-hal-manager.c
3751                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
3752                         take initial managed state and pass it along to device constructors
3753                 - (create_device_and_add_to_list): get managed state and pass to
3754                         type creators
3755
3756         * src/nm-device-802-11-wireless.c
3757                 - (real_can_activate): fold in most of
3758                         nm_device_802_11_wireless_can_activate()
3759                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
3760                 - (link_timeout_cb): instead of deactivating, change device state and
3761                         let the device state handler to it
3762                 - (real_update_hw_address): clean up
3763                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3764                         handler to transition to DISCONNECTED if the device isn't rfkilled
3765
3766         * src/nm-device-802-3-ethernet.c
3767                 - (set_carrier): move above callers and get rid of prototype
3768                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
3769                         idle handler to transition to DISCONNECTED if the device has a
3770                         carrier
3771                 - (real_update_hw_address): clean up
3772                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
3773                         deactivation directly as deactivation doesn't change state anymore
3774
3775         * src/NetworkManagerPolicy.c
3776                 - (schedule_activate_check): yay, remove wireless_enabled hack since
3777                         the NMManager and wireless devices work that out themselves now
3778                 - (device_state_changed): change to a switch and update for new device
3779                         states
3780                 - (device_carrier_changed): remove; device handles this now through
3781                         state changes
3782                 - (device_added): don't care about carrier any more; the initial
3783                         activation check will happen when the device transitions to
3784                         DISCONNECTED
3785
3786         * src/nm-manager.c
3787                 - (dispose): clear unmanaged devices
3788                 - (handle_unmanaged_devices): update unmanaged device list and toggle
3789                         the managed property on each device when needed
3790                 - (system_settings_properties_changed_cb): handle signals from the
3791                         system settings service
3792                 - (system_settings_get_unmanaged_devices_cb): handle callback from
3793                         getting the unmanaged device list method call
3794                 - (query_unmanaged_devices): ask the system settings service for its
3795                         list of unmanaged devices
3796                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
3797                         devices
3798                 - (manager_set_wireless_enabled): push rfkill state down to wireless
3799                         devices directly and let them handle the necessary state transitions
3800                 - (manager_device_state_changed): update for new device states
3801                 - (nm_manager_add_device): set initial rfkill state on wireless devices
3802                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
3803                 - (nm_manager_activate_connection): return error if the device is
3804                         unmanaged
3805                 - (nm_manager_sleep): handle new device states correctly; don't change
3806                         the state of unavailable/unmanaged devices
3807
3808         * libnm-glib/nm-device-802-11-wireless.c
3809                 - (state_changed_cb): update for new device states
3810
3811 2008-04-07  Dan Williams  <dcbw@redhat.com>
3812
3813         * marshallers/nm-marshal.list
3814                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
3815
3816 2008-04-07  Dan Williams  <dcbw@redhat.com>
3817
3818         * system-settings/src/main.c
3819                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
3820                         plugins to the dbus settings object
3821                 - (load_stuff): start the dbus service after grabbing unmanaged devices
3822                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
3823                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
3824                 - (main): switch default logging to syslog with a 'debug' option to
3825                         output to console; start up the HAL manager
3826
3827 2008-04-07  Dan Williams  <dcbw@redhat.com>
3828
3829         * introspection/nm-settings-system.xml
3830           introspection/Makefile.am
3831                 - Define the unmanaged devices interface for the system settings service
3832
3833         * system-settings/src/nm-system-config-hal-manager.c
3834           system-settings/src/nm-system-config-hal-manager.h
3835           system-settings/src/nm-system-config-hal-manager-private.h
3836           system-settings/src/Makefile.am
3837                 - Add a lightweight HAL manager object for tracking network devices for
3838                         the purpose of determining unmanaged devices and which devices need
3839                         the default DHCP connections
3840
3841         * system-settings/src/nm-system-config-interface.c
3842           system-settings/src/nm-system-config-interface.h
3843                 - (nm_system_config_interface_init): add the HAL manager as an argument
3844                 - (nm_system_config_interface_get_unmanaged_devices): implement
3845                 - Define 'unmanaged-devices-changed' signal
3846
3847         * system-settings/src/dbus-settings.c
3848           system-settings/src/dbus-settings.h
3849                 - Implement the unmanaged devices interface; some cleanups
3850
3851         * system-settings/plugins/ifcfg-suse/plugin.c
3852                 - Fixup for plugin interface changes
3853
3854         * system-settings/plugins/ifcfg-fedora/plugin.c
3855                 - (get_ether_device_udi): new function; find the device that has
3856                         a specified MAC address and return its UDI
3857                 - (get_udi_for_connection): new function; try to find the specific
3858                         device a connection is locked to, if any
3859                 - (device_added_cb, device_removed_cb): update unmanaged device list in
3860                         response to HAL events
3861                 - (get_unmanaged_devices): new function; return unmanaged device list
3862                 - (build_one_connection): set the connection's locked device, if any
3863                 - (write_auto_wired_connection): remove
3864                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
3865                 - (handle_connection_changed): alert listeners that the unmanaged device
3866                         list has changed
3867                 - (init): fixup for plugin interface changes, implement unmanaged devices
3868
3869         * system-settings/plugins/ifcfg-fedora/parser.c
3870           system-settings/plugins/ifcfg-fedora/parser.h
3871                 - (connection_data_free): clean up connection UDI
3872
3873 2008-04-07  Dan Williams  <dcbw@redhat.com>
3874
3875         * system-settings/plugins/ifcfg-fedora/parser.c
3876                 - (make_ip4_setting): fix parsing of DNS servers
3877
3878 2008-04-05  Dan Williams  <dcbw@redhat.com>
3879
3880         * Makefile.am
3881           configure.in
3882           marshallers/Makefile.am
3883           marshallers/nm-marshal-main.c
3884           marshallers/nm-marshal.list
3885                 - Consolidate marshallers
3886
3887         * libnm-glib/nm-marshal-main.c
3888           libnm-glib/nm-marshal.list
3889           src/marshallers/Makefile.am
3890           src/marshallers/nm-marshal-main.c
3891           src/marshallers/nm-marshal.list
3892                 - Remove
3893
3894         * libnm-glib/Makefile.am
3895           src/Makefile.am
3896           src/dhcp-manager/Makefile.am
3897           src/ppp-manager/Makefile.am
3898           src/supplicant-manager/Makefile.am
3899           src/vpn-manager/Makefile.am
3900                 - Use consolidated marshallers
3901
3902 2008-04-04  Dan Williams  <dcbw@redhat.com>
3903
3904         * src/nm-hal-manager.c
3905           src/nm-hal-manager.h
3906                 - (hal_init): don't look for hardware here
3907                 - (nm_hal_manager_start): new function; look for hardware here instead,
3908                         which can be done at a later time than hal_init()
3909
3910         * src/NetworkManager.c
3911                 - (main): start HAL manager after entering the main loop
3912
3913 2008-04-03  Dan Williams  <dcbw@redhat.com>
3914
3915         * libnm-glib/nm-settings.c
3916           libnm-glib/nm-settings.h
3917             - (nm_exported_connection_get_id): new function
3918                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
3919
3920 2008-04-02  Dan Williams  <dcbw@redhat.com>
3921
3922         * src/nm-device-interface.c
3923           src/nm-device-interface.h
3924           src/nm-device.c
3925           src/nm-device.h
3926                 - Rename check_connection_conflicts() to check_connection_compatible()
3927
3928         * src/nm-device-802-11-wireless.c
3929                 - (real_check_connection_conflicts): remove
3930                 - (real_check_connection_compatible): implement; match MAC address
3931
3932         * src/nm-device-802-3-ethernet.c
3933                 - (real_check_connection_conflicts): remove
3934                 - (real_check_connection_compatible): implement; match MAC address
3935                 - (real_get_best_auto_connection): correctly handle PPPoE cases
3936
3937         * src/nm-manager.c
3938                 - (check_connection_allowed): remove; unused until PolicyKit integration
3939                 - (internal_activate_device): check whether the connection is compatible
3940                         with the device before trying to activate it
3941
3942 2008-04-02  Dan Williams  <dcbw@redhat.com>
3943
3944         * system-settings/plugins/ifcfg-fedora/parser.c
3945                 - (read_mac_address): new function; read in MAC address and stuff it
3946                         into the connection
3947                 - (add_one_wep_key): remove debug spew
3948                 - (make_wireless_security_setting): validate the default TX key; don't
3949                         add the wireless-security setting if the connection doesn't need
3950                         security; don't leak the keys shvarFile on error cases
3951                 - (make_wireless_setting, make_wired_setting): populate device's MAC
3952                         address
3953
3954 2008-04-02  Dan Williams  <dcbw@redhat.com>
3955
3956         * libnm-util/nm-setting-connection.c
3957           libnm-util/nm-setting-connection.h
3958                 - (set_property, get_property, nm_setting_connection_class_init): remove
3959                         the 'lockdown' property; it's functionality will be replaced by
3960                         PolicyKit instead
3961
3962 2008-04-01  Dan Williams  <dcbw@redhat.com>
3963
3964         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
3965
3966         * configure.in
3967           initscript/Makefile.am
3968           initscript/Mandriva/Makefile.am
3969           initscript/Mandriva/networkmanager.in
3970           initscript/Mandriva/networkmanagerdispatcher.in
3971           src/backends/Makefile.am
3972           src/backends/NetworkManagerMandriva.c
3973           system-settings/plugins/Makefile.am
3974                 - Add Mandriva support
3975
3976 2008-03-31  Dan Williams  <dcbw@redhat.com>
3977
3978         * src/vpn-manager/nm-vpn-service.c
3979                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
3980                         errors can be passed back to the caller; also no longer scheduled
3981                         as an idle handler, but called directly; and bump up VPN service
3982                         spawn timeout, 2s is really short
3983                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
3984                         but call it directly so that errors are reported on return from
3985                         ActivateConnection() and don't get lost.  If scheduled as an idle
3986                         handler, clients don't have the time to query NM for the new VPN
3987                         connection's properties before the VPN connection is torn down again
3988                         if the service couldn't be launched, and therefore launch errors
3989                         get lost.
3990
3991 2008-03-31  Dan Williams  <dcbw@redhat.com>
3992
3993         * src/vpn-manager/nm-vpn-connection.c
3994                 - (device_state_changed): send correct state on device failure too
3995                 - (plugin_state_changed): failed state means unexpected disconnection,
3996                         thus if the service goes away while the VPN connection is activated
3997                         that's a failure too
3998
3999 2008-03-31  Dan Williams  <dcbw@redhat.com>
4000
4001         * src/vpn-manager/nm-vpn-manager.c
4002           src/vpn-manager/nm-vpn-manager.h
4003                 - Make VPNManager errors more available; add a service-start-failed error
4004
4005 2008-03-31  Dan Williams  <dcbw@redhat.com>
4006
4007         * libnm-glib/nm-client.c
4008           libnm-glib/nm-client.h
4009                 - (activate_cb): pass the new active connection to callback; fix
4010                         message when no callback is specified
4011
4012 2008-03-30  Dan Williams  <dcbw@redhat.com>
4013
4014         * libnm-util/nm-setting-wireless-security.c
4015                 - (need_secrets): only require key0 if the transmit key index is also
4016                         0
4017                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4018
4019 2008-03-29  Dan Williams  <dcbw@redhat.com>
4020
4021         * libnm-util/nm-setting-8021x.c
4022           libnm-util/nm-setting-ip4-config.c
4023           libnm-util/nm-setting-vpn-properties.c
4024           libnm-util/nm-setting-vpn.c
4025           libnm-util/nm-setting-wireless-security.c
4026           libnm-util/nm-setting-wireless.c
4027           libnm-util/nm-utils.c
4028           src/dhcp-manager/nm-dhcp-manager.c
4029           src/nm-activation-request.c
4030           src/nm-ip4-config.c
4031           src/nm-manager.c
4032           src/nm-properties-changed-signal.c
4033           src/ppp-manager/nm-pppd-plugin.c
4034           src/supplicant-manager/nm-supplicant-interface.c
4035           src/vpn-manager/nm-vpn-connection.c
4036                 - consistently use nm-dbus-glib-types.h
4037
4038 2008-03-29  Dan Williams  <dcbw@redhat.com>
4039
4040         * src/vpn-manager/nm-vpn-connection.c
4041                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4042                         not string
4043
4044         * src/nm-activation-request.c
4045                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4046                         not string
4047
4048 2008-03-29  Dan Williams  <dcbw@redhat.com>
4049
4050         * libnm-glib/nm-device-802-11-wireless.c
4051                 - (access_point_added_proxy): create new APs if not found
4052
4053 2008-03-29  Dan Williams  <dcbw@redhat.com>
4054
4055         * libnm-glib/nm-client.c
4056                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4057                         before freeing them
4058
4059 2008-03-29  Dan Williams  <dcbw@redhat.com>
4060
4061         * system-settings/plugins/ifcfg-fedora/parser.c
4062                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4063                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4064
4065 2008-03-29  Dan Williams  <dcbw@redhat.com>
4066
4067         * system-settings/plugins/ifcfg-fedora/parser.c
4068                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4069
4070 2008-03-27  Dan Williams  <dcbw@redhat.com>
4071
4072         * nm-object.c
4073                 - (nm_object_queue_notify): don't notify multiple times for the same
4074                         property
4075
4076         * nm-object-private.h
4077                 - (handle_ptr_array_return): return NULL if the given array is NULL or
4078                         if it has zero elements
4079
4080         * nm-ip4-config.c
4081                 - (finalize): use g_ptr_array_foreach() when freeing domains
4082                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4083
4084         * nm-active-connection.c
4085                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4086
4087         * nm-device-802-11-wireless.c
4088           nm-device-802-11-wireless.h
4089                 - (nm_device_802_11_wireless_get_access_points): return const; use
4090                         handle_ptr_array_return()
4091
4092         * nm-types.c
4093                 - (nm_object_array_demarshal): always create an array, even of length
4094                         zero, to distinguish between "NM returned no items" and "haven't
4095                         asked NM yet"
4096
4097         * nm-client.c
4098                 - (dispose): free active connections too
4099                 - (proxy_name_owner_changed): free active connections too when NM goes
4100                         away
4101                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4102                 - (nm_client_get_active_connections): use handle_ptr_array_return()
4103
4104 2008-03-26  Dan Williams  <dcbw@redhat.com>
4105
4106         Rework VPN connection handling for a more consistent D-Bus API.  The
4107         VPNManager object has been removed, and active VPN connections are now the
4108         same as any other active connection.  The Manager object's ActivateConnection
4109         and DeactivateConnection methods are used to start and stop a VPN connection,
4110         and the VPNConnection objects are subclasses of the ActiveConnection objects.
4111         When activating a VPN connection, pass the path of the active connection
4112         to which the VPN connection is tied in the 'specific_object' argument.
4113
4114         Consequently, the libnm-glib API has been reworked to match this arrangement,
4115         with the VPNManager object removed, and the NMVPNConnection objects now
4116         being subclasses of NMActiveConnection.
4117
4118 2008-03-25  Dan Williams  <dcbw@redhat.com>
4119
4120         Patch from Björn Martensen <bjoern.martensen@gmail.com>
4121
4122         * initscript/Arch/networkmanager.in
4123           initscript/Arch/networkmanager-dispatcher.in
4124                 - Updates for Arch Linux (gnome.org #523701)
4125
4126 2008-03-25  Dan Williams  <dcbw@redhat.com>
4127
4128         * libnm-glib/nm-ip4-config.c
4129           libnm-glib/nm-active-connection.c
4130           libnm-glib/nm-access-point.c
4131                 - Use nm_object_queue_notify() instead of g_object_notify()
4132
4133         * libnm-glib/nm-device.c
4134                 - (demarshal_ip4_config): distinguish between successful but missing
4135                         ip4-config request, and unsuccessful and missing ip4-config request
4136                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4137                         path
4138                 - Use nm_object_queue_notify() instead of g_object_notify()
4139
4140         * libnm-glib/nm-device-802-11-wireless.c
4141                 - (demarshal_active_ap): distinguish between successfull but missing
4142                         active-ap request, and unsuccessful and missing active-ap request
4143                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4144                         code
4145                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4146                         for the NMClient to notify the device that wireless is disabled,
4147                         and therefore to clear the AP list and active AP
4148                 - Use nm_object_queue_notify() instead of g_object_notify()
4149
4150         * libnm-glib/nm-client.c
4151                 - (poke_wireless_devices_with_rf_status): new function
4152                 - (update_wireless_status): notify wireless devices of the rfkill status
4153                         so they can clean up if needed
4154                 - Use nm_object_queue_notify() instead of g_object_notify()
4155
4156 2008-03-25  Dan Williams  <dcbw@redhat.com>
4157
4158         * libnm-glib/nm-object.c
4159           libnm-glib/nm-object-private.h
4160                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4161                         signals to an idle handler
4162                 - (nm_object_get_property): add a timeout to the D-Bus method call
4163
4164 2008-03-25  Dan Williams  <dcbw@redhat.com>
4165
4166         * introspection/nm-device-cdma.xml
4167           introspection/nm-device-gsm.xml
4168           introspection/Makefile.am
4169           introspection/all.xml
4170                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4171
4172         * src/nm-gsm-device.h
4173           src/nm-gsm-device.c
4174           src/nm-cdma-device.h
4175           src/nm-cdma-device.c
4176           src/Makefile.am
4177                 - Implement PropertiesChanged signals
4178
4179         * libnm-glib/nm-cdma-device.c
4180           libnm-glib/nm-cdma-device.c
4181                 - Attach to PropertiesChanged signals
4182
4183 2008-03-24  Dan Williams  <dcbw@redhat.com>
4184
4185         * libnm-glib/nm-client.c
4186                 - (client_device_added_proxy): add new devices to the internal device
4187                         list so they appear to clients
4188
4189 2008-03-24  Dan Williams  <dcbw@redhat.com>
4190
4191         Massive fixup of libnm-glib to:
4192         a) have all objects (with the exception of VPN) cache their properties and
4193                 update them asynchronously on PropertiesChanged signals from NM
4194         b) return internal const data for most attributes/properties instead of
4195                 allocated values that the caller must free
4196         c) cache wrapped objects such that a given D-Bus path will always map to the
4197                 same GObject returned by libnm-glib
4198         d) remove a few signals and move them to GObject property notifications
4199         e) match recent NM D-Bus API changes for activation/deactivation
4200         f) remove some private functions from libnm-glib headers
4201
4202 2008-03-20  Dan Williams  <dcbw@redhat.com>
4203
4204         * src/nm-manager.c
4205                 - (nm_manager_update_state, manager_device_state_changed,
4206                    nm_manager_activate_device, connection_added_default_handler,
4207                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4208                         queue PropertyChanged singals when the active connections change
4209
4210 2008-03-20  Dan Williams  <dcbw@redhat.com>
4211
4212         * introspection/nm-manager.xml
4213           introspection/nm-manager-client.xml
4214                 - (ActivateConnection): return the object path of the active connection
4215                         on success
4216                 - (GetActiveConnections): remove
4217                 - (DeactivateConnection): new function; deactivate a currently active
4218                         connection
4219                 - Add an ActiveConnections property which returns an array of
4220                         active connection object paths
4221
4222         * introspection/nm-device.xml
4223                 - (Deactivate): remove
4224
4225         * introspection/all.xml
4226                 - Add ActiveConnection introspection
4227
4228         * introspection/nm-active-connection.xml
4229                 - Add the ActiveConnection object
4230
4231         * include/NetworkManager.h
4232                 - Add the Connection.Active D-Bus interface
4233
4234         * src/nm-device-interface.c
4235                 - (impl_device_deactivate): remove
4236
4237         * src/nm-activation-request.c
4238           src/nm-activation-request.c
4239           src/Makefile.am
4240                 - Implement the Connection.Active D-Bus interface
4241
4242         * src/nm-manager.c
4243                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4244                 - (nm_manager_activate_device): return the active connection path
4245                 - (connection_added_default_handler, impl_manager_activate_connection):
4246                         return the active connection to the caller
4247                 - (add_one_connection_element, impl_manager_get_active_connections):
4248                         remove
4249                 - (impl_manager_deactivate_connection): new function; deactivate an
4250                         active connection
4251
4252         * libnm-glib/nm-device.c
4253           libnm-glib/nm-device.h
4254                 - Remove Deactivate() function
4255
4256 2008-03-19  Dan Williams  <dcbw@redhat.com>
4257
4258         * introspection/nm-manager.xml
4259           introspection/nm-manager-client.xml
4260                 - Rename the ActivateDevice method to ActivateConnection to better
4261                         reflect it's usage; it's arguments get reordered a bit too
4262                 - Convert GetActiveConnections method return from a struct to a dict
4263
4264         * include/NetworkManager.h
4265                 - Define the dict keys for return value of GetActiveConnections
4266
4267         * src/nm-manager.c
4268                 - impl_manager_activate_device -> impl_manager_activate_connection
4269                 - (add_one_connection_element): return a populated hash table, not
4270                         a structure
4271
4272         * libnm-glib/nm-client.c
4273           libnm-glib/nm-client.h
4274                 - nm_client_activate_device -> nm_client_activate_connection
4275                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4276                 - (nm_client_get_active_connections): return a GSList of GHashTables,
4277                         instead of the custom structures.  Each element of the returned list
4278                         must be freed with nm_client_free_active_connections_element()
4279
4280 2008-03-18  Dan Williams  <dcbw@redhat.com>
4281
4282         * system-settings/plugins/ifcfg-fedora/parser.c
4283           system-settings/plugins/ifcfg-fedora/parser.h
4284           system-settings/plugins/ifcfg-fedora/plugin.c
4285                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4286                         profiles.  DNS servers and searches must now be stored in the ifcfg
4287                         files themselves
4288
4289 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4290
4291         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4292         print out username and password, it's supposed to be a secret.
4293
4294         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
4295         request and set the device state accordingly.
4296
4297 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4298
4299         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4300
4301         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4302
4303 2008-03-18  Dan Williams  <dcbw@redhat.com>
4304
4305         * src/vpn-manager/nm-vpn-connection.c
4306                 - (get_secrets_cb): handle new GetSecrets return format
4307
4308 2008-03-18  Dan Williams  <dcbw@redhat.com>
4309
4310         Adapt system settings service for split 802.1x.
4311
4312         * system-settings/src/nm-system-config-interface.h
4313                 - clarify return value of get_secrets()
4314
4315         * system-settings/src/dbus-settings.c
4316                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4317                 - (check_for_secrets): check if there actually secrets returned by a
4318                         plugin
4319                 - (exported_connection_get_secrets): just return the plugin-returned
4320                         hash of settings' secrets if it looks valid
4321
4322         * system-settings/plugins/ifcfg-fedora/plugin.c
4323                 - (get_secrets): add split secrets with correct format to reply hash
4324
4325         * system-settings/plugins/ifcfg-fedora/parser.c
4326           system-settings/plugins/ifcfg-fedora/parser.h
4327                 - (copy_one_cdata_secret, connection_data_copy_secrets,
4328                    connection_data_free, connection_data_add): keep secrets for
4329                         different settings in different hashes
4330
4331 2008-03-17  Tambet Ingo  <tambet@gmail.com>
4332
4333         Clean up activating device deactivation.
4334
4335         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4336         should be done whether the device activation gets cancelled or the device
4337         is just getting deactivated.
4338         (nm_device_activation_cancel): Remove.
4339         (nm_device_deactivate_quickly): Handle the case where device is activating.
4340
4341         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4342         It does the exact same thing as real_deactivate_quickly().
4343
4344 2008-03-17  Dan Williams  <dcbw@redhat.com>
4345
4346         Split the 802.1x bits out of the wireless-security setting so they are
4347         generalized enough for wired 802.1x to use too.
4348
4349         * introspection/nm-exported-connection.xml
4350                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4351                         of just a hash of the secrets for one setting
4352
4353         * libnm-util/nm-setting-wireless-security.c
4354           libnm-util/nm-setting-wireless-security.h
4355                 - Remove 802.1x-specific stuff
4356                 - Added leap-username and leap-password properties for old-school LEAP
4357
4358         * src/nm-device.c
4359           src/nm-device.h
4360                 - (connection_secrets_updated_cb): take a list of updated settings names,
4361                         not just one
4362
4363         * src/supplicant-manager/nm-supplicant-config.c
4364           src/supplicant-manager/nm-supplicant-config.h
4365                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4366                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4367                         to nm_supplicant_config_add_setting_8021x()
4368                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4369                         the supplicant config
4370
4371         * src/nm-device-802-11-wireless.c
4372                 - (build_supplicant_config): pass in the 802.1x setting too, if any
4373                 - (real_connection_secrets_updated): take a list of updated settings
4374                         names, not just one
4375
4376         * src/nm-device-802-3-ethernet.c
4377           src/nm-cdma-device.c
4378           src/nm-gsm-device.c
4379                 - (real_connection_secrets_updated_cb): take a list of updated settings
4380                         names, not just one
4381
4382         * src/nm-activation-request.c
4383           src/nm-activation-request.h
4384                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4385                         now passes a list of updated settings names, not just one
4386                 - (update_one_setting): new function; handle one updated setting
4387                 - (get_secrets_cb): handle multiple settings returned from the
4388                         settings service; have to be careful of ordering here as there are
4389                         some dependencies between settings (ex. wireless-security and 802.1x
4390                         in some cases)
4391
4392         * src/marshallers/nm-marshal.list
4393                 - new marshaller for connection-secrets-updated signal
4394
4395         * libnm-util/nm-setting-8021x.c
4396                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4397                         methods
4398                 - (verify): a valid 'eap' property is now required
4399
4400         * libnm-util/nm-connection.c
4401                 - (register_default_settings): add priorities to settings; there are
4402                         some dependencies between settings, and during the need_secrets
4403                         calls this priority needs to be respected.  For example, only the
4404                         wireless-security setting knows whether or not the connection is
4405                         going to use 802.1x or now, so it must be asked for secrets before
4406                         any existing 802.1x setting is
4407                 - (nm_connection_lookup_setting_type): expose
4408
4409         * libnm-util/nm-setting-wireless.c
4410                 - (verify): should verify even if all_settings is NULL; otherwise won't
4411                         catch the case where there is missing security
4412
4413         * libnm-util/nm-setting-wireless-security.c
4414                 - Remove everything to do with 802.1x
4415                 - Add old-school LEAP specific properties for username and password
4416                 - (need_secrets): rework LEAP secrets checking
4417                 - (verify): rework for LEAP and 802.1x verification
4418
4419 2008-03-17  Dan Williams  <dcbw@redhat.com>
4420
4421         * src/NetworkManagerPolicy.c
4422                 - (auto_activate_device): always remove the current activation check
4423                         from the pending activation list, otherwise when the policy gets
4424                         destroyed on NM exit it will attempt to free the already freed
4425                         activation check
4426
4427 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4428
4429         * src/backends/NetworkManagerSlackware.c 
4430         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4431
4432         * src/backends/NetworkManagerSuSE.c: Add missing includes.
4433
4434 2008-03-14  Dan Williams  <dcbw@redhat.com>
4435
4436         * src/nm-manager.c
4437                 - (nm_device_interface_get_iface): g_object_get() will return an
4438                         allocated value, so this function must not return const
4439                 - (nm_device_interface_activate): free returned iface
4440
4441 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4442
4443         * libnm-util/Makefile.am: Add new files to build.
4444
4445         * libnm-util/nm-connection.c: Register NMSetting8021x.
4446
4447         * libnm-util/nm-setting-8021x.c
4448         * libnm-util/nm-setting-8021x.h: Implement.
4449
4450 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4451
4452         * libnm-util/Makefile.am: Add new files to build.
4453
4454         * libnm-util/nm-connection.c: Register NMSetting8021x.
4455
4456         * libnm-util/nm-setting-8021x.c
4457         * libnm-util/nm-setting-8021x.h: Implement.
4458
4459 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4460
4461         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4462         data.
4463
4464 2008-03-14  Dan Williams  <dcbw@redhat.com>
4465
4466         * include/wireless-helper.h
4467           include/Makefile.am
4468                 - One place for all the junk needed for #including wireless.h
4469
4470         * test/nm-tool.c
4471           src/NetworkManagerAP.c
4472           src/wpa.c
4473           src/Makefile.am
4474           libnm-util/nm-utils.c
4475           libnm-util/nm-setting-wireless.c
4476           libnm-glib/nm-device-802-11-wireless.c
4477           libnm-glib/nm-access-point.c
4478           libnm-glib/libnm-glib-test.c
4479                 - include wireless-helper.h, not iwlib.h
4480
4481         * configure.in
4482                 - Don't need libiw really, just need to check for wireless.h
4483
4484         * src/kernel-types.h
4485                 - Remove; used types moved into wpa.c
4486
4487         * src/nm-device-802-11-wireless.c
4488                 - (nm_device_802_11_wireless_update_signal_strength,
4489                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4490                    nm_device_802_11_wireless_set_mode,
4491                    nm_device_802_11_wireless_get_frequency,
4492                    nm_device_802_11_wireless_get_ssid,
4493                    nm_device_802_11_wireless_set_ssid,
4494                    nm_device_802_11_wireless_get_bitrate,
4495                    nm_device_802_11_wireless_get_bssid,
4496                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4497                         instead of iwlib functions
4498
4499 2008-03-14  Dan Williams  <dcbw@redhat.com>
4500
4501         * src/ppp-manager/nm-ppp-manager.c
4502                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4503                         should only take the DBusGMethodInvocation argument, not user/pass
4504                         too.  With dbus-glib, async functions only take 2 C arguments since
4505                         the real dbus method arguments get passed back with
4506                         dbus_g_method_return()
4507
4508 2008-03-13  Tambet Ingo  <tambet@gmail.com>
4509
4510         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
4511         Adapt the changes of NMSettingIP4Config.
4512
4513 2008-03-13  Dan Williams  <dcbw@redhat.com>
4514
4515         * src/NetworkManagerUtils.c
4516           src/NetworkManagerUtils.h
4517                 - (nm_ether_ntop): replacement for iw_ether_ntop()
4518
4519         * src/NetworkManagerAP.c
4520           src/nm-device-802-11-wireless.c
4521           src/nm-device-802-3-ethernet.c
4522                 - s/iw_ether_ntop/nm_ether_ntop/g
4523
4524 2008-03-13  Dan Williams  <dcbw@redhat.com>
4525
4526         * src/NetworkManagerPolicy.c
4527                 - (update_routing_and_dns): never set the default route through an
4528                         IPv4LL addressed device
4529
4530 2008-03-13  Dan Williams  <dcbw@redhat.com>
4531
4532         * NetworkManagerUtils.c
4533           NetworkManagerUtils.h
4534                 - Remove NMSock stuff
4535                 - Remove the completion stuff
4536
4537         * nm-device.c
4538           nm-device.h
4539           NetworkManager.c
4540           NetworkManagerSystem.c
4541           autoip.c
4542           nm-device-802-11-wireless.c
4543           nm-device-802-3-ethernet.c
4544                 - Remove NMSock and completion stuff
4545                 - Remove nm_ioctl_info()
4546
4547 2008-03-12  Dan Williams  <dcbw@redhat.com>
4548
4549         * src/nm-device.c
4550                 - (merge_ip4_config): avoid duplicates
4551
4552 2008-03-12  Dan Williams  <dcbw@redhat.com>
4553
4554         * libnm-util/nm-setting-ip4-config.c
4555           libnm-util/nm-setting-ip4-config.h
4556                 - Remove 'manual' and 'autoip' properties
4557                 - Add 'method' property
4558                 - (verify): fix verification with 'method'
4559                 - (finalize): free 'method'
4560                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4561                         up for 'method'
4562
4563         * src/nm-device.c
4564                 - (real_act_stage3_ip_config_start): check IP4Config method
4565                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4566                         the future
4567                 - (merge_ip4_config): IP settings are valid with DHCP too
4568                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4569                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4570
4571         * src/nm-device-802-11-wireless.c
4572                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4573                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4574                         only on demand
4575
4576         * system-settings/plugins/ifcfg-fedora/parser.c
4577           system-settings/plugins/ifcfg-suse/parser.c
4578                 - (make_ip4_setting): fix up for 'method'
4579
4580 2008-03-12  Dan Williams  <dcbw@redhat.com>
4581
4582         * system-settings/plugins/ifcfg-fedora/parser.c
4583           system-settings/plugins/ifcfg-fedora/parser.h
4584                 - (get_ifcfg_name): ignore more file suffixes
4585                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
4586
4587 2008-03-12  Dan Williams  <dcbw@redhat.com>
4588
4589         * configure.in
4590                 - Bring in the bits of gnome-common we actually use (all 15 lines)
4591
4592 2008-03-12  Dan Williams  <dcbw@redhat.com>
4593
4594         * system-settings/plugins/ifcfg-fedora/plugin.c
4595                 - (write_auto_wired_connection): new function; write out an auto
4596                         wired connection file since the applet isn't doing it any more
4597                 - (reload_all_connections): write out the auto wired connection file
4598                         if there aren't any wired connections already
4599                 - (init): don't leak a GError
4600
4601 2008-03-12  Dan Williams  <dcbw@redhat.com>
4602
4603         * src/nm-device-interface.c
4604                 - (nm_device_interface_activate): print the ID of the connection
4605                         that's about to be activated
4606
4607 2008-03-12  Dan Williams  <dcbw@redhat.com>
4608
4609         Harmonize the 802.11 bitrate API
4610
4611         * introspection/nm-access-point.xml
4612                 - 'Rate' -> 'MaxBitrate'; clarify units
4613
4614         * introspection/nm-device-802-11-wireless.xml
4615                 - Clarify units of 'Bitrate'
4616
4617         * src/NetworkManagerAP.c
4618           src/NetworkManagerAP.h
4619                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
4620                         property to 'max-bitrate'
4621                 - (foreach_property_cb): convert rate to Kb/s
4622
4623         * src/nm-device-802-11-wireless.c
4624                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
4625
4626         * libnm-glib/nm-access-point.c
4627           libnm-glib/nm-access-point.h
4628                 - 'rate' -> 'max-bitrate'
4629
4630         * test/nm-tool.c
4631           libnm-glib/libnm-glib-test.c
4632                 - Fix up for these changes
4633
4634 2008-03-12  Dan Williams  <dcbw@redhat.com>
4635
4636         * src/nm-device.c
4637                 - (nm_device_set_ip4_config): don't send property notifications when
4638                         the ip4 config is set to NULL; it causes a PropertyChanged signal
4639                         which dbus-glib can't parse because the value is NULL, which isn't
4640                         a legal object path.  Setting the IP4 config to NULL is only
4641                         valid when deactivating a device anyway, so the device state change
4642                         will alert listeners that the ip4 config is invalid.
4643
4644 2008-03-12  Dan Williams  <dcbw@redhat.com>
4645
4646         * src/nm-properties-changed-signal.c
4647                 - (add_to_string): better handling of NULL objects
4648
4649 2008-03-12  Dan Williams  <dcbw@redhat.com>
4650
4651         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
4652         convert the libnm-glib NMDevice8023Ethernet to cached properties
4653
4654         * introspection/nm-device-802-3-ethernet.xml
4655                 - New 'Carrier' property
4656                 - New 'PropertiesChanged' signal
4657
4658         * introspection/nm-device.xml
4659                 - Remove 'Carrier' property
4660                 - Remove 'CarrierChanged' signal
4661
4662         * src/nm-device-interface.c
4663           src/nm-device-interface.h
4664                 - (nm_device_interface_init): remove 'carrier' property and
4665                         'carrier-changed' signal
4666
4667         * src/nm-device.c
4668           src/nm-device.h
4669                 - (nm_device_get_carrier, nm_device_set_carrier): remove
4670                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
4671                         the link here; wired device will handle that
4672                 - (handle_dhcp_lease_change): don't bother updating link here
4673                 - (get_property, nm_device_class_init): remove carrier property
4674
4675         * src/nm-device-802-11-wireless.c
4676                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
4677                         real_update_link(); wireless devices don't use carrier at all
4678                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
4679                    supplicant_iface_connection_state_cb_handler,
4680                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
4681
4682         * src/nm-device-802-3-ethernet.c
4683           src/nm-device-802-3-ethernet.h
4684                 - (nm_device_802_3_ethernet_carrier_on,
4685                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
4686                         instead of nm_device_set_carrier()
4687                 - (device_state_changed): update link from sysfs on activation;
4688                         replaces real_update_link()
4689                 - (real_update_link): remove, replaced by device_state_changed()
4690                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
4691                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
4692                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
4693                         new get_carrier function
4694                 - (get_property): add 'carrier' property
4695                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
4696                         hook into property-changed signal helper
4697
4698         * src/NetworkManagerPolicy.c
4699                 - (device_carrier_changed): will only ever be called with a wired device
4700                 - (device_added): only hook up to carrier-changed for wired devices
4701
4702         * libnm-glib/nm-device.c
4703           libnm-glib/nm-device.h
4704                 - (constructor, nm_device_class_init): remove carrier-changed signal
4705                 - (device_carrier_changed_proxy): remove; unused
4706                 - (nm_device_get_carrier): remove; carrier a property of wired devices
4707
4708         * libnm-glib/nm-device-802-3-ethernet.c
4709           libnm-glib/nm-device-802-3-ethernet.h
4710                 - Convert to cached properties like AP and Wireless objects
4711                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
4712                         instead of a 'char *', return value should not be freed
4713                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
4714                 - (constructor): hook into properties-changed helper
4715                 - (set_property, get_property): new functions
4716                 - (nm_device_802_3_ethernet_class_init): export GObject properties
4717
4718         * test/nm-tool.c
4719                 - (detail_device): strdup the wired hardware address too since it's
4720                         cached now
4721
4722         * libnm-glib/libnm-glib-test.c
4723                 - (dump_wired): strdup the wired hardware address too since it's
4724                         cached now
4725
4726 2008-03-12  Dan Williams  <dcbw@redhat.com>
4727
4728         * libnm-util/nm-setting-ip4-config.c
4729           libnm-util/nm-setting-ip4-config.h
4730                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
4731                         the 'autoip' property from the spec
4732
4733 2008-03-11  Dan Williams  <dcbw@redhat.com>
4734
4735         * src/backends/NetworkManagerGeneric.c
4736           src/backends/NetworkManagerGeneric.h
4737                 - (nm_generic_device_get_use_dhcp): remove
4738
4739 2008-03-11  Dan Williams  <dcbw@redhat.com>
4740
4741         * src/nm-device.c
4742                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
4743                         already in nm_device_set_ip4_config()
4744                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
4745                         due to a DHCP rebind fails
4746                 - (nm_device_set_ip4_config): send property notifications when the
4747                         ip4 config changes
4748                 - (get_property): only report IP4Config property during valid states
4749
4750         * src/NetworkManagerPolicy.c
4751                 - (update_routing_and_dns): ignore devices that don't have an ip4
4752                         config; add parameter 'force_update' to allow callers to specify
4753                         that changes should be made even if the default device doesn't change
4754                 - (device_ip4_config_changed): update DNS and routing when the device's
4755                         IP4Config changes, like for DHCP updates
4756                 - (device_added): listen for ip4-config property changes
4757
4758 2008-03-11  Dan Williams  <dcbw@redhat.com>
4759
4760         Fix address handling as a result of DHCP rebind/renew/reboot.
4761
4762         * src/NetworkManagerSystem.c
4763                 - (check_one_address): delete an address if it doesn't match a given
4764                         one for the same interface
4765                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
4766                         be smarter about flushing addresses (only flush ones that don't
4767                         match the one we're about to apply)
4768
4769         * src/backends/NetworkManagerDebian.c
4770           src/backends/NetworkManagerSuSE.c
4771           src/backends/NetworkManagerArch.c
4772           src/backends/NetworkManagerSlackware.c
4773           src/backends/NetworkManagerRedHat.c
4774           src/backends/NetworkManagerPaldo.c
4775           src/backends/NetworkManagerFrugalware.c
4776           src/backends/NetworkManagerGentoo.c
4777                 - (nm_system_delete_default_route): remove
4778
4779         * src/backends/NetworkManagerGeneric.c
4780           src/backends/NetworkManagerGeneric.h
4781                 - (nm_generic_enable_loopback): fix the loopback device label
4782                 - (nm_generic_delete_default_route): remove; no longer used
4783
4784 2008-03-11  Dan Williams  <dcbw@redhat.com>
4785
4786         * src/nm-device-interface.h
4787                 - Delimit property name words with '-', otherwise g_object_notify()
4788                         doesn't work the way we expect
4789
4790 2008-03-11  Tambet Ingo  <tambet@gmail.com>
4791
4792         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
4793
4794 2008-03-11  Dan Williams  <dcbw@redhat.com>
4795
4796         * src/NetworkManagerPolicy.c
4797                 - (update_routing_and_dns): don't change anything if the default device
4798                         hasn't changed; print something out when switching the default route
4799                         and DNS
4800
4801 2008-03-10  Tambet Ingo  <tambet@gmail.com>
4802
4803         Implement PPPoE.
4804
4805         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
4806         setting. Use "nic-$eth".
4807
4808         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
4809         the device is activating here to fix a race condition.
4810
4811         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
4812
4813         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
4814         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
4815         (nm_ppp_manager_start): Take activation request instead of connection, we might
4816         need it for asking secrets.
4817         (nm_ppp_manager_update_secrets): Implement.
4818
4819         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
4820         ppp manager start. It might be needed for asking secrets.
4821
4822         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
4823         (ppp_state_changed): Handle pppd daemon disappearing.
4824         (pppoe_stage2_config): Send activation request to ppp manager start.
4825
4826         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
4827
4828         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
4829         username and password.
4830         
4831 2008-03-10  Dan Williams  <dcbw@redhat.com>
4832
4833         * src/nm-device.c
4834                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
4835                         response to a DHCP lease change
4836                 - (dhcp_state_changed): handle DHCP lease changes while activated
4837                 - (nm_device_set_ip4_config): remove a previously set named config
4838                         when setting an ip4 config
4839
4840 2008-03-10  Dan Williams  <dcbw@redhat.com>
4841
4842         * src/nm-serial-device.c
4843                 - (nm_serial_device_send_command): report errno on error
4844                 - (get_reply_got_data): limit the size of the overall buffer
4845                 - (wait_for_reply_info_destroy): destroy result string
4846                 - (wait_for_reply_got_data): append received data to an overall buffer
4847                         until timeout, filled buffer, or error instead of keeping a per-call
4848                         buffer.  Some devices send data slowly enough that this function
4849                         gets called multiple times for the same command stream.
4850                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
4851                         wait_for_reply_got_data() here
4852
4853 2008-03-10  Dan Williams  <dcbw@redhat.com>
4854
4855         * src/nm-cdma-device.c
4856                 - (do_dial, init_modem): handle errors from
4857                         nm_serial_device_send_command_string()
4858
4859         * src/nm-gsm-device.c
4860                 - (do_dial, manual_registration, automatic_registration_get_network,
4861                    automatic_registration, enter_pin, check_pin, init_modem): handle
4862                         errors from nm_serial_device_send_command_string()
4863
4864 2008-03-10  Dan Williams  <dcbw@redhat.com>
4865
4866         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
4867
4868         * src/named-manager/nm-named-manager.c
4869                 - (compute_searches): prefer searches before domains
4870                 - (compute_domain): new function
4871                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
4872                 - (merge_one_ip4_config): if there are no searches in the source config,
4873                         merge domains of the source config into the target config
4874                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
4875
4876 2008-03-10  Dan Williams  <dcbw@redhat.com>
4877
4878         * src/nm-serial-device.c
4879                 - (get_reply_got_data): clean up indentation, shrink serial buffer
4880                 - (wait_for_reply_got_data): try to handle slower serial devices where
4881                         the reply is broken up into multiple reads by concatenating replies
4882                         together until either an error is received or the search string is
4883                         found
4884
4885 2008-03-10  Dan Williams  <dcbw@redhat.com>
4886
4887         * src/nm-device.c
4888                 - (nm_device_bring_down): deactivate the device if it's activating too,
4889                         not just if it's already activated.  This makes sure that everything
4890                         from an association attempt is cleaned up (like DHCP for example)
4891
4892 2008-03-10  Dan Williams  <dcbw@redhat.com>
4893
4894         * src/nm-serial-device.c
4895                 - (config_fd): report error from TCSETA
4896                 - (nm_serial_device_open): fail when config_fd() fails
4897
4898 2008-03-10  Dan Williams  <dcbw@redhat.com>
4899
4900         * src/nm-ip4-config.c
4901                 - (nm_ip4_config_init): allocate searches list
4902                 - (finalize): free searches list
4903
4904 2008-03-09  Dan Williams  <dcbw@redhat.com>
4905
4906         Patch from Bas Zoetekouw <bas@debian.org>
4907
4908         * src/dhcp-manager/nm-dhcp-manager.c
4909                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
4910
4911 2008-03-09  Dan Williams  <dcbw@redhat.com>
4912
4913         Patch from Bas Zoetekouw <bas@debian.org>
4914
4915         * src/nm-ip4-config.c
4916           src/nm-ip4-config.h
4917                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
4918                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
4919                         domains.  'searches' is the correct way to store multiple search
4920                         domains, whereas 'domains' is really just supposed to store one
4921                         domain.  Some sites abuse the DHCP 'domain-name' option to push
4922                         search domains to the client.
4923                 - (nm_ip4_config_add_domain): group with related functions (my patch)
4924
4925 2008-03-09  Dan Williams  <dcbw@redhat.com>
4926
4927         * src/dhcp-manager/nm-dhcp-manager.c
4928                 - (dhclient_run): send interface-specific config files to dhclient
4929
4930 2008-03-07  Dan Williams  <dcbw@redhat.com>
4931
4932         * system-settings/plugins/ifcfg-fedora/parser.c
4933                 - (is_wireless_device): new function; test a device for wireless
4934                         extensions
4935                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
4936                         test the device for wireless extensions to determine the type
4937
4938 2008-03-07  Dan Williams  <dcbw@redhat.com>
4939
4940         Change manager's StateChange signal to StateChanged for consistency.
4941
4942         * introspection/nm-manager.xml
4943                 - Add 'StateChanged' signal
4944                 - Move 'StateChange' down to the deprecated section
4945
4946         * src/nm-hal-manager.c
4947                 - (nm_hal_manager_new): connect to 'state-changed' instead
4948
4949         * src/NetworkManagerPolicy.c
4950                 - (nm_policy_new): connect to 'state-changed' instead
4951
4952         * src/nm-manager.c
4953           src/nm-manager.h
4954                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
4955                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
4956                         of 'state-change'
4957
4958         * libnm-glib/nm-client.c
4959           libnm-glib/nm-client.h
4960                 - (constructor, nm_client_class_init, client_state_changed_proxy):
4961                         track and proxy 'state-changed' instead of 'state-change'
4962
4963 2008-03-07  Dan Williams  <dcbw@redhat.com>
4964
4965         First pass of multiple active device support.  Expect bugs.
4966
4967         * src/nm-ip4-config.c
4968           src/nm-ip4-config.h
4969                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
4970                         there are better ways to do this in the named manager
4971
4972         * src/nm-device.c
4973           src/nm-device.h
4974                 - (nm_device_can_activate): return whether the device can activate a
4975                         connection right now; taking into account things like carrier state
4976                         and rfkill state
4977                 - (nm_device_get_best_auto_connection): renamed from
4978                         nm_device_get_best_connection
4979                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
4980                         device subclasses themselves, so that each device can override the
4981                         MTU from it's NMSetting subclass if needed
4982                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
4983                         in NetworkManagerSystem.c, not here
4984
4985         * src/named-manager/nm-named-manager.c
4986           src/named-manager/nm-named-manager.h
4987                 - (nm_named_manager_name_owner_changed,
4988                    nm_named_manager_dbus_connection_changed): fix for changes to
4989                         rewrite_resolv_conf()
4990                 - (compute_nameservers): don't need the NMNamedManager at all, remove
4991                         from parameter list
4992                 - (merge_one_ip4_config): new function; merge ip4 configs together
4993                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
4994                         ip4 configs; the VPN config takes precedence, then the best
4995                         device config, then the rest of the configs
4996                 - (get_domain_for_config): take the NMNamedManager as an argument
4997                         to check whether the config is the VPN config
4998                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
4999                         attribute from ip4 configs
5000                 - (add_all_ip4_configs_to_named): add all the configs in priority order
5001                 - (remove_ip4_config_from_named): fix for changes to
5002                         get_domain_for_config()
5003                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5004                         based on its type; callers must pass in the type now
5005                 - (get_last_default_domain): remove, unused
5006                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5007
5008         * src/nm-device-802-11-wireless.c
5009                 - (real_can_activate): new function
5010                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5011                 - (real_act_stage4_get_ip4_config): handle MTU override
5012
5013         * src/nm-device-802-3-ethernet.c
5014                 - (real_can_activate): new function
5015                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5016                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5017
5018         * src/vpn-manager/nm-vpn-connection.c
5019                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5020                         attribute on the ip4 config
5021
5022         * src/NetworkManagerPolicy.c
5023                 - (nm_policy_auto_get_best_device): remove
5024                 - (nm_policy_device_change_check): remove
5025                 - (update_default_route): new function; set the default route via
5026                         the specified device
5027                 - (get_device_priority): new function; return the priority number of
5028                         a device type WRT which one should have the default route.  Order is
5029                         (highest to lowest)  wired, wireless, GSM, CDMA.
5030                 - (update_routing_and_dns): new function; determine which device should
5031                         have the default route, then update the routing table and DNS
5032                 - (maybe_auto_activate_device): new function; if a device is now
5033                         available for activation, find out what connection it would like to
5034                         activate and do it
5035                 - (schedule_activate_check): new function; if a device can be activated
5036                         now, schedule the activation.  Each device may have only one
5037                         pending activation at a given time.
5038                 - (device_state_changed): if activation was canceled, try again,
5039                         possibly with another connection; if the device was activated,
5040                         update routing and DNS; if the device was deactivated, try again
5041                         with another connection
5042                 - (device_carrier_changed): if there is no carrier, deactivate the
5043                         device; otherwise schedule an activation check for the device
5044                 - (wireless_networks_changed): schedule an activation check for the
5045                         device
5046                 - (device_added): keep track of the signal handler IDs so they can
5047                         be removed when the device goes away
5048                 - (device_removed): remove any signal handlers that might be attached
5049                         to the device; update routing and DNS
5050                 - (schedule_activate_all): new function
5051                 - (connections_added, connection_added, connection_updated): when
5052                         connections change, schedule all devices for an activation check
5053                 - (connection_removed): when a device is deactivated because its
5054                         connection was removed, schedule another activation check for it
5055                 - (nm_policy_destroy): destroy pending activations and disconnect
5056                         all device signal handlers
5057
5058         * src/nm-manager.c
5059                 - (nm_manager_activate_device): if the device was already actived,
5060                         deactivate it
5061                 - (deactivate_old_device): remove
5062                 - (connection_added_default_handler, impl_manager_activate_device):
5063                         don't deactivate other devices when activating this one
5064
5065         * src/backends/NetworkManagerGentoo.c
5066           src/backends/NetworkManagerFrugalware.c
5067           src/backends/NetworkManagerPaldo.c
5068           src/backends/NetworkManagerRedHat.c
5069           src/backends/NetworkManagerSlackware.c
5070           src/backends/NetworkManagerArch.c
5071           src/backends/NetworkManagerSuSE.c
5072           src/backends/NetworkManagerDebian.c
5073                 - (nm_system_get_mtu): remove; MTU should be provided through the
5074                         distro's system settings service plugin instead
5075                 - (nm_system_device_add_default_route_via_device): remove
5076                 - (nm_system_device_add_default_route_via_device_with_iface): remove
5077                 - (nm_system_device_replace_default_route): new function; call
5078                         generic implementation
5079
5080         * src/backends/NetworkManagerGeneric.c
5081           src/backends/NetworkManagerGeneric.h
5082                 - (nm_generic_device_add_default_route_via_device,
5083                    nm_generic_device_add_default_route_via_device_with_iface): remove
5084                 - (nm_generic_device_replace_default_route): replace the default route
5085                         with the given route via some gateway
5086
5087         * src/NetworkManagerSystem.c
5088           src/NetworkManagerSystem.h
5089                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5090                         to routing and DNS; but set the MTU here
5091                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5092                         ip_iface of the active device; use the standard MTU setting function
5093                 - (nm_system_set_mtu): remove
5094                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5095
5096 2008-03-07  Tambet Ingo  <tambet@gmail.com>
5097
5098         Rework the interaction between ppp manager and pppd plugin. Register a well
5099         known DBUS service in manager and let the plugin call it's methods instead
5100         of listening plugin's signals.
5101
5102         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5103         of emitting signals.
5104
5105         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5106
5107         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5108
5109         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5110         nm_ppp_manager_start().
5111
5112         * introspection/nm-ppp-manager.xml: New file.
5113
5114         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5115         the case correctly where driver is trying to send -1 for the speed, which gets
5116         casted to u16 and thus is always > 0.
5117
5118 2008-03-07  Dan Williams  <dcbw@redhat.com>
5119
5120         * src/nm-hal-manager.c
5121                 - (nm_get_device_driver_name): use net.originating_device first, fall
5122                         back to physical device.  HAL has deprecated physical_device.
5123
5124         * libnm-glib/nm-device.c
5125                 - (get_product_and_vendor): use net.originating_device first, fall
5126                         back to physical device.  HAL has deprecated physical_device.
5127                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5128
5129 2008-03-07  Dan Williams  <dcbw@redhat.com>
5130
5131         * src/nm-netlink.c
5132                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5133                         last commit; fix that
5134                 - (get_link_cache): print error string
5135
5136 2008-03-07  Dan Williams  <dcbw@redhat.com>
5137
5138         * src/nm-netlink.c
5139                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5140                         don't need this hack any more (Benoit Boissinot)
5141
5142 2008-03-06  Dan Williams  <dcbw@redhat.com>
5143
5144         * autogen.sh
5145                 - Die gnome-common, die
5146
5147 2008-03-04  Dan Williams  <dcbw@redhat.com>
5148
5149         Patch from Michael Biebl <biebl@debian.org>
5150
5151         * NetworkManager.pc.in
5152                 - doesn't actually depend on dbus-1
5153
5154         * libnm-util/nm-utils.h
5155                 - remove unused #include <dbus/dbus.h>
5156
5157         * libnm-glib/libnm_glib.pc.in
5158                 - depends on glib and dbus-glib
5159
5160 2008-03-02  Dan Williams  <dcbw@redhat.com>
5161
5162         * src/NetworkManagerPolicy.c
5163                 - s/device_state_changed_idle_id/update_state_id/
5164
5165 2008-03-02  Dan Williams  <dcbw@redhat.com>
5166
5167         * src/nm-device.c
5168           src/nm-device.h
5169           src/nm-device-802-11-wireless.c
5170           src/nm-device-802-3-ethernet.c
5171           src/NetworkManagerPolicy.c
5172                 - s/link_active/carrier
5173                 - nm_device_set_active_link() -> nm_device_set_carrier()
5174                 - nm_device_has_active_link() -> nm_device_get_carrier()
5175
5176 2008-03-02  Dan Williams  <dcbw@redhat.com>
5177
5178         * system-settings/plugins/ifcfg-fedora/parser.c
5179                 - (make_wireless_setting): fail connection creation on missing SSID
5180
5181 2008-02-29  Dan Williams  <dcbw@redhat.com>
5182
5183         * src/NetworkManagerPolicy.c
5184                 - (nm_policy_device_change_check): ensure that a previously active
5185                         device with a system connection has a link before denying a switch
5186                         to a user connection
5187
5188 2008-02-29  Dan Williams  <dcbw@redhat.com>
5189
5190         * src/nm-device-802-11-wireless.c
5191                 - (link_timeout_cb): try again if scanning; deactivate the device when
5192                         activated if the link dies
5193                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5194                         15 seconds
5195
5196 2008-02-29  Dan Williams  <dcbw@redhat.com>
5197
5198         * src/nm-device-802-11-wireless.c
5199           src/nm-device-802-11-wireless.h
5200                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5201                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5202                 - (device_cleanup): reset the scan interval lower when the device
5203                         deactivates
5204                 - (can_scan): base decision mostly off device state, not supplicant
5205                         interface state since the supplicant interface state isn't a
5206                         great indicator of whether the device is active or not
5207                 - (request_wireless_scan): clean up; schedule the next scan here
5208                 - (schedule_scan): only back the scan interval off if a new scan
5209                         actually gets scheduled; and make scan intervals tighter when the
5210                         device is disconnected
5211                 - (supplicant_iface_state_cb_handler): fold in the bits of
5212                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5213                         interval to minimum
5214                 - (activation_success_handler): reset scan interval to something
5215                         reasonable 
5216
5217 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
5218
5219         reviewed by: Steev <steev@steev.net>
5220
5221         * configure.in:
5222         * src/backends/NetworkManagerGentoo.c:
5223         (nm_system_restart_mdns_responder):
5224                 Howl is no longer a supported mDNS provider
5225
5226 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5227
5228         Get rid of a bunch of unused distro specific functions.
5229
5230 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5231
5232         Implement suse plugin for system settings daemon.
5233
5234         * system-settings/plugins/ifcfg-suse/*: Implement.
5235
5236         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5237         suse.
5238
5239         * configure.in: Check (without failing) for gio.
5240         Create ifcfg-suse plugin's Makefile.
5241
5242 2008-02-20  Dan Williams  <dcbw@redhat.com>
5243
5244         * libnm-util/nm-connection.c
5245           libnm-util/nm-connection.h
5246                 - (nm_connection_compare): accept compare flags and pass them to the
5247                         setting compare function
5248
5249         * libnm-util/nm-setting.c
5250           libnm-util/nm-setting.h
5251                 - (nm_setting_compare): accept compare flags; ignore properties that are
5252                         marked fuzzy
5253
5254         * libnm-util/nm-setting-connection.c
5255           libnm-util/nm-setting-wireless.c
5256           libnm-util/nm-setting-ppp.c
5257           libnm-util/nm-setting-wired.c
5258                 - Mark some setting properties as ignorable when doing a fuzzy compare
5259
5260         * src/nm-device.c
5261                 - (device_activation_precheck): use exact compare
5262
5263 2008-02-20  Dan Williams  <dcbw@redhat.com>
5264
5265         * src/NetworkManagerPolicy.c
5266                 - (nm_policy_device_change_check): get scope off the connection, not
5267                         using the manager helper
5268
5269         * src/nm-manager.c
5270           src/nm-manager.h
5271                 - (get_scope_for_proxy): rename from get_type_for_proxy()
5272                 - (connection_get_settings_cb): set scope and path on connection, not
5273                         using GObject data items
5274                 - (get_connection_for_proxy): don't need to return path, since that
5275                         can be gotten from the connection
5276                 - (get_connection_for_proxy): get path off the connection, not from
5277                         parameters
5278                 - (connection_removed_cb, connection_updated_cb): don't need to get
5279                         path from get_connection_for_proxy(); get scope off the connection
5280                         instead of using GObject data items
5281                 - (connection_added_default_handler, add_one_connection_element): use
5282                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5283                 - (nm_manager_get_connection_dbus_path): remove
5284                 - (nm_manager_get_connection_scope): remove
5285
5286 2008-02-20  Dan Williams  <dcbw@redhat.com>
5287
5288         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5289                 on confusing names
5290
5291         * Add 'path' and 'scope' properties to NMConnection since both NM and the
5292                 applet were having to hack this in anyway.  Remove the 'path' stuff from
5293                 NMExportedConnection
5294
5295         * Internally rename NMConnectionType -> NMConnectionScope
5296
5297         * Provide default implementations of the 'get_id' and 'get_settings' methods
5298                 of NMExportedConnection
5299
5300 2008-02-15  Dan Williams  <dcbw@redhat.com>
5301
5302         * src/nm-device-802-11-wireless.c
5303                 - (device_cleanup): release the AP list here too so that the AP list
5304                         doesn't survive across suspend/resume and up/down.  There is some
5305                         room for optimization, for example blow the list away when the card
5306                         brought back up, but only if the device has only been down for a
5307                         minute or more.
5308
5309 2008-02-15  Dan Williams  <dcbw@redhat.com>
5310
5311         * src/nm-hal-manager.c
5312                 - (modem_device_creator): recognize new HAL modem capabilities
5313
5314 2008-02-12  Dan Williams  <dcbw@redhat.com>
5315
5316         * system-settings/plugins/ifcfg-fedora/plugin.c
5317                 - (watch_path): handle IN_DELETE_SELF too
5318                 - (handle_connection_changed): notify when removing a connection
5319                 - (stuff_changed): don't warn on unknown inotify watches; handle the
5320                         case of a file moving out of the profile directory
5321
5322 2008-02-12  Dan Williams  <dcbw@redhat.com>
5323
5324         * system-settings/plugins/ifcfg-fedora/parser.c
5325                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5326
5327 2008-02-12  Dan Williams  <dcbw@redhat.com>
5328
5329         * libnm-util/nm-utils.c
5330                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5331                         just any empty array
5332
5333 2008-02-12  Dan Williams  <dcbw@redhat.com>
5334
5335         * system-settings/src/nm-system-config-interface.c
5336           system-settings/src/nm-system-config-interface.h
5337                 - (load_connections): get_connections() should now return an allocated
5338                         GSList that the system settings service will free
5339
5340         * system-settings/plugins/ifcfg-fedora/plugin.c
5341           system-settings/plugins/ifcfg-fedora/parser.h
5342           system-settings/plugins/ifcfg-fedora/parser.c
5343                 - Fix up inotify issues; handle keys-* files, handle new files appearing
5344                         in the profile directory, handle resolv.conf file changes
5345
5346 2008-02-10  Dan Williams  <dcbw@redhat.com>
5347
5348         * src/nm-device-802-3-ethernet.c
5349                 - (real_bring_up): save the supplicant interface state signal id
5350                 - (real_bring_down): disconnect from the supplicant interface state
5351                         signal
5352
5353 2008-02-07  Dan Williams  <dcbw@redhat.com>
5354
5355         * initscript/RedHat/NetworkManager.in
5356           initscript/RedHat/NetworkManagerDispatcher.in
5357                 - Add new-style LSB init headers
5358
5359 2008-02-07  Dan Williams  <dcbw@redhat.com>
5360
5361         * system-settings/src/dbus-settings.c
5362           system-settings/src/dbus-settings.h
5363                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5364                         table of secrets
5365                 - (connection_settings_get_secrets): consolidate error returns into
5366                         one place; use the new get_secrets() plugin interface function to
5367                         get secrets from the plugin itself rather than using GObject data
5368                         magic
5369
5370         * system-settings/src/main.c
5371                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5372                    load_connections): keep a private list of the plugin-returned
5373                         connections, don't use the plugin's GSList
5374
5375         * system-settings/plugins/ifcfg-fedora/plugin.c
5376                 - (watch_path): watch the path, not the filename (duh)
5377                 - (reload_all_connections): use the direct hash/equal functions; the
5378                         ones for int aren't appropriate here
5379                 - (get_secrets, system_config_interface_init): implement the
5380                         get_secrets() function
5381                 - (build_one_connection, find_connection_by_path): ifcfg file path is
5382                         now in the connection's ConnectionData instead of being a GObject
5383                         data property
5384                 - (handle_profile_item_changed): ifcfg file path is now in the
5385                         connection's ConnectionData instead of being a GObject data property;
5386                         be sure to copy secrets over from the new connection to the existing
5387                         connection when updating the connection's settings
5388                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5389                         file descriptor
5390
5391         * system-settings/plugins/ifcfg-fedora/parser.c
5392           system-settings/plugins/ifcfg-fedora/parser.h
5393                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5394                    connection_data_copy_secrets, connection_data_free,
5395                    connection_data_add): new functions; connection data manipulation
5396                 - (make_wireless_security_setting): stuff secrets into the
5397                         connection data, not as GObject data items; make sure to close
5398                         the keys ifcfg file
5399                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5400                         connection data to the connection
5401
5402 2008-02-07  Dan Williams  <dcbw@redhat.com>
5403
5404         * system-settings/src/nm-system-config-interface.c
5405           system-settings/src/nm-system-config-interface.h
5406                 - Add a get_secrets() interface function to retrieve secrets for a
5407                         specific setting of a specific connection.  Document the interface
5408                         a bit more too.
5409
5410 2008-02-07  Dan Williams  <dcbw@redhat.com>
5411
5412         * src/nm-device-802-11-wireless.c
5413                 - (handle_auth_or_fail): new function; consolidate device activation
5414                         failure check after a certain number of failures getting secrets
5415                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5416                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5417                         the connection if secrets were requested more than a few times
5418                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5419                         tries here; otherwise they are cleared before the IP configure
5420                         timeout, which happens with open system WEP when key is wrong
5421                 - (activation_success_handler): clear wireless secrets tries here too
5422
5423 2008-02-07  Dan Williams  <dcbw@redhat.com>
5424
5425         * src/NetworkManagerPolicy.c
5426                 - (connection_updated): clear invalid tag when connection gets updated
5427                         to allow that connection to be tried again
5428                 - (nm_policy_new): save signal ids so they can be disconnected when
5429                         the policy is destroyed
5430                 - (nm_policy_destroy): stop any in-progress state change idle handler,
5431                         and disconnect all signals from the manager object so that none
5432                         of the policy functions gets called after the policy is destroyed
5433
5434 2008-02-06  Dan Williams  <dcbw@redhat.com>
5435
5436         * src/nm-manager.c
5437                 - (finalize): remove devices a bit earlier; clean up system settings
5438                         poke
5439                 - (nm_manager_name_owner_changed): clean up system settings poke when
5440                         the service appears, and try to restart it if it fails
5441                 - (poke_system_settings_daemon_cb): try to get the system settings
5442                         service started through D-Bus service activation
5443                 - (initial_get_connections): start the system settings daemon if it's
5444                         not already running
5445
5446 2008-02-05  Dan Williams  <dcbw@redhat.com>
5447
5448         * src/supplicant-manager/nm-supplicant-config.c
5449                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5450                         broadcast networks too
5451
5452 2008-02-04  Dan Williams  <dcbw@redhat.com>
5453
5454         * system-settings/plugins/ifcfg-fedora/parser.c
5455                 - (make_wireless_security_setting): fix spelling; unencrypted networks
5456                         need key_mgmt set too
5457                 - (parser_parse_file): validate ifcfg file name and don't try to parse
5458                         .bak files; ensure that an error is set whenever NULL gets returned
5459
5460 2008-02-04  Dan Williams  <dcbw@redhat.com>
5461
5462         * system-settings/src/Makefile.am
5463                 - Install D-Bus service activation file for the system settings
5464                         service
5465
5466         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5467                 - D-Bus service activation file for system settings service
5468
5469 2008-02-04  Dan Williams  <dcbw@redhat.com>
5470
5471         * system-settings/src/main.c
5472                 - (parse_config_file): parse a config file
5473                 - (main): accept --config option and read plugins from config file
5474
5475 2008-02-04  Dan Williams  <dcbw@redhat.com>
5476
5477         * system-settings/plugins/ifcfg-fedora/plugin.c
5478                 - Change reported name to 'ifcfg-fedora'
5479                 - Use IFCFG_PLUGIN_NAME
5480
5481         * system-settings/plugins/ifcfg-fedora/plugin.c
5482                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5483
5484 2008-02-04  Dan Williams  <dcbw@redhat.com>
5485
5486         * system-settings/plugins/ifcfg-fedora/parser.c
5487                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5488                 - (make_connection_setting): use get_ifcfg_name()
5489                 - (make_wireless_security_setting): handle shadow key files
5490                 - (get_one_wep_key): treat empty string as NULL
5491
5492 2008-02-04  Dan Williams  <dcbw@redhat.com>
5493
5494         * src/supplicant-manager/nm-supplicant-manager.c
5495                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5496                         glib automatically reschedule
5497                 - (nm_supplicant_manager_init): immediately try to start the supplicant
5498                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5499                         the supplicant
5500
5501 2008-02-01  Dan Williams  <dcbw@redhat.com>
5502
5503         * src/NetworkManagerPolicy.c
5504                 - (device_state_changed): schedule a change check when a device gets
5505                         deactivated so something happens if you disconnect GSM/CDMA
5506
5507 2008-01-31  Dan Williams  <dcbw@redhat.com>
5508
5509         * src/nm-device-802-11-wireless.h
5510           src/nm-device-802-11-wireless.c
5511                 - (ap_list_get_ap_by_ssid, is_associated,
5512                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5513                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5514                 - (nm_device_802_11_wireless_get_activation_ap): collapse
5515                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5516                         function
5517
5518 2008-01-30  Dan Williams  <dcbw@redhat.com>
5519
5520         * system-settings/plugins/ifcfg
5521         * system-settings/plugins/ifcfg-fedora
5522                 - Move the ifcfg plugin to ifcfg-fedora
5523
5524 2008-01-24  Dan Williams  <dcbw@redhat.com>
5525
5526         * libnm-glib/nm-device-802-11-wireless.c
5527                 - (get_access_point): move the "/" check here; check for invalid path
5528                         too
5529                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5530                         to get_access_point()
5531                 - (access_point_added_proxy, access_point_removed_proxy): don't try
5532                         to send signals for non-existent access points
5533
5534 2008-01-24  Dan Williams  <dcbw@redhat.com>
5535
5536         * libnm-glib/nm-device-802-11-wireless.c
5537                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5538
5539 2008-01-23  Dan Williams  <dcbw@redhat.com>
5540
5541         * libnm-glib/libnm_glib.c
5542                 - (libnm_glib_init): make thread joinable
5543                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5544
5545 2008-01-23  Dan Williams  <dcbw@redhat.com>
5546
5547         * test/libnm_glib_test.c
5548                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5549                 - (main): set up signal handlers; call libnm_glib_shutdown
5550
5551 2008-01-21  Dan Williams  <dcbw@redhat.com>
5552
5553         * include/NetworkManager.h
5554                 - Add CDMA mobile broadband card device type
5555
5556         * src/nm-hal-manager.c
5557                 - (modem_device_creator): handle both CDMA and GSM modems; the device
5558                         must now be tagged with 'cdma' or 'gsm' capability
5559
5560         * src/nm-cdma-device.c
5561           src/nm-cdma-device.h
5562           src/Makefile.am
5563                 - Add the CDMA mobile broadband card device class
5564
5565         * libnm-util/nm-connection.c
5566                 - (register_default_settings): add NMSettingCdma
5567
5568         * libnm-util/nm-setting-cdma.c
5569           libnm-util/nm-setting-cdma.h
5570           libnm-util/Makefile.am
5571                 - Add the CDMA mobile broadband card setting class
5572
5573         * libnm-glib/nm-cdma-device.c
5574           libnm-glib/nm-cdma-device.h
5575           libnm-glib/Makefile.am
5576                 - Add the CDMA mobile broadband card GLib proxy class
5577
5578         * libnm-glib/nm-client.c
5579                 - (get_device): handle CDMA devices too
5580
5581 2008-01-21  Dan Williams  <dcbw@redhat.com>
5582
5583         * src/ppp-manager/nm-ppp-manager.c
5584                 - (ip4_config_get): set peer address too
5585
5586         * src/ppp-manager/nm-pppd-plugin.c
5587                 - (nm_ip_up): try harder to get the peer's address
5588
5589         * src/NetworkManagerSystem.c
5590                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
5591                         address, use that too.  Otherwise, some PPP connections won't work.
5592
5593 2008-01-19  Dan Williams  <dcbw@redhat.com>
5594
5595         * src/NetworkManagerPolicy.c
5596                 - (nm_policy_device_change_check): system connections override user
5597                         connections; don't activate a user connection if there's a currently
5598                         active system connection, and new, better system connections always
5599                         interrupt user connections
5600
5601 2008-01-19  Dan Williams  <dcbw@redhat.com>
5602
5603         * src/nm-manager.h
5604                 - (nm_manager_get_connection_type): new function
5605
5606 2008-01-19  Dan Williams  <dcbw@redhat.com>
5607
5608         * src/nm-device-802-11-wireless.c
5609                 - (real_get_best_connection): collapse find_best_connection() into this
5610                         function
5611
5612 2008-01-19  Dan Williams  <dcbw@redhat.com>
5613
5614         * src/nm-device-802-3-ethernet.c
5615                 - (real_get_best_connection): collapse find_best_connection() into this
5616                         function
5617
5618 2008-01-18  Dan Williams  <dcbw@redhat.com>
5619
5620         * src/nm-device-802-3-ethernet.c
5621                 - (find_best_connection): check MAC address too
5622                 - (real_get_best_connection): let autoconnect=True connections activate
5623                         for devices that don't have carrier detection
5624
5625         * src/nm-device-802-11-wireless.c
5626                 - (find_best_connection): check MAC address too
5627
5628 2008-01-18  Dan Williams  <dcbw@redhat.com>
5629
5630         * system-settings/plugins/ifcfg/parser.c
5631                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
5632
5633 2008-01-17  Dan Williams  <dcbw@redhat.com>
5634
5635         * src/nm-device-802-3-ethernet.c
5636                 - (nm_device_802_3_ethernet_carrier_on,
5637                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
5638                         carrier events that might come in for devices that don't support
5639                         carrier detect
5640
5641 2008-01-17  Dan Williams  <dcbw@redhat.com>
5642
5643         * src/nm-device-interface.c
5644                 - (nm_device_interface_check_connection_conflicts): need to actually
5645                         get the interface, not cast to the object
5646
5647         * src/nm-device.c
5648                 - (nm_device_check_connection_conflicts): need to get the device class,
5649                         not cast the device to the device class
5650
5651 2008-01-17  Dan Williams  <dcbw@redhat.com>
5652
5653         * src/nm-device-802-11-wireless.c
5654                 - (real_check_connection_conflicts): ignore connections that aren't
5655                         wireless connections
5656
5657 2008-01-17  Dan Williams  <dcbw@redhat.com>
5658
5659         * src/NetworkManagerPolicy.c
5660                 - (nm_policy_device_change_check): clear change check idle here
5661                 - (device_change_check_done): remove
5662                 - (schedule_change_check): simplify
5663
5664 2008-01-17  Dan Williams  <dcbw@redhat.com>
5665
5666         * src/nm-manager.c
5667                 - (check_connection_allowed): take an NMDeviceInterface instead of
5668                         an NMDevice object as an argument
5669                 - (nm_manager_activate_device): pass an NMDeviceInterface to
5670                         check_connection_allowed()
5671
5672 2008-01-13  Dan Williams  <dcbw@redhat.com>
5673
5674         * libnm-glib/nm-device-802-11-wireless.c
5675                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
5676
5677 2008-01-12  Dan Williams  <dcbw@redhat.com>
5678
5679         * src/nm-device-802-11-wireless.c
5680                 - (activation_success_handler): if a match was found in the scan list
5681                         and that match is a hidden AP, update that AP's SSID
5682
5683 2008-01-11  Dan Williams  <dcbw@redhat.com>
5684
5685         * src/NetworkManagerAP.c
5686                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
5687
5688         * src/nm-device-802-11-wireless.c
5689                 - (get_active_ap): do two passes over the scan list if the caller
5690                         requests that hidden APs get matched too; during the second pass
5691                         when matching hidden APs, ignore the SSID since hidden APs in the
5692                         scan list don't have an SSID yet
5693                 - (periodic_update): move some checks to
5694                         nm_device_802_11_periodic_update() because not all callers need them
5695                 - (nm_device_802_11_periodic_update): move some checks here from
5696                         perodic_update()
5697                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
5698                         matching on incoming scan results, because the fake AP's flags
5699                         might be slightly different (yet still compatible) with the incoming
5700                         scan result's flags and they might actually be the same AP; update
5701                         the rate on merged APs too
5702                 - (activation_success_handler): update the frequency of the fake AP
5703                         on successful connection; match hidden APs too since if the
5704                         current AP is fake, there might already be a scan result in the
5705                         scan list for the desired AP, just without it's SSID filled in yet
5706
5707 2008-01-10  Dan Williams  <dcbw@redhat.com>
5708
5709         * src/NetworkManagerAP.c
5710                 - (foreach_property_cb): catch more hidden SSID formats
5711
5712 2008-01-10  Dan Williams  <dcbw@redhat.com>
5713
5714         Fix gnome.org #464215.  Requires the kernel patch titled
5715         "Introduce WEXT scan capabilities" but will handle the patch not being
5716         present, you'll just continue to have problems with hidden SSIDs when
5717         using mac80211-based drivers.
5718
5719         * src/supplicant-manager/nm-supplicant-config.h
5720           src/supplicant-manager/nm-supplicant-config.c
5721                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
5722                         whether the driver supports SSID scans or not.  If it does, and if
5723                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
5724
5725         * src/nm-device-802-11-wireless.c
5726                 - (constructor): check whether or not the driver supports SSID scans
5727                 - (build_supplicant_config): pass driver SSID scan capability when
5728                         building the wireless bits of the supplicant config
5729
5730 2008-01-09  Dan Williams  <dcbw@redhat.com>
5731
5732         * src/nm-device.c
5733           src/nm-device.h
5734                 - (device_activation_precheck, check_connection_complete): remove this
5735                         virtual function; incomplete connections should be invalid by
5736                         definition, complete-ness should be checked in the setting's
5737                         verify function
5738
5739         * src/nm-serial-device.c
5740           src/nm-gsm-device.c
5741                 - (real_check_connection_complete): remove
5742
5743         * libnm-util/nm-setting-serial.c
5744                 - (verify): new function; ensure there is a PPP setting too
5745
5746         * libnm-util/nm-setting-gsm.c
5747                 - (verify): ensure there is a serial setting too
5748
5749 2008-01-06  Dan Williams  <dcbw@redhat.com>
5750
5751         * src/dhcp-manager/nm-dhcp-manager.c
5752                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
5753                         (gnome.org #332953)
5754
5755 2008-01-04  Dan Williams  <dcbw@redhat.com>
5756
5757         * src/named-manager/nm-named-manager.c
5758                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
5759                         nameservers if the secondary config doesn't have any
5760                         (gnome.org #346833)
5761
5762 2008-01-02  Tambet Ingo  <tambet@gmail.com>
5763
5764         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
5765         with G_PARAM_CONSTRUCT so that they get the default values.
5766
5767         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
5768         the monitoring device and prints out the output for now. Or more precicely, doesn't
5769         do absolutely anything right now since the montoring device argument is never set.
5770
5771         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
5772         requires it's own knob to turn it on.
5773         (config_fd): Add NMSettingSerial to the arguments list.
5774         (nm_serial_device_open): Ditto.
5775         (get_reply_got_data): Ignore the terminators at the beginning of the output.
5776         (nm_serial_device_get_io_channel): Implement.
5777
5778         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
5779         a new reference every time (and forgetting to release it sometimes) is a pain and
5780         it's not like NMManager could work without dbus.
5781         (nm_manager_add_device): Register the added device on dbus here.
5782
5783         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
5784         device.
5785
5786         * src/nm-device.c (constructor): Don't export the device here, instead export
5787         it when it's added to the NMManager's device list.
5788
5789 2007-12-31  Dan Williams  <dcbw@redhat.com>
5790
5791         * src/nm-device-interface.c
5792           src/nm-device-interface.h
5793                 - (nm_device_interface_check_connection_conflicts): new function
5794
5795         * src/nm-device.c
5796           src/nm-device.h
5797                 - (nm_device_check_connection_conflicts): new function
5798                 - (device_activation_precheck): don't require subclasses to implement
5799                         check_connection_complete()
5800                 - check_connection() -> check_connection_complete()
5801
5802         * src/nm-device-802-11-wireless.c
5803                 - (real_check_connection): remove; unused
5804                 - (real_check_connection_conflicts): implement, handle lockdown for
5805                         system connections
5806
5807         * src/nm-device-802-3-ethernet.c
5808                 - (real_check_connection): remove; unused
5809
5810         * src/nm-manager.c
5811                 - (check_connection_allowed): new function
5812                 - (nm_manager_activate_device): ensure the connection being requested
5813                         is allowed to be activated
5814
5815         * src/nm-serial-device.c
5816           src/nm-gsm-device.c
5817                 - real_check_connection() -> real_check_connection_complete()
5818
5819 2007-12-27  Dan Williams  <dcbw@redhat.com>
5820
5821         * src/nm-device-interface.c
5822           src/nm-device-interface.h
5823                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
5824                         normalize and expand errors
5825                 - (nm_device_interface_init): register errors so they can be marshalled
5826                         through dbus-glib
5827                 - (nm_device_interface_activate): ensure that failure of activation
5828                         returns an error
5829
5830         * src/nm-device.c
5831           src/nm-device.h
5832                 - (device_activation_precheck): implementations of check_connection()
5833                         now take a GError and must fill it in if the check fails.  Return
5834                         more descriptive error if the requested connection is already
5835                         activating
5836                 - (nm_device_activate): actually try to return descriptive errors on
5837                         failures
5838
5839         * src/nm-device-802-11-wireless.c
5840           src/nm-device-802-3-ethernet.c
5841           src/nm-serial-device.c
5842           src/nm-gsm-device.c
5843                 - (real_check_connection): return more descriptive errors on failure
5844
5845         * src/NetworkManagerPolicy.c
5846                 - (nm_policy_device_change_check): print activation errors in the logs
5847
5848         * src/nm-manager.c
5849                 - (nm_manager_error_quark, nm_manager_error_get_type,
5850                    nm_manager_class_init): new errors
5851                 - (nm_manager_activate_device): handle errors
5852                 - (nm_manager_error_new): removed
5853                 - (wait_for_connection_expired, connection_added_default_handler,
5854                    impl_manager_activate_device): better error handling
5855
5856 2007-12-27  Dan Williams  <dcbw@redhat.com>
5857
5858         Fixes gnome.org #466954
5859
5860         * src/supplicant-manager/nm-supplicant-settings-verify.c
5861                 - Allow 'frequency' network property
5862
5863         * src/supplicant-manager/nm-supplicant-config.c
5864           src/supplicant-manager/nm-supplicant-config.h
5865                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
5866                         for callers to specify the frequency an Ad-Hoc network should operate
5867                         on.  Some drivers require this to successfully create an Ad-Hoc
5868                         network.
5869
5870         * src/nm-device-802-11-wireless.c
5871                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
5872                         guint32 value in MHz
5873                 - (constructor, nm_device_802_11_wireless_get_frequency): use
5874                         iw_freq_to_uint32()
5875                 - (find_supported_frequency): new function; find a free supported
5876                         frequency for a user-created Ad-Hoc network
5877                 - (build_supplicant_config): if no frequency was specified for a user-
5878                         created Ad-Hoc network, find a free one to use
5879                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
5880                         a specific object as user-created
5881
5882 2007-12-27  Dan Williams  <dcbw@redhat.com>
5883
5884         * libnm-util/nm-utils.c
5885           libnm-util/nm-utils.h
5886                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
5887                         for adhoc networks
5888
5889 2007-12-24  Dan Williams  <dcbw@redhat.com>
5890
5891         * libnm-util/nm-setting-wireless.c
5892                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
5893                         185, 187, 188, 192, and 196
5894
5895 2007-12-24  Dan Williams  <dcbw@redhat.com>
5896
5897         * src/nm-device-802-11-wireless.c
5898                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
5899                         a channel # instead of a frequency
5900
5901 2007-12-24  Dan Williams  <dcbw@redhat.com>
5902
5903         * src/NetworkManagerAP.c
5904           src/NetworkManagerAP.h
5905                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
5906                 - (freq_to_channel): handle split band tables
5907                 - (channel_to_freq): handle split band tables, take a band argument
5908
5909 2007-12-24  Dan Williams  <dcbw@redhat.com>
5910
5911         * libnm-util/nm-setting-connection.h
5912           libnm-util/nm-setting-connection.c
5913                 - Add 'lockdown' member
5914
5915 2007-12-22  Dan Williams  <dcbw@redhat.com>
5916
5917         * libnm-util/nm-setting-wireless.c
5918                 - (nm_setting_wireless_class_init): add missing 'rate' property
5919                         specification
5920
5921 2007-12-18  Dan Williams  <dcbw@redhat.com>
5922
5923         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
5924
5925         * src/nm-netlink-monitor.c
5926           src/nm-netlink-monitor.h
5927                 - Remove handrolled netlink, use libnl instead
5928
5929         * src/nm-device-802-3-ethernet.c
5930                 - (constructor, nm_device_802_3_ethernet_carrier_off,
5931                    nm_device_802_3_ethernet_carrier_on): use new names
5932
5933 2007-12-17  Dan Williams  <dcbw@redhat.com>
5934
5935         * configure.in
5936                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
5937                         and fixes memory leaks)
5938
5939         * src/nm-netlink.c
5940                 - (nm_netlink_get_default_handle): handle new versions of libnl that
5941                         automatically handle the netlink PID
5942
5943 2007-12-17  Dan Williams  <dcbw@redhat.com>
5944
5945         Patch from Michael Biebl <biebl@debian.org>
5946
5947         * configure.in
5948           src/ppp-manager/Makefile.am
5949                 - fix up install dir of pppd plugin
5950                 - clean up configure.in a bit
5951
5952 2007-12-12  Dan Williams  <dcbw@redhat.com>
5953
5954         * system-settings/src/nm-system-settings.conf
5955                 - Allow non-root clients (like the applet) to read settings
5956
5957 2007-12-10  Tambet Ingo  <tambet@gmail.com>
5958
5959         * Replace all occurences of 'UMTS' with 'GSM'.
5960
5961 2007-12-07  Dan Williams  <dcbw@redhat.com>
5962
5963         * src/nm-serial-device.c
5964                 - (real_is_up): serial devices are always "up"
5965
5966 2007-12-07  Dan Williams  <dcbw@redhat.com>
5967
5968         * src/nm-netlink.c
5969           src/NetworkManagerSystem.c
5970                 - (new_nl_handle): ensure that the same netlink pid is never chosen
5971                         twice (gnome.org #491047)
5972                 - Make more robust against allocation-related failures should they occur
5973
5974 2007-12-07  Dan Williams  <dcbw@redhat.com>
5975
5976         Noticed by Christian Persch <chpe@gnome.org>
5977
5978         Always chain up to parent object in dispose and finalize handlers.
5979                 (gnome.org #433112)
5980
5981 2007-12-07  Dan Williams  <dcbw@redhat.com>
5982
5983         * src/nm-device-802-11-wireless.c
5984                 - Wrap #include of linux/mii.h to fix redefined structures due to
5985                         incorrect kernel headers (gnome.org #350061)
5986
5987 2007-12-06  Tambet Ingo  <tambet@gmail.com>
5988
5989         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
5990         before doing anything else.
5991         (init_modem): Move modem initialization here.
5992
5993         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
5994         (nm_serial_device_flash): Implement.
5995
5996         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
5997         changes signal is "StateChanged" and not "Status".
5998         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
5999
6000 2007-12-06  Dan Williams  <dcbw@redhat.com>
6001
6002         * src/supplicant-manager/nm-supplicant-config.c
6003                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6004                         to only send some options when they make sense; also send phase2
6005                         option to the supplicant (possible fix for rh #399631)
6006
6007 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6008
6009         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6010         arguments: This whole file shouldn't really know anything about NMDevices, it
6011         should deal only with device interfaces. Devices might have different ifaces for
6012         different stuff and this place shouldn't know anything about it.
6013
6014         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6015         (global_state_changed): Implement. In the current NM it's not really important,
6016         but will be required in the case of multiple active devices. (Or even better,
6017         if stuff like that gets moved out from NM).
6018
6019         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6020         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
6021         instead.
6022
6023         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6024         devices like serial devices (ttyS0 and ppp0 for example).
6025         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6026         set.
6027         (nm_device_set_ip_iface): Implement.
6028         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6029         after setting ip4_config from here ...
6030         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6031         than this function should call nm_system_device_set_from_ip4_config() because no
6032         other code has enough information on which arguments to use. So instead, other code
6033         could just set the new ip4 config using this function and everyone is happy.
6034
6035         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6036         if we happen to get deactivated while something is pending.
6037         (automatic_registration): Handle the response that indicates pending network
6038         registration and wait until the pending registration is done.
6039         (real_deactivate_quickly): If there's a pending operation, cancel it.
6040
6041         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6042         (real_deactivate_quickly): ... and remove it when it's down.
6043         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6044         it if needed.
6045         (nm_serial_device_wait_for_reply): Ditto.
6046
6047 2007-12-05  Tambet Ingo  <tambet@gmail.com>
6048
6049         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6050         (get_network_done): Remove newline, nm_info() does it already.
6051         (real_act_stage1_prepare): Turn the modem echo off.
6052
6053         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6054         device, set the route to the device interface. This is a hack.
6055
6056         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
6057         return, no need for a new-line.
6058         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6059         Change the device iface here (ugh).
6060         (real_act_stage4_get_ip4_config): Implement.
6061         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6062         Restore the device iface.
6063
6064         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6065         device is not wired or wireless (eg, automatically upped) device.
6066
6067         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6068         it isn't.
6069         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6070
6071         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6072         before calling it's is_device_fn().
6073
6074 2007-12-05  Dan Williams  <dcbw@redhat.com>
6075
6076         * libnm-util/nm-utils.c
6077                 - (nm_utils_register_value_transformations,
6078                    nm_utils_convert_gvalue_hash_to_string): better debug output of
6079                         GHashTables of GValues too
6080
6081 2007-12-04  Dan Williams  <dcbw@redhat.com>
6082
6083         * initscript/RedHat/NetworkManager.in
6084                 - No longer start named; it's D-Bus interface is going away
6085
6086 2007-12-04  Dan Williams  <dcbw@redhat.com>
6087
6088         Patch from Michael Biebl <biebl@debian.org>
6089
6090         * system-settings/plugins/ifcfg/Makefile.am
6091           system-settings/src/main.c
6092           system-settings/src/Makefile.am
6093                 - Put system settings plugins in NM plugins dir
6094
6095         * src/ppp-manager/Makefile.am
6096           src/ppp-manager/nm-ppp-manager.c
6097                 - Move pppd plugin to NM plugins dir
6098
6099 2007-12-04  Dan Williams  <dcbw@redhat.com>
6100
6101         * libnm-util/nm-setting-vpn-properties.h
6102                 - Clarify usage of the 'data' member of the setting
6103
6104         * libnm-util/nm-setting-vpn-properties.c
6105                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6106                 - (set_property): just remove all the settings; don't recreate the has
6107                 - (update_one_secret): don't need to create the hash table here since
6108                         it should always be present
6109
6110 2007-12-03  Tambet Ingo  <tambet@gmail.com>
6111
6112         Implement PIN and PUK requesting.
6113
6114         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6115         (enter_pin): Handle PIN and PUK requests.
6116         (real_act_stage1_prepare): Clear the secret type.
6117         (real_connection_secrets_updated): Implement this class method to get
6118         notified when new secrets arrive.
6119         (nm_umts_device_class_init): Add private data back to the umts device class
6120         to store the required secret type.
6121
6122 2007-12-01  Dan Williams  <dcbw@redhat.com>
6123
6124         * system-settings/plugins/ifcfg/parser.c
6125                 - (parser_parse_file): don't try to verify NULL connections
6126
6127 2007-12-01  Dan Williams  <dcbw@redhat.com>
6128
6129         * system-settings/src/main.c
6130                 - (load_connections, add_connection_to_settings): actually export
6131                         plugin-provided connections over D-Bus so NM can get them
6132
6133 2007-12-01  Dan Williams  <dcbw@redhat.com>
6134
6135         * system-settings/plugins/ifcfg/parser.c
6136           system-settings/plugins/ifcfg/parser.h
6137           system-settings/plugins/ifcfg/plugin.c
6138                 - Hook up more inotify bits (untested)
6139
6140 2007-11-29  Dan Williams  <dcbw@redhat.com>
6141
6142         * system-settings/src/nm-system-config-interface.h
6143           system-settings/src/nm-system-config-interface.c
6144                 - (nm_system_config_interface_init,
6145                    nm_system_config_interface_get_connections): add
6146
6147         * system-settings/src/main.c
6148                 - (load_plugins, load_connections, main): use a GSList for plugins
6149                         to ensure priority ordering
6150
6151         * system-settings/plugins/ifcfg/parser.c
6152                 - (ifcfg_error_quark): move to plugin.c, and rename
6153
6154         * system-settings/plugins/ifcfg/plugin.h
6155           system-settings/plugins/ifcfg/plugin.c
6156                 - (ifcfg_plugin_error_quark): move here from parser.c
6157                 - rework connection loading and initialization
6158                 - Add preliminary inotify support for network profile config file
6159
6160 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6161
6162         Merge the beginnings of the new GSM card support.
6163
6164         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6165         ppp watch source before killing pppd - If this happens from g_object_unref()
6166         then the ppp manager is already destroyed by the time the watch callback runs.
6167
6168         * src/nm-hal-manager.c: Add a device_type_name string to the device
6169         creators, so that we can print a nice human readable string when a
6170         device is added.
6171
6172         * src/nm-umts-device.c (automatic_registration_get_network): Query
6173         for the activated network, not much is done with the result thought.
6174
6175         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6176         (ppp_ip4_config): Change the device state to activated here for now.
6177         (real_check_connection): Make sure the connection includes ppp setting.
6178
6179         * libnm-glib/nm-client.c (get_device): Handle umts devices.
6180
6181         * libnm-glib/Makefile.am: Add the new files to build.
6182
6183         * libnm-glib/nm-umts-device.c: 
6184         * libnm-glib/nm-umts-device.h: Implement.
6185
6186 2007-11-26  Tambet Ingo  <tambet@gmail.com>
6187
6188         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6189         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6190
6191         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6192         the timeout source - this function is only called when the timeout source has
6193         been removed.
6194         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6195         to be big enough to contain the terminating zero element as well.
6196         The timeout argument is meant to be in seconds now.
6197         (real_deactivate_quickly): Implement.
6198
6199         * src/NetworkManager.conf: Allow root to own 
6200         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6201
6202         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6203         (not unsigned ints).
6204
6205         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6206         small issue with parity bounds - capital letters have lower ascii codes
6207         than lower case letters.
6208
6209         * libnm-util/nm-connection.c (register_default_settings): Register serial
6210         and umts settings.
6211
6212 2007-11-22  Tambet Ingo  <tambet@gmail.com>
6213
6214         Remove the "index" property from devices as not all device types have this.
6215
6216         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6217
6218         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6219         (wired_device_creator): Get the device interface from hal to create the device.
6220         (wireless_device_creator): Ditto.
6221
6222         * src/nm-device.c (nm_device_init): Remove the index member.
6223         (constructor): Remove the checks for index property, make interface property
6224         a require constructor property.
6225         Use the HAL udi for DBus path for devices.
6226         (nm_device_get_index): Remove.
6227         (set_property): Remove index handling.
6228         (get_property): Ditto.
6229         (nm_device_get_dbus_path): Remove.
6230
6231         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6232         property.
6233
6234         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6235         Access the device index through it's interface.
6236         (nm_device_802_3_ethernet_link_deactivated): Ditto.
6237         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6238         index argument. Add interface argument.
6239
6240         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6241         the useless test_dev argument. Remove index argument. Add interface arugment.
6242
6243         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6244         device index through interface.
6245         (nm_system_set_mtu): Ditto.
6246
6247         * introspection/nm-device.xml: Remove the "Index" property.
6248
6249 2007-11-21  Tambet Ingo  <tambet@gmail.com>
6250
6251         * src/nm-serial-device.c: 
6252         * src/nm-serial-device.c: 
6253         * src/nm-umts-device.c:
6254         * src/nm-umts-device.h: Implement.
6255
6256         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
6257         allocated by libhal.
6258         (modem_device_creator): Implement.
6259         (register_built_in_creators): Register the modem creator.
6260
6261         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
6262         Remove the unused test_dev argument.
6263
6264         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6265
6266         * src/Makefile.am: Add new files to build.
6267         Link in ppp-manager.
6268
6269         * libnm-util/nm-setting-umts.c: 
6270         * libnm-util/nm-setting-umts.h: 
6271         * libnm-util/nm-setting-serial.c: 
6272         * libnm-util/nm-setting-serial.h: Implement.
6273
6274         * libnm-util/Makefile.am: Add new files to build.
6275
6276 2007-11-28  Dan Williams  <dcbw@redhat.com>
6277
6278         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6279
6280         Support DHCP-provided static routes.
6281
6282         * src/nm-ip4-config.h
6283           src/nm-ip4-config.c
6284                 - Add get/set functions for static routes
6285
6286         * src/dhcp-manager/nm-dhcp-manager.c
6287                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6288                         DHCP response
6289
6290         * src/NetworkManagerSystem.c
6291                 - (nm_system_device_set_from_ip4_config): set any static routes on the
6292                         interface when applying the IP4Config
6293
6294 2007-11-28  Dan Williams  <dcbw@redhat.com>
6295
6296         * src/nm-device-802-11-wireless.c
6297                 - (real_act_stage1_prepare): mark APs created for hidden networks
6298                         as non-broadcasting
6299
6300 2007-11-27  Dan Williams  <dcbw@redhat.com>
6301
6302         * system-settings/src/nm-system-config-interface.h
6303                 - Note how to store secrets on NMSetting objects
6304
6305         * system-settings/src/dbus-settings.c
6306                 - (connection_settings_get_secrets): implement
6307
6308 2007-11-27  Dan Williams  <dcbw@redhat.com>
6309
6310         * system-settings/plugins/ifcfg/Makefile.am
6311           system-settings/plugins/ifcfg/parser.c
6312           system-settings/plugins/ifcfg/parser.h
6313           system-settings/plugins/ifcfg/plugin.c
6314                 - Parse wireless connections too
6315
6316         * system-settings/src/dbus-settings.c
6317           system-settings/src/dbus-settings.h
6318           system-settings/src/main.c
6319                 - Handle connection update/removal if the plugin supports it
6320
6321 2007-11-27  Dan Williams  <dcbw@redhat.com>
6322
6323         * src/nm-dbus-manager.h
6324           src/nm-hal-manager.c
6325                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6326                         do it for them
6327
6328         * src/Makefile.am
6329           src/NetworkManagerDbusUtils.c
6330           src/NetworkManagerDbusUtils.h
6331                 - Remove these two source files; they are unused
6332
6333 2007-11-27  Dan Williams  <dcbw@redhat.com>
6334
6335         * src/vpn-manager/nm-vpn-manager.c
6336                 - (impl_vpn_manager_connect): fix system settings check (found by
6337                         James M. Leddy)
6338
6339 2007-11-26  Dan Williams  <dcbw@redhat.com>
6340
6341         * Fix warnings so everything compiles with --enable-more-warnings
6342
6343 2007-11-25  Dan Williams  <dcbw@redhat.com>
6344
6345         * system-settings/*
6346                 - Rework structure and code to use GModule-loaded plugins and a plugin
6347                         interface that plugins export to the system settings service
6348
6349 2007-11-21  Dan Williams  <dcbw@redhat.com>
6350
6351         * system-settings/*
6352                 - Add Soren's system settings service.  Needs work for distros other
6353                         than Fedora; the backends from NM should mostly migrate to here
6354                         and be converted to GObjects
6355
6356 2007-11-21  Dan Williams  <dcbw@redhat.com>
6357
6358         * libnm-util/nm-setting-vpn-properties.c
6359                 - (set_property): must deep-copy the given settings hash, otherwise
6360                         double-free errors occur when the setting is disposed of
6361
6362 2007-11-21  Dan Williams  <dcbw@redhat.com>
6363
6364         * src/vpn-manager/nm-vpn-act-request.h
6365           src/vpn-manager/nm-vpn-act-request.c
6366                 - Remove; unused
6367
6368 2007-11-20  Dan Williams  <dcbw@redhat.com>
6369
6370         * libnm-util/nm-utils.c
6371                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6372                    nm_utils_convert_ip4_addr_struct_array_to_string,
6373                    nm_utils_register_value_transformations): print out the readable
6374                         values of more types of properties of NMSettings subclasses
6375
6376 2007-11-20  Dan Williams  <dcbw@redhat.com>
6377
6378         * libnm-util/nm-setting-ip4-config.c
6379                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6380                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
6381                         marshal GValueArrays inside collections, so switch to types that it
6382                         can actually marshal/demarshal
6383
6384 2007-11-16  Dan Williams  <dcbw@redhat.com>
6385
6386         * libnm-util/nm-setting-wireless-security.c
6387                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6388                         minimal verification of EAP methods too
6389                 - (verify): verify phase1 eap methods too
6390
6391 2007-11-15  Dan Williams  <dcbw@redhat.com>
6392
6393         * libnm-glib/nm-device.h
6394           libnm-glib/nm-device.c
6395                 - (nm_device_get_product, nm_device_get_vendor): should be returning
6396                         const char *
6397
6398 2007-11-15  Dan Williams  <dcbw@redhat.com>
6399
6400         * libnm-glib/nm-device.c
6401                 - (get_product_and_vendor): don't try to free things that should be
6402                         freed
6403
6404 2007-11-15  Dan Williams  <dcbw@redhat.com>
6405
6406         * src/NetworkManagerUtils.c
6407                 - (nm_ethernet_address_is_valid): unbreak previous fix
6408
6409 2007-11-15  Dan Williams  <dcbw@redhat.com>
6410
6411         * src/supplicant-manager/nm-supplicant-config.c
6412                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6413                         options
6414
6415 2007-11-15  Dan Williams  <dcbw@redhat.com>
6416
6417         * src/NetworkManagerUtils.c
6418                 - (nm_ethernet_address_is_valid): fix style, clarify
6419                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6420
6421         * src/nm-device-802-11-wireless.c
6422                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6423                 - (nm_device_802_11_wireless_get_ssid,
6424                    nm_device_802_11_wireless_get_bssid,
6425                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6426                         before calling the ioctl; fixes valgrind-reported jump depends on
6427                         uninitialized value errors
6428
6429 2007-11-15  Dan Williams  <dcbw@redhat.com>
6430
6431         * libnm-util/nm-setting.c
6432                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6433                         unecessary to serialize 'name'
6434
6435         * src/nm-activation-request.c
6436                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6437                         the GetSecrets call
6438
6439 2007-11-15  Dan Williams  <dcbw@redhat.com>
6440
6441         * libnm-util/nm-setting-connection.h
6442           libnm-util/nm-setting-connection.c
6443                 - Rename the 'name' property to 'id', because it conflicted with the
6444                         NMSetting superclass' 'name' property.
6445
6446         * libnm-util/nm-setting.c
6447                 - (nm_setting_to_hash): serialize the 'name' property
6448                 - (one_property_cb): ignore 'name' on deserialization of a connection
6449
6450         * src/nm-device-802-11-wireless.c
6451           src/vpn-manager/nm-vpn-connection.c
6452           src/NetworkManagerPolicy.c
6453                 - Fix up for NMSettingConnection 'name'->'id' changes
6454
6455 2007-11-13  Dan Williams  <dcbw@redhat.com>
6456
6457         * libnm-glib/nm-device-802-11-wireless.h
6458           libnm-glib/nm-device-802-11-wireless.c
6459                 - (nm_device_802_11_wireless_get_hw_address): return should be const
6460
6461         * test/nm-tool.c
6462           libnm-glib/libnm-glib-test.c
6463                 - Fixes for above change
6464
6465 2007-11-12  Dan Williams  <dcbw@redhat.com>
6466
6467         * src/supplicant-manager/nm-supplicant-settings-verify.c
6468                 - Allow fragment_size option
6469
6470         * src/supplicant-manager/nm-supplicant-settings-verify.c
6471                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6472                         EAP fragment size than the default to help some TLS connections
6473
6474 2007-11-12  Dan Williams  <dcbw@redhat.com>
6475
6476         Make certs actually work.  The private key is now a secret, and should be
6477         decrypted when requested by NM.  The private key and phase2 private key
6478         passwords are no longer interesting to NM because they should be used by
6479         the settings service to decrypt the private key itself before passing it
6480         to NM, and hence have been removed as fields.
6481
6482         * libnm-util/nm-setting-wireless-security.h
6483           libnm-util/nm-setting-wireless-security.c
6484                 - Remove private-key-passwd and phase2-private-key-passwd from
6485                         properties
6486                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6487                    need_secrets): use property #defines instead strings to keep things
6488                         consistent
6489                 - (need_secrets_tls): if a client certificate is present but no
6490                         private key, request the private key
6491                 - (set_property, get_property, nm_setting_wireless_security_class_init):
6492                         remove private key password stuff, mark private keys as secret
6493
6494         * src/supplicant-manager/nm-supplicant-settings-verify.c
6495                 - Remove private_key_passwd and private_key2_passwd from opt_table
6496
6497 2007-11-09  Dan Williams  <dcbw@redhat.com>
6498
6499         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6500         Since the vpn-properties are managed and known by the VPN daemons themselves,
6501         libnm-util doesn't know what's secret and what's in the setting's 'data'
6502         member.
6503
6504         * libnm-util/nm-setting.h
6505           libnm-util/nm-setting.c
6506                 - Add the ability for subclasses to override update_one_secret
6507
6508         * libnm-util/nm-setting-vpn-properties.c
6509                 - Override update_one_secret and just copy the values into the
6510                         internal table
6511
6512 2007-11-09  Dan Williams  <dcbw@redhat.com>
6513
6514         * libnm-glib/nm-settings.h
6515           libnm-glib/nm-settings.c
6516                 - (nm_settings_new_error): remove
6517                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6518                         clients should use g_set_error() with NM_SETTINGS_ERROR
6519
6520 2007-11-09  Dan Williams  <dcbw@redhat.com>
6521
6522         * src/supplicant-manager/nm-supplicant-config.c
6523                 - (nm_supplicant_config_add_setting_wireless_security): private key
6524                         passwords are never sent to wpa_supplicant, because the supplicant
6525                         should never be reading random files from the disk.  Clients like
6526                         the applet are required to decrypt the private keys and send NM
6527                         the decrypted blobs.
6528
6529 2007-11-08  Dan Williams  <dcbw@redhat.com>
6530
6531         * libnm-util/nm-setting-wireless-security.h
6532           libnm-util/nm-setting-wireless-security.c
6533                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6534                         members to 802-11-wireless-security structure.  This should be used
6535                         to indicate that the values in private-key and phase2-private-key
6536                         are already decrypted by the user agent, and that no
6537                         private-key-passwd or phase2-private-key-passwd should be expected.
6538                         It is not meant to be a stored configuration value, but meant to
6539                         be set when the conneciton is sent to NM over dbus.
6540
6541 2007-11-08  Dan Williams  <dcbw@redhat.com>
6542
6543         * libnm-util/nm-connection.h
6544           libnm-util/nm-connection.c
6545                 - (nm_connection_need_secrets): add argument to return hints
6546
6547         * src/nm-device-802-11-wireless.c
6548                 - (link_timeout_cb, supplicant_connection_timeout_cb,
6549                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6550                         nm_connection_need_secrets() change
6551
6552 2007-11-07  Tambet Ingo  <tambet@gmail.com>
6553
6554         Rework NMSetting structures: Move each setting to it's own file.
6555         Convert to GObject. Remove home grown setting types and use GTypes.
6556         Use GObject property introspection for hash conversion, enumerating
6557         properties, etc.
6558
6559         * libnm-util/nm-setting-connection.[ch]
6560         * libnm-util/nm-setting-ip4-config.[ch]
6561         * libnm-util/nm-setting-ppp.[ch]
6562         * libnm-util/nm-setting-vpn.[ch]
6563         * libnm-util/nm-setting-vpn-properties.[ch]
6564         * libnm-util/nm-setting-wired.[ch]
6565         * libnm-util/nm-setting-wireless.[ch]
6566         * libnm-util/nm-setting-wireless-security.[ch]
6567
6568         New files, each containing a setting.
6569
6570         * libnm-util/nm-setting-template.[ch]: A template for creating new
6571         settings. To use it, just replace 'template' with the new setting
6572         name, and you're half-way done.
6573
6574         * libnm-util/nm-setting.c: Convert to GObject and use GObject
6575         introspection instead of internal types and tables.
6576
6577         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6578
6579         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6580         GValue types defined by dbus-glib for composed types like collections,
6581         structures and maps.
6582
6583         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6584         a setting from connection takes the setting type now. Also, since
6585         the settings are in multiple files, include relevant settings.
6586
6587 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
6588
6589         * configure.in:
6590         * src/backends/NetworkManagerGentoo.c:
6591         (nm_system_restart_mdns_responder): Implement restarts for other mdns
6592         providers in Gentoo.
6593
6594 2007-10-31  Dan Williams  <dcbw@redhat.com>
6595
6596         * libnm-util/nm-connection.c
6597                 - (gvalue_to_string): handle UINT32 arrays
6598
6599 2007-10-31  Dan Williams  <dcbw@redhat.com>
6600
6601         * libnm-glib/nm-device.h
6602           libnm-glib/nm-device.c
6603                 - (nm_device_get_description): remove
6604                 - (nm_device_get_product, nm_device_get_vendor): add
6605                 - (nm_device_update_description): new function (private); walk HAL
6606                         devices to get product and vendor IDs for a specific device
6607
6608 2007-10-31  Dan Williams  <dcbw@redhat.com>
6609
6610         * src/nm-device-802-11-wireless.c
6611                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
6612
6613 2007-10-29  Dan Williams  <dcbw@redhat.com>
6614
6615         * src/nm-hal-manager.c
6616                 - (device_added, device_new_capability): ignore device additions while
6617                         asleep.  Fixes crash caused when NM goes to sleep, a network device
6618                         kernel module is unloaded and reloaded and recognized by NM again.
6619
6620 2007-10-26  Dan Williams  <dcbw@redhat.com>
6621
6622         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
6623
6624         * src/NetworkManagerAP.c
6625           src/NetworkManagerAP.h
6626           libnm-glib/nm-access-point.c
6627           libnm-glib/nm-access-point.h
6628                 - Make 'rate' property a guint32 to better match with WEXT and
6629                         wpa_supplicant and to allow representation of higher bitrates
6630
6631         * src/nm-device-802-11-wireless.c
6632           introspection/nm-device-802-11-wireless.xml
6633           libnm-glib/nm-device-802-11-wireless.c
6634           libnm-glib/nm-device-802-11-wireless.h
6635                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
6636
6637         * src/nm-device-802-3-ethernet.c
6638           src/nm-device-802-3-ethernet.h
6639           introspection/nm-device-802-3-ethernet.xml
6640           libnm-glib/nm-device-802-3-ethernet.c
6641           libnm-glib/nm-device-802-3-ethernet.h
6642                 - Make 'speed' property a guint32 to match other speed/rate types
6643                 - Make nm_device_802_3_ethernet_get_speed() static
6644
6645         * test/nm-tool.c
6646                 - Update for the changes above
6647
6648 2007-10-26  Dan Williams  <dcbw@redhat.com>
6649
6650         * src/named-manager/nm-named-manager.c
6651                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
6652                     not calling fclose() twice on some error conditions
6653
6654 2007-10-26  Dan Williams  <dcbw@redhat.com>
6655
6656         * src/nm-activation-request.c
6657                 - (dispose): clean up indentation; get the right DBusGProxy object to
6658                         cancel the GetSecrets pending call on.  Need to use the Secrets
6659                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
6660                         pending call doesn't get canceled, and pressing Cancel in the
6661                         applet's password dialog could cause get_secrets_cb() to be called
6662                         after the activation request has already been destroyed
6663
6664 2007-10-24  Dan Williams  <dcbw@redhat.com>
6665
6666         * src/supplicant-manager/nm-supplicant-config.c
6667                 - (nm_supplicant_config_add_blob): pass blob data and length for
6668                         verification
6669                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
6670
6671 2007-10-24  Dan Williams  <dcbw@redhat.com>
6672
6673         * src/supplicant-manager/nm-supplicant-settings-verify.c
6674                 - (opt_table): max length for certificates should be 65536
6675
6676 2007-10-24  Dan Williams  <dcbw@redhat.com>
6677
6678         * src/supplicant-manager/nm-supplicant-interface.c
6679                 - (blob_free): correctly free blob data after use
6680                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
6681
6682 2007-10-24  Dan Williams  <dcbw@redhat.com>
6683
6684         * libnm-util/nm-setting.c
6685                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
6686                         EAP method need secrets
6687
6688 2007-10-24  Dan Williams  <dcbw@redhat.com>
6689
6690         * src/backends/NetworkManagerRedHat.c
6691                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
6692
6693 2007-10-23  Dan Williams  <dcbw@redhat.com>
6694
6695         * libnm-util/nm-setting.c
6696           libnm-util/nm-setting.c
6697                 - (nm_setting_compare): implement
6698                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
6699                    compare_one_hash_gvalue): compare the contents of a setting
6700
6701         * libnm-util/nm-connection.c
6702                 - (nm_connection_compare): implement
6703
6704 2007-10-23  Dan Williams  <dcbw@redhat.com>
6705
6706         * src/nm-activation-request.c
6707                 - (get_secrets_cb): handle getting a setting back that is more than
6708                         just secrets (ie, user changed auth or EAP method or something)
6709
6710 2007-10-23  Dan Williams  <dcbw@redhat.com>
6711
6712         * libnm-util/nm-setting.c
6713           libnm-util/nm-setting.h
6714                 - (nm_setting_verify): new function; verify one setting
6715                 - (nm_settings_verify_all): rename from nm_settings_verify()
6716                 - (setting_connection_verify, setting_wireless_verify): allow NULL
6717                         all_settings
6718
6719         * libnm-util/nm-connection.c
6720                 - (nm_connection_replace_settings, nm_connection_verify,
6721                    nm_connection_new_from_hash): handle nm_settings_verify() rename
6722
6723 2007-10-23  Dan Williams  <dcbw@redhat.com>
6724
6725         * src/nm-device-802-11-wireless.c
6726                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
6727                         desired behavior
6728
6729 2007-10-23  Dan Williams  <dcbw@redhat.com>
6730
6731         * src/supplicant-manager/nm-supplicant-settings-verify.c
6732                 - eap_allowed, phase2_allowed: harmonize with allowed values from
6733                         nm-settings.c
6734
6735 2007-10-23  Dan Williams  <dcbw@redhat.com>
6736
6737         * src/nm-device-802-11-wireless.c
6738                 - (real_act_stage2_config): after the first association failure,
6739                         if the connection still needs secrets ask the user for them
6740                         explicitly.  After the fourth association failure due to bad
6741                         secrets, fail the connection entirely.  Handles the GetSecrets
6742                         loop that NM gets into when the provided secrets don't match up
6743                         with the connection details.
6744
6745 2007-10-23  Dan Williams  <dcbw@redhat.com>
6746
6747         * src/supplicant-manager/nm-supplicant-config.c
6748                 - (nm_supplicant_config_add_setting_wireless_security): only add
6749                         WPA-specific options when WPA is in use
6750
6751 2007-10-23  Dan Williams  <dcbw@redhat.com>
6752
6753         * src/supplicant-manager/nm-supplicant-config.c
6754                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
6755                         secret doesn't need to be unhexified
6756
6757 2007-10-23  Dan Williams  <dcbw@redhat.com>
6758
6759         * libnm-util/nm-setting.c
6760                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
6761                         before trying to do something with it
6762
6763 2007-10-23  Dan Williams  <dcbw@redhat.com>
6764
6765         * src/nm-device-802-11-wireless.c
6766                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
6767
6768 2007-10-23  Dan Williams  <dcbw@redhat.com>
6769
6770         * src/nm-device-802-11-wireless.c
6771                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
6772                         non-SSID-broadcasting APs
6773
6774 2007-10-23  Dan Williams  <dcbw@redhat.com>
6775
6776         * src/NetworkManagerAP.c
6777                 - (match_cipher, security_compatible): remove
6778                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
6779                         libnm-util instead
6780
6781 2007-10-23  Dan Williams  <dcbw@redhat.com>
6782
6783         * libnm-util/nm-utils.c
6784           libnm-util/nm-utils.h
6785                 - (nm_utils_ap_security_compatible): common function for checking
6786                         whether a specific AP is compatible with an NMConnection
6787
6788 2007-10-23  Dan Williams  <dcbw@redhat.com>
6789
6790         * libnm-util/nm-setting.c
6791                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
6792                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
6793                    need_secrets_password, setting_wireless_security_verify): fix
6794                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
6795                         secrets logic for each supported EAP method
6796
6797 2007-10-23  Dan Williams  <dcbw@redhat.com>
6798
6799         * src/supplicant-manager/nm-supplicant-config.c
6800                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
6801                         config option name, should be "private_key2_passwd"
6802
6803 2007-10-22  Tambet Ingo  <tambet@gmail.com>
6804
6805         Implement support for static IP addresses, additional/overridden DNS and
6806         DNS domain search lists.
6807
6808         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
6809         (ip4_addresses_to_gvalue): Implement.
6810         (convert_array_to_byte_array): Implement.
6811         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
6812         NM_S_TYPE_IP4_ADDRESSES.
6813         (nm_setting_hash): Ditto.
6814         (default_setting_clear_secrets): Add a default case for the switch: IP address
6815         shouldn't be secret, ever.
6816         (setting_ip4_config_verify): Update, requires addresses in case of manual
6817         configurations.
6818         (setting_ip4_config_destroy): Free stuff.
6819
6820         * src/nm-device.c (merge_ip4_config): Implement.
6821         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
6822
6823 2007-10-22  Dan Williams  <dcbw@redhat.com>
6824
6825         * libnm-util/nm-setting.c
6826                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
6827                         pairwise cipher options for Dynamic WEP
6828
6829 2007-10-21  Dan Williams  <dcbw@redhat.com>
6830
6831         * src/NetworkManagerAP.c
6832           src/NetworkManagerAP.h
6833                 - Rename 'articifical' -> 'fake' since that's what they are until
6834                         noticed in scans
6835                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
6836                         from the attributes in an NMConnection object
6837                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
6838                         WPA Enterprise
6839                 - (nm_ap_match_in_list): find a matching AP in a scan list
6840
6841         * src/nm-device-802-11-wireless.c
6842                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
6843                         AP when searching the scan list; match on frequency and mode too
6844                 - (nm_device_802_11_wireless_get_frequency): implement
6845                 - (merge_scanned_ap): replace duplicate matching logic with
6846                         nm_ap_match_in_list()
6847                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
6848                         the user is trying to connect to a hidden network that is not yet
6849                         known from the scan list
6850                 - (activation_success_handler): now that the card knows the AP's BSSID,
6851                         there may already be a scanned AP in the scan list that is what
6852                         we really wanted to connect to, but didn't know at the time.  Use
6853                         that instead of the 'fake' AP created at activation start and get
6854                         rid of the 'fake' AP 
6855                 - (cull_scan_list): don't remove fake APs
6856
6857 2007-10-21  Dan Williams  <dcbw@redhat.com>
6858
6859         * src/nm-activation-request.h
6860           src/nm-activation-request.c
6861                 - (nm_act_request_set_specific_object): new function; allow setting the
6862                         specific object if one isn't set yet
6863
6864 2007-10-20  Dan Williams  <dcbw@redhat.com>
6865
6866         * src/supplicant-manager/nm-supplicant-config.h
6867           src/supplicant-manager/nm-supplicant-config.c
6868                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
6869                         table to store blobs
6870                 - (nm_supplicant_config_add_blob): new function; add blob to internal
6871                         blob hash table
6872                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
6873                 - (nm_supplicant_config_add_setting_wireless_security): handle
6874                         options that use certificates (ie, blobs)
6875
6876         * src/nm-device-802-11-wireless.c
6877                 - (build_supplicant_config): pass a UID (just use the connection path)
6878                         to the supplicant config as now required
6879
6880         * src/supplicant-manager/nm-supplicant-interface.c
6881                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
6882                         there are any blobs to send to wpa_supplicant, send those first
6883                         before sending the network configuration
6884
6885 2007-10-19  Dan Williams  <dcbw@redhat.com>
6886
6887         Split the GetSecrets() call off to a separate D-Bus interface so that it
6888         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
6889         should be able to call GetSecrets().
6890
6891         * include/NetworkManager.h
6892                 - Define the connection secrets D-Bus interface
6893
6894         * src/vpn-manager/nm-vpn-connection.c
6895                 - (clear_need_auth): get the right proxy object for the connection
6896                         secrets interface
6897                 - (get_connection_secrets): use the connection secrets proxy; send
6898                         empty hints in get secrets request
6899
6900         * src/nm-activation-request.c
6901                 - (nm_act_request_request_connection_secrets): use the connection
6902                         secrets proxy; send empty hints in get secrets request
6903
6904         * src/nm-manager.c
6905           src/nm-manager.h
6906                 - (connection_get_settings_cb): set the connection secrets proxy on
6907                         the connection object too
6908                 - (internal_new_connection_cb): create the connection secrets proxy
6909
6910         * introspection/nm-settings-connection.xml
6911                 - Define Connection.Secrets interface and move GetSecrets there
6912                 - Add a 'hints' argument to GetSecrets
6913
6914         * libnm-glib/nm-settings.c
6915           libnm-glib/nm-settings.h
6916                 - (impl_connection_settings_get_secrets): add 'hints' argument
6917
6918 2007-10-19  Dan Williams  <dcbw@redhat.com>
6919
6920         * src/nm-device.c
6921                 - (constructor): add message about what path a device is exported as
6922                         to help in debugging rh #339011
6923
6924 2007-10-17  Dan Williams  <dcbw@redhat.com>
6925
6926         * libnm-util/nm-utils.h
6927           libnm-util/nm-utils.c
6928                 - (nm_utils_security_valid): common function to help find the intersection
6929                         of capabilities of devices and (optionally) access points
6930
6931 2007-10-17  Dan Williams  <dcbw@redhat.com>
6932
6933         * src/nm-device-802-11-wireless.c
6934                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
6935                         don't get erroneously cleared
6936
6937 2007-10-17  Dan Williams  <dcbw@redhat.com>
6938
6939         * src/nm-manager.h
6940           src/nm-manager.c
6941           src/nm-hal-manager.c
6942                 - (device_removed, finalize, nm_manager_remove_device,
6943                    nm_manager_sleep): add a 'deactivate' argument to 
6944                    nm_manager_remove_device() to fully deactivate devices when necessary
6945                    (ie, always except when waking up)
6946
6947 2007-10-16  Dan Williams  <dcbw@redhat.com>
6948
6949         * libnm-util/nm-setting.c
6950                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
6951                         also isn't valid phase2 autheap method
6952
6953 2007-10-16  Dan Williams  <dcbw@redhat.com>
6954
6955         * libnm-glib/nm-client.c
6956                 - (update_wireless_status): consolidate updates of wireless status
6957                 - (constructor): use update_wireless_status()
6958                 - (manager_running): set wireless status off when NM goes away; requery
6959                         the wireless status when NM comes back
6960
6961 2007-10-16  Dan Williams  <dcbw@redhat.com>
6962
6963         * libnm-glib/nm-client.c
6964                 - (nm_client_activate_device): actually use the fixed-up specific
6965                         object path
6966
6967 2007-10-16  Dan Williams  <dcbw@redhat.com>
6968
6969         * src/nm-hal-manager.c
6970                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
6971                         killswitch error messages once
6972
6973 2007-10-16  Dan Williams  <dcbw@redhat.com>
6974
6975         * src/nm-manager.c
6976                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
6977                         if it's disabled in hardware; don't touch network devices while
6978                         NM is asleep
6979
6980 2007-10-16  Dan Williams  <dcbw@redhat.com>
6981
6982         * libnm-util/nm-client.c
6983                 - (nm_client_activate_device): convert NULL specific_object to "/",
6984                         which is used in place of NULL
6985
6986         * src/nm-manager.c
6987                 - (impl_manager_activate_device): convert "/" specific_object back into
6988                         NULL
6989
6990 2007-10-16  Tambet Ingo  <tambet@gmail.com>
6991
6992         Implement a generic NMSetting creator from setting name.
6993         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
6994         add a virtual function 'populate_fn'.
6995
6996         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
6997         (register_default_creators): Register setting creators instead of functions
6998         that create and then populate.
6999         (parse_one_setting): Use the common setting creator and then setting specific
7000         poplulation function.
7001
7002         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7003         they all looked exactly the same.
7004         Add a 'populate_fn' virtual function to NMSetting.
7005         Use default virtual functions in case they are not overriden.
7006         (nm_setting_populate_from_hash): Implement.
7007
7008         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7009         name, use a defined string.
7010         (real_act_stage4_get_ip4_config): Ditto.
7011
7012 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7013
7014         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7015         HAL is int, not uint.
7016
7017 2007-10-15  Tambet Ingo  <tambet@gmail.com>
7018
7019         Implement killswitch polling through HAL.
7020
7021         * src/nm-manager.c: Add wireless hardware status property. Add 
7022         'properties-changed' signal for changes in wireless and wireless hardware
7023         state changes.
7024
7025         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7026         and update NMManager's wireless hardware state when it has changed.
7027         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7028         already does that.
7029
7030         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7031         values of wireless state and wireless hardware state. Listen for the
7032         'properties-changed' signals, update the cached values and emit notify.
7033
7034         * include/NetworkManager.h: Fix a typo in a comment.
7035
7036 2007-10-14  Dan Williams  <dcbw@redhat.com>
7037
7038         * libnm-util/nm-setting.c
7039                 - (setting_wireless_security_need_secrets): handle LEAP secrets
7040
7041 2007-10-13  Dan Williams  <dcbw@redhat.com>
7042
7043         * libnm-util/nm-setting.h
7044           libnm-util/nm-setting.c
7045           src/supplicant-manager/nm-supplicant-config.c
7046                 - Make the 'proto' field of the 802-11-wireless-security field a
7047                         string list
7048
7049 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7050
7051         Rework the "properties-changed" signal listening implementation.
7052         Add a generic implementation to NMObject class that listens for
7053         the signal and calls property setters of the target NMObject.
7054
7055         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7056
7057         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7058         code to the end of file so that all the static functions are available
7059         without extra declarations.
7060         Remove the "properties-changed" signal handling and use the framework from
7061         NMObject.
7062         Implement property setters for properties that change with 
7063         "properties-changed" signal.
7064
7065         * libnm-glib/nm-access-point.c: Ditto.
7066
7067 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7068
7069         Rework the "properties-changed" signal implementation.
7070         In classes that need to use it, just emit "GObject::notify" and the new
7071         framework takes care of the rest to make the signal available on dbus.
7072         The framework queues the notifications and tries to send as many together
7073         in one signal as possible.
7074
7075         * src/nm-properties-changed-signal.c:
7076         * src/nm-properties-changed-signal.h: Implement.
7077
7078         * src/Makefile.am: Add new files to build.
7079
7080         * src/NetworkManagerAP.c: Use the general framework for properties-changed
7081         signal.
7082
7083         * src/nm-device-802-11-wireless.c: Ditto.
7084
7085 2007-10-10  Dan Williams  <dcbw@redhat.com>
7086
7087         * src/nm-manager.c
7088                 - (wait_for_connection_expired): ensure info is valid
7089                 - (connection_added_default_handler): Should only remove pending
7090                         connection info when the manager has the connection that it's
7091                         waiting for.  Fixes segfault in wait_for_connection_info().  
7092
7093 2007-10-10  Dan Williams  <dcbw@redhat.com>
7094
7095         * libnm-util/nm-setting.c
7096           libnm-util/nm-setting.h
7097                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7098                         can use if they choose.  Should be filled in by the settings service
7099                         on-the-fly with the currently logged in user's username
7100
7101 2007-10-10  Dan Williams  <dcbw@redhat.com>
7102
7103         * src/nm-device-802-11-wireless.c
7104                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7105                         as such, because even if the manager fills in the SSID, NM still
7106                         has to indicate to wpa_supplicant that the AP isn't broadcasting
7107                         its SSID
7108
7109 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7110
7111         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7112         code that used NM's own version of dbus signal handling and custom dictionary
7113         marshalling/unmarshalling. With this change, all that obsolete code can disappear
7114         and we get to maintain over 2000 lines less code.
7115
7116         * libnm-util/dbus-dict-helpers.c:
7117         * libnm-util/dbus-dict-helpers.h: Remove.
7118
7119         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7120
7121         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7122
7123         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7124         handlers.
7125
7126         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7127
7128         * configure.in: Remove test/libnm-util/Makefile creation.
7129
7130         * test/Makefile.am: Remove libnm-util from SUBDIRS.
7131
7132         * test/libnm-util/: Remove the whole directory.
7133
7134 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7135
7136         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
7137         device_state_changed_idle_id variable or it would contain some random value and the
7138         schedule_change_check calls would not do anything.
7139
7140 2007-10-09  Dan Williams  <dcbw@redhat.com>
7141
7142         * src/nm-device-802-11-wireless.c
7143                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7144                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7145                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
7146                         merging of non-SSID-broadcasting APs
7147
7148 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7149
7150         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7151         "guint8 *" since it's usually used with GByteArray->data.
7152         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7153
7154 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7155
7156         * src/NetworkManagerUtils.c
7157         (nm_utils_is_empty_ssid):
7158         (nm_utils_escape_ssid):
7159         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
7160         lot of places, so they belong to libnm-utils instead.
7161
7162         Now with 100% less compiler warnings:
7163
7164         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7165         (nm_dbus_unescape_object_path): Ditto.
7166         (nm_utils_ssid_to_utf8): Ditto.
7167         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7168         (nm_utils_escape_ssid): Ditto.
7169         (nm_utils_same_ssid): Ditto.
7170
7171         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7172         (add_one_connection_element): Remove an unused variable.
7173         (impl_manager_get_active_connections): Ditto.
7174
7175         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7176         variable.
7177
7178         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7179         from the previous commit.
7180
7181         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7182         (real_act_stage1_prepare): Ditto.
7183         (activation_success_handler): Ditto.
7184         (get_property): Ditto.
7185
7186         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7187         variable.
7188
7189         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7190         it's always set.
7191
7192         * src/supplicant-manager/nm-supplicant-config.c 
7193         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7194         to expected "char *".
7195         (nm_supplicant_config_add_setting_wireless): Ditto.
7196         (nm_supplicant_config_remove_option): Remove, not used.
7197
7198         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7199         not double.
7200         (test_wireless_enabled): Ifdef out unused function.
7201         (device_deactivate): Ditto.
7202         (device_state_changed): Ditto.
7203         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7204         (nm_utils_escape_ssid): Ditto.
7205
7206         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7207         (nm_utils_is_empty_ssid): Ditto.
7208
7209         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7210         unused variable.
7211
7212         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7213         (setting_vpn_properties_update_secrets): Ditto.
7214         (int_to_gvalue): Ifdef out for now, not used.
7215         (byte_to_gvalue): Ditto.
7216
7217         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
7218         Unused, remove.
7219
7220 2007-10-08  Tambet Ingo  <tambet@gmail.com>
7221
7222         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7223         about dbus manager, not named manager.
7224         Make sure hal_manager and dbus_mgr are created before trying to unreference.
7225
7226         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7227         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7228         However, the same signal is emitted when we destroy it and there's 
7229         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7230
7231         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7232         releasing the DBusGConnection, since proxy needs a conneciton.
7233         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7234
7235 2007-10-08  Dan Williams  <dcbw@redhat.com>
7236
7237         * src/NetworkManager.c
7238                 - (main): error on unknown command-line options
7239
7240 2007-10-08  Dan Williams  <dcbw@redhat.com>
7241
7242         Reimplement the invalid connection list.  Don't try to re-activate a
7243         connection that just failed or was canceled.
7244
7245         * src/nm-device.c
7246                 - (connection_secrets_failed_cb): fail device activation, don't just
7247                         deactivate the device.  Listeners have to know about the failure.
7248
7249         * src/NetworkManagerPolicy.c
7250                 - (nm_policy_auto_get_best_device): exclude invalid connections from
7251                         the connection list given to a device's get_best_connection()
7252                         method
7253                 - (device_state_changed): tag failed connections as invalid; clear the
7254                         tag from successful connections
7255
7256 2007-10-08  Dan Williams  <dcbw@redhat.com>
7257
7258         Fix problems with interrupted activation.  Previously, choosing an AP
7259         from the menu, then choosing another one before the first connection was
7260         successful wouldn't deactivate the device before starting the new connection
7261         on that same device.
7262
7263         * src/NetworkManagerPolicy.c
7264                 - (deactivate_old_device, device_state_changed, state_changed,
7265                    nm_policy_new): wrong place to deactivate old devices
7266
7267         * src/nm-manager.c
7268                 - (pending_connection_info_destroy, finalize,
7269                    wait_for_connection_expired): decouple destruction of the pending
7270                         connection info from the manager device
7271                 - (connection_added_default_handler): deactivate any active or
7272                         activating device before starting a new activation
7273                 - (impl_manager_activate_device): deactivate any active or activating
7274                         device before starting a new activation; be sure not to leak
7275                         pending connection info if a new activation request arrives but
7276                         there's already a pending one in-process
7277
7278 2007-10-08  Dan Williams  <dcbw@redhat.com>
7279
7280         * src/NetworkManagerAP.h
7281           src/NetworkManagerAP.c
7282                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
7283                         should handle default SSIDs and whether or not to autoconnect
7284                         to them
7285
7286 2007-10-08  Dan Williams  <dcbw@redhat.com>
7287
7288         * src/NetworkManagerPolicy.c
7289                 - (nm_policy_device_change_check): print out connection name where
7290                         possible
7291
7292 2007-10-08  Dan Williams  <dcbw@redhat.com>
7293
7294         * src/nm-device-802-11-wireless.c
7295           src/nm-device-802-11-wireless.h
7296                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7297                         'hidden-ap-found' signal (for internal use only) that allows the
7298                         NMManager to fill in the AP's SSID if a connection has that AP's
7299                         BSSID in its seen-bssids list
7300
7301         * src/nm-manager.c
7302                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7303                         wireless device's hidden-ap-found signal and fill in the APs SSID
7304                         if possible
7305
7306 2007-10-07  Dan Williams  <dcbw@redhat.com>
7307
7308         * src/nm-manager.c
7309           src/nm-manager.h
7310                 - Add a 'connections-added' signal to batch together updates of large
7311                         numbers of connections, like when reading from a settings service
7312                         the first time.  Otherwise, the policy would just activate the first
7313                         suitable connection it saw rather than waiting for the full list
7314                         to arrive.
7315                 - (nm_manager_class_init): register new signal
7316                 - (get_type_for_proxy, connection_get_settings_cb,
7317                    get_connection_for_proxy): centralize places where a proxy's setting
7318                         service is determined
7319                 - (free_get_settings_info): if the call being freed is the last call
7320                         in a pending call group, fire off the connections-added signal
7321                 - (internal_new_connection_cb): add call to a pending call group if
7322                         requested
7323                 - (list_connections_cb): always create a call group here, because this
7324                         call results in a batch of new connections
7325                 - (initial_get_connections): start getting system connections first
7326                 - (nm_manager_connections_destroy, emit_removed): actually emit the
7327                         removed signal when destroying connections
7328
7329         * src/NetworkManagerPolicy.c
7330                 - (nm_policy_new, connections_added): handle connections-added signal
7331                         from the manager
7332
7333 2007-10-06  Dan Williams  <dcbw@redhat.com>
7334
7335         * src/nm-device-802-11-wireless.c
7336                 - (constructor): fix leaked socket
7337
7338 2007-10-06  Dan Williams  <dcbw@redhat.com>
7339
7340         * src/NetworkManagerPolicy.c
7341                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
7342                         connection in the list returned by nm_manager_get_connections() is
7343                         reffed, but they weren't getting unreffed before returning
7344
7345 2007-10-06  Dan Williams  <dcbw@redhat.com>
7346
7347         * src/nm-manager.c
7348                 - (connections_to_slist): sort connections first on autoconnect, then
7349                         on timestamp
7350
7351 2007-10-06  Dan Williams  <dcbw@redhat.com>
7352
7353         * libnm-util/nm-connection.c
7354                 - (gvalue_to_string): handle UINT64
7355
7356 2007-10-06  Dan Williams  <dcbw@redhat.com>
7357
7358         * src/NetworkManagerPolicy.c
7359                 - (connection_updated, nm_policy_new): recheck state when a connection
7360                         gets updated
7361
7362 2007-10-06  Dan Williams  <dcbw@redhat.com>
7363
7364         * src/nm-manager.c
7365           src/nm-manager.h
7366                 - (nm_manager_get_connection_dbus_path): make static
7367                 - (nm_manager_update_connections): remove; unused
7368                 - Add a connection-updated signal
7369                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7370                         handle connection object updates
7371
7372 2007-10-06  Dan Williams  <dcbw@redhat.com>
7373
7374         * src/NetworkManagerPolicy.c
7375                 - (connection_removed): deactivate removed connections
7376
7377 2007-10-06  Dan Williams  <dcbw@redhat.com>
7378
7379         * libnm-util/nm-connection.c
7380           libnm-util/nm-connection.h
7381                 - (nm_connection_replace_settings): new function
7382
7383 2007-10-06  Dan Williams  <dcbw@redhat.com>
7384
7385         * libnm-glib/nm-device-802-11-wireless.c
7386                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7387                         on error when getting the active access point over D-Bus from NM
7388
7389 2007-10-05  Dan Williams  <dcbw@redhat.com>
7390
7391         * libnm-util/nm-setting.c
7392                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7393                         to the NMSettingWireless table; it's now a string array not an array
7394                         of byte arrays
7395
7396 2007-10-05  Dan Williams  <dcbw@redhat.com>
7397
7398         * libnm-glib/nm-device-802-11-wireless.c
7399                 - Cache properties and update cached properties on D-Bus signals from NM
7400
7401 2007-10-05  Dan Williams  <dcbw@redhat.com>
7402
7403         * src/nm-device-802-11-wireless.c
7404                 - (set_current_ap): consolidate current_ap handling code into one place
7405                         to ensure that PropertiesChanged signals are emitted in all cases
7406                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7407                    nm_device_802_11_wireless_dispose): use set_current_ap()
7408
7409 2007-10-05  Dan Williams  <dcbw@redhat.com>
7410
7411         * libnm-glib/nm-access-point.c
7412           libnm-glib/nm-access-point.h
7413                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7414                         because the value is cached internally now.  Callers should not
7415                         free the internal value.
7416                 - Make signal name defines private
7417
7418         * test/nm-tool.c
7419           libnm-glib/libnm-glib-test.c
7420                 - Don't free value returned from nm_access_point_get_hw_address()
7421
7422 2007-10-04  Dan Williams  <dcbw@redhat.com>
7423
7424         * introspection/nm-device-802-11-wireless.xml
7425           src/nm-device-802-11-wireless.h
7426           src/nm-device-802-11-wireless.c
7427                 - Add a PropertiesChanged signal for wireless device
7428                 - Store currently associated access point
7429                 - (periodic_update): generalize; update rate here too and emit the
7430                         correct PropertiesChanged signal when stuff changes
7431                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7432                    real_activation_cancel_handler): clear current_ap when device is
7433                         deactivated
7434                 - (link_to_specific_ap, get_ap_blacklisted,
7435                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7436                         code
7437                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7438                         outside this file
7439                 - (real_set_hw_address): emit property changed signal if the card's
7440                         MAC address changes
7441                 - (real_act_stage1_prepare): set the initial current_ap to the AP
7442                         the card is supposed to be connecting to
7443                 - (activation_success_handler): send out property updates on successful
7444                         activation
7445                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7446                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
7447                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7448                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7449                         is now boxed; add PropertiesChanged signal
7450
7451 2007-10-04  Dan Williams  <dcbw@redhat.com>
7452
7453         * libnm-util/nm-connection.c
7454           libnm-util/nm-connection.h
7455                 - (nm_connection_verify): new function
7456
7457 2007-10-04  Dan Williams  <dcbw@redhat.com>
7458
7459         * libnm-util/nm-setting.c
7460                 - (nm_settings_verify): use #defines when possible rather than strings
7461                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7462                 - (setting_vpn_verify): tighter validity check on 'service_type'
7463
7464 2007-10-04  Dan Williams  <dcbw@redhat.com>
7465
7466         * libnm-glib/nm-settings.c
7467                 - (nm_connection_settings_class_init): provide correct type for argument
7468                         to the Updated signal so that dbus-glib knows how to marshal it
7469
7470 2007-10-03  Dan Williams  <dcbw@redhat.com>
7471
7472         * src/nm-device-802-3-ethernet.c
7473                 - (real_get_best_connection): don't create automatic connections
7474                         internally; clients should provide a setting that applies to
7475                         the device with 'autoconnect: True'.  Problem was that these
7476                         internally auto-created connections don't have a proxy or service
7477                         name becuase they weren't created by a settings daemon, and therefore
7478                         clients have no idea what to do with them.
7479
7480 2007-10-03  Dan Williams  <dcbw@redhat.com>
7481
7482         * src/nm-device-802-11-wireless.c
7483           src/nm-device-802-11-wireless.h
7484           introspection/nm-device-802-11-wireless.xml
7485                 - GetActiveNetworks -> GetAccessPoints
7486                 - ActiveNetwork -> ActiveAccessPoint
7487                 - NetworkAdded -> AccessPointAdded
7488                 - NetowrkRemoved -> AccessPointRemoved
7489
7490         * libnm-glib/nm-device-802-11-wireless.c
7491           libnm-glib/nm-device-802-11-wireless.h
7492                 - network-added signal -> access-point-added
7493                 - network-removed signal -> access-point-removed
7494                 - nm_device_802_11_wireless_get_active_network() ->
7495                         nm_device_802_11_wireless_get_active_access_point()
7496                 - nm_device_802_11_wireless_get_network_by_path() ->
7497                         nm_device_802_11_wireless_get_access_point_by_path()
7498                 - nm_device_802_11_wireless_get_networks() ->
7499                         nm_device_802_11_wireless_get_access_points()
7500
7501         * libnm-glib/libnm-glib-test.c
7502           test/nm-tool.c
7503           src/NetworkManagerPolicy.c
7504                 - Fixups for Network -> AccessPoint
7505
7506 2007-10-03  Dan Williams  <dcbw@redhat.com>
7507
7508         Add a GetActiveConnections() method on the Manager object.
7509
7510         * src/nm-manager.c
7511           src/nm-manager.h
7512           introspection/nm-manager.xml
7513                 - (connection_get_settings_cb): keep connection type around too
7514                 - (impl_manager_get_active_connections, add_one_connection_element):
7515                         implement; returns all active connections and what devices they
7516                         apply to
7517
7518         * libnm-glib/nm-client.c
7519           libnm-glib/nm-client.h
7520           introspection/nm-manager-client.xml
7521                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7522                         by the caller; free here to avoid memory leak
7523                 - (nm_client_get_active_connections): implement; return the list of
7524                         active connections
7525                 - (nm_client_free_active_connection_element): implement; free an element
7526                         of the GSList returned by nm_client_get_active_connections()
7527
7528 2007-10-03  Dan Williams  <dcbw@redhat.com>
7529
7530         * src/nm-device-802-11-wireless.c
7531                 - (nm_device_802_11_wireless_update_bssid): remove
7532                 - (get_active_ap): new function; find the AP in the scan list which
7533                         matches the current BSSID and SSID of the wireless device
7534                 - (nm_device_802_11_periodic_update): get current AP using
7535                         get_active_ap() and print AP roam messages
7536
7537 2007-10-01  Dan Williams  <dcbw@redhat.com>
7538
7539         * libnm-util/nm-setting.h
7540                 - Add a 'timestamp' option to NMSettingConnection
7541                 - Add a UINT64 type
7542
7543         * libnm-util/nm-setting.c
7544                 - (uint64_to_gvalue): new function
7545                 - (nm_setting_populate_from_hash, nm_setting_hash,
7546                    default_setting_clear_secrets): handle UINT64 type
7547                 - con_table: add 'timestamp' member
7548
7549 2007-10-01  Dan Williams  <dcbw@redhat.com>
7550
7551         * src/nm-manager.c
7552                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7553                         value when the connection can be activated immediately
7554
7555 2007-10-01  Dan Williams  <dcbw@redhat.com>
7556
7557         * libnm-glib/nm-device.c
7558                 - (nm_device_class_init): actually tell glib about the carrier-changed
7559                         signal
7560
7561 2007-10-01  Dan Williams  <dcbw@redhat.com>
7562
7563         * configure.in
7564           src/marshallers/Makefile.am
7565           src/marshallers/nm-marshal.list
7566           src/marshallers/nm-marshal-main.c
7567                 - Consolidate glib marshallers into one place
7568
7569         * src/dhcp-manager/Makefile.am
7570           src/dhcp-manager/nm-dhcp-manager.c
7571           src/supplicant-manager/Makefile.am
7572           src/supplicant-manager/nm-supplicant-manager.c
7573           src/supplicant-manager/nm-supplicant-interface.c
7574           src/ppp-manager/Makefile.am
7575           src/ppp-manager/nm-ppp-manager.c
7576           src/vpn-manager/Makefile.am
7577           src/vpn-manager/nm-vpn-connection.c
7578           src/Makefile.am
7579                 - Use consolidated marshallers
7580
7581         * src/dhcp-manager/nm-dhcp-marshal.list
7582           src/dhcp-manager/nm-dhcp-marshal-main.c
7583           src/supplicant-manager/nm-supplicant-marshal-main.c
7584           src/supplicant-manager/nm-supplicant-marshal.list
7585           src/nm-marshal-main.c
7586           src/nm-marshal.list
7587           src/ppp-manager/nm-ppp-marshal-main.c
7588           src/ppp-manager/nm-ppp-marshal.list
7589           src/vpn-manager/nm-vpn-marshal-main.c
7590           src/vpn-manager/nm-vpn-marshal.list
7591                 - Remove
7592
7593 2007-10-01  Dan Williams  <dcbw@redhat.com>
7594
7595         * include/NetworkManagerVPN.h
7596                 - define VPN connection state change reason codes
7597
7598         * src/vpn-manager/Makefile.am
7599           src/vpn-manager/nm-vpn-marshal.list
7600           src/vpn-manager/nm-vpn-marshal-main.c
7601                 - Add marshallers for StateChanged signal
7602
7603         * introspection/nm-vpn-connection.xml
7604                 - New Banner property
7605                 - StateChanged signal now includes a 'reason' argument
7606
7607         * src/vpn-manager/nm-vpn-connection.c
7608           src/vpn-manager/nm-vpn-connection.h
7609                 - Add a "Banner" property that contains the returned VPN server login
7610                         banner (if any); valid only in the ACTIVATED state
7611                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
7612                         a 'reason' argument and emits that reason along with the
7613                         state-changed signal
7614                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
7615                 - (nm_vpn_connection_ip4_config_get): save banner for later
7616                 - (nm_vpn_connection_get_banner, get_property,
7617                    nm_vpn_connection_class_init): implement Banner property
7618
7619         * src/vpn-manager/nm-vpn-service.c
7620                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
7621                         connection list because elements may get added/removed from it
7622                         while iterating over the list
7623                 - (connection_state_changed): signal now includes the 'reason' argument
7624
7625         * libnm-glib/nm-vpn-connection.c
7626           libnm-glib/nm-vpn-connection.h
7627                 - (nm_vpn_connection_get_banner): new function
7628                 - (state_changed_proxy): handle reason argument
7629
7630 2007-09-28  Tambet Ingo  <tambet@gmail.com>
7631
7632         * src/nm-manager.c:
7633         * src/nm-manager.h:
7634         Implement device activation through NMManager.
7635         Implement "pending device activation" here - If the connection isn't found,
7636         we try to wait for up to 5 seconds for the connection to be provided.
7637         Add NMConnectionType argument to "connection-added" and "connection-removed"
7638         signals.
7639         (nm_manager_get): Remove. Finally.
7640
7641         * src/nm-activation-request.c: 
7642         * src/nm-activation-request.h: 
7643         Remove all the deferred activation code.
7644
7645         * src/nm-device.c: Remove all the deferred activation code. Once the device
7646         activation is started, it's started. Update the activation virtual function
7647         signature.
7648
7649         * src/nm-device-interface.c:
7650         * src/nm-device-interface.h:
7651         Device activation now takes only NMActRequest argument.
7652         Don't expose device activation directly on dbus, it's supposed to go through
7653         NMManager now.
7654
7655         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
7656         a bit more compact.
7657         Use the new device activation methods through NMManager.
7658
7659         * introspection/nm-manager-client.xml: 
7660         * introspection/nm-manager.xml: 
7661         * libnm-glib/nm-client.c:
7662         * libnm-glib/nm-client.h:
7663         Add device activation method.
7664         
7665         * libnm-glib/nm-device.c: 
7666         * libnm-glib/nm-device.h: 
7667         * introspection/nm-device.xml: 
7668         Remove device activation method. It's done through NMManager now.
7669
7670         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
7671         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
7672
7673 2007-09-28  Dan Williams  <dcbw@redhat.com>
7674
7675         * libnm-glib/nm-vpn-connection.c
7676                 - (nm_vpn_connection_get_state): try to update state if the current
7677                         state is UNKNOWN
7678
7679 2007-09-27  Dan Williams  <dcbw@redhat.com>
7680
7681         Patch from Bill Nottingham
7682
7683         * src/supplicant-manager/nm-supplicant-config.c
7684                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
7685                         data to the supplicant
7686
7687 2007-09-27  Dan Williams  <dcbw@redhat.com>
7688
7689         * src/NetworkManagerSystem.c
7690                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
7691                         and all address manipulation here should be happening on the
7692                         _VPN_ device, not the active device
7693
7694 2007-09-26  Dan Williams  <dcbw@redhat.com>
7695
7696         * src/nm-manager.c
7697           src/nm-manager.h
7698           src/nm-activation-request.c
7699           src/nm-activation-request.h
7700                 - Move the GetSecrets stuff out of the NMManager instance because it
7701                         doesn't really need to be there and complicates things
7702
7703         * src/nm-device.c
7704                 - (connection_secrets_failed_cb, device_activation_go): connect to the
7705                         connection-secrets-failed signal and deactivate the device if
7706                         the GetSecrets call fails
7707
7708         * src/nm-device-802-11-wireless.c
7709                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7710                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
7711                         secrets and give correct hints about whether new secrets should be
7712                         asked for by the client or not
7713
7714 2007-09-26  Dan Williams  <dcbw@redhat.com>
7715
7716         * src/vpn-manager/nm-vpn-connection.c
7717                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
7718                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
7719                         to the secrets-updated signal of the NMConnection since updating
7720                         the secrets is done within the scope of the NMVPNConnection object
7721                         already
7722                 - (get_connection_secrets): fix an uninialized variable usage error
7723
7724 2007-09-26  Dan Williams  <dcbw@redhat.com>
7725
7726         * libnm-util/nm-setting.c
7727                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
7728                         actually get updated when the user enters them
7729
7730 2007-09-26  Dan Williams  <dcbw@redhat.com>
7731
7732         * libnm-glib/nm-vpn-plugin.c
7733                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
7734
7735 2007-09-26  Dan Williams  <dcbw@redhat.com>
7736
7737         * include/NetworkManagerVPN.h
7738                 - Add a NEED_AUTH state
7739
7740         * src/vpn-manager/nm-vpn-connection.c
7741                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
7742                         the connection needs secrets, and if so, then ask the settings
7743                         service to fill in the secrets.  Then start the connection.
7744
7745 2007-09-26  Dan Williams  <dcbw@redhat.com>
7746
7747         * src/vpn-manager/nm-vpn-manager.c
7748                 - (new_vpn_error, impl_vpn_manager_connect): set errors
7749
7750 2007-09-26  Dan Williams  <dcbw@redhat.com>
7751
7752         * introspection/nm-vpn-plugin.xml
7753           libnm-glib/nm-vpn-plugin.c
7754           libnm-glib/nm-vpn-plugin.h
7755                 - (impl_vpn_plugin_need_secrets): implement a call that should return
7756                         the name of the NMSetting in an NMConnection that may require
7757                         secrets specific to that VPN plugin
7758
7759 2007-09-26  Dan Williams  <dcbw@redhat.com>
7760
7761         * src/nm-manager.c
7762           src/nm-manager.h
7763                 - (nm_manager_get_connection_secrets): make static, unused outside
7764                         the file
7765                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
7766
7767 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7768
7769         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
7770         method.
7771         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
7772         unreference the connection.
7773
7774         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
7775         passing properties hash and routes string list, pass NMConnection (in hashed form).
7776
7777         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
7778         as GSList, no need to copy stuff around anymore.
7779         (nm_vpn_connection_activate): Update the plugin activation method.
7780
7781         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
7782         routes argument to GSList.
7783
7784 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7785
7786         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
7787         state and try to get the secrets.
7788
7789         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
7790         connections from NMManager and let the device to choose the best from the list.
7791         Since the connection list is sorted by system ones first and user ones later,
7792         the devices still prefer system connections like they did before.
7793         (deactivate_old_device): Implement. When a device starts activation, we have a
7794         policy (for now at least) to deactivate any other device that might be either
7795         active or still activating.
7796
7797         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
7798         It's set on construction, there will be no other way to access it.
7799
7800         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
7801         device events and drive the device, not the other way around.
7802
7803         * src/nm-device-802-3-ethernet.c: Ditto.
7804
7805         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
7806         sent along, pass it on to virtual functions.
7807
7808         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
7809         for now, but should really be public instead of nm_device_get_iface() since iface
7810         is a property of the DeviceInterface, not Device.
7811         (impl_device_activate): Don't touch NMManager!
7812
7813 2007-09-26  Jürg Billeter  <j@bitron.ch>
7814
7815         * initscript/paldo/NetworkManager.in:
7816         * initscript/paldo/NetworkManagerDispatcher.in:
7817         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
7818         (nm_system_flush_loopback_routes): update paldo backend
7819
7820 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7821
7822         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
7823         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
7824         which means none of the devices get brought down properly, which in turn leaves
7825         DHCP client running.
7826
7827         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
7828         (supplicant_connection_timeout_cb): Ditto.
7829
7830 2007-09-25  Dan Williams  <dcbw@redhat.com>
7831
7832         * src/nm-device.c
7833                 - (device_activation_go): small hack to work around race when
7834                         activating deferred connections; should solve this in a better way
7835
7836 2007-09-25  Dan Williams  <dcbw@redhat.com>
7837
7838         * introspection/nm-device.xml
7839           libnm-glib/nm-device.c
7840           libnm-glib/nm-device.h
7841                 - Add 'Carrier' property to exported NMDevice objects
7842
7843         * src/nm-device-interface.h
7844           src/nm-device-interface.c
7845           src/nm-device.c
7846                 - Add a 'carrier' property to internal NMDevice objects
7847
7848 2007-09-25  Dan Williams  <dcbw@redhat.com>
7849
7850         * src/nm-device-802-11-wireless.c
7851                 - (ap_auth_enforced): also return the encryption status of the AP so
7852                         that callers can differentiate easily between unencrypted APs
7853                         and encrypted ones, in addition to whether the AP has an
7854                         authenticator
7855                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7856                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
7857                         previously would request secrets from unencrypted APs at times
7858
7859 2007-09-25  Dan Williams  <dcbw@redhat.com>
7860
7861         * src/nm-manager.c
7862                 - (nm_manager_update_state): new function; updates state and emits
7863                         appropriate signals ensuring a state-change signal for the same state
7864                         never gets emitted twice in a row.
7865                 - (manager_device_state_changed): handle more device state to get a
7866                         better picture of the overall NM state
7867
7868 2007-09-25  Dan Williams  <dcbw@redhat.com>
7869
7870         * libnm-glib/nm-settings.c
7871           libnm-glib/nm-settings.h
7872                 - (new_error -> nm_settings_new_error): make public so that subclasses
7873                         can use the same error domain.  Also pass a valid error code to
7874                         g_error_new_literal() so that libdbus doesn't assert when converting
7875                         the GError into a DBusError
7876                 - (impl_settings_list_connections, impl_connection_settings_get_id,
7877                    impl_connection_settings_get_settings,
7878                    impl_connection_settings_get_secrets): use new error creator
7879                         function
7880
7881 2007-09-25  Dan Williams  <dcbw@redhat.com>
7882
7883         * src/NetworkManager.c
7884                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
7885
7886 2007-09-25  Dan Williams  <dcbw@redhat.com>
7887
7888         * src/supplicant-manager/nm-supplicant-manager.c
7889                 - (poke_supplicant_cb, nm_supplicant_manager_init,
7890                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
7891                    nm_supplicant_manager_startup): when the supplicant isn't running,
7892                         try to start it periodically via system bus activation.  Fixes
7893                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
7894                         for the supplicant to come back
7895
7896 2007-09-25  Dan Williams  <dcbw@redhat.com>
7897
7898         Ensure that old activation requests are forgotten about; previously
7899         hitting Cancel in the password dialog would deactivate whatever device
7900         that password was requested for, even if that wasn't the currently
7901         activating connection.
7902
7903         * src/nm-manager.c
7904           src/nm-manager.h
7905                 - (nm_manager_get_connection_secrets): track the pending call
7906                         object so it can be canceled later if needed
7907                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
7908                         GetSecrets call for a particular connection
7909
7910         * src/nm-activation-request.c
7911                 - (dispose): cancel any outstanding GetSecrets calls on the
7912                         connection
7913
7914 2007-09-25  Dan Williams  <dcbw@redhat.com>
7915
7916         * src/NetworkManagerPolicy.c
7917                 - (nm_policy_device_change_check): handle devices that have a
7918                         deferred activation.  These devices are not really active _yet_,
7919                         but need to be treated as such here.  Don't interrupt them
7920                         automatically.
7921
7922         * src/nm-device-interface.c
7923                 - (impl_device_activate): handle devices that have a deferred activation
7924                         like activating or active devices.  When multiple active devices
7925                         get committed, the device shouldn't be deactivated until the
7926                         connection details are available to avoid DoS and such.  Currently,
7927                         any active, activating, or deferred activation device is deactivated
7928                         here before starting the new activation request.
7929
7930 2007-09-25  Dan Williams  <dcbw@redhat.com>
7931
7932         Properly re-query secrets from the settings daemon when stuff fails.
7933
7934         * src/nm-device-802-11-wireless.c
7935                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
7936                         between Shared Key and Open System auth modes
7937                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7938                    real_act_stage4_ip_config_timeout): clear existing secrets and
7939                         request new ones when something fails due to a suspected wrong key
7940                 - (real_act_stage2_config): fix for new request_new argument to
7941                         nm_manager_get_connection_secrets()
7942
7943         * src/nm-manager.c
7944           src/nm-manager.h
7945                 - (nm_manager_get_connection_secrets): return error status; pass
7946                         new request_new argument on to the settings daemon
7947
7948         * introspection/nm-settings-connection.xml
7949                 - New 'request_new' argument to the GetSecrets call that hints to the
7950                         settings daemon to ask the user for completely new secrets
7951
7952         * libnm-glib/nm-settings.c
7953           libnm-glib/nm-settings.h
7954                 - (impl_connection_settings_get_secrets): handle new 'request_new'
7955                         argument
7956
7957 2007-09-25  Dan Williams  <dcbw@redhat.com>
7958
7959         * libnm-util/nm-connection.c
7960           libnm-util/nm-connection.h
7961                 - (nm_connection_clear_secrets): new function; clear secrets out of
7962                         each NMSetting in an NMConnection
7963
7964         * libnm-util/nm-setting.h
7965           libnm-util/nm-setting.c
7966                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
7967                         secrets out of an NMSetting
7968                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
7969                    nm_setting_wired_new, nm_setting_wireless_new,
7970                    nm_setting_wireless_security_new, nm_setting_ppp_new,
7971                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
7972                         to default handler default_setting_clear_secrets()
7973
7974 2007-09-25  Dan Williams  <dcbw@redhat.com>
7975
7976         * src/nm-activation-request.c
7977           src/nm-activation-request.h
7978                 - (nm_act_request_is_deferred): new function
7979
7980 2007-09-24  Dan Williams  <dcbw@redhat.com>
7981
7982         * src/nm-device-802-11-wireless.c
7983                 - (activation_success_handler): update signal strength immediately
7984                         after activation
7985
7986 2007-09-24  Dan Williams  <dcbw@redhat.com>
7987
7988         * libnm-util/nm-setting.c
7989                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
7990
7991 2007-09-24  Dan Williams  <dcbw@redhat.com>
7992
7993         * src/NetworkManagerPolicy.c
7994                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
7995                         device by deactivating it because it doesn't have a "best connection".
7996                         Since autoconnect=False connections aren't automatically chosen,
7997                         NM would interrupt activation of such a connection because it
7998                         would never be "best" due to autoconnect=False.
7999
8000 2007-09-24  Dan Williams  <dcbw@redhat.com>
8001
8002         * src/nm-manager.c
8003                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8004                         actually has some time to enter a key before the GetSecrets call
8005                         times out
8006
8007 2007-09-24  Dan Williams  <dcbw@redhat.com>
8008
8009         * introspection/nm-manager.xml
8010           src/nm-manager.c
8011                 - (impl_manager_legacy_state): fix 'state' method call return value
8012
8013 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
8014
8015         * test/Makefile.am: Install nm-tool
8016
8017 2007-09-24  Dan Williams  <dcbw@redhat.com>
8018
8019         Patch from Ross Burton <ross@burtonini.com>
8020
8021         * test/nm-tool.c
8022           callouts/nm-dhcp-client-action.c
8023           src/nm-netlink.c
8024           src/vpn-manager/nm-vpn-connection.c
8025           libnm-glib/libnm-glib-test.c
8026                 - warning fixes
8027
8028 2007-09-24  Dan Williams  <dcbw@redhat.com>
8029
8030         * libnm-util/nm-utils.h
8031           libnm-util/nm-utils.c
8032                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8033                         remove, unused
8034
8035 2007-09-23  Dan Williams  <dcbw@redhat.com>
8036
8037         * vpn-daemons/vpnc/properties/nm-vpnc.c
8038                 - Update for new VPN properties API bits; instead of passing around
8039                         a lot of random things, everything goes into the NMConnection
8040                         object.
8041
8042 2007-09-23  Dan Williams  <dcbw@redhat.com>
8043
8044         * libnm-util/nm-setting.c
8045                 - Correctly dispose of settings objects if creating them from a hash
8046                         table fails
8047
8048 2007-09-23  Dan Williams  <dcbw@redhat.com>
8049
8050         * libnm-util/nm-setting.c
8051                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8052                         the hash table in a standard manner.  Clients of libnm-util should
8053                         only call g_hash_table_remove_all(), never destroy the hash table
8054                         and recreate it.
8055
8056 2007-09-22  Dan Williams  <dcbw@redhat.com>
8057
8058         * src/nm-device-802-11-wireless.c
8059                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
8060                         real reason to do it so often, and reduces wakeups for clients.
8061
8062 2007-09-21  Dan Williams  <dcbw@redhat.com>
8063
8064         * src/nm-device-802-11-wireless.c
8065                 - (build_supplicant_config): wpa_supplicant requires the option
8066                         key_mgmt=NONE for unencrypted networks
8067                 - (real_act_stage2_config): clarify log message on activation
8068
8069 2007-09-21  Dan Williams  <dcbw@redhat.com>
8070
8071         * test/nm-supplicant-test.c
8072           test/Makefile.am
8073                 - Remove supplicant test binary; no longer applicable
8074
8075 2007-09-21  Dan Williams  <dcbw@redhat.com>
8076
8077         * src/supplicant-manager/nm-supplicant-manager.c
8078                 - (nm_supplicant_manager_init): poke the supplicant at startup to
8079                         activate it on the system bus
8080
8081 2007-09-20  Dan Williams  <dcbw@redhat.com>
8082
8083         * initscript/RedHat/NetworkManager.in
8084                 - dhcdbd is no longer used, so don't try to start it from the initscripts
8085
8086 2007-09-20  Dan Williams  <dcbw@redhat.com>
8087
8088         * src/nm-device.c
8089                 - (nm_device_is_activating): work around a race between auto-activation
8090                         and the user activating the same device that is being auto-activated
8091
8092 2007-09-20  Dan Williams  <dcbw@redhat.com>
8093
8094         * src/nm-device-interface.c
8095                 - (impl_device_activate): until multiple active device support lands,
8096                         ensure only one device can be active at a time
8097
8098 2007-09-20  Dan Williams  <dcbw@redhat.com>
8099
8100         * src/supplicant-manager/nm-supplicant-config.c
8101           src/supplicant-manager/nm-supplicant-config.h
8102                 - (nm_supplicant_config_add_option): hide secrets from system logs
8103
8104 2007-09-20  Dan Williams  <dcbw@redhat.com>
8105
8106         * src/NetworkManagerPolicy.c
8107                 - (nm_policy_device_change_check): re-enable the wireless device change
8108                         checking code; insted of checking for SSIDs, check for the same
8109                         connection instead
8110
8111 2007-09-20  Dan Williams  <dcbw@redhat.com>
8112
8113         * src/nm-device-802-11-wireless.c
8114                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8115                         composite link state when determining when to start the disconnection
8116                         timer; that link state is already based on the supplicant interface's
8117                         status which is exactly what's already being examined, plus the link
8118                         state is a conglomeration of various things that we don't want here
8119
8120 2007-09-20  Dan Williams  <dcbw@redhat.com>
8121
8122         * libnm-glib/nm-access-point.c
8123                 - (handle_property_changed): strength is a UCHAR
8124
8125 2007-09-20  Dan Williams  <dcbw@redhat.com>
8126
8127         * src/supplicant-manager/nm-supplicant-config.c
8128                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8129                         string list keywords too since that's what wpa_supplicant wants
8130
8131 2007-09-20  Dan Williams  <dcbw@redhat.com>
8132
8133         * libnm-util/nm-setting.c
8134                 - (convert_strv_to_slist): dupe the values in the list because since
8135                         the list is a boxed value, it'll get destroyed when it's container
8136                         (like a hash table or whatever) gets destroyed
8137
8138 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8139
8140         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8141         GSList.
8142
8143         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8144
8145         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8146         just use (g_object_set_data_full).
8147
8148         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8149         that NMSettingVPN->routes is a GSList, convert it to char **.
8150         (nm_vpn_connection_ip4_config_get): Free routes when done.
8151         (nm_vpn_connection_activate): Ditto.
8152
8153         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8154         (real_act_stage2_config): Use defined setting names.
8155
8156 2007-09-20  Dan Williams  <dcbw@redhat.com>
8157
8158         * src/nm-device-802-11-wireless.c
8159           src/nm-manager.c
8160           src/nm-manager.h
8161                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8162                         so that the device can be deactivated if secrets are wrong
8163
8164 2007-09-20  Dan Williams  <dcbw@redhat.com>
8165
8166         * introspection/nm-settings-connection.xml
8167           libnm-glib/nm-settings.c
8168           libnm-glib/nm-settings.h
8169                 - Make GetSecrets asynchronous on the server side
8170
8171 2007-09-20  Dan Williams  <dcbw@redhat.com>
8172
8173         * src/nm-manager.h
8174           src/nm-device.c
8175                 - (nm_device_activate): actually check if a given connection
8176                         exists before assuming it doesn't
8177
8178 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8179
8180         * libnm-util/nm-connection.c (register_default_creators): Use defined
8181         setting names. Register NMSettingVPN and NMSettingVPNProperties.
8182
8183         * libnm-util/nm-setting.c: Define property name strings, use them.
8184         Implement NMSettingVPN and NMSettingVPNProperties settings.
8185         Implement NM_S_TYPE_GVALUE_HASH.
8186         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8187         (setting_connection_verify): Rename 'devtype' property to 'type'.
8188
8189         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8190         properties.
8191
8192         * src/vpn-manager/nm-vpn-service.c: Ditto.
8193
8194         * src/vpn-manager/nm-vpn-connection.c: Ditto.
8195
8196         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8197         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8198
8199         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8200         names. NMSettingConnection->devtype got renamed to 'type'.
8201
8202         * src/nm-device-802-3-ethernet.c (find_best_connection):
8203         (real_get_best_connection): Ditto.
8204
8205         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8206
8207         * libnm-glib/nm-vpn-manager.[ch]: Update.
8208
8209 2007-09-19  Dan Williams  <dcbw@redhat.com>
8210
8211         * src/NetworkManagerAP.c
8212           src/NetworkManagerAP.h
8213           introspection/nm-access-point.xml
8214                 - Change strength-changed signal into a properties-changed signal
8215                         for all properties, not just strength.  Export that signal over dbus
8216                         so listeners don't have to poll NM for changes.
8217                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8218                         get exported over D-Bus, so break up the logic and let other bits
8219                         decided when to export the AP
8220                 - (nm_ap_new_from_ap): remove, unused
8221
8222         * src/nm-device-802-11-wireless.c
8223                 - (merge_scanned_ap): only export APs that are actually on the device
8224                         list, not every AP created internally
8225
8226         * libnm-glib/nm-access-point.c
8227           libnm-glib/nm-access-point.h
8228                 - Cache properties internally and only hit DBus when needed.  Get
8229                         property updates from NM signals
8230
8231 2007-09-16  Dan Williams  <dcbw@redhat.com>
8232
8233         * libnm-util/nm-connection.c
8234           libnm-util/nm-connection.h
8235                 - (nm_connection_for_each_setting_value): new function; iterate over
8236                         each setting's value and call a user-provided function with details
8237                         about that value
8238
8239         * libnm-util/nm-setting.c
8240           libnm-util/nm-setting.h
8241                 - (nm_setting_enumerate_values): new function; enumerate the values
8242                         of a specific NMSetting subclass for a user-provided function with
8243                         details about that value
8244                 - Change wep_tx_keyidx to a uint32
8245                 - Create settings value tables for each setting defining their type,
8246                         key name, offset into the NMSetting subclass' structure, and whether
8247                         they are required and/or a secret
8248                 - (nm_setting_populate_from_hash): generic function to populate an
8249                         NMSetting from a GHash table, make all settings use it
8250                 - (nm_setting_hash): generic function to derive a GHashTable from
8251                         an NMSetting object, make all settings use it
8252
8253 2007-09-14  Dan Williams  <dcbw@redhat.com>
8254
8255         Remove unused stuff in libnm-util
8256
8257         * configure.in
8258           libnm-util/Makefile.am
8259           libnm-util/cipher-private.h
8260           libnm-util/cipher-wep-ascii.c
8261           libnm-util/cipher-wep-ascii.h
8262           libnm-util/cipher-wep-hex.c
8263           libnm-util/cipher-wep-hex.h
8264           libnm-util/cipher-wep-passphrase.c
8265           libnm-util/cipher-wep-passphrase.h
8266           libnm-util/cipher-wpa-psk-hex.c
8267           libnm-util/cipher-wpa-psk-hex.h
8268           libnm-util/cipher-wpa-psk-passphrase.c
8269           libnm-util/cipher-wpa-psk-passphrase.h
8270           libnm-util/cipher.c
8271           libnm-util/cipher.h
8272           libnm-util/dbus-helpers.c
8273           libnm-util/dbus-helpers.h
8274           libnm-util/gnome-keyring-md5.c
8275           libnm-util/gnome-keyring-md5.h
8276           libnm-util/sha1.c
8277           libnm-util/sha1.h
8278           src/nm-device-802-11-wireless.c
8279           test/libnm-util/Makefile.am
8280           test/libnm-util/test-ciphers.c
8281           test/libnm-util/test-dbus-helpers.c
8282           test/libnm-util/test-inputs.h
8283                 - Removed
8284
8285 2007-09-14  Dan Williams  <dcbw@redhat.com>
8286
8287         * libnm-util/dbus-method-dispatcher.c
8288           libnm-util/dbus-method-dispatcher.h
8289                 - Remove, unused
8290
8291 2007-09-14  Dan Williams  <dcbw@redhat.com>
8292
8293         Implement deferred activation support in the device class.
8294
8295         * src/nm-device-interface.c
8296           src/nm-device-interface.h
8297                 - (nm_device_interface_activate): take more arguments to support
8298                         deferred activation; callers must pass one of (connection) OR
8299                         (service_name, connection_path)
8300                 - (impl_device_activate): connection validation is punted to the device
8301                         to be able to handle deferred activation.  Yes, this means errors
8302                         don't get returned from the Activate() dbus call, and yes, that
8303                         should be fixed somehow later.
8304
8305         * src/nm-device.c
8306           src/nm-device.h
8307                 - (clear_act_request): clear additional deferred activation stuff too
8308                 - (deferred_activation_timeout_cb): new function; clean up when
8309                         deferred activation times out.
8310                 - (deferred_activation_start_cb): new function; when the connection
8311                         finally becomes available, start device activation
8312                 - (nm_device_activate): attach to the right signals of the activation
8313                         request if we need to defer activation until the connection is valid
8314
8315         * src/NetworkManagerPolicy.c
8316                 - (nm_policy_device_change_check): update for additional arguments
8317                         required for nm_device_interface_activate().  Pass NULL for these
8318                         though because this function already knows exactly which
8319                         NMConnection to use
8320
8321 2007-09-14  Dan Williams  <dcbw@redhat.com>
8322
8323         Implement deferred activation handling in the NMActRequest class.  When a
8324         client wants to activate a device but must create the NMConnection details
8325         on the fly, there likely hasn't been enough time yet for NM to receive the
8326         new connection signal and grab all the connection details.  So the
8327         activation is deferred (and bounded by a timer) for a while, and if the
8328         connection appears within the window, it is activated.
8329
8330         * src/nm-activation-request.c
8331           src/nm-activation-request.h
8332                 - (nm_act_request_class_init): two new signals to support deferred
8333                         activation, to allow the listener to handle both timeout and success
8334                 - (nm_act_request_new_deferred): new function, starts the deferred
8335                         activation timeout handler and listens to the NMManager for
8336                         new-connection signals to notice when the connection comes in
8337
8338 2007-09-14  Dan Williams  <dcbw@redhat.com>
8339
8340         * src/nm-manager.h
8341           src/nm-manager.c
8342                 - (nm_manager_get_connection_service_name,
8343                    nm_manager_get_connection_dbus_path): get details about a connection
8344                         known internally by the NMManager
8345                 - (nm_manager_class_init): fix connection add/remove signal marshalers
8346                         because NMConnection is now a GObject subclass
8347                 - Use constant for the gobject data tag used on NMConnection objects for
8348                         storing the associated DBusGProxy
8349
8350 2007-09-14  Dan Williams  <dcbw@redhat.com>
8351
8352         * utils/Makefile.am
8353           utils/nm-utils.c
8354           utils/nm-utils.h
8355           src/supplicant-manager/Makefile.am
8356           src/dhcp-manager/Makefile.am
8357           src/backends/Makefile.am
8358           src/named-manager/Makefile.am
8359           src/ppp-manager/Makefile.am
8360           src/vpn-manager/Makefile.am
8361           test/libnm-util/Makefile.am
8362           test/test-common/Makefile.am
8363                 - Remove utils/; it was unused
8364
8365 2007-09-13  Dan Williams  <dcbw@redhat.com>
8366
8367         * libnm-glib/nm-vpn-manager.h
8368           libnm-glib/nm-vpn-manager.c
8369                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8370
8371 2007-09-13  Dan Williams  <dcbw@redhat.com>
8372
8373         * src/nm-device-802-3-ethernet.c
8374                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8375                         netlink monitor carrier signals on dispose, not bring down.  The
8376                         carrier signals should be handled over the entire lifetime of the
8377                         device anyway, not created/destroyed on up or down.
8378
8379 2007-09-13  Dan Williams  <dcbw@redhat.com>
8380
8381         * libnm-glib/nm-device.c
8382           libnm-glib/nm-device.h
8383                 - (nm_device_activate): take a connection object path rather than an
8384                         NMConnection because NMConnection isn't exported over D-Bus and
8385                         therefore it dbus-glib can't automatically get an object path from it
8386
8387 2007-09-13  Dan Williams  <dcbw@redhat.com>
8388
8389         * libnm-util/nm-setting.c
8390                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8391
8392 2007-09-13  Tambet Ingo  <tambet@gmail.com>
8393
8394         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8395
8396 2007-09-12  Tambet Ingo  <tambet@gmail.com>
8397
8398         * src/vpn-manager/nm-vpn-connection.[ch]: 
8399         * src/vpn-manager/nm-vpn-manager.[ch]:
8400         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
8401         dbus-glib, GObjects, signals etc.
8402
8403         * libnm-glib/nm-vpn-manager.[ch]: 
8404         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8405         so much, rewrite these too.
8406
8407         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8408         the new introspection files.
8409
8410         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8411
8412         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8413         the header with the same name from libnm-utils.
8414
8415         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8416
8417         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8418
8419         * introspection/nm-vpn-plugin.xml: Implement.
8420
8421         * introspection/nm-vpn-connection.xml: Implement.
8422
8423         * introspection/nm-vpn-manager.xml: Implement.
8424
8425         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8426         the named manager argument, it can just as easily get it as the caller.
8427         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8428
8429         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8430
8431         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8432
8433         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8434         libnm-utils.
8435
8436         * libnm-util/nm-connection.c: Ditto.
8437
8438         * src/NetworkManagerMain.h: Remove, it's finally empty.
8439
8440         * configure.in: Remove utils/ from build.
8441
8442         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8443         of hard-coded strings.
8444
8445         * utils/: Move it over to libnm-util.
8446
8447         * test/Makefile.am: Link against libnm-util now that util/ is gone.
8448
8449         * dispatcher-daemon/Makefile.am: Ditto.
8450
8451         * src/Makefile.am: Ditto.
8452
8453 2007-09-12  Dan Williams  <dcbw@redhat.com>
8454
8455         Wireless connections can be made with config data from the applet now.
8456         
8457         Yay.
8458
8459         * src/supplicant-manager/nm-supplicant-config.h
8460           src/supplicant-manager/nm-supplicant-config.c
8461                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8462                 - (nm_supplicant_config_add_setting_wireless,
8463                    nm_supplicant_config_add_setting_wireless_security): new functions;
8464                         add key/value pairs from the settings objects to the supplicant
8465                         config
8466
8467         * src/nm-device-802-11-wireless.c
8468                 - (cull_scan_list): fix check to not prune currently associated AP
8469                 - (build_supplicant_config, real_act_stage2_config): call the functions
8470                         of the NMSupplicantConfig that parse settings objects rather than
8471                         doing it manually here
8472
8473 2007-09-12  Dan Williams  <dcbw@redhat.com>
8474
8475         * src/supplicant-manager/nm-supplicant-interface.c
8476           src/supplicant-manager/nm-supplicant-marshal.list
8477                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8478                         "connection-error" signal arguments should be STRING not CHAR
8479
8480 2007-09-12  Dan Williams  <dcbw@redhat.com>
8481
8482         * src/NetworkManagerUtils.c
8483           src/NetworkManagerUtils.h
8484                 - (nm_utils_hexstr2bin): new function
8485
8486 2007-09-11  Dan Williams  <dcbw@redhat.com>
8487
8488         * src/nm-manager.c
8489                 - (connection_get_settings_cb): emit connection-added signal
8490                 - (connection_removed_cb): uncomment bits for system settings service,
8491                         send connection-removed when appropriate
8492                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8493                         the stack by trying to g_object_set_data() on something that's
8494                         not a GObject; handle case where settings service returns
8495                         empty settings hash table
8496
8497 2007-09-11  Dan Williams  <dcbw@redhat.com>
8498
8499         * src/NetworkManagerPolicy.c
8500                 - (connection_added, connection_removed): trigger device change checks
8501                         on connection changes
8502
8503 2007-09-11  Dan Williams  <dcbw@redhat.com>
8504
8505         * src/nm-activation-request.c
8506                 - (connection_secrets_updated_cb): fix c&p error in signal emission
8507
8508 2007-09-11  Dan Williams  <dcbw@redhat.com>
8509
8510         * src/nm-device-802-11-wireless.c
8511                 - (real_connection_secrets_updated): fix erroneous check
8512
8513 2007-09-11  Dan Williams  <dcbw@redhat.com>
8514
8515         * introspection/nm-device.xml
8516           libnm-glib/nm-device.c
8517           libnm-glib/nm-device.c
8518                 - Fix Activate call argument borkage; Activate takes 3 arguments
8519
8520 2007-09-11  Dan Williams  <dcbw@redhat.com>
8521
8522         * libnm-glib/nm-access-point.c
8523           libnm-glib/nm-access-point.c
8524                 - (nm_access_point_get_frequency): now returns guint32 to match
8525                         property change on 2007-09-10
8526
8527 2007-09-11  Dan Williams  <dcbw@redhat.com>
8528
8529         * src/nm-device-802-11-wireless.c
8530                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8531                         somewhere defines 'index' and I missed this one when I fixed the
8532                         shadow declaration errors earlier
8533
8534 2007-09-11  Dan Williams  <dcbw@redhat.com>
8535
8536         * libnm-util/nm-connection.c
8537                 - (nm_connection_update_secrets, need_secrets_check): move
8538                         802-11-wireless-security need_secrets checks to the setting object
8539                         itself, where it belongs
8540
8541         * libnm-util/nm-setting.c
8542           libnm-util/nm-setting.h
8543                 - (nm_setting_need_secrets): new function
8544                 - (setting_wireless_security_verify,
8545                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8546                 - (setting_wireless_security_need_secrets): mostly copy code over
8547                         from nm-connection.c
8548
8549 2007-09-11  Dan Williams  <dcbw@redhat.com>
8550
8551         * libnm-util/nm-setting.c
8552           libnm-util/nm-setting.h
8553                 - (nm_setting_update_secrets): new function; add a virtual function that
8554                         subclasses can implement to update their secrets
8555                 - (setting_wireless_security_update_secrets): implement that function
8556                         for the 802-11-wireless-security subclass
8557
8558         * libnm-util/nm-connection.c
8559           libnm-util/nm-connection.h
8560                 - (nm_connection_update_secrets): update secrets for a Setting and
8561                         emit a signal on success
8562
8563         * src/nm-manager.c
8564           src/nm-manager.h
8565           src/nm-marshal.list
8566                 - (connection_get_settings_cb): enable system settings bits
8567                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8568                         to request secrets from the settings dbus service and to
8569                         push those secrets to the NMConnection itself
8570
8571         * src/nm-activation-request.c
8572           src/nm-activation-request.h
8573                 - Attach to the 'secrets-updated' signal of the NMConnection that's
8574                         currently being activated, and proxy that signal to other listeners.
8575                         Goes through the activation request because the activation request
8576                         is the thing that manages the lifetime of the NMConnection that's
8577                         being activated.
8578
8579         * src/nm-device-802-11-wireless.c
8580                 - (real_connection_secrets_updated): implement the connection secrets
8581                         updated notification and restart activation when secrets are
8582                         received
8583                 - (real_act_stage2_config): request secrets from the settings dbus
8584                         service if secrets are needed
8585
8586         * src/nm-device.c
8587           src/nm-device.h
8588                 - (clear_act_request, nm_device_activation_cancel,
8589                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
8590                         where the activation request is cleared
8591                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
8592                         updated secrets signal of activation request and add a function
8593                         that subclasses can override to handle it easily
8594
8595 2007-09-11  Tambet Ingo  <tambet@gmail.com>
8596
8597         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
8598         removal of NetworkManagerAPList.
8599
8600 2007-09-10  Dan Williams  <dcbw@redhat.com>
8601
8602         * src/NetworkManagerAP.c
8603           src/NetworkManagerAP.h
8604           introspection/nm-access-point.xml
8605                 - Change 'freq' property to a guint32 instead of a double since we
8606                         weren't using the floating point bits anyway
8607
8608 2007-09-10  Dan Williams  <dcbw@redhat.com>
8609
8610         * NetworkManagerAP.c
8611           NetworkManagerAP.h
8612           NetworkManagerPolicy.c
8613           NetworkManagerSystem.c
8614           NetworkManagerUtils.c
8615           NetworkManagerUtils.h
8616           nm-device-802-11-wireless.c
8617           nm-device-802-3-ethernet.c
8618           nm-hal-manager.c
8619           nm-manager.c
8620           vpn-manager/nm-dbus-vpn.c
8621                 - Warning fixes; casts and removal of unused variables
8622
8623 2007-09-10  Dan Williams  <dcbw@redhat.com>
8624
8625         * include/NetworkManager.h
8626                 - Kill NMNetworkType; AP types don't matter any more
8627
8628         * src/NetworkManagerAPList.c
8629           src/NetworkManagerAPList.h
8630           src/Makefile.am
8631                 - Kill; NMAccessPointList has outlived it's usefulness
8632
8633         * src/NetworkManagerAP.c
8634           src/NetworkManagerAP.h
8635                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
8636                         functions; check if an NMConnection object is compatible with the
8637                         settings of this AP
8638                 - (freq_to_channel, channel_to_freq): utility functions for
8639                         channel <-> frequency conversion
8640
8641         * src/nm-device.c
8642           src/nm-device.h
8643                 - (nm_device_get_best_connection): pass the specific object around
8644                          (which might be the object path of a specific AP to connect to).
8645                          The get_best_connection() call should populate this on return
8646                          if needed (wireless does).
8647
8648         * src/nm-device-802-3-ethernet.c
8649                 - (real_get_best_connection): handle specific_object argument
8650
8651         * src/NetworkManager.c
8652           src/NetworkManagerMain.h
8653                 - Remove unused includes
8654
8655         * src/nm-device-802-11-wireless.c
8656           src/nm-device-802-11-wireless.h
8657                 - Convert the ap_list into a GSList from an NMAccessPointList
8658                 - No need for caching the 'activation_ap' since this is now determined
8659                         from the specific_object of the activation request, which is
8660                         populated from the get_best_connection() call or from a user request
8661                 - (nm_device_802_11_wireless_update_bssid): fix warning
8662                 - (get_wireless_capabilities): fix error message format arguments
8663                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
8664                 - (find_best_connection, real_get_best_connection): implement
8665                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
8666                         move here from NetworkManagerAPList
8667                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
8668                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
8669                         already verified earlier
8670                 - (real_act_stage2_config): use nm_connection_need_secrets()
8671
8672         * src/NetworkManagerPolicy.c
8673                 - (nm_policy_auto_get_best_device): handle specific objects
8674                 - (create_connection): remove; automatic connection creation functionality
8675                         is handled by the Connection objects
8676                 - (nm_policy_device_change_check): handle specific_object
8677
8678         * libnm-util/nm-connection.c
8679                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
8680
8681 2007-09-10  Dan Williams  <dcbw@redhat.com>
8682
8683         * src/nm-manager.c
8684                 - (query_connections): fix uninitialized variable problem that caused
8685                         segfault
8686                 - (nm_manager_add_device): take devices down on startup so that we can
8687                         be assured that nm_device_is_up() won't short-circuit the init
8688                         process.  Hack until the is_up check gets split into two pieces
8689                         that aren't behaviorally confusing.
8690
8691 2007-09-09  Dan Williams  <dcbw@redhat.com>
8692
8693         * introspection/nm-device.xml
8694                 - The 'Activate' method now takes 3 arguments, a service name for the
8695                 settings service (user or system), the object path of the connection
8696                 to activate, and the specific object to activate, if any
8697
8698         * src/nm-device-interface.c
8699                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
8700                 Add error bits
8701                 - (impl_device_activate): adapt to new Activate arguments; validate
8702                 the service name and get the Connection object from the NMManager
8703                 before starting to activate the device with the specified connection
8704
8705         * src/nm-device-802-3-ethernet.c
8706                 - (real_get_best_connection): find the best connection, or create a
8707                 default one if no existing connections can be used
8708
8709         * src/NetworkManagerPolicy.c
8710                 - (nm_policy_auto_get_best_device): Get the device's best connection
8711                 and only pick the device if it has one
8712                 - (nm_policy_device_change_check): disable wireless bits for now until
8713                 wireless get_best_connection() can be implemented (replacing "best_ap");
8714                 don't create a default connection here as the device subclass will do
8715                 that if needed
8716
8717         * src/nm-manager.h
8718           src/nm-manager.c
8719                 - (nm_manager_get): make NMManager a singleton and expose the getter
8720                 internally
8721                 - Rework internal NMManager connection handling to use the same
8722                 routines for both the system and user settings services.  Most calls
8723                 take a new NMConnectionType argument specifying either system or user
8724                 connections
8725                 - (nm_manager_get_connection_by_object_path): new function; get a
8726                 connection keyed on its object path
8727
8728         * src/NetworkManager.c
8729                 - (main): use nm_manager_get()
8730
8731 2007-09-09  Dan Williams  <dcbw@redhat.com>
8732
8733         * src/nm-device.h
8734           src/nm-device.c
8735                 - (nm_device_get_best_connection): new function; get best connection
8736                         for the device at that time
8737
8738 2007-09-09  Dan Williams  <dcbw@redhat.com>
8739
8740         * src/nm-device-interface.h
8741                 - Add NMDeviceInterfaceError with an UnknownConnection error
8742
8743 2007-09-09  Dan Williams  <dcbw@redhat.com>
8744
8745         Stupid mistake on my part; object path and interface for settings service
8746         and connection objects can be the same, only the service name must be
8747         different for the system and user settings services.
8748
8749         * include/NetworkManager.h
8750           src/nm-manager.c
8751           introspection/nm-settings-connection.xml
8752           introspection/nm-settings.xml
8753           libnm-glib/nm-settings.c
8754                 - (nm_connection_settings_init, query_user_connections,
8755                    new_connection_cb): Unify NetworkManagerSettings and Connection
8756                    interface name and object path
8757
8758 2007-09-06  Dan Williams  <dcbw@redhat.com>
8759
8760         * libnm-glib/nm-object.c
8761                 - (nm_object_get_string_property, nm_object_get_object_path_property,
8762                    nm_object_get_int_property, nm_object_get_uint_property,
8763                    nm_object_get_boolean_property, nm_object_get_byte_property,
8764                    nm_object_get_double_property, nm_object_get_byte_array_property):
8765                         clear GValues after copying their contents, fixes memory leaks
8766                         after every property access because dbus-glib copies the values
8767                         from the DBusMessage into the GValue already.
8768
8769 2007-09-06  Dan Williams  <dcbw@redhat.com>
8770
8771         * introspection/nm-access-point.xml
8772                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
8773                         them to be.  There's some magic property name parsing going on in
8774                         dbus-glib that breaks up property names based on studly-caps and
8775                         puts - between words.
8776
8777         * libnm-glib/nm-access-point.c
8778                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
8779                         Fix property names
8780
8781 2007-09-06  Dan Williams  <dcbw@redhat.com>
8782
8783         * src/nm-manager.c
8784                 - (nm_manager_user_connections_destroy): clear the user connections hash
8785                         table, don't destroy it
8786                 - (finalize): only destroy the hash table on NMManager finalization
8787
8788 2007-09-02  Dan Williams  <dcbw@redhat.com>
8789
8790         * include/NetworkManager.h
8791           libnm-glib/nm-settings.c
8792                 - defines for the user settings daemon D-Bus bits
8793
8794         * src/NetworkManager.c
8795                 - Remove stuff that referred to the old NetworkManagerInfo service
8796
8797         * src/vpn-manager/nm-dbus-vpn.h
8798                 - Move old NMI defines to the only place they are used still
8799
8800         * libnm-util/nm-connection.c
8801           libnm-util/nm-connection.h
8802           src/nm-activation-request.c
8803                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
8804
8805         * src/nm-manager.c
8806           src/nm-manager.h
8807                 - Get connections and their settings from the user settings daemon
8808                         at the appropriate times
8809
8810 2007-09-02  Dan Williams  <dcbw@redhat.com>
8811
8812         * libnm-util/nm-setting.c
8813                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
8814                 - (setting_wireless_hash): set the right value on the item
8815
8816 2007-09-02  Dan Williams  <dcbw@redhat.com>
8817
8818         * test/Makefile.am
8819           test/nminfotest.c
8820                 - Remove, no longer useful
8821
8822 2007-08-30  Dan Williams  <dcbw@redhat.com>
8823
8824         * src/Makefile.am
8825           src/NetworkManagerDbus.c
8826           src/NetworkManagerDbus.h
8827           src/vpn-manager/nm-dbus-vpn.c
8828                 - Remove, no longer necessary.  Move last bits to the only place its
8829                 used, in nm-dbus-vpn.c
8830
8831         * src/NetworkManagerAPList.c
8832           src/nm-device.c
8833           src/NetworkManager.c
8834           src/nm-device-802-11-wireless.c
8835           src/vpn-manager/nm-vpn-manager.c
8836           src/vpn-manager/nm-vpn-service.c
8837           src/NetworkManagerPolicy.c
8838           src/nm-manager.c
8839                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
8840                 that was message_is_error()
8841
8842 2007-08-30  Dan Williams  <dcbw@redhat.com>
8843
8844         * libnm-util/sha1.c
8845                 - Include config.h to get defines for endiannes (gnome.org #420216)
8846
8847 2007-08-30  Dan Williams  <dcbw@redhat.com>
8848
8849         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
8850
8851         * src/ppp-manager/Makefile.am
8852                 - use -fPIC (gnome.org #471825)
8853
8854 2007-08-29  Dan Williams  <dcbw@redhat.com>
8855
8856         * include/NetworkManager.h
8857                 - Keep NMConnection object path in sync
8858
8859         * libnm-glib/nm-settings.c
8860           libnm-glib/nm-settings.h
8861                 - Break D-Bus object registration out of the init function, because
8862                 every object that's exported over D-Bus needs to use the _same_
8863                 DBusConnection.  Otherwise, each object would get a different object
8864                 path tree and wouldn't be callable.
8865
8866 2007-08-29  Dan Williams  <dcbw@redhat.com>
8867
8868         * libnm-util/nm-setting.h
8869           libnm-util/nm-setting.c
8870           libnm-util/nm-connection.c
8871           src/NetworkManagerPolicy.c
8872                 - 'info' settings object should be 'connection' says the spec
8873                 at NetworkManagerConfigurationSpecification
8874
8875 2007-08-29  Dan Williams  <dcbw@redhat.com>
8876
8877         * libnm-glib/nm-settings.c
8878           libnm-glib/nm-settings.h
8879                 - make the dbus path a property of the object, and autogenerate it.
8880                 It can't be composed of the 'id' field becuase that's not available
8881                 yet during the GObject creation in nm_connection_settings_init()
8882
8883 2007-08-29  Dan Williams  <dcbw@redhat.com>
8884
8885         * introspection/nm-settings-connection.xml
8886           introspection/nm-settings.xml
8887                 - Service name -> NetworkManagerUserSettings because two services
8888                 can't share part of the same path.  I'm not really sure how we'll use
8889                 the same code with the system-settings daemon...
8890
8891 2007-08-28  Dan Williams  <dcbw@redhat.com>
8892
8893         * src/nm-device-interface.c
8894           src/nm-device-interface.h
8895                 - Kill one more bit of NMData
8896
8897 2007-08-28  Dan Williams  <dcbw@redhat.com>
8898
8899         * src/NetworkManagerSystem.h
8900           src/nm-device.c
8901           src/nm-device.h
8902           src/nm-hal-manager.c
8903           src/NetworkManager.c
8904           src/nm-device-802-11-wireless.c
8905           src/nm-hal-manager.h
8906           src/nm-device-802-3-ethernet.c
8907           src/vpn-manager/nm-vpn-service.h
8908           src/vpn-manager/nm-vpn-manager.c
8909           src/vpn-manager/nm-vpn-manager.h
8910           src/vpn-manager/nm-vpn-service.c
8911           src/nm-device-802-11-wireless.h
8912           src/NetworkManagerMain.h
8913           src/nm-device-802-3-ethernet.h
8914           src/backends/NetworkManagerGentoo.c
8915           src/backends/NetworkManagerPaldo.c
8916           src/backends/NetworkManagerFrugalware.c
8917           src/backends/NetworkManagerRedHat.c
8918           src/backends/NetworkManagerSlackware.c
8919           src/backends/NetworkManagerGeneric.c
8920           src/backends/NetworkManagerArch.c
8921           src/backends/NetworkManagerSuSE.c
8922           src/backends/NetworkManagerGeneric.h
8923           src/backends/NetworkManagerDebian.c
8924                 - Kill NMData
8925
8926 2007-08-28  Dan Williams  <dcbw@redhat.com>
8927
8928         * src/NetworkManagerMain.h
8929           src/nm-device-802-11-wireless.c
8930           src/NetworkManager.c
8931                 - Remove invalid AP list from NMData; need to rework this somewhat, but
8932                 for now we should set the 'invalid' property on individual APs, and when
8933                 we need to invalidate a whole ESS, set the 'invalid' on every member of
8934                 that ESS
8935
8936 2007-08-28  Dan Williams  <dcbw@redhat.com>
8937
8938         * src/NetworkManagerAP.c
8939           src/NetworkManagerAP.h
8940                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
8941                         'autoconnect' property instead
8942
8943         * src/NetworkManager.c
8944           src/NetworkManagerMain.h
8945           src/NetworkManagerPolicy.c
8946           src/NetworkManagerPolicy.h
8947                 - Remove the 'allowed_ap_list', which should be replaced by 
8948                         NMConnection/NMSettings instead, since _those_ are the allowed
8949                         things that NM can connect to
8950
8951         * src/nm-device-802-11-wireless.c
8952                 - Remove both allowed_ap_list usage and 'fallback' checking
8953
8954 2007-08-28  Dan Williams  <dcbw@redhat.com>
8955
8956         * src/nm-device.c
8957           src/named-manager/nm-named-manager.c
8958           src/named-manager/nm-named-manager.h
8959           src/NetworkManager.c
8960           src/vpn-manager/nm-vpn-manager.c
8961           src/NetworkManagerMain.h
8962           src/NetworkManagerSystem.c
8963                 - Remove the named-manager object from NMData structure in preparation
8964                 for NMData's timely death.  Make the NMNamedManager the singleton that
8965                 it really is
8966
8967 2007-08-28  Dan Williams  <dcbw@redhat.com>
8968
8969         Remove NMAPSecurity objects, they are replaced with flags on the APs for
8970         each AP's capabilities, and by NMConnection/NMSettings objects for user
8971         defined connections.
8972
8973         * include/NetworkManager.h
8974                 - Redefine 802.11 security properties.  There are now device capabilities
8975                         and AP flags and AP security flags.  It was way to unclear before.
8976
8977         * src/Makefile.am
8978           src/nm-ap-security-leap.h
8979           src/nm-ap-security-leap.c
8980           src/nm-ap-security-wpa-eap.c
8981           src/nm-ap-security-wpa-eap.h
8982           src/nm-ap-security-private.h
8983           src/nm-ap-security-wpa-psk.c
8984           src/nm-ap-security-wpa-psk.h
8985           src/nm-ap-security-wep.c
8986           src/nm-ap-security-wep.h
8987           src/nm-ap-security.c
8988           src/nm-ap-security.h
8989                 - Removed, to be replaced with NMConnection/NMSettings objects
8990
8991         * src/nm-dbus-nmi.c
8992           src/nm-dbus-nmi.h
8993                 - Removed, to be replaced by code that talks to the new info daemon
8994                         interface and gets NMConnection/NMSettings objects
8995
8996         * src/backends/NetworkManagerSuSE.c
8997                 - Remove usage of NMAPSecurity; should be replaced by a system-level
8998                         info-daemon that does the same thing but talks the new info-daemon
8999                         D-Bus interface
9000
9001         * src/NetworkManagerAP.h
9002           src/NetworkManagerAP.c
9003           src/NetworkManagerAPList.c
9004           libnm-glib/libnm-glib-test.c
9005                 - Remove usage of NMAPSecurity objects and adjust to new flags for
9006                         WPA/RSN
9007
9008         * libnm-glib/nm-access-point.c
9009           libnm-glib/nm-access-point.h
9010           introspection/nm-access-point.xml
9011           test/nm-tool.c
9012                 - Adjust to new flags for AP security
9013
9014         * utils/nm-utils.c
9015           utils/nm-utils.h
9016           src/vpn-manager/nm-dbus-vpn.c
9017                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9018                         stuff which is the only place it's used
9019
9020         * src/nm-device-interface.c
9021           src/nm-device-interface.h
9022           introspection/nm-device.xml
9023           src/nm-activation-request.c
9024           src/nm-activation-request.h
9025           src/nm-device.c
9026                 - Add a new 'specific_object' argument that hints to NM what actual
9027                         AP or other device-specific thing the connection should apply to.
9028                         NMConnection objects can apply to more than one actual device/AP.
9029
9030         * libnm-util/nm-connection.c
9031         * libnm-util/nm-connection.h
9032                 - Add 'have_secrets" call stubs
9033
9034         * libnm-util/cipher.h
9035                 - Move NM_AUTH_TYPE_* defines here for now
9036
9037         * src/nm-device-802-11-wireless.c
9038                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9039                         NMSettings objects
9040
9041         * src/NetworkManagerDbus.c
9042         * src/NetworkManagerPolicy.c
9043                 - Remove usage of update_allowed_networks, should be pushing data in
9044                         a different manner
9045
9046 2007-08-27  Tambet Ingo  <tambet@gmail.com>
9047
9048         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
9049         dbus-glib frees it when the call is done.
9050
9051 2007-08-26  Dan Williams  <dcbw@redhat.com>
9052
9053         * introspection/nm-device.xml
9054                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9055
9056 2007-08-26  Dan Williams  <dcbw@redhat.com>
9057
9058         * src/nm-device-802-3-ethernet.c
9059                 - (constructor): move connection of interface-connected/disconnected
9060                         signals here from real_bring_up().  Should be listening to netlink
9061                         for carrier events no matter what the initial state of the device
9062                         is.
9063
9064 2007-08-26  Dan Williams  <dcbw@redhat.com>
9065
9066         * src/nm-netlink-monitor.c
9067                 - (nm_netlink_monitor_class_init): fix marshalling types for
9068                         interface-connected/interface-disconnected
9069                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9070                         check
9071
9072 2007-08-26  Dan Williams  <dcbw@redhat.com>
9073
9074         Convert to using interface indexes as the primary method of identifying
9075         devices inside NetworkManager.  Indexes are (?) stable, but devices can
9076         be renamed at any time.  Device object paths now refer to the device
9077         index rather than the name, and you can map those two manually if you like
9078         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
9079         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9080         to use interface indexes rather than names.
9081
9082 2007-08-26  Dan Williams  <dcbw@redhat.com>
9083
9084         * src/nm-netlink-monitor.h
9085                 - Remove one last bit of wireless-event signal
9086
9087 2007-08-26  Dan Williams  <dcbw@redhat.com>
9088
9089         * src/nm-netlink-monitor.c
9090                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9091                         don't need the 'wireless-event' signal anymore since that's all
9092                         handled by wpa_supplicant
9093
9094 2007-08-25  Dan Williams  <dcbw@redhat.com>
9095
9096         It's 2007. Remove support for drivers that don't support wireless scanning.
9097
9098         * test/nm-tool.c
9099           include/NetworkManager.h
9100           src/NetworkManagerUtils.c
9101           src/NetworkManagerPolicy.c
9102           src/nm-device-802-11-wireless.c
9103                 - Remove special handling for non-scanning devices and mark them
9104                         as unsupported/unhandled
9105
9106 2007-08-20  Dan Williams  <dcbw@redhat.com>
9107
9108         * src/nm-device-802-11-wireless.c
9109           src/nm-device-802-3-ethernet.c
9110                 - (real_is_up): move device-specific tests before generic IFF_UP test,
9111                         because when the card is pulled or the module removed, the device
9112                         is already !IFF_UP and then device-specific cleanup (removing
9113                         the supplicant interface, periodic checks, etc) never gets done
9114
9115 2007-08-20  Dan Williams  <dcbw@redhat.com>
9116
9117         * src/nm-manager.c
9118                 - (nm_manager_remove_device): bring device down before disconnecting
9119                         signal handlers, so that the 'state' signal will get broadcast when
9120                         the device enters the DOWN state
9121                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9122                         of states that cause the NMManager to recheck its state
9123
9124 2007-08-20  Dan Williams  <dcbw@redhat.com>
9125
9126         * src/supplicant-manager/nm-supplicant-interface.c
9127                 - (interface_disconnect_done): don't try to dispose of the net proxy
9128                         when it may already have been disposed of
9129
9130 2007-08-20  Dan Williams  <dcbw@redhat.com>
9131
9132         * src/nm-device-802-11-wireless.c
9133                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9134                         the SSID isn't available; this can happen when the card is pulled
9135                         or the module unloaded, during the post-removal deactivation
9136                         paths, when the ioctl returns ENODEV
9137
9138 2007-08-20  Dan Williams  <dcbw@redhat.com>
9139
9140         * src/nm-device-802-11-wireless.c
9141                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9142                         frequency, and mode match.  Applets are now responsible for grouping
9143                         access points
9144
9145 2007-08-20  Dan Williams  <dcbw@redhat.com>
9146
9147         * src/NetworkManagerAP.c
9148         * src/NetworkManagerAP.h
9149                 - (nm_ap_print_self): new function
9150
9151         * src/NetworkManagerAPList.c
9152                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9153                         to do it all here
9154         
9155 2007-08-17  Dan Williams  <dcbw@redhat.com>
9156
9157         * src/nm-device-802-3-ethernet.c
9158                 - (real_bring_down): don't try to dispose of stuff that might not
9159                         exist
9160
9161 2007-08-17  Dan Williams  <dcbw@redhat.com>
9162
9163         * src/NetworkManagerAP.c
9164                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9165                         applet.  This ensures that the case between the seen-bssids and
9166                         the bssids reported by the driver match.
9167
9168 2007-08-17  Dan Williams  <dcbw@redhat.com>
9169
9170         * src/nm-device-802-11-wireless.c
9171                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9172                         we dispose of the interface proxy in NM
9173
9174 2007-08-16  Dan Williams  <dcbw@redhat.com>
9175
9176         * libnm-glib/nm-client.c
9177                 - (nm_client_init): create VPN connections hash table with key free
9178                         function
9179                 - (proxy_vpn_connection_added): VPN connections hash table key should
9180                         be a duplicated value, not the same memory address as the VPN
9181                         connection name.  This is because the VPN connection name could
9182                         potentially be freed and set to something else during the lifetime
9183                         of the NMVPNConnection object.
9184
9185 2007-08-16  Tambet Ingo  <tambet@gmail.com>
9186
9187         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9188         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9189         with the file descriptors. Send a child setup function to change the pppd
9190         progress group.
9191
9192 2007-08-15  Dan Williams  <dcbw@redhat.com>
9193
9194         * src/supplicant-manager/nm-supplicant-interface.c
9195                 - (try_remove_iface): new function, ask wpa_supplicant to remove
9196                         an interface
9197                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9198                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
9199                         happens on hotplug if wpa_supplicant doesn't tear down and readd
9200                         the interface internally
9201
9202 2007-08-15  Dan Williams  <dcbw@redhat.com>
9203
9204         * src/nm-device-802-11-wireless.c
9205                 - (real_bring_down): move most of this function into device_cleanup()
9206                         so that it can be called from elsewhere
9207                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9208                         and stuff on dispose.  These would normally get cleaned up when
9209                         the device is marked down and deactivated, but when the device is
9210                         hot-unplugged, it's already down and real_down() never gets run
9211
9212 2007-08-15  Dan Williams  <dcbw@redhat.com>
9213
9214         * src/nm-dbus-nmi.c
9215                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9216                         caused a reference leak on device for which NM requested a key
9217
9218 2007-08-15  Dan Williams  <dcbw@redhat.com>
9219
9220         * libnm-glib/nm-client.c
9221                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9222
9223 2007-08-15  Tambet Ingo  <tambet@gmail.com>
9224
9225         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9226         nothing is using it at the moment, but it'll be all useful and stuff later on.
9227
9228         * libnm-util/nm-setting.h: Define NMSettingPPP.
9229
9230         * libnm-util/nm-setting.c: Implement NMSettingPPP.
9231
9232         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9233
9234         * src/Makefile.am: Add ppp-manager to SUBDIRS.
9235
9236         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9237
9238         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9239
9240 2007-08-14  Tambet Ingo  <tambet@gmail.com>
9241
9242         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9243
9244         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9245         an issue with dbus-glib bindings generator. The issue is, the generated C caller
9246         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9247         name and different arguments and it won't compile anymore. To fix this, we now have
9248         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9249         that is new API + compatibility API and used by the daemon. The other, 
9250         nm-manager-client.xml is only the new API without compatibility bits and is used
9251         by libnm-glib to make it compile.
9252
9253         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9254
9255         * src/nm-manager.c (impl_manager_legacy_sleep)
9256         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9257         interface functions for 0.6 branch.
9258
9259 2007-08-14  Dan Williams  <dcbw@redhat.com>
9260
9261         * src/NetworkManagerAP.c
9262                 - (nm_ap_new_from_properties): fix mistaken check of return value
9263                         from memcmp (should expect 0)
9264
9265 2007-08-14  Dan Williams  <dcbw@redhat.com>
9266
9267         (force-commit to fix wrong comment and partial commit of r2685; this
9268          commit actually applies to r2685)
9269
9270         * src/NetworkManagerUtils.c
9271                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9272                         ignores trailing nulls in the SSID to work around mismatches in
9273                         expectations between WEXT and what the info-daemon passes back.  The
9274                         info-daemon would pass back the correct length, but due to the
9275                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9276                         the device would always have an SSID + 1 depending on what versions
9277                         of wpa_supplicant, the kernel, and NM you have.  This was most often
9278                         visible by just quitting the applet and relaunching, which caused
9279                         NM to reassociated to the same network over again when reloading
9280                         the save networks.
9281
9282         * src/NetworkManagerPolicy.c
9283           src/NetworkManagerUtils.h
9284           src/nm-device-802-11-wireless.c
9285                 - Update for new parameter to nm_utils_same_ssid()
9286
9287 2007-08-14  Dan Williams  <dcbw@redhat.com>
9288
9289         * src/NetworkManagerAP.c
9290                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
9291                         I encountered a BSS that wasn't just hiding it's ESSID, it was
9292                         setting the BSSID to all 0s.  That confused the heck out of NM,
9293                         plus it's useless and probably out-of-spec.
9294
9295 2007-08-14  Dan Williams  <dcbw@redhat.com>
9296
9297         * callouts/Makefile.am
9298           src/dhcp-manager/nm-dhcp-manager.c
9299           src/dhcp-manager/nm-dhcp-manager.h
9300           src/dhcp-manager/Makefile.am
9301                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9302
9303 2007-08-14  Dan Williams  <dcbw@redhat.com>
9304
9305         * src/dhcp-manager/nm-dhcp-manager.c
9306                 - (dhclient_run): don't pass -x to dhclient until we figure out if
9307                         it's really needed, get rid of unused xtra_args parameter
9308
9309 2007-08-14  Dan Williams  <dcbw@redhat.com>
9310
9311         * include/NetworkManagerVPN.h
9312           src/vpn-manager/nm-dbus-vpn.c
9313           src/vpn-manager/nm-dbus-vpn.h
9314           src/vpn-manager/nm-vpn-act-request.c
9315           src/vpn-manager/nm-vpn-act-request.h
9316           src/vpn-manager/nm-vpn-service.c
9317           src/vpn-manager/nm-vpn-service.h
9318           libnm-glib/nm-vpn-connection.c
9319           libnm-glib/nm-vpn-connection.h
9320           libnm-glib/nm-client.h
9321                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
9322                         NMVPNServiceState to clarify what they apply to
9323                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9324                         NMVPNActStage -> NMVPNConnectionState for the same reason
9325
9326         * libnm-glib/nm-client.c
9327                 - Constant + type renames from above
9328                 - Properly handle NameOwnerChanged/manager_running signals
9329                         for NM service; only emit when state really changes
9330                 - Use hash tables correctly so that the key (which was previously owned
9331                         by the D-Bus message) now has the same lifetime as the value, since
9332                         the key is now taken from the the NMVPNConnection itself.  This
9333                         really fixes the double-VPN names in the applet
9334
9335 2007-08-13  Dan Williams  <dcbw@redhat.com>
9336
9337         Patch from Michael Biebl <biebl@debian.org>
9338
9339         * po/POTFILES.in
9340           po/POTFILES.skip
9341                 - Update for vpn-properties move
9342
9343 2007-08-13  Dan Williams  <dcbw@redhat.com>
9344
9345         * libnm-glib/nm-client.c
9346                 - Convert internal VPN connection tracking from a list to a hash table
9347                         to easily avoid duplicates
9348                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9349                         must be freed by the caller, like nm_client_get_devices()
9350                 - (nm_client_remove_vpn_connection): don't let the removal signal
9351                         leak through for NMVPNConnection objects that aren't actually
9352                         tracked.
9353                 - (manager_running): throw away VPN connection list when NM goes away,
9354                         like with the device list
9355
9356 2007-08-13  Dan Williams  <dcbw@redhat.com>
9357
9358         * src/dhcp-manager/nm-dhcp-manager.c
9359                 - Stop any dhclient instance that might be already running for a
9360                         particular interface before starting an NM spawned dhclient.  Fixes
9361                         dhclient processes left over if NM crashes, stuff like that.
9362
9363 2007-08-13  Dan Williams  <dcbw@redhat.com>
9364
9365         * src/NetworkManagerAP.c
9366                 - (finalize): don't try to g_array_free (NULL, ...), which happened
9367                         when the AP wasn't broadcasting it's SSID
9368
9369 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
9370
9371         * include/NetworkManager.h: added DBus path for connection settings.
9372
9373         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9374         nm_connection_settings_signal_updated,
9375         nm_connection_settings_signal_removed): new functions to wrap the
9376         objects' signals.
9377         (nm_connection_settings_init): register GObject with DBus.
9378         (nm_connection_settings_get_dbus_object_path): new function.
9379
9380         * libnm-glib/Makefile.am: added libnmutil to link flags.
9381
9382 2007-08-13  Tambet Ingo  <tambet@gmail.com>
9383
9384         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9385
9386         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9387         libnm_glib directory got merged with libnm-glib/.
9388
9389         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9390
9391         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9392         Rename the library from libnm-glib to libnm_glib to maintain the library API
9393         compatibility with 0.6 branch.
9394
9395         * Makefile.am: Remove gnome/ SUBDIR.
9396
9397         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9398
9399         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9400
9401         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9402
9403         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9404         anymore.
9405         Remove checks for wpa_supplicant binary, it's used over dbus.
9406         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9407
9408         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9409         Link the binaries with libnm_glib.la.
9410
9411 2007-08-12  Dan Williams  <dcbw@redhat.com>
9412
9413         * src/NetworkManagerPolicy.c
9414                 - (nm_policy_device_change_check): fix policy to deactivate old device
9415                         before activating new one, at least until the multiple active
9416                         device support lands
9417
9418 2007-08-12  Dan Williams  <dcbw@redhat.com>
9419
9420         * src/NetworkManagerPolicy.c
9421                 - (nm_policy_new): hook up to connection-added / connection-removed
9422                         signals instead of connections-changed
9423
9424 2007-08-12  Dan Williams  <dcbw@redhat.com>
9425
9426         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
9427         Robert Frank <rfrank@redhat.com>
9428
9429         * src/dhcp-manager/nm-dhcp-manager.c
9430           src/dhcp-manager/nm-dhcp-manager.c
9431           src/nm-device.c
9432                 - Spawn and communicate with dhclient directly, through means of a
9433                 custom dhclient callout script.  Process callout D-Bus signals
9434                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
9435                 sent via gobject signals rather than being driven by the dhcp manager
9436                 directly.
9437
9438 2007-08-12  Dan Williams  <dcbw@redhat.com>
9439
9440         * callouts/nm-dhcp-client-action.c
9441                 - (build_message): ignore non-DHCP-related environment variables
9442
9443 2007-08-12  Dan Williams  <dcbw@redhat.com>
9444
9445         * Makefile.am
9446           configure.in
9447           callouts/Makefile.am
9448           callouts/nm-dhcp-client-action.c
9449           callouts/nm-dhcp-client.conf
9450                 - Add dhclient-executed callout that takes the place of dhclient-script
9451                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9452                 NM then listens for
9453
9454 2007-08-09  Tambet Ingo  <tambet@gmail.com>
9455
9456         [Based on patch by Helmut Schaa <hschaa@suse.de>]
9457
9458         * libnm-glib/nm-client.h:
9459         * libnm-glib/nm-object.h:
9460         * libnm-glib/nm-vpn-connection.h:
9461         * libnm-glib/nm-settings.h:
9462         * libnm-glib/nm-device.h:
9463         * libnm-glib/nm-ip4-config.h:
9464         * libnm-glib/nm-access-point.h:
9465         * libnm-glib/nm-device-802-3-ethernet.h:
9466         * libnm-util/nm-setting.h: 
9467         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9468
9469         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9470
9471         * libnm-glib/nm-access-point.c: Strength has type char.
9472
9473         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9474         to fix build. GnomeDruid is deprecated in recent libgnomeui.
9475
9476         * introspection/nm-access-point.xml: Strength property is char, not int.
9477
9478         * src/NetworkManagerAP.c (set_property): Set strength from char.
9479         (get_property): Handle hidden APs (with empty SSID).
9480         Get strength value from char.
9481         (nm_ap_class_init): Strength property has char type.
9482
9483 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
9484
9485         * introspection/Makefile.am:
9486         * introspection/nm-settings.xml:
9487         * introspection/nm-settings-connection.xml: added Settings interfaces.
9488
9489         * libnm-glib/nm-settings.[ch]:
9490         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9491         containing the DBus implementation.
9492
9493 2007-07-26  Dan Williams  <dcbw@redhat.com>
9494
9495         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9496
9497         * src/NetworkManagerSystem.c
9498                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9499                         same subnet (#437396)
9500
9501 2007-07-26  Dan Williams  <dcbw@redhat.com>
9502
9503         Patch from Kelemen Gábor <kelemeng@gnome.hu>
9504
9505         * gnome/vpn-properties/nm-vpn-properties.c
9506                 - Fix translatable strings (#445865)
9507
9508 2007-07-26  Dan Williams  <dcbw@redhat.com>
9509
9510         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9511
9512         * configure.in
9513                 - Remove useless junk (#412530)
9514
9515 2007-07-10  Christopher Aillon  <caillon@redhat.com>
9516
9517         Patch from Robert Buchholz <rbu@gentoo.org>:
9518
9519         * configure.in:
9520         * Makefile.am:
9521         * introspection/Makefile.am:
9522         Make make distcheck work again.
9523
9524 2007-06-27  Dan Williams  <dcbw@redhat.com>
9525
9526         * Make SSIDs GByteArrays everywhere
9527         * Rename "essid" -> "ssid" everywhere that's appropriate
9528         * Refcount activation_ap member of the 802.11 wireless device class
9529
9530 2007-06-27  Tambet Ingo  <tambet@ximian.com>
9531
9532         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9533
9534 2007-06-22  Tambet Ingo  <tambet@ximian.com>
9535
9536         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9537         that we got a new AP when we just update existing AP properties.
9538
9539 2007-06-21  Tambet Ingo  <tambet@ximian.com>
9540
9541         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9542
9543         * nm-utils.[ch]: Remove.
9544
9545         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9546         objects for easy property access and dbus connection handling.
9547
9548         * libnm-glib/nm-client.c: Derive from NMObject.
9549
9550         * libnm-glib/nm-device.c: Ditto.
9551
9552         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9553
9554         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9555
9556         * libnm-glib/nm-ip4-config.c: Ditto.
9557
9558         * libnm-glib/nm-access-point.c: Ditto.
9559
9560         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9561         comparision. Currently used by the device activation code to determine if the new
9562         activation is the same as the old one.
9563
9564         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9565         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9566         able to ask password for the AP.
9567
9568         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9569         up if the device is already connected, tear down it's connection (if it isn't the
9570         same as new one) and start the activation.
9571
9572         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9573
9574         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9575         the issue where all APs are always listed as encrypted.
9576
9577         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9578         their own registered paths.
9579
9580         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9581         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9582
9583 2007-06-13  Tambet Ingo  <tambet@ximian.com>
9584
9585         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
9586         (0 & 0 == 0, doh)
9587
9588         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
9589         because the handling code will cause the next state change and signal listeners
9590         get the signals in wrong order.
9591
9592         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
9593         correctly in case of pending activation.
9594
9595         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9596         Convert the essid byte array to string correctly, including the terminating NULL.
9597
9598         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
9599         mode with correct types.
9600
9601         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
9602         constructed info to dbus call instead of the activation request.
9603
9604 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9605
9606         Patch from Christian Persch <chpe@gnome.org>
9607
9608         * libnm-glib/Makefile.am:
9609         * dispatcher-daemon/Makefile.am:
9610         Use the correct variables, the correct paths, and correct ordering. (446315)
9611
9612 2007-06-11  Tambet Ingo  <tambet@ximian.com>
9613
9614         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
9615         argument. The activation request is easy to retrieve.
9616
9617         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
9618         just to be a convenient location for devices to store random stuff.
9619
9620 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9621
9622         Patch from Alex Smith <alex@alex-smith.me.uk>
9623
9624         * src/backends/NetworkManagerFrugalware.c:
9625         Update the FrugalWare backend to fix a few segfaults. (#392642)
9626
9627 2007-06-08  Tambet Ingo  <tambet@ximian.com>
9628
9629         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
9630
9631         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
9632         setting.
9633         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
9634
9635 2007-06-06  Tambet Ingo  <tambet@ximian.com>
9636
9637         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
9638         automagically.
9639         Implement NMSettingIP4Config.
9640         Finish NMSettingWired by adding all known members.
9641         (setting_wired_verify): Implement.
9642         Finish NMSettingWireless by adding all known members.
9643         (setting_wireless_verify): Implement.
9644
9645         * libnm-util/nm-connection.c: Register "ipv4" setting.
9646         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
9647         dump function, we can introspect the GHashTable which is used for sending connections
9648         over dbus.
9649
9650         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9651         Take GByteArray for essid, it's really not a string.
9652
9653         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
9654         Start DHCP request if setting is not passed or if it states that DHCP should be used.
9655         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
9656         means overriding the values we got from DHCP.
9657         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
9658         (nm_device_deactivate_quickly): Ditto.
9659
9660         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
9661         for debugging.
9662
9663 2007-05-07  Tambet Ingo  <tambet@ximian.com>
9664
9665         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
9666         NMConnection.
9667
9668         * libnm-glib/nm-device-802-11-wireless.c:
9669         (nm_device_802_3_ethernet_activate): Remove.
9670
9671         * libnm-glib/nm-device-802-3-ethernet.c
9672         (nm_device_802_3_ethernet_activate): Remove.
9673
9674         * libnm-glib/nm-device.c (nm_device_activate): Implement.
9675
9676         * src/nm-device-802-3-ethernet.c: Implement the new activation using
9677         NMConnection.
9678
9679         * src/nm-device-802-11-wireless.c: Store an activation AP once the
9680         activation has started.
9681         Implement the new activation using NMConnection.
9682
9683         * src/nm-activation-request.c: Store a generic connection object instead
9684         of a wireless-specific AP.
9685
9686         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
9687         on device type, create a device specific connection object suitable for
9688         device activation.
9689
9690         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
9691         specific check to validate the connection and on success start the
9692         activation.
9693
9694         * src/nm-device-interface.h: Add a activate virtual function to the
9695         interface definition.
9696
9697         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
9698         (impl_device_activate): Implement.
9699
9700         * introspection/nm-device.xml: Add a generic device activation interface
9701         that accepts an abstract NMConnection structure that has device-specific
9702         information in it.
9703
9704         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
9705         activation interface.
9706
9707         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
9708         activation interface.
9709
9710         * libnm-util/nm-connection.c: 
9711         * libnm-util/nm-connection.h: 
9712         * libnm-util/nm-setting.c:
9713         * libnm-util/nm-setting.h: Add.
9714
9715         * libnm-util/Makefile.am: Build the added files.
9716
9717         * src/nm-dbus-manager.c
9718         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
9719         DbusConnection argument from 'name-owner-changed' signal. The manager
9720         is already passed as a first argument to the signal and the connection
9721         is easy enough to get from it.
9722
9723         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
9724         Update the signature of the function.
9725
9726         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
9727         Ditto.
9728
9729         * src/NetworkManager.c: Ditto.
9730
9731         * src/named-manager/nm-named-manager.c
9732         (nm_named_manager_name_owner_changed): Ditto.
9733
9734         * src/supplicant-manager/nm-supplicant-manager.c
9735         (nm_supplicant_manager_name_owner_changed): Ditto.
9736
9737         * src/nm-hal-manager.c (name_owner_changed): Ditto.
9738
9739         * src/dhcp-manager/nm-dhcp-manager.c
9740         (nm_dhcp_manager_name_owner_changed): Ditto.
9741
9742         * src/nm-hal-manager.c: Add a list of device detectors and creators
9743         to make it easier to add new devices. Each device type has it's own
9744         entry in the table so adding new device types is only a matter of
9745         implementing a couple of functions, one for device detection and the
9746         other for device creation.
9747
9748 2007-04-25  Dan Williams  <dcbw@redhat.com>
9749
9750         * initscript/RedHat/NetworkManager.in: remove trailing backslash
9751                 (gnome.org #432401)
9752
9753 2007-03-30  Dan Williams  <dcbw@redhat.com>
9754
9755         * src/NetworkManagerSystem.c
9756                 - (nm_system_device_set_ip4_route): clean up and fix argument
9757                         to nm_dev_sock_open()
9758
9759 2007-03-28  Tambet Ingo  <tambet@ximian.com>
9760
9761         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
9762         data to correct types instead of always using string.
9763
9764         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
9765         _not_ have NM_802_11_CAP_PROTO_NONE.
9766         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
9767         is not set.
9768
9769 2007-03-27  Tambet Ingo  <tambet@ximian.com>
9770
9771         * libnm-glib/Makefile.am: Fix the build issue.
9772
9773 2007-03-26  Tambet Ingo  <tambet@ximian.com>
9774
9775         * libnm-glib/nm-vpn-connection.h: 
9776         * libnm-glib/nm-vpn-connection.c: Implement.
9777
9778         * libnm-glib/nm-client.c: Add VPN support.
9779
9780         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
9781         handler for VPN.
9782
9783         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
9784         on DBUS again.
9785
9786 2007-03-26  Dan Williams  <dcbw@redhat.com>
9787
9788         * src/NetworkManagerAPList.c
9789         * src/nm-device-802-11-wireless.c
9790         * src/NetworkManagerAP.c:
9791                 - Store last seen as glong instead of GTimeVal.
9792                 - Fix the upper bound of capabilities, it's a bitfield.
9793
9794 2007-03-16  Tambet Ingo  <tambet@ximian.com>
9795
9796         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
9797
9798         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
9799         "manager-running" signal that notifies the appearance/disappearance of NM.
9800         (nm_client_sleep): Implement.
9801
9802         * libnm-glib/nm-device.c:
9803         * libnm-glib/nm-device-802-11-wireless.c: 
9804         * libnm-glib/nm-device-802-3-ethernet.c: 
9805
9806         Don't inherit from DBusGProxy, add a proxy to private
9807         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
9808         for anything but their own dbus interface. DBusGProxy objects support only one
9809         interfaces and to work around this, NMDevice has spearate proxy for each dbus
9810         interface. The nice side effect of this change is that we do not create a new
9811         DBusGProxy object for each property access.
9812
9813 2007-03-15  Tambet Ingo  <tambet@ximian.com>
9814
9815         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
9816         with zeroes before passing them to functions - the functions never do that and
9817         reading the values back may produce wrong values.
9818         (real_bring_up): Store the signal handler id ...
9819         (real_bring_down): ... So that it can be removed here.
9820         Disconnect the supplicant interface here as well.
9821         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
9822         from the access point instead of old $device/Networks/$essid.
9823
9824         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
9825         device state is connected (instead of just having link/carrier).
9826
9827         * src/nm-activation-request.c: Don't store NMData in activation request, it's
9828         already easily accessible through the device.
9829
9830         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
9831         store it within the object.
9832         (nm_ap_get_dbus_path): Export it to public as well.
9833
9834         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
9835         of the singleton.
9836
9837 2007-03-12  Dan Williams  <dcbw@redhat.com>
9838
9839         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
9840         for non-carrier-detect capable devices, and useless for carrier-detect
9841         devices since we get notifications from netlink about carrier status anyway.
9842
9843         * src/nm-device-802-3-ethernet.c
9844                 - remove 'link_source_id' member from private data
9845                 - (probe_link): remove and collapse into real_update_link()
9846                 - (nm_device_802_3_periodic_update): remove
9847                 - (real_is_up): check for sup_iface rather than link_source_id
9848                 - (real_bring_up): return gboolean for success/fail; require that
9849                         sup_iface be valid for device bringup to succeed
9850                 - (real_bring_down): zero out link signal ids
9851
9852         * src/nm-device.c
9853                 - (nm_device_activate_stage2_device_config): fail activation if device
9854                         bringup fails
9855                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
9856                         fails
9857                 - (nm_device_bring_up): return success/fail
9858
9859         * src/nm-device.h
9860                 - bring_up now returns success/fail
9861
9862         * src/nm-device-802-11-wireless.c
9863                 - (real_bring_up): return success from bringup
9864
9865 2007-03-07  Dan Williams  <dcbw@redhat.com>
9866
9867         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
9868         * src/nm-ap-security-wpa-psk.c
9869                 - (real_write_supplicant_config): work with PSKs that may contain
9870                         zeros in the binary format rather than treating it as a string
9871
9872 2007-03-02  Tambet Ingo  <tambet@ximian.com>
9873
9874         * libnm-glib/nm-device-802-11-wireless.c
9875         (nm_device_802_11_wireless_get_capabilities): Implement.
9876
9877         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
9878
9879         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
9880
9881         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
9882         reply only if it's not NULL. Not sure why this started happening right now.
9883
9884         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
9885         code paths for when devices get removed on shutdown or when a device is just
9886         removed.
9887         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
9888         gets freed so any signal from a device (disconnected for instance) would invoke
9889         NMState update which would crash.
9890         (nm_manager_remove_device): Bring the device down when it gets removed.
9891
9892         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
9893         the unused dev_type.
9894
9895         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
9896         reference to the added device, NMManager will own it (if it wants).
9897
9898         * test/nm-tool.c: Rewrite using libnm-glib.
9899
9900         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
9901         We get signalled when it changes.
9902
9903         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
9904         when it changes.
9905
9906         * libnm-glib/nm-device.c: Cache the device state property.
9907
9908         * libnm-glib/nm-access-point.c: Cache the strength property.
9909
9910         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
9911         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
9912         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
9913         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
9914         the device is down, activating, or activated (in case of A/B/G cards).
9915         Remove some old dead ifdef'ed out code that used to configure wireless devices,
9916         it's all done through supplicant now.
9917
9918         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
9919         counting issues with pending calls which caused leaks and crashes when
9920         interface was removed (now that the interface actually gets removed).
9921
9922         * src/nm-call-store.c: Make a copy of data before running a foreach
9923         with user callback on it - The most common usage pattern is to cancel
9924         (and thus remove) all pending calls with foreach which would modify
9925         the hash table we're iterating over.
9926
9927         * src/nm-manager.c: When a device is added, make sure it is "up". When
9928         it's removed or disabled due to disabling wireless or networking, bring
9929         it down.
9930
9931         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
9932
9933         * src/nm-device-802-11-wireless.c: 
9934         * src/nm-device-802-3-ethernet.c: 
9935         * src/nm-device.c:
9936                 - Remove "init" virtual function, all gobjects have a place for that
9937                   already (constructor).
9938                 - Replace "start" virtual function with "bring_up", devices can be
9939                   brought up and down more than just on startup now.
9940                 - Add "is_up" virtual function.
9941                 - Implement one way to bring a device down instead of previous 4 different
9942                   ways, each of witch did something different.
9943
9944         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
9945         all it needs is the device interface.
9946
9947         Get rid of NMData.dev_list (3 members to go).
9948         Get rif of NMData in a lot of places.
9949
9950         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
9951
9952 2007-02-23  Dan Williams  <dcbw@redhat.com>
9953
9954         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
9955
9956         * src/NetworkManagerAP.c
9957                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
9958                         OR-ing rather than AND-ing
9959
9960 2007-02-20  Tambet Ingo  <tambet@ximian.com>
9961
9962         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
9963         "network-removed" signals.
9964
9965         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
9966
9967         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
9968         when receiving the signal from dbus.
9969
9970         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
9971         property.
9972
9973         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
9974         deactivation of the previously activated device working again.
9975
9976         * src/nm-activation-request.c: Remove NMActStage property and it's getter
9977         and setter.
9978
9979         * src/nm-device.c (nm_device_is_activated): Remove.
9980         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
9981
9982         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
9983         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
9984         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
9985         NM_DBUS_SIGNAL_STATE_CHANGE signal.
9986         Remove NMNetworkStatus and NMActStage enums.
9987
9988 2007-02-19  Tambet Ingo  <tambet@ximian.com>
9989
9990         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
9991         Handle device state changes and disconnect VPN if it's device deactivates.
9992
9993         * src/nm-dbus-nm.c: 
9994         * src/nm-dbus-nm.h: 
9995         * src/nm-dbus-device.c: 
9996         * src/nm-dbus-device.c: 
9997         * src/nm-dbus-net.c: 
9998         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
9999
10000         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10001
10002         * src/nm-device.c (nm_device_get_by_udi):
10003         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10004         implemented in the correct location (NMManager).
10005         Rip out all the test_device stuff.
10006
10007         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10008         failure handlers, it's all done by NMDevice already.
10009
10010         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10011         Remove the iochannel hack to route the unix signals to the main thread since
10012         we're not threaded anymore.
10013
10014         * src/NetworkManagerAP.c: Implement HWAddress property.
10015
10016         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10017         automatically with dbus-glib.
10018
10019         * src/nm-netlink-monitor.c: 
10020         * src/nm-netlink-monitor.h:
10021                 - Move it low in the class hierarchy, don't reference any NM types.
10022                 - Remove private data from the header.
10023                 - Use type safe checks in public API methods.
10024                 - Make it a singleton so we don't have to pass the single reference around.
10025
10026 2007-02-16  Tambet Ingo  <tambet@ximian.com>
10027
10028         * introspection/nm-ip4-config.xml: Implement.
10029
10030         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10031
10032         * libnm-glib/nm-ip4-config.c:
10033         * libnm-glib/nm-ip4-config.c: Implement.
10034
10035         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10036         securities. APs reference security.
10037
10038         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10039         be exported over DBUS.
10040
10041         * src/nm-device-802-3-ethernet.c: Ditto.
10042
10043         * src/NetworkManagerAP.c:
10044         * src/NetworkManagerAP.h:
10045                 - Convert to GObject, export over DBUS.
10046
10047         * src/nm-ip4-config.h:
10048         * src/nm-ip4-config.h:
10049                 - Convert to GObject, export over DBUS.
10050
10051 2007-02-12  Dan Williams  <dcbw@redhat.com>
10052
10053         Patch from Helmut Schaa <hschaa@suse.de>
10054
10055         * vpn-daemons/pptp/configure.in
10056           vpn-daemons/pptp/Makefile.am
10057           vpn-daemons/openvpn/configure.in
10058           vpn-daemons/openvpn/Makefile.am
10059           vpn-daemons/vpnc/configure.in
10060           vpn-daemons/vpnc/Makefile.am
10061                 - Add --without-gnome switch which disables building gnome bits
10062
10063 2007-02-12  Tambet Ingo  <tambet@ximian.com>
10064
10065         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10066
10067         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10068
10069         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10070         'HwAddress'.
10071
10072         * introspection/nm-device.xml: Remove 'UseDhcp' property.
10073
10074         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10075
10076         Totally break NetworkManager. Please use 0.6 branch until futher notice.
10077
10078         * src/:
10079                 - Remove old low-level dbus interface implementations and replace them
10080                   with dbus-glib one.
10081
10082         * configure.in:
10083                 - Require dbus-glib >= 0.72.
10084                 - Plug in new sources to build.
10085
10086         * libnm-glib/:
10087                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10088                   to make it more convenient to use from GObject based programs.
10089
10090         * introspection/:
10091                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10092
10093 2007-02-09  Tambet Ingo  <tambet@ximian.com>
10094
10095         * src/nm-device-802-11-wireless.c:
10096                 - Add "network-added" and "network-removed" signals.
10097                 - Use gobject boilerplate macros to define the GObject.
10098                 - Implement wireless device activation.
10099                 - Remove activation_failure_handler and activation_success_handler
10100                   and instead listen on state-changed signals and run the same code
10101                   from there.
10102
10103         * src/nm-device.c:
10104                 - Implment NMDeviceInterface::deactivate.
10105                 - Remove activation_failure_handler and activation_success_handler
10106                   virtual methods. Each device which is interested in these events
10107                   can just listen on it's state changed signals.
10108
10109         * src/NetworkManagerPolicy.c:
10110                 - Move a bit more NMData usage to NMManager.
10111                 - Remove activation scheduling bits.
10112                 - Add listeners for wireless device's "network-added" and
10113                   "network-removed" signals.
10114                 - Listen device changed signals and deactivate currently activated
10115                   device when another device start activating (for now).
10116                 - Remove (nm_policy_schedule_device_change_check): There's never a need
10117                   for calling this, the policy code knows exactly when this should happen,
10118                   by listening on events from NMManager and NMDevices.
10119
10120         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10121         Implement.
10122
10123         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10124         method on the specific device instead of going to through policy code
10125         and determining the device type by passed in AP's existance.
10126
10127         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10128         abstract NMDevice deactivation.
10129
10130 2007-02-08  Tambet Ingo  <tambet@ximian.com>
10131
10132         * src/NetworkManager.c:
10133                 - Set up all the shiny new managers.
10134
10135         * src/NetworkManagerPolicy.c:
10136                 - Add the beginnings of new NMPolicy code. Instead of requireing all
10137                   classes to call into policy code, make the policy code kind of like
10138                   a supervisor that monitors what's going on and drives the whole NM.
10139
10140         * src/nm-hal-manager.c: 
10141         * src/nm-hal-manager.h:
10142                 - Collect all libhal code scattered around NM to this one class.
10143                 - Listen libhal and NMManager events and add/remove devices to
10144                   NMManager.
10145
10146         * src/nm-manager.c:
10147         * src/nm-manager.h:
10148                 - Implment a replacement for NMData. NMData is now officially
10149                 deprecated.
10150
10151 2007-02-05  Tambet Ingo  <tambet@ximian.com>
10152
10153         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
10154         * src/supplicant-manager/nm-supplicant-interface.h
10155         * src/supplicant-manager/nm-supplicant-interface.c
10156         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10157         argument to boolean from enum.
10158
10159         Make NMDevice abstract class, remove almost all references to it's
10160         subclasses (the last place gets removed with new policy manager). Add
10161         NMDeviceInterface (which NMDevice implements) so that when we have
10162         NMDevice exported over DBUS, there's a common NMDevice interface which
10163         all instances have, plus there's a device specific interface for each
10164         specific type.
10165         Remove functions (nm_device_is_802_3_ethernet) and
10166         (nm_device_is_802_11_wireless). There are already standard GObject macros
10167         for type safe checks.
10168         Use the updated supplican manager API.
10169
10170         * src/nm-device-interface.h: 
10171         * src/nm-device-interface.c: 
10172         * src/nm-call-store.h: 
10173         * src/nm-call-store.c: Implement.
10174
10175         * src/supplicant-manager/nm-supplicant-interface.c:
10176         * src/supplicant-manager/nm-supplicant-interface.h:
10177         * src/supplicant-manager/nm-supplicant-manager.c:
10178         * src/supplicant-manager/nm-supplicant-manager.h:
10179                 - Remove all private data type references from public header files.
10180                 - Remove all references to other NM classes, this class is just a
10181                   proxy between wpa_supplicant and NM so it doesn't have to know
10182                   any internals.
10183                 - Convert to dbus-glib bindings.
10184                 - Type safe checks for public methods' arguments.
10185                 - Store pending DBUS call ids to NMCallStore.
10186
10187         * src/supplicant-manager/nm-supplicant-config.c:
10188                 - Store config values in a GHashTable instead of GSList.
10189
10190         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10191
10192         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10193         singleton now.
10194
10195         * src/nm-device.c: Use the new DHCP manager API.
10196
10197         * src/nm-activation-request.c:
10198         * src/nm-activation-request.h:
10199                 - Remove all dhcp related properties and methods.
10200
10201         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10202
10203         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10204
10205         * src/dhcp-manager/nm-dhcp-manager.c:
10206         * src/dhcp-manager/nm-dhcp-manager.h:
10207                 - Convert it to GObject since we need to signal state changes.
10208                 - Remove all references to other NM classes, this class is one
10209                   of the lowest classes in our hierarchy.
10210                 - One less class to use NMActRequest.
10211                 - Make it singleton, one less user of NMData.
10212                 - Remove a couple of sleep() calls.
10213                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10214                   One less class to use the NM's custom tailored signal handlig.
10215
10216         * Makefile.am: Generate marshallers, add them to build.
10217
10218 2007-02-02  Dan Williams  <dcbw@redhat.com>
10219
10220         * configure.in
10221           gnome/Makefile.am
10222           nm-applet.desktop
10223           Makefile.am
10224                 - Remove last bits referencing gnome applet
10225
10226 2007-02-02  Dan Williams  <dcbw@redhat.com>
10227
10228         * src/vpn-manager/nm-vpn-service.c
10229                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10230                         and NBNS server addresses
10231
10232 2007-02-02  Tambet Ingo  <tambet@ximian.com>
10233
10234         * src/nm-dbus-manager.c:
10235         * src/nm-dbus-manager.h:
10236                 - Convert all internal DBUS code to use dbus-glib bindings.
10237                 - Remove GObject properties, we don't need them here.
10238                 - Don't explicitly set things to NULL after freeing, glib is
10239                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
10240                 - Make public API argument checks type safe.
10241                 - Remove unnecessary (and wrong) cast to GObject for the first
10242                   argument to g_signal_* calls - The first argument is a gpointer.
10243                 - Export DBusGConnection to other cool classes that (are going to)
10244                   use dbus-glib.
10245
10246 2007-01-26  Dan Williams  <dcbw@redhat.com>
10247
10248         * libnm-util/dbus-dict-helpers.c
10249           libnm-util/dbus-dict-helpers.h
10250                 - Coordinate style with wpa_supplicant version to minimize diff
10251                 - Add uint32 array support
10252                 - (nmu_dbus_dict_append_uint32_array): new function
10253                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10254                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10255                         version; allow adding string array elements individually
10256
10257         * test/libnm-util/test-dbus-dict-helpers.c
10258                 - Test uint32 arrays
10259
10260 2007-01-27  Jürg Billeter  <j@bitron.ch>
10261
10262         * src/backends/NetworkManagerPaldo.c
10263                 - (nm_system_update_dns): clear nscd hosts cache
10264
10265 2007-01-04  Dan Williams  <dcbw@redhat.com>
10266
10267         Threading removal related cleanups:
10268
10269         - Use the glib default main context.  Remove the device main context
10270                 member from NMDevice, and the main_context member from NMData.  Change
10271                 all the idle and timeout scheduler functions to use plain
10272                 g_idle_add() and g_timeout_add().
10273
10274         - As a side-effect of the first change, nm_dbus_manager_get() no longer
10275                 takes an argument; fix that up too.
10276
10277         - Remove all locking, which is useless since we no longer use threads.  For
10278                 example, nm_get_device_by_iface_locked() has been removed.  The global
10279                 device list lock, the AP List lock, and all static locks in
10280                 NetworkManagerPolicy.c have been removed.  The locking utility functions
10281                 in NetworkManagerUtils.c have also been removed.
10282
10283         - Other cleanups in spacing and code style
10284
10285 2007-01-01  Dan Williams  <dcbw@redhat.com>
10286
10287         Found by Bill Moss:
10288
10289         * src/supplicant-manager/nm-supplicant-interface.c
10290                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10291                         the supplicant interface wasn't already disconnected.  Always
10292                         call removeNetwork and disconnect unless the supplicant interface
10293                         is in the DISCONNECTED or INACTIVE state.
10294
10295 2006-12-28  Dan Williams  <dcbw@redhat.com>
10296
10297         Use a single thread for everything.  With the move to wpa_supplicant
10298         and communication over D-Bus, there's no reason for multiple threads.
10299         Almost all of the blocking code has been removed, with one exception in
10300         the DHCP manager and a few in the VPN manager.  This commit removes the
10301         per-device worker thread and fixes activation cancellation in the absence
10302         of threads.  Further removal of thread-related code would be removing
10303         any locking code (like the device list lock) and simplification of logic
10304         around areas of code or data structures that are currently locked.
10305
10306         * autoip.c
10307           dhcp-manager/nm-dhcp-manager.c 
10308           nm-device-802-11-wireless.c
10309           nm-device-802-3-ethernet.c
10310           nm-device.c
10311           nm-device.h
10312                 - Remove usage of multiple threads
10313
10314 2006-12-19  Dan Williams  <dcbw@redhat.com>
10315
10316         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10317         plus a few other patches from wpa_supplicant bugzilla.
10318
10319         * src/Makefile.am
10320           src/NetworkManagerPolicy.c
10321           src/NetworkManagerUtils.c
10322           src/NetworkManagerUtils.h
10323           src/nm-ap-security-leap.c
10324           src/nm-ap-security-wep.c
10325           src/nm-ap-security-wpa-eap.c
10326           src/nm-ap-security-wpa-psk.c
10327           src/nm-ap-security.c
10328           src/nm-ap-security.h
10329           src/nm-device-802-11-wireless.c
10330           src/nm-device-802-11-wireless.h
10331           src/supplicant-manager/nm-supplicant-config.c
10332           src/supplicant-manager/nm-supplicant-config.h
10333           src/supplicant-manager/nm-supplicant-interface.c
10334           src/supplicant-manager/nm-supplicant-interface.h
10335           src/supplicant-manager/nm-supplicant-marshal.list
10336           src/supplicant-manager/nm-supplicant-settings-verify.c
10337           src/supplicant-manager/nm-supplicant-settings-verify.h
10338                 - Move all connection management and association handling to
10339                         wpa_supplicant over dbus, rather than spawning a private copy
10340
10341 2006-12-19  Dan Williams  <dcbw@redhat.com>
10342
10343         * src/NetworkManagerPolicy.c
10344                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10345                         better locking of the device change check handler ID.  Incorrect
10346                         locking was causing lost device change requests
10347
10348 2006-12-18  Dan Williams  <dcbw@redhat.com>
10349
10350         * libnm-util/dbus-dict-helpers.c
10351                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10352                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
10353                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
10354
10355 2006-12-18  Dan Williams  <dcbw@redhat.com>
10356
10357         * gnome/libnm_glib/libnm_glib.c
10358                 - Change dbus_connection_close() -> dbus_connection_unref()
10359
10360 2006-12-11  Dan Williams  <dcbw@redhat.com>
10361
10362         * src/supplicant-manager/nm-supplicant-interface.c
10363                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10364                         wpa_supplicant interface state
10365                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10366                         state before transitioning to READY state
10367
10368 2006-12-04  Dan Williams  <dcbw@redhat.com>
10369
10370         * src/nm-device-802-11-wireless.c
10371                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10372                         odd length of ESSID returned from ieee80211 stack-based drivers
10373
10374 2006-12-04  Dan Williams  <dcbw@redhat.com>
10375
10376         * src/nm-device-802-11-wireless.c
10377                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10378                         IE handling blocks that cause mis-parsing of the IE
10379
10380 2006-12-04  Dan Williams  <dcbw@redhat.com>
10381
10382         * src/nm-device-802-11-wireless.c
10383                 - (init_supplicant_interface): new function; pull supplicant interface
10384                         setup code out into standalone function since it must be called from
10385                         two different places
10386                 - (real_init): sup_mgr is now in private object data; get and track
10387                         the supplicant manager object over the NMDevice subclass' lifetime
10388                         and register a signal handler for its state signals; only try to
10389                         initialize the supplicant interface if the supplicant manager is in
10390                         the IDLE state (and therefore is ready for requests)
10391                 - (request_wireless_scan): reschedule the scan request if (a) there is
10392                         no supplicant interface yet (meaning wpa_supplicant isn't running
10393                         or isn't ready yet), or (b) if the supplicant interface isn't ready
10394                         for requests yet
10395                 - (supplicant_iface_connection_state_cb): new function; stub for
10396                         handling supplicant interface connection state signals
10397                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10398                         comes and goes
10399                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10400                         supplicant manager object that's being tracked starting with this
10401                         commit
10402
10403 2006-12-04  Dan Williams  <dcbw@redhat.com>
10404
10405         * src/supplicant-manager/nm-supplicant-interface.c
10406                 - (nm_supplicant_interface_set_property): track signal handler ID
10407                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10408
10409 2006-12-04  Dan Williams  <dcbw@redhat.com>
10410
10411         * src/supplicant-manager/nm-supplicant-interface.[ch]
10412                 - (nm_supplicant_interface_get_state): new function
10413
10414 2006-12-04  Dan Williams  <dcbw@redhat.com>
10415
10416         * src/supplicant-manager/nm-supplicant-interface.c
10417                 - (bssid_properties_cb): don't treat DBus errors as valid
10418                         scanned AP messages
10419
10420 2006-12-04  Dan Williams  <dcbw@redhat.com>
10421
10422         * src/supplicant-manager/nm-supplicant-interface.[ch]
10423                 - (nm_supplicant_interface_get_connection_state): new function
10424                 - define new supplicant connection states
10425                 - send a signal when the supplicant connection state changes
10426
10427 2006-12-03  Dan Williams  <dcbw@redhat.com>
10428
10429         * src/supplicant-manager/Makefile.am
10430           src/supplicant-manager/nm-supplicant-connection.h
10431           src/supplicant-manager/nm-supplicant-connection.c
10432           src/supplicant-manager/nm-supplicant-config.h
10433           src/supplicant-manager/nm-supplicant-config.c
10434           src/supplicant-manager/nm-supplicant-types.h
10435           src/supplicant-manager/nm-supplicant-interface.h
10436           src/supplicant-manager/nm-supplicant-interface.c
10437                 - Rename NMSupplicantConnection -> NMSupplicantConfig
10438
10439 2006-12-03  Dan Williams  <dcbw@redhat.com>
10440
10441         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
10442
10443         * po/POTFILES.in
10444           po/POTFILES.skip
10445                 - Move VPN-related translatables to .skip
10446
10447         * vpn-daemons/pptp/po/POTFILES.in
10448                 - Update with new translatables
10449
10450 2006-12-02  Dan Williams  <dcbw@redhat.com>
10451
10452         Patch from Christian Persch <chpe@gnome.org>
10453
10454         * gnome/applet/Makefile.am
10455           gnome/applet/applet-dbus-devices.c
10456           gnome/applet/applet-notifications.c
10457           gnome/applet/applet.c
10458           gnome/applet/applet.h
10459           gnome/applet/main.c
10460                 - Be a GtkStatusIcon on GTK+ >= 2.10
10461
10462 2006-12-02  Dan Williams  <dcbw@redhat.com>
10463
10464         * gnome/applet/applet.c
10465                 - (nma_update_info): fix two unecessary allocations
10466
10467 2006-12-02  Dan Williams  <dcbw@redhat.com>
10468
10469         Patch from Michael Biebl <biebl@teco.edu>
10470         * configure.in
10471           man/NetworkManager.1.in
10472           man/NetworkManagerDispatcher.1.in
10473           man/NetworkManager.8.in
10474           man/NetworkManagerDispatcher.8.in
10475                 - Add .SH NAME stanzas
10476                 - Move NM & NM Dispatcher manpages to section 8 (admin)
10477
10478 2006-12-02  Dan Williams  <dcbw@redhat.com>
10479
10480         Patch from Christian Persch <chpe@gnome.org>
10481
10482         * configure.in
10483                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10484
10485 2006-11-29  Tambet Ingo  <tambet@ximian.com>
10486
10487         Patch by Timo Hoenig <thoenig@suse.de>:
10488         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10489         DBUS-1.0.
10490
10491         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10492         we can't use the one from the main source directory.
10493
10494 2006-11-27  Dan Williams  <dcbw@redhat.com>
10495
10496         Patch from Christian Persch <chpe@gnome.org>
10497
10498         * gnome/applet/applet-dbus-devices.c
10499                 - (hal_info_product_cb): fix memleak; free duped string.
10500                         Gnome.org #379908
10501
10502 2006-11-27  Dan Williams  <dcbw@redhat.com>
10503
10504         Patch from Christian Persch <chpe@gnome.org>
10505
10506         * gnome/applet/menu-items.c
10507                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10508                         as gtk_progress_set_percentage is deprecated.  Should
10509                         work as far back as GTK+ 2.4.  Gnome.org #379780
10510
10511 2006-11-26  Dan Williams  <dcbw@redhat.com>
10512
10513         Scan using wpa_supplicant over DBus.
10514
10515         * src/nm-device-802-11-wireless.c
10516                 - remove wireless extensions netlink event handler bits
10517                         (wireless_event_helper, nm_device_802_11_wireless_event)
10518                 - remove wireless extensions scan event handler bits
10519                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10520                         hex2byte, hex2num, request_and_convert_scan_results,
10521                         free_process_scan_cb_data, scan_results_timeout,
10522                         schedule_scan_results_timeout, cancel_scan_results_timeout)
10523                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10524                         and request scans from the supplicant interface rather than directly
10525                 - Move functionality of convert_scan_results() to cull_scan_list() and
10526                         supplicant_iface_scanned_ap_cb()
10527                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10528                         at the scan interval when the current scan has finished
10529                 - (supplicant_iface_state_cb): start scanning when the supplicant
10530                         interface enters the READY state, and stop scanning when it
10531                         enters the DOWN state
10532                 - (cull_scan_list): weed out old access points from the scan list
10533                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10534                         point into an NMAccessPoint and merge it into the device's scan list
10535
10536         * src/supplicant-manager/nm-supplicant-interface.c
10537           src/supplicant-manager/nm-supplicant-interface.h
10538                 - Add a new signal "scan-result" which is issued when the supplicant
10539                         notifies NM that a scan has completed
10540                 - Add a new signal "scanned-ap" that notifies listeners of a new access
10541                         point found in the scan.  Called once for each access point that
10542                         the supplicant interface object receives from the supplicant as a
10543                         result of the "scanResults" method call
10544                 - (wpas_iface_query_scan_results): don't wait 4s before querying
10545                         for the initial scan results
10546                 - (scan_request_cb): new function; send listeners the result
10547                         (success, error) of a wireless scan request
10548                 - (nm_supplicant_interface_request_scan): new function; ask the
10549                         supplicant to perform an immediate wireless scan
10550
10551 2006-11-25  Dan Williams  <dcbw@redhat.com>
10552
10553         * src/supplicant-manager/Makefile.am
10554                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10555                         add HAL cflags/includes and named-manager includes directory
10556
10557         * src/supplicant-manager/nm-supplicant-interface.h
10558                 - New state STARTING to handle transition from INIT to READY where
10559                         the addInterface pending call is still outstanding
10560
10561         * src/supplicant-manager/nm-supplicant-interface.c
10562                 - track pending calls differently since we may have more than one
10563                         going on at any given time
10564                 - request scan results from wpa_supplicant; but don't do it more often
10565                         than every 4 seconds.  Drivers that do background scanning
10566                         (like the 'ipw' drivers) send a continuous stream of scan completion
10567                         notifications, so we don't want to hammer the supplicant or dbus
10568                         with requests for all scan results every time we get a completion
10569                         notification.
10570
10571 2006-11-25  Dan Williams  <dcbw@redhat.com>
10572
10573         * src/supplicant-manager/nm-supplicant-types.h
10574                 - new file; move all supplicant manager object typedefs here for
10575                         #include sanity
10576
10577         * src/supplicant-manager/nm-supplicant-interface.c
10578           src/supplicant-manager/nm-supplicant-interface.h
10579                 - new file; an object that interfaces an NMDevice object to the
10580                         supplicant and handles signals from the supplicant.  This object
10581                         does all necessary DBus communication with wpa_supplicant.
10582
10583         * src/supplicant-manager/nm-supplicant-manager.c
10584           src/supplicant-manager/nm-supplicant-manager.h
10585                 - Actually do something.  Track the state of the wpa_supplicant service
10586                         and deal with its comings & goings.  Handle life events of
10587                         supplicant interfaces too.
10588                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
10589
10590         * src/supplicant-manager/nm-supplicant-connection.h
10591                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
10592
10593         * src/supplicant-manager/Makefile.am
10594                 - Add new files to build, and add libnm-util to includes
10595
10596         * src/nm-marshal.list
10597                 - New marshaler type: VOID:UINT,UINT
10598
10599         * src/nm-device-802-3-ethernet.c
10600                 - (real_init): grab a supplicant interface
10601                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
10602                 - (supplicant_iface_state_cb): new function, stub for handling
10603                         supplicant interface state changes
10604
10605         * src/nm-device-802-11-wireless.c
10606                 - (real_init): grab a supplicant interface
10607                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
10608                 - (supplicant_iface_state_cb): new function, stub for handling
10609                         supplicant interface state changes
10610
10611         * src/NetworkManager.c
10612                 - (main): create and keep the supplicant manager around for the lifetime
10613                         of NetworkManager
10614
10615         * src/Makefile.am
10616                 - Link to the supplicant manager sub-library and use the supplicant
10617                         manager includes
10618
10619 2006-11-25  Dan Williams  <dcbw@redhat.com>
10620
10621         Rework DBus manager signal handling to be more flexible.  Previously,
10622         only one signal handler could be registered for a particular interface.
10623         The DBus manager now reference counts DBus bus matches and allows multiple
10624         clients to register signal handlers for the same interface and sender.
10625
10626         * src/NetworkManager.c
10627                 - (main): track NMI signal handler ID and remove it when we quit
10628
10629         * src/NetworkManagerMain.h
10630                 - Keep track of NMI signal handler ID
10631
10632         * src/nm-dbus-manager.c
10633           src/nm-dbus-manager.h
10634                 - rework signal handling; each signal handler references one signal
10635                         match, but a signal match may be referenced by one or more
10636                         signal handlers.  Matches are refcounted and are destroyed when the
10637                         last signal handler that references the match is removed.  This is
10638                         necessary because two signal handlers may end up requiring the same
10639                         dbus bus match, so the match must live until the last signal handler
10640                         is destroyed (for example, with the wpa_supplicant network interface
10641                         dbus interface).
10642
10643         * src/dhcp-manager/nm-dhcp-manager.c
10644                 - (nm_dhcp_manager_new): track DHCP signal handler id
10645                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
10646
10647         * src/vpn-manager/nm-vpn-service.c
10648                 - (nm_vpn_service_add_watch): track VPN service signal handler id
10649                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
10650
10651 2006-11-25  Dan Williams  <dcbw@redhat.com>
10652
10653         Suggested by Helmut Schaa <hschaa@suse.de>
10654
10655         * src/vpn-daemons/nm-vpn-service.c
10656                 - (supplicant_child_setup): new function
10657                 - (supplicant_exec): make child process use a new process group id
10658
10659         * src/nm-device-802-11-wireless.c
10660                 - (nm_vpn_service_child_setup): new function
10661                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
10662                         process group id
10663
10664 2006-11-19  Dan Williams  <dcbw@redhat.com>
10665
10666         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
10667         * gnome/vpn-properties/nm-vpn-properties.c
10668                 - clean up after renamed VPN connection
10669
10670 2006-11-19  Dan Williams  <dcbw@redhat.com>
10671
10672         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
10673         * gnome/applet/applet-dbus-vpn.c
10674                 - (nma_dbus_vpn_properties_cb): sort VPN connections
10675
10676         * gnome/vpn-properties/nm-vpn-properties.c
10677                 - (init_app): sort VPN connections
10678
10679 2006-11-09  Dan Williams  <dcbw@redhat.com>
10680
10681         * src/NetworkManagerAPList.c
10682                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
10683                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
10684                 from the nm_ap_list_get_ap_by_address() call was incorrect and
10685                 broke hidden SSID matching.  Found by Bill Moss.
10686
10687 2006-10-25  Dan Williams  <dcbw@redhat.com>
10688
10689         * src/nm-dbus-nm.c
10690                 - (nm_dbus_nm_set_active_device): return an empty success message on
10691                         success, rather than falling through to the error case.
10692
10693 2006-10-25  Dan Williams  <dcbw@redhat.com>
10694
10695         * src/NetworkManagerUtils.c
10696                 - (nm_utils_supplicant_request_with_check): suppress messages for the
10697                         "SCAN" command
10698
10699 2006-10-24  Dan Williams  <dcbw@redhat.com>
10700
10701         Reduce the number of times the Gnome applet wakes up, especially when
10702         it's doing absolutely nothing and is hidden.  Initial patch by
10703         Chris Aillon.
10704
10705         * gnome/applet/applet-dbus.c
10706                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
10707                         kill the redraw timeout.  When NM starts up, start the redraw
10708                         timeout.  Also, if we get kicked off the bus for some reason,
10709                         start the reconnection timeout if one's not already running.
10710                 - (nma_dbus_init): better handling of error conditions, don't leak
10711                         a half-initialized dbus connection
10712                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
10713                         the applet's data, just call nm_dbus_init_helper()
10714                 - (nma_start_dbus_connection_watch): new function, starts a periodic
10715                         timeout that calls nma_dbus_connection_watcher()
10716                 - (nma_dbus_init_helper): if we get a successful connection, kill the
10717                         reconnection timeout, and don't start the reconnection timeout
10718                         unconditionally anymore
10719
10720         * gnome/applet/applet-dbus.h
10721                 - Expose nma_start_dbus_connection_watch()
10722
10723         * gnome/applet/applet.c
10724                 - (nma_update_state): no longer static, called from applet-dbus.c for
10725                         immediate UI updates on certain events
10726                 - (nma_set_running): new function; take over setting applet->running,
10727                         when not running (ie, NM is not active), don't activate the redraw
10728                         timeout because we're not showing the applet anyway.  When we are
10729                         running (ie, NM is active), and only when we're running, start the
10730                         redraw timeout.
10731                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
10732                         kill any reconnection timeout
10733                 - (nma_get_instance): move one-off dbus initialization code here since
10734                         nm_dbus_init_helper() gets called more than once, possibly by the
10735                         reconnection timeout function too.  And, when we start up, if we
10736                         can't get a connection to the bus, start the reconnection timeout.
10737                         But don't start the redraw timeout yet, only do that when we get
10738                         NM's state and find out if it's running or not.
10739
10740         * gnome/applet/applet.h
10741                 - Add the reconnection GSource ID
10742                 - Add prototypes for nma_set_running() and the no-longer-static
10743                         nma_update_state()
10744
10745 2006-10-24  Dan Williams  <dcbw@redhat.com>
10746
10747         * src/vpn-daemons/nm-dbus-vpnc.c
10748                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
10749                         pending call tracker
10750                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
10751                         pending call tracker; register one-vpn-connection update pending
10752                         call in pending call tracker
10753                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
10754                         update pending call in pending call tracker
10755                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
10756                         update pending call in pending call tracker; don't block waiting
10757                         for call to return
10758
10759 2006-10-19  Robert Love  <rml@novell.com>
10760
10761         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
10762           refresh the cache.
10763
10764 2006-10-14  Dan Williams  <dcbw@redhat.com>
10765
10766         * src/dhcp-manager/nm-dhcp-manager.c
10767                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
10768                 the dbus connection and the device object path rather than
10769                 constructing it inside both functions.  Saves a bit of memory
10770                 and clarifies a failure path.
10771                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
10772                 and allocate device path here rather than each of the two
10773                 functions above.
10774
10775 2006-10-13  Dan Williams  <dcbw@redhat.com>
10776
10777         * src/NetworkManager.c
10778                 - (nm_name_owner_changed_handler): handle NMI coming and going,
10779                 this somehow droppout in the refactor
10780
10781 2006-10-13  Dan Williams  <dcbw@redhat.com>
10782
10783         * Huge DBus refactor:
10784                 - Create a "DBus Manager" object which manages the connection and
10785                 sends signals on NameOwnerChanged and connection/disconnection events,
10786                 handles reconnection to the bus if NM gets kicked off, and abstracts
10787                 signal handling
10788                 - Remove DBusConnection members from places where they are no
10789                 longer needed due to the refactor, like the dbus-connection
10790                 property of the named manager, and from NMData
10791                 - Reformats a bunch of the code to gnome style
10792                 (8-space tabs, braces on same line as statement, 80-col width).
10793                 Consider it open season to reformat any bits to gnome style.
10794                 style that aren't already.
10795
10796 2006-10-13  Dan Williams  <dcbw@redhat.com>
10797
10798         * src/supplicant-manager/Makefile.am
10799                 - Add new files
10800
10801         * src/supplicant-manager/nm-supplicant-manager.[ch]:
10802                 - Make it a minimal GObject
10803
10804         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
10805                 - Verify settings destined for wpa_supplicant
10806
10807         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
10808                 - Minimal GObject to track wpa_supplicant controlled device
10809                 connections
10810
10811 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
10812
10813         * gnome/applet/applet.c: (nma_update_info),
10814         (nma_act_stage_to_pixbuf), (nma_update_state):
10815         Mark missing strings for translation. Fixes bug #343306.
10816
10817 2006-10-01  Dan Williams  <dcbw@redhat.com>
10818
10819         * src/vpn-manager/nm-vpn-manager.c
10820                 - (nm_vpn_manager_load_services): split and clean up
10821                 for readability and correctness.  Restrict VPN service
10822                 files to ending in ".name", as was meant from the
10823                 beginning (but not coded in).  Better error reporting.
10824
10825 2006-10-01  Dan Williams  <dcbw@redhat.com>
10826
10827         * utils/nm-utils.h
10828                 - Clean up formatting of debug/info/warning log messages
10829
10830 2006-09-27  Robert Love  <rml@novell.com>
10831
10832         Patch by Tambet Ingo <tambet@ximian.com>:
10833         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
10834           actually work.
10835
10836 2006-09-07  Dan Williams <dcbw@redhat.com>
10837
10838         * test/Makefile.am
10839           test/libnm-util/Makefile.am
10840           test/nm-supplicant-test.c
10841                 - Add test program emulating the way NM drives wpa_supplicant
10842                 to help debug supplicant issues
10843
10844 2006-08-24  Dan Williams <dcbw@redhat.com>
10845
10846         * configure.in
10847           src/Makefile.am
10848           src/supplicant-manager/Makefile.am
10849           src/supplicant-manager/nm-supplicant-manager.c
10850           src/supplicant-manager/nm-supplicant-manager.h
10851                 - Add skeleton bits of the wpa_supplicant manager
10852
10853 2006-08-24  Dan Williams <dcbw@redhat.com>
10854
10855         Patch from Ed Catmur:
10856         * src/NetworkManagerUtils.c
10857                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
10858                 if netmask is 0 (Gnome #352634)
10859
10860 2006-08-17  Robert Love  <rml@novell.com>
10861
10862         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
10863           package is now DBUS-enabled and listens for the NM signals.
10864
10865 2006-08-14  Dan Williams  <dcbw@redhat.com>
10866
10867         * Patch from Christian Persch <chpe gnome org>
10868         * configure.in
10869           po/LINGUAS
10870           vpn-daemons/openvpn/po/LINGUAS
10871           vpn-daemons/openvpn/configure.in
10872           vpn-daemons/pptp/po/LINGUAS
10873           vpn-daemons/pptp/configure.in
10874           vpn-daemons/vpnc/po/LINGUAS
10875           vpn-daemons/vpnc/configure.in
10876                 - Convert to LINGUAS method so translators don't have to modify
10877                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
10878                 0.35 or higher
10879
10880 2006-08-14  Dan Williams  <dcbw@redhat.com>
10881
10882         Patch from Alex Smith <alex.extreme2@gmail.com>
10883         * configure.in
10884           src/backends/Makefile.am
10885           src/backends/NetworkManagerFrugalware.c
10886                 - Add support for Frugalware
10887
10888 2006-08-13  Dan Williams  <dcbw@redhat.com>
10889
10890         Patch from Valentine Sinitsyn <e_val@inbox.ru>
10891         * src/nm-device-802-11-wireless.c
10892                 - (supplicant_exec): spawn wpa_supplicant without debug spew
10893                 Gnome #346875
10894
10895 2006-08-13  Dan Williams  <dcbw@redhat.com>
10896
10897         Patch from Valentine Sinitsyn <e_val@inbox.ru>
10898         * src/nm-ap-security.c
10899           src/nm-ap-security.h
10900                 - Add authentication_required bits for subclasses to specify whether
10901                 or not real authentication is required for connections, i.e. whether
10902                 the AP rejects us when an encryption key is wrong or not.
10903
10904         * src/nm-ap-security-wep.c
10905           src/nm-ap-security-wpa-eap.c
10906           src/nm-ap-security-wpa-psk.c
10907           src/nm-ap-security-leap.c
10908                 - Implement authentication_required appropriately for each method
10909
10910         * src/nm-device-802-11-wireless.c
10911                 - Be smarter about when to request a key; for example, using a wrong key
10912                 in WEP shared key mode previously just timed out and did not request
10913                 a new key
10914
10915 2006-08-13  Dan Williams  <dcbw@redhat.com>
10916
10917         * gnome/libnm_glib/libnm_glib.c
10918                 - dbus_connection_disconnect() -> dbus_connection_close() for
10919                 dbus >= 0.90
10920
10921 2006-08-07  Dan Williams  <dcbw@redhat.com>
10922
10923         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
10924         * src/NetworkManagerSystem.c
10925                 - Respect specified MTU.  Gnome #344967
10926
10927 2006-08-07  Dan Williams  <dcbw@redhat.com>
10928
10929         * src/vpn-manager/nm-vpn-service.c
10930                 - Simplify print_vpn_config() arguments
10931
10932         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
10933         * src/vpn-manager/Makefile.am
10934           src/vpn-manager/nm-vpn-service.c
10935                 - Add new API for passing VPN config options as a dict. Gnome #344967
10936
10937 2006-08-06  Dan Williams  <dcbw@redhat.com>
10938
10939         * gnome/applet/applet-dbus-devices.c
10940           gnome/applet/applet-dbus-vpn.c
10941           gnome/applet/applet-dbus.c
10942           gnome/applet/applet-dbus.h
10943           src/nm-dbus-nmi.c
10944           utils/nm-utils.c
10945           utils/nm-utils.h
10946                 - Make pending call tracking code generic,
10947                 so we can use it in NM as well as the applet
10948
10949 2006-08-06  Dan Williams  <dcbw@redhat.com>
10950
10951         * src/nm-activation-request.c
10952                 - Refcount pending call objects
10953
10954 2006-08-06  Dan Williams  <dcbw@redhat.com>
10955
10956         Patch from Christan Chiesa <christanc@gmail.com>
10957         * configure.in
10958                 - Tell sha1.c to use bigendian mode on PPC
10959
10960 2006-08-04  Robert Love  <rml@novell.com>
10961
10962         Glib Memory Slices!
10963         * configure.in: Require glib 2.10 or later.
10964         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
10965           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
10966           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
10967           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
10968           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
10969           Memory Slices are the greatest thing since bread slices.
10970         * src/NetworkManagerAP.c: Also, fix memory leak.
10971
10972 2006-08-01  Robert Love  <rml@novell.com>
10973
10974         * gnome/applet/main.c: Shutdown all VPN connections on logout.
10975
10976 2006-07-31  Robert Love  <rml@novell.com>
10977
10978         * src/backends/interface_parser.c: Declarations must begin the block.
10979
10980 2006-07-24  Dan Williams  <dcbw@redhat.com>
10981
10982         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
10983         * src/backends/Makefile.am
10984           src/backends/NetworkManagerArch.c
10985           src/backends/NetworkManagerDebian.c
10986           src/backends/NetworkManagerGeneric.c
10987           src/backends/NetworkManagerGeneric.h
10988           src/backends/NetworkManagerGentoo.c
10989           src/backends/NetworkManagerPaldo.c
10990           src/backends/NetworkManagerRedHat.c
10991           src/backends/NetworkManagerSlackware.c
10992           src/backends/NetworkManagerSuSE.c
10993                 - Genericize common backend functions
10994
10995 2006-07-18  Robert Love  <rml@novell.com>
10996
10997         * configure.in: Add "--with-notify" option to allow disabling of
10998           libnotify support.
10999
11000 2006-07-13  Dan Williams  <dcbw@redhat.com>
11001
11002         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11003         * gnome/applet/applet.glade
11004           gnome/applet/Makefile.am
11005           gnome/applet/nm-gconf-wso.c
11006           gnome/applet/nm-gconf-wso-leap.c
11007           gnome/applet/nm-gconf-wso-leap.h
11008           gnome/applet/wireless-security-manager.c
11009           gnome/applet/wso-leap.c
11010           gnome/applet/wso-leap.h
11011           include/NetworkManager.h
11012           libnm-util/dbus-helpers.c
11013           libnm-util/dbus-helpers.h
11014           src/Makefile.am
11015           src/NetworkManagerAP.c
11016           src/nm-ap-security.c
11017           src/nm-ap-security-leap.c
11018           src/nm-ap-security-leap.h
11019                 - Add LEAP authentication support
11020
11021 2006-07-13  Dan Williams  <dcbw@redhat.com>
11022
11023         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11024         * configure.in
11025           src/backends/NetworkManagerArch.c
11026           src/backends/NetworkManagerDebian.c
11027           src/backends/NetworkManagerGentoo.c
11028           src/backends/NetworkManagerPaldo.c
11029           src/backends/NetworkManagerRedHat.c
11030           src/backends/NetworkManagerSlackware.c
11031           src/backends/NetworkManagerSuSE.c
11032                 - Convert hardcoding of 'ip' path to configure-time
11033                         detected one
11034
11035 2006-07-12  Leonid Kanter <leon@asplinux.ru>
11036
11037         * configure.in: added ru to ALL_LINGUAS
11038
11039 2006-07-10  Dan Williams  <dcbw@redhat.com>
11040
11041         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11042         * src/nm-device.c
11043                 - (real_act_stage3_ip_config_start): don't infinite loop when
11044                         dhcdbd isn't running (Gnome #346845)
11045
11046 2006-07-09  Dan Williams  <dcbw@redhat.com>
11047
11048         * gnome/applet/applet.c
11049                 - (nma_destroy): don't pass NULL to notify_notification_close
11050                         (RH #197917)
11051
11052 2006-07-09  Dan Williams  <dcbw@redhat.com>
11053
11054         * gnome/applet/applet.c
11055                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11056
11057 2006-07-04  Tor Krill  <tor@krill.nu>
11058
11059         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11060         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11061         (nm_system_restart_mdns_responder), (ArchReadConfig),
11062         (nm_system_device_get_system_config):
11063                 - Explicitly check for DHCP configuration
11064                 - Check if daemons are running before starting them
11065
11066 2006-06-25  Dan Williams  <dcbw@redhat.com>
11067
11068         * libnm-util/dbus-dict-helpers.[ch]
11069           test/libnm-util/test-dbus-dict-helpers.c
11070                 - Add string array support
11071
11072 2006-06-24  Dan Williams  <dcbw@redhat.com>
11073
11074         * src/dhcp-manager/nm-dhcp-manager.c
11075                 - (nm_dhcp_manager_process_signal): clean up spacing
11076
11077 2006-06-21  Dan Williams  <dcbw@redhat.com>
11078
11079         * src/nm-dbus-device.c
11080                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11081                         through dbus
11082
11083 2006-06-21  Raivis Dejus  <orvils@gmail.com>
11084
11085         * configure.in: Added 'lv' to ALL_LINGUAS
11086
11087 2006-06-19  Dan Williams  <dcbw@redhat.com>
11088
11089         * src/NetworkManagerAP.c
11090                 - Clarify usage of user_created
11091
11092         * src/nm-ap-security-wep.c
11093           src/nm-ap-security-wpa-eap.c
11094           src/nm-ap-security-wpa-psk.c
11095           src/nm-ap-security.c
11096           src/nm-ap-security.h
11097                 - s/user_created/adhoc, because we really do mean adhoc
11098
11099         Patch from Bernard Blackham <bernard@blackham.com.au>
11100         * src/nm-device-802-11-wireless.c         
11101                 - (supplicant_send_network_config): instead of user_created,
11102                         use adhoc, and do AP_SCAN 2 for adhoc networks
11103
11104 2006-06-18  Robert Love  <rml@novell.com>
11105
11106         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11107           we have a value to set.  Gconf generates a warning if `val' is NULL.
11108         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11109           unless we actually received a valid private key file passphrase or
11110           password.  Otherwise, we don't know to later ask the applet to pull
11111           the key from the keyring.
11112
11113 2006-06-17  Dan Williams  <dcbw@redhat.com>
11114
11115         * libnm-util/dbus-dict-helpers.[ch]
11116           test/libnm-util/test-dbus-dict-helpers.c
11117                 - Fixes for zero-length byte arrays
11118                 - Replace return values of 0 with FALSE for clarity
11119                 - Test zero-length byte arrays
11120
11121 2006-06-17  Dan Williams  <dcbw@redhat.com>
11122
11123         * libnm-util/dbus-dict-helpers.[ch]
11124           test/libnm-util/test-dbus-dict-helpers.c
11125                 - Add helpers for byte arrays
11126                 - Rework bits of the testcase
11127
11128 2006-06-16  Dan Williams  <dcbw@redhat.com>
11129
11130         * libnm-util/Makefile.am
11131         * libnm-util/dbus-dict-helpers.[ch]
11132                 - Add some helpers to take the pain out of using dict types in
11133                         dbus.
11134
11135         * test/libnm-util/Makefile.am
11136         * test/libnm-util/test-dbus-dict-helpers.c
11137                 - Test cases for the dict helper functions
11138
11139 2006-06-15  Robert Love  <rml@novell.com>
11140
11141         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11142           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
11143           if there is no key to pass.
11144         * libnm-util/dbus-helpers.c: Given the above, we can trust always
11145           receiving a non-NULL key.
11146
11147 2006-06-14  Robert Love  <rml@novell.com>
11148
11149         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11150           copy the strings.
11151
11152
11153 2006-06-14  Dan Williams  <dcbw@redhat.com>
11154
11155         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
11156         * src/nm-device-802-11-wireless.c
11157                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11158                         or ones where the driver is unknown
11159                 - (supplicant_exec): don't wait for supplicant startup here
11160                 - (supplicant_interface_init): finer grained polling for supplicant
11161                         startup
11162
11163 2006-06-13  Robert Love  <rml@novell.com>
11164
11165         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11166           if it is currently set to TRUE.  Otherwise, we will reset the value
11167           when we connect normally.
11168         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11169           the old BSSID is valid, too.  The recently added ESSID check may not be
11170           sufficient (we can remove it?).  What we really want to catch is the
11171           case of going from all-zeros to the BSSID of some other network, which
11172           happens on failure.
11173
11174 2006-06-09  Dan Williams  <dcbw@redhat.com>
11175
11176         * src/NetworkManagerSystem.[ch]
11177                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11178                         it was unused and pointless
11179                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11180                         fix for set_up_down_with_iface change
11181
11182         * src/vpn-manager/nm-vpn-connection.c
11183                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11184
11185         * src/backends/NetworkManagerPaldo.c
11186           src/backends/NetworkManagerRedHat.c
11187           src/backends/NetworkManagerSuSE.c
11188           src/backends/NetworkManagerArch.c
11189           src/backends/NetworkManagerDebian.c
11190           src/backends/NetworkManagerGentoo.c
11191                 - (nm_system_enable_loopback): use set_up_down_with_iface where
11192                         appropriate
11193                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11194                         where appropriate
11195
11196 2006-06-09  Dan Williams  <dcbw@redhat.com>
11197
11198         Patch from Peter Jones:
11199         * src/nm-device-802-11-wireless.c
11200                 - (nm_device_802_11_wireless_update_bssid): make sure that the
11201                         SSID hasn't changed from what we expect before automatically
11202                         updating the saved BSSID from a new AP
11203
11204 2006-06-08  Robert Love  <rml@novell.com>
11205
11206         Add 'fallback' support.  NetworkManager will attempt to brute-force
11207         connect to networks marked as fallback if there are no better wireless
11208         connections available.  This is useful as a method of last resort, to
11209         work around driver problems, and for use with hidden networks.
11210         * gnome/applet/applet-dbus-devices.c,
11211           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11212         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11213           pass it on via DBUS.
11214         * gnome/applet/applet.c: No fallback by default.
11215         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11216           Update other-network-dialog to add UI checkbox toggling fallback.
11217         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11218           propery from AP object.  Add "fallback" property to AP object.
11219         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11220         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11221         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11222           separate function.  Add get_best_fallback_ap() for returning an AP
11223           on which to attempt fallback.
11224         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11225         * test/nm-set-fallback: New file.  Sets a given network as fallback.
11226
11227 2006-06-07  Robert Love  <rml@novell.com>
11228
11229         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11230           checked that the return type was GCONF_VALUE_STRING, not the correct
11231           GCONF_VALUE_BOOL, and thus it never worked.
11232         * src/NetworkManagerAPList.c: Before concluding that two networks are
11233           identical based on their BSSID, make sure that the BSSID in question
11234           is actually valid.  Specifically, an empty or all zero BSSID does not
11235           cut it.
11236         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11237           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11238           similar invariant clean up.
11239
11240 2006-06-02  Robert Love  <rml@novell.com>
11241
11242         * gnome/applet/applet.c: Update copyright years.  Add Novell.
11243
11244 2006-05-28  Dan Williams  <dcbw@redhat.com>
11245
11246         * gnome/applet/applet.glade
11247           gnome/vpn-properties/nm-vpn-properties.glade
11248                 - Set window icons on dialogs  (Gnome.org #333420)
11249
11250 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
11251
11252         * gnome/vpn-properties/nm-vpn-properties.glade:
11253         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11254         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11255         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11256                 - Make the VPN properties pages prettier and more HIG
11257                   compliant. Gnome Bug #336913.
11258
11259 2006-05-28  Dan Williams  <dcbw@redhat.com>
11260
11261         Patch from Christian Persch <chpe@gnome.org>
11262         * gnome/vpn-properties/nm-vpn-properties.c
11263         * gnome/vpn-properties/nm-vpn-properties.glade
11264                 - HIG-ification love  (Gnome.org #336846)
11265
11266 2006-05-28  Dan Williams  <dcbw@redhat.com>
11267
11268         Patch from Christian Persch <chpe@gnome.org>
11269         * configure.in
11270           gnome/vpn-properties/nm-vpn-properties.c
11271                 - (main): Fix option parsing.  Gnome.org #336847
11272
11273 2006-05-28  Dan Williams  <dcbw@redhat.com>
11274
11275         * gnome/vpn-properties/nm-vpn-properties.c
11276                 - (find_vpn_ui_by_service_name): protect against NULL service names
11277                 - (update_edit_del_sensitivity): protect against NULL service names
11278                         Gnome.org #341306
11279
11280 2006-05-28  Dan Williams  <dcbw@redhat.com>
11281
11282         Patch from Chris Fuller <crf@grandecom.net>:
11283         * src/nm-device-802-11-wireless.c
11284                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11285                         don't dispose of wireless-specific stuff unless it is actually
11286                         initialized.  Gnome.org #341263
11287
11288 2006-05-28  Dan Williams  <dcbw@redhat.com>
11289
11290         * src/NetworkManagerPolicy.c
11291                 - (nm_policy_device_change_check): don't switch devices if the "best"
11292                         AP is essentially the same as the current activation request, but
11293                         the current activation request isn't done activating yet.  Fixes
11294                         multiple requests for keyring password on startup for Gnome applet.
11295                         Gnome.org #341297
11296
11297 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
11298
11299         * src/NetworkManager.c: use GOptions instead of getopt
11300         * configure.in: bump glib required version to >= 2.6 for GOption
11301           support
11302
11303 2006-05-25  Robert Love  <rml@novell.com>
11304
11305         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11306           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
11307           instead of dumping ifdef's throughout the code.
11308         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11309           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11310           use nm_ioctl_info() in lieu.
11311
11312 2006-05-25  Robert Love  <rml@novell.com>
11313
11314         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11315         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11316           not using gcrypt.  Otherwise, we get a linker error.
11317
11318 2006-05-25  Robert Love  <rml@novell.com>
11319
11320         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11321         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11322           configure flag to disable building of the GNOME-based applet.
11323
11324 2006-05-25  Robert Love  <rml@novell.com>
11325
11326         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11327           parameter from link, because it shadows a global variable with some
11328           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
11329           should never have exported to the entire system a common four letter
11330           word.  But we here at NetworkManager are team players.  Fixes
11331           GNOME bug #336532.
11332
11333 2006-05-25  Arangel Angov <ufo@linux.net.mk>
11334
11335         * configure.in: Added mk.po, Macedonian translation.
11336
11337 2006-05-24  Robert Love  <rml@novell.com>
11338
11339         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11340           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11341           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11342
11343 2006-05-24  Robert Love  <rml@novell.com>
11344
11345         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11346           libnm-util/Makefile.am, src/Makefile.am,
11347           vpn-daemons/openvpn/auth-dialog/Makefile.am,
11348           vpn-daemons/openvpn/properties/Makefile.am,
11349           vpn-daemons/pptp/auth-dialog/Makefile.am,
11350           vpn-daemons/pptp/properties/Makefile.am,
11351           vpn-daemons/vpnc/auth-dialog/Makefile.am,
11352           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11353           user passed for --datadir, if anything, when setting the GNOME locale
11354           directory.  It should be a function of the specified datadir and not
11355           the prefix.
11356
11357 2006-05-24  Robert Love  <rml@novell.com>
11358
11359         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11360           src/NetworkManager.c: Take care to call bindtextdomain with the
11361           location of msgid files.
11362         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11363           files.
11364
11365 2006-05-22  Robert Love  <rml@novell.com>
11366
11367         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11368           stage4_timeout on failure unless the wireless network is Ad-Hoc.
11369           99% of the time there is a real problem with wireless, and a
11370           seemingly successful connection via Zeroconf just confuses the user.
11371           And that 1% of the time the network is probably Ad-Hoc, anyhow.
11372
11373 2006-05-22  Robert Love  <rml@novell.com>
11374
11375         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11376           autofs on interface up if NIS is configured.  On interface down, do
11377           nothing.
11378
11379 2006-05-22  Robert Love  <rml@novell.com>
11380
11381         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11382           to avoid calling g_object_unref() on stale pointers on error in
11383           nma_icons_free().  This happens because we short-circuit loaded the
11384           icons on the first failure but then free all icons.  Normally we have
11385           no issue because the icons were zero'ed out malloc, but we have stale
11386           pointer data after nma_icon_theme_changed().
11387         * gnome/applet/main.c: Return error code if nma_new() failed.
11388
11389 2060-05-21  Dan Williams  <dcbw@redhat.com>
11390
11391         * initscript/NetworkManager.in
11392                 - Ensure both dhcdbd and named are started before NM
11393
11394 2006-05-21  Dan Williams  <dcbw@redhat.com>
11395
11396         * configure.in
11397                 - Bump version to 0.7 to signify we are in 0.7 development
11398
11399 2006-05-21  Dan Williams  <dcbw@redhat.com>
11400
11401         Patch from Adam Schreiber <sadam@clemson.edu>
11402         * gnome/vpn-properties/nm-vpn-properties.c
11403                 - (main): correct Gnome program name  (gnome.org #342498)
11404
11405 2006-05-21  Dan Williams  <dcbw@redhat.com>
11406
11407         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11408
11409         * src/NetworkManagerDbus.[ch]
11410                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11411                         clarify that function's argument should be an escaped dbus object
11412                         path, and look for path segment end before returning a match
11413         * src/nm-dbus-nm.c:
11414                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11415
11416 2006-05-17  Robert Love  <rml@novell.com>
11417
11418         Functionality to differentiate Ad-Hoc networks from infrastructure
11419         networks in the applet, by displaying a special icon:
11420         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11421         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11422         * gnome/applet/menu-items.c: Set a special icon in the scan list for
11423           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
11424           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
11425           networks, encrypted or not.
11426         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11427           accessor functions to get and set the mode of a given network,
11428           wireless_network_get_mode() and wireless_network_set_mode().
11429
11430 2006-05-17  Robert Love  <rml@novell.com>
11431
11432         Functionality to automatically add BSSIDs to the allowed-MAC list as
11433         one roams from access point to access point on a given network:
11434         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11435           helper function to compare two ether_addr structures and return TRUE
11436           if they contain the same MAC address.
11437         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11438           prototype.
11439         * src/nm-device-802-11-wireless.c: New function to update the BSSID
11440           stored with the current AP.  If the BSSID has indeed changed, we
11441           send it out to the applet, allowing the allowed-MAC list to grow
11442           automatically in response to roaming.
11443
11444 2006-05-16  Robert Love  <rml@novell.com>
11445
11446         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11447           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11448
11449 2006-05-13  Dan Williams  <dcbw@redhat.com>
11450
11451         * src/nm-device-802-3-ethernet.c
11452                 - (real_get_generic_capabilities): Don't ignore devices that can't do
11453                         carrier detect (Debian bug #366373)
11454
11455 2006-05-11  Dan Williams  <dcbw@redhat.com>
11456
11457         Patch from Michael Biebl <biebl@teco.edu>
11458         * src/backends/NetworkManagerDebian.c
11459                 - Debian backend fixups
11460
11461 2006-05-10  Robert Love  <rml@novell.com>
11462
11463         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11464
11465 2006-05-09  Robert Love  <rml@novell.com>
11466
11467         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11468           private certificate passphrase, if any, in the GNOME Keyring.
11469         * libnm-utils/dbus-helpers.c: Update.
11470
11471 2006-05-05  Dan Williams  <dcbw@redhat.com>
11472
11473         * src/nm-device-802-11-wireless.c
11474                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11475                         nm_device_802_11_wireless_disable_encryption() since that's all
11476                         we use it for anymore; we don't ever set WEP keys ourselves.
11477                 - (real_deactivate_quickly): reset SSID and encryption keys
11478                 - (real_deactivate): move SSID and encryption key reset to
11479                         real_deactivate_quickly(), which gets run before us anyway
11480
11481 2006-05-05  Robert Love  <rml@novell.com>
11482
11483         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11484           root has a wacky default of its own (or, more common, a user has a
11485           bad umask and uses su/sudo to restart NetworkManager).  Anything
11486           other than 0022 does not do what we want with, for example,
11487           resolv.conf.  This problem is amplified by our judicious use of
11488           fopen(), which uses mode 0666 -- implying that the only way to get
11489           the permissions we want is with a umask of 0022.
11490
11491 2006-05-05  Dan Williams  <dcbw@redhat.com>
11492
11493         * gnome/libnm_glib/libnm_glib.c
11494                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11495                         to reconnect; instead wait a bit more with each reconnect attempt
11496                         up to a max of one minute.
11497
11498 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
11499
11500         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11501           the WirelessNetwork structure using the proper function instead of
11502           just casting it directly to (const char *) (gnome.org #336991)
11503
11504 2006-05-03  Robert Love  <rml@novell.com>
11505
11506         * src/backends/NetworkManagerSuSE.c: Respect the variable
11507           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11508           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11509           to dynamically update /etc/resolv.conf.
11510
11511 2006-05-02  Peter Jones  <pjones@redhat.com>
11512
11513         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11514
11515 2006-05-02  Robert Love  <rml@novell.com>
11516
11517         Patch by Timo Hoenig;
11518         * tests/nm-online.c: Print pretty status indicator as timeout winds
11519           down.  Also fix possible race between DBUS startup and failure
11520           return.
11521
11522 2006-05-01  Robert Love  <rml@novell.com>
11523
11524         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11525           empty, too.
11526
11527 2006-04-27  Jeremy Katz  <katzj@redhat.com>
11528
11529         * src/nm-device.c (discover_device_type): Actually use the hal
11530         device type instead of ioctl poking
11531
11532 2006-04-26  Robert Love  <rml@novell.com>
11533
11534         * tests/nm-online.c: New file.  Simple utility that returns exit status
11535           noting whether the connection is offline or online.  If offline on
11536           start, it waits 30 seconds (or a command-line given value) for an
11537           online signal.  If it times out, it again returns offline.  This is
11538           useful for scripts that want to wait for network connections.
11539
11540 2006-04-25  Robert Love  <rml@novell.com>
11541
11542         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11543           key mode (the authentication algorithm), e.g. open or shared, when we
11544           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
11545           only shared was broken.  If the user specified a shared key, set it
11546           explicitly, otherwise let wpa_supplicant go with the default.
11547
11548 2006-04-24  Dan Williams  <dcbw@redhat.com>
11549
11550         * src/nm-device-802-11-wireless.c
11551                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11552
11553 2006-04-24  Dan Williams  <dcbw@redhat.com>
11554
11555         Commit the async scanning patch
11556
11557         * src/nm-device-802-11-wireless.c
11558                 - get rid of scan_mutex
11559                 - (wireless_event_helper): act on wireless scan events
11560                 - (real_start): schedule a pending scan
11561                 - (link_to_specific_ap): fake the link to the AP during a scan
11562                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11563                         strength during scans
11564                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11565                         nm_device_set_bitrate): unused with new scanning code, disable
11566                 - (nm_device_wireless_schedule_scan): removed
11567                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11568                 - (request_and_convert_scan_results): new function; retrieve scan
11569                         results from the driver and schedule the processing function
11570                 - (scan_results_timeout): timeout triggered when card doesn't send
11571                         a scan results wireless event during a certain interval
11572                 - (schedule_scan_results_timeout): new function; schedule the scan
11573                         results timeout
11574                 - (cancel_scan_results_timeout): new function; cancel the scan
11575                         results timeout
11576                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11577                         to do the scanning.  Otherwise, just request a scan but don't
11578                         grab results here; instead schedule a timeout for scan results and
11579                         let netlink notify us of scan completion events
11580                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11581                 - (cancel_pending_scan): new function; cancel a pending wireless scan
11582                 - (supplicant_status_cb): ignore disconnect events while scanning
11583                 - (supplicant_exec): wait a bit longer for the supplicant to start up
11584                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
11585                         timeouts
11586                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
11587
11588 2006-04-24  Dan Williams  <dcbw@redhat.com>
11589
11590         * gnome/applet/applet-dbus.c
11591                 - Disable the pending call debug stuff, seems under control now
11592
11593 2006-04-20  Robert Love  <rml@novell.com>
11594
11595         Fix bug where hidden ESSID's would not show up in the applet, even
11596         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
11597         because nm_policy_device_list_update_from_allowed_list() would merge
11598         the data, putting a name to the hidden networks, but never notify NMI
11599         of the changes.  Simple fix is to invoke the function
11600         nm_dbus_signal_wireless_network_change() if we make a mapping.
11601         * src/NetworkManagerAPList.c: Call the function
11602           nm_dbus_signal_wireless_network_change() if we made a successful
11603           BSSID to ESSID mapping, notifying the applet of the "new" network.
11604         * src/NetworkManagerAPList.h: Update the prototypes for both
11605           nm_ap_list_copy_essids_by_address() and
11606           nm_ap_list_copy_one_essid_by_address().
11607
11608 2006-04-20  Robert Love  <rml@novell.com>
11609
11610         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
11611           not set.  Just return zero.
11612
11613 2006-04-20  Robert Love  <rml@novell.com>
11614
11615         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
11616           only one copy of nm-vpn-properties is running at a time via the 'ol
11617           X selection trick.  This prevents the user from opening two "VPN
11618           Connections" windows from within the applet, which leads to mass
11619           hysteria.
11620         * clipboard.c: New file, implementing simple X selection logic.
11621         * clipboard.h: New file.
11622         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
11623
11624 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
11625
11626         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
11627         * configure.in
11628           initscript/Gentoo/Makefile.am
11629           initscript/Gentoo/NetworkManagerDispatcher.in
11630                 - New script
11631         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
11632           Gentopia
11633
11634 2006-04-16  Dan Williams  <dcbw@redhat.com>
11635
11636         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
11637         * configure.in
11638           initscript/Slackware/Makefile.am
11639           initscript/Slackware/rc.networkmanager-dispatcher.in
11640           initscript/Slackware/rc.networkmanager.in
11641                 - Update slackware initscripts
11642
11643 2006-04-10  Robert Love  <rml@novell.com>
11644
11645         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
11646           the "delete_event" signal on the druid's parent window and handle it
11647           our way, lest using the WM to close the druid results in a series of
11648           bloody and ultimately lethal errors.
11649
11650 2006-04-10  Robert Love  <rml@novell.com>
11651
11652         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
11653           'Back' too or else the 'Forward' option is initially disabled despite
11654           valid input.
11655
11656 2006-04-06  Robert Love  <rml@novell.com>
11657
11658         Fix bad but simple bug where an active modem connection did not update
11659         NM's connection state, breaking any app that did online/offline:
11660         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
11661           represented whether a dial up connection is active, or not.
11662         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
11663           to modem activation and deactivation.
11664         * src/NetworkManagerDbus.c: When asked our state, do not return
11665           disconnected if the modem is active.
11666
11667 2006-04-04  Robert Love  <rml@novell.com>
11668
11669         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
11670           applet.  It just confuses the crap out of people and does not make a
11671           lot of sense, as the daemon still runs.
11672
11673 2006-04-02  Tor Krill  <tor@krill.nu>
11674
11675         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
11676           in start of service.
11677         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
11678           get Archlinux backend up to date.
11679
11680 2006-03-29  Robert Love  <rml@novell.com>
11681
11682         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
11683         to add support for per-route MSS and improve support for per-interface
11684         MTU:
11685         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
11686           optionally take an MSS parameter and set it for the given route.
11687           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
11688           NMIP4Config's stored MSS, if any.
11689         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
11690           the interface's MTU and the route's MSS, respectively.  Add functions
11691           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
11692           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
11693           MSS.
11694         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
11695           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
11696           nm_ip4_config_set_mss.
11697         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
11698           VPN daemon.
11699         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
11700           Change the retval of nm_system_get_mtu to guint32.
11701         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
11702           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
11703           servers can specify MTU's, we should set it here if the MTU was not
11704           provided.
11705
11706 2006-03-27  Jürg Billeter  <j@bitron.ch>
11707
11708         * configure.in:
11709         * initscript/Makefile.am:
11710         * initscript/paldo/Makefile.am:
11711         * initscript/paldo/NetworkManager.in:
11712         * initscript/paldo/NetworkManagerDispatcher.in:
11713         * src/backends/Makefile.am:
11714         * src/backends/NetworkManagerPaldo.c:
11715                 - Add paldo support
11716
11717 2006-03-27  Dan Williams  <dcbw@redhat.com>
11718
11719         Patch from Christian Persch <chpe@gnome.org>
11720         * gnome/applet/applet.glade
11721                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
11722
11723 2006-03-27  Dan Williams  <dcbw@redhat.com>
11724
11725         Patch from Diffe <diffie@blazebox.homeip.net>
11726         * src/backends/NetworkManagerSlackware.c
11727                 - Don't restart howl, since it's been replaced by Avahi
11728                         in most distributions
11729
11730 2006-03-27  Dan Williams  <dcbw@redhat.com>
11731
11732         Patch from Tor Krill <bugzilla@krill.nu>
11733         * configure.in
11734           initscript/Makefile.am
11735           src/backends/Makefile.am
11736           src/backends/NetworkManagerArch.c
11737           initscript/Arch/Makefile.am
11738           initscript/Arch/networkmanager-dispatcher.in
11739           initscript/Arch/networkmanager.in
11740                 - Add Arch Linux support, fixes gnome.org #335147
11741
11742 2006-03-27  Dan Williams  <dcbw@redhat.com>
11743
11744         Patch from Diffe <diffie@blazebox.homeip.net>
11745      * initscript/Slackware/rc.networkmanager
11746         - update, fixed gnome.org #333368
11747
11748 2006-03-27  Robert Love  <rml@novell.com>
11749
11750         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
11751           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
11752
11753 2006-03-27  Robert Love  <rml@novell.com>
11754
11755         Patch by Jürg Billeter <j@bitron.ch>:
11756         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
11757           systems.
11758         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
11759           as we prefer glibc over kernel headers, if possible.
11760
11761 2006-03-27  Robert Love  <rml@novell.com>
11762
11763         Patch by Jon Escombe <list@dresco.co.uk>:
11764         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
11765         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
11766           fail, don't bail out.  We don't expect all of the various WPA-EAP
11767           values to be present.
11768         * src/nm-ap-security.c: We need to match all capabilities for each
11769           encryption type, not any one of them.
11770
11771 2006-03-27  Robert Love  <rml@novell.com>
11772
11773         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
11774           restart, not reload, ypbind.  Unfortunately there is no superior
11775           solution.
11776
11777 2006-03-24  Christopher Aillon  <caillon@redhat.com>
11778
11779         * gnome/applet/applet-notifications.c:
11780         When displaying a notification, make sure to get rid of the
11781         previous notification so as to not have competing bubbles,
11782         and stop leaking the old one.
11783
11784         * gnome/applet/applet.c:
11785         * gnome/applet/applet.h:
11786         Add a new 'notification' member to the applet, and zero it out
11787         and free it appropriately.
11788
11789 2006-03-23  Robert Love  <rml@novell.com>
11790
11791         Patch by j <j@bootlab.org>:
11792         * gnome/applet/applet.glade: Don't set the invisible_char property,
11793           which simply overrides the GTK default.  By and by, this behavior
11794           ought to be fixed in Glade.
11795
11796 2006-03-22  Robert Love  <rml@novell.com>
11797
11798         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
11799
11800 2006-03-22  Robert Love  <rml@novell.com>
11801
11802         Bug fix by Timo Hoenig <thoenig@suse.de>:
11803         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
11804           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
11805           and the applet going AWOL.
11806
11807 2006-03-22  Robert Love  <rml@novell.com>
11808
11809         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
11810           preprocessor define and use it instead of open-coded the DHCP
11811           timeout, which is currently 25 seconds, everywhere.
11812
11813 2006-03-22  Robert Love  <rml@novell.com>
11814
11815         Implement "Dynamic WEP", which is basically WPA authentication and WEP
11816         key exchange via WPA, ostensibly providing good security without
11817         requiring hardware that supports full WPA.  Also, add UI elements to
11818         allow the user to select the pairwise & group cipher for WPA Enterprise
11819         networks, too:
11820         * gnome/applet/applet.glade: Update glade file.
11821         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
11822           key type, too, to and from gconf.
11823         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
11824           wso_wpa_create_key_type_model(), noting whether we are handling PSK
11825           or EAP configuration, and in the latter case add in "Dynamic WEP" if
11826           the capabilities match.
11827         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
11828           prototype.
11829         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
11830           serialize from UI to DBUS.
11831         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
11832           one element.
11833         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
11834           nmu_security_serialize_wpa_eap_with_cipher(), and
11835           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
11836           serialize/deserialize the key type via DBUS as the new third DBUS
11837           parameter.
11838         * libnm-util/dbus-helpers.h: Update prototypes.
11839         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
11840           too.  If the key type is WEP104, do Dynamic WEP, which means
11841           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
11842           pairwise and group ciphers (fixes a FIXME).
11843
11844 2006-03-21  Robert Love  <rml@novell.com>
11845
11846         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
11847           nm_system_get_mtu(), which returns a user-provided or system-mandated
11848           MTU value for a given device, if any, or zero if no such value
11849           exists.  Add nm_system_set_mtu() to set the MTU for a given device
11850           if we have a provided value.
11851         * src/nm-device.c: Set the MTU of devices.
11852         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
11853         * src/backends/NetworkManagerDebian.c,
11854           src/backends/NetworkManagerGentoo.c,
11855           src/backends/NetworkManagerRedHat.c,
11856           src/backends/NetworkManagerSlackware.c: Implement stub functions.
11857
11858 2006-03-21  Robert Love  <rml@novell.com>
11859
11860         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
11861           configuration file.
11862
11863 2006-03-17  Robert Love  <rml@novell.com>
11864
11865         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
11866           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
11867           it, in case it is not running in the first place.  We just want its
11868           configuration reloaded.  Also, do not "rcypbind stop" on device down.
11869
11870 2006-03-15  Robert Love  <rml@novell.com>
11871
11872         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
11873           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
11874           label "WEP 40/128-bit" is inconsistent because the physical key size
11875           is 40 or 104-bits, to which a 24-bit initialisation vector is
11876           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
11877           to read "40/104" or "64/128".  I do not care much which, but most
11878           users think of "silver" and "gold" encryption as 64 and 128-bits, so
11879           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
11880           WEP passphrase support only handles 128-bit keys, and any future
11881           64-bit passphrase support will require a new option (no way to auto-
11882           detect the target key size), explicitly label our passphrase support
11883           "WEP 128-bit Passphrase".
11884
11885 2006-03-15  Robert Love  <rml@novell.com>
11886
11887         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
11888           the system init scripts (or some other mechanism) starting it (or a
11889           compatible DBUS service) before NetworkManager runs.  This means that
11890           distributions might need to update their init scripts.  This fixes
11891           possible races and is quite a bit cleaner.
11892         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
11893           starting the NetworkManager daemon.
11894
11895
11896 2006-03-14  Robert Love  <rml@novell.com>
11897
11898         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
11899           before adding anything.
11900
11901 2006-03-13  Robert Love  <rml@novell.com>
11902
11903         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
11904           widgets, too, if they exist, in case the user hit the back button.
11905           Fixes a bug where the details page contains the widgets of multiple
11906           VPN modules (Novell bug #157048).
11907
11908 2006-03-13  Robert Love  <rml@novell.com>
11909
11910         Patch by Timo Hoenig <thoenig@suse.de>:
11911         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
11912           daemon survive DBUS restarts, too.
11913
11914 2006-03-10  Robert Love  <rml@novell.com>
11915
11916         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
11917           passphrase or key.
11918         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
11919           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
11920           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
11921           in response to "toggled" signal on new toggle.
11922
11923 2006-03-10  Robert Love  <rml@novell.com>
11924
11925         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
11926           serialization if strings are NULL, lest DBUS get angry.
11927
11928 2006-03-10  Robert Love  <rml@novell.com>
11929
11930         * src/nm-ap-security-wpa-eap.c: Don't log the password.
11931
11932 2006-03-09  Robert Love  <rml@novell.com>
11933
11934         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
11935           configurations.
11936
11937 2006-03-09  Dan Williams  <dcbw@redhat.com>
11938
11939         Track pending call requests in the applet, and report how many are
11940         outstanding, and how long each completed one takes.
11941         
11942         * gnome/applet/applet-dbus-devices.c
11943           gnome/applet/applet-dbus-vpn.c
11944                 - Track pending calls
11945
11946         * gnome/applet/applet-dbus.[ch]
11947                 - Remove some unused enums
11948                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
11949                         new functions to track dbus pending calls and spit out some
11950                         statistics about them
11951
11952 2006-03-09  Robert Love  <rml@novell.com>
11953
11954         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
11955           nm_ap_set_timestamp() take the second and micro-second parameters as
11956           direct arguments, which avoids both a dynamic memory allocation and a
11957           structure-to-structure copy!  Add a new interface, the aptly named
11958           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
11959           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
11960           the return from nm_ap_get_timestamp().  New users should use the new
11961           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
11962           the extreme benefit to performance.
11963         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
11964           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
11965
11966 2006-03-08  Robert Love  <rml@novell.com>
11967
11968         * gnome/applet/applet.glade: Hide the password entry text with
11969           asterisks.
11970
11971 2006-03-08  Robert Love  <rml@novell.com>
11972
11973         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
11974           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
11975           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
11976           a second argument, NMData.
11977         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
11978         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
11979           config files as trusted.
11980
11981 2006-03-06  Robert Love  <rml@novell.com>
11982
11983         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
11984         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
11985           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
11986           Rivera, detect if the applet was auto-started.  If so, ask the user
11987           if he or she would like to stop automatically running the applet on
11988           login.  If so, disable autostart.
11989
11990 2006-03-06  Robert Love  <rml@novell.com>
11991
11992         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
11993           directory in CFLAGS so developers can actually use NetworkManager.h.
11994
11995 2006-03-06  Robert Love  <rml@novell.com>
11996
11997         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
11998           open-coded integer constants.  Add state_to_string() to map a given
11999           state to a textual description, and provide that when notifying of
12000           state change.
12001         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12002           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
12003           this header directly, but it is currently not installed on most
12004           systems.
12005
12006 2006-03-05  Dan Williams  <dcbw@redhat.com>
12007
12008         Process netlink messages in device subclasses rather than in
12009         NetworkManager.c.  Also add support for recognizing Wireless Events.
12010         
12011         * configure.in
12012                 - Find GLIB_GENMARSHAL
12013
12014         * src/Makefile.am
12015                 - Since we're marshalling custom types for wireless event signals,
12016                         we get to create our own marshallers using GLIB_GENMARSHAL
12017
12018         * src/NetworkManager.c
12019                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12020                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12021                         cut down somewhat.  We no longer process signals here.
12022                 - (nm_data_new): create the netlink monitor here, and remove a
12023                         useless call to nm_policy_schedule_device_change_check()
12024                 - (nm_data_free): get rid of the netlink monitor here
12025                 - (nm_device_link_activated, nm_device_link_deactivated): removed
12026                 - (main): don't create the netlink monitor here, let nm_data_new
12027                         do that.  Call nm_policy_schedule_device_change_check() right
12028                         before we jump to the mainloop to figure out which device
12029                         to use first
12030
12031         * src/NetworkManagerSystem.[ch]
12032                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12033                         convert back and forth from interface names to interface
12034                         indexes
12035
12036         * src/nm-device-802-11-wireless.c
12037                 - (real_init): connect to wireless-event signals from the netlink
12038                         monitor object
12039                 - (nm_device_802_11_wireless_event): new function, schedule handler
12040                         for wireless event signals from the netlink monitor object.  We
12041                         want the handler to run in the device's context
12042                 - (wireless_event_helper): handle wireless-event signals from netlink
12043                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12044                         signal handler
12045
12046         * src/nm-device-802-11-wireless.h
12047                 - remove unused prototype for nm_device_802_11_wireless_new
12048
12049         * src/nm-device-802-3-ethernet.c
12050                 - (real_init): new function; set up signal handlers for link events
12051                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12052                         handler for netlink link activated events on device's main loop
12053                 - (link_activated_helper): when we get a link activated event, set
12054                         the device's link to be active
12055                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12056                         handler for netlink link deactivated events on device's main loop
12057                 - (link_deactivated_helper): when we get a link deactivated event, set
12058                         the device's link to be inactive
12059                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12060                         dispose
12061
12062         * src/nm-device-802-3-ethernet.h
12063                 - remove unused prototype for nm_device_802_3_ethernet_new
12064
12065         * src/nm-device.[ch]
12066                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12067                         but locks the device list
12068                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12069
12070         * src/nm-netlink-monitor.[ch]
12071                 - (nm_netlink_monitor_class_install_signals): New signal
12072                         "wireless-event"
12073                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12074                         at the device list
12075                 - (nm_netlink_monitor_event_handler): expand for wireless events too
12076
12077         * src/nm-marshal-main.c
12078                 - Include generated nm-marshal.c and nm-marshal.h
12079
12080         * src/nm-marshal.list
12081                 - List of custom marshal functions
12082
12083 2006-03-05  Dan Williams  <dcbw@redhat.com>
12084
12085         * gnome/applet/applet-notifications.h
12086                 - Protect prototype of nma_send_event_notification() because it
12087                         includes libnotify-specific types
12088                 - Include libnotify/libnotify.h too, since we technically need it
12089
12090         * gnome/applet/applet.c
12091                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12092                 - (nma_show_vpn_login_banner_dialog): add some error checking
12093
12094 2006-03-04  Dan Williams  <dcbw@redhat.com>
12095
12096         Clean up activation cancellation.  Should be a lot faster now.  Observed
12097         an issue with wireless devices between stage 2 and 3 of activation, where
12098         activation would be cancelled, but the device thread wouldn't notice until
12099         the supplicant association timed out.  Reorganize activation such that
12100         a cancellation handler gets immediately scheduled in the device's thread,
12101         and devices have a chance to perform any custom cleanup too.
12102
12103         * src/nm-device.[ch]
12104                 - (activation_cancel_handler): new device-type-specific function
12105                         for cleaning up device-type-specific stuff on cancellation
12106                 - (cancel_activation): removed
12107                 - (nm_device_activation_cancel): subsume functionality of
12108                         real_cancel_activation, but instead of doing anything, punt
12109                         operation to a handler that's run in device-thread context
12110                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12111                         a warning message
12112                 - (activation_handle_cancel_helper): cancellation handler run in
12113                         device-thread context, calls device-type-specific cancelation,
12114                         then tears down the activation request
12115                 - (real_activation_cancel_handler): generic cancellation handler,
12116                         deals with cancelling any in-process DHCP request
12117                 - (nm_device_activate_stage1_device_prepare,
12118                    nm_device_activate_stage2_device_config,
12119                    nm_device_activate_stage3_ip_config_start,
12120                    nm_device_activate_stage4_ip_config_get,
12121                    nm_device_activate_stage4_ip_config_timeout,
12122                    nm_device_activate_stage5_ip_commit): don't call
12123                         nm_device_schedule_activation_handle_cancel() any more, since
12124                         cancellation will have been already scheduled for us by
12125                         nm_device_activation_cancel().  Just exit the function and
12126                         assume that the cancel handler will be called next.
12127
12128         * src/nm-device-802-3-ethernet.c
12129                 - (real_act_stage2_config): remove; didn't do anything anyway
12130
12131         * src/nm-device-802-11-wireless.c
12132                 - (supplicant_status_cb): ensure we don't do anything if the activation
12133                         got cancelled
12134                 - (real_activation_cancel_handler): implement; cancel user key request
12135                         on activation cancellation
12136
12137 2006-03-04  Dan Williams  <dcbw@redhat.com>
12138
12139         * src/nm-device-802-11-wireless.c
12140                 - (supplicant_send_network_config): assume that drivers that don't
12141                         support WPA pretty much suck, and can't handle NM scanning
12142                         along with wpa_supplicant.
12143
12144 2006-03-03  Robert Love  <rml@novell.com>
12145
12146         * configure.in: Bump version to 0.6.0.
12147         * NEWS: Update.
12148
12149 2006-03-03  Robert Love  <rml@novell.com>
12150
12151         * configure.in: Require DBUS 0.60 or later.
12152
12153 2006-03-03  Dan Williams  <dcbw@redhat.com>
12154
12155         Fix a crash if an "Other wireless network" was chosen, failed, then
12156         chosen again from the applet's menu.  If the other network wasn't
12157         noticed in a scan, it wouldn't have any capabilities, but would still
12158         be listed because the user forced the network.  To fix this, we set
12159         sensible capabilities on the forced network, which will get overwritten
12160         with the correct ones if the network shows up later in a scan.
12161         
12162         * src/nm-ap-security.h
12163                 - Add a new "get_default_capabilities_func" member to the
12164                         NMAPSecurity class
12165
12166         * src/nm-ap-security.c
12167                 - (nm_ap_security_get_default_capabilities): new function
12168
12169         * src/nm-ap-security.c
12170           src/nm-ap-security-wep.c
12171           src/nm-ap-security-wpa-psk.c
12172           src/nm-ap-security-wpa-eap.c
12173                 - Implement get_default_capabilities_func() for all, which
12174                         uses the information contained in a specific NMAPSecurity
12175                         object to determine default AP capabilites necessary
12176                         to support that object
12177
12178         As a secondary measure, we now prune artificial access points that fail
12179         to be activated right away.  The thing failed, and we have no scan data for
12180         it, so it's pretty much useless since security information is only saved
12181         in the applets when a connection is successful.
12182
12183         * src/NetworkManagerAPList.c
12184                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12185                         not artificial.  If we see it, it's no longer a figment of the
12186                         user's imagination :)
12187
12188         * src/NetworkManagerPolicy.c
12189                 - (nm_policy_activation_failed): send along the failed AP if we
12190                         have it
12191
12192         * src/nm-device-802-11-wireless.c
12193                 - (real_activation_failure_handler): remove artificial APs from
12194                         the device list, because activation failed
12195
12196 2006-03-02  Robert Love  <rml@novell.com>
12197
12198         Add support for retrieving both the per-device speed and the
12199         per-network maximum supported rate.  Then change the getProperties
12200         DBUS API for both networks and devices to report this informaiton.
12201         Finally, display the information via both nm-applet and nm-tool:
12202         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12203           and set it.
12204         * gnome/applet/applet.c: Display the device's speed in the 'Connection
12205           Information' dialog.
12206         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12207         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12208           network_device_get_speed() and network_device_set_speed() for
12209           retrieving and setting, respectively, a network device's current
12210           speed.
12211         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12212         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12213           in the function nm_device_802_11_wireless_get_bitrate() -- it does
12214           not matter (yet) what the units are, because we only feed it its own
12215           output.  Implement SIOCGIRATE and set the per-network maximum
12216           supported rate during scanning.
12217         * src/nm-device-802-11-wireless.h: Export the function
12218           nm_device_802_11_wireless_get_bitrate().
12219         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12220           function nm_device_802_3_ethernet_get_speed() for returning an
12221           802.3's current speed, in Mb/s.
12222         * test/nm-tool.c: Display the per-device current speed, if available,
12223           and the per-network maximum rate.
12224
12225 2006-03-02  Dan Williams  <dcbw@redhat.com>
12226
12227         * src/nm-device-802-11-wireless.c
12228                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12229                         card when it gets initialized.  Since devices don't get added to
12230                         the scan list until they are initialized, this function wasn't
12231                         setting the intitial scan interval correctly, and was leaving
12232                         it at 0.  This caused cards to get many scan requests in a short
12233                         amount of time when they were initialized
12234
12235 2006-03-02  Robert Love  <rml@novell.com>
12236
12237         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12238           active device.  But do not do what we used to do and override the
12239           state, which caused the dreaded icon race of '05.
12240
12241 2006-03-02  Robert Love  <rml@novell.com>
12242
12243         Commit Dan's update of my previous commit:
12244         * src/nm-device-802-11-wireless.c: Always set the mode, because the
12245           set_mode() function itself does the check.  But do only set the
12246           frequency if in Ad-Hoc mode.
12247
12248 2006-03-02  Robert Love  <rml@novell.com>
12249
12250         Patch by Brian Magnuson <magnuson@rcn.com>:
12251         * src/nm-device-802-11-wireless.c: During scanning, only set the
12252           wireless mode to infrastructure if it is not currently in
12253           infrastructure mode.  For some driver, setting the mode is a costly
12254           operation, apparently.
12255
12256 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
12257
12258         * Makefile.am: use the correct dir for autostart mechanism.
12259
12260 2006-02-28  Dan Williams  <dcbw@redhat.com>
12261
12262         Patch from Brian Magnuson <magnuson@rcn.com>
12263         * gnome/applet/applet.c
12264                 - (nma_show_vpn_failure_dialog): fix errors left over from
12265                         libnotify support changes
12266
12267 2006-02-28  Dan Williams  <dcbw@redhat.com>
12268
12269         * src/vpn-manager/nm-vpn-act-request.[ch]
12270                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12271                         just one value
12272                 - (nm_vpn_act_request_is_failed): new function; return whether or
12273                         not the vpn activation request has failed
12274
12275         * src/vpn-manager/nm-vpn-manager.c 
12276                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12277                         daemon to kill the connection when the activation request fails.
12278                         Fixes issue where NM would get confused if the VPN activation
12279                         request timed out, and would not allow further VPN connections
12280                         on that service.
12281
12282 2006-02-28  Dan Williams  <dcbw@redhat.com>
12283
12284         * gnome/applet/applet.c
12285                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12286                         overlapping connection requests, disable all VPN menu items
12287                         but the active VPN connection
12288
12289 2006-02-28  Dan Williams  <dcbw@redhat.com>
12290
12291         * src/vpn-manager/nm-vpn-connection.c
12292                 - (nm_vpn_connection_set_parent_device): fix C&P error which
12293                         called g_object_unref() on the connection's parent device
12294                         when it should have been ref-ed instead.  Fixes crash with
12295                         repeated vpn connect requests
12296
12297 2006-02-28  Christopher Aillon  <caillon@redhat.com>
12298
12299         * gnome/applet/applet.glade:
12300         Mark a few strings non-translatable, since they shouldn't be.
12301
12302 2006-02-28  Dan Williams  <dcbw@redhat.com>
12303
12304         * src/vpn-manager/nm-vpn-service.c
12305                 - (nm_vpn_service_start_connection): if the vpn service daemon is
12306                         already running, don't blindly ask it to connect, but wait until
12307                         it's in the STOPPED state first.  Fixes an assertion when user
12308                         starts a second vpn connection without stopping the first.
12309                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12310                         dbus service exists before continuing with the connection
12311                         process, and reduce latency while waiting for it to become
12312                         available
12313                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12314                         waiting for the vpn service daemon to become available
12315                 - General log message cleanups; show progress via "Stage x of 4"
12316                         rather than not telling anyone how many stages there are
12317
12318 2006-02-28  Robert Love  <rml@novell.com>
12319
12320         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12321         * src/backends/NetworkManagerSuSE.c: Implement the interface
12322           nm_system_should_modify_resolv_conf() for SUSE.
12323         * src/backends/NetworkManagerDebian.c,
12324           src/backends/NetworkManagerGentoo.c,
12325           src/backends/NetworkManagerRedHat.c,
12326           src/backends/NetworkManagerSlackware.c: Add stub.
12327         * src/named-manager/Makefile.am: Grab includes from src.
12328         * src/named-manager/nm-named-manager.c: Allow backends to disable the
12329           automatic updating of resolv.conf.  This is useful for testing,
12330           broken static configurations, and administrator lock-down.
12331
12332 2006-02-28  Dan Williams  <dcbw@redhat.com>
12333
12334         * src/nm-device-802-11-wireless.c
12335                 - Move all the wpa_supplicant-related management stuff into its
12336                         own struct, just for oranization's sake
12337                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12338                         to a GIOChannel/GSource
12339                 - (supplicant_log_stdout): new function; grab output from the
12340                         wpa_supplicant stdout pipe and write it to our logs.
12341
12342 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12343
12344         * src/nm-device-802-11-wireless.c:
12345         Err, fix thinko in my previous commit.
12346
12347 2006-02-28  Robert Love  <rml@novell.com>
12348
12349         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12350
12351 2006-02-28  Robert Love  <rml@novell.com>
12352
12353         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12354           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12355           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12356           deserializers are responsible for freeing the returned DBUS strings.
12357
12358 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12359
12360         * src/nm-device-802-11-wireless.c:
12361         The scan list is being pruned prematurely.  We should prune after
12362         the device has gone MIA for three scans, not one.  Split out the
12363         interval to realtime seconds function to better serve this.
12364
12365 2006-02-27  Robert Love  <rml@novell.com>
12366
12367         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12368           Open the pid file O_TRUNC, so if it already exists we truncate it to
12369           zero length.  Also, be more verbose about warnings generated during
12370           writing out the pid file.  Finally, always write out the pid file if
12371           in daemon mode.  Use "--pid-file" to override the default.
12372
12373 2006-02-27  Robert Love  <rml@novell.com>
12374
12375         Patch by R. Vinay <rvinay@novell.com>:
12376         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12377           'last_attempt_success' when removing a VPN connection, too.  (Fixes
12378           Novell bug #153628).
12379           
12380 2006-02-27  Robert Love  <rml@novell.com>
12381
12382         * gnome/applet/applet.glade: Set "activates_default" on passphrase
12383           entry so user can hit <ENTER> after entering passphrase (Novell bug
12384           #153738).
12385
12386 2006-02-27  Dan Williams  <dcbw@redhat.com>
12387
12388         * gnome/applet/*
12389                 - Mass search/replace of:
12390                         nmwa -> nma
12391                         NMWirelessApplet -> NMApplet
12392                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
12393                    (it ain't just for wireless anymore, ma!)
12394                 - Fix duplicate function name printing when using nm_warning
12395                 - wireless-applet.glade -> applet.glade
12396
12397 2006-02-27  Dan Williams  <dcbw@redhat.com>
12398
12399         * dispatcher-daemon/NetworkManagerDispatcher.c
12400                 - Accept --pid-file with a path to a pidfile, write it out on
12401                         startup, and delete it on shutdown
12402
12403         * src/NetworkManager.c
12404                 - Accept --pid-file with a path to a pidfile, write it out on
12405                         startup, and delete it on shutdown
12406                 - Move nm_print_usage() lower
12407
12408         * initscripts/RedHat/NetworkManager.in
12409                 - Use new --pid-file option
12410                 - Fix service stopping to wait a bit for NM to quit
12411
12412         * initscripts/RedHat/NetworkManagerDispatcher.in
12413                 - Use new --pid-file option
12414
12415 2006-02-26  Dan Williams  <dcbw@redhat.com>
12416
12417         * src/Makefile.am
12418                 - make and install nm-crash-logger
12419
12420         * src/nm-logging.[ch]
12421                 - New files; consolidate logging and crash handling
12422
12423         * src/nm-crash-logger.c
12424           src/gdb-cmd
12425                 - Standalong crashlogger for NM, grab a backtrace
12426                         using GDB
12427
12428         * src/NetworkManager.[ch]
12429                 - Remove signal handling and put it into nm-logging.c
12430
12431 2006-02-26  Dan Williams  <dcbw@redhat.com>
12432
12433         * configure.in
12434           gnome/applet/Makefile.am
12435                 - Conditionalize all the notify stuff
12436
12437         Merge most of Chris Aillon's notification patch:
12438         
12439         * gnome/applet/applet-notifications.[ch]
12440                 - New files; show a notification
12441         
12442         * gnome/applet/applet-dbus-devices.[ch]
12443                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12444                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12445                         new functions, do the right thing when a device change occurs
12446
12447         * gnome/applet/applet-dbus.c
12448                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12449                         signals, so we can handle them specially
12450
12451         * gnome/applet/applet.[ch]
12452                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12453                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12454                 - (nmwa_notify_state): remove
12455                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12456                         notification work is now done when the appropriate dbus signals
12457                         are received.
12458                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12459                         defer execution of the notification/dialog stuff.  That was an
12460                         artifact of the previous multi-threaded nature of the applet
12461                         and is now pointless.
12462                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12463                         no longer needed.  Function folded into applet-notifications.c
12464
12465         * src/NetworkManagerPolicy.c
12466                 - (nm_policy_activation_finish): send the AP along with the device
12467                         status change signal, if the connection is wireless.  Should
12468                         fix the race where applet would show a connection to "unknown"
12469
12470 2006-02-25  Robert Love  <rml@novell.com>
12471
12472         Add WPA Enterprise support:
12473         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12474           nm-gconf-wso-wpa-eap.h.
12475         * gnome/applet/nm-gconf-wso-wpa-eap.c,
12476           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
12477           serialization and deserialization.
12478         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12479           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12480           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12481         * gnome/applet/wireless-applet.glade: Add UI for configurating security
12482           settings related to WPA Enterprise.
12483         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12484           instantiate WPA Enterprise wireless-security-option.
12485         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12486           Implement WPA Enterprise wireless-security-option object.
12487         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12488           defines.  Cleanup.
12489         * libnm-util/cipher-wpa-psk-hex.c,
12490           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12491         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12492           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12493           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12494           including the cipher to DBUS method, and
12495           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12496           to output.
12497         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12498           nm-ap-security-wpa-eap.h
12499         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12500           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12501         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12502           files.  Implement NMAPSecurityWPA_EAP object.
12503         * src/nm-ap-security-wpa-psk.c: Cleanup.
12504         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12505           an NMAPSecurityWPA_EAP object via the method
12506           nm_ap_security_wpa_eap_new_deserialize().
12507         * src/nm-dbus-nm.c: Cleanup.
12508         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12509           WPA Enterprise support.
12510
12511 2006-02-24  Robert Love  <rml@novell.com>
12512
12513         Patch from Timo Hoenig <thoenig@suse.de>:
12514         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12515
12516 2006-02-24  Robert Love  <rml@novell.com>
12517
12518         Patch from Dan Winship <danw@novell.com>:
12519         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
12520           area to transparent.
12521
12522 2006-02-21  Dan Williams  <dcbw@redhat.com>
12523
12524         * gnome/applet/applet.[ch]
12525           gnome/applet/applet-dbus.c
12526                 - Implement notification support for VPN messages too
12527
12528 2006-02-21  Dan Williams  <dcbw@redhat.com>
12529
12530         * gnome/applet/applet-dbus-info.c
12531                 - Clean up warning messages to not double-print the function
12532
12533 2006-02-21  Dan Williams  <dcbw@redhat.com>
12534
12535         * gnome/applet/applet-compat.c
12536                 - (convert_one_entry): accept entries without a key_type and
12537                         convert them to unencrypted networks
12538
12539 2006-02-21  Dan Williams  <dcbw@redhat.com>
12540
12541         * gnome/libnm_glib/libnm_glib.c
12542                 - Use __func__ everywhere we can
12543                 - Code cleanups
12544                 - Use dbus pending calls rather than blocking
12545                 - Reduce busywaits for our thread to start and stop
12546                         (gnome.org #330562)
12547                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12548                         stomp on others using the default shared dbus connection.
12549                         Fixes #rh177546# and gnome.org #326572
12550
12551 2006-02-21  Dan Williams  <dcbw@redhat.com>
12552
12553         Patch from Rodney Dawes <dobey@novell.com>
12554         * configure.in
12555           gnome/applet/Makefile.am
12556           gnome/applet/applet.c
12557                 - Add libnotify support if '--enable-notify=yes' is passed
12558                   at configure time
12559
12560 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
12561
12562         * configure.in (ALL_LINGUAS): ko added. (Korean)
12563
12564 2006-02-15  Robert Love  <rml@novell.com>
12565
12566         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12567           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12568           and WPA_SUPPLICANT_CONTROL_SOCKET.
12569         
12570 2006-02-15  Robert Love  <rml@novell.com>
12571
12572         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12573           information about what connection stage we are at, provide the total
12574           number of stages, e.g. "Stage 2 of 5", so users know how far along
12575           they are if they experience problems.
12576
12577 2006-02-15  Robert Love  <rml@novell.com>
12578
12579         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12580           define to $sysconfdir.
12581         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12582           editing dialog, vpn_edit_widget, which fixes a bug where editing one
12583           type of VPN and then editing another results in a mangled dialog
12584           box containing the widgets from both VPNs (fixes Novell #150854).
12585           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
12586
12587 2006-02-14  Robert Love  <rml@novell.com>
12588
12589         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
12590           syslog's file descriptor.
12591
12592 2006-02-14  Robert Love  <rml@novell.com>
12593
12594         Fix bug around since the change to "deal with APs changing settings on
12595         us," checked in on the fifth of February in the year of the dog, 
12596         wherein connecting to non-broadcast encrypted networks always fails
12597         because nm_ap_get_encrypted() always returns FALSE, even when the user
12598         provided a key, because the newly-created fake AP does not have any
12599         capabilities set, which is a sypmtom of security settings not matching
12600         capabilities (Novell bug #150784):
12601         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
12602           nm_ap_add_capabilities_from_security(), which sets the given AP's
12603           capabilities off the given security settings.  Also improve our
12604           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
12605           NM_AUTH_CIPHER_AUTO.
12606         * src/nm-device-802-11-wireless.c: Call the function
12607           nm_ap_add_capabilities_from_security() to ensure that capabilities
12608           match newly updated security settings.
12609
12610 2006-02-14  Robert Love  <rml@novell.com>
12611
12612         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
12613           error as a string, not an integer, if possible; do not print the
12614           function name twice; always give the interface, if possible; misc.
12615           cleanup.
12616
12617 2006-02-12  Dan Williams  <dcbw@redhat.com>
12618
12619         Patch from Tom Parker <palfrey@tevp.net>
12620         * src/NetworkManagerSystem.h
12621                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
12622                         no longer used
12623
12624         * src/backends/NetworkManagerDebian.c
12625                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
12626                         unused variables
12627
12628 2006-02-12  Dan Williams  <dcbw@redhat.com>
12629
12630         * vpn-daemons/openvpn/intltool-extract.in
12631           vpn-daemons/openvpn/intltool-merge.in
12632           vpn-daemons/openvpn/intltool-update.in
12633           vpn-daemons/pptp/intltool-extract.in
12634           vpn-daemons/pptp/intltool-merge.in
12635           vpn-daemons/pptp/intltool-update.in
12636                 - Remove from CVS, they should get created by intltoolize,
12637                         shouldn't they?
12638
12639 2006-02-12  Dan Williams  <dcbw@redhat.com>
12640
12641         * vpn-daemons/pptp/src/pppd/patchlevel.h
12642         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
12643                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
12644                         Makefile-defined VERSION
12645
12646 2006-02-09  Dan Williams  <dcbw@redhat.com>
12647
12648         Patch from: Vinay A R <rvinay@novell.com>
12649         * src/vpn-manager/nm-vpn-act-request.[ch]
12650                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
12651                         IPSec VPNs require them for std gateway.
12652                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
12653                         and 'user_routes_count'
12654                 - (nm_vpn_act_request_get_user_routes): new function; gets user
12655                         defined routes  from NMVPNActRequest object, returns the string
12656                         array of routes.
12657
12658         * src/vpn-manager/nm-vpn-manager.[ch]
12659                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
12660                         for 'user_routes' and 'user_routes_count'
12661         
12662         * src/vpn-manager/nm-dbus-vpn.c
12663                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
12664                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
12665         
12666         * src/vpn-manager/nm-vpn-service.c
12667                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
12668                         the vpn daemon
12669
12670         Modifications by Dan:
12671         * src/vpn-manager/nm-vpn-service.c
12672                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
12673                         arrays into dbus
12674
12675         * vpn-daemons/vpnc/src/nm-vpnc-service.c
12676         * vpn-daemons/pptp/src/nm-pptp-service.c
12677         * vpn-daemons/openvpn/src/nm-openvpn-service.c
12678                 - Grab user routes from dbus message
12679                 - Free all string arrays we got from dbus
12680
12681 2006-02-07  Robert Love  <rml@novell.com>
12682
12683         Patch by Stefan Seyfried <seife@suse.de>:
12684         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
12685
12686 2006-02-06  Robert Love  <rml@novell.com>
12687
12688         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
12689
12690 2006-02-06  Robert Love  <rml@novell.com>
12691
12692         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
12693           test ">=" is never false.  If no newline is found, we loop forever.
12694           We can just check for ">" because the following if() will see the
12695           zero-th argument if the while() gets that far.
12696
12697 2006-02-05  Dan Williams  <dcbw@redhat.com>
12698
12699         Refine handling of non-broadcast networks.
12700
12701         * src/NetworkManagerAPList.c
12702                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
12703                         property from scanned AP to the AP from the device list
12704
12705         * src/nm-device-802-11-wireless.c
12706                 - (supplicant_send_network_config): use ap_scan=1 for all networks
12707                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
12708                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
12709                         networks since those don't have APs.
12710                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
12711                         AP as non-SSID-broadcasting
12712                 - (process_scan_results): don't handle non-SSID-broadcasting here
12713
12714 2006-02-05  Dan Williams  <dcbw@redhat.com>
12715
12716         * src/nm-device-802-11-wireless.c
12717                 - (get_supplicant_timeout): new function; return
12718                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
12719                         14 channels.  These are likely a/b/g cards, like Atheros, and
12720                         slow as hell to scan.
12721                 - (supplicant_timeout_cb, supplicant_monitor_start): use
12722                         get_supplicant_timeout()
12723
12724 2006-02-05  Dan Williams  <dcbw@redhat.com>
12725
12726         * src/dhcp-manager/nm-dhcp-manager.c
12727                 - Loose a commit race with Robert; make sure size check
12728                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
12729
12730 2006-02-05  Robert Love  <rml@novell.com>
12731
12732         Patch by Christoph Brill <chrisbrill@gmx.net>:
12733         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
12734           with DHCP_SERVICE_NAME.
12735
12736 2006-02-05  Dan Williams  <dcbw@redhat.com>
12737
12738         Remove anything having to do with device_setup_func from the
12739         AP security objects, since it's no longer used.
12740
12741         * src/nm-ap-security.h
12742                 - Kill device_setup_func and nm_ap_security_device_setup()
12743
12744         * src/nm-ap-security-wep.c
12745           src/nm-ap-security-wpa-psk.c
12746                 - (real_device_setup): remove
12747
12748         * src/nm-ap-security.c
12749                 - (real_device_setup): remove
12750                 - (nm_ap_security_device_setup): remove
12751
12752         * src/nm-device-802-11-wireless.[ch]
12753                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
12754                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
12755                         and done by wpa_supplicant now anyway
12756
12757 2006-02-05  Dan Williams  <dcbw@redhat.com>
12758
12759         * src/nm-device-802-11-wireless.c
12760                 - (ap_need_key, real_act_stage2_config): deal with APs changing
12761                         settings on us.  Previously NM would loop asking for the
12762                         key but getting the same one back.  Now, if the NMI-supplied
12763                         cipher doesn't overlap with the scanned AP capabilities,
12764                         we request a completely new key from the user.
12765
12766 2006-02-05  Dan Williams  <dcbw@redhat.com>
12767
12768         * src/NetworkManagerUtils.c
12769                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
12770                         Handle newline killing better
12771
12772 2006-02-05  Dan Williams  <dcbw@redhat.com>
12773
12774         * gnome/applet/nm-gconf-wso.c
12775                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
12776                         of unencrypted access point security info.
12777
12778 2006-02-03  Robert Love  <rml@novell.com>
12779
12780         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
12781           user's encryption key, so we print the err_msg_cmd not the command,
12782           if available.  So long as SUPPLICANT_DEBUG is default, this makes
12783           sense.
12784
12785 2006-02-03  Christopher Aillon  <caillon@redhat.com>
12786
12787         * initscript/RedHat/NetworkManagerDispatcher.in:
12788         * initscript/RedHat/NetworkManager.in: modify the pidfile location
12789         Patch from Dan Walsh <dwalsh@redhat.com>
12790
12791 2006-02-03  Robert Love  <rml@novell.com>
12792
12793         * dispatcher-daemon/NetworkManagerDispatcher.c,
12794           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
12795           but use the sysconfdir.
12796
12797 2006-02-03  Robert Love  <rml@novell.com>
12798
12799         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
12800           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
12801           'char *'.
12802         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
12803           nm_ip4_config_get_hostname() and
12804           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
12805         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
12806           leak g_strdup() result.
12807
12808 2006-02-03  Robert Love  <rml@novell.com>
12809
12810         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
12811           broadcast == TRUE.  Also, copy broadcast and artificial properties
12812           from source network to destination in nm_ap_copy().
12813         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
12814           since we now default new networks to non-hidden.
12815
12816 2006-02-03  Dan Williams  <dcbw@redhat.com>
12817
12818         * gnome/applet/main.c
12819                 - (main): change the NEVER->ALWAYS so we start at the
12820                         beginning of the session, if being session-managed
12821
12822 2006-02-03  Dan Williams  <dcbw@redhat.com>
12823
12824         * gnome/applet/main.c
12825                 - (main): in a variation on Robert's patch, change
12826                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
12827                         he wants.
12828
12829 2006-02-02  Robert Love  <rml@novell.com>
12830
12831         * src/Makefile.am: If we aren't going to create the run directory at,
12832           uh, run-time, create it during install.  Then users just doing
12833           'make install' are cool, too.  While we are here, create the
12834           dispatcher.d directory, too.
12835         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
12836           the exact run directory.
12837         * Makefile.am: Install nm-applet.desktop.
12838
12839 2006-02-02  Robert Love  <rml@novell.com>
12840
12841         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
12842           structure, which denotes whether or not the AP is hidden.  This is a
12843           superset of 'artificial' -- we need 'broadcast' because a hidden AP
12844           can show up in the scan list.  Add nm_ap_get_broadcast() and
12845           nm_ap_set_broadcast() accessor interfaces.
12846         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
12847           nm_ap_set_broadcast().
12848         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
12849           "getProperties" method, which denotes whether or not the given
12850           network is hidden.
12851         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
12852           an artificial network.  Set broadcast to TRUE when scanning returns
12853           an ESSID and FALSE when not.
12854         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
12855           from "getProperties" method on a network.  Possible TODO is to
12856           somehow display this.
12857         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
12858
12859 2006-02-02  Dan Williams  <dcbw@redhat.com>
12860
12861         * src/nm-device-802-11-wireless.c
12862                 - (supplicant_interface_init): don't try to create
12863                         /var/run/NetworkManager, since that should be done by
12864                         the distro package.  Causes problems for stuff like SELinux
12865
12866 2006-02-02  Robert Love  <rml@novell.com>
12867
12868         Patch by Sureshkumar T <tsureshkumar@novell.com>:
12869         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
12870           Check for and handle empty string for iface.
12871
12872 2006-02-01  Robert Love  <rml@novell.com>
12873
12874         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
12875           manpage.
12876
12877 2006-01-31  Dan Williams  <dcbw@redhat.com>
12878
12879         * nm-applet.desktop
12880                 - Add --sm-disable to Exec arguments, presuming that when
12881                         using autostart, we don't want session management
12882
12883 2006-01-31  Robert Love  <rml@novell.com>
12884
12885         * src/NetworkManagerAP.c: Add two new manufacturer default network
12886           names: linksys-a and linksys-g.  These are found (at least) on the
12887           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
12888           own ESSID.
12889
12890 2006-01-31  Robert Love  <rml@novell.com>
12891
12892         * src/NetworkManagerAP.c: Optimize the function
12893           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
12894           machine code.  This is the first in a series of code tweaks aiming to
12895           generate better machine code and make NetworkManager all the better.
12896           Just kidding.  Who has time to go through the assembly generated for
12897           every function?  I certainly don't.  I have a wife, a kid, a job,
12898           a mortgage, a mistress.  But this function was so bad, I was called
12899           to arms.  Like the book.
12900
12901 2006-01-31  Robert Love  <rml@novell.com>
12902
12903         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
12904           AP is not broadcasting, to scan with probe request frames.  Required
12905           for non-broadcast networks.
12906
12907 2006-01-31  Robert Love  <rml@novell.com>
12908
12909         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
12910           preprocessor define (still 20s).  Fix message text in nm_info()
12911           s/too too/took too/.
12912
12913 2006-01-30  Dan Williams  <dcbw@redhat.com>
12914
12915         * src/nm-device-802-11-wireless.c
12916                 - (supplicant_monitor_start): increase connect/auth timeout to
12917                         20 seconds from 10 seconds
12918
12919 2006-01-30  Dan Williams  <dcbw@redhat.com>
12920
12921         * src/Makefile.am
12922                 - Define LOCALSTATEDIR
12923
12924         * src/nm-device-802-11-wireless.c
12925                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
12926                         socket where we want it to
12927
12928         * src/wpa_ctrl.[ch]
12929                 - (wpa_ctrl_open): accept location to put local control socket
12930
12931 2006-01-30  Robert Love  <rml@novell.com>
12932
12933         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
12934           get_ip4_string() for "domain_name".
12935
12936 2006-01-30  Robert Love  <rml@novell.com>
12937
12938         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12939           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
12940           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
12941           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
12942           support for "Automatic" pairwise and group cipher configuration by
12943           letting wpa_supplicant handle the details.  Add UI elements, new
12944           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
12945           charm.  Note this does more than add a nice feature, it fixes a bug.
12946           Apparently, some people have AP's where the pairwise cipher does not
12947           match the group cipher.  Insane, but true.
12948
12949 2006-01-30  Dan Williams  <dcbw@redhat.com>
12950
12951         * gnome/applet/applet-dbus-devices.c
12952                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
12953                         functions, grab device driver name from NetworkManager
12954                 - (nmwa_dbus_device_properties_cb): call functions to get driver
12955
12956         * gnome/applet/applet.c
12957                 - (nmwa_update_info): show driver name in Connection Information
12958                         dialog
12959
12960         * gnome/applet/nm-device.[ch]
12961                 - (network_device_get_driver, network_device_set_driver): add
12962                         accessors for driver name
12963
12964         * gnome/applet/wireless-applet.glade
12965                 - Add line for driver name to Connection Information dialog
12966
12967         * src/nm-dbus-device.c
12968                 - (nm_dbus_device_get_driver): new function to return driver name
12969                 - (nm_dbus_device_methods): hook up driver name function to dbus
12970
12971         * test/nm-tool.c
12972                 - (get_driver_name): new function
12973                 - (detail_device): grab and show driver name
12974
12975 2006-01-30  Robert Love  <rml@novell.com>
12976
12977         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
12978           does not parse the markup if it is not part of the format.
12979
12980 2006-01-30  Robert Love  <rml@novell.com>
12981
12982         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
12983           FALSE, we have no security options for this dialog, so we throw up
12984           an error dialog instead of a broken passphrase dialog.  Fixes
12985           Novell #138404.
12986         * gnome/applet/wireless-security-manager.c,
12987           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
12988           does not add any security options, not even NONE, print a warning
12989           and return FALSE.  This let's functions constructing a dialog bail
12990           out if the device's capabilities and the network's requirements have
12991           zero overlap.
12992
12993 2006-01-27  Robert Love  <rml@novell.com>
12994
12995         * configure.in: Require wpa_supplicant.  Detect location of binary and
12996           use it.  Override with "--with-wpa_supplicant=foo".
12997         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
12998           path to wpa_supplicant but use the auto-detected or user-provided
12999           value from configure.
13000
13001 2006-01-27  Robert Love  <rml@novell.com>
13002
13003         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13004           but the DHCP server did not return a hostname, try to look up our
13005           name via DNS and set the system hostname to that.
13006
13007 2006-01-27  Dan Williams  <dcbw@redhat.com>
13008
13009         * src/backends/NetworkManagerRedHat.c
13010                 - Add NM_CONTROLLED system network script support for RH/Fedora
13011
13012 2006-01-27  Dan Williams  <dcbw@redhat.com>
13013
13014         * src/backends/NetworkManagerGentoo.c
13015                 - (nm_system_device_get_disabled): add missing function.
13016                         Gnome BZ #328780
13017
13018 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
13019
13020         * configure.in: Added vi in ALL_LINGUAS line.
13021         
13022 2006-01-26  Robert Love  <rml@novell.com>
13023
13024         * src/Makefile.am, src/kernel-types.h: Now that two different source
13025           files are feeling the crack-addled leakage of kernel types such as
13026           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13027           types in user-space -- define a header and include it as needed.
13028         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13029         * src/nm-device-802-3-ethernet.h: Remove defines.
13030         * src/wpa.c: Remove defines and include kernel-types.h.
13031
13032 2006-01-26  Robert Love  <rml@novell.com>
13033
13034         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
13035           work.
13036
13037 2006-01-26  Robert Love  <rml@novell.com>
13038
13039         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13040         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13041           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13042           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13043           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13044           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13045           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13046           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13047           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13048           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13049           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13050           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13051           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13052           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13053           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13054           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13055           Kill unused variables, labels, and static functions.  Don't pass
13056           string literals as the format string for printf-like functions.
13057
13058 2006-01-25  Dan Williams  <dcbw@redhat.com>
13059
13060         * gnome/applet/wireless-applet.glade
13061                 - Remove WPA2 Checkbox
13062
13063         * gnome/applet/wireless-security-manager.c
13064                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13065                         This means the Wireless Security menu now has two WPA options,
13066                         one for "WPA Personal" and one for "WPA2 Personal"
13067
13068         * gnome/applet/wso-wpa-psk.[ch]
13069                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13070                         'wpa2' argument to determine WPA version to use
13071                 - (append_dbus_params_func): pass stored WPA version to cipher
13072                         rather than using the (removed) checkbox
13073
13074 2006-01-24  Robert Love  <rml@novell.com>
13075
13076         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13077           before we g_strdup(), not the ultimate string.
13078
13079 2006-01-23  Dan Williams  <dcbw@redhat.com>
13080
13081         * src/NetworkManagerAP.[ch]
13082                 - (nm_ap_new_from_ap): copy original essid too
13083                 - (nm_ap_unref): free original essid
13084                 - (nm_ap_get_orig_essid): new function
13085                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13086                         but keep original essid around too
13087
13088         * src/nm-device-802-11-wireless.c
13089                 - (supplicant_send_network_config): send wpa_supplicant the
13090                         _original_ essid, and not as a string, but in hex.  Should
13091                         allow us to connect to more APs that use wierd character
13092                         encodings for their essids
13093
13094         * utils/nm-utils.[ch]
13095                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13096                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
13097                         use the current locale as a hint for what encoding the essid
13098                         might be in.  Obviously not 100% accurate, but the idea here is
13099                         that if a user's locale is ex. ja_JP, they are more likely than
13100                         not to be in Japan, where access points will likely be in some
13101                         Japanese encoding.
13102
13103 2006-01-23  Dan Williams  <dcbw@redhat.com>
13104
13105         * libnm-util/cipher-private.h
13106           libnm-util/cipher.c
13107           libnm-util/cipher.h
13108                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13109
13110 2006-01-23  Robert Love  <rml@novell.com>
13111
13112         Patch by Timo Hoenig <thoenig@suse.de>:
13113         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13114           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13115           by DHCP and pass it to the backends, allowing distribution-specific
13116           behavior with respect to the DHCP-supplied hostname (if nothing else,
13117           some distributions might not want to set the hostname).
13118         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13119           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13120           Also update our NIS behavior.
13121         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13122           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13123           Add stub functions.
13124
13125 2006-01-23  Robert Love  <rml@novell.com>
13126
13127         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13128           gnome-session does autostart.  TODO: We need to install this to
13129           $prefix/share/autostart/.
13130
13131 2006-01-22  Dan Williams  <dcbw@redhat.com>
13132
13133         * src/NetworkManagerAP.[ch]
13134           src/nm-dbus-nmi.c
13135           src/nm-device-802-11-wireless.c         
13136                 - Make nm_ap_get_essid return "const char *"
13137
13138 2006-01-22  Dan Williams  <dcbw@redhat.com>
13139
13140         * src/NetworkManagerAP.[ch]
13141                 - (nm_ap_get_matched, nm_ap_set_matched): remove
13142
13143         * src/NetworkManagerAPList.[ch]
13144                 - (nm_ap_list_diff): removed
13145                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13146                         deal with access points changing essids on us
13147
13148         * src/nm-device-802-11-wireless.c
13149                 - (add_new_ap_to_device_list): move AP dbus signal logic to
13150                         src/NetworkManagerAPList.c
13151                 - (real_can_interrupt_activation): new function; allow interruption
13152                         of device activation if we are waiting for a network key
13153
13154         * src/NetworkManagerPolicy.c
13155                 - (nm_policy_device_change_check): allow interruption of currently
13156                         activating devices if the device allows it.  Previous behavior
13157                         would refuse to activate a just-plugged wired device if a
13158                         wireless device was waiting for a key.
13159
13160         * src/nm-device.[ch]
13161                 - (nm_device_can_interrupt_activation): new function; ask devices
13162                         whether their activation can be interrupted
13163
13164 2006-01-20  Robert Love  <rml@novell.com>
13165
13166         * Makefile.am, configure.in: Add new man subdirectory.
13167         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13168           man/Makefile.am: Add man pages for NetworkManager and its
13169           crime-solving bumbling buddy, NetworkManagerDispatcher.
13170         * man/.cvsignore: Add.
13171         * initscript/Debian/NetworkManager,
13172           initscript/Gentoo/NetworkManager.in,
13173           initscript/RedHat/NetworkManager.in,
13174           initscript/RedHat/NetworkManagerDispatcher.in,
13175           initscript/SUSE/networkmanager-dispatcher.in,
13176           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13177
13178 2006-01-20  Robert Love  <rml@novell.com>
13179
13180         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13181           instead of queuing.  This prevents the running of multiple NM
13182           daemons concurrently, which does not work whatsoever and results in
13183           neither daemon working correctly.  Also, we don't handle queuing and
13184           name-owner-changes, anyhow.
13185
13186 2006-01-20  Robert Love  <rml@novell.com>
13187
13188         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13189         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13190           to sbin, not bin.
13191
13192 2006-01-19  Robert Love  <rml@novell.com>
13193
13194         * configure.in: Require hal 0.5.0 or later.
13195
13196 2006-01-18  Robert Love  <rml@novell.com>
13197
13198         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13199           Allow backends to flag a device (in whatever distro-dependent way
13200           they so desire) as disabled.  NM will ignore any such device.
13201         * src/backends/NetworkManagerDebian.c,
13202           src/backends/NetworkManagerRedHat.c,
13203           src/backends/NetworkManagerSlackware.c: Add stub function
13204           nm_system_device_get_disabled() that always returns FALSE (enabled).
13205         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13206           SUSE-specific configuration structure.  Fill it in from the
13207           NM_CONTROLLED variable in the system networking scripts.  If this var
13208           exists and is "no", we ignore the device.
13209
13210 2006-01-17  Robert Love  <rml@novell.com>
13211
13212         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
13213           identical for NM.  For a full discussion, see the thread at
13214           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13215
13216 2006-01-17  Dan Williams  <dcbw@redhat.com>
13217
13218         * src/nm-device.c
13219                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13220                         function.  Fixes crash when wired DHCP fails.
13221
13222 2006-01-16  Robert Love  <rml@novell.com>
13223
13224         * src/Makefile.am: Don't install NMLoadModules
13225         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13226           from src/ to test/ as no one uses it anymore.  Note that I would be
13227           fine with removing it altogether.
13228
13229 2006-01-16  Robert Love  <rml@novell.com>
13230
13231         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13232           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13233           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13234           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13235           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13236           src/nm-netlink-monitor.c: Don't miss any initializers on structure
13237           declarations, ever.
13238         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13239           NM_STATE_DISCONNECTED is zero).
13240
13241 2006-01-16  Robert Love  <rml@novell.com>
13242
13243         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
13244           uninitialized parameter and buffer overflow.  Novell #143496.
13245
13246 2006-01-16  Dan Williams  <dcbw@redhat.com>
13247
13248         Apply the PtP Address bits of a patch from Tim Niemueller
13249
13250         * src/nm-ip4-config.[ch]
13251                 - Add ip4_ptp_address member to object
13252                 - (nm_ip4_config_copy): copy ptp address too
13253                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13254                         new functions
13255                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13256                         rather than local tunnel ip address
13257
13258         * src/vpn-manager/nm-vpn-service.c
13259                 - (print_vpn_config): update for PtP address
13260                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13261                         DBusMessageIters in preparation for getting routes from the VPN
13262                         service daemons too
13263
13264         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13265                 - (send_config_info): update for PtP address, clean up code
13266                 - (main): update for PtP address, clean up code, fix typo
13267
13268         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13269                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13270
13271         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13272                 - (pptp_ip_up): update for PtP address
13273
13274         * vpn-daemons/pptp/src/nm-pptp-service.c
13275                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13276
13277         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13278                 - (print_vpn_config): update for PtP address
13279                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13280
13281 2006-01-16  Dan Williams  <dcbw@redhat.com>
13282
13283         * gnome/applet/applet.c
13284                 - (nmwa_add_networks_helper): don't indicate an active network
13285                         if NM is disconnected or asleep
13286
13287 2006-01-16  Dan Williams  <dcbw@redhat.com>
13288
13289         * src/NetworkManagerPolicy.c
13290                 - (nm_policy_device_change_check): switch devices if we lose the link
13291                         on an ethernet device. 
13292
13293 2006-01-16  Dan Williams  <dcbw@redhat.com>
13294
13295         * gnome/applet/wso-wpa-psk-hex.[ch]
13296                 - Renamed -> wso-wpa-psk.[ch]
13297
13298         * gnome/applet/wso-wpa-psk.[ch]
13299                 - New files
13300
13301         * gnome/applet/wso-wpa-psk-passphrase.[ch]
13302                 - Removed, rolled into wso-wpa-psk.[ch]
13303
13304         * gnome/applet/Makefile.am
13305                 - Updated for above changes
13306
13307         * gnome/applet/wireless-applet.glade
13308                 - Consolidate WPA-PSK options into one notebook
13309                         widget, and make dialogs invisible by default
13310                         to fix screen oddities
13311
13312         * gnome/applet/wireless-security-manager.c
13313                 - (wsm_set_capabilities): create the new wpa-psk widget rather
13314                         than both the old hex & passphrase ones
13315
13316 2006-01-16  Dan Williams  <dcbw@redhat.com>
13317
13318         * gnome/applet/other-network-dialog.c
13319                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13320
13321 2006-01-16  Dan Williams  <dcbw@redhat.com>
13322
13323         * gnome/applet/applet.c
13324                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13325                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13326                         prevention to realize window before trying to get server
13327                         time
13328
13329         * gnome/applet/other-network-dialog.c
13330                 - (nmwa_other_network_dialog_run): fix up focus-stealing
13331                         prevention to realize window before trying to get server
13332                         time
13333
13334         * gnome/applet/passphrase-dialog.c
13335                 - (nmi_passphrase_dialog_new): fix up focus-stealing
13336                         prevention to realize window before trying to get server
13337                         time
13338
13339 2006-01-16  Robert Love  <rml@novell.com>
13340
13341         Patch from Timo Hoenig  <thoenig@suse.de:
13342         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13343           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13344           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13345           libnm-util/dbus-helpers.h: add checks whether headers are used
13346           within a C++ build.
13347
13348 2006-01-16  Dan Williams  <dcbw@redhat.com>
13349
13350         * gnome/applet/wireless-security-option.c
13351                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13352
13353 2006-01-16  Dan Williams  <dcbw@redhat.com>
13354
13355         * libnm-util/cipher-wpa-psk-passphrase.c
13356                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13357                         be 8 - 63 characters inclusive
13358
13359 2006-01-16  Dan Williams  <dcbw@redhat.com>
13360
13361         * src/nm-dbus-nm.c
13362                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13363
13364 2006-01-13  Robert Love  <rml@novell.com>
13365
13366         Patch by T Sureshkumar <tsureshkuman@novell.com>:
13367         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13368           modules that do not use an interface.
13369
13370 2006-01-13  Dan Williams  <dcbw@redhat.com>
13371
13372         * src/nm-device.c
13373           src/nm-device.h
13374                 - Allow subclasses to implement deactivate_quickly()
13375                 - (nm_device_deactivate_quickly): call subclass
13376                         deactivate_quickly() methods
13377                 - (nm_device_set_active_link): small cleanups, and don't
13378                         deactivate the device right away because we risk a deadlock
13379                         when called from device thread, waiting for the device
13380                         thread to cancel activation
13381
13382         * src/nm-device-802-11-wireless.c
13383                 - (real_deactivate_quickly): new function
13384                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13385                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13386                         so that we kill the supplicant when we sleep too
13387                 - (supplicant_interface_init): work around naive naming attempts of
13388                         wpa_ctrl when naming sockets
13389
13390 2006-01-13  Dan Williams  <dcbw@redhat.com>
13391
13392         * src/nm-device-802-11-wireless.c
13393                 - (supplicant_cleanup): delete old device control sockets too
13394                 - (supplicant_get_device_socket_path): new function to consolidate
13395                         locations that need a path to a device's control socket
13396
13397 2006-01-12  Robert Love  <rml@novell.com>
13398
13399         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13400           description so that the description is unique for each
13401           pair (device,provider).  Fixes Novell #142773.
13402
13403 2006-01-12  Dan Williams  <dcbw@redhat.com>
13404
13405         * src/nm-device-802-11-wireless.c
13406                 - (supplicant_exec): ensure GError is correctly initialized
13407                         Reported by Diego González (gnome.org #326708)
13408
13409 2006-01-11  Robert Love  <rml@novell.com>
13410
13411         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13412           define if_mii(), open code the same results, and do so without any
13413           type punning.
13414
13415 2006-01-11  Robert Love  <rml@novell.com>
13416
13417         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13418           that wso_foo_new() returned non-NULL.  Instead, only append the new
13419           wso to wsm->options if the wso is non-NULL.  The crux is that we
13420           assume that the relevant key types are implied by WEP and WPA as
13421           appropriate.  To be sure, they should be, but we should not expect
13422           drivers to not be oozing piles of wolf fecal matter.
13423
13424 2006-01-11  Robert Love  <rml@novell.com>
13425
13426         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13427         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13428           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13429           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13430           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13431           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13432           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13433         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13434           comparing values within DBL_EPSILON.  Also fix shadowed variable
13435           usage.
13436
13437 2006-01-11  Dan Williams  <dcbw@redhat.com>
13438
13439         Add options for WPA2 and WPA1+CCMP (AES).
13440
13441         * gnome/applet/wireless-applet.glade
13442                 - Add UI bits for WPA+CCMP
13443
13444         * gnome/applet/other-network-dialog.c
13445                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13446                         and don't allow creation of WPA2 Ad-Hoc networks since
13447                         wpa_supplicant doesn't support them
13448
13449         * gnome/applet/wireless-security-manager.c
13450                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13451                         on to the specific wireless security option being created
13452
13453         * gnome/applet/wireless-security-option.[ch]
13454                 - (wso_wpa_create_key_type_model): new utility function to create
13455                         the model required for WPA Key Type combo box
13456
13457         * gnome/applet/wso-private.h
13458           gnome/applet/wireless-security-option.h
13459                 - Move private function prototypes into wso-private.h
13460
13461         * gnome/applet/wso-wpa-psk-hex.[ch]
13462           gnome/applet/wso-wpa-psk-passphrase.[ch]
13463                 - (append_dbus_params_func): get WPA version from checkbox and pass
13464                         it to the dbus serialization helper
13465                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13466                         key type combo changes
13467                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13468                         model and options
13469
13470         * libnm-util/cipher-wpa-psk-hex.c
13471           libnm-util/cipher-wpa-psk-passphrase.c
13472                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13473                         new function; allow the cipher to be changed after object creation
13474
13475         * src/nm-ap-security-wpa-psk.c
13476                 - (set_description): Do WPA2 descriptions too
13477
13478         * src/nm-ap-security.c
13479                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13480
13481 2006-01-11  Robert Love  <rml@novell.com>
13482
13483         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13484           is defined in <linux/mii.h> to return the mii_ioctl_data structure
13485           from the ifreq structure in lieu of an open coded solution.  Removes
13486           a life-threatening type-punning.
13487         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13488           types, ever, whatsoever, baby.
13489
13490 2006-01-11  Robert Love  <rml@novell.com>
13491
13492         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13493           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13494           assignments to applet->nm_state into a new nmwa_set_state() function
13495           for both cleanliness and to help debugging.
13496
13497 2006-01-10  Robert Love  <rml@novell.com>
13498
13499         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
13500           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13501           seconds, exclusive.  That is, we want to sleep x seconds such that
13502           1 < x < 2.
13503
13504 2006-01-10  Robert Love  <rml@novell.com>
13505
13506         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13507           the attr fields according to the example in the email available at
13508           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13509           Conversely, we do have to free 'name', so we do so, fixing a leak.
13510
13511 2006-01-10  Robert Love  <rml@novell.com>
13512
13513         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13514           sure that we close the socket!
13515
13516 2006-01-10  Robert Love  <rml@novell.com>
13517
13518         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13519           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13520           src/nm-device.c: Fix a FIXME!  Reimplement the function
13521           nm_device_update_hw_address() in device subclass variants,
13522           nm_device_802_3_ethernet_set_address() and
13523           nm_device_802_11_wireless_set_address(), hook them up, and use them.
13524           This fixes the existing bug where MAC addresses are all zeros.
13525
13526 2006-01-10  Robert Love  <rml@novell.com>
13527
13528         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13529           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13530           option to give users ability to globally disconnect and put NM to
13531           sleep.  This is useful as a 'lockdown mode' for flying, security, and
13532           clean disconnect.
13533
13534 2006-01-09  Robert Love  <rml@novell.com>
13535
13536         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
13537           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13538           User-space does not supply these types, so we have to define them
13539           ourselves.  The relevant kernel maintainer refused to accept a patch
13540           switching these headers to the proper C99 types.
13541
13542 2006-01-09  Dan Williams  <dcbw@redhat.com>
13543
13544         Apply Robert's 'tray icon redo' patch with fixes
13545         * gnome/applet/applet.c
13546           gnome/applet/applet.h
13547                 - Instead of using a menu bar + menu item, simulate menu
13548                         behavior using a popup menu.  Highlight the area around
13549                         the icon more like a menu too, by playing with the
13550                         applet's size requisition
13551
13552 2006-01-09  Timo Hoenig   <thoenig@suse.de>
13553         * libnm-util/dbus-helpers.c
13554           libnm-util/dbus-helpers.h
13555                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13556                         to 'exception_namespace' (:namespace is a keyword in
13557                         C++)
13558
13559 2006-01-09  Dan Williams  <dcbw@redhat.com>
13560
13561         * src/NetworkManagerPolicy.c
13562                 - (nm_policy_device_change_check): don't autoswitch away from
13563                         Ad-Hoc networks, since there's really no concept of
13564                         "link"
13565
13566         * src/nm-dbus-nm.c
13567                 - (nm_dbus_nm_create_wireless_network): mark created networks
13568                         as Ad-Hoc networks
13569
13570         * src/nm-device-802-11-wireless.c
13571                 - (real_activation_success_handler): add user-created Ad-Hoc
13572                         networks to the device's scan list
13573
13574 2006-01-08  Dan Williams  <dcbw@redhat.com>
13575
13576         We now require a patch for wpa_supplicant to support Ad-Hoc
13577         networks:
13578           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13579
13580         * src/nm-device-802-11-wireless.c
13581                 - (supplicant_send_network_config): turn off wpa_supplicant's
13582                         scanning.  Fixes Ad-Hoc networks.
13583
13584 2006-01-08  Dan Williams  <dcbw@redhat.com>
13585
13586         * src/nm-ap-security.c
13587           src/nm-ap-security.h
13588                 - Add a user_created argument to the write_supplicant_config
13589                         functions
13590
13591         * src/nm-ap-security-wep.c
13592           src/nm-ap-security-wpa-psk.c
13593           src/nm-device-802-11-wireless.c
13594                 - Make Ad-Hoc mode somewhat work, at least write the
13595                         correct options to wpa_supplicant
13596
13597 2006-01-08  Dan Williams  <dcbw@redhat.com>
13598
13599         * src/nm-device-802-11-wireless.c
13600                 - Remove unused code from the old device activation path
13601
13602 2006-01-08  Dan Williams  <dcbw@redhat.com>
13603
13604         * libnm-util/dbus-helpers.c
13605                 - (nmu_security_serialize_wpa_psk): pass a blank key through
13606                         dbus when key == NULL
13607
13608 2006-01-08  Dan Williams  <dcbw@redhat.com>
13609
13610         * gnome/applet/nm-gconf-wso-wpa-psk.c
13611                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
13612                         correct arguments to nmu_security_deserialize_wpa_psk()
13613
13614         * src/nm-ap-security-wpa-psk.c
13615                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
13616                         arguments to nmu_security_deserialize_wpa_psk()
13617
13618 2006-01-08  Dan Williams  <dcbw@redhat.com>
13619
13620         * gnome/applet/wso-wpa-psk-hex.c
13621           gnome/applet/wso-wpa-psk-passphrase.c
13622                 - Hook up the append_dbus_params_func() function
13623
13624 2006-01-08  Dan Williams  <dcbw@redhat.com>
13625
13626         * src/nm-device-802-11-wireless.c
13627                 - (get_wireless_capabilities): correctly detect driver WPA
13628                         capabilities
13629
13630 2006-01-08  Dan Williams  <dcbw@redhat.com>
13631
13632         * gnome/applet/Makefile.am
13633           gnome/applet/wso-wpa-psk-hex.c
13634           gnome/applet/wso-wpa-psk-hex.h
13635                 - New files, implement WPA-PSK Hex key input
13636
13637         * gnome/applet/wireless-applet.glade
13638                 - Change existing wpa-psk stuff to wpa-psk-hex
13639                 - Add new widgets for wpa-psk-passphrase
13640
13641         * gnome/applet/wireless-security-manager.c
13642                 - (wsm_set_capabilities): enable WPA options
13643
13644         * gnome/applet/wso-wpa-psk-passphrase.c
13645                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
13646                         for WPA-PSK passphrase
13647
13648 2006-01-08  Dan Williams  <dcbw@redhat.com>
13649
13650         * include/NetworkManager.h
13651                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
13652                         applet/info-daemons
13653
13654         * gnome/applet/passphrase-dialog.c
13655                 - Use the constant.  Fixes a bug where the arguments to
13656                         dbus_message_new_error() were incorrect
13657
13658         * src/nm-dbus-nmi.c
13659                 - Use the constant
13660
13661 2006-01-07  Dan Williams  <dcbw@redhat.com>
13662
13663         * src/nm-device-802-11-wireless.c
13664                 - Add a link timeout so we allow the supplicant time to
13665                         reassociate if it can, before we deactivate the card
13666                 - Fix up link status and link updating so things work better
13667
13668 2006-01-07  Dan Williams  <dcbw@redhat.com>
13669
13670         * src/nm-device-802-11-wireless.c
13671                 - Switch over to using wpa_supplicant
13672                 - Add a timeout of 10s for association of the supplicant
13673                 - Start the monitor callback of the supplicant
13674
13675 2006-01-07  Dan Williams  <dcbw@redhat.com>
13676
13677         * src/NetworkManagerUtils.c
13678                 - (nm_utils_supplicant_request,
13679                   nm_utils_supplicant_request_with_check):
13680                         pass correct buffer length to wpa_ctrl_request()
13681
13682 2006-01-07  Dan Williams  <dcbw@redhat.com>
13683
13684         * src/nm-device-private.h
13685           src/nm-device.c
13686                 - (nm_device_activate_schedule_stage3_ip_config_start): make
13687                         this function available to subclasses
13688
13689 2006-01-06  Robert Love  <rml@novell.com>
13690
13691         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
13692           user plugging in a network cable signals their preference for to
13693           switch, unless the user explicitly selected a wireless network and
13694           therefore signaled their preference for said wireless network over
13695           wired.  In other words, do exactly what makes sense.
13696
13697 2006-01-06  Robert Love  <rml@novell.com>
13698
13699         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
13700           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
13701           src/NetworkManagerWireless.h: Remove, no longer used and they keep
13702           showing up in my greps.
13703
13704 2006-01-06  Robert Love  <rml@novell.com>
13705
13706         * gnome/applet/applet-dbus-devices.c,
13707           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
13708           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
13709           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
13710           New Network' both failed in the non-encrypted case because we were
13711           not appending the security options to the DBUS message.  And
13712           'Connect to Other' was also failing in the encrypted case because
13713           we were not incrementing to the next DBUS parameter.  All fixed.
13714           Thanks to dcdw for some debugging help.
13715
13716 2006-01-06  Robert Love  <rml@novell.com>
13717
13718         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
13719           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
13720           hangup code and add per-device hangup.  Tie last commit into the
13721           GNOME applet.  TODO:  Save, understand, and respond to the state of
13722           each dialup device.
13723
13724 2006-01-06  Robert Love  <rml@novell.com>
13725
13726         Patch by Timo Hoenig <thoenig@suse.de>:
13727         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
13728           hangup specific dialup devices.
13729         * src/backends/NetworkManagerDebian.c,
13730           src/backends/NetworkManagerGentoo.c,
13731           src/backends/NetworkManagerRedHat.c,
13732           src/backends/NetworkManagerSlackware.c: Add stub backend.
13733         * src/backends/NetworkManagerRedHat.c,
13734           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
13735           hangup specific dialup devices.
13736
13737 2006-01-04  Robert Love  <rml@novell.com>
13738
13739         * gnome/applet/applet-dbus-devices.c,
13740           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
13741           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
13742           connections.
13743
13744 2006-01-04  Dan Williams  <dcbw@redhat.com>
13745
13746         First dump of wpa_supplicant-related code.  It's not hooked up to
13747         anything yet though.  Thanks to Kay Sievers for
13748         wpa_supplicant_wrapper.c, which formed the basis for this work,
13749         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
13750
13751         * src/Makefile.am
13752           src/wpa_ctrl.[ch]
13753                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
13754
13755         * src/NetworkManagerUtils.[ch]
13756                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
13757                         Add convenience functions for talking to wpa_supplicant
13758
13759         * src/nm-ap-security.[ch]
13760           src/nm-ap-security-wep.c
13761           src/nm-ap-security-wpa-psk.[ch]
13762                 - Update and implement real_write_supplicant_config functions
13763                         in all security types
13764                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
13765                         nm-ap-security-wpa-psk.c
13766
13767         * src/nm-device-802-11-wireless.c
13768                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
13769                    wpa_supplicant_start, wpa_supplicant_interface_init,
13770                    wpa_supplicant_send_network_config): add functions to talk to
13771                         wpa_supplicant and write network config to it
13772
13773 2006-01-04  Robert Love  <rml@novell.com>
13774
13775         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
13776           values so that distribution-backends can differentiate between the
13777           various types (modem, ISDN, et cetera) of dialup device that they
13778           support.
13779         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
13780           needed.
13781
13782 2006-01-03  Dan Williams  <dcbw@redhat.com>
13783
13784         * src/NetworkManagerPolicy.c
13785           src/nm-device.[ch]
13786           src/nm-device-802-11-wireless.c
13787                 - Move wireless-specific activation failure and success code
13788                         into wireless device class
13789
13790 2006-01-03  Robert Love  <rml@novell.com>
13791
13792         Patch by Preggna S:
13793         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
13794           IPsec does not require that a VPN client be bound to an interface,
13795           due to the use of the in-kernel IPSec bits.  So make the tunnel
13796           device optional.
13797
13798 2006-01-03  Dan Williams  <dcbw@redhat.com>
13799
13800         * src/NetworkManagerAP.c
13801                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
13802                         the WPA IE specifies that WEP is supported
13803
13804         * src/nm-device-802-11-wireless.c
13805                 - (process_scan_results): don't mark an AP as supporting WEP
13806                         if there's already other encryption capability info
13807
13808 2006-01-03  Dan Williams  <dcbw@redhat.com>
13809
13810         * src/dhcp-manager/nm-dhcp-manager.c
13811                 - Recognize activation cancellation when waiting for DHCP
13812                         configuration from dhcdbd
13813                 - Ignore non-dhcdbd messages
13814
13815         * src/nm-device.c
13816                 - (real_act_stage3_ip_config_start): return to correct behavior
13817                         of letting the dhcp-manager notify us of failure or
13818                         success rather than incorrectly doing that ourselves
13819                 - (nm_device_activate_stage4_ip_config_get): deal with
13820                         activation cancellation a bit earlier
13821
13822 2006-01-03  Dan Williams  <dcbw@redhat.com>
13823
13824         * src/nm-device-802-11-wireless.c
13825           src/nm-device.[ch]
13826                 - Add hooks to subclasses for stage3_ip_config_start and
13827                         stage4_ip_config_timeout
13828
13829         * src/nm-device-802-3-ethernet.c
13830                 - (real_get_generic_capabilities): make devices NM-supported
13831                         by default
13832
13833 2006-01-03  Robert Love  <rml@novell.com>
13834
13835         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
13836           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
13837           latter cannot differentiate between error and the address -1; misc.
13838           clean up.
13839
13840 2006-01-03  Dan Williams  <dcbw@redhat.com>
13841
13842         * src/NetworkManager.c
13843                 - Move link-checking/probing into the device subclasses
13844                         themselves
13845
13846         * src/nm-device.[ch]
13847           src/nm-device-802-11-wireless.c
13848           src/nm-device-802-3-ethernet.c
13849                 - Do periodic link checking in device subclasses rather
13850                         than being triggered from NetworkManager.c
13851                 - discover_wireless_capabilities -> get_wireless_capabilities
13852                 - discover_generic_capabilities -> get_generic_capabilities
13853                 - Device subclass activation routines now return a value of type
13854                         NMActStageReturn to indicate what step to perform next
13855                 - Devices now override stage4_get_ip4_config if they choose
13856
13857 2006-01-01  Dan Williams  <dcbw@redhat.com>
13858
13859         * src/nm-device-802-11-wireless.c
13860                 - (real_init): don't chain up to parent init because we don't
13861                         need to do that anymore
13862
13863         * src/nm-device.c
13864                 - (discover_device_type): fix arguments to ioctl() to correctly
13865                         pass interface name
13866                 - (nm_device_new): consolidate generic device initialization into
13867                         nm_device_new()
13868                 - (real_init): remove, consolidated to nm_device_new()
13869                 - (nm_device_deactivate, real_deactivate): consolidate
13870
13871 2006-01-01  Dan Williams  <dcbw@redhat.com>
13872
13873         * src/nm-activation-request.c
13874                 - Change dhcp_state member of the NMActRequest structure
13875                         from guint8 to guint32
13876
13877         * src/dhcp-manager/nm-dhcp-manager.[ch]
13878                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
13879                         than guint8 to match the dbus argument.  Turns out we were
13880                         overwriting memory since we were passing in only a guint8
13881
13882 2005-12-31  Dan Williams  <dcbw@redhat.com>
13883
13884         * refactor NMDevice into a GObject-based framework with separate
13885                 objects for wired and wireless.  The following files are no
13886                 longer used but should stick around for a bit so we don't
13887                 loose code through the cracks:
13888                         NetworkManagerDevice.c
13889                         NetworkManagerDevice.h
13890                         NetworkManagerWireless.c
13891                         NetworkManagerWireless.h
13892
13893         The intent here is to allow each device type to manage its own
13894         connection & activation life-cycle, ie to allow wireless devices
13895         to interface with wpa_supplicant, etc.  There's a fair bit of
13896         encapsulation breakage right now that should gradually get pulled
13897         back into each device, along with things like periodic property
13898         updates and link probing.
13899
13900 2005-12-29  Dan Williams  <dcbw@redhat.com>
13901
13902         * include/NetworkManager.h
13903                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
13904                         between networks that don't have any encryption at all
13905
13906 2005-12-29  Dan Williams  <dcbw@redhat.com>
13907
13908         * test/test-common.c
13909           test/test-common.h
13910           test/Makefile.am
13911                 - Move to a test-common subdirectory
13912
13913         * test/libnm-util/test-ciphers.c
13914                 - Move test data to test-inputs.h
13915                 - Test WPA ciphers too
13916
13917         * test/libnm-util/test-dbus-helpers.c
13918                 - Test serialization/deserialization of ciphers
13919
13920 2005-12-29  Dan Williams  <dcbw@redhat.com>
13921
13922         * gnome/applet/applet-dbus-devices.c
13923                 - Replace 'enc' parameter with 'capabilities' for wireless networks
13924                         in dbus calls to NM
13925                 - Set capabilities on WirelessNetwork objects
13926                 - Receive and save type-specific device capabilities too
13927
13928         * gnome/applet/applet-dbus-info.c
13929           gnome/applet/applet-dbus.c
13930                 - Passphrase dialog no longer a singleton; new instance gets created
13931                         on each request.  Updates to deal with that.
13932
13933         * gnome/applet/applet.c
13934                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
13935                         than single 'encrypted' flag
13936                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
13937                         menu items
13938                 - Passphrase dialog updates per above
13939
13940         * gnome/applet/menu-items.c
13941                 - (network_menu_item_update): use AP capabilities to determine
13942                         encryption
13943
13944         * gnome/applet/nm-device.[ch]
13945                 - Add accessors for type-specific device capabilities
13946
13947         * gnome/applet/other-network-dialog.c
13948                 - Rework to respect device capabilities.  i.e., if the device doesn't
13949                         support WPA, remove that option from the security dropdown
13950
13951         * gnome/applet/passphrase-dialog.c
13952                 - Massive rework so that a new instance is created each time
13953                         it's used, to support wireless network capabilities
13954
13955         * gnome/applet/wireless-network.[ch]
13956                 - Add accessors and members for wireless network capabilities
13957
13958         * gnome/applet/wireless-security-manager.[ch]
13959                 - (wsm_set_capabilities): called after creation to set which
13960                         security options get shown to the user
13961
13962 2005-12-29  Dan Williams  <dcbw@redhat.com>
13963
13964         * libnm-util/cipher-wpa-psk-passphrase.c
13965                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
13966                         like other ciphers
13967
13968 2005-12-23  Dan Williams  <dcbw@redhat.com>
13969
13970         * gnome/applet/applet-dbus-info.c
13971                 - (nmi_dbus_get_key_for_network): if there's no entry in
13972                         GConf for a network, assume we want a new key
13973                 - (nmi_save_network_info): serialize wireless security info
13974                         into GConf so its saved
13975
13976         * src/nm-dbus-nm.c
13977                 - Fix warning as we may not be passed security info when
13978                         connecting to a wireless network
13979
13980 2005-12-23  Dan Williams  <dcbw@redhat.com>
13981
13982         * gnome/applet/applet-compat.c
13983                 - Fix bugs in GConf entry conversion
13984
13985         * gnome/applet/applet-dbus-info.c
13986                 - (nmi_dbus_get_network_properties): handle case of the BSSID
13987                         list being zero-length
13988
13989         * libnm-util/cipher-*
13990           libnm-util/dbus-helpers.c
13991                 - All ciphers must now return hashed keys as UTF-8 valid
13992                         hexadecimal strings, ie "8f3dae4023".  They are pushed
13993                         through dbus as strings too.
13994                 - Consolidate various functions that do bin->hex and hex->bin
13995                         conversion into cipher.c
13996
13997         * src/nm-ap-security-wep.c
13998           src/nm-ap-security-wpa-psk.c
13999                 - Handle NULL keys since we may not know keys right away
14000
14001         * src/nm-dbus-nmi.c
14002                 - (nm_dbus_get_network_data_cb): actually advance to the start
14003                         of the wireless security info before we try to deserialize it
14004
14005         * libnm-util/test-ciphers.c
14006                 - Update cipher tests for the change to UTF-8 hexadecimal strings
14007
14008 2005-12-22  Dan Williams  <dcbw@redhat.com>
14009
14010         * gnome/applet/applet-compat.[ch]
14011                 - Convert old-format GConf and keyring entries
14012                         when the applet starts up.
14013
14014         * gnome/applet/applet.c
14015                 - (nmwa_get_instance): Call the conversion function
14016                         on startup before dbus is initialized
14017
14018 2005-12-22  Dan Williams  <dcbw@redhat.com>
14019
14020         * gnome/applet/applet-dbus-info.c
14021                 - Remove nmi_dbus_create_error_message() in favor of
14022                         nmu_create_dbus_error_message()
14023                 - (nmi_dbus_get_network_properties): Error message cleanups
14024                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14025                         gconf key rather than 'addresses', since they really are BSSIDs
14026                 - (nmi_dbus_get_network_properties): Dispose of the security
14027                         object when we're done with it
14028
14029 2005-12-21  Dan Williams  <dcbw@redhat.com>
14030
14031         * Consolidate the info-daemon's "updateNetworkInfo" and
14032                 "addNetworkAddress" calls into just "updateNetworkInfo"
14033
14034 2005-12-21  Dan Williams  <dcbw@redhat.com>
14035
14036         * Make connection after key retrieval work again
14037
14038 2005-12-21  Dan Williams  <dcbw@redhat.com>
14039
14040         * gnome/applet/nm-gconf-wso*
14041                 - Make the serialize functions return gboolean
14042                         rather than int
14043
14044         * gnome/applet/nm-gconf-wso.c
14045                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14046                         parent class handling so we don't segfault
14047
14048         * src/NetworkManagerAP.[ch]
14049                 - (nm_ap_get_capabilities): new function, return capabilities
14050                         now that something can use them
14051                 - (nm_ap_set_encrypted): assume that an access point supports
14052                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
14053                         we even tell whether it just supports WEP40?
14054
14055         * src/NetworkManagerDevice.c
14056                 - (ap_need_key): resurrect and update for the New World Order
14057                 - (nm_device_wireless_get_activation_ap): if we're not given
14058                         security info to use, create some based on access point
14059                         capabilities
14060
14061         * src/nm-ap-security-wep.c
14062                 - (nm_ap_security_wep_new_from_ap): create a new object
14063                         based on a certain access point's capabilities
14064
14065         * src/nm-ap-security.c
14066                 - (nm_ap_security_new_from_ap): delegate creation of a new
14067                         object based on access point capabilities to a subclass
14068                 - (nm_ap_security_copy_properties): don't segfault if we
14069                         don't have a key yet
14070
14071         * src/nm-dbus-nm.c
14072                 - (nm_dbus_nm_set_active_device): provide more informative
14073                         output when errors occur.  Also construct security info
14074                         for a given access point if we weren't given any
14075
14076 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
14077
14078         * configure.in: Added Lithuanian to ALL_LINGUAS.
14079
14080 2005-12-21  Dan Williams  <dcbw@redhat.com>
14081
14082         * test/libnm-util
14083                 - Add some testcases for WEP ciphers
14084
14085 2005-12-17  Dan Williams  <dcbw@redhat.com>
14086
14087         * Fix bugs
14088
14089 2005-12-17  Dan Williams  <dcbw@redhat.com>
14090
14091         * include/NetworkManager.h
14092                 - Finally kill NMEncKeyType
14093
14094         * gnome/applet/applet-dbus-info.c
14095                 - (nmi_save_network_info): convert to NMGConfWSO
14096
14097         * gnome/applet/nm-gconf-wso-*.c
14098                 - Implement gconf serialization functions
14099
14100         * src/NetworkManagerPolicy.c
14101                 - (nm_policy_activation_finish): fix up meaning of
14102                         automatic/user_requested
14103
14104 2005-12-17  Dan Williams  <dcbw@redhat.com>
14105
14106         * gnome/applet/*
14107                 - More applet cleanups
14108                 - Use the dbus-method-dispatcher
14109
14110         * libnm-util/dbus-method-dispatcher.[ch]
14111                 - Generalize the implementation from NM in
14112                         NetworkManagerUtils.c
14113
14114 2005-12-16  Dan Williams  <dcbw@redhat.com>
14115
14116         * gnome/applet/*
14117                 - Fix up the passphrase dialog to use all the
14118                         WirelessSecurityOption stuff (untested)
14119
14120 2005-12-16  Dan Williams  <dcbw@redhat.com>
14121
14122         * Move nm_gconf_get_*_helper() functions to separate files,
14123                 gconf-helpers.c & gconf-helpers.h
14124
14125         * New NMGConfWSO objects for managing the gconf side of things.
14126                 Eventually these should be merged with the
14127                 WirelessSecurityOption objects and a common base (that can
14128                 serialize/deserialize from dbus & gconf) should be
14129                 refactored out, but for now they are separate.
14130
14131 2005-12-16  Robert Love  <rml@novell.com>
14132
14133         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14134           binaries unless they exist (nm_spawn_process() emits a warning if
14135           asked to spawn a non-existant process).
14136
14137 2005-12-16  Dan Williams  <dcbw@redhat.com>
14138
14139         * gnome/applet/applet-dbus-info.c
14140                 - Clean up lots of gconf-related code
14141
14142 2005-12-16  Robert Love  <rml@novell.com>
14143
14144         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14145
14146 2005-12-16  Dan Williams  <dcbw@redhat.com>
14147
14148         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14149
14150         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14151                 bits still to be done)
14152
14153 2005-12-16  Dan Williams  <dcbw@redhat.com>
14154
14155         * Finally move info-daemon related stuff out of
14156                 NetworkManagerDbus.c to nm-dbus-nmi.c
14157
14158 2005-12-16  Dan Williams  <dcbw@redhat.com>
14159
14160         * Kill auth_method for access points, since that's now done
14161                 by NMAPSecurity objects
14162
14163         * Add a copy-constructor of sorts to NMAPSecurity
14164                 (how do you do this properly in glib???)
14165
14166 2005-12-15  Dan Williams  <dcbw@redhat.com>
14167
14168         * Exorcise encryption key hashing on APs
14169         * Use libnm-util's serialization/deserialization in both the
14170                 applet and NM
14171         * Random other stuff
14172
14173 2005-12-15  Robert Love  <rml@novell.com>
14174
14175         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14176           is being added to the icon naming spec, so let's use that (Tango CVS
14177           has the icon).  Because it is new, however, we fall back to the
14178           current "gnome-lockscreen" if the new icon is not around, thus
14179           behavior is the same.
14180         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
14181           factory junk.
14182
14183 2005-12-15  Robert Love  <rml@novell.com>
14184
14185         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14186           well, help to give.  Couple other misc. bits.
14187
14188 2005-12-15  Dan Williams  <dcbw@redhat.com>
14189
14190         * libnm-util/dbus-helpers.[ch]
14191                 - Make this the one-stop-shop for serializing/deserializing
14192                         AP & connection security settings over dbus.  Both NM
14193                         and applets should use this to ensure consistent dbus
14194                         API going forwared.
14195
14196 2005-12-15  Robert Love  <rml@novell.com>
14197
14198         Patch by Timo Hoenig  <thoenig@suse.de>:
14199         * src/NetworkManagerDbus.c
14200                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14201                         if HAL jumps off the system bus.  Otherwise libdbus
14202                         (dbus_connection_dispatch) will try to run the filter
14203                         function of our libhal context which is already freed.
14204
14205 2005-12-15  Alexander Shopov  <ash@contact.bg>
14206
14207         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14208
14209 2005-12-14  Dan Williams  <dcbw@redhat.com>
14210
14211         * include/NetworkManager.h
14212           src/NetworkManagerWireless.c
14213                 - Rearrange 802.11 wireless-specific capabilities again
14214
14215         * src/Makefile.am
14216                 - Forgot to add wpa.c/wpa.h to the makefiles
14217
14218         * src/NetworkManagerAP.[ch]
14219                 - Implement access point capabilities and parse the
14220                         WPA/RSN IEs into the capability bitfield
14221                 - Switch the "encrypted" attribute to utilize the bitfield
14222                         and capabilities rather than being independent
14223
14224         * src/NetworkManagerDevice.c
14225                 - (nm_device_wireless_get_activation_ap): break it horribly
14226                         until we can push NMAPSecurity objects into access point
14227                         objects and through the activation chain
14228                 - Stuff WPA & RSN IEs into AP capabilities
14229
14230         * src/nm-dbus-nm.c
14231                 - Take a shot at actually making setActiveDevice work
14232
14233         * src/wpa.[ch]
14234                 - Make the API a bit saner
14235
14236 2005-12-14  Dan Williams  <dcbw@redhat.com>
14237
14238         * include/NetworkManager.h
14239                 - Add 802.11-specific capability for 802.1x key
14240                         management
14241
14242         * src/wpa.[ch]
14243                 - Pull in WPA IE and RSN IE parsing code from
14244                         wpa_supplicant so we can determine access point
14245                         capabilities
14246                 - Move WPA-related constants here from NetworkManagerAP.h
14247                         and NetworkManagerDevice.c
14248
14249         * src/NetworkManagerDevice.c
14250           src/NetworkManagerAP.[ch]
14251                 - Use WPA-related constants from wpa.h
14252
14253 2005-12-14  Dan Williams  <dcbw@redhat.com>
14254
14255         * include/NetworkManager.h
14256                 - Update and split 802.11 wireless-specific capabilities from
14257                         generic device capabilities
14258
14259         * src/NetworkManagerDevice.c
14260           src/NetworkManagerDevicePrivate.h
14261                 - (nm_device_wireless_discover_capabilities): Move 802.11
14262                         wireless-specific capability checks to
14263                         NetworkManagerWireless.c
14264                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14265                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14266
14267         * src/NetworkManagerWireless.[ch]
14268                 - (nm_802_11_wireless_discover_capabilities): Check extended
14269                         802.11 wireless-specific capabilities of the driver
14270
14271 2005-12-14  Robert Love  <rml@novell.com>
14272
14273         Patch from Stefan Scheler <sscheler@suse.de>:
14274         * src/NetworkManagerDevice.c: call backend code to activate and
14275           deactivate NIS.
14276         * src/NetworkManagerSystem.h: add new NIS interfaces.
14277         * src/backends/NetworkManagerDebian.c,
14278           src/backends/NetworkManagerGentoo.c,
14279           src/backends/NetworkManagerRedHat.c,
14280           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14281           support.
14282         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14283
14284 2005-12-14  Dan Williams  <dcbw@redhat.com>
14285
14286         * src/nm-ap-security*.[ch]
14287                 - Add AP security abstractions to NetworkManager
14288
14289         * src/nm-dbus-device.c
14290                 - Begin to parse new format dbus messages from the applet
14291                         and construct an AP security object from the message
14292
14293         * libnm-util/dbus-helpers.c
14294                 - Use message iters so we can append the key as a fixed
14295                         array of bytes, which actually works rather than
14296                         using dbus_message_append_args() as we were before
14297
14298 2005-12-14  Dan Williams  <dcbw@redhat.com>
14299
14300         * src/NetworkManagerDbus.c
14301           gnome/applet/applet-dbus.c
14302                 - Fix up dbus service replacement options.  The applet
14303                         should allow replacement, NM itself should not.
14304
14305 2005-12-13  Robert Love  <rml@novell.com>
14306
14307         * src/named-manager/nm-named-manager.c: Revert earlier commit.
14308           Instead, fail silently if config is NULL by not asserting and not
14309           returning FALSE.  Also, make sure we always fclose() the file.
14310
14311 2005-12-13  Robert Love  <rml@novell.com>
14312
14313         Patch by Stefan Scheler <sscheler@suse.de>:
14314         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
14315            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14316            via DHCP.  Still need the backends to commit the NIS domain name and
14317            and servers to yp.conf as needed.
14318
14319 2005-12-13  Robert Love  <rml@novell.com>
14320
14321         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14322           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14323
14324 2005-12-13  Robert Love  <rml@novell.com>
14325
14326         * src/named-manager/nm-named-manager.c: Don't unref the config until
14327           after we call rewrite_resolv_conf(), because get_last_default_domain()
14328           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
14329           `config != NULL' failed" assertion failures and "Could not commit DNS
14330           changes" warnings.
14331
14332 2005-12-12  Dan Williams  <dcbw@redhat.com>
14333
14334         * libnm-util/dbus-helpers.[ch]
14335           libnm-util/Makefile.am
14336                 - new helper calls to consolidate locations where
14337                         NM's setDevice method is called
14338
14339         * gnome/applet/applet-dbus-devices.c
14340           gnome/applet/wireless-security-option.c
14341           gnome/applet/wso-*
14342                 - Implement dbus message param append function for
14343                         all wireless security options
14344
14345 2005-12-12  Robert Love  <rml@novell.com>
14346
14347         * libnm-util/cipher-wep-passphrase.c,
14348           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14349           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14350           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14351           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14352           When handling keys, we don't care what the sign is.  The compiler
14353           guarantees us that we get our 8-bits, which is all we care about.
14354         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
14355
14356 2005-12-12  Dan Williams  <dcbw@redhat.com>
14357
14358         * gnome/applet/applet-dbus-devices.[ch]
14359           gnome/applet/applet.c
14360           gnome/applet/other-network-dialog.c
14361           gnome/applet/wireless-security-manager.[ch]
14362           gnome/applet/wireless-security-option.[ch]
14363           gnome/applet/wso-*
14364                 - Push the wireless security options further into the applet
14365
14366 2005-12-12  Robert Love  <rml@novell.com>
14367
14368         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14369           return any name servers.  That is perfectly valid.  (Novell #134369).
14370
14371 2005-12-11  Dan Williams  <dcbw@redhat.com>
14372
14373         * gnome/applet/wso-*
14374           gnome/applet/wireless-security-option.*
14375           gnome/applet/Makefile.am
14376                 - split each security option out so we can eventually
14377                         have each one build up their own dbus message
14378                         arguments to send to NM
14379
14380 2005-12-11  Dan Williams  <dcbw@redhat.com>
14381
14382         * Make validation of the key work correctly
14383
14384 2005-12-11  Dan Williams  <dcbw@redhat.com>
14385
14386         * Hook more bits of the Other Network Dialog up to the
14387                 wireless security manager stuff, and restructure
14388                 bits of the dialog so there's less code.
14389
14390 2005-12-10  Dan Williams  <dcbw@redhat.com>
14391
14392         * gnome/applet/Makefile.am
14393                 - Add libnm-util to includes
14394                 - Add libnm-util to link list
14395                 - Add wireless-security-common.* to compile list
14396
14397         * gnome/applet/other-network-dialog.c
14398                 - Convert to using the WirelessSecurityManager code and
14399                         widgets
14400
14401         * gnome/applet/passphrase-dialog.c
14402                 - Comment out references to stuff in the glade file that
14403                         cause runtime errors until it can be fixed up
14404                         to use the WirelessSecurityManager code
14405
14406         * gnome/applet/wireless-applet.glade
14407                 - Rename some widgets
14408                 - Add widgets for the WirelessSecurityManager code
14409                 - Remove passphrase-related stuff since that's now
14410                         handled by the WirelessSecurityManager code
14411
14412 2005-12-10  Dan Williams  <dcbw@redhat.com>
14413
14414         * gnome/applet/applet-dbus-devices.c
14415                 - Print out error message details for dbus pending call callbacks
14416                 - Move nmwa_dbus_update_devices() up
14417
14418         * gnome/applet/applet-dbus-vpn.c
14419                 - Print out error message details for dbus pending call callbacks
14420
14421 2005-12-10  Dan Williams  <dcbw@redhat.com>
14422
14423         * libnm-util/*
14424                 - More fixups
14425                 - Remove cipher-manager.* because we don't need it
14426                 - Forgot to add gnome-keyring-md5 files to compile list
14427
14428 2005-12-09  Dan Williams  <dcbw@redhat.com>
14429
14430         * libnm-util/*
14431           configure.in
14432           Makefile.am
14433                 - Add a utility library for clients of NetworkManager.  It's
14434                         only targetted at applets for the moment, and contains
14435                         a generalized 802.11 cipher framework for different
14436                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
14437
14438 2005-12-09  Robert Love  <rml@novell.com>
14439
14440         * src/NetworkManagerDevice.c: handle error better in
14441           nm_device_set_mode().
14442
14443 2005-12-08  Robert Love  <rml@novell.com>
14444
14445         * include/NetworkManager.h: add WPA capabilities constants
14446         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14447           or WPA2 and add the capabilities bits as appropriate.
14448
14449 2005-12-08  Robert Love  <rml@novell.com>
14450
14451         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14452           NetworkManagerDispatcher.
14453         * configure.in, initscript/SUSE/.cvsignore,
14454           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14455           initscript.
14456
14457 2005-12-08  Robert Love  <rml@novell.com>
14458
14459         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14460
14461 2005-12-08  Robert Love  <rml@novell.com>
14462
14463         * src/NetworkManagerDevice.c: We want to fall back on and default to
14464           IW_MODE_AUTO, not -1, which is more in line with our previous
14465           behavior.  Otherwise, we try to set the wireless mode to -1 in
14466           nm_device_set_mode().
14467
14468 2005-12-07  Robert Love  <rml@novell.com>
14469
14470         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14471           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14472           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14473           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14474           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14475           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
14476           zero.
14477
14478 2005-12-07  Robert Love  <rml@novell.com>
14479
14480         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14481           supplied IP is invalid, fall back to DHCP.
14482
14483 2005-12-07  Dan Williams  <dcbw@redhat.com>
14484
14485         * Convert NETWORK_MODE_* constants to IW_MODE_*
14486         * Make all the get_mode/set_mode functions take and return 'int'
14487         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14488
14489 2005-12-07  Robert Love  <rml@novell.com>
14490
14491         * src/NetworkManagerDevice.c: strncpy() buffer check.
14492         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14493
14494 2005-12-06  Dan Williams  <dcbw@redhat.com>
14495
14496         * gnome/applet/applet-dbus.c
14497                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14498
14499         * gnome/applet/applet-dbus-vpn.c
14500                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14501                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14502                         to TRUE here if stage was ACTIVATED
14503
14504 2005-12-06  Dan Williams  <dcbw@redhat.com>
14505
14506         * Change nm_device_is_* functions to better names:
14507                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14508                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14509
14510 2005-12-06  Dan Williams  <dcbw@redhat.com>
14511
14512         * Change naming of NMDeviceType to something more sensible:
14513                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14514                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14515                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14516
14517 2005-12-06  Dan Williams  <dcbw@redhat.com>
14518
14519         * Move NetworkManager.h -> include/NetworkManager.h
14520         * Split out VPN stuff into include/NetworkManagerVPN.h
14521         * Fix up makefiles to include new location
14522         * Fix up sources to include NetworkManagerVPN.h
14523
14524 2005-12-06  Dan Williams  <dcbw@redhat.com>
14525
14526         Various changes in the applet to move VPN connection "state" -> "stage",
14527         which it actually is.  I'd like to change the signal as well when we
14528         break compat in the near future.
14529
14530 2005-12-06  Dan Williams  <dcbw@redhat.com>
14531
14532         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14533         * initscript/Slackware/rc.networkmanager
14534                 - Cosmetic fix
14535
14536         * src/backends/NetworkManagerSlackware.c
14537                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14538                         interfaces
14539
14540 2005-12-05  Robert Love  <rml@novell.com>
14541
14542         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14543           to free, particularly here as it just barfs.
14544
14545 2005-12-05  Dan Williams  <dcbw@redhat.com>
14546
14547         * gnome/applet/applet-dbus.c
14548                 - Work with dbus 0.6 too
14549
14550 2005-12-03  Dan Williams  <dcbw@redhat.com>
14551
14552         * src/NetworkManagerUtils.[ch]
14553           src/nm-ip4-config.c
14554                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14555                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14556
14557 2005-12-01  Robert Love  <rml@novell.com>
14558
14559         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14560           need a NULL for the '...' parameter, too, to fill the so-called
14561           sentinel.
14562
14563 2005-12-01  Robert Love  <rml@novell.com>
14564
14565         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14566           interface is already gone, so don't call rtnl_link_change() to down
14567           it (which will segfault, anyhow).
14568
14569 2005-11-22  Robert Love  <rml@novell.com>
14570
14571         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14572           gateway is not set, just print a little note.  Configurations without
14573           gateways are valid.
14574
14575 2005-11-22  Robert Love  <rml@novell.com>
14576
14577         * README: update
14578
14579 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
14580
14581         * configure.in: Added Finnish translation to ALL_LINGUAS
14582
14583 2005-11-14  Robert Love  <rml@novell.com>
14584
14585         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
14586           Niemueller <tim@niemueller.de>.
14587
14588 2005-11-08  Dan Williams  <dcbw@redhat.com>
14589
14590         Patch from Bill Moss <bmoss@clemson.edu>
14591         * src/NetworkManagerDevice.c
14592                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
14593                         of nm_policy_schedule_activation_finish() to prevent a
14594                         race condition that causes the link to be dropped
14595
14596 2005-11-08  Dan Williams  <dcbw@redhat.com>
14597
14598         Patch from Bill Moss <bmoss@clemson.edu>
14599         * src/NetworkManagerAPList.c
14600           src/NetworkManagerDevice.c
14601           src/NetworkManagerDbus.c
14602                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
14603                         we get more readable ether/mac addresses
14604
14605 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14606
14607         * gnome/applet/main.c: Don't set the restart command.  This fixes
14608         the issue where the restart command was getting copies of all its
14609         arguments for each time the applet was restarted.
14610
14611 2005-11-02  Robert Love  <rml@novell.com>
14612
14613         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
14614           if the widget state differs from our saved state.  This ensures we
14615           do not enter an endless loop of death and destruction.  Also, this
14616           guarantees us that we enforce the widget state.
14617
14618 2005-11-02  Robert Love  <rml@novell.com>
14619
14620         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
14621         * gnome/applet/applet-dbus-devices.c: invoke the new function
14622           nmwa_enable_wireless_set_active() to ensure that the state of the
14623           'Enable Wireless' checkbox matches the daemon's state.  This is a
14624           concern because the daemon remembers the state.
14625
14626 2005-11-02  Robert Love  <rml@novell.com>
14627
14628         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
14629           Enabled", as checkboxes should be actions/commands not positive
14630           statements, otherwise they are confusing in the unselected case.  See
14631           examples in GNOME HIG, Chapter 6.
14632
14633 2005-11-02  Robert Love  <rml@novell.com>
14634
14635         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
14636           show a list of wireless networks or the wireless devices or the
14637           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
14638           a bad bug: If wireless is disabled and the user picks a wireless
14639           network, NM will switch to the network, only to immediately switch
14640           back, as wireless is disabled.  This also reassures people that NM
14641           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
14642
14643 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14644
14645         * gnome/applet/applet.c:
14646         * gnome/applet/applet.h:
14647         Partial backout of Dan's timeout animation patch.
14648         Timeout IDs cannot legally be 0, so revert the code in place to handle
14649         a timeout ID of 0 to denote the timeout isn't running.
14650
14651 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14652
14653         * src/NetworkManagerPolicy.c:
14654         (nm_policy_device_change_check) Clarify wireless switch nm_info text
14655
14656 2005-10-28  Robert Love  <rml@novell.com>
14657
14658         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
14659           "Import Saved Configuration..." to make it clear that importing is
14660           not the next step, but an option.  As an aside, a nice TODO would be
14661           to move Importing out of the vpn-specific dialog and into the main
14662           property editor, as Importing goes with Adding, but that will require
14663           some rearchitecting of the VPN stuff I suspect.
14664
14665 2005-10-27  Dan Williams  <dcbw@redhat.com>
14666
14667         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
14668         we should replace most of the distro-specific backend code
14669         with libnl stuff.
14670
14671         Get it here:  http://people.suug.ch/~tgr/libnl/
14672
14673         * configure.in
14674           src/Makefile.am
14675                 - Add checks for libnl pkgconfig file
14676                 - Use LIBNL_LIBS & LIBNL_CFLAGS
14677
14678         * src/NetworkManagerSystem.c
14679           src/nm-ip4-config.[ch]
14680                 - Use libnl rather than ioctl() for most things
14681                 - Remove unused functions
14682
14683 2005-10-27  Robert Love  <rml@novell.com>
14684
14685         * src/backends/NetworkManagerSuSE.c: fix warning message text
14686
14687 2005-10-27  Christopher Aillon  <caillon@redhat.com>
14688
14689         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
14690
14691 2005-10-27  Christopher Aillon  <caillon@redhat.com>
14692
14693         * gnome/applet/applet.c: The applet's about dialog can advertise our 
14694         project page <http://www.gnome.org/projects/NetworkManager/>
14695
14696 2005-10-26  Christopher Aillon  <caillon@redhat.com>
14697
14698         * gnome/applet.c: Also use translator credits if we don't have
14699         the new GtkAboutDialog (older versions of GTK+)
14700
14701 2005-10-26  Robert Love  <rml@novell.com>
14702
14703         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
14704           failure; correct usage text for "--no-daemon"
14705
14706 2005-10-25  Dan Williams  <dcbw@redhat.com>
14707
14708         * src/NetworkManagerDevice.c
14709                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
14710                         no scan results
14711                 - (free_process_scan_cb_data): unref the device when freeing results
14712                 - (nm_device_wireless_process_scan_results): free scan results a bit later
14713                         so we don't unref the device underneath ourselves
14714
14715 2005-10-25  Dan Williams  <dcbw@redhat.com>
14716
14717         * Back out 2005-10-24 commit from Tor Krill.  Patch
14718                 causes nameservers never to be removed from named.
14719
14720 2005-10-24  Dan Williams  <dcbw@redhat.com>
14721
14722         Clean up wireless scanning and wireless link probing.
14723
14724         * src/NetworkManagerDevice.c
14725                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
14726                         just see if there's an activation request on the device, and check the
14727                         current link against the activation request access point's ESSID.
14728                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
14729                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
14730                         don't call process_scan_results() on zero-length data
14731                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
14732                         15 seconds (from 10)
14733
14734 2005-10-24  Dan Williams  <dcbw@redhat.com>
14735
14736         Cleanup some applet stuff:
14737
14738         - Animation timeouts.  If NM died while the applet was animating,
14739                 the applet would not hide itself.  This is now fixed.
14740
14741         - Remove some dead code
14742
14743         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
14744                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
14745
14746         - Track animation timeout using a gboolean rather than the timeout's
14747                 ID, since timeout IDs can legally be 0.
14748
14749 2005-10-24  Dan Williams  <dcbw@redhat.com>
14750
14751         * src/backends/interface_parser.c
14752                 - Add void to function declarations that need it
14753                         to match patch from Engin AYDOGAN
14754
14755         * src/backends/interface_parser.h
14756                 - Remove unused prototype for ifparser_interfaces()
14757
14758         Patch from Engin AYDOGAN <engin@bzzzt.biz>
14759         * src/backends/interface_parser.h:
14760                 - Compile fixes for gcc 4.0.2 (add void)
14761
14762 2005-10-24  Dan Williams  <dcbw@redhat.com>
14763
14764         Patch from Tor Krill <tor@krill.nu>
14765         * src/named-manager/nm-named-manager.c
14766                 - Write more than just the first nameserver to /etc/resolv.conf
14767                 - Write out valid /etc/resolv.conf on exit
14768
14769 2005-10-21  Christopher Aillon  <caillon@redhat.com>
14770
14771         * gnome/applet/applet-dbus-vpn.c:
14772         Get rid of spurious newlines in debug console output
14773
14774 2005-10-21  Christopher Aillon  <caillon@redhat.com>
14775
14776         * src/backends/NetworkManagerGentoo.c:
14777         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
14778
14779 2005-10-20  Robert Love  <rml@novell.com>
14780
14781         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
14782           direct comparison of floating point values, which is never correct.
14783           Also some misc. cleanup.
14784
14785 2005-10-19  Robert Love  <rml@novell.com>
14786
14787         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
14788
14789 2005-10-19  Robert Love  <rml@novell.com>
14790
14791         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
14792           sensitivity of the buttons.  Specificaly, do the right thing if
14793           there are no entries.
14794
14795 2005-10-19  Christopher Aillon  <caillon@redhat.com>
14796
14797         * configure.in: Update check for adequate wireless-tools
14798         with an AC_TRY_COMPILE for the new symbols we use.
14799
14800 2005-10-19  Dan Williams  <dcbw@redhat.com>
14801
14802         * src/NetworkManagerDevice.c
14803                 - (process_scan_results): don't drop the last (or only)
14804                         access point we see
14805
14806 2005-10-19  Christopher Aillon  <caillon@redhat.com>
14807
14808         * src/backends/NetworkManagerSlackware.c:
14809         Patch from Nico <lordllucifer@gmail.com>
14810                 - Update the Slackware backend.
14811
14812 2005-10-18  Christopher Aillon  <caillon@redhat.com>
14813
14814         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
14815         if we've got GLib 2.8.0
14816
14817 2005-10-18  Robert Love  <rml@novell.com>
14818
14819         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
14820           function nm_schedule_state_change_signal_broadcast() when we
14821           deactivate a device, too.
14822
14823 2005-10-18  Robert Love  <rml@novell.com>
14824
14825         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
14826           be used uninitialized.
14827
14828 2005-10-18  Christopher Aillon  <caillon@redhat.com>
14829
14830         * test/libnm_glib_test.c: Test unregistering, too.
14831
14832 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14833
14834         * configure.in: Bump to 0.5.0
14835
14836 2005-10-17  Dan Williams  <dcbw@redhat.com>
14837
14838         * NetworkManager.h
14839                 - Remove WPA-related constants so they aren't part of the
14840                         upcoming release.
14841
14842 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14843
14844         * gnome/applet/applet.c:
14845         * gnome/applet/applet.h:
14846         Desensitize the 'Connection Information' menu item when there is
14847         no active connection.
14848
14849 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14850
14851         * gnome/libnm_glib/libnm_glib.c:
14852         Make libnm_glib_unregister_callback () actually unregister the callback
14853
14854 2005-10-17  Robert Love  <rml@novell.com>
14855
14856         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
14857           two seconds -- tries is updated every 1/10 of a second, not every
14858           second..
14859
14860 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14861
14862         * gnome/applet/applet-dbus-info.c:
14863         Let D-BUS know that we haven't handled a message when we haven't.
14864
14865 2005-10-17  Robert Love  <rml@novell.com>
14866
14867         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
14868           in order to remain 64-bit clean.
14869
14870 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14871
14872         * gnome/applet/applet-dbus-info.c:
14873         Find network encryption keys asynchronously
14874
14875 2005-10-17  Robert Love  <rml@novell.com>
14876
14877         * src/backends/NetworkManagerDebian.c,
14878           src/backends/NetworkManagerRedHat,
14879           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
14880           comment delimiter.
14881
14882 2005-10-17  Robert Love  <rml@novell.com>
14883
14884         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
14885           "/etc"
14886
14887 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14888
14889         * src/NetworkManagerDevice.c: (process_scan_results)
14890         Fix logic that checks to see whether we have an ESSID.
14891
14892 2005-10-15  Dan Williams  <dcbw@redhat.com>
14893
14894         Move scanning code into NetworkManager rather than use iwlib's
14895         iw_scan() function, so that we can figure out AP capabilities.
14896
14897         * NetworkManager.h
14898                 - Add AP capability bits
14899
14900         * src/NetworkManagerAP.[ch]
14901                 - Add capability field to NMAccessPoint structure
14902                 - Add WPA & RSN Information Element fields and accessor
14903                         functions to NMAccessPoint
14904
14905         * src/NetworkManagerDevice.c
14906                 - Remove usage of iw_scan
14907                 - Add scanning code to NetworkManager rather than use
14908                         iw_scan() from iwlib
14909
14910         * src/NetworkManagerUtils.[ch]
14911                 - (nm_dispose_scan_results): remove, unused
14912
14913 2005-10-14  Christopher Aillon  <caillon@redhat.com>
14914
14915         * gnome/libnm_glib/libnm_glib.c:
14916         * gnome/libnm_glib/libnm_glib.h:
14917         Use guint instead of gint for callback IDs.
14918
14919 2005-10-12  Christopher Aillon  <caillon@redhat.com>
14920
14921         * gnome/applet/applet.c:
14922         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
14923         every 1000ms.  It will unconditionally call nmwa_update_state which
14924         kills the existing animation timeout and registers a new one with a
14925         callback to draw a new frame every 100ms.  There are 11 connecting
14926         icon frames, so the last 2 frames kept getting dropped.  Only reset
14927         the animation timeout if we aren't animating.
14928
14929 2005-10-11  Dan Williams  <dcbw@redhat.com>
14930
14931         * gnome/applet/applet-dbus-devices.c
14932                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
14933                         We want to grab the product & vendor from net.physical_dev
14934                         rather than info.parent.
14935
14936 2005-10-11  Dan Williams  <dcbw@redhat.com>
14937
14938         * src/NetworkManagerDevice.c
14939                 - Use the driver's WE version for scanning rather than
14940                         the WE version NM was compiled with.  Fixes random
14941                         crashes in iw_scan () in iwlib.
14942
14943 2005-10-10  Dan Williams  <dcbw@redhat.com>
14944
14945         * Remove nm_system_load_device_modules() from backend files
14946                 and from NetworkManager.c
14947
14948 2005-10-10  Dan Williams  <dcbw@redhat.com>
14949
14950         * src/NetworkManagerPolicy.c
14951                 - Fix some bugs introduced by the capabilities patch
14952
14953 2005-10-10  Dan Williams  <dcbw@redhat.com>
14954
14955         * gnome/applet/applet-dbus-info.c
14956                 - (nmi_dbus_get_network_key): hide the menu when putting up
14957                         the keyring dialog.  (not sure if the code is right...)
14958
14959 2005-10-09  Dan Williams  <dcbw@redhat.com>
14960
14961         Patch from Bill Moss <bmoss@clemson.edu>
14962         * src/NetworkManagerDevice.c
14963                 - (nm_device_set_user_key_for_network): don't try to set auth
14964                         mode on the AP from the allowed list if it's NULL
14965
14966 2005-10-09  Dan Williams  <dcbw@redhat.com>
14967
14968         * Replace the "driver support level" stuff with capabilities.  The
14969                 capability field is a bitfield that is more flexible than the
14970                 old driver support level thing.  It's mostly so we can easily
14971                 figure out what supports WPA and what doesn't, but should be
14972                 quite useful later.
14973
14974 2005-10-09  Dan Williams  <dcbw@redhat.com>
14975
14976         * test/nmtest.c
14977                 - Removed
14978
14979         * test/nm-tool.c
14980           test/Makefile.am
14981                 - Added new "nm-tool" tool that gives quite a bit more
14982                         information
14983
14984 2005-10-07  Robert Love  <rml@novell.com>
14985
14986         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
14987           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
14988           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
14989           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
14990           appropriate
14991
14992 2005-10-07  Robert Love  <rml@novell.com>
14993
14994         * configure.in: Change our compile flags for the betterment of mankind.
14995           Add "-Wstrict-prototypes" because we comply anyhow and missing a
14996           prototype is very bad on 64-bit platforms as types default to int but
14997           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
14998           "-Wmissing-declarations" to warn if we define an exported function
14999           but fail to put it in a header.
15000
15001 2005-10-07  Robert Love  <rml@novell.com>
15002
15003         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15004           by the name nm_update_device_wireless_timeouts() and once tried,
15005           without success, to steal my pet turtle.
15006
15007 2005-10-07  Robert Love  <rml@novell.com>
15008
15009         * Cleanup prototypes: put some functions in header files and mark
15010           others as 'static' -- feel free to invert
15011         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15012           nm_vpn_manager_vpn_connection_list_copy()
15013         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15014           nm_vpn_service_get_dbus_connection()
15015         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15016           nm_vpn_manager_vpn_connection_list_copy()
15017         * src/vpn-manager/nm-vpn-service.c: make
15018           nm_vpn_service_act_request_failed() and
15019           nm_vpn_service_stage2_daemon_wait() static
15020         * src/vpn-manager/nm-vpn-service.h: add prototype for
15021           nm_vpn_service_get_dbus_connection()
15022
15023 2005-10-06  Christopher Aillon  <caillon@redhat.com>
15024
15025         * gnome/applet/applet.c:
15026         * gnome/applet/applet.h:
15027         * gnome/applet/icons/Makefile.am:
15028         Convey information about the current connection stage in the
15029         icons themselves instead of creating a separate progress bar.
15030
15031 2005-10-04  Robert Love  <rml@novell.com>
15032
15033         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15034           convert an ether_addr structure's MAC into a string, because the
15035           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15036           versus 07:3B:04, while the former will not.
15037
15038 2005-10-04  Robert Love  <rml@novell.com>
15039
15040         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15041           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15042           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15043           default route in the 'Connection Information' dialog, send primary
15044           and secondary name servers in in "getProperties" DBUS method, add
15045           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
15046           secondary domain name servers are crucial pieces of information
15047           that a user might need in debugging a network problem.
15048
15049 2005-10-04  Robert Love  <rml@novell.com>
15050
15051         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15052           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15053           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15054           default route in the 'Connection Information' dialog, send default
15055           route in "getProperties" DBUS method, add network_device_set_route(),
15056           and network_device_get_route().  The Gateway is a crucial piece of
15057           connection-related information that a user might need in debugging a
15058           network problem.
15059
15060 2005-10-03  Robert Love  <rml@novell.com>
15061
15062         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15063           NULL.
15064
15065 2005-10-02  Dan Williams  <dcbw@redhat.com>
15066
15067         * Shorten time taken to sleep by fastpathing bits of device deactivation
15068                 necessary for sleep.
15069
15070         * Fix issue where deactivating a device might deactivate the active
15071                 VPN connection, even if the VPN was not using the device.
15072
15073 2005-10-02  Dan Williams  <dcbw@redhat.com>
15074
15075         * gnome/applet/applet.c
15076                 - Adjust signal strength -> icon mapping values slightly
15077                         (so that 51% signal doesn't show a 75% icon) by adding
15078                         5% to the values. ex: > 5% now shows 25% icon, > 30%
15079                         shows 50% icon, etc.
15080
15081 2005-09-29  Robert Love  <rml@novell.com>
15082
15083         * src/NetworkManager.c: removed unused variable.
15084
15085 2005-09-28  Dan Williams  <dcbw@redhat.com>
15086
15087         Support for named + DBus, using Red Hat DBus patches for named.  You
15088         can find those patches here, with "dbus" in the patch's filename:
15089
15090                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15091
15092         Don't forget the named dbus service file either.
15093
15094         Instead of writing a config file and spawing a named process, NM will
15095         use an already-running dbus-enabled named if it finds one.  NM will
15096         update named's forwarder configuration on the fly using dbus.
15097
15098         If there is no dbus-enabled named running, NM will automatically fall
15099         back to writing the most-recent DNS server information to /etc/resolv.conf
15100         and calling nm_system_update_dns() to kick the system's resolver.
15101
15102         Accordingly, all named-related configure-time options have been removed.
15103
15104 2005-09-26  Robert Love  <rml@novell.com>
15105
15106         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15107           ISDN support!
15108         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15109           bug in error path if "ASKPASSWORD" is "no".
15110
15111 2005-09-26  Robert Love  <rml@novell.com>
15112
15113         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15114           comment in /etc/resolv.conf -- ';' is not.
15115
15116 2005-09-19  Dan Williams  <dcbw@redhat.com>
15117
15118         * src/backends/NetworkManagerRedHat.c:
15119         * src/backends/NetworkManagerDebian.c:
15120         * src/backends/NetworkManagerSlackware.c:
15121         * src/backends/NetworkManagerGentoo.c:
15122         * src/backends/NetworkManagerSUSE.c:
15123         Fix invocations of "/sbin/ip address" to use short form instead
15124
15125 2005-09-19  Christopher Aillon  <caillon@redhat.com>
15126
15127         * src/nm-dbus-device.c: Don't assert when getting
15128         addresses of a not yet connected interface.
15129
15130         * gnome/applet/applet.c: Free icons if loading fails.
15131         Use translator-credits so translators can make themselves known.
15132
15133 2005-09-15  Christopher Aillon  <caillon@redhat.com>
15134
15135         * src/NetworkManagerAP.c:
15136         * src/NetworkManagerAP.h:
15137         * src/NetworkManagerDevice.c:
15138         Set a blacklist for certain common manufacturer default ESSIDs:
15139         APs with these ESSIDs are extremely likely to be completely
15140         different networks: connecting to one should not make NM
15141         auto-connect to every other AP with the same default ESSID.
15142
15143 2005-09-12  Christopher Aillon  <caillon@redhat.com>
15144
15145         * gnome/applet/wireless-applet.glade:
15146         The passphrase entry should also activate the default
15147
15148         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15149
15150         * gnome/applet/applet-dbus-devices.c:
15151         * gnome/applet/applet.c:
15152         * gnome/applet/nm-device.c:
15153         * gnome/applet/nm-device.h:
15154         * src/NetworkManagerUtils.c:
15155         * src/NetworkManagerUtils.h:
15156         * src/nm-dbus-device.c:
15157         I've got a fever, and the only cure for it is less ioctl.
15158         Make NM push IP data rather than make the applet open a socket
15159         to the device.
15160
15161 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15162
15163         * gnome/applet/applet.c:
15164         * gnome/applet/applet-dbus-devices.c:
15165         * gnome/applet/applet-dbus-info.c:
15166         * gnome/applet/passphrase-dialog.c:
15167         * gnome/libnm_glib/libnm_glib.c:
15168         * gnome/vpn-properties/nm-vpn-properties.c:
15169         * src/autoip.c:
15170         * src/backends/NetworkManagerRedHat.c:
15171         * src/named-manager/nm-named-manager.c:
15172         * src/NetworkManagerAPList.c:
15173         * src/NetworkManager.c:
15174         * src/NetworkManagerDbus.c:
15175         * src/NetworkManagerDevice.c:
15176         * src/NetworkManagerPolicy.c:
15177         * src/NetworkManagerSystem.c:
15178         * src/nm-dbus-device.c:
15179         * src/nm-dbus-nm.c:
15180         * src/vpn-manager/nm-vpn-manager.c:
15181         * src/vpn-manager/nm-vpn-service.c:
15182         * test/libnm_glib_test.c:
15183         * test/nminfotest.c:
15184         * test/nmtestdevices.c:
15185         Fix a bunch of 'unused variable' compiler warnings
15186
15187         * NetworkManager.h:
15188         * gnome/applet/applet-dbus-info.c:
15189         * gnome/applet/applet-dbus-info.h:
15190         * gnome/applet/applet.c:
15191         * gnome/applet/applet.h:
15192         * src/NetworkManager.c:
15193         * src/NetworkManagerDbus.c:
15194         * src/NetworkManagerDbus.h:
15195         * src/NetworkManagerDevice.c:
15196         * src/NetworkManagerDevice.h:
15197         * src/NetworkManagerMain.h:
15198         * src/NetworkManagerWireless.c:
15199         * src/NetworkManagerWireless.h:
15200         * src/nm-dbus-nm.c:
15201         Make NetworkManager be smart about how frequently to scan
15202         based on its current state.  Remove the UI for choosing when
15203         to scan.  Scanning still may disabled completely by the user
15204         via the "Wireless Enabled" menu item.
15205
15206 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15207
15208         * gnome/applet/applet.c:
15209         Also overlay the vpn connecting icons onto the wired icon,
15210         when appropriate.
15211
15212         * gnome/vpn-properties/nm-vpn-properties.glade:
15213         Clean up a few strings to use better grammar and proper casing.
15214
15215 2005-09-08  Christopher Aillon  <caillon@redhat.com>
15216
15217         * gnome/applet/vpn-connection.c:
15218         * gnome/applet/vpn-connection.h:
15219         Add nmwa_vpn_connection_is_activating ()
15220
15221         * gnome/applet/applet.c:
15222         * gnome/applet/applet.h:
15223         * gnome/applet/icons/nm-vpn-connecting*.png:
15224         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15225         the user know something's happening between clicking the VPN item and it
15226         actually being connected.
15227
15228 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15229
15230         * gnome/applet/applet-dbus-info.c: need to free attributes in the
15231         failure case as well.
15232
15233 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
15234
15235         * gnome/panel/eggtrayicon.[ch]:
15236         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15237
15238 2005-09-07  Dan Williams  <dcbw@redhat.com>
15239
15240         Patch from Bill Moss <bmoss@clemson.edu>
15241         * src/applet-dbus.c
15242                 - (nmwa_dbus_filter): strip whitespace from beginning
15243                         and end of VPN login banner
15244
15245 2005-09-07  Dan Williams  <dcbw@redhat.com>
15246
15247         * The great VPN Manager rewrite of 2005
15248
15249 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15250
15251         * gnome/applet/menu-items.c:
15252         * gnome/applet/nm-device.c:
15253         * gnome/applet/wireless-network.c:
15254         * gnome/libnm_glib/libnm_glib.c:
15255         * src/NetworkManagerDbusUtils.c:
15256         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15257         g_malloc0 doesn't return NULL
15258
15259 2005-09-06  Dan Williams  <dcbw@redhat.com>
15260
15261         Patch from Tomislav Vujec <tvujec@redhat.com>
15262         * src/NetworkManagerDevice.c
15263                 - (nm_get_device_by_udi): don't return a device when we
15264                         actually didn't find what we were looking for
15265
15266 2005-09-06  Christopher Aillon  <caillon@redhat.com>
15267
15268         * gnome/applet/applet-dbus-devices.c:
15269         * gnome/applet/applet-dbus-devices.h:
15270         * gnome/applet/applet-dbus.c:
15271         * src/NetworkManagerDbus.c:
15272         * src/NetworkManagerDbus.h:
15273         * src/NetworkManagerDevice.c:
15274         * src/nm-dbus-device.c:
15275         Make NM push updates about active device strength when it changes,
15276         rather than having the applet poll every 2s.
15277
15278 2005-09-05  Christopher Aillon  <caillon@redhat.com>
15279
15280         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15281         network_device_set_strength
15282
15283 2005-09-04  Dan Williams  <dcbw@redhat.com>
15284
15285         Patch from Bill Nottingham <notting@redhat.com>
15286         * src/NetworkManagerDevice.c
15287                 - (nm_device_activation_cancel): reset the quit_activation flag
15288
15289 2005-09-04  Dan Williams  <dcbw@redhat.com>
15290
15291         * src/nm-activation-request.c
15292                 - (nm_act_request_unref): actually free the structure,
15293                         which we didn't seem to be doing before
15294
15295 2005-09-04  Dan Williams  <dcbw@redhat.com>
15296
15297         Patch from John Palmieri <johnp@redhat.com>
15298         * gnome/applet/applet-dbus-devices.c
15299                 - Fix up unreffing of DBusMessage objects
15300
15301 2005-09-04  Dan Williams  <dcbw@redhat.com>
15302
15303         Patch from John Palmieri <johnp@redhat.com>
15304         * gnome/applet/nm-device.c
15305                 - (nm_device_unref): clear network_device's memory _before_ freeing it
15306
15307 2005-09-02  Christopher Aillon  <caillon@redhat.com>
15308
15309         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15310
15311 2005-09-02  Bill Nottingham  <notting@redhat.com>
15312
15313         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15314
15315 2005-09-01  Dan Williams  <dcbw@redhat.com>
15316
15317         * src/NetworkManager.c
15318                 - (nm_remove_device_from_list): rename to nm_remove_device
15319                 - (nm_hal_device_removed): call nm_remove_device()
15320
15321         * src/NetworkManagerDevice.c
15322                 - Change the NMWirelessScanCB member 'reschedule' which
15323                         wasn't used to 'force' to indicate that we need to
15324                         force a scan when adding a device
15325
15326         * src/nm-dbus-nm.c
15327                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15328                         from the device list
15329                 - (nm_dbus_nm_wake): Re-add all devices to the device list
15330
15331 2005-09-01  Robert Love  <rml@novell.com>
15332
15333         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15334           and the check "!iface" in the error case is probably never true.
15335
15336 2005-09-01  Dan Williams  <dcbw@redhat.com>
15337
15338         Patch from Bill Nottingham <notting@redhat.com>
15339         * src/backends/NetworkManagerRedHat.c
15340                 - Add initial dialup support to Red Hat/Fedora backend
15341
15342 2005-09-01  Dan Williams  <dcbw@redhat.com>
15343
15344         * gnome/applet/applet-dbus-devices.c
15345                 - Sort both wireless networks and devices again, which got
15346                         broken when removing threading
15347
15348 2005-09-01  Christopher Aillon  <caillon@redhat.com>
15349
15350         * gnome/applet/applet.c:
15351         Only show the "Stop/Start All Wireless Devices" menuitem
15352         if we actually have wireless devices.
15353
15354         * gnome/applet/applet-dbus-info.c:
15355         * gnome/applet/applet.c:
15356         * gnome/applet/other-network-dialog.c:
15357         * gnome/applet/vpn-password-dialog.c:
15358         Drop the gtk_dialog_run () calls in favor of connecting to
15359         "response" signals, needed now that the applet is not threaded.
15360
15361 2005-08-31  Dan Williams  <dcbw@redhat.com>
15362
15363         Patch from Bill Moss <bmoss@clemson.edu>
15364         * src/NetworkManagerDevice.c
15365                 - (nm_device_wireless_scan): fix scan timeout values
15366
15367 2005-08-30  Dan Williams  <dcbw@redhat.com>
15368
15369         * gnome/applet/wireless-applet.glade
15370                 - HIG-ify the Other Wireless Networks dialog a bit more
15371                 - Fix some potential segfaults in the info dialog
15372
15373 2005-08-30  Dan Williams  <dcbw@redhat.com>
15374
15375         * gnome/applet/applet-dbus-devices.c
15376                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15377
15378 2005-08-30  Dan Williams  <dcbw@redhat.com>
15379
15380         * gnome/applet/applet-dbus.[ch]
15381                 - Remove all the nmwa_dbus_call_method_xxxx functions since
15382                         they weren't being used anyway
15383
15384 2005-08-30  Bastien Nocera  <hadess@hadess.net>
15385
15386         * test/nmtestdevices.c: (print_usage), (main):
15387         Check the number of arguments, and fix a typo
15388
15389 2005-08-29  Dan Williams  <dcbw@redhat.com>
15390
15391         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15392         * gnome/applet/applet.c
15393                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15394
15395 2005-08-29  Dan Williams  <dcbw@redhat.com>
15396
15397         * gnome/applet/*
15398                 - Don't use threads any more.  Anything that blocks
15399                         (like gtk_dialog_run()) will  have to get fixed up which
15400                         should happen quickly.  We really only had threads to make
15401                         the animation smooth, and when everything got converted over
15402                         to DBus Pending Calls, the need for threads kind of went away
15403
15404 2005-08-29  Christopher Aillon  <caillon@redhat.com>
15405
15406         * gnome/applet/applet.c: Draw VPN connections as radio items
15407         since we don't yet support multiple VPNs.
15408         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15409         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15410
15411 2005-08-29  Dan Williams  <dcbw@redhat.com>
15412
15413         Patch from j@bootlab.org
15414         - Make --without-named work
15415         - Make --with-dhcdbd work correctly
15416
15417 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
15418
15419         * configure.in: Added "ca" to ALL_LINGUAS.
15420
15421 2005-08-26  Christopher Aillon  <caillon@redhat.com>
15422
15423         * Fix up VPN state handling between the applet and NetworkManager,
15424                 so that the applet doesn't show a VPN as connected when one
15425                 really is not
15426                         - The applet no longer has a pointer to the active VPN's
15427                                 name, but tracks each VPNs state individually
15428                         - NM no longer has a "getActiveVPNConnection" method
15429                         - NM no longer broadcasts the "VPNConnectionChange" signal
15430                         - NM now broadcasts a "VPNConnectionStateChange" signal
15431                                 whenever the state of a VPN changes
15432
15433 2005-08-26  Dan Williams <dcbw@redhat.com>
15434
15435         * gnome/applet/applet-dbus-devices.c
15436           gnome/applet/applet-dbus-vpn.c
15437                 - Remove calls to dbus_pending_call_ref() because we already
15438                         "own" the pending call
15439                 - Remove calls to dbus_pending_call_get_completed() because
15440                         when we are in the callback, the pending call is completed
15441                         by definition
15442
15443 2005-08-22  Dan Williams <dcbw@redhat.com>
15444
15445         Patch by Bill Moss <bmoss@clemson.edu>
15446         * src/dhcp-manager/nm-dhcp-manager.c
15447                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15448                         some time to send out a RELEASE if they like
15449
15450 2005-08-22  Dan Williams <dcbw@redhat.com>
15451
15452         Noticed by Bill Moss <bmoss@clemson.edu>
15453         * src/NetworkManagerDbus.c
15454                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15455                         instead of just cancelling its activation
15456
15457         * src/NetworkManagerDevice.c
15458                 - (nm_device_deactivate): some small cleanups
15459                 - (nm_device_set_user_key_for_network): deactivate the device
15460                         instead of just cancelling its activation
15461
15462 2005-08-22  Dan Williams <dcbw@redhat.com>
15463
15464         Noticed by Bill Moss <bmoss@clemson.edu>
15465         * src/NetworkManagerDevice.c
15466                 - (nm_device_wireless_scan): fix scan timeout, we were
15467                         waiting way too long for scans to complete
15468
15469 2005-08-22  Dan Williams <dcbw@redhat.com>
15470
15471         Patch from j@bootlab.org:
15472         * src/backends/NetworkManagerDebian.c
15473                 - Make the Debian backend work for static IP again
15474
15475 2005-08-20  Christopher Aillon  <caillon@redhat.com>
15476
15477         * gnome/applet/other-network-dialog.c:
15478         The "Create New Network" and "Connect to Other Network"
15479         dialogs share alot of code, but shouldn't share a window
15480         title.  Give them different ones.
15481
15482         * gnome/applet/wireless-applet.glade:
15483         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15484         Some more minor UI tweaks.
15485
15486 2005-08-19  Christopher Aillon  <caillon@redhat.com>
15487
15488         * gnome/applet/other-network-dialog.c:
15489         * gnome/applet/wireless-applet.glade:
15490         Also need mnemonic widgets, and underline enabled.
15491
15492 2005-08-19  Dan Williams <dcbw@redhat.com>
15493
15494         * vpn-daemons/vpnc/nm-vpnc-service.c
15495                 - (vpnc_watch_cb): remove no-longer-relevant comment
15496                 - (write_config_option): new function, helper to write
15497                         config options to vpnc's stdin
15498                 - (nm_vpnc_config_write): use the new helper, make the
15499                         code shorter
15500
15501 2005-08-19  Christopher Aillon <caillon@redhat.com>
15502
15503         * gnome/applet/passphrase-dialog.c:
15504         * gnome/applet/wireless-applet.glade:
15505         Make the passphrase dialog response based, and treat
15506         responses other than OK (such as Esc, [X]) as a cancel.
15507
15508 2005-08-18  Christopher Aillon <caillon@redhat.com>
15509
15510         * initscript/Gentoo/NetworkManager:
15511         * initscript/RedHat/NetworkManager:
15512         * initscript/RedHat/NetworkManagerDispatcher:
15513         * initscript/SUSE/networkmanager:
15514         CVS remove these in place of .in replacements
15515
15516         * configure.in:
15517         * initscript/Gentoo/NetworkManager.in:
15518         * initscript/RedHat/NetworkManager.in:
15519         * initscript/RedHat/NetworkManagerDispatcher.in:
15520         * initscript/SUSE/networkmanager.in:
15521         These scripts now are generated so they work still when
15522         NM is built using a bindir other than /usr/bin
15523
15524 2005-08-18  Dan Williams <dcbw@redhat.com>
15525
15526         * gnome/applet/main.c
15527                 - Revert previous change for --no-session since
15528                         --sm-disable does the same thing
15529
15530 2005-08-18  Dan Williams <dcbw@redhat.com>
15531
15532         * gnome/applet/applet-dbus-info.c
15533                 - (nmi_dbus_create_error_message): new function
15534                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15535                         functions.  Also don't check for both device _and_ network before
15536                         asking for a user's key, because we may not have gotten all our
15537                         networks back from NM quite yet (due to the dbus pending calls
15538                         coming in later).  Fixes a hang in NM/nm-applet.
15539
15540         * src/NetworkManagerDbus.c
15541                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15542                         slightly more sane manner, even though we are still broken for
15543                         certain other error conditions.
15544                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15545                         to the info-daemon too
15546
15547         * src/NetworkManagerDevice.c
15548                 - Fix some debug messages to be info messages instead
15549
15550 2005-08-18  Dan Williams <dcbw@redhat.com>
15551
15552         * gnome/applet/main.c
15553                 - Add new "--no-session" parameter that disables applet
15554                         session management, ie for testing
15555
15556 2005-08-18  Christopher Aillon <caillon@redhat.com>
15557
15558         * gnome/applet/other-network-dialog.c:
15559         * gnome/applet/wireless-applet.glade: More mnemonics
15560
15561 2005-08-17  Robert Love  <rml@novell.com>
15562
15563         * initscript/SUSE/networkmanager: update
15564
15565 2005-08-17  Dan Williams  <dcbw@redhat.com>
15566
15567         * Tag NM_0_4_1_RELEASE
15568
15569 2005-08-17  Christopher Aillon  <caillon@redhat.com>
15570
15571         * gnome/applet/applet.c: More translatable string cleanup
15572
15573
15574 2005-08-17  Dan Williams  <dcbw@redhat.com>
15575
15576         * gnome/applet/applet-dbus-info.c
15577                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15578                         from the dbus message, which tells us to unconditionally
15579                         ask the user for a new key.  Otherwise, we pull the key from
15580                         the keyring and return it.  If we fail to get the key from the
15581                         keyring, we ask the user for a new key.
15582                 - (nmi_dbus_get_network_key): new function to grab the key for
15583                         an essid from the keyring.
15584                 - (nmi_dbus_get_network_properties): don't access the keyring here.
15585                         Also, don't return any key in the dbus message.
15586
15587         * src/NetworkManagerDbus.[ch]
15588                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
15589                         indicate that we unconditionally want a new key.  This function
15590                         is now also used to get keys from the info-daemon which are
15591                         pre-stored, not just for asking the user for a new key.  The
15592                         "new_key" parameter indicates whether or not we wish to ask the
15593                         user for a new key.
15594                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
15595                         info-daemon in the return message, so use NULL instead.  The
15596                         key will be filled in at connect time by calling
15597                         nm_dbus_get_user_key_for_network()
15598
15599         * src/NetworkManagerDevice.c
15600                 - (nm_device_wireless_configure): update for "new_key" param to
15601                         nm_dbus_get_user_key_for_network().  We initially set new_key
15602                         to FALSE to see if we have a stored key in the info-daemon, but
15603                         if the connection is unsuccessful at this stage we request a
15604                         new one
15605
15606 2005-08-17  Dan Williams  <dcbw@redhat.com>
15607
15608         * gnome/applet/icons/nm-no-connection.png
15609           gnome/applet/icons/nm-device-wired.png
15610                 - Use Diana's new RJ45 connector icons
15611
15612 2005-08-17  Dan Williams  <dcbw@redhat.com>
15613
15614         * src/NetworkManagerPolicy.c
15615                 - (nm_policy_device_change_check): clarify switching rules if
15616                         both new and old devices are valid; mainly, don't switch
15617                         away from user-requested wireless connection back to a wired
15618                         one
15619
15620 2005-08-17  Dan Williams  <dcbw@redhat.com>
15621
15622         * gnome/applet/Makefile.am
15623                 - Relocate the applet to /usr/bin since it is no longer
15624                         executed by anything, but directly by the user
15625
15626 2005-08-17  Dan Williams  <dcbw@redhat.com>
15627
15628         Patch from Bill Moss <bmoss@clemson.edu>
15629
15630         * gnome/applet/applet-dbus-info.[ch]
15631                 - (nmi_save_network_info): save timestamp for network if it
15632                         was a change requested by the user
15633                 - (nmi_dbus_update_network_info): get user_requested from dbus
15634                         message and pass to nmi_save_network_info()
15635
15636         * gnome/applet/applet.c
15637                 - (nmwa_update_network_timestamp): remove
15638                 - (nmwa_menu_item_activate): don't set timestamp on networks
15639                         here, only after a successful connect in nmi_save_network_info()
15640
15641         * src/NetworkManagerDbus.[ch]
15642                 - (nm_dbus_update_network_info): pass user_requested into the 
15643                         dbus message
15644
15645         * src/NetworkManagerPolicy.c
15646                 - (nm_policy_activation_finish): pass user_requested to
15647                         nm_dbus_update_network_info()
15648
15649 2005-08-16  Robert Love  <rml@novell.com>
15650
15651         * gnome/applet/applet.c: Better "Dial Up" menu item.
15652
15653 2005-08-16  Robert Love  <rml@novell.com>
15654
15655         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
15656           "Connection Information" menu item.
15657
15658 2005-08-16  Dan Williams  <dcbw@redhat.com>
15659
15660         Patch from j@bootlab.org
15661         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
15662
15663         * configure.in: allow specifying the path to dhcdbd
15664
15665 2005-08-16  Robert Love  <rml@novell.com>
15666
15667         Patch from j@bootlab.org
15668         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
15669           src/backends/interface_parser.h: Debian dialup support.
15670
15671 2005-08-16  Christopher Aillon  <caillon@redhat.com>
15672
15673         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
15674         * gnome/applet/applet.c: Add some mnemonics for VPNC
15675
15676         * vpn-daemons/.cvsignore: fix this up a little bit
15677
15678 2005-08-16  Robert Love  <rml@novell.com>
15679
15680         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
15681           support.
15682
15683 2005-08-16  Christopher Aillon  <caillon@redhat.com>
15684
15685         * gnome/applet/applet.c: Split markup out of translatable strings
15686         and clean up logic a little bit.  (fixes #309012)
15687
15688 2005-08-15  Christopher Aillon  <caillon@redhat.com>
15689
15690         * gnome/vpn-properties/nm-vpn-properties.c:
15691         * gnome/vpn-properties/nm-vpn-ui-interface.h:
15692         * vpn-daemons/vpnc/properties/nm-vpnc.c:
15693         Makeshift fix to remove newlines from translatable strings.
15694         Note that we now return an allocated string, so callers of
15695         get_confirmation_details () must now call g_free () on the
15696         result. (fixes #309033).
15697
15698 2005-08-12  Robert Love  <rml@novell.com>
15699
15700         * gnome/applet/applet-dbus.c: remove newlines from translatable
15701           strings--not needed here anyway. (fix b.g.o #309011)
15702         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
15703
15704 2005-08-11  Robert Love  <rml@novell.com>
15705
15706         * gnome/applet/applet.c: mark string as translatable.
15707
15708 2005-08-11  Robert Love  <rml@novell.com>
15709
15710         * initscript/SUSE/networkmanager: update.
15711
15712 2005-08-11  Dan Williams  <dcbw@redhat.com>
15713
15714         * src/nm-dhcp-manager.c
15715                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
15716                         an gateway returned from DHCP, try to use the address of the DHCP
15717                         server as the gateway instead.  Found by Ralf Ertzinger.
15718
15719 2005-08-10  Robert Love  <rml@novell.com>
15720
15721         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
15722           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
15723
15724 2005-08-10  Dan Williams  <dcbw@redhat.com>
15725
15726         Patch from Bill Moss <bmoss@clemson.edu>
15727         * Consolidate writes of access point information updates to the info daemon
15728                 so that we only do it when the connection to the access point was
15729                 successful.  Also consolidates updates to GConf in the Gnome applet.
15730
15731         * src/nm-netlink-monitor.c
15732                 - Silence compile warning when calling g_object_new()
15733
15734 2005-08-08  Dan Williams  <dcbw@redhat.com>
15735
15736         Patch from Steev <steev@steev.net>:
15737         * src/backends/NetworkManagerGentoo.c
15738                 - Stub new dialup backend functions
15739
15740 2005-08-08  Dan Williams  <dcbw@redhat.com>
15741
15742         Patch from Colin Slater:
15743         * src/backends/NetworkManagerGentoo.c
15744                 - (nm_system_update_dns): Fix exit status check for restarting
15745                         nscd
15746
15747 2005-08-05  Robert Love  <rml@novell.com>
15748
15749         * NetworkManager.h,
15750           gnome/applet/applet-dbus-devices.c,
15751           gnome/applet/applet-dbus-devices.h,
15752           gnome/applet/applet-dbus.c,
15753           gnome/applet/applet.c,
15754           gnome/applet/applet.h,
15755           src/NetworkManager.c,
15756           src/NetworkManagerMain.h,
15757           src/NetworkManagerSystem.h,
15758           src/backends/NetworkManagerRedHat.c,
15759           src/backends/NetworkManagerSuSE.c,
15760           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
15761
15762 2005-08-05  Robert Love  <rml@novell.com>
15763
15764         * gnome/applet/other-network-dialog.c: default the adhoc network to the
15765           machine's hostname to make adhoc creation idiot-proof.
15766
15767 2005-08-04  Robert Love  <rml@novell.com>
15768
15769         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
15770           freed.
15771
15772 2005-08-04  Dan Williams  <dcbw@redhat.com>
15773
15774         * gnome/applet/applet-dbus-info.c
15775           gnome/applet/applet-dbus-info.h
15776                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
15777                         to store key, key type, and auth method rather than just auth method
15778                 - (nmi_dbus_update_network_info): new function
15779                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
15780
15781         * gnome/applet/passphrase-dialog.c
15782                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
15783                         of saving the info ourselves
15784
15785         * gnome/libnm_glib/libnm_glib.c
15786                 - Remove the stupid version check for dbus
15787
15788         * src/NetworkManagerAP.c
15789           src/NetworkManagerAP.h
15790                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
15791
15792         * src/NetworkManagerDbus.c
15793           src/NetworkManagerDbus.h
15794                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
15795                         more than just the auth method
15796
15797         * src/NetworkManagerDevice.c
15798                 - Update network info at the appropriate times
15799
15800 2005-07-29  Ray Strode  <rstrode@redhat.com>
15801
15802         * src/NetworkManager.c (nm_info_handler): don't use input as format
15803         string (Spotted by Ian Jackson).
15804
15805 2005-07-27  Dan Williams  <dcbw@redhat.com>
15806
15807         * src/nm-dbus-nm.c
15808           src/nm-dbus-net.c
15809                 - Random cleanups of spacing
15810
15811         * gnome/applet/applet.h
15812           gnome/applet/other-network-dialog.c
15813           gnome/applet/passphrase-dialog.c
15814                 - Conslidate usage of NMWAEncryptionKeyTypes enum
15815
15816         Patch from Bill Moss:
15817                 - Make Other Wireless Networks work again with encryption keys
15818
15819 2005-07-26  Dan Williams  <dcbw@redhat.com>
15820
15821         Patch from Steev <steev@steev.net>:
15822         * src/backends/NetworkManagerGentoo.c
15823           src/backends/Makefile.am
15824                 - Fix up Gentoo backend
15825
15826 2005-07-26  Robert Love  <rml@novell.com>
15827
15828         * src/backends/NetworkManagerSuSE.c: misc. cleanup
15829
15830 2005-07-25  Robert Love  <rml@novell.com>
15831
15832         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
15833           in the same group as the wireless networks, since they are all
15834           mutually exclusive.
15835
15836 2005-07-24  Ray Strode  <rstrode@redhat.com>
15837
15838         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
15839         remove unneeded NULL arg from g_object_new().  Any
15840         warnings caused by not having the extra NULL are just a
15841         result of a bug in glib 2.7.0 - 2.7.2.
15842
15843 2005-07-22  Robert Love  <rml@novell.com>
15844
15845         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
15846
15847 2005-07-22  Robert Love  <rml@novell.com>
15848
15849         * src/nm-netlink-monitor.c: g_object_new() needs at least three
15850           parameters (gcc 4.0.2 warning fix).
15851
15852 2005-07-18  Robert Love  <rml@novell.com>
15853
15854         Suggested by Aaron Bockover (abockover@novell.com)
15855         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
15856           s/Ascii/ASCII
15857         * gnome/applet/passphrase-dialog.c: ditto
15858         * gnome/applet/wireless-applet.glade: ditto
15859
15860 2005-07-13  Dan Williams  <dcbw@redhat.com>
15861
15862         Patch from Ray Strode <halfline@gmail.com>
15863         * vpn-daemons/vpnc/nm-vpnc-service.c
15864                 - Don't let vpnc daemonize, fixes some races with PID file reading
15865
15866 2005-07-13  Dan Williams  <dcbw@redhat.com>
15867
15868         Patch from Ray Strode <halfline@gmail.com>
15869         * Random cleanups for strict CFLAGS
15870
15871 2005-07-07  Dan Williams  <dcbw@redhat.com>
15872
15873         Patch from Derek Atkins <warlord@MIT.EDU>
15874         * src/nm-dbus-net.c:
15875                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
15876
15877 2005-07-07  Dan Williams  <dcbw@redhat.com>
15878
15879         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
15880         * src/backends/NetworkManagerGentoo.c
15881                 - Gentoo backend Static IP nameserver fixes
15882                 - General Gentoo backend goodness
15883
15884 2005-07-07  Dan Williams  <dcbw@redhat.com>
15885
15886         Patch from Bastien Nocera:
15887         * gnome/applet/applet.c
15888                 - Fix up error reporting when icons or glade files are missing
15889
15890 2005-07-07  Robert Love  <rml@novell.com>
15891
15892         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
15893           are not any VPN connections above it.
15894
15895 2005-07-07  Robert Love  <rml@novell.com>
15896
15897         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
15898
15899 2005-07-05  Robert Love  <rml@novell.com>
15900
15901         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
15902           zero.
15903
15904 2005-07-05  Robert Love  <rml@novell.com>
15905
15906         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
15907           on wired or unencrypted wireless.
15908
15909 2005-07-01  Robert Love  <rml@novell.com>
15910
15911         * src/NetworkManagerSystem.c: Print the error via strerror().
15912
15913 2005-06-30  Robert Love  <rml@novell.com>
15914
15915         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
15916           then exit if the glade file is not found.  currently the application
15917           just hangs.
15918
15919 2005-06-30  Robert Love  <rml@novell.com>
15920
15921         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
15922           explicitly up all interfaces on wake from sleep.
15923
15924 2005-06-30  Robert Love  <rml@novell.com>
15925
15926         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
15927           with information about the currently active connection.
15928         * gnome/applet/applet.h: (ditto)
15929         * gnome/applet/wireless-applet.glade: (ditto), new file
15930
15931 2005-06-30  Robert Love  <rml@novell.com>
15932
15933         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
15934         * src/nm-dbus-nm.c: print when we sleep and wake up.
15935         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
15936         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
15937           in /sbin unless D-BUS is, folks).
15938         * README: update to reflect nm-applet replacing NetworkManagerInfo.
15939
15940 2005-06-27  Robert Love  <rml@novell.com>
15941
15942         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
15943           case.
15944
15945 2005-06-27  Robert Love  <rml@novell.com>
15946
15947         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
15948           items radios.
15949
15950 2005-06-26  Robert Love  <rml@novell.com>
15951
15952         * src/NetworkManagerDevice.c: be specific about which device in
15953           nm_info() message.
15954
15955 2005-06-23  Adam Weinberger  <adamw@gnome.org>
15956
15957         * src/nm-netlink-monitor.c: correct spelling error.
15958
15959 2005-06-23  Robert Love  <rml@novell.com>
15960
15961         * gnome/applet/applet-dbus-info.c: gnome keyring support!
15962         * gnome/applet/passphrase-dialog.c: more of that keyring!
15963
15964 2005-06-23  Robert Love  <rml@novell.com>
15965
15966         * configure.in: remove extraneous GNOMEKEYRING directives.
15967         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
15968         * gnome/applet/applet.c: nmwa_icons_init: make style local.
15969         * gnome/applet/passphrase-dialog.c: whitespace.
15970
15971 2005-06-23  Robert Love  <rml@novell.com>
15972
15973         * src/NetworkManagerDevice.c: division in assignment was flipped.
15974
15975 2005-06-23  David Zeuthen  <david@fubar.dk>
15976
15977         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
15978         signal to the child to indicate that we got what we wanted when we
15979         see two new-lines right after each other.
15980         (nmwa_vpn_request_password): Pass a structure with several members
15981         instead of just the passwords
15982
15983 2005-06-23  Dan Williams <dcbw@redhat.com>
15984
15985         * src/NetworkManager.c
15986           src/NetworkManagerMain.h
15987                 - (nm_get_hal_ctx): new function, move Hal initialization code here
15988                 - (nm_hal_init): new function, init libhal context then add devices
15989                 - (nm_hal_deinit): new function, clean up libhal context
15990                 - (nm_data_free): Move Hal cleanup here
15991                 - (main): check whether Hal is running, and if so, get a list of
15992                         network devices from it
15993
15994         * src/NetworkManagerDbus.c
15995                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
15996                         and when it appears, get a list of network devices from it.  If
15997                         Hal goes away, clean up the libhal context
15998
15999 2005-06-22  Robert Love  <rml@novell.com>
16000
16001         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16002           permissions of scripts before executing.
16003
16004 2005-06-21  Robert Love  <rml@novell.com>
16005
16006         * initscript/SUSE/networkmanager: update.
16007         * src/backends/NetworkManagerSuSE.c: cleanup.
16008
16009 2005-06-21  Robert Love <rml@novell.com>
16010
16011         * gnome/applet/applet.c: use menu mnemonics.
16012         * gnome/applet/menu-items.c: (ditto)
16013
16014 2005-06-21  Robert Love  <rml@novell.com>
16015
16016         * applet/applet-dbus-devices.c: mark non-static functions static.
16017         * applet/applet-dbus-vpn.c: (ditto)
16018         * applet/applet.c: (ditto)
16019         * applet/nm-device.h: (ditto)
16020         * applet/other-network-dialog.c: (ditto)
16021         * applet/passphrase-dialog.c: (ditto)
16022         * NetworkManager.c: (ditto)
16023         * NetworkManagerDbus.c: (ditto)
16024         * NetworkManagerDevice.c: (ditto)
16025         * NetworkManagerPolicy.c: (ditto)
16026         * NetworkManagerUtils.c: (ditto)
16027         * NetworkManagerWireless.c: (ditto)
16028         * NetworkManagerWireless.h: (ditto)
16029         * nm-netlink-monitor.c: (ditto)
16030         * applet/applet-dbus-info.c: (ditto), add FIXME's.
16031         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16032         * autoip.c: include autoip.h.
16033         * autoip.h: new file.  define get_autoip().
16034         * nm-netlink-monitor.h: define nm_netlink_close_connection().
16035         * NetworkManagerDbus.h: remove duplicate definitions.
16036
16037 2005-06-20  Robert Love  <rml@novell.com>
16038
16039         * Makefile.am: Add missing intltool-foo.in generated files to
16040           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
16041           with the start of stuff to cleanup on 'distclea'.
16042         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16043           stuff right and 'distcheck' works.
16044         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
16045           we keep it, we need to add all of examples/* to EXTRA_DIST and do
16046           Makefile.am for each.  And systray/Makefile needs to be redone.
16047
16048 2005-06-19  Dan Williams <dcbw@redhat.com>
16049
16050         * src/NetworkManagerDevice.c
16051         - (nm_device_wireless_process_scan_results): scan every 20s when
16052           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16053
16054 2005-06-19  Dan Williams <dcbw@redhat.com>
16055
16056         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16057
16058 2005-06-18  Ray Strode <rstrode@redhat.com>
16059
16060         * src/nm-netlink-monitor.c 
16061         (nm_netlink_monitor_event_handler): check for the presence
16062         of either error condition not both. 
16063         
16064         (nm_netlink_monitor_error_handler): emit error signal if
16065         error occurs.
16066
16067         (nm_netlink_monitor_event_handler),
16068         (nm_netlink_monitor_error_handler),
16069         (nm_netlink_monitor_disconnect_handler): if an 
16070         assertion fails disconnect the event handler to prevent 
16071         infinite loops.
16072
16073         * src/nm-netlink-monitor.h: add new error condition
16074         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16075
16076 2005-06-18  Ray Strode <rstrode@redhat.com>
16077
16078         * src/nm-netlink-monitor.c 
16079         (nm_netlink_monitor_event_handler): remove bogus < 0
16080         check on unsigned value and return early if the kernel
16081         didn't send any bytes.
16082
16083 2005-06-17  Robert Love  <rml@novell.com>
16084
16085         * initscript/SUSE/networkmanager: Change the Provides and default
16086         run levels
16087
16088 2005-06-16  Dan Williams <dcbw@redhat.com>
16089
16090         Patch from Robert Love:
16091         * gnome/applet/applet.c
16092                 - Beautify some applet menu item names
16093
16094 2005-06-17  David Zeuthen  <davidz@redhat.com>
16095
16096         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16097         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16098         Also add new methods can_export, import_file and export.
16099
16100         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16101         to the main UI
16102
16103         * gnome/vpn-properties/nm-vpn-properties.c:
16104         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16105         nm-vpn-ui-interface.h.
16106         (update_edit_del_sensitivity): Also update "Export" sensitivity
16107         (add_vpn_connection): Also add new SVC_NAME column
16108         (import_settings): New function
16109         (retrieve_data_from_selected_connection): New function
16110         (edit_cb): Use retrieve_data_from_selected_connection to simplify
16111         this function
16112         (export_cb): New function
16113         (init_app): Also setup the "export" widget
16114         (main): Support the --import-service and --import-file commandline
16115         arguments
16116
16117         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16118         D-BUS 0.34
16119
16120 2005-06-16  Dan Williams <dcbw@redhat.com>
16121
16122         Patch from Robert Love:
16123         * gnome/applet/menu-items.c
16124                 - (network_menu_item_new): pass -1 as wireless network
16125                         menu items height size request rather than ascent / 2
16126
16127 2005-06-16  Dan Williams <dcbw@redhat.com>
16128
16129         * Clean up wording in Wireless Scan Methods menu items and constants
16130
16131 2005-06-16  Robert Love  <rml@novell.com>
16132
16133         * po/POTFILES.in
16134                 - remove gtkcell* files
16135
16136 2005-06-15  Dan Williams <dcbw@redhat.com>
16137
16138         Patch from Robert Love: make the applet stetic
16139
16140         * gnome/applet/Makefile.am
16141                 - Don't compile the gtkcellview and gtkcellrendererprogress files
16142
16143         * gnome/applet/gtkcellview.h
16144           gnome/applet/gtkcellview.c
16145           gnome/applet/gtkcellrendererprogress.h
16146           gnome/applet/gtkcellrendererprogress.c
16147                 - Removed
16148
16149         * gnome/applet/menu-items.c
16150                 - Progress bars are 5:1 size ratio
16151                 - Use GTK progress bars rather than internal ones
16152
16153 2005-06-15  Dan Williams <dcbw@redhat.com>
16154
16155         Patch from Robert Love:
16156         * initscript/SUSE/networkmanager
16157                 - Fix typo
16158
16159 2005-06-15  Dan Williams <dcbw@redhat.com>
16160
16161         * src/backends/NetworkManagerSuSE.c
16162           src/backends/NetworkManagerRedHat.c
16163           src/backends/NetworkManagerDebian.c
16164                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16165
16166 2005-06-15  Dan Williams <dcbw@redhat.com>
16167
16168         * src/backends/NetworkManagerDebian.c
16169                 - Add nm_system_device_get_use_dhcp() to debian backend
16170
16171         Patch from Kay Sievers:
16172         * src/backends/NetworkManagerSuSE.c
16173                 - Update debian backend for static IP nameservers
16174
16175         * src/NetworkManagerDevice.c
16176                 - Actually set the device to use static IP or DHCP rather
16177                         than always DHCP
16178
16179 2005-06-15  Dan Williams <dcbw@redhat.com>
16180
16181         Patch from Thom May:
16182         * src/backends/NetworkManagerDebian.c
16183                 - Update debian backend for static IP nameservers
16184
16185 2005-06-15  Dan Williams <dcbw@redhat.com>
16186
16187         Patches from Robert Love:
16188         * gnome/applet/wireless-applet.glade
16189                 - Tighten up wording
16190
16191         * src/NetworkManagerDevice.c
16192                 - Remove misplaced ';'
16193
16194         * configure.in
16195           initscript/Makefile.am
16196           initscript/SUSE/Makefile.am
16197           initscript/SUSE/networkmanager
16198                 - Add SUSE initscript
16199
16200 2005-06-12  David Zeuthen  <davidz@redhat.com>
16201
16202         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16203
16204         * gnome/vpn-properties/nm-vpn-properties.glade: New file
16205
16206         * gnome/vpn-properties/nm-vpn-properties.c: New file
16207
16208         * gnome/vpn-properties/Makefile.am: New file
16209
16210         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16211         array of passwords
16212
16213         * src/vpn-manager/nm-vpn-manager.c
16214         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16215         instead of just a single one
16216
16217         * src/vpn-manager/nm-dbus-vpn.c:
16218         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16219         here
16220         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16221
16222         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
16223         Change the interface here to give a list of passwords. Also, don't
16224         require username, but do require service
16225
16226         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16227         the binary for the auth-dialog and use that instead of putting up a
16228         dialog asking for a single password
16229
16230         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16231         however do remember the service
16232
16233         * gnome/applet/main.c (main): Setup i18n
16234
16235         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16236         connection to '%s'" to the tooltip if we are connected using VPN
16237         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16238         key to determine whether we the auth-dialog needs to
16239         reprompt. Also cope with the fact that the auth-dialog now returns
16240         an array of passwords.
16241         (nmwa_menu_configure_vpn_item_activate): New handler for
16242         "Configure VPN..." menu item
16243         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16244         (is_vpn_available): New function to determine if we got any
16245         NM-compatible VPN software installed
16246         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16247         items only if we have NM-compatible VPN software installed
16248         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16249         logic for detecting when VPN connections are removed
16250
16251         * gnome/applet/applet-dbus.h: Removed the prototypes for 
16252         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16253         since these are defined elsewhere
16254
16255         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16256         function used to keep track of whether the last attempt succeded
16257         (nmwa_dbus_filter): Update last_attempt according to whether the
16258         VPN connection could be established or not
16259
16260         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
16261         Change prototype to take an array of passwords, not just a single
16262         password
16263
16264         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16265         update service, not user
16266         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16267         dbus_active_vpn_name is not NULL before using it
16268         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16269         string array instead of assuming a single password
16270
16271         * gnome/applet/applet-dbus-info.c:
16272         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16273         user name; don't read from gconf
16274
16275         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
16276         VPN_NAME_FILES_DIR
16277
16278         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16279
16280         * configure.in: Add checks for gmodule-2.0.
16281         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16282         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16283         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
16284         for details
16285
16286         * vpn-daemons/Makefile.am: Removed
16287
16288         * vpn-daemons/README: New file to describe extensions points for VPN
16289         software
16290
16291 2005-06-10  Dan Williams <dcbw@redhat.com>
16292
16293         * src/backends/NetworkManagerRedHat.c
16294                 - (get_current_profile_name): new function, grab current network profile name from
16295                         /etc/sysconfig/network
16296                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16297                         update an IP4 Config structure's settings from it
16298                 - (nm_system_device_get_system_config): if we're using static IP on this device,
16299                         get DNS info from current network profile
16300
16301 2005-06-09  Dan Williams <dcbw@redhat.com>
16302
16303         Patch from Robert Love:
16304         * src/NetworkManagerDevice.c
16305           src/NetworkManagerUtils.c
16306                 - 64-bit build fixes
16307
16308 2005-06-09  Dan Williams <dcbw@redhat.com>
16309
16310         Patch from Kay Sievers and Robert Love:
16311         * configure.in
16312           src/backends/Makefile.am
16313           src/backends/NetworkManagerSuSE.c
16314                 - Add SuSE support
16315
16316 2005-06-09  Dan Williams <dcbw@redhat.com>
16317
16318         * NetworkManager.h
16319                 - Add NMWirelessScanMethod enum for scan methods
16320
16321         * gnome/applet/applet-dbus-devices.c
16322                 - (nmwa_dbus_update_scanning_enabled_cb): remove
16323                 - (nmwa_dbus_update_scanning_enabled): remove
16324                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16325                         since it got removed
16326                 - (nmwa_dbus_enable_scanning): remove
16327
16328         * gnome/applet/applet-dbus-info.c
16329                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16330                         update the wireless scanning method from NMI
16331                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16332                         method value to NetworkManager
16333                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16334
16335         * gnome/applet/applet-dbus-info.h
16336                 - Add prototype for nmi_dbus_signal_update_scan_method
16337
16338         * gnome/applet/applet.c
16339                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16340                         Wireless Scanning menu based on current wireless scan method
16341                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16342                         signal for Wireless Scanning menu items, tell NetworkManager the new method
16343                         and update our menu items to make sure the right one is checked
16344                 - (nmwa_set_scanning_enabled_cb): remove
16345                 - (nmwa_context_menu_update): remove references to pause_scanning_item
16346                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16347                         Scanning menu item
16348                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16349                         from GConf
16350                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16351                         so we get notified of preference values too
16352                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16353
16354         * gnome/applet/applet.h
16355                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16356                 - Add wireless scan method member to applet data
16357                 - Remove pause_scanning_item, add Wireless Scanning submenu
16358
16359         * src/NetworkManager.c
16360                 - (nm_data_new): default to NM_SCAN_METHOD_ON
16361                 - (main): grab scanning method from NMI if we can
16362
16363         * src/NetworkManagerDbus.c
16364                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16365                         nm_dbus_update_wireless_scan_method()
16366                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16367                         from NMI
16368                 - (nm_dbus_nmi_is_running): redundant function, removed
16369                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16370                         when NMI comes back
16371
16372         * src/NetworkManagerDevice.c
16373                 - (nm_device_is_activated): return TRUE if the device is activated
16374                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16375                         and we are activated
16376
16377         * src/nm-dbus-nm.c
16378                 - (nm_dbus_nm_set_scanning_enabled): removed
16379                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16380                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16381
16382 2005-06-09  Dan Williams <dcbw@redhat.com>
16383
16384         * NetworkManager.h
16385           src/vpn-manager/nm-vpn-service.c
16386                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16387
16388 2005-05-27  Dan Williams <dcbw@redhat.com>
16389
16390         * vpn-daemons/vpnc/nm-vpnc-service.c
16391                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16392                         Should fix the bug where the VPN connection terminates the first time.
16393
16394 2005-05-20  Dan Williams <dcbw@redhat.com>
16395
16396         * NetworkManager.h
16397                 - Differentiate VPN config signals between bad VPN config options
16398                         and bad IP config
16399
16400         * gnome/applet/applet-dbus-info.h
16401                 - Add prototypes for wireless network and vpn connection update functions
16402
16403         * gnome/applet/applet-dbus.c
16404                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16405
16406         * gnome/applet/applet.c
16407                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16408                         error signals
16409                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16410                         propogation to NetworkManager
16411                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16412                         notify propogation to NetworkManager
16413
16414         * src/NetworkManagerDbus.c
16415                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16416                         are updating so a network can be removed from it if necessary
16417
16418         * src/vpn-manager/nm-vpn-manager.c
16419                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16420
16421         * vpn-daemons/vpnc/nm-vpnc-service.c
16422                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16423                 - (nm_vpnc_dbus_signal_launch_failed): remove
16424                 - (nm_vpnc_dbus_signal_connect_failed): remove
16425                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16426                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16427                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16428                         for new generalized error signal function, remove config file stuff
16429                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16430                         we can write configuration options to it
16431                 - (nm_vpnc_config_file_generate): removed
16432                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16433                 - (nm_vpnc_config_options_validate): validate the config options we receive
16434                         from NetworkManager to block potential exploits
16435                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16436                         starting vpnc
16437                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16438                         to NetworkManager
16439
16440 2005-05-16  Dan Williams  <dcbw@redhat.com>
16441
16442         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16443                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16444                         is not "connect"
16445
16446 2005-05-16  Dan Williams  <dcbw@redhat.com>
16447
16448         Patch from Tomislav Vujec <tvujec@redhat.com>
16449         * gnome/applet/applet-dbus-info.c
16450                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16451                         GConf and pass them to NetworkManager.  New key is 'routes' under
16452                         the VPN connection, and should be a string list
16453
16454         * src/NetworkManagerSystem.c
16455                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16456                         set them on the device when we set the rest of the VPN config.  Ensure
16457                         they are in the correct format since they are passed directly to the
16458                         command line.
16459
16460         * src/backends/NetworkManagerRedHat.c
16461           src/backends/NetworkManagerDebian.c
16462                 - (nm_system_device_add_route_via_device_with_iface): new function
16463
16464         * src/vpn-manager/nm-dbus-vpn.c
16465                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16466
16467         * src/vpn-manager/nm-vpn-manager.c
16468                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16469                         them into the IP4 config functions
16470
16471 2005-05-15  Dan Williams  <dcbw@redhat.com>
16472
16473         From Filip Miletic:
16474         * po/sr.po
16475           po/sr@Latn.po
16476           configure.in
16477                 - Serbian translation added
16478
16479 2005-05-15  Dan Williams  <dcbw@redhat.com>
16480
16481         * dispatcher-daemon/NetworkManagerDispatcher.c
16482                 - (main): sync arguments with NetworkManager and the applet, now use
16483                         "--no-daemon" rather than "daemon=no"
16484                 - (nmd_print_usage): Fix script path in usage message
16485
16486 2005-05-15  Dan Williams  <dcbw@redhat.com>
16487
16488         * src/NetworkManagerDevice.[ch]
16489           src/NetworkManagerPolicy.c
16490           src/NetworkManager.c
16491           src/nm-dbus-nm.c
16492                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
16493                         longer send the DeviceNoLongerActive signal unconditionally, but only
16494                         when the device is actually active.
16495
16496         * dispatcher-daemon/NetworkManagerDispatcher.c
16497                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16498                         and simplify the logic
16499                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16500                         we free it later on
16501
16502         * initscript/RedHat/Makefile.am
16503           initscript/RedHat/NetworkManagerDispatcher
16504                 - Add initscript for NetworkManagerDispatcher
16505
16506
16507         Patch from Bill Moss:
16508         * dispatcher-daemon/NetworkManagerDispatcher.c
16509                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16510
16511         * src/NetworkManagerDbus.c
16512                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
16513                         and DeviceNowActive gets signaled, then the device has a new IP address
16514                         anyway.  There's no need for a separate signal.
16515
16516         * src/NetworkManagerDevice.c
16517                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16518
16519         * src/NetworkManagerPolicy.c
16520                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16521                         activates successfully.  This kind of went missing when I reworked the
16522                         activation code.
16523
16524 2005-05-15  Dan Williams  <dcbw@redhat.com>
16525
16526         * configure.in
16527                 - Check for dhcdbd and error if its not found
16528
16529         * src/dhcp-manager/Makefile.am
16530           src/dhcp-manager/nm-dhcp-manager.c
16531                 - Use path to dhcdbd that configure found
16532
16533 2005-05-14  Dan Williams  <dcbw@redhat.com>
16534
16535         * gnome/applet/nm-device.c
16536                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16537                         sort wireless networks alphabetically
16538
16539         * gnome/applet/applet-dbus-devices.c
16540                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16541                         before copying them over to the GUI
16542
16543 2005-05-14  Dan Williams  <dcbw@redhat.com>
16544
16545         * src/NetworkManager.c
16546                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16547                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
16548                         the device list, as does nm_get_active_device() which is called from
16549                         nm_vpn_manager_deactivate_vpn_connection().
16550
16551 2005-05-14  Dan Williams  <dcbw@redhat.com>
16552
16553         * NetworkManager.h
16554                 - Add signals for VPN Launch and Connect failures
16555
16556         * gnome/applet/applet-dbus.c
16557                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16558
16559         * gnome/applet/applet.c
16560                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16561                         function to handle all VPN failure messages
16562                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
16563                         function to hanlde all VPN failure  messages
16564                 - (show_warning_dialog): work around focus-stealing prevention
16565
16566         * gnome/applet/other-network-dialog.c
16567           gnome/applet/passphrase-dialog.c
16568                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16569                         problem where it never enabled for ASCII Key and Hex Key types
16570
16571         * gnome/applet/wireless-applet.glade
16572                 - Add window title to Other Wireless Network Dialog
16573
16574         * src/vpn-manager/nm-dbus-vpn.c
16575                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16576                         function to handle all VPN failure messages
16577
16578         * src/vpn-manager/nm-vpn-manager.c
16579                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16580
16581         * vpn-daemons/vpnc/nm-vpnc-service.c
16582                 - (nm_vpnc_dbus_signal_launch_failed): new function
16583                 - (nm_vpnc_dbus_signal_connect_failed): new function
16584                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16585                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
16586                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
16587                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
16588
16589 2005-05-11  Dan Williams  <dcbw@redhat.com>
16590
16591         * vpn-daemons/vpnc/nm-vpnc-service.c
16592                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
16593                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
16594                         file exists before trying to write it out.
16595
16596 2005-05-10  Dan Williams  <dcbw@redhat.com>
16597
16598     * gnome/applet/applet-dbus-device.c
16599         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
16600             prevented just entering ESSID and leaving key and key type up to
16601             NetworkManager (which should have them already cached)
16602
16603 2005-05-08  Dan Williams  <dcbw@redhat.com>
16604
16605         * src/NetworkManagerPolicy.c
16606                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
16607                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
16608                         fix a situation where NM is told to terminate and the device stops activation,
16609                         but the main thread isn't aware of that because it would never have run
16610                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
16611                         had already quit.
16612
16613         * src/NetworkManagerDevice.c
16614                 - (nm_device_probe_wired_link_state): cosmetic fixes
16615                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
16616                         we've failed to activate or been canceled.
16617                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
16618
16619 2005-05-08  Dan Williams  <dcbw@redhat.com>
16620
16621         * src/NetworkManagerWireless.c
16622                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
16623                         value of WEXT quality structures, and add a debug message when we cannot
16624                         determine any quality % at all
16625
16626 2005-05-08  Dan Williams  <dcbw@redhat.com>
16627
16628         * src/dhcp-manager/nm-dhcp-manager.c
16629                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
16630                         it goes down.
16631
16632 2005-05-06  Dan Williams  <dcbw@redhat.com>
16633
16634         * gnome/applet/applet-dbus-device.c
16635           gnome/applet/applet-dbus-info.c
16636           gnome/applet/applet-dbus.c
16637           gnome/applet/applet.c
16638           gnome/applet/applet.h
16639                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
16640
16641         * gnome/applet/applet-dbus.c
16642                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
16643                         so we notice when wired device's carriers come back on.  Should
16644                         fix issue with wired devices being grayed out even if the cable
16645                         is in, for devices that support carrier detection.
16646
16647         * gnome/applet/applet.c
16648                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
16649                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
16650                         tooltip message
16651                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
16652                         Fix situation where applet wouldn't respond to menu selections
16653
16654         * src/NetworkManager.c
16655           src/NetworkManagerDevice.c
16656           src/NetworkManagerDbus.c
16657           src/NetworkManagerDbus.h
16658                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
16659
16660         * src/NetworkManagerDbus.c
16661                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
16662                         Remove, no longer used or relevant
16663                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
16664                 - (nm_dbus_schedule_device_status_change_signal): add
16665
16666         * src/NetworkManagerDevice.c
16667                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
16668                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
16669                         ie don't deactivate them unless explicitly told to by the user.  Also send
16670                         CARRIER_OFF / CARRIER_ON signals when link changes
16671                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
16672                         Don't print error message when device is no longer around
16673                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
16674                         not just during activation
16675
16676         * src/NetworkManagerPolicy.c
16677                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
16678                         auto-device-selection.
16679                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
16680
16681         * src/NetworkManagerSystem.c
16682                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
16683                         is no longer present (Bill Moss)
16684
16685         * src/backends/shvar.c
16686                 - (svOpenFile): Open read-only to make SELinux happy
16687
16688         * src/backends/NetworkManagerRedHat.c
16689                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
16690                         the path to the ifcfg-* files
16691
16692 2005-05-05  Dan Williams  <dcbw@redhat.com>
16693
16694         * Expose activation stages to NetworkManager clients, like the applet
16695         * Add Diana's progress icons to the applet, cued off NM activation stage
16696         * Use more descriptive tooltips, cued off NM activation stage
16697
16698 2005-05-05  Ray Strode  <rstrode@redhat.com>
16699
16700         * src/nm-netlink-monitor.c:
16701                 - Use clear_event_source instead of g_nullify_pointer() again.
16702
16703 2005-05-05  Dan Williams  <dcbw@redhat.com>
16704
16705         * gnome/applet/main.c
16706                 - Fix session management so the applet is actually managed now
16707
16708         * gnome/applet/passphrase-dialog.c
16709                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
16710
16711 2005-05-05  Dan Williams  <dcbw@redhat.com>
16712
16713         Patch from Bill Moss:
16714         * gnome/libnm_glib/libnm_glib.c
16715                 - Fix for dbus-0.33
16716
16717 2005-05-05  Dan Williams  <dcbw@redhat.com>
16718
16719         Suggestion from Bill Moss:
16720         * src/NetworkManagerSystem.c
16721                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
16722
16723
16724         * src/NetworkManager.c
16725                 - (nm_data_free): move destruction of the various managers after
16726                         release of device list, because deactivating and freeing a device
16727                         requires at least the named manager
16728                 - (nm_poll_and_update_wireless_link_state):
16729                   (nm_device_link_activated):
16730                   (nm_device_link_deactivated):
16731                         don't grab the device list lock when actually updating device
16732                         link status or strength, since nm_device_set_link_active()
16733                         needs to call nm_get_active_device(), which also locks the device list.
16734
16735         * src/NetworkManagerDevice.c
16736                 - (nm_device_set_link_active): if a device's link switches from off->on,
16737                         and it's wired, and the active device is wireless (or there is no
16738                         active device), activate the new device whose link just came on
16739                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
16740                         my only calling the link to the current ap "failed" when more than 2
16741                         consecutive link checks have failed
16742
16743 2005-05-04  Dan Williams  <dcbw@redhat.com>
16744
16745         * src/NetworkManagerDevice.c
16746                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
16747                         but let link_to_specific_ap() do the locking where it needs
16748
16749         Patch from Bill Moss:
16750         * src/NetworkManagerSystem.c
16751                 - Set MTU of VPN devices to 1412
16752
16753 2005-05-04  Dan Williams  <dcbw@redhat.com>
16754
16755         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
16756
16757         * Fix some holes in device activation and retaining the currently connected
16758                 access point
16759
16760 2005-05-03  Dan Williams  <dcbw@redhat.com>
16761
16762         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
16763           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
16764           means you need dhcdbd, which you can get here (get the latest one):
16765
16766                 http://people.redhat.com/jvdias/dhcdbd/
16767
16768           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
16769           interface as dhcdbd.
16770
16771         * Rewrite device activation to facilitate the new DHCP infrastructure and
16772           future improvements.  Its now "activation request" based, ie there is a single
16773           activation request composed of the device, access point, and other info which
16774           follows the entire activation process.  There are 5 stages of the activation
16775           process which correspond to:
16776
16777                 1) Device preparation
16778                 2) Device configuration (bring it up, set ESSID/Key/etc)
16779                 3) IP Config Start (fire off DHCP if we're using it)
16780                 4) IP Config Get (grab config from DHCP or static config files)
16781                 5) IP Config Commit (set device's IP address, DNS, etc)
16782
16783           Note that there is no longer a "scanning" step, since the access point must
16784           be known _before_ activation starts.  If the access point drops out or does
16785           not exist for some reason, the entire activation process fails and must be
16786           restarted for a different access point or device.
16787
16788         Patch from Bill Moss:
16789         * gnome/applet/applet.c
16790                 - Fix type of vpn_failure dialog -> vpn_banner dialog
16791
16792 2005-04-27  Dan Williams  <dcbw@redhat.com>
16793
16794         * gnome/applet/applet-dbus-vpn.c
16795           gnome/applet/applet.c
16796           gnome/applet/applet.h
16797                 - Fix up active VPN handling so that we reliably know when a VPN
16798                         connection has been deactivated
16799
16800         * src/vpn-manager/nm-vpn-manager.c
16801                 - Remove duplicate VPNConnectionChange signal
16802
16803 2005-04-27  Dan Williams  <dcbw@redhat.com>
16804
16805         Patch from Peter Jones:
16806         * Remove usage of varargs to fix crashes on PPC (RH #154336)
16807
16808         Patch from Bill Moss:
16809         * src/NetworkManagerSystem.c
16810                 - Fix checking of return value from ioctl()
16811
16812 2005-04-27  Dan Williams  <dcbw@redhat.com>
16813
16814         * Fix choosing of wireless networks and "Other wireless network..." from the applet
16815         * Warn and exit if icons cannot be found
16816
16817 2005-04-27  Dan Williams  <dcbw@redhat.com>
16818
16819         Patch from Tom Parker:
16820         * Update debian backend
16821
16822 2005-04-27  Dan Williams  <dcbw@redhat.com>
16823
16824         * Merge the applet and the info-daemon, and move the converged
16825                 applet under gnome/applet
16826         * Move libnm_glib to gnome/libnm_glib
16827         * Convert most dbus calls between the applet, info-daemon, and NM
16828                 into async calls
16829         * Fix a few things valgrind noticed
16830         * Make NM broadcast state more reliably
16831
16832 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
16833
16834         * configure.in: Added ne in ALL_LINGUAS
16835
16836 2005-04-15  Dan Williams  <dcbw@redhat.com>
16837
16838         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
16839                 code for dbus 0.2x versions
16840
16841 2005-04-15  Dan Williams  <dcbw@redhat.com>
16842
16843         Patches from Tom Parker:
16844         - Fix memleaks
16845         - Join with worker thread rather than polling for its exit
16846
16847         Patch from Bill Moss:
16848         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
16849
16850 2005-04-15  Dan Williams  <dcbw@redhat.com>
16851
16852         - Fixes to pass 'make distcheck'
16853
16854 2005-04-15  Dan Williams  <dcbw@redhat.com>
16855
16856         Initial VPN Support
16857                 - supports 'vpnc'
16858                 - reworks device IP configuration, backend files have changed and will need
16859                         to be updated for all distributions.  I will try to do what I can for
16860                         them, but I cannot test them.
16861
16862         - Move named directory to src/named-manager
16863         - Make backends directory self-contained
16864
16865 2005-04-06  Dan Williams  <dcbw@redhat.com>
16866
16867         Add debug code for socket/file descriptor leaks.  We register every socket
16868         that we open (except for stuff in dhcpcd/) for tracking, and print out the
16869         list of sockets that we forgot to close on shutdown.  This also consolidates
16870         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
16871
16872 2005-04-06  Dan Williams  <dcbw@redhat.com>
16873
16874         * dhcpcd/dhcpcd.c
16875                 - (dhcp_interface_free): fix a file descriptor leak that may have
16876                         caused network drivers to not unload due to refcounts > 0
16877
16878 2005-04-04  Dan Williams  <dcbw@redhat.com>
16879
16880         * panel-applet/NMWirelessAppletDbus.c
16881                 - (nmwa_dbus_call_nm_method): remove some commented code
16882
16883         * src/NetworkManagerAPList.[ch]
16884                 - (nm_ap_list_remove_ap_by_essid): new function
16885
16886         * src/NetworkManagerDevice.c
16887                 - (nm_device_wireless_force_use): remove access points from the ignore list
16888                         when the user forces them
16889
16890         * src/nm-dbus-device.c
16891                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
16892
16893 2005-04-04  Dan Williams  <dcbw@redhat.com>
16894
16895         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
16896
16897 2005-04-04  Dan Williams  <dcbw@redhat.com>
16898
16899         * src/NetworkManagerDevice.c:
16900                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
16901                         of only erroring after the second consecutive scan times out.  Also
16902                         don't exit when the card requires more time than we can give it, just
16903                         log the event and continue.
16904
16905 2005-04-01  Steve Murphy  <murf@e-tools.com>
16906
16907         * configure.in: Added "rw" to ALL_LINGUAS.
16908
16909 2005-04-01  Dan Williams <dcbw@redhat.com>
16910
16911         Perform scans during device activation, if needed.  Both activation 
16912         and scans run in the same GMainContext.  Therefore, if an access point
16913         is not found by the time the device starts activation, it will not
16914         be available until after activation.  We now try to scan during
16915         activation (in nm_wa_test) every 15s so that all available access
16916         points are more likely to be found and available for the activation
16917         procedure.
16918
16919         Also change nm_wireless_link_state_handle() to only update the "best"
16920         AP if we are not forcing a device and if we are not about to change
16921         state.  This attempts to work around a race when forcing a device,
16922         where the forced AP would get cleared out too soon by the link state
16923         checking timeout in the main thread, and the activation attempt with
16924         that AP would fail.
16925
16926 2005-04-01  Dan Williams <dcbw@redhat.com>
16927
16928         * po/POTFILES.in
16929                 - Update with new translatables
16930
16931 2005-03-31  Dan Williams <dcbw@redhat.com>
16932
16933         * panel-applet/NMWirelessAppletDbus.c
16934                 - Fix device names now that hal has changed device parenting for
16935                         network devices.
16936
16937 2005-03-31  Dan Williams <dcbw@redhat.com>
16938
16939         Tighten up handling of wireless devices that don't support wireless
16940         scanning (ie, Orinoco).  Due to restructuring of code, these devices
16941         hadn't been doing pseudo-scanning for a while either and would just
16942         spin waiting for an access point.  They are now manual devices where
16943         the user must choose the access point from the menu every time.  All
16944         "allowed" access points are listed in the applet's menu regardless
16945         of whether or not they can be seen by the card, since it can't scan
16946         anyway.
16947
16948         * src/NetworkManager.c
16949                 - (nm_wireless_link_state_handle): new function, but only update
16950                         the "best" ap for non-scanning devices when its not activating,
16951                         and when no device is being forced on the card
16952                 - (nm_link_state_monitor): split wireless link state handling out
16953                         into separate function
16954
16955         * src/NetworkManagerDevice.c
16956                 - (nm_device_copy_allowed_to_dev_list): new function
16957                 - (nm_device_new): populate non-scanning cards' AP lists with
16958                         access points from the "allowed" list
16959                 - (nm_device_new): don't start a scanning timeout for devices that
16960                         can't scan
16961                 - (nm_device_activation_schedule_finish): new parameter, should be
16962                         the AP that failed to be connected to, pass it on to the
16963                         activation finish function in NetworkManagerPolicy.c
16964                 - (nm_device_activate_wireless): don't ever try to get a new AP
16965                         for non-scanning devices, just fail.  The user must choose
16966                         a new access point manually.
16967                 - (nm_device_activate): grab the AP that failed connection and
16968                         pass it on
16969                 - (nm_device_update_best_ap): Clear the best AP if we don't have
16970                         a link to it, user must manually choose a new one
16971                 - (nm_device_do_pseudo_scan): remove function
16972                 - (nm_device_wireless_process_scan_results): remove bits for non-
16973                         scanning cards since they never get here
16974                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
16975                         and fake the scan list for test devices a bit earlier
16976
16977         * src/NetworkManagerPolicy.c
16978                 - (nm_policy_activation_finish): use the failed_ap that we get
16979                         passed rather than getting the best_ap from the card, which
16980                         may have changed since we were scheduled
16981                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
16982                         update their scan list directly from the allowed list when
16983                         we get updates to the allowed list from NetworkManagerInfo
16984
16985         * src/NetworkManagerPolicy.h
16986                 - New member for failed access point in NMActivationResult
16987
16988   -------------------------------------
16989
16990         Driver Notification patch: notifies the user when their driver
16991                 sucks.  Gives them the option to ignore further insertions
16992                 of the card that has the sucky driver.
16993
16994         * NetworkManager.h
16995                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
16996                         enum and replace it with NO_CARRIER_DETECT and
16997                         NO_WIRELESS_SCAN
16998
16999         * panel-applet/NMWirelessApplet.[ch]
17000                 - Merge essid.glade -> wireless-applet.glade
17001                 - Implement the "Your driver sucks" notification dialog
17002
17003         * panel-applet/NMWirelessAppletDbus.c
17004                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17005                 - Grab hardware address for each device from NM too
17006                 - Check whether the driver for each device sucks or not whenever
17007                         a new device is noticed
17008
17009         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17010                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17011
17012         * src/NetworkManager.c
17013                 - Fix a double-unref on device removal
17014
17015         * src/NetworkManagerUtils.c
17016                 - Set appropriate driver support level on a device that doesn't
17017                         support scanning or carrier detection
17018
17019         * src/nm-dbus-device.c
17020                 - New "getHWAddress" dbus method on devices
17021                 - getSupportsCarrierDetect -> getDriverSupportLevel
17022
17023 2005-03-31  Dan Williams <dcbw@redhat.com>
17024
17025         * src/NetworkManagerDevice.c
17026                 - (nm_device_wireless_scan): Fix leak of scan results in some
17027                         instances
17028
17029 2005-03-29  Dan Williams <dcbw@redhat.com>
17030
17031         * src/NetworkManager.c
17032                 - (nm_poll_and_update_wireless_link_state): make code less indented
17033
17034         Patch from Bill Moss:
17035         * src/NetworkManager.c
17036                 - (nm_device_update_link_state): Update signal strength on wireless
17037                         devices every time we update link state too.
17038
17039 2005-03-29  Dan Williams <dcbw@redhat.com>
17040
17041         * src/NetworkManagerDevice.c
17042                 - (nm_device_set_essid): Work around Orinoco cards which need
17043                         extra time after setting the ESSID
17044
17045 2005-03-29  Dan Williams <dcbw@redhat.com>
17046
17047         * src/NetworkManagerDevice.c
17048                 - Merge one more bit of Peter Jones' completion patch
17049
17050 2005-03-29  Dan Williams <dcbw@redhat.com>
17051
17052         * src/NetworkManagerDevice.c
17053                 - (nm_device_force_use): Fix possible segfault
17054
17055 2005-03-29  Dan Williams <dcbw@redhat.com>
17056
17057         * src/NetworkManagerDevice.c
17058                 - Use iw_get_ext() where we should rather than iw_set_ext()
17059
17060 2005-03-29  Dan Williams <dcbw@redhat.com>
17061
17062         * src/NetworkManagerDevice.c
17063                 - (nm_device_set_up_down): remove check for unsupported devices
17064                         that caused NM to not bring devices up when they were
17065                         added to the device list.
17066
17067 2005-03-28  Dan Williams <dcbw@redhat.com>
17068
17069         * src/NetworkManagerDevice.c
17070                 - (mdio_read): Fix two bugs that caused all devices to fail
17071                         the MII carrier detection support checks
17072
17073 2005-03-26  Dan Williams <dcbw@redhat.com>
17074
17075         * src/NetworkManagerDevice.c
17076                 - (nm_device_wireless_scan): Remove duplicated scanning code
17077
17078 2005-03-25  Dan Williams <dcbw@redhat.com>
17079
17080         * panel-applet/NMWirelessApplet.c
17081                 - (nmwa_about_cb): Add some more contributors
17082                 - (nmwa_update_state): show the applet when there's no connection
17083                 - Enable the "Stop/Resume all wireless devices" option in the
17084                         context menu
17085                 - New "no connection" icon
17086
17087         * src/NetworkManager.c
17088                 - (nm_poll_and_update_wireless_link_state): don't do anything if
17089                         wireless is disabled or we're asleep
17090
17091         * src/NetworkManagerDHCP.c
17092                 - Remove trailing "\n" on debug messages
17093
17094         * src/NetworkManagerDbus.c
17095                 - (nm_dbus_network_status_from_data): new state "asleep"
17096
17097         * src/NetworkManagerDevice.c
17098                 - Merge most of Peter Jones' "completion" patch that greatly reduces
17099                         latency and wait times for most operations
17100                 - (nm_device_wireless_scan): Don't scan when asleep
17101
17102         * src/NetworkManagerPolicy.c
17103                 - (nm_policy_get_best_device): return no device when asleep
17104                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17105                         for all wireless devices on update, not just active device
17106
17107         * src/NetworkManagerUtils.c
17108                 - Merge Peter Jones' "completion" patch
17109
17110         * src/nm-dbus-nm.c
17111                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17112                         we're told to disable them
17113                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17114
17115         * utils/nm-utils.h
17116                 - New variants of the warn/info/error/debug print functions that can take
17117                         variables rather than static strings
17118
17119 2005-03-24  Dan Williams <dcbw@redhat.com>
17120
17121         * src/NetworkManagerUtils.c
17122                 - (nm_get_device_driver_name): driver names are now on the parents of
17123                         "Network Interface" objects, so look for them there
17124
17125 2005-03-24  Dan Williams <dcbw@redhat.com>
17126
17127         * test/nmtest.c
17128                 - Escape some forgotten object paths before we shove them through dbus
17129
17130 2005-03-24  Dan Williams <dcbw@redhat.com>
17131
17132         * dhcpcd/dhcpcd.[ch]
17133           src/NetworkManagerDHCP.c
17134                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17135                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
17136
17137         * src/NetworkManagerDbus.c
17138                 - spacing cleanups
17139
17140         * src/nm-dbus-dhcp.c
17141                 - Make the API suck less.  There is now only 1 type of each function,
17142                         ie only "getInteger" and no longer also "getIntegerv".  All types
17143                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17144                         that will never have more than 1 element.  This should simplify
17145                         things greatly.
17146
17147         * test/nm-dhcp-opt-test.c
17148                 - Make the tool not segfault
17149                 - adapt to new DHCP Options API
17150
17151 2005-03-22  Dan Williams <dcbw@redhat.com>
17152
17153         * src/NetworkManager.c
17154                 - (nm_wired_link_deactivated): actually ignore netlink events from
17155                         wireless devices.
17156
17157 2005-03-22  Dan Williams <dcbw@redhat.com>
17158
17159         * src/NetworkManager.c
17160                 - (nm_wired_link_activated): actually ignore netlink events from
17161                         wireless devices.
17162
17163 2005-03-17  Dan Williams <dcbw@redhat.com>
17164
17165         Patch from Tom Parker:
17166         * src/nm-netlink-monitor.c
17167                 - Include unistd.h
17168         * info-daemon/NetworkManagerInfoDbus.c
17169                 - (nmi_dbus_update_network_auth_method): free GConf values
17170
17171         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17172         * src/NetworkManagerDevice.c
17173                 - (nm_device_set_wireless_config): wait for successful
17174                         association longer for some cards (Atheros a/b/g)
17175
17176 2005-03-15  Ray Strode  <rstrode@redhat.com>
17177
17178         * src/NetworkManager.c:
17179         (sigterm_pipe_handler):
17180         remove bogus FIXME
17181
17182 2005-03-15  Ray Strode  <rstrode@redhat.com>
17183
17184         * src/NetworkManagerDbus.c:
17185         Fix some sign weirdness that gcc4 doesn't like,
17186         and add a header file so PPC can hopefully find
17187         SIGTRAP
17188
17189 2005-03-14  Ray Strode  <rstrode@redhat.com>
17190         
17191         Fourth (probably working) cut at porting to
17192         dbus 0.30 api and new hal. This cut adds
17193         some new logging macros to make debugging
17194         easier.
17195
17196         * dispatcher-daemon/NetworkManagerDispatcher.c:
17197         * info-daemon/NetworkmanagerInfo.c:
17198         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17199         * info-daemon/NetworkManagerInfoVPN.c:
17200         * src/NetworkManager.c:
17201         * src/NetworkManagerAP.c:
17202         * src/NetworkManagerAPList.c:
17203         * src/NetworkManagerDHCP.c:
17204         * src/NetworkManagerDbus.c:
17205         * src/NetworkManagerDevice.c:
17206         * src/NetworkManagerPolicy.c:
17207         * src/NetworkManagerSystem.c:
17208         * src/NetworkManagerUtils.c:
17209         * src/NetworkManagerWireless.c:
17210         * src/autoip.c:
17211         * src/nm-dbus-nm.c:
17212         * src/backends/NetworkManagerDebian.c:
17213         * src/backends/NetworkManagerGentoo.c:
17214         * src/backends/NetworkManagerRedHat.c:
17215         * src/backends/NetworkManagerSlackware.c:
17216         use new logging macros.
17217
17218         * dispatcher-daemon/NetworkManagerDispatcher.c:
17219         (nmd_dbus_filter): s/dbus_free/g_free/
17220
17221         * info-daemon/Makefile.am: link in utils library.
17222         * info-daemon/NetworkmanagerInfo.c: use new logging 
17223         macros.
17224         (nmi_dbus_get_network): don't assume enumerations
17225         are 32-bit.
17226         (nmi_dbus_nmi_message_handler): don't free what 
17227         doesn't belong to us.
17228
17229         * libnm_glib/libnm_glib.c:
17230         (libnm_glib_get_nm_status): 
17231         (libnm_glib_init): don't free what doesn't
17232         belong to us.
17233         (libnm_glib_dbus): strdup result, so it doesn't get
17234         lost when message is unref'd.
17235
17236         * panel-applet/NMWirelessAppletDbus.c:
17237         (nmwa_dbus_update_devices): s/dbus_free/g_free/
17238
17239         * src/NetworkManager.c:
17240         (nm_monitor_wired_link_state): request initial status 
17241         dump of all cards when we start up, instead of relying
17242         on /sys/.../carrier.
17243         (nm_info_handler), (nm_set_up_log_handlers): 
17244         log handlers to specify what syslog priorites 
17245         the logging macros default to.
17246
17247         * src/NetworkManagerAPList.c: 
17248         (nm_ap_list_populate_from_nmi):
17249         s/dbus_free_string_array/g_strfreev/
17250
17251         * src/NetworkManagerDbus.c:
17252         (nm_dbus_get_network_object):
17253         validate d-bus message argument types.
17254         Advance message iterator after reading argument,
17255         prepend instead of append to GSList.
17256
17257         * src/NetworkManagerDevice.c:
17258         (nm_device_probe_wired_link_status):
17259         remove redundant /sys in /sys path. remove wrong
17260         contents == NULL means has carrier assumption.
17261
17262         * src/nm-netlink-monitor.c 
17263         (nm_netlink_monitor_request_status): implement
17264         function to ask kernel to dump interface link
17265         status over netlink socket.
17266
17267         * test/*.c: s/dbus_free/g_free/
17268
17269         * utils/nm-utils.h:
17270         (nm_print_backtrace): new macro to print backtrace.
17271         (nm_get_timestamp): new macro to get sub-second precise
17272         unix timestamp.
17273         (nm_info), (nm_debug), (nm_warning), (nm_error):
17274         new logging functions. nm_info just prints,
17275         nm_debug includes timestamp and function,
17276         nm_warning includes function, nm_error includes
17277         backtrace and sigtrap.
17278
17279 2005-03-11  Ray Strode  <rstrode@redhat.com>
17280
17281         Third (unfinished, partially working) cut at porting to 
17282         dbus 0.30 api and new hal.
17283
17284         * info-daemon/NetworkManagerInfoDbus.c:
17285                 don't free null arrays.
17286
17287         * panel-applet/NMWirelessAppletDbus.c: 
17288         * src/nm-dbus-device.c:
17289         * src/nm-dbus-net.c: 
17290         * src/NetworkManagerDbus.c: more 
17291         STRING -> OBJECT_PATH fun
17292         * src/NetworkManagerDevice.c:
17293         * src/NetworkManagerDevice.h:
17294         (rename nm_device_get_link_active): rename to 
17295         nm_device_has_active_link
17296         (nm_device_wireless_link_active): rename to
17297         nm_device_probe_wireless_link_state
17298         (nm_device_wired_link_active): rename to
17299         nm_device_probe_wired_link_state.  Rewrite to
17300         use carrier file since hal doesn't maintain
17301         link state anymore.
17302         (nm_device_update_link_active): rename to
17303         nm_device_update_link_state
17304         * src/NetworkManagerPolicy.c 
17305           (nm_policy_activation_finish): check for NULL
17306           MAC address.
17307
17308         * src/Makefile.am:
17309         * src/NetworkManagerMain.h: 
17310         * src/NetworkManager.c:
17311         * src/nm-netlink-monitor.c:
17312         * src/nm-netlink-monitor.h: New class to support
17313         monitoring wired ethernet link status, since HAL
17314         doesn't export that information anymore.
17315
17316 2005-03-09  Ray Strode  <rstrode@redhat.com>
17317
17318         Second (unfinished, unworking) cut at porting to 
17319         dbus 0.30 api.
17320
17321         * dispatcher-daemon/NetworkManagerDispatcher.c:
17322         * info-daemon/NetworkManagerInfoDbus.c:
17323         * panel-applet/NMWirelessAppletDbus.c:
17324         * src/NetworkManagerDbusUtils.c:
17325         * src/NetworkManagerDbusUtils.h:
17326         * src/nm-dbus-device.c:
17327         * src/nm-dbus-nm.c:
17328         * test/nmtest.c: support dbus "object path" type
17329
17330         * configure.in: 
17331         * Makefile.am:
17332         * info-daemon/Makefile.am:
17333         * libnm_glib/Makefile.am:
17334         * panel-applet/Makefile.am:
17335         * dispatcher-daemon/Makefile.am
17336         * src/Makefile.am:
17337         * test/Makefile.am:
17338         * utils/Makefile.am: 
17339         * utils/nm-utils.c: 
17340         * utils/nm-utils.h: new utils static lib
17341
17342 2005-03-07  Ray Strode  <rstrode@redhat.com>
17343
17344         * info-daemon/NetworkManagerInfoDbus.c:
17345         * libnm_glib/libnm_glib.c:
17346         * panel-applet/NMWirelessAppletDbus.c:
17347         * src/NetworkManager.c:
17348         * src/NetworkManagerDbus.c:
17349         * src/NetworkManagerDevice.c:
17350         * src/NetworkManagerUtils.c:
17351         * src/nm-dbus-device.c:
17352         * src/nm-dbus-dhcp.c:
17353         * src/nm-dbus-net.c:
17354         * src/nm-dbus-nm.c:
17355         * test/nminfotest.c:
17356         First (unfinished, unworking) cut at porting to dbus 0.30 api.
17357
17358 2005-03-04  Dan Williams  <dcbw@redhat.com>
17359
17360         * configure.in
17361                 - Mark HEAD as 0.4
17362
17363 2005-03-04  Dan Williams  <dcbw@redhat.com>
17364
17365         Patch from Peter Jones:
17366         - Make stuff work with gcc 4.0
17367
17368 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
17369
17370         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17371
17372 2005-02-27  Jim Huang  <jserv@kaffe.org>
17373
17374         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17375
17376 2005-02-27  Dan Williams  <dcbw@redhat.com>
17377
17378         Patch from Bill Moss:
17379         * panel-applet/NMWirelessAppletDbus.c
17380                 - Make sure strength for current access point is up-to-date when we
17381                         update the gui data model
17382
17383 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
17384
17385         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17386
17387 2005-02-27  Dan Williams  <dcbw@redhat.com>
17388
17389         * src/backends/NetworkManagerRedHat.c
17390                 - (nm_system_init): Kill any dhclient processes lying around as well
17391                         as stopping 'nifd' if its already been started.  NetworkManager
17392                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
17393
17394 2005-02-27  Dan Williams  <dcbw@redhat.com>
17395
17396         * panel-applet/NMWirelessApplet.c
17397                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17398                         dbus data model, not the GUI data model twice.
17399
17400 2005-02-27  Dan Williams  <dcbw@redhat.com>
17401
17402         * panel-applet/NMWirelessApplet.[ch]
17403           panel-applet/NMWirelessAppletDbus.[ch]
17404                 - Move to incremental network updates.  Instead of blowing away our list
17405                         of devices every time we get a signal from NetworkManager, we now
17406                         incrementally add/remove networks when NetworkManager notifies us that
17407                         a new network has appeared or disappered.  Strength updates now happen
17408                         on-the-fly for each access point as well.  There are now two copies of
17409                         data from NetworkManager: one for the dbus side, and one for the gui side.
17410                         When the dbus side data is modified, it is copied over to the gui side
17411                         so we don't have to hold the data_mutex for long periods of time (and
17412                         therefore block animation of the applet's icon).
17413                 - Clean up some memleaks too
17414
17415         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17416                 - Minor code beautification
17417
17418         * src/NetworkManagerAPList.c
17419                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17420                         completely new and whether or not an existing one's strength was updated.
17421                         Try to fix multiple access points and signal strength by using the highest
17422                         signal strength in each scan for any given ESSID.
17423
17424         * src/NetworkManagerDbus.[ch]
17425                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17426                         wireless networks; now we have only WirelessNetworkUpdate which includes
17427                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17428                 - Kill usage of DbusMessageIter
17429
17430         * src/NetworkManagerDevice.c
17431                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17432                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
17433                         AP rather than all-at-once.  Also don't ever remove the AP a card is
17434                         currently associated with from the network list.
17435                 - Update for new signals during scan, send out Appeared, Disappeared, or
17436                         StrengthChanged when necessary.
17437
17438 2005-02-25  Dan Williams  <dcbw@redhat.com>
17439
17440         * README
17441                 - Line break the README
17442
17443 2005-02-25  Dan Williams  <dcbw@redhat.com>
17444
17445         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17446                 - Remove usage of gtk_window_set_default_size()
17447
17448         * panel-applet/essid.glade
17449                 - Stick default size here
17450                 - Add in random crap that current glade wants to add in now
17451
17452 2005-02-25  Dan Williams  <dcbw@redhat.com>
17453
17454         * src/backends/NetworkManagerRedHat.c
17455                 - For non-caching-nameserver/non-named case, ensure that nscd is running
17456                         and that we actually tell nscd to reload the hosts cache when it changes
17457
17458 2005-02-25  Dan Williams  <dcbw@redhat.com>
17459
17460         * info-daemon/NetworkManagerInfoDbus.c
17461                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17462
17463         * test/nminfotest.c
17464                 - Whack usage of DbusMessageIter
17465                 - Clean up DbusError and DbusMessage handling and freeing
17466                 - Remove unused unregister handler
17467
17468         * test/nmtest.c
17469                 - Whack usage of DbusMessageIter
17470
17471         * test/nmtestdevices.c
17472                 - Whack usage of DbusMessageIter
17473
17474 2005-02-25  Dan Williams  <dcbw@redhat.com>
17475
17476         * NetworkManager.h
17477                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17478                         signal
17479
17480 2005-02-25  Dan Williams  <dcbw@redhat.com>
17481
17482         * named/nm-named-manager.c
17483                 - Ensure that pid and watch variables for child named process get cleared out
17484                         when the child goes away.
17485
17486 2005-02-22  Dan Williams  <dcbw@redhat.com>
17487
17488         * src/NetworkManagerPolicy.c
17489                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17490                         and NULL out data->active_device so that we have to choose another one.
17491                         This may make NetworkManager keep attempting to connect to a wired network
17492                         if it fails, but if it keeps failing the wired network has more problems than
17493                         just NetworkManager.
17494
17495         * src/backends/NetworkManagerRedHat.c
17496                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17497                         is already running
17498
17499         * named/nm-named-manager.c
17500                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17501                         named so that the distro can flush whatever name service caching
17502                         daemon it uses
17503
17504 2005-02-21  Dan Williams  <dcbw@redhat.com>
17505
17506         * src/NetworkManagerDHCP.[ch]
17507                 - (nm_device_dhcp_remove_timeouts): new function
17508
17509         * src/NetworkManagerDevice.c
17510                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17511                         remove the DHCP timeouts.
17512
17513 2005-02-21  Dan Williams  <dcbw@redhat.com>
17514
17515         * panel-applet/NMWirelessApplet.[ch]
17516           panel-applet/menu-info.[ch]
17517                 - Give the panel applet some major love: menu items are no longer
17518                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17519                         This allows the applet to actually reflect theme changes correctly,
17520                         since themeing of subclassed items in GTK _sucks_.
17521
17522 2005-02-18  Dan Williams  <dcbw@redhat.com>
17523
17524         * libnm_glib/libnm_glib.[ch]
17525           test/libnm_glib_test.c
17526                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17527                         and its data, and doesn't have to free the callback data anymore
17528
17529 2005-02-18  Dan Williams  <dcbw@redhat.com>
17530
17531         * panel-applet/NMWirelessApplet.c
17532                 - Revert 2005-02-18 William Jon McCann fix for standard
17533                         copyright string until it passes 'make distcheck'.
17534                         With standard copyright string, xgettext complains
17535                         about "Non-ASCII string at ...".
17536
17537 2005-02-18  Dan Williams  <dcbw@redhat.com>
17538
17539         * panel-applet/essid.glade
17540           panel-applet/NMWirelessAppletOtherNetworksDialog.c
17541                 - Correct spelling of "adaptor"->"adapter"
17542
17543 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17544
17545         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17546         (nmwa_about_cb): Use standard copyright string.  Update comment
17547         text to reflect that it is a notification area applet.  Remove
17548         leading newline in authors list.
17549         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17550         instead of on parent menu item activation.  Fixes #167550.
17551
17552 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17553
17554         * panel-applet/essid.glade: Capitalize items as per HIG.
17555           Fixes #167632
17556
17557 2005-02-16  William Jon McCann  <mccann@jhu.edu>
17558
17559         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17560         files for GTK 2.4 or lower, since now public in GTK 2.6.
17561
17562         * panel-applet/essid.glade: Don't specify window size.
17563         
17564 2005-02-17  Dan Williams  <dcbw@redhat.com>
17565
17566         Caught by Bill Moss:
17567         * dhcpcd/client.c
17568                 - Time remaining for DHCP transaction calculation was incorrectly
17569                         inside a #ifdef DEBUG
17570
17571 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
17572
17573         * configure.in: Added fr (French) to ALL_LINGUAS.
17574
17575 2005-02-14  Dan Williams  <dcbw@redhat.com>
17576
17577         * src/NetworkManagerDHCP.c
17578                 - (set_domain_searches): Fix free of invalid pointer
17579
17580 2005-02-14  Dan Williams  <dcbw@redhat.com>
17581
17582         Patch from Peter Jones:
17583         * dhcpcd/client.c
17584                 - Ensure we return RET_DHCP_CEASED everywhere we should
17585         * dhcpcd/udpipgen.c
17586                 - Use faster TOS for IP packets
17587                 - Don't set ip_id since we're UDP
17588
17589         Patch from Tomislav Vujec:
17590         * src/nm-dbus-dhcp.c
17591           test/nm-dhcp-opt-test.c
17592                 - Clean up warnings to enable cvs tree compilation.
17593
17594 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
17595
17596         * configure.in
17597           po/hr.po
17598                 - Add the Croatian locale.
17599
17600 2005-02-14  Colin Walters  <walters@verbum.org>
17601
17602         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
17603         list of domains to search.
17604         
17605         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
17606
17607 2005-02-13  Dan Williams  <dcbw@redhat.com>
17608
17609         * dhcpcd/client.c
17610                 - Debug output cleanups of DHCP option printing and parsing.
17611
17612 2005-02-13  Dan Williams  <dcbw@redhat.com>
17613
17614         Patch from Dan Reed:  DHCP options D-BUS API
17615                 Exposes the DHCP options that a device receives to clients over D-BUS.
17616
17617         * configure.in
17618                 - A few cleanups
17619
17620         * dhcpcd/client.h
17621                 - Correct names, option length, and types for DHCP options
17622
17623         * dhcpcd/dhcpcd.[ch]
17624                 - Clarify function names that access DHCP options & data
17625
17626         * src/NetworkManagerDHCP.c
17627                 - Use new DHCP data access functions
17628
17629         * src/NetworkManagerDbus.c
17630                 - Message handler for DHCP functions
17631
17632         * src/nm-dbus-dhcp.[ch] (new)
17633                 - DHCP dbus methods
17634
17635         * test/nm-dhcp-opt-test.c
17636                 - Test DHCP D-BUS API and return all present DHCP options
17637
17638 2005-02-12  Dan Williams  <dcbw@redhat.com>
17639
17640         * test/Makefile.am
17641           test/nmclienttest.c
17642           test/nmtest.c
17643                 - Move nmclienttest.c -> nmtest.c
17644
17645 2005-02-12  Dan Williams  <dcbw@redhat.com>
17646
17647         * dhcpcd/buildmsg.c
17648                 - Pad DHCP packets until they are at least 300 bytes in size.
17649
17650 2005-02-11  Dan Williams  <dcbw@redhat.com>
17651
17652         * dhcpcd/client.c
17653                 - (dhcp_init): only print out client ID and class ID if they are specified
17654
17655         * src/NetworkManagerDbus.[ch]
17656           src/nm-dbus-nm.[ch]
17657           src/nm-dbus-device.[ch]
17658           src/nm-dbus-net.[ch]
17659                 - Move NM, Device, and Net functions to separate files and use the
17660                         dbus method list stuff in NetworkManagerDbusUtils.c to do
17661                         method dispatching
17662
17663         * src/NetworkManagerDbusUtils.c
17664                 - Add new validate_method called before each dispatch (if present)
17665                         that can validate the method call
17666
17667         * src/NetworkManagerWireless.c
17668                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
17669                         levels never to be evaluated
17670
17671         Patch from j@bootlab.org
17672         * src/NetworkManagerDevice.c
17673                 - Add typedef for "u64"
17674
17675         * src/backends/NetworkManagerDebian.c
17676                 - Copy in Dave Woodhouse's fixes for IPv6
17677
17678 2005-02-11  Dan Williams  <dcbw@redhat.com>
17679
17680         Patch from Dave Woodhouse for IPv6:
17681         * src/NetworkManagerUtils.c
17682                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
17683                         and multicast addresses
17684
17685         * src/NetworkManagerDevice.c
17686                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
17687                         after bringing up a card.
17688
17689 2005-02-10  Dan Williams  <dcbw@redhat.com>
17690
17691         Patch from Dave Woodhouse:
17692         * src/NetworkManagerSystem.h
17693           src/backends/NetworkManagerDebian.c
17694           src/backends/NetworkManagerGentoo.c
17695           src/backends/NetworkManagerSlackware.c
17696                 - New nm_system_device_add_ip6_link_address() function to add link-local
17697                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
17698
17699         * src/backends/NetworkManagerRedHat.c
17700                 - (nm_system_device_add_ip6_link_address): implement
17701                 - (nm_system_device_flush_addresses): revert to previous behavior of
17702                         flushing all addresses
17703
17704 2005-02-10  Dan Williams  <dcbw@redhat.com>
17705
17706         Patch from Tom Parker:
17707         * src/NetworkManagerDevice.c
17708                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
17709                         mii.h headers are broken, and instead use our own typedefs
17710
17711 2005-02-10  Dan Williams  <dcbw@redhat.com>
17712
17713         * dhcpcd/buildmsg.c
17714                 - (fill_host_and_class_id): only fill in client and class IDs if
17715                         they are set by callers.
17716
17717         * dhcpcd/client.c
17718                 - (class_id_setup): don't autogenerate a class ID, only use one
17719                         we're given, if any.
17720                 - (client_id_setup): don't autogenerate a client ID, only use one
17721                         we're given, if any.
17722
17723         * dhcpcd/dhcpcd.c
17724                 - (dhcp_interface_init): ensure that client options are correctly
17725                         NULL terminated
17726
17727         * src/NetworkManagerDHCP.c
17728                 - (nm_device_dhcp_request): pass hostname to dhcp library
17729
17730 2005-02-10  Dan Williams  <dcbw@redhat.com>
17731
17732         * dhcpcd/client.c
17733                 - #rh147661# Don't send kernel version in DHCP requests
17734
17735         * src/NetworkManagerSystem.h
17736           src/backends/NetworkManagerDebian.c
17737           src/backends/NetworkManagerGentoo.c
17738           src/backends/NetworkManagerRedHat.c
17739           src/backends/NetworkManagerSlackware.c
17740                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
17741                         functions, they are no longer used anyway
17742
17743         * src/backends/NetworkManagerRedHat.c
17744                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
17745                         addresses in an attempt to keep IPv6 local-scope addresses around
17746
17747 2005-02-10  Dan Williams  <dcbw@redhat.com>
17748
17749         * src/NetworkManager.c
17750                 - (nm_create_device_and_add_to_list): change the add message slightly
17751
17752         * src/NetworkManagerUtils.c
17753                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
17754                         Return driver name to calling function
17755                 - (nm_get_driver_support_level): print out the driver a device is using
17756                         during the support check
17757
17758         Patch from Dave Woodhouse:
17759         * dhcpcd/udpipgen.c
17760                 - (in_cksum): copy last byte of odd-sized packets into a
17761                         'u_short' rather than a 'u_char', should fix wrong checksums
17762                         on big-endian platforms
17763
17764 2005-02-09  Dan Williams  <dcbw@redhat.com>
17765
17766         * Clean up usage of GSList objects and looping through their members
17767         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
17768                 now.
17769         * Fix problem where even if scanning was turned off, card would still
17770                 cycle through frequencies.
17771
17772 2005-02-08  Dan Williams  <dcbw@redhat.com>
17773
17774         * panel-applet/NMWirelessApplet.c
17775                 - Fix for gtk 2.4
17776
17777 2005-02-08  Dan Williams  <dcbw@redhat.com>
17778
17779         Patch from Bill Moss
17780         * panel-applet/NMWirelessApplet.c
17781                 - Restore correct ESSID in tooltips
17782
17783 2005-02-07  Dan Williams  <dcbw@redhat.com>
17784
17785         * panel-applet/NMWirelessApplet.[ch]
17786                 - Add a context menu that contains:
17787                         Pause/Resume Wireless Scanning
17788                         Stop/Start All Wireless Devices
17789                         About...
17790                 - Grab active device strength off active device,
17791                         not its network
17792
17793         * panel-applet/NMWirelessAppletDbus.[ch]
17794                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
17795                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
17796                 - Update active device strength every 2 seconds, not every 1 second
17797
17798         * panel-applet/menu-info.c
17799                 - Only disable wired devices in the menu when they support carrier detection,
17800                         and don't currently have a link.  Non-carrier-detect devices will always
17801                         remain choosable
17802
17803         * src/Makefile.am
17804           src/NetworkManagerDbusUtils.[ch]
17805                 - Add new new dbus utils sources
17806
17807         * src/NetworkManager.c
17808                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
17809                         with the boolean parameter
17810                 - Set scanning_enabled & wireless_enabled to TRUE
17811
17812         * src/NetworkManagerDbus.c
17813                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
17814                 - Implement scanning & wireless enable/disable calls
17815                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
17816
17817         * src/NetworkManagerDevice.c
17818                 - New link detection stuff again...
17819                         o  Create device's mainloop earlier (but don't run it earlier)
17820                         o  Hook up new carrier-detect support stuff
17821                         o  Add in the ethtool & mii support detection code
17822                 - Don't scan if scanning is disabled
17823
17824         * src/NetworkManagerPolicy.c
17825                 - Never automatically choose a device that doesn't support carrier detection
17826                 - Don't automatically choose a wireless device if wireless is disabled
17827
17828 2005-02-07  Dan Williams  <dcbw@redhat.com>
17829
17830         * libnm_glib/libnm_glib.c
17831                 - Small cleanup in element list iteration
17832
17833 2005-02-07  Dan Williams  <dcbw@redhat.com>
17834
17835         * src/NetworkManagerWireless.c
17836                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
17837                         to be in line with the WEXT quality specification
17838
17839 2005-02-02  Dan Williams  <dcbw@redhat.com>
17840
17841         Patch from Nathan Fredrickson <nathan@silverorange.com>
17842         * Fix up compile for deprecation of libgnomeui
17843                 - Switch to <glib/gi18n.h> from <libintl.h>
17844                 - Remove <libgnomeui/libgnomeui.h> includes
17845                 - Use gtk_window_set_default_icon_from_file() rather than
17846                         gnome_window_set_default_icon_from_file()
17847
17848         * named/nm-named-manager.c
17849                 - (generate_named_conf): Fix return-nothing in non-void
17850                         function
17851
17852 2005-02-02  Dan Williams  <dcbw@redhat.com>
17853
17854         * Clean up unused variables and the like
17855
17856 2005-02-02  Dan Williams  <dcbw@redhat.com>
17857
17858         * src/NetworkManagerAPList.c
17859                 - (nm_ap_list_merge_scanned_ap): merge strength too
17860
17861         * src/NetworkManagerUtils.c
17862                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
17863                         of locking issues by printing out prettier information than g_mutex_lock
17864                 - Print out names of mutexes registered with nm_register_mutex_desc()
17865                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
17866                         us to seemingly block here for too long
17867
17868         * src/NetworkManager.c
17869           src/NetworkManagerAPList.c
17870           src/NetworkManagerDevice.c
17871                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
17872                         so we get better debug information printed
17873
17874         * src/NetworkManagerDbus.c
17875                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
17876                         since it sometimes has locking side effects
17877                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
17878                         from 10s
17879                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
17880                         we don't need a switch.  This gets called often enough that we can't block
17881                         until the scan mutex is acquired, because we'll block on device activation
17882                         and a few other things, which hangs main thread for too long.
17883
17884         * src/NetworkManagerPolicy.c
17885                 - (nm_policy_auto_get_best_device): reduce the possiblity that
17886                         nm_device_need_ap_switch() will be called               
17887
17888 2005-02-02  Dan Williams  <dcbw@redhat.com>
17889
17890         * panel-applet/NMWirelessApplet.c
17891                 - Display name of wireless network we are connecting to or connected to
17892                         in the tooltip of the applet
17893
17894 2005-02-02  Dan Williams  <dcbw@redhat.com>
17895
17896         * src/NetworkManagerDHCP.c
17897                 - Hopefully fix double-default-route problem by cleaning up the default
17898                         route added by DHCP code right before the DHCP transaction begins
17899
17900 2005-02-02  Dan Williams  <dcbw@redhat.com>
17901
17902         * named/nm-named-manager.c
17903                 - Write out valid resolv.conf when we exit
17904
17905 2005-02-01  Dan Williams  <dcbw@redhat.com>
17906
17907         Patch from Colin Walters:
17908         * named/nm-named-manager.c
17909                 - Make multi-domain search options work
17910
17911 2005-01-31  Dan Williams  <dcbw@redhat.com>
17912
17913         * info-daemon/NetworkManagerInfoDbus.c
17914                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
17915
17916         * src/NetworkManagerDevice.c
17917                 - (nm_device_new): Don't store the entire range struct, use only what we need
17918                         (which is currently avg_quality, max_quality, and frequencies).  Also
17919                         zero device structure when we've free'd it to maybe expose errors down
17920                         the line.
17921                 - (nm_device_update_signal_strength): grab the scan mutex before getting
17922                         quality data from the card since quality will be useless during a scan.
17923                         Call updated wireless qual-to-percent function with values stored in
17924                         nm_device_new() earlier.
17925                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
17926                         nm_device_get_bad_crypt_packets())
17927                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
17928                         nm_device_new()
17929                 - (get_initial_auth_method): always use the Auth method that's in the allowed
17930                         list if available.  Problem was this: when the WEP key is wrong, NM will
17931                         try OS then SK modes, and then get stuck in SK mode after that.  This
17932                         should reset it.
17933                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
17934                         function
17935
17936         * src/NetworkManagerWireless.c
17937                 - (nm_wireless_qual_to_percent): try to make this function actually work and
17938                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
17939                         if that's all present, otherwise fall back to signal-to-noise ratios.
17940
17941 2005-01-29  Dan Williams  <dcbw@redhat.com>
17942
17943         * initscript/RedHat/NetworkManager
17944                 - Don't spit out sysctl stuff to console
17945
17946         * libnm_glib/libnm_glib.c
17947                 - (libnm_glib_init): call dbus_g_thread_init()
17948
17949         * panel-applet/NMWirelessAppletDbus.c
17950                 - (nmwa_dbus_worker): call dbus_g_thread_init()
17951
17952         * src/NetworkManager.c
17953                 - (main): call dbus_g_thread_init()
17954
17955         * src/NetworkManagerAPList.c
17956                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
17957                         so we can actually see what's there in a normal syslog
17958
17959         * src/NetworkManagerDevice.c
17960                 - (nm_device_activate_wireless): print out the "waiting for access point"
17961                         message only once, then say what access point we actually got after
17962                         the wait.
17963                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
17964                         function, wait until the scan is done.  Scans may change the ESSID of
17965                         the card, making this function think we need to switch access points
17966                 - (nm_device_wireless_process_scan_results): for artificial access points
17967                         don't check against the card's ESSID, but the best_ap's ESSID.  This
17968                         prevents collisions with the scanning code, which may change the card's
17969                         ESSID and cause the access point to get dropped from the device's AP
17970                         list.  Also increase the keep-around time to 2m from 60s since the max
17971                         scan interval could be 60s in some cases.
17972
17973         * src/NetworkManagerPolicy.c
17974                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
17975                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
17976                         the new properties and ESSIDs to the device's AP list.  Fixes some races
17977                         between NM and NMI.
17978
17979 2005-01-27  Dan Williams  <dcbw@redhat.com>
17980
17981         * info-daemon/NetworkManagerInfoDbus.c
17982                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
17983                         GConf, make a minimal entry for it (essid & timestamp)
17984
17985         * src/NetworkManagerAPList.c
17986                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
17987                         NetworkManagerInfo isn't running
17988
17989         * src/NetworkManagerDbus.[ch]
17990                 - (nm_dbus_nmi_is_running): new function
17991
17992         * src/NetworkManagerDevice.c
17993                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
17994                         address to garbage.
17995
17996         * src/NetworkManagerPolicy.c
17997                 - (nm_policy_activation_finish): On successful activation, make sure
17998                         the "best" AP has a MAC address, and don't tell NMI to add the
17999                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18000                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18001                         access point after refreshing our allowed list if it doesn't already
18002                         have a "best" access point.
18003
18004 2005-01-25  Dan Williams  <dcbw@redhat.com>
18005
18006         * panel-applet/NMWirelessAppletDbus.c
18007                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18008                         so we check for NM_DBUS_SERVICE rather than not for it
18009
18010         * libnm_glib/libnm_glib.c
18011                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18012                         ServiceOwnerChanged signal
18013
18014 2005-01-25  Dan Williams  <dcbw@redhat.com>
18015
18016         * configure.in
18017                 - Check DBUS version in configure, and set the C macros
18018                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
18019
18020         * info-daemon/NetworkManagerInfoDbus.c
18021                 - Remove #if 0-d section of code that quit NMI if NM went away.
18022
18023         * panel-applet/NMWirelessAppletDbus.c
18024                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18025
18026         * src/NetworkManager.c
18027           src/NetworkManagerMain.h
18028           src/NetworkManagerDbus.c
18029                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18030                 - Make updating of our Allowed Wireless Network lists from NMI
18031                         an idle function in the main thread now, with a high priority.
18032
18033 2005-01-24  Dan Williams  <dcbw@redhat.com>
18034
18035         * panel-applet/gtkcellview.[ch]
18036           panel-applet/menu-info.c
18037                 - Fix GTK version checks to be <= rather than <
18038
18039         * test/Makefile.am
18040                 - Include the libtool archive of libnm_glib rather than
18041                         trying to pull in the .so
18042
18043 2005-01-24  Dan Williams  <dcbw@redhat.com>
18044
18045         * src/NetworkManagerDevice.c
18046           src/NetworkManagerDevicePrivate.h
18047                 - Block nm_device_new() until our device's worker thread has had a
18048                         chance to start up.  Fixes a race between main thread and worker
18049                         thread starting that caused activation requests to get lost.
18050
18051 2005-01-24  Dan Williams  <dcbw@redhat.com>
18052
18053         * initscript/RedHat/NetworkManager
18054                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18055                         to add the NM startup script at priority 50, which was
18056                         way too early
18057
18058 2005-01-24  Colin Walters  <walters@redhat.com>
18059
18060         * named/named.conf: Use any port for query source instead of
18061         restricting to port 53.
18062
18063 2005-01-24  Dan Williams  <dcbw@redhat.com>
18064
18065         * initscript/RedHat/NetworkManager
18066                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18067                         to add the NM startup script at priority 50, which was
18068                         way too early
18069
18070 2005-01-24  Dan Williams  <dcbw@redhat.com>
18071
18072         Patch from Tom Parker <palfrey@tevp.net>
18073         * Fix up compile warnings & errors in the wireless applet
18074
18075 2005-01-24  Dan Williams  <dcbw@redhat.com>
18076
18077         * panel-applet/NMWirelessApplet.c
18078                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18079
18080 2005-01-24  Dan Williams  <dcbw@redhat.com>
18081
18082         * panel-applet/gtkcellview.[ch]
18083                 - Only compile these files for GTK 2.4 or lower, since 
18084                         GtkCellView is now public in GTK 2.6.  Fixes crasher
18085                         when choosing "Other Wireless Networks" from the panel
18086                         applet menu
18087
18088 2005-01-21  Dan Williams  <dcbw@redhat.com>
18089
18090         * src/NetworkManager.c
18091                 - Daemonize earlier so that glib doesn't get confused (?)
18092
18093 2005-01-21  Dan Williams  <dcbw@redhat.com>
18094
18095         * panel-applet/NMWirelessApplet.[ch]
18096           panel-applet/NMWirelessAppletDbus.c
18097           panel-applet/menu-info.c
18098           src/NetworkManagerDevice.c
18099                 - Disable wired devices in the menu when they have no link.
18100
18101 2005-01-21  Dan Williams  <dcbw@redhat.com>
18102
18103         * Cache last-known-good wireless authentication method in
18104                 NetworkManagerInfo, and use that method first during
18105                 wireless device activation.  Should speed up devices that
18106                 need Shared Key authentication method since Open System is
18107                 now the default.
18108
18109         * Remove the hack to not do full activation on wired connections
18110                 that are active when we launch, it causes too many problems
18111                 with name resolution and was a hack in the first place.
18112
18113         * Re-work wireless device activation again somewhat to have a
18114                 clearer chain of events and to use last-known-good
18115                 authentication method of the access point.  Also provide
18116                 better status throughout activation to ensure the applet
18117                 can tell the user exactly what's going on.
18118
18119         * Remove the "find wireless network" code and now simply attempt
18120                 to activate with that access point.  This reduces the delay
18121                 between selecting "Other wireless Network" and actually
18122                 connecting to that network.
18123
18124         * Correctly stop the device's worker thread when its removed.
18125
18126 2005-01-21  Dan Williams  <dcbw@redhat.com>
18127
18128         * dhcpcd/client.c
18129                 - Clean up some of the debug messages
18130
18131 2005-01-21  Dan Williams  <dcbw@redhat.com>
18132
18133         * Add new icons, more frames of animation
18134         * Remove some hacks to get the panel applet to display correct
18135                 status, an NM update will soon follow that will fix the
18136                 real issue.
18137
18138 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
18139
18140         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18141         the first include for working i18n. Also, don't include it in .h files
18142         * panel-applet/NMWirelessApplet.h: Same
18143         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18144         * panel-applet/menu-info.c: Same
18145
18146 2005-01-18  Dan Williams <dcbw@redhat.com>
18147
18148         * dhcpcd/client.c
18149                 - Remove some debug messages
18150                 - Wrap others in #ifdef DEBUG/#endif
18151
18152         * src/NetworkManager.c
18153                 - Remove some debug messages
18154                 - Clarify some debug messages
18155                 - Remove code related to old single-thread wireless scanning
18156
18157         * src/NetworkManagerAP.[ch]
18158                 - New AP property "last_seen" to track how recently an AP was
18159                         found in a scan
18160                 - Start using 'const' more in function arguments
18161
18162         * src/NetworkManagerAPList.[ch]
18163                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18164                         of an AP found in an AP list from a source AP, or if not found
18165                         in the list add the source AP
18166                 - (nm_ap_list_combine): remove, no longer needed
18167
18168         * src/NetworkManagerDevice.c
18169                 - Each device now has a "worker" thread from start to end of its life.
18170                         Scanning for wireless devices now happens in that thread,
18171                         not in a single "wireless scanning thread" for all devices as
18172                         previously.  Activation consists of adding an idle handler to the
18173                         thread's main loop/context, which gets run at the next available
18174                         opportunity.
18175                 - Wireless scanning is also simplified, there is now only one list of
18176                         access points per wireless device, and APs older than 60s are
18177                         removed from the list.  Previously, we kept results for the last
18178                         3 scans and merged whole lists, which was complicated.
18179                 - Cleaned up activation debug messages.
18180                 - Wireless activation and access-point search routines now use Open System
18181                         authentication before trying Shared Key.
18182                 - Removed some code in nm_device_update_best_ap() that could cause cards
18183                         to loose their link to the access point.
18184                 - Scanning now uses a backoff algorithm, where the inverval becomes
18185                         progressively longer between scans when the list of scanned access
18186                         points doesn't change.  A change will revert to the shortest scan
18187                         interval (20s).
18188
18189         * src/NetworkManagerWireless.[ch]
18190                 - Remove code related to old single-thread wireless scanning
18191
18192 2005-01-18  Colin Walters  <walters@redhat.com>
18193
18194         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18195         of older nameservers.
18196
18197 2005-01-18  Colin Walters  <walters@redhat.com>
18198
18199         * named/nm-named-manager.c (generate_named_conf): Many fixes
18200         to config file generation.
18201         (safer_kill): Remove, was too much trouble for little gain.
18202         (nm_named_manager_start): Run named as NM_NAMED_USER.
18203
18204         * configure.in: Add option --with-named-user.
18205
18206 2005-01-14  Colin Walters  <walters@redhat.com>
18207
18208         Patch from ed@catmur.co.uk (Ed Catmur)
18209
18210         * named/nm-named-manager.c: Add "context" property.
18211         Use it to add child watch source in specific GMainContext.
18212
18213         * src/NetworkManager.c (nm_data_new): Initialize
18214         named with correct main context.  Start named only
18215         after forking.
18216
18217 2005-01-14  Colin Walters  <walters@redhat.com>
18218
18219         * named/nm-named-manager.c (generate_named_conf): Write config
18220         and pid files into NM_NAMED_DATA_DIR; this allows things to
18221         work better with FC3 named SELinux policy.  Also fix up silly
18222         format error.
18223
18224         * configure.in: Add --with-named-dir option.
18225
18226 2005-01-14  Colin Walters  <walters@redhat.com>
18227
18228         * configure.in: Make named support require passing --with-named.
18229
18230         * named/nm-named-manager.c: Support writing resolv.conf directly
18231         without running named.
18232
18233 2005-01-13  Dan Williams <dcbw@redhat.com>
18234
18235         * named/nm-named-manager.c
18236                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18237
18238         * src/NetworkManagerDevice.c
18239                 - Rework wireless link detection code to be more reliable
18240
18241 2005-01-12  Dan Williams <dcbw@redhat.com>
18242
18243         * initscripts/RedHat/NetworkManager
18244                 - Change initial level to "-" rather than "345" so that
18245                         we don't activate ourselves by default on install
18246
18247 2005-01-12  Dan Williams <dcbw@redhat.com>
18248
18249         * libnm_glib/
18250                 - Client library for applications using glib
18251
18252         * configure.in
18253           various Makefiles
18254                 - Split NM_CFLAGS and NM_LIBS into separate variables
18255                         like DBUS_*, HAL_* and GLIB_*
18256
18257         * src/NetworkManager.c
18258           src/NetworkManagerMain.h
18259                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18260                         broadcast a status changed signal over DBUS from the main thread.
18261                         Still unused anywhere for the moment.
18262
18263         Patch from j@bootlab.org
18264         * panel_applet/NMWirelessAppletDbus.c
18265           src/NetworkManagerDbus.c
18266                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18267                         for the "getMode" method call
18268
18269 2005-01-10  Dan Williams <dcbw@redhat.com>
18270
18271         * src/NetworkManagerDevice.c
18272                 - Minor fixups & corrections to "auto" frequency mode, make it
18273                         less chatty with syslog
18274
18275 2005-01-10  Dan Williams <dcbw@redhat.com>
18276
18277         * src/NetworkManagerDevice.c
18278                 - Implement "auto" frequency/channel support, since cards like Atheros
18279                         can't use other frequencies at all when you've told it to use a
18280                         specific one, even for scanning.
18281                 - Grab the scan mutex around places where we can't tolerate wireless
18282                         settings changing underneath us, like nm_device_wireless_network_exists()
18283                         and nm_device_activate_wireless()
18284
18285         * src/NetworkManagerWireless.c
18286                 - Back scan interval off to 20s instead of 14s
18287
18288 2005-01-09  Dan Williams <dcbw@redhat.com>
18289
18290         * src/NetworkManagerDevice.c
18291                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18292                         already set.  Stops some drivers like Atmel from continually
18293                         reloading the firmware, which they do upon every configuration
18294                         change.
18295
18296 2005-01-09  Dan Williams <dcbw@redhat.com>
18297
18298         * dhcpcd/client.c
18299                 - Use correct timeout value
18300
18301         * info-daemon/NetworkManagerInfoDbus.c
18302           src/NetworkManagerDbus.c
18303                 - Consolidate communication between NM and NMI by doing only 1 dbus
18304                         method call to get Wireless Network info from NMI instead of 6
18305
18306         * src/NetworkManager.c
18307                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18308                         when we didn't have an AP to use, we'd wait for one forever without
18309                         quitting
18310
18311         * src/NetworkManagerDevice.c
18312                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18313                         activation, dhcp might not have started yet but we don't quit activation
18314                         before starting it, so the quit signal gets lost
18315
18316 2005-01-07  Dan Williams <dcbw@redhat.com>
18317
18318         * dhcpcd/client.c
18319                 - Rework the DHCP client code to be much less chatty when
18320                         it receives non-DHCP UDP packets during the DHCP run
18321                         (reported by and preliminary patches from Bill Moss)
18322
18323         * Move wireless scanning to a separate thread.  This thread forwards the
18324                 results to the main thread when done where they are integrated into
18325                 the device's access point lists.  This keeps the main thread (which
18326                 does all the DBUS communication) from being blocked for long periods
18327                 of time by wireless scanning.
18328
18329         * Make state modification an idle routine in the main loop, and trigger
18330                 state changes rather than polling for them.
18331
18332         * src/backends/NetworkManagerGentoo.c
18333                 - Fix up invalid C90 code (reported by Christoph Ruessler)
18334
18335         * src/NetworkManagerDevice.c
18336                 - Revert IPv6 patch for wired devices from 2004-12-22 for
18337                         router advertisements, causing problems and infinite loop
18338                         during "best" device determination due to link going up/down
18339                         (reported by Bill Moss)
18340
18341         Apply patch from Peter Jones
18342         * src/NetworkManagerDevice.c
18343                 - Shortcut for link-checking for ipw2x00 cards
18344                 - Split out association check into separate routine
18345
18346 2004-01-05  Colin Walters  <walters@redhat.com>
18347
18348         * named/named.conf: Add PID_FILE.
18349
18350         * named/nm-named-manager.c: Always generate a pid
18351         file, since older BIND versions don't support
18352         "pid-file none".
18353
18354 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
18355
18356         * configure.in (ALL_LINGUAS): Added ja (Japanese).
18357
18358 2004-12-22  Dan Williams <dcbw@redhat.com>
18359
18360         * src/NetworkManagerDevice.c
18361                 - Silently fail when setting bitrate doesn't work
18362
18363
18364         Patches from j@bootlab.org:
18365         * src/backends/NetworkManagerDebian
18366                 - Update backend to match functionality in RedHat backend
18367         * src/NetworkManagerDevice.c
18368                 - Take down then bring up wired devices after connection so
18369                 they send out ipv6 router advertisements
18370
18371 2004-12-21  Colin Walters  <walters@verbum.org>
18372
18373         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18374         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18375
18376 2004-12-21  Colin Walters  <walters@redhat.com>
18377
18378         * configure.in: Correct named detection.
18379
18380 2004-12-21  Colin Walters  <walters@redhat.com>
18381
18382         * src/NetworkManager.c (nm_data_new): Initialize named.
18383         Also, set up a signal handler for SIGINT/SIGTERM, and exit
18384         the mainloop when these signals are received.
18385         (nm_data_free): Unref named.
18386         (sigterm_handler, sigterm_pipe_handler): New functions for
18387         exiting mainloop.
18388         
18389         * src/NetworkManagerMain.h (NMData): Add signal handling and
18390         nameserver bits.
18391
18392         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18393         unref.
18394
18395         * src/NetworkManagerDHCP.c (set_nameservers): New function;
18396         set nameservers from DHCP response data.
18397         (set_domain_search): Set domain search from DHCP response.
18398         (nm_device_dhcp_configure): Invoke them.
18399
18400         * src/NetworkManagerSystem.c
18401         (nm_system_device_update_resolv_conf): Delete.  Deleting
18402         code is totally sweet.
18403
18404         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18405
18406         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18407         implements an object which controls a nameserver.  Currently
18408         uses bind 9.
18409
18410         * configure.in: Check for named.
18411
18412         * Makefile.am (SUBDIRS): Add named dir.
18413
18414         * named/named.conf: New template config file.
18415
18416 2004-12-20  Colin Walters  <walters@redhat.com>
18417
18418         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18419         instead of '='.
18420
18421 2004-12-17  Dan Williams  <dcbw@redhat.com>
18422
18423         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
18424                 link-local addresses instead of doing DHCP.
18425
18426         * In the panel applet, there's a new "Create new Wireless Network..." item
18427
18428         * The panel applet also sticks around now even if NetworkManager dies, but
18429                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
18430                 a bug, I'll fix that later.
18431
18432         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18433                 lookups after a switch rather than actually doing them.
18434
18435         * Clean up some of those warnings in nm_ap_list_* functions
18436
18437         * Delay between scans changed to 15s instead of 10s
18438
18439 2004-12-15  Dan Williams  <dcbw@redhat.com>
18440
18441         Patch from Tom Parker
18442         * Add autoip/Link Local Addressing support when we fail to get a DHCP
18443                 address
18444
18445         * Longer pause after setting ESSID on cards that support a larger number
18446                 of channels to give the card time to find the right channel
18447
18448         * Add system hook to restart mDNSResponder (or whatever the local implementation
18449                 of Multicast DNS is) when we activate interfaces
18450
18451 2004-12-15  Dan Williams  <dcbw@redhat.com>
18452
18453         * Rework the DHCP code again to revert to sending full ethernet frames
18454                 rather then relying on the kernel to do the right thing with our
18455                 packets.
18456
18457 2004-12-06  Dan Williams  <dcbw@redhat.com>
18458
18459         * dhcpcd/client.c
18460                 - Fix some minor errors in dhcp_handle_transaction() that caused
18461                         unexpected early timeouts of DHCP transactions
18462
18463         * dhcpcd/client.h
18464                 - DHCP retransmit time from 4s -> 5s
18465
18466 2004-12-05  Dan Williams  <dcbw@redhat.com>
18467
18468         * Major rework of the DHCP code, taking some cues from pump.  We don't
18469                 write raw Ethernet packets anymore, which simplifies the code quite
18470                 a bit.  The new code should be more robust, not hang in recvfrom()
18471                 as much, and generally work better.  This also means that we need
18472                 to force HAL/dbus to use a created GMainContext rather than the
18473                 default context, since having the DHCP renew/rebind thread using
18474                 its own GMainContext seemed to give dbus a fit.  There is also more
18475                 debugging information printed from the DHCP loop to help with future
18476                 problems.
18477
18478         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18479                 assume that the default gateway should be the DHCP server.
18480
18481         Patch from Matthew Schick <matt oss-institute org>
18482         * src/backends/NetworkManagerGentoo.c
18483                 - Fix compilation error due to missing "ip4_broadcast"
18484
18485 2004-12-03  Dan Williams  <dcbw@redhat.com>
18486
18487         * initscript/Makefile.am
18488         * initscript/Debian/NetworkManager
18489         * initscript/Gentoo/NetworkManager
18490         * initscript/RedHat/NetworkManager
18491         * initscript/NMLaunchHelper.c
18492                 - Remove NMLaunchHelper, if you need to wait until the network
18493                         comes up, use the dead code from CVS.
18494
18495 2004-12-01  Colin Walters  <walters@redhat.com>
18496         
18497         * configure.in: Suck in gcc warnings code from Rhythmbox,
18498         but use fewer default flags, and in particular add -Wno-unused,
18499         since the codebase has a lot of unused variables.
18500
18501         * test/nmtestdevices.c (create_device): 
18502         * test/nminfotest.c (get_network_string_property) 
18503         (get_networks_of_type): 
18504         * test/nmclienttest.c (main): 
18505         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
18506         * initscript/NMLaunchHelper.c (get_nm_status): 
18507         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
18508         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
18509         Fix declarations after statements.
18510
18511 2004-12-01  Colin Walters  <walters@redhat.com>
18512
18513         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18514         (nmi_dbus_get_vpn_userpass): New method.
18515         (nmi_dbus_nmi_message_handler): Invoke it.
18516
18517         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18518
18519         * info-daemon/NetworkManagerInfoVPN.h,
18520         info-daemon/NetworkManagerInfoVPN.c: New files; responds
18521         to requests for VPN passwords.
18522
18523         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18524
18525 2004-12-01  Colin Walters  <walters@redhat.com>
18526
18527         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18528         includes.
18529
18530 2004-12-01  Colin Walters  <walters@redhat.com>
18531
18532         * panel-applet/NMWirelessAppletDbus.c
18533         (nmwa_dbus_update_active_device_strength): Fix missing
18534         return value.
18535
18536 2004-12-01  Colin Walters  <walters@redhat.com>
18537
18538         * panel-applet/NMWirelessApplet.c: Add missing include.
18539
18540 2004-12-01  Colin Walters  <walters@redhat.com>
18541
18542         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18543         Remove useless CLAMP (); the value is unsigned, and the case tests
18544         qual->qual < 100, so the value must always be between 0 and 100.
18545
18546 2004-12-01  Colin Walters  <walters@redhat.com>
18547
18548         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18549
18550 2004-11-22  Colin Walters  <walters@verbum.org>
18551
18552         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18553         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18554         which is essentially a noop since nscd caches hosts on disk too.
18555         
18556 2004-11-22  Colin Walters  <walters@redhat.com>
18557
18558         * src/Makefile.am (NetworkManager_SOURCES): Add
18559         NetworkManagerDevicePrivate.h.
18560
18561 2004-11-22  Dan Williams <dcbw@redhat.com>
18562
18563         * src/NetworkManagerDevicePrivate.h
18564                 - Split out the NMDevice struct to a different file so that stuff like
18565                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18566
18567         * dhcpcd/client.c
18568                 - fprintf->syslog
18569                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18570                         need to cancel the dhcp request during the send and recv
18571
18572         * dhcpcd/client.h
18573                 - Move the DHCP option enum to dhcpcd.h
18574
18575         * src/NetworkManagerDHCP.c
18576                 - Split out the actual IP/netmask/etc setting code
18577                 - New Renew/Rebind functions
18578                 - New timer setup function for renew/rebind operations
18579
18580         * src/NetworkManagerDevice.c
18581                 - For device activation, if we are using DHCP then keep the activation thread
18582                         alive until device deactivation.  We need to renew/rebind the DHCP address
18583                         after the T1 (renew) and T2 (rebind) times have expired.
18584                 - Increase some timeouts after bringing wireless cards up/down
18585
18586 2004-11-17  Dan Williams <dcbw@redhat.com>
18587
18588         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
18589                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
18590                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
18591                 show known access points that don't broadcast their ESSID in the menus without
18592                 any user intervention whatsoever.
18593
18594         * info-daemon/NetworkManagerInfoDbus.c
18595                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
18596                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
18597
18598         * src/NetworkManagerAP.[ch]
18599                 - Add a "user_addresses" data member to the NMAccessPoint structure
18600                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
18601                         the user_addresses data member
18602
18603         * src/NetworkManagerAPList.c
18604                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
18605                         the AP's reported address
18606                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
18607
18608         * src/NetworkManagerDHCP.c
18609                 - Increase DHCP timeout from 25s -> 30s
18610
18611         * src/NetworkManagerDbus.[ch]
18612                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
18613                         user addresses
18614
18615         * src/NetworkManagerDevice.c
18616                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
18617                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
18618                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
18619                         So, we take the card down to clear it out.
18620                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
18621                         too, since that's where the user_addresses are
18622
18623         * src/NetworkManagerPolicy.c
18624                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
18625                         that wireless networks' user_addresses list upon successful activation
18626
18627 2004-11-16  Dan Williams <dcbw@redhat.com>
18628
18629         * src/NetworkManagerDevice.[ch]
18630                 - (nm_device_clear_activation_fail): new function
18631
18632         * src/NetworkManagerPolicy.c
18633                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
18634                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
18635
18636 2004-11-16  Dan Williams <dcbw@redhat.com>
18637
18638         * src/NetworkManagerDevice.c
18639                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
18640                         leak the structure, better updating of now_scanning status
18641                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
18642
18643 2004-11-15  Dan Williams <dcbw@redhat.com>
18644
18645         Major rework of link detection code.  We now use DHCP
18646         as part of the link detection which proves to be much more robust,
18647         and also supports Open System authentication for wireless networks.
18648
18649         We no longer use external DHCP client programs.  Instead, we use 
18650         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
18651         which was written by:
18652                 Yoichi Hariguchi <yoichi@fore.com>
18653                 Sergei Viznyuk <sv@phystech.com>
18654                 http://www.phystech.com/download/
18655         It resides in the "dhcpcd" directory and was refactored into a general
18656         purpose DHCP client library by me.
18657
18658         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
18659         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
18660
18661 2004-11-15  Dan Williams <dcbw@redhat.com>
18662
18663         Patch from Tom Parker <palfrey@tevp.net>:
18664
18665         * src/NetworkManagerDevice.c
18666                 - Less output to console when no access
18667                         points are found during a scan
18668
18669 2004-11-15  Dan Williams <dcbw@redhat.com>
18670
18671         Patch from Tom Parker <palfrey@tevp.net>:
18672
18673         * src/backends/interface_parser.c
18674                 - Use g_strdup ()
18675                 - Check for inp == NULL
18676                 - use syslog ()
18677
18678 2004-11-13  Colin Walters  <walters@redhat.com>
18679
18680         Patch from Tom Parker <palfrey@tevp.net>:
18681
18682         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
18683         
18684         * src/backends/NetworkManagerRedHat.c: Switch to
18685         including shvar.h instead of shvar.c.
18686
18687         * src/backends/NetworkManagerDebian.c: Don't include
18688         interface_parser.c in source file.
18689
18690         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
18691         and interface_parser.[ch].
18692         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
18693         Include shvar.c and shvar.h here.
18694         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
18695         interface_parser.c and interface_parser.h here.
18696
18697 2004-11-12  Colin Walters  <walters@redhat.com>
18698
18699         * configure.in: Strip out TARGET_DISTRO and
18700         SYSTEM_BACKEND_FILE variables.  Switch to Automake
18701         conditionals.
18702
18703         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
18704         (libnmbackend_la_SOURCES): Use Automake conditionals
18705         to add distro-specific files.
18706
18707         * initscript/Makefile.am (SUBDIRS): Update to
18708         use conditionals.
18709
18710 2004-11-12  Colin Walters  <walters@redhat.com>
18711
18712         Patches from j bootlab org
18713
18714         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
18715         Add interface_parser.[ch].
18716
18717         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
18718         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
18719
18720 2004-11-12  Colin Walters  <walters@redhat.com>
18721
18722         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
18723         call to nmi_dbus_is_running too, not necessary anymore.
18724         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
18725         pick up exit().
18726
18727 2004-11-11  Colin Walters  <walters@verbum.org>
18728
18729         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
18730         Delete.
18731         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
18732         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
18733         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
18734         This avoids a race condition that made it pretty easily
18735         possible to get two NetworkManagerInfo daemons running.
18736
18737 2004-11-11  Colin Walters  <walters@verbum.org>
18738         
18739         * src/NetworkManager.c (main): Use daemon(3).
18740
18741         * info-daemon/NetworkManagerInfo.c (main): Ditto.
18742
18743         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
18744
18745 2004-11-10 Dan Williams <dcbw@redhat.com>
18746
18747         Patches from j bootlab org
18748         * src/NetworkManagerDevice.c
18749                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
18750                         whether the card has a link or not, some cards are slow
18751                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
18752
18753         * info-daemon/NetworkManagerInfoPassphraseDialog.c
18754                 - Disable the "Login" button on the passphrase dialog until the user
18755                         enters a valid passphrase or key
18756
18757         Patches from Tom Parker <palfrey tevp net>
18758         * src/backends/NetworkManagerDebian.c
18759                 - Add static IP support to the debian backend
18760
18761         * src/backends/interface_parser.[ch]
18762                 - Parse debian interface config files
18763
18764 2004-11-08 Dan Williams <dcbw@redhat.com>
18765
18766         * src/NetworkManagerDevice.c
18767                 - Some random fprintf->syslog conversions
18768                 - (nm_device_wireless_network_exists): double-check for network
18769                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
18770
18771         * src/NetworkManagerWireless.[ch]
18772                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
18773                         so that the binary->ascii conversion works (if unsigned, the bitshift
18774                         will fill with zeros, which is what's required).  Also mask bitshift
18775                         result with 0xF for futher assurance.
18776
18777 2004-11-06 Dan Williams <dcbw@redhat.com>
18778
18779         * src/NetworkManagerUtils.c
18780                 - (nm_get_wireless_driver_support_level): default to
18781                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
18782                         flip this when changing from whitelist->blacklist of
18783                         wireless drivers
18784
18785 2004-11-05 Dan Williams <dcbw@redhat.com>
18786
18787         Patch from Robert Paskowitz:
18788         * src/backends/NetworkManagerGentoo.c
18789                 - Update static IP config code
18790
18791 2004-11-05 Dan Williams <dcbw@redhat.com>
18792
18793         * info-daemon/NetworkManagerInfoDbus.c
18794           src/NetworkManagerDbus.[ch]
18795           src/NetworkManagerDevice.c
18796                 - Keep track of the # of attempts to get the WEP key
18797                         from the user and pass that along to the info daemon
18798
18799 2004-11-05 Dan Williams <dcbw@redhat.com>
18800
18801         * src/NetworkManagerUtils.c
18802                 - Blacklist wireless cards rather than whitelisting them.
18803                 - Grab driver name from HAL rather than trying to find it
18804                         ourselves.
18805
18806 2004-11-03 Dan Williams <dcbw@redhat.com>
18807
18808         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
18809                 - Disable OK button until valid data is entered
18810                         for encryption stuff too
18811
18812         * panel-applet/NMWirelessApplet.c
18813                 - Report card strength for current AP if the card
18814                         doesn't report strength data for scanned access
18815                         points
18816
18817         * src/NetworkManagerDevice.c
18818                 - Smooth out cards reported quality, Atmel card was
18819                         intermittently reporting no quality data but soon
18820                         recovers
18821
18822         * src/NetworkManagerWireless.c
18823                 - Better quality data percentage calculation.  Atmel
18824                         cards (mine at least) seem to report the quality
18825                         in percentage format already, so honor that
18826
18827         Patch from <j@bootlab.org>
18828         * NetworkManager.h
18829           info-daemon/NetworkManagerInfoPassphraseDialog.c
18830           info-daemon/passphrase.glade
18831           panel-applet/NMWirelessAppletOtherNetworkDialog.c
18832           panel-applet/essid.glade
18833           src/NetworkManagerAP.c
18834           src/NetworkManagerDevice.c
18835           src/NetworkManagerWireless.[ch]
18836                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
18837
18838 2004-11-03 Dan Williams <dcbw@redhat.com>
18839
18840         * src/NetworkManagerDevice.[ch]
18841                 - (nm_device_set_enc_key): Add parameter to set Authentication
18842                         Mode (Open System, Shared Key, or None).  We're still using
18843                         Shared Key for now though.
18844
18845 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
18846
18847         * panel-applet/menu-info.c: change from bold text to light
18848         colored, may cause problems with some themes, i've tested a lot
18849         and they seem fine. 
18850
18851         * panel-applet/NMWirelessApplet.c: fix strength tooltip
18852
18853 2004-11-01  Colin Walters  <walters@verbum.org>
18854
18855         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
18856         (nm_wireless_128bit_key_from_passphrase): Add const.
18857
18858         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
18859         (nm_ap_set_enc_key_source): Add const.
18860         
18861 2004-11-01  Colin Walters  <walters@verbum.org>
18862
18863         * .cvsignore: Update.
18864
18865 2004-10-29 Dan Williams <dcbw@redhat.com>
18866
18867         * src/NetworkManagerDevice.c
18868                 - (nm_device_wireless_network_exists): Actually use the encryption
18869                         key we got from the applet when attempting to find a wireless network
18870                 - Don't bring devices down so much since on some cards it triggers
18871                         firmware hotplugs each time
18872
18873         * src/NetworkManagerDbus.c
18874                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
18875                         from the caller
18876
18877 2004-10-29 Dan Williams <dcbw@redhat.com>
18878
18879         * src/NetworkManager.c
18880                 - (nm_hal_device_property_modified): unlock a locked active
18881                         wireless device when a wired connection gets a link.
18882                         (Means you'll switch to wired whenever you plug in no
18883                         matter what).
18884
18885 2004-10-29 Dan Williams <dcbw@redhat.com>
18886
18887         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
18888                 - New files, implement the "Other wireless network" dialog
18889
18890         * panel-applet/NMWirelessApplet.c
18891                 - Move "other wireless network" dialog to separate file
18892
18893         * panel-applet/NMWirelessAppletDbus.[ch]
18894                 - Take key and key_type paramaters for the set_device function
18895
18896         * panel-applet/essid.glade
18897                 - Add UI bits for encryption settings
18898
18899         * src/NetworkManagerDbus.c
18900                 - Retrieve key and key_type params for "setActiveDevice" method call
18901                         and pass them on
18902                 - unref AP returned from nm_device_get_best_ap() when needed
18903
18904         * src/NetworkManagerDevice.c
18905                 - (nm_device_get_best_ap): ref the ap before returning it
18906                 - unref AP returned from nm_device_get_best_ap() when needed
18907                 - (nm_device_activate_wireless): add "ap" parameter so we don't
18908                         need to call nm_device_get_best_ap() here, it was pretty much
18909                         redundant anyway
18910                 - (AP_NEED_KEY): break second link check condition out into separate
18911                         function, and fix segfault when ap->enc_key_source was NULL
18912                 - (nm_device_find_and_use_essid): take key and key_type parameters and
18913                         pass them along to nm_device_wireless_network_exists().  If the
18914                         network does exist, set the passed-in key+key_type on the AP
18915
18916         * src/NetworkManagerPolicy.c
18917                 - unref AP returned from nm_device_get_best_ap() when needed
18918
18919 2004-10-28 Dan Williams <dcbw@redhat.com>
18920
18921         * src/NetworkManagerUtils.c
18922                 - (nm_spawn_process): Fix a potential dereference of NULL
18923
18924         Patches from Peter Jones:
18925
18926         * src/NetworkManagerDevice.c
18927                 - (nm_device_test_wireless_extensions): Better check for
18928                         wireless devices
18929
18930         * src/NetworkManagerUtils.c
18931                 - (nm_spawn_process): Pass in valid stdout and stderr so
18932                         executed programs don't randomly SIGPIPE and fail
18933                 - (nm_get_wired_driver_support_level): quash hal warning
18934                         when checking for USB ethernet device
18935
18936 2004-10-27 Dan Williams <dcbw@redhat.com>
18937
18938         * info-daemon/NetworkManagerInfo.c
18939           info-daemon/NetworkManagerInfoDbus.c
18940           info-daemon/NetworkManagerInfoPassphraseDialog.c
18941           panel-applet/NMWirelessApplet.c
18942                 - Properly escape gconf keys
18943
18944         * src/NetworkManager.c
18945                 - remove unused variables
18946
18947         * src/NetworkManagerAP.c
18948                 - (nm_ap_new_from_ap): Don't redundantly set new APs
18949                         refcount since it got set in nm_ap_new()
18950
18951         * src/NetworkManagerAPList.c
18952                 - (nm_ap_list_combine): Give up ownership of newly created
18953                         access points to the ap list, fixes memleak
18954
18955         * src/NetworkManagerDevice.c
18956                 - Remove cached_ap_list4 member since its not really needed
18957                 - (nm_device_wireless_network_exists): Try to get correct
18958                         encryption status of a found AP if its already in our
18959                         device list
18960                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
18961                         memory allocs/deallocs a bit clearer and shorter-lived
18962
18963 2004-10-26 Ray Strode <rstrode@redhat.com>
18964
18965         * panel-applet/NMWirelessApplet.c:
18966           (custom_essid_item_selected):  kill some compiler
18967         warnings 
18968
18969 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
18970
18971         * info-daemon/NetworkManagerInfoDbus.c
18972                 - (nmi_dbus_is_running): New function for determining if nmi is already running
18973                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
18974
18975 2004-10-23 Dan Williams <dcbw@redhat.com>
18976
18977         * info-daemon/NetworkManagerInfoDbus.c
18978                 - Trap the "DeviceActivationFailed" signal
18979
18980         * docs/NetworkManager DBUS API.txt
18981                 - Add "DeviceActivationFailed" signal
18982
18983         * panel-applet/NMWirelessAppletDbus.c
18984                 - Quash the "NetworkManager service not available" message
18985
18986         * src/NetworkManagerDbus.[ch]
18987                 - Add the "DeviceActivationFailed" signal
18988
18989         * src/NetworkManagerDevice.c
18990                 - Add support for activation_failed flag
18991                 - Fix deadlock where activation thread didn't clean itself up, making
18992                         main thread still believe it was alive forever (didn't reset activation
18993                         flags like activating, just_activated, etc when IP configuration
18994                         failed)
18995
18996         * src/NetworkManagerPolicy.c
18997                 - Implement logic for DeviceActivationFailed signal, and when activation fails
18998                         for wireless networks, try to fall back to some other access point
18999
19000 2004-10-23 Dan Williams <dcbw@redhat.com>
19001
19002         * panel-applet/NMWirelessApplet.[ch]
19003                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19004                         to the applet object, so we can get tooltips
19005                 - Add tooltips (RH #136866)
19006
19007         * src/NetworkManagerDevice.c
19008                 - When trying to find a wireless network, try to connect with encryption
19009                         turned on first, so that we can more accurately detect whether or not
19010                         we need to use encryption for the actual association later on
19011
19012 2004-10-21 Dan Williams <dcbw@redhat.com>
19013
19014         * Add some support for telling NetworkManagerInfo to tell the user
19015                 that they are using a device that's not fully supported
19016
19017         * Fix some assertions in debug messages due to null access point args
19018
19019 2004-10-21 Dan Williams <dcbw@redhat.com>
19020
19021         * src/NetworkManagerDevice.c
19022                 - Don't try to activate/bring up/down unsupported
19023                         devices
19024
19025         * src/NetworkManagerUtils.c
19026                 - Fix case of PCI ID checks for driver support levels
19027
19028 2004-10-21 Dan Williams <dcbw@redhat.com>
19029
19030         * NetworkManager.h
19031                 - New file, now contains commonly used structures and bits
19032                         for the dbus API of NetworkManager
19033
19034         * Makefile.am
19035                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19036
19037         * src/NetworkManager.h
19038                 - Rename -> src/NetworkManagerMain.c
19039
19040         * Various fixups all around to use NetworkManager.h and new
19041                 src/NetworkManagerMain.h, remove redundant bits that got
19042                 moved into NetworkManager.h
19043
19044         * src/NetworkManagerDevice.[ch]
19045           src/NetworkManagerUtils.[ch]
19046           src/NetworkManagerPolicy.c
19047           src/NetworkManagerDbus.c
19048                 - Whitelist wireless drivers, and blacklist some wired
19049                         drivers.  Also blacklist cipsec and ethernet-over-usb
19050                         devices at this time (RH #135722, RH #135648)
19051                 - Don't leak unsupported devices out over dbus, or allow
19052                         them to be set as the active device.  Skip over them
19053                         during automatic device picking
19054
19055         * test/nmclienttest.c
19056                 - Clean up the dbus code a lot
19057
19058 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
19059
19060         * configure.in: post release bump.
19061
19062 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
19063
19064         * configure.in:
19065         * NEWS: Released NetworkManager-0.3.1
19066
19067 2004-10-18 Dan Williams <dcbw@redhat.com>
19068
19069         Patches from Thom May:
19070         * test/nmtestdevices.c
19071                 - Include <string.h>
19072         * src/backends/NetworkManagerDebian.c:
19073                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19074                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19075                         Move to using g_strdup_printf rather than arbitrary buffers
19076                 - (nm_system_device_setup_static_ip4_config) Implement function.
19077                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19078
19079 2004-10-17 Dan Williams <dcbw@redhat.com>
19080
19081         * info-daemon/NetworkManagerInfoDbus.c
19082                 - Display name of network in the "network not found" dialog
19083
19084         * panel-applet/NMWirelessAppletDbus.c
19085                 - (nmwa_dbus_call_nm_method): new function replaces all other
19086                         nmwa_dbus_get_[string|string_array|int|boolean] methods
19087                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19088                         consolidated into nmwa_dbus_get_object_name()
19089
19090 2004-10-15 Dan Williams <dcbw@redhat.com>
19091
19092         * src/NetworkManagerDbus.c
19093           info-daemon/NetworkManagerInfoDbus.c
19094                 - Display an error dialog when the user tries to use an
19095                         "Other wireless network" that's not found.
19096
19097 2004-10-15 Dan Williams <dcbw@redhat.com>
19098
19099         * panel-applet/NMWirelessApplet.[ch]
19100                 - Fix up corner cases in applet state, making it
19101                         look more responsive.  Change state to "connecting" when
19102                         the user is forcing a device too.
19103
19104 2004-10-15 Dan Williams <dcbw@redhat.com>
19105
19106         * src/NetworkManagerAPList.c
19107                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19108
19109         * src/NetworkManagerDbus.c
19110                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19111
19112         * src/NetworkManagerDevice.c
19113                 - Disown APs after the device's AP list takes ownership
19114
19115 2004-10-15 Dan Williams <dcbw@redhat.com>
19116
19117         * panel-applet/NMWirelessApplet.c
19118                 - Update our applet state from the GUI thread
19119
19120         * panel-applet/NMWirelessAppletDbus.c
19121                 - Greatly simplify the locking to make the GUI thread
19122                         smoother.  Update a private copy of the device list
19123                         and active device and only when done talking to
19124                         NetworkManager turn it over to the GUI thread.
19125
19126 2004-10-15 Dan Williams <dcbw@redhat.com>
19127
19128         * src/NetworkManagerAP.[ch]
19129                 - Add "artificial" get/set functions, set for APs that
19130                         aren't discovered as part of a scan but instead
19131                         discovered by force-setting the ESSID
19132
19133         * src/NetworkManagerDevice.[ch]
19134                 - (nm_device_wireless_network_exists): pass back whether
19135                         or not the discovered AP was encrypted.  Also, try
19136                         falling back to encrypted mode on the card if unencrypted
19137                         association doesn't work
19138                 - (nm_device_find_and_use_essid): If the network requested
19139                         did in fact exists, but it wasn't in our scan list, add
19140                         an "artificial" entry for it.  Some Cisco cards don't
19141                         see non-ESSID-broadcasting APs in their scan but can still
19142                         associate with them if you know the ESSID, this works around
19143                         that behavior
19144                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19145                         to scan if the card is currently associated with that AP
19146
19147 2004-10-15 Dan Williams <dcbw@redhat.com>
19148
19149         ---- We have a website ----
19150         http://people.redhat.com/dcbw/NetworkManager
19151
19152         Patch from Robert Paskowitz:
19153         * src/NetworkManager.c
19154                 - (main): Make sure we are run as root
19155         * src/NetworkManagerDevice.c
19156                 - Fix type in ad-hoc setting function
19157
19158         Patch from Thom May:
19159         * src/backends/NetworkManagerDebian.c
19160                 - Make Debian backend compile again
19161
19162 2004-10-14 Dan Williams <dcbw@redhat.com>
19163
19164         * Tagged NetworkManager-0_3
19165
19166 2004-10-14 Dan Williams <dcbw@redhat.com>
19167
19168         Patch from Robert Paskowitz:
19169         * NEWS
19170           src/NetworkManagerDevice.[ch]
19171           src/backends/NetworkManagerDebian.c
19172           src/backends/NetworkManagerGentoo.c
19173           src/backends/NetworkManagerRedHat.c
19174           src/backends/NetworkManagerSlackware.c
19175                 - Add support for grabbing and using a broadcast address
19176                         from system config files
19177                 - Some Gentoo backend fixes for grabbing network config
19178                 - Fix LOG_WARN->LOG_WARNING
19179
19180 2004-10-14 Dan Williams <dcbw@redhat.com>
19181
19182         * NEWS: a few small fixes in the credits
19183
19184 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
19185
19186         * NEWS: prep for release.
19187
19188 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
19189
19190         * panel-applet/NMWirelessAppletDbus.c
19191         (nmwa_dbus_update_device_wireless_networks): remove warnings.
19192
19193 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
19194
19195         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19196         applet->state == APPLET_STATE_NO_NM animation.
19197
19198         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19199         set the text correctly.
19200
19201 2004-10-14 Dan Williams <dcbw@redhat.com>
19202
19203         * src/NetworkManager.c
19204                 - Only accept and manager 802.3 and 802.11 devices
19205
19206         * src/NetworkManagerDbus.[ch]
19207                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19208                         logic into NetworkManagerDevice.c
19209                 - (nm_dbus_network_status_from_data): new function
19210                 - (nm_dbus_signal_network_status_change): new function, unused for now
19211                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19212
19213         * src/NetworkManagerDevice.[ch]
19214                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
19215                         a random ESSID.
19216
19217 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19218
19219         * info-daemon/NetworkManagerInfo.c 
19220                 - (main): Added session management
19221
19222 2004-10-14 Dan Williams <dcbw@redhat.com>
19223
19224         * panel-applet/NMWirelessAppletDbus.[ch]
19225                 - Expose network_device_[un]ref()
19226                 - Expose wireless_network_[un]ref()
19227                 - (wireless_network_new_with_essid): new function, create and return
19228                         a wireless network with a particular essid
19229
19230         * panel-applet/NMWirelessApplet.c
19231                 - Hook up the "other network" dialog to do something
19232
19233 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
19234
19235         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
19236         doesn't work yet, but it looks okay.
19237
19238         * panel-applet/icons/*png: Resize to 22x22 and install in the
19239         right place.
19240
19241 2004-10-13 Dan Williams <dcbw@redhat.com>
19242
19243         * panel-applet/NMWirelessApplet.c
19244                 - Add function to print out applet_state in a readable
19245                         manner
19246
19247         * src/NetworkManager.c
19248                 - (main): Don't segfault when nm_dbus_init() fails, we had
19249                         a left-over call to hal_shutdown() into which we passed NULL
19250
19251         * src/NetworkManagerAP.c
19252                 - (nm_ap_set_essid): Allow NULL essids
19253
19254         * src/NetworkManagerAPList.[ch]
19255                 - More use of nm_ap_list_[un]lock ()
19256                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19257                         network/essid, just return nothing.  Also skip over NULL
19258                         essid access points in the list when searching
19259                 - (nm_ap_list_get_ap_by_address): new function
19260                 - (nm_ap_list_update_network): set the access point's key source to
19261                         NULL when the key returned from NetworkManagerInfo is NULL or
19262                         of 0 length
19263                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19264                         copy timestamp over too
19265                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19266                         find the correct ESSID for a blank-essid access point by searching
19267                         through another list and matching access point MAC addresses
19268                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19269
19270         * src/NetworkManagerDbus.c
19271                 - (nm_dbus_nm_set_active_device): deal with random networks the user
19272                         may specify.  This is mainly for access points that don't
19273                         broadcast their essid.  So if the user tells us to associate with
19274                         some random ESSID that's not in our access point list, we find
19275                         out if the access point does in fact exist (by attempting association
19276                         and then matching that access point's MAC address with the essid the
19277                         user gave us) and then we switch to it.
19278                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19279                         to the returned list of networks for the "getNetworks" method
19280
19281         * src/NetworkManagerDevice.[ch]
19282                 - Extra debugging info for link detection
19283                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19284                         based on MAC address
19285                 - (nm_device_get_path_for_ap): ignore blank-essid access points
19286                 - (nm_device_wireless_network_exists): new function, find out whether
19287                         a random ESSID exists by attempting to associate with it
19288                 - (nm_device_do_normal_scan): allow blank-essid access points in our
19289                         device list as long as they have an AP MAC address we can use.
19290                         Also send WirelessNetwork[Dis]Appeared signals for non-active
19291                         devices too.  Lets the applet update more frequently.
19292
19293         * src/backends/NetworkManagerGentoo.c
19294                 - Patch from: Robert Paskowitz
19295                         - Update backend code for Gentoo
19296                         - Implement nm_system_device_update_config_info ()
19297
19298         * test/nmclienttest.c
19299                 - (set_network_device): new function, takes a command-line argument
19300                         and tells NetworkManager to use that wireless network
19301
19302 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19303
19304         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19305         if the notification icon crashes 5 times within 5 seconds of each respawn 
19306
19307 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
19308
19309         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19310         g_print.
19311
19312 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
19313
19314         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19315
19316         * panel-applet/NMWirelessApplet.c: (animation_timeout),
19317         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19318         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19319         Change the name of the icons.
19320
19321         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19322         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19323         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19324         (nm_menu_wireless_expose_event): Really bad hack to get the style
19325         to draw in the right color.
19326
19327 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19328
19329         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
19330         Notification if it crashes
19331
19332 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
19333
19334         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
19335         (nmwa_dbus_get_string): remove unused functions
19336
19337         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19338         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19339         remove unused functions
19340
19341         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19342
19343 2004-10-12 Dan Williams <dcbw@redhat.com>
19344
19345         * panel-applet/NMWirelessAppletDbus.c
19346                 - New functions:
19347                         wireless_network_new
19348                         wireless_network_copy
19349                         network_device_new
19350                         network_device_copy
19351
19352         * src/NetworkManagerDevice.[ch]
19353                 - New functions:
19354                         nm_device_set_mode_managed
19355                         nm_device_set_mode_adhoc
19356                 - Use these functions where appropriate
19357                 - When creating a new wireless device, force the card
19358                         to managed/Infrastructure mode as soon as possible
19359
19360 2004-10-12 Dan Williams <dcbw@redhat.com>
19361
19362         * src/NetworkManagerDevice.c
19363                 - Force wireless cards into Infrastructure mode before we use them
19364
19365 2004-10-12 Dan Williams <dcbw@redhat.com>
19366
19367         * TODO
19368                 - Remove bit about static IP address support
19369
19370         * src/NetworkManagerUtils.c
19371                 - (nm_spawn_process): Add some error reporting
19372
19373         * src/NetworkManagerDevice.c
19374                 - (nm_device_activation_configure_ip): hook up to the static config
19375                         routines in the backends
19376
19377         * src/backends/NetworkManagerRedHat.c
19378                 - (nm_system_device_update_config_info): use shvar.c routines to
19379                         parse the config file iformation, not our own
19380                 - (nm_system_device_setup_static_ip4_config): new function, based
19381                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
19382                         with a static IP address and gateway
19383
19384         * src/backends/shvar.[ch]
19385                 - Parser (filched from initscripts package) for ifcfg-* files
19386
19387         * src/backends/NetworkManagerSystem.h
19388           src/backends/NetworkManagerGentoo.c
19389           src/backends/NetworkManagerDebian.c
19390           src/backends/NetworkManagerSlackware.c
19391                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19392
19393 2004-10-11 Dan Williams <dcbw@redhat.com>
19394
19395         * TODO
19396                 - Remove bit about more robust AP diffing since I just implemented it
19397
19398 2004-10-11 Dan Williams <dcbw@redhat.com>
19399
19400         * src/NetworkManagerAP.c
19401                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19402                         enough RAM to allocate new AP structures, but return NULL instead
19403
19404         * src/NetworkManagerAPList.[ch]
19405                 - (nm_ap_list_is_empty): new function
19406                 - (nm_ap_list_combine): new function, combine two access point lists
19407                 - (nm_ap_list_copy_keys): new function, copy keys from one list
19408                         into another
19409
19410         * src/NetworkManagerDevice.[ch]
19411                 - Rename some functions to be clearer:
19412                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19413                         nm_device_just_activated     -> nm_device_is_just_activated
19414                         nm_device_activating         -> nm_device_is_activating
19415                         nm_device_now_scanning       -> nm_device_is_scanning
19416                 - Cache the last 4 scans so that the access point list is more stable.
19417                         We combine the lastest two scans and use that as the AP list,
19418                         and diff that combined list against the combination of the earliest
19419                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19420
19421 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19422
19423         * info-daemon/NWManagerInfo.h
19424                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19425
19426         * info-daemon/NWManagerInfoDbus.c
19427                 - (shutdown_callback): new function
19428                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19429                         if NetworkManager goes away.  Kill the timeout
19430                         if NetworkManager restarts before the 30 seconds
19431                         are up.
19432                 - (nmi_dbus_service_init): 
19433                         - call gtk_main_quit if NetworkManager is not running
19434                         - add filters to monitor dbus service creations and
19435                                 deletions
19436         
19437 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19438
19439         * panel-applet/NMWirelessApplet.c
19440                 - (nmwa_update_state): Hide notification icon if we are only
19441                         showing one wired card and no wireless interfaces 
19442                         (Red Hat Bug #134895)
19443
19444         * panel-applet/NMWirelessAppletDbus.c
19445                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19446
19447         * info-daemon/NWManagerInfo.c
19448                 - (main): Terminated the notification_icon_cmd array with a NULL
19449
19450 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
19451
19452         * configure.in (ALL_LINGUAS): Added de (German).
19453
19454 2004-10-08 Dan Williams <dcbw@redaht.com>
19455
19456         * src/NetworkManagerDevice.c
19457                 - Be a bit more robust about link checking, ie make sure that
19458                         the WEP key we were given actually has some data in it
19459
19460 2004-10-08 Dan Williams <dcbw@redhat.com>
19461
19462         * info-daemon/NetworkManagerInfo.c (main):
19463                 - Initialize GError object to NULL
19464
19465 2004-10-08 Dan Williams <dcbw@redhat.com>
19466
19467         * panel-applet/NMWirelessAppletDbus.c
19468                 - Die if NetworkManagerInfo dies, since it manages our lifetime
19469
19470 2004-10-08 Dan Williams <dcbw@redhat.com>
19471
19472         * info-daemon/NetworkManagerInfo.[ch]
19473           info-dameon/NetworkManagerInfoDbus.[ch]
19474           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19475                 - Preserve original label text in the passphrase dialog so that
19476                         it actually gets updated with the new network name the next
19477                         time around.  Previously, we were overwriting it so you'd get
19478                         the wrong network name to enter a key for
19479                 - Add a "Key Type" combo to the passphrase dialog, user selects
19480                         encryption key type now, type is stored in GConf too
19481                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19482
19483         * src/NetworkManagerAP.[ch]
19484                 - Remove all the encyption method magic.  It's now set by the user
19485                         and NetworkManager retrieves the type of encryption key from
19486                         NetworkManagerInfo
19487
19488         * src/NetworkManagerAPList.[ch]
19489           src/NetworkManagerDbus.[ch]
19490                 - Adjust to new way of setting encryption key and method
19491                 - Pull encryption method down from NMI along with key
19492
19493         * src/NetworkManagerDevice.[ch]
19494                 - Removed encryption method fallback magic as the method is now
19495                         determined by the user.  This greatly simplifies the connection
19496                         logic.
19497                 - More robust connection/link logic.  Besides removing the encryption
19498                         method fallback magic, check whether or not the card is receiving
19499                         invalidly encrypted packets, which usually indicates that we have
19500                         a bad WEP key set.
19501                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19502
19503         * test/nminfotest.c
19504                 - Test out new "Key Type" stuff in the NMI passphrase dialog
19505
19506 2004-10-07 Dan Williams <dcbw@redhat.com>
19507
19508         * info-daemon/NetworkManagerInfo.conf
19509                 - Allow root user to run NMI too
19510
19511 2004-10-06 Dan Williams <dcbw@redhat.com>
19512
19513         * src/NetworkManagerDevice.[ch]
19514           src/NetworkManagerDbus.c
19515           doc/NetworkManager DBUS API.txt
19516                 - Add a new status tag "scanning", which is set when there
19517                         is no active network connection, but NetworkManager is
19518                         looking for an access point to associate with
19519
19520         * panel-applet/main.c
19521                 - Cast the applet appropriately for gtk_widget_show_all ()
19522
19523 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
19524
19525         * panel-applet/eggtrayicon.[ch]:
19526         * panel-applet/main.c: Add missing file
19527
19528 2004-10-04 Dan Williams <dcbw@redhat.com>
19529
19530         * src/NetworkManagerDevice.[ch]
19531                 - Add a slightly more robust method of determining if the WEP key
19532                         is correct or not, by checking the WEP-discarded packet count
19533                         on the card
19534
19535         * info-daemon/NetworkManagerInfo.c
19536                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19537                         un-escape values we pull out rather than escaping them
19538
19539 2004-10-03  Marcel Telka  <marcel@telka.sk>
19540
19541         * configure.in (ALL_LINGUAS): Added sk.
19542
19543 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
19544
19545         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19546         and feel.  We should be back to working, and have a good, clean
19547         look.
19548
19549 2004-09-30 Dan Williams <dcbw@redhat.com>
19550
19551         * info-daemon/NetworkManagerInfo.c
19552           info-daemon/NetworkManagerInfoDbus.c
19553           test/nminfotest.c
19554                 - Escape ESSIDs in gconf
19555
19556         * src/NetworkManagerDevice.c
19557                 - Fix pseudo-scanning to use netowrk list from info daemon
19558
19559 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
19560
19561         * configure.in: Add a temporary --enable-notification-icon.  This
19562         will prolly go away.
19563
19564         * info-daemon/Makefile.am:
19565         * info-daemon/NetworkManagerInfo.c:
19566         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19567
19568         * panel-applet/Makefile.am:
19569         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19570         * panel-applet/NMWirelessApplet.h:
19571
19572 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
19573
19574         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
19575         before 'select custom ESSID'.
19576
19577         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
19578         fully complete, but syncing in prep for merge.
19579
19580         * panel-applet/icons/*png: New images
19581
19582 2004-09-28 Dan Williams <dcbw@redhat.com>
19583
19584         * src/NetworkManager.c
19585           src/NetworkManagerDevice.c
19586           src/NetworkManagerPolicy.c
19587                 - Don't blow away an active wired connection on startup
19588
19589 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
19590
19591         Changes from J5
19592         
19593         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
19594
19595         * info-daemon/NetworkManagerInfoDbus.c: added service name to
19596         syslog output
19597
19598 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
19599
19600         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
19601         have a wireless card.
19602
19603 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
19604
19605         * panel-applet/NMWirelessApplet.c: move the custom essid item.
19606         Also, get the right device strings.
19607
19608 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
19609
19610         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
19611         the logic to make this right.
19612
19613         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
19614         devices so that wired networks are always first.
19615
19616 2004-09-22    <clarkbw@cvs.gnome.org>
19617
19618         * initscript/Debian/.cvsignore:
19619         * initscript/Slackware/.cvsignore:
19620         Added new cvsignores for Makefile, Makefile.in
19621         
19622         * test/.cvsignore:
19623         Added nmtestdevices
19624         
19625         * src/NetworkManagerDevice.c: 
19626         * src/NetworkManager.c: 
19627         Updated the wireless/wired HAL device strings from net.ethernet to
19628         net.80203 or net.80211 depending on wired or wireless respectively
19629         
19630         * examples/python/NetworkManager.py: 
19631         s/Quality/Strength/
19632
19633         * examples/python/systray/network_tray.py:
19634         Lots of little changes and fixes.  been rotting for a while so I
19635         figured I'd finally sync them all with CVS
19636
19637 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
19638
19639         * configure.in: Add graphics
19640
19641         * panel-applet/Makefile.am: Add graphics
19642
19643         * panel-applet/icons/*: Add graphics
19644
19645         * panel-applet/NMWirelessApplet.c: Use new menu times to display
19646         the icons fully lined up.
19647
19648         * panel-applet/menu-info.c: 
19649         * panel-applet/menu-info.h: Add another menu type.
19650
19651 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
19652
19653         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
19654
19655         * panel-applet/menu-item.[ch]: Wireless menu item.
19656
19657 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
19658
19659         * info-daemon/NetworkManagerInfo.conf
19660                 - Created a more robust security policy for the DBus service
19661                         - everything is denied by default
19662                         - root can own and send to the service
19663                         - users logged in at the console can send to the service
19664
19665 2004-09-13  Dan Williams <dcbw@redhat.com>
19666
19667         * src/NetworkManagerDevice.c
19668                 - (nm_device_get_essid): use iw_get_basic_config() rather than
19669                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
19670                         the latter
19671
19672 2004-09-13  Dan Williams <dcbw@redhat.com>
19673
19674         * TODO: fix typo
19675
19676         * docs/NetworkManager DBUS API.txt
19677                 - Update for new signal strength changes
19678
19679         * panel-applet/NMWirelessApplet.c
19680                 - Make panel icon show strength of the current connection
19681                 - Cleanups and memleak fixes
19682
19683         * panel-applet/NMWirelessApplet.h
19684                 - Add data members for signal strength on devices and networks
19685
19686         * panel-applet/NMWirelessAppletDbus.c
19687                 - Free more DBusErrors
19688                 - Update for new signal strength changes
19689                 - Make devices and networks more like real objects, use ref/unref methods
19690                 - Actually unlock the mutex when updating the active device
19691
19692         * src/NetworkManagerAP.c
19693                 - Change AP functions and data members from "quality"->"strength"
19694
19695         * src/NetworkManagerDbus.c
19696                 - Kill "getMaxQuality" and "getQuality" methods
19697                 - Add "getStrength" methods for Networks and Devices
19698
19699         * src/NetworkManagerDevice.[ch]
19700                 - Add accessors for device strength
19701                 - Add functions to update strength for a device.  Note that not all drivers
19702                         actually support signal strength for scanned access points (Atmel drivers
19703                         being one)
19704                 - Calculate signal strength for each AP during scan
19705
19706         * src/NetworkManagerWireless.[ch]
19707                 - Add function to return signal strength % from a device and a raw quality struct
19708
19709         * test/nmclienttest.c
19710                 - Update for new signal strength changes
19711
19712 2004-09-11  Dan Williams <dcbw@redhat.com>
19713
19714         * src/NetworkManager.c
19715                 - Fix race condition between initscripts and NM on card insertion
19716                         which could cause a card to keep an IP address and routes around
19717                         even when it was not the active device
19718
19719         * src/NetworkManagerDbus.c
19720                 - Fix compile errors, free more DBusErrors
19721
19722 2004-09-11  Dan Williams <dcbw@redhat.com>
19723
19724         * docs/NetworkManager DBUS API.txt
19725                 - Add an explanation of NM's API
19726
19727         * src/NetworkManagerDbus.c
19728                 - Free some more DBusErrors if needed
19729
19730 2004-09-11  Dan Williams <dcbw@redhat.com>
19731
19732         * panel-applet/NMWirelessApplet.c
19733           panel-applet/NMWirelessAppletDbus.c
19734                 - Start using NetworkDevice/WirelessNetwork structures in more places
19735                 - Update for unified device/network forcing in NetworkManager
19736
19737         * src/NetworkManager.c
19738                 - some code consolidation
19739
19740         * src/NetworkManagerDbus.c
19741                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
19742                         or two arguments:  the first is the NM ID of the device to switch to,
19743                         and the second (optional) argument is the ESSID of a wireless network
19744                         to use as well.
19745                 - Get rid of "setNetwork" method due to above change
19746
19747         * src/NetworkManagerDevice.c
19748                 - (nm_device_new): perform scan and update best AP on device creation
19749                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
19750                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
19751                         spin waiting for cancellation to finish before returning
19752
19753         * src/NetworkManagerPolicy.c
19754                 - Changes here clarify the situations in which a device switch occurs, and 
19755                         make sure to keep using a forced device and network if the user gives
19756                         us one
19757                 - Remove old unused code
19758
19759 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
19760
19761         * configure.in: Added Danish (da) to ALL_LINGUAS.
19762
19763 2004-09-09  Dan Williams <dcbw@redhat.com>
19764
19765         * panel-applet/NMWirelessAppletDbus.c
19766                 - Pull fresh devices and networks from NM when wireless networks
19767                         change.  Provides faster feedback of a forced wireless network
19768
19769         * src/NetworkManagerDbus.c
19770                 - Return error when "getMaxQuality" is called on a wired device
19771                 - Make best_ap freezing actually work again, and signal cancellation
19772                         of activation if there's already a device activation when the user
19773                         freezes the best_ap
19774
19775         * src/NetworkManagerDevice.c
19776                 - Don't clear out the best_ap for wireless devices when the link goes
19777                         down, that's done elsewhere
19778                 - Kill any dhcp daemons when cancelling device activation since they
19779                         may be stuck waiting for a DHCP address, and since we're cancelling
19780                         activation we don't care about that anymore
19781
19782         * src/NetworkManagerPolicy.c
19783                 - Make sure to unref the device we ref earlier (we refed it to make sure
19784                         it stuck around during device activation and such)
19785                 - If we were going to change the best device, but its activating currently
19786                         (and therefore the change didn't occur due to the check earlier)
19787                         we mark the state changed to we come back to it later when device
19788                         activation has canceled and its no longer activating
19789
19790         * src/backends/NetworkManagerRedHat.c
19791                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
19792
19793 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
19794
19795         * info-daemon/passphrase.glade: 
19796         set passphrase input to activates_default : True
19797
19798         * examples/python/systray/network_tray.py
19799         (network_tray.sort_networks):
19800
19801         Added support for having wireless always scanning
19802
19803 2004-09-09  Dan Williams <dcbw@redhat.com>
19804
19805         NOTE: this commit changes the behavior of wireless devices in
19806         NetworkManager.  They are now up all the time, scanning all
19807         the time.  Only the active device has an IP address and routing
19808         information set up however.  Also, NetworkManager will no longer
19809         opportunistically switch wireless networks when a better one
19810         comes in range, it will remain associated with one wireless network
19811         until that one drops out.
19812
19813         * panel-applet/NMWirelessApplet.c
19814           panel-applet/NMWirelessAppletDbus.c
19815                 - List all wireless cards and their respective networks
19816
19817         * src/NMLoadModules
19818                 - Use full path to /sbin/ip
19819
19820         * src/NetworkManager.c
19821                 - Keep wireless devices up all the time so they can scan
19822
19823         * src/NetworkManagerDbus.c
19824                 - On a WirelessNetworkUpdate signal from NMI, don't update
19825                         the "best" AP
19826
19827         * src/NetworkManagerDevice.c
19828                 - (nm_device_set_link_active): clear out the best ap for
19829                         wireless devices when the link is set to FALSE
19830                 - Scan on all wireless cards, all the time
19831                 - (nm_device_activation_worker): split out the wireless card
19832                         link-waiting code to a separate function
19833                 - Keep wireless cards up even if device activation fails
19834                 - Don't update the "best" ap as much
19835
19836         * src/NetworkManagerPolicy.c
19837                 - Don't update the best ap when checking if its frozen,
19838                         let link checking clear out a frozen best ap for us
19839
19840         * src/NetworkManagerWireless.c
19841                 - Scan on all wireless cards, all the time
19842
19843 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
19844
19845         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
19846
19847 2004-09-09  Ankit Patel <ankit@redhat.com>
19848
19849         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
19850
19851 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
19852
19853         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
19854
19855 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
19856
19857         * examples/python/NetworkManager.py: 
19858         added CONNECTED, CONNECTING, and DISCONNECTED states
19859         added methods to return number of devices of a single type
19860
19861         * examples/python/systray/network_tray.py: 
19862         did some tweaks to get the menu looking near what it is supposed
19863         to look like.  Also did a Airo card hack to make it show the
19864         correct AP quality
19865
19866 2004-09-08  Dan Williams <dcbw@redhat.com>
19867
19868         * panel-applet/no-networkmanager.png
19869           panel-applet/Makefile.am
19870           panel-applet/NMWirelessApplet.c
19871                 - Add a "NetworkManager not running" icon and use it
19872                 - Use new consolidated GConf keys rather than Preferred/Trusted
19873
19874         * TODO: update
19875
19876         * info-daemon/NetworkManagerInfo.c
19877           info-daemon/NetworkManagerInfoDbus.[ch]
19878           info-daemon/NetworkManagerInfoPassphraseDialog.c
19879                 - There are now no longer two separate lists of wireless networks,
19880                         but one list where each network is "trusted" or not trusted
19881                 - Add a "getNetworkTrusted" dbus method
19882                 - "WirelessNetworkUpdate" signal now sent rather than
19883                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
19884                 - Start freeing some dbus errors (not completed yet)
19885
19886         * info-daemon/passphrase.glade
19887                 - Remove the "don't show" hints for pager and taskbar
19888                 - Add a title since its going to be in the taskbar
19889
19890         * src/NetworkManager.[ch]
19891           src/NetworkManagerAPList.[ch]
19892                 - There are now no longer two separate lists of wireless networks,
19893                         but one list where each network is "trusted" or not trusted
19894
19895         * src/NetworkManagerAP.[ch]
19896                 - Add get/set "trusted" accessors and data bit
19897
19898         * src/NetworkManagerDbus.[ch]
19899                 - Add function to get "trusted" status of a network from NetworkManagerInfo
19900                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
19901
19902         * src/NetworkManagerDevice.[ch]
19903                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
19904                 - (nm_device_new): Get device config from backend when initializing devices
19905                 - (nm_device_activation_worker): Split out device configuration on
19906                         activation to deal with static/dynamic IP differences, and try encryption
19907                         fallbacks on a device if the encryption method for the best AP is not good
19908                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
19909                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
19910
19911         * src/NetworkManagerWireless.c
19912                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
19913
19914         * src/backends/NetworkManagerRedHat.c
19915           src/backends/NetworkManagerSystem.h
19916                 - (nm_system_device_update_config_info): Add function to get device configuration
19917                         from system data in ifcfg-* files
19918
19919         * src/backends/NetworkManagerDebian.c
19920           src/backends/NetworkManagerGentoo.c
19921           src/backends/NetworkManagerSlackware.c
19922                 - Add stub functions for getting device configuration
19923
19924 2004-09-07  Dan Williams <dcbw@redhat.com>
19925
19926         * src/backends/NetworkManagerRedhat.c
19927           src/backends/NetworkManagerSlackware.c
19928                 - Use full path to /sbin/ip everywhere
19929
19930 2004-09-07  Dan Williams <dcbw@redhat.com>
19931
19932         Patch from: Narayan Newton <narayan_newton@yahoo.com>
19933
19934         * configure.in
19935           initscript/Makefile.am
19936           initscript/Slackware/Makfile.am
19937           initscript/Slackware/rc.networkmanager
19938           src/Makefile.am
19939           src/backends/NetworkManagerSlackware.c
19940                 - Add Slackware support
19941
19942 2004-09-07  Dan Williams <dcbw@redhat.com>
19943
19944         Patches below from:
19945                 <j@bootlab.org>
19946                 Mark Roach <mrroach@okmaybe.com>
19947                 Thom May <thom@debian.org>
19948
19949         * configure.in
19950           initscript/Debian/NetworkManager
19951           initscript/Debian/Makefile.am
19952                 - Initscript for Debian
19953
19954         * src/backends/NetworkManagerDebian.c
19955                 - Add missing system init function to allow compilation
19956                         on Debian
19957
19958 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
19959
19960         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
19961
19962 2004-09-03  Akagic Amila <bono@linux.org.ba>
19963
19964         * configure.in: Added 'bs' to ALL_LINGUAS.
19965
19966 2004-09-02  Colin Walters  <walters@verbum.org>
19967
19968         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
19969         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
19970         g_strdup_printf instead of arbitrarily sized buffers.
19971
19972 2004-09-01  Colin Walters  <walters@verbum.org>
19973
19974         * NetworkManager.pc.in: New file.
19975
19976         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
19977
19978 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
19979         
19980         * configure.in: Punjabi(pa) is added to po/.
19981
19982 2004-08-31  Dan Williams <dcbw@redhat.com>
19983
19984         * Remove 'debug' extern global from all files since we now
19985                 use syslog()
19986
19987         * src/NetworkManager.[ch]
19988                 - Break out routine that get the net.interface property from HAL,
19989                         removing that logic from nm_create_device_and_add_to_list()
19990                 - (nm_create_device_and_add_to_list): make this a bit more general so
19991                         it doesn't do the talking to HAL.  Also add arguments to facilitate
19992                         the create of test devices.
19993                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
19994                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
19995                         which makes NetworkManager listen for dbus commands to create test
19996                         devices, which have no backing hardware.  Use when you're on a plane
19997                         for example, and/or forgot your wireless card at home.  Test devices
19998                         _cannot_ be created unless NM is started with --enable-test-devices.
19999
20000         * src/NetworkManagerDbus.[ch]
20001                 - New "getLinkActive" method for devices
20002                 - New "setLinkActive" method for devices (only works on test devices)
20003                 - New "createTestDevice" method on NetworkManager object to create a test
20004                         device of a specified type (ie wired, wireless).  UDI is created from
20005                         scratch, as is the interface name.  Only works when NM is started with
20006                         --enable-test-devices switch.
20007                 - New "removeTestDevice" method on NetworkManager object which removes a
20008                         test device.  Only works when NM is started with --enable-test-devices
20009
20010         * src/NetworkManagerDevice.[ch]
20011                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
20012                         whether a device is a test device or not, and what its link status is.
20013                 - Deal with test devices in most functions.  For those that work directly on hardware
20014                         special-case test devices.
20015                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20016                         command-line.
20017                 - (nm_device_update_link_active): split out logic for wired and wireless device link
20018                         checking to separate functions to facilitate test device link checking.
20019                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20020                         don't make a distinction between System Authentication and Encryption
20021                         (namely Cisco aironet), we use Open System auth when setting a WEP key
20022                         on the card.  We don't deal with Shared Key auth yet.
20023                 - (nm_device_activation_worker): split the activation cancel check logic out into
20024                         a separate routine nm_device_activation_cancel_if_needed()
20025                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20026                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20027                         a list of fake access points that they can "see"
20028                 - (nm_device_is_test_device): return whether or not a device is a test device
20029
20030         * src/NetworkManagerPolicy.c
20031                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20032                         previously if you "locked"/forced NM to use a wireless device but then
20033                         selected a wireless network for NM to use, it would switch to a wired device.
20034                         So, if the active device is wireless and it has a "forced" best AP, use it
20035                         if the "forced" best AP is still valid
20036                 - (nm_state_modification_monitor): deal with NULL best devices, for example
20037                         there were no usable network devices, or the last one was removed
20038
20039         * src/backends/NetworkManager*.c
20040                 - Deal with test devices, mostly just return success for operations like getting
20041                         a DHCP address
20042
20043         * test/nmtestdevices.c
20044                 - Test tool to create/remove/link-switch test devices
20045
20046 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
20047
20048         * examples/python/NetworkManager.py: 
20049         added convience functions has_wired_device and has_wireless_device
20050
20051         * examples/python/systray/network_tray.py: 
20052         cleaned up a bunch of cruft, added support for listing wireless
20053         networks just like the real applet.  This is probably all I'm
20054         going to work on this applet from now on.
20055         TODO: add support for actually changing networks and devices
20056
20057         * examples/python/NetworkManager.py (NetworkManager.get_device): 
20058         changed "nm.networks" into a dict from a list so I can store all
20059         the cool information about networks in there
20060
20061         * examples/python/systray/network_tray.py: 
20062         Added nice message when you try to run without running make first
20063
20064         * examples/python/NetworkManager.py: 
20065         Bug fixes to the code so we get all the device information
20066         that we need in get_device()
20067         
20068         * examples/python/NMTester.py: 
20069         Fixed _print_device_list to print_device_list
20070
20071 2004-08-29  Seth Nickell  <seth@gnome.org>
20072
20073         * configure.in:
20074
20075         Actually properly setup the Debian backend in configure.
20076         
20077 2004-08-29  Colin Walters  <walters@verbum.org>
20078
20079         * test/nminfotest.c: Include string.h and stdlib.h.
20080         (get_network_string_property, get_networks_of_type): Return NULL.
20081
20082         * test/nmclienttest.c (get_device_name, get_active_device): Return
20083         NULL.
20084
20085         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20086         use strlen, fgets always NULL-terminates the string.
20087
20088         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20089         dbus_message_get_member): Remove /* in comment.
20090
20091         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20092
20093         * src/NetworkManager.c (quit): Unused, delete.
20094         (nm_data_free): Cast arg to GFunc.
20095
20096         * panel-applet/NMWirelessAppletDbus.c: Need to include
20097         string.h, and dbus-glib-lowlevel.h (the latter is needed
20098         for dbus_connection_setup_with_g_main at present).
20099         (nmwa_dbus_update_wireless_network_list): Parenthesize
20100         assignment in conditional.
20101         (nmwa_dbus_worker): Return NULL.
20102
20103         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20104         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20105         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20106         (nmwa_populate_menu): Return NULL on failure, instead of just
20107         return;
20108
20109         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20110
20111         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20112         variables.
20113
20114         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20115         delete.
20116         
20117 2004-08-29  Colin Walters  <walters@verbum.org>
20118
20119         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20120         a GTimeVal instead of time_t.  This is easier to work with,
20121         since time_t may be a long or double, we don't know.
20122
20123         * src/NetworkManagerDbus.h: Update prototype.
20124         
20125         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20126         instead of time_t.
20127         (nm_ap_get_timestamp): Update to return GTimeVal.
20128         (nm_ap_set_timestamp): Update to take GTimeVal.
20129         
20130         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20131         to handle GTimeVal.
20132
20133         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20134         GTimeVal change.
20135         (nm_ap_list_print_members): Fix warnings in printf format.
20136
20137 2004-08-29  Colin Walters  <walters@verbum.org>
20138         
20139         * panel-applet/NMWirelessApplet.c: Include config.h.
20140
20141 2004-08-29  Colin Walters  <walters@verbum.org>
20142
20143         * configure.in: Generate config.h.
20144
20145         * configure.in: Dump dependency on OpenSSL; we can't
20146         use it since this package is GPL:
20147         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20148         Instead, check for libgcrypt, use it if available,
20149         otherwise use included MD5 code.
20150
20151         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20152         Suck in from gnome-keyring, munge a bit.
20153         
20154         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20155         gnome-keyring-md5.h gnome-keyring-md5.c.
20156         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20157
20158         * src/NetworkManagerWireless.c (nm_md5): New function, uses
20159         libgcrypt or included gnome-keyring md5 bits.
20160         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20161
20162 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20163
20164         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20165
20166 2004-08-27  Bryan Clark  <bclark@redhat.com>
20167
20168         * examples/python/systray/Makefile: 
20169
20170         Updated the clean section
20171         
20172         * examples/python/systray/trayiconmodule.c: 
20173         * examples/python/systray/trayicon.override: 
20174         * examples/python/systray/network_tray.py: 
20175         * examples/python/systray/eggtrayicon.h: 
20176         * examples/python/systray/eggtrayicon.c: 
20177         * examples/python/systray/Makefile: 
20178         * examples/python/README: 
20179         * examples/python/NetworkManager.py: 
20180         * examples/python/NMTester.py: 
20181
20182         Initial commit of these python example files
20183
20184 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20185
20186         * panel-applet/NMWirelessApplet.c
20187                 - Make current device bold
20188                 - Show more user-friendly device name if we got one from hal
20189
20190         * panel-applet/NMWirelessAppletDbus.c
20191                 - Grab "info.product" key from hal for network devices
20192                 - Cache the current active device
20193
20194 2004-08-27  Adam Weinberger  <adamw@gnome.org>
20195
20196         * configure.in: Added en_CA to ALL_LINGUAS.
20197
20198 2004-08-27  Christian Rose  <menthos@menthos.com>
20199
20200         * configure.in: Added "sv" to ALL_LINGUAS.
20201
20202 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20203
20204         * Tag NetworkManager-0.2
20205
20206 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20207
20208         * initscripts/Makefile.am
20209         * configure.in: Make pass distcheck
20210
20211         * po/ChangeLog: added
20212
20213 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20214
20215         * panel-applet/NMWirelessApplet.c
20216                 - Remove debugging code
20217                 - Enable device switching from menus
20218
20219         * panel-applet/NMWirelessAppletDbus.[ch]
20220                 - Method for asking NM to switch devices
20221
20222         * src/NetworkManagerDevice.c
20223                 - Set dev->activating earlier, avoids race between
20224                         the dbus signal of "DeviceActivating" and setting
20225                         dev->activating (which is what NM's "status" method call
20226                         looks at)
20227
20228 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20229
20230         * panel-applet/NMWirelessApplet.[ch]
20231                 - Rework menu code to add devices to menu, and to show
20232                         signal strength for each access point.  Code cleanups
20233                         too.
20234
20235         * panel-applet/NMWirelessAppletDbus.c
20236                 - Grab network devices from NetworkManager too
20237                 - Grab quality information from NM for wireless networks
20238
20239         * src/NetworkManagerDbus.[ch]
20240                 - Add dbus methods for getting the HAL UDI from a device and
20241                         for getting its base quality, if its wireless
20242                 - Consolidate some functions (wireless network notifications,
20243                         device notifications)
20244                 - Add method for requesting NM to use a particular device
20245
20246         * src/NetworkManager.c
20247                 - Change for function consolidations from NetworkManagerDbus.c
20248                 - Implement active device locking and user-requested devices
20249                         (ie, tell NM to use a particular device instead of the one
20250                         it autochose)
20251
20252         * src/NetworkManagerDevice.c
20253                 - Add method for getting the base quality of a device, if its
20254                         wireless
20255                 - Grab device base quailty info from iwlib during scans
20256
20257         * src/NetworkManagerPolicy.c
20258                 - Use a user-requested device rather than the auto-chosen device
20259                         if we are told to
20260
20261 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
20262
20263         * Makefile.am: add po as a supdir
20264
20265         * autogen.sh: use gnome-autogen.sh
20266
20267         * initscript/Gentoo/.cvsignore:
20268         * initscript/RedHat/.cvsignore: Shut up cvs
20269
20270         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20271
20272         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20273         (nmwa_fill): Use gettext.
20274
20275         * configure.in: add gettext support
20276         * po/.cvsignore:
20277         * po/NetworkManager.pot:
20278         * po/POTFILES.in:
20279
20280 2004-08-26  Seth Nickell  <seth@gnome.org>
20281
20282         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20283         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20284         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20285         (nmwa_dispose_menu_items), (nmwa_populate_menu),
20286         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20287         * panel-applet/NMWirelessApplet.h:
20288
20289         Use a menu bar instead of a button for the main clickable
20290         thingy.
20291         
20292 2004-08-25  Dan Williams <dcbw@redhat.com>
20293
20294         * src/NetworkManagerDevice.c
20295                 - (nm_device_set_enc_key): always set device to "open" mode instead of
20296                         turning encryption off, because the Cisco driver doesn't associate
20297                         with WEP-enabled access points unless we are in "open"
20298
20299 2004-08-25  Dan Williams <dcbw@redhat.com>
20300
20301         * src/NetworkManagerWireless.c
20302                 - Don't try to defererence blank passphrases
20303
20304 2004-08-25  Dan Williams <dcbw@redhat.com>
20305
20306         * panel-applet/NMWirelessApplet.c
20307                 - Rebuild the menu whenever a user clicks
20308
20309 2004-08-25  Dan Williams <dcbw@redhat.com>
20310
20311         * panel-applet/NMWirelessApplet.c
20312                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20313                         when NM isn't around or when its not connected
20314
20315         * src/NetworkManagerDevice.c
20316                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20317                         canceled.
20318
20319 2004-08-25  Dan Williams <dcbw@redhat.com>
20320
20321         * panel-applet/NMWirelessAppletDbus.c
20322                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20323                         for getting encryption, and don't stop on "val" once we've gotten it
20324                         from NetworkManager.  Short form:  encryption should now show up.
20325
20326 2004-08-25  Dan Williams <dcbw@redhat.com>
20327
20328         * panel-applet/NMWirelessApplet.c
20329                 - Set ESSID on a gconf trusted network too when force-setting the wireless
20330                         network to associate with
20331
20332 2004-08-25  Dan Williams <dcbw@redhat.com>
20333
20334         * panel-applet/*
20335                 - Rework the panel applet to do all DBUS communication in a separate
20336                         thread
20337
20338 2004-08-25  Dan Williams <dcbw@redhat.com>
20339
20340         * info-daemon/NetworkManagerInfo.[ch]
20341                 - Remove "get_next_priority" function
20342
20343         * info-daemon/NetworkManagerInfoDbus.[ch]
20344                 - Convert "priority" functions to "timestamp"
20345
20346 2004-08-25  Dan Williams <dcbw@redhat.com>
20347
20348         * src/NetworkManagerAP.[ch]
20349                 - Add a "enc_method_good" member and accessors to an Access Point
20350                         to signal when we've found the correct encryption method
20351                         for an access point
20352                 - Add a "timestamp" member and accessors, remove "priority" member
20353                         and accessors (use timestamps instead)
20354                 - Rename "wep_key"->"enc_key"
20355                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20356                         for a specified encryption method using the access points
20357                         source encryption key/passphrase
20358
20359         * src/NetworkManagerAPList.c
20360                 - When updating a network with dbus, grab timestamp now instead of
20361                         priority
20362
20363         * src/NetworkManagerDBus.[ch]
20364                 - Add signal for "DeviceActivating"
20365                 - Switch priority->timestamp
20366
20367         * src/NetworkManagerDevice.c
20368                 - Change references of "wep_key" -> "enc_key" or "key"
20369                 - Signal DeviceActivating when starting activation
20370                 - When activating a wireless device, if the access point we are connecting
20371                         to is encrypted, and we have a source key, try to generate a mangled
20372                         key and use that (ie, generate real WEP key from a passphrase)
20373                 - Rework device activation to fallback to other encryption methods if
20374                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20375                         first, then if that doesn't work fall back to direct hex key).
20376                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20377                         priority.  We now prefer the latest access point used, rather than using
20378                         a priority scheme
20379                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20380                         points we've just discovered, and merge in correct info from the global
20381                         access point lists
20382
20383 2004-08-25  Seth Nickell  <seth@gnome.org>
20384
20385         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20386         Debian support.
20387         
20388         * src/Makefile.am:
20389         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20390         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20391         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20392         (nm_system_delete_default_route),
20393         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20394         (nm_system_load_device_modules):
20395
20396 2004-08-24  Dan Willemsen <dan@willemsen.us>
20397
20398         * src/NetworkManager.c
20399           src/backends/NetworkManagerGentoo.c
20400           src/backends/NetworkManagerRedHat.c
20401           src/backends/NetworkManagerSystem.h
20402                 - Implement preliminary Gentoo support, adding a
20403                         nm_system_init function to the backend specification
20404
20405         * configure.in
20406                 - Distribution auto-detection, lowercase any user-fed
20407                         distribution names
20408
20409         * initscript/.cvsignore
20410           initscript/Makefile.am
20411           initscript/RedHat/Makefile.am
20412           initscript/RedHat/NetworkManager
20413           initscript/Gentoo/Makefile.am
20414           initscript/Gentoo/NetworkManager
20415                 - Refactored initscript code separately for each
20416                         distribution
20417
20418 2004-08-23  Dan Williams <dcbw@redhat.com>
20419
20420         * configure.in
20421           src/Makefile.am
20422           src/NetworkManagerDevice.c
20423           src/NetworkManager.c
20424           src/NetworkManagerUtils.[ch]
20425           src/backends/NetworkManagerSystem.h
20426           src/backends/NetworkManagerRedHat.c
20427           src/backends/NetworkManagerGentoo.c
20428                 - Refactor system-specific code into separate backends for
20429                         each distribution
20430
20431 2004-08-23  Dan Willemsen <dan@willemsen.us>
20432
20433         * dispatcher-daemon/NetworkManagerDispatcher.c
20434           info-daemon/NetworkManagerInfo.[ch]
20435           info-daemon/NetworkManagerInfoDbus.c
20436           info-daemon/NetworkManagerInfoPassphraseDialog.c
20437           src/NetworkManager.c
20438           src/NetworkManagerAP.c
20439           src/NetworkManagerAPList.c
20440           src/NetworkManagerDbus.c
20441           src/NetworkManagerDevice.c
20442           src/NetworkManagerPolicy.c
20443           src/NetworkManagerUtils.[ch]
20444           src/NetworkManagerWireless.c
20445                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20446
20447         * src/NetworkManager.c
20448                 - Fixed usage wording for --no-daemon
20449
20450 2004-08-23  Dan Williams <dcbw@redhat.com>
20451
20452         * panel-applet/NMWirelessApplet.c
20453                 - Update our state every second to get more responsive panel icon
20454                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20455                         was causing our marching ants status blips to never move when
20456                         looking for a wireless network
20457
20458         * src/NetworkManagerDevice.c
20459                 - (nm_device_activation_begin): return if activation has already begun
20460                 - (nm_device_do_normal_scan): merge WEP key and priority from the
20461                         trusted/preferred network into the device's access point when the
20462                         scan list is processed
20463
20464 2004-08-23  Dan Williams <dcbw@redhat.com>
20465
20466         * initscript/NetworkManager
20467                 - Use NMLaunchHelper rather than sleeping
20468
20469         * initscript/NMLaunchHelper.c
20470           Makefile.am
20471                 - Add helper program that exits only when NM activates a device,
20472                         or 10 seconds have passed, whichever happens first.  This
20473                         stops the boot processes until we have a network connection,
20474                         which NM can't do because it daemonizes and brings the connection
20475                         up in the background.  Allows stuff like NFS to not die.
20476
20477 2004-08-20  Dan Williams <dcbw@redhat.com>
20478
20479         * info-daemon/NetworkManagerInfoPassphraseDialog.c
20480                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20481                         for a network, set the essid as well since it may not exist yet
20482                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20483                         since WEP keys/passphrases are long and prone to entry-error
20484
20485         * panel-applet/Makefile.am
20486           panel-applet/wired.png
20487                 - Add (pulled from system-config-network temporarily)
20488
20489         * panel-applet/NMWirelessApplet.[ch]
20490                 - Show wired picture when a wired connection is used
20491                 - Rename wireless icon enums, adding WIRELESS
20492
20493         * src/NetworkManagerDevice.c
20494                 - (nm_device_activate_wireless): unset encryption before bringing
20495                         down the card and setting the essid
20496                 - (nm_device_activatin_worker): request a key from the user if the
20497                         AP we are connecting to is encrypted but we don't have a key
20498                         for it yet
20499                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20500                         strcmp() that prevented a user-entered key from actually getting
20501                         used
20502
20503 2004-08-16  Dan Williams <dcbw@redhat.com>
20504
20505         * initscript/NetworkManager
20506                 - Check for /sbin/ip
20507                 - Do sysctl magic that network service does
20508                 - sleep 4s after start to allow network time to come up [hack]
20509
20510         * src/Makefile.am
20511           src/NMLoadModules
20512                 - Load all network device kernel modules (hal doesn't know devices
20513                         are ethernet until the module is loaded, and therefore we don't know)
20514
20515         * src/NetworkManager.c
20516                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20517                         network devices, and bring up the loopback device explicitly
20518
20519         * src/NetworkManagerUtils.[ch]
20520                 - (nm_enable_loopback): new function
20521
20522 2004-08-13  Dan Williams <dcbw@redhat.com>
20523
20524         * configure.in
20525           panel-applet/Makefile.am
20526                 - Fix up cleanfiles and server_DATA/server_in_files
20527
20528         * README
20529                 - Update with some comments on theory of operation
20530
20531         * CONTRIBUTING
20532           Makefile.am
20533                 - Add CONTRIBUTING
20534
20535 2004-08-12  Dan Williams <dcbw@redhat.com>
20536
20537         * info-daemon/passphrase.glade
20538                 - Set window title to " "
20539
20540         * panel-applet/Makefile.am
20541           panel-applet/keyring.png
20542                 - Deliver to correct place
20543
20544         * panel-applet/NMWirelessApplet.[ch]
20545                 - Add comments
20546                 - Remove applet->have_active_device as its no longer used
20547                 - (nmwa_load_theme): load keyring.png too
20548                 - (error_dialog): remove
20549                 - (show_warning_dialog): subsume functionality of error dialog too
20550                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20551                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20552                         the networks menu
20553                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20554                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20555                         and when we get broadcasts of changed wireless access points only, not when the
20556                         user clicks on the button to display the menu (too long of a wait)
20557                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20558                         networks that are encrypted
20559                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20560                         menu item with g_object_set_data()
20561
20562         * panel-applet/NMWirelessAppletDbus.[ch]
20563                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20564                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20565                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20566                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20567                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20568                         activation/deactivation signals and rebuild the menu when they happen
20569
20570         * src/NetworkManager.c
20571                 - (main): use new nm_spawn_process() rather than system()
20572
20573         * src/NetworkManagerDbus.c
20574                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20575                         instead.  Since we can now force best_aps to stick around, the AP structure to which
20576                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20577                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
20578                         to freeze the best_ap.
20579
20580         * src/NetworkManagerDevice.[ch]
20581                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20582                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20583                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
20584                         ap list
20585
20586         * src/NetworkManagerUtils.[ch]
20587                 - (nm_spawn_process): add replacement for system() usage
20588
20589 2004-08-11  Dan Williams <dcbw@redhat.com>
20590
20591         * panel-applet/NMWirelessApplet.[ch]
20592                 - Fix up copyright and credits to include Bastien and Eskil,
20593                         who created the gnome-applets wireless applet, from whose
20594                         skeleton this one was created
20595                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
20596                         pixmap to draw is computed during nmwa_update_state()
20597                 - Applet now shows itself all the time due to panel packing issues
20598                         which caused the applet to previously never come back after hiding.
20599                         When a wired device is the active device, the applet shows "not connected"
20600
20601         * panel-applet/NMWirelessAppletDbus.[ch]
20602                 - Clean up error messages and show what function they are from
20603                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
20604                 - Add new device type getters, and a status getter
20605
20606         * src/NetworkManagerDbus.c
20607                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
20608                         network is actually in the device's ap list
20609                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
20610
20611         * src/NetworkManagerDevice.c
20612                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
20613                         card
20614
20615         * test/nmclienttest.c
20616                 - Report status of NetworkManager too
20617
20618 2004-08-11  Dan Williams <dcbw@redhat.com>
20619
20620         * info-daemon/NetworkManagerInfo.c:
20621                 - (main): clean up Seth's code style
20622
20623         * info-daemon/NetworkManagerInfoDbus.c:
20624                 - Use the more aptly-named path/service/interface constants from NetworkManager
20625                 - Don't return empty strings ("") as object paths ever, instead return errors
20626
20627         * panel-applet/NMWirelessApplet.c:
20628                 - Clean up Seth's code style
20629
20630         * src/NetworkManager.[ch]
20631                 - (nm_remove_device_from_list): remove anything having to do with pending_device
20632                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
20633
20634         * src/NetworkManagerAPList.[ch]
20635                 - Move Iter struct right above the iter functions to preserve opacity
20636                 - (nm_ap_list_remove_ap): implement
20637                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
20638                         remove AP if NetworkManagerInfo doesn't know anything about it
20639                 - (nm_ap_list_diff): user NMAPList iterators
20640                 - (nm_ap_list_print_members): implement debugging function
20641
20642         * src/NetworkManagerDbus.[ch]
20643                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
20644                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
20645                         and move the actual key setting stuff into NetworkManagerDevice.c
20646                 - (nm_dbus_get_network_priority): return -1 now on errors
20647                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
20648                         get lost, and force the active device to update its "best" ap when AP lists change
20649                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
20650                         method call due to pending_device member removal
20651
20652         * src/NetworkManagerDevice.[ch]
20653                 - Move NMDevice structure to the top
20654                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
20655                 - Remove Pending Action stuff from everywhere
20656                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
20657                         activation for us.  This thread blocks until all conditions for activation have
20658                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
20659                         then setup up the interface and runs dhclient.  We have to do this because there
20660                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
20661                         run our main loop and respond to dbus method calls or HAL device removals/inserts
20662                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
20663                         can tell nm_device_activation_worker() that we've got a key
20664                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
20665                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
20666                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
20667                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
20668
20669         * src/NetworkManagerPolicy.c
20670                 - Remove anything to do with pending_device
20671                 - Adjust device activation to deal with activation-in-worker-thread
20672
20673         * src/NetworkManagerUtils.c
20674                 - Clean up locking debugging a bit
20675
20676         * src/NetworkManagerWireless.[ch]
20677                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
20678                         was badly named and is better as a device function
20679
20680         * panel-applet/.cvsignore: add
20681
20682 2004-08-09  Seth Nickell  <seth@gnome.org>
20683
20684         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
20685         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
20686         (nmwa_new):
20687         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
20688
20689         Don't load the menus until clicked on (also removes a call outside
20690         normal code paths at first load).
20691
20692         Hide applet when NM is not present.
20693         
20694         Improve printf debugging stuff.
20695         
20696 2004-08-09  Dan Williams <dcbw@redhat.com>
20697
20698         * dispatcher-daemon/NetworkManagerDispatcher.c:
20699                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
20700                 - Use constants for NetworkManager interface, service, and path
20701
20702 2004-08-09  Dan Williams <dcbw@redhat.com>
20703
20704         * src/NetworkManagerDbus.c:
20705                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
20706                         instead return an error message
20707                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
20708                         on a wired device.  Also never return an empty object path, instead return an error message
20709
20710 2004-08-06  Seth Nickell  <seth@gnome.org>
20711
20712         * panel-applet/NMWirelessApplet.c: (nmwa_new):
20713
20714         Check the error code when getting a connection.
20715         
20716         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
20717
20718         Check if the NM service exists when initializing (rather than
20719         assuming it does not).
20720         
20721         * src/NetworkManagerDbus.c: (nm_dbus_init):
20722
20723         Don't acquire the well-known service name until we have
20724         registered object/path handlers and can actually receive
20725         calls.
20726         
20727 2004-08-06  Dan Williams <dcbw@redhat.com>
20728
20729         * panel-applet/*
20730                 - Add panel applet
20731
20732         * src/NetworkManagerPolicy.c
20733           src/NetworkManager.c
20734                 - Get access point lists from NetworkManagerInfo on-demand,
20735                         and look for ServiceCreate/ServiceDeleted signals to see when
20736                         we should query NMI for lists
20737         * src/NetworkManagerAPList.c
20738                 - Make sure to init the list's mutex
20739                 - Convert traversals of the list over to the list iter functions
20740
20741         * src/NetworkManagerDbus.[ch]
20742                 - Use more aptly-named path/service/interface constants
20743                 - Treat both active and pending devices the same for "getActiveDevice"
20744                 - Add a "status" method returning "connected", "connecting", or "disconnected"
20745
20746         * src/NetworkManagerDevice.c
20747                 - Honor "ignored" network list when picking best ap to use
20748
20749 2004-08-06  Seth Nickell  <seth@gnome.org>
20750
20751         * aclocal.m4:
20752
20753         Autogenerated, remove from CVS.
20754         
20755         * autogen.sh:
20756
20757         Don't hardcode automake version.
20758         
20759         * configure.in:
20760         * info-daemon/Makefile.am:
20761         * info-daemon/NetworkManagerInfo.c: (main):
20762
20763         Use GnomeProgram et al. for doing session management.
20764         Use popt stuff for argument parsing rather than doing
20765         it manugally.
20766         
20767 2004-08-05  Dan Williams <dcbw@redhat.com>
20768
20769         * test/nminfotest.c
20770                 - Update to new NMI dbus API, check different network types
20771
20772         * info-daemon/NetworkManagerInfoDbus.c
20773                 - Update to new NM dbus API, ie network type sent in query message
20774
20775 2004-08-05  Dan Williams <dcbw@redhat.com>
20776
20777         * An assload of changes
20778
20779 2004-08-02  Dan Williams <dcbw@redhat.com>
20780
20781         * TODO
20782                 - new task: proper logging support
20783
20784         * info-daemon/NetworkManagerInfo.c
20785                 - Correct spelling of "canceled"
20786                 - Correct casting of objects for g_signal_connect()
20787
20788         * info-daemon/NetworkManagerInfoDbus.c
20789                 - Add defines for NetworkManager namespace and object path, and use them
20790                 - Add filter function to trap new signals from NetworkManager:
20791                         WirelessNetworkAppeared, WirelessNetworkDisappeared
20792
20793         * info-daemon/passphrase.glade
20794                 - Change name of "ok" button to "Login to Network..."
20795                 - Mark invisible
20796
20797         * src/NetworkManager.c
20798                 - Code and debug message cleanups
20799                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
20800                 - (nm_add_initial_devices) Check returned string array of devices
20801                         and don't try to add devices if array is NULL
20802                 - (main) Initialize libhal a bit later, make code a bit clearer
20803
20804         * src/NetworkManagerAP.[ch]
20805                 - New accessor and data member "matched": used to speed up AP list
20806                         diffing
20807                 - New accessor and data member "enc_method": will be used during key
20808                         fallback to cache which passphrase->key conversion actually works
20809                         so we don't have to do it every time
20810
20811         * src/NetworkManagerAPList.[ch]
20812                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
20813                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
20814                         between them, and send WirelessNetworkAppeared/Disappeared signals over
20815                         dbus in response to those differences
20816
20817         * src/NetworkManagerDbus.[ch]
20818                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
20819                         make an object path for that access point (NOTE that we don't yet check to
20820                         make sure that access point is actually in the device's AP list yet)
20821                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
20822                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
20823                         New: signal appearance/disappearance of wireless networks
20824                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
20825                         key entry
20826
20827         * src/NetworkManagerDevice.[ch]
20828                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
20829                 - (nm_device_ap_list_get) New: return the AP list (static function)
20830                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
20831                         new one resulting from the scan with the old one
20832
20833         * src/NetworkManagerWireless.c
20834                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
20835
20836         * test/nminfotest.c
20837                 - #define object paths and namespaces and use the #defines rather than static strings
20838                 - Test out user-key functionality of NetworkManagerInfo too
20839
20840 2004-07-29  Dan Williams <dcbw@redhat.com>
20841
20842         * info-daemon/NetworkManagerInfoDbus.c
20843           src/NetworkManagerDbus.c
20844                 - Update to current DBus (ie don't use decomposed paths when registering
20845                         object paths/fallbacks)
20846
20847 2004-07-27  Dan Williams <dcbw@redhat.com>
20848
20849         * Remove various Makefile.in files
20850
20851         * TODO
20852                 - Add some more items
20853
20854         * configure.in
20855                 - Add checks for OpenSSL/md5 headers and libs
20856
20857         * src/Makefile.am
20858                 - Use OpenSSL CFLAGS
20859
20860         * src/NetworkManagerAP.[ch]
20861                 - Remove 'stamp' functions, replace with 'invalid' functions
20862                         to support user cancelling WEP key entry
20863
20864         * src/NetworkManagerDbus.c
20865                 - Remove 'stamp' return functions
20866                 - Treat returned user key as a passphrase and convert to a WEP key,
20867                         but don't actually use the WEP key yet.  We use the returned user
20868                         key as a hexadecimal WEP key until we can figure out a UI for
20869                         passphrase-vs-hex key
20870
20871         * src/NetworkManagerWireless.[ch]
20872                 - Add passphrase-to-128bit-key function
20873
20874 2004-07-27  Dan Williams <dcbw@redhat.com>
20875
20876         * TODO
20877                 - Add a couple of items
20878
20879 2004-07-27  Dan Williams <dcbw@redhat.com>
20880
20881         * info-daemon/NetworkManagerInfo.c
20882                 - Update allowed network's GConf key when user enters a WEP key explicitly
20883
20884         * info-daemon/NetworkManagerDbus.c
20885                 - Fix some comments
20886                 - nmi_dbus_get_allowed_networks(): kill warning
20887
20888 2004-07-27  Dan Williams <dcbw@redhat.com>
20889
20890         * initscript/Makefile.in
20891                 - Remove
20892
20893         * initscript/Makefile.am
20894                 - Add correct rules to install the init.d initscript
20895
20896         * info-daemon/NetworkManagerInfoDbus.c
20897                 - Remove debug fprintf
20898
20899         * src/NetworkManagerDbus.[ch]
20900                 - Remove debug fprintfs
20901                 - Add macros for NetworkManagerInfo object path/namespace
20902                 - Use said macros instead of constant strings
20903
20904 2004-07-27  Dan Williams <dcbw@redhat.com>
20905
20906         * initscript/.cvsignore
20907                 - Add
20908
20909         * info-daemon/Makefile.am
20910                 - Install .glade files and keyring.png
20911                 - Fix stupid omission of a \ that caused half the flags not to be
20912                         passed to gcc
20913
20914         * info-daemon/NetworkManagerInfo.c
20915                 - gtk_signal_connect->g_signal_connect
20916                 - Alert NetworkManagerInfo to new glade file location
20917
20918 2004-07-27  Dan Williams <dcbw@redhat.com>
20919
20920         * test/nmclienttest.c
20921           test/nminfotest.c
20922                 - Add missing <dbus/dbus.h> headers
20923                 - Add GPL message at top
20924
20925 2004-07-27  Dan Williams <dcbw@redhat.com>
20926
20927         * src/NetworkManagerAPList.[ch]
20928           src/Makefile.am
20929                 - Add.  Deal with allowed network list additions, deletions, and updates
20930
20931         * dispatcher-daemon/NetworkManagerDispatcher.c
20932                 - Add missing <dbus/dbus.h> header
20933
20934         * info-daemon/NetworkManagerInfo.[ch]
20935                 - Add missing <dbus/dbus.h> header
20936                 - Implement the GConf notify callback to signal NetworkManager of an allowed
20937                         network change
20938                 - Better error checking
20939
20940         * info-daemon/NetworkManagerInfoDbus.[ch]
20941                 - Add missing <dbus/dbus.h> header
20942                 - Convert to using dbus_message_append_args/dbus_message_get_args
20943                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
20944                         that an allowed network changed.  We don't want to signal on individual
20945                         keys _inside_ an allowed network really, just want NM to query the info
20946                         daemon for updated info on all keys.
20947                 - Better error checking
20948
20949         * src/NetworkManager.[ch]
20950                 - Add missing <dbus/dbus.h> header
20951                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
20952                 - Zero out NMData structure on free
20953                 - No longer use a thread for allowed_ap_list updating, instead its now done
20954                         through dbus queries against NetworkManagerInfo
20955                 - Populate allowed_ap_list initially before adding existing network devices
20956                         to the device list, so wireless devices can get their "best" AP
20957
20958         * src/NetworkManagerDbus.[ch]
20959                 - Convert to using dbus_message_append_args/dbus_message_get_args
20960                 - Better error checking
20961                 - Implement Allowed Network info functions to request allowed network
20962                         info from NetworkManagerInfo
20963                 - Implement the filter function to process signals from NetworkManagerInfo
20964                         about changing allowed networks
20965
20966         * src/NetworkManagerDevice.c
20967                 - Fix file descriptor leak in nm_device_update_ip4_address()
20968
20969 2004-07-27  Dan Williams <dcbw@redhat.com>
20970
20971         * .cvsignore
20972           src/.cvsignore
20973           test/.cvsignore
20974           dispatcher-daemon/.cvsignore
20975           info-daemon/.cvsignore
20976                 - Add .cvsignore files to reduce noise when diffing
20977
20978 2004-07-24  Dan Williams <dcbw@redhat.com>
20979
20980         * src/NetworkManager.[ch]
20981           src/NetworkManagerDbus.[ch]
20982           src/NetworkManagerDevice.[ch]
20983           src/NetworkManagerPolicy.c
20984           src/NetworkManagerWireless.[ch]
20985                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
20986                 - Pass the NMData application data structure through all calls
20987                         that need it so we can get rid of nm_get_global_data()
20988                 - Change deallocation of the allowed_ap_list GSList in preparation
20989                         for not completely clearing it every time we get an update,
20990                         but instead getting incremental updates via GConf/dbus
20991
20992 2004-07-22  Dan Williams <dcbw@redhat.com>
20993
20994         * configure.in
20995                 - Add checks for GConf libs & headers & flags
20996
20997         * info-daemon/Makefile.am
20998                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
20999
21000         * info-daemon/NetworkManagerInfo.[ch]
21001                 - Don't use gquarks for data storage, just use normal data storage
21002                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21003
21004         * info-daemon/NetworkManagerDbus.[ch]
21005                 - Add method call for getting allowed networks
21006                 - Add method calls for getting an allowed network's essid, priority, and key
21007                 - Hook the method calls up to GConf
21008                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21009                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21010                 
21011         * src/NetworkManagerDbus.[ch]
21012                 - Switch for enumeration of networks to using essid instead
21013
21014         * test/Makefile.am
21015           test/nminfotest.c
21016                 - Add test program for NetworkManagerInfo
21017
21018 2004-07-19  Dan Williams <dcbw@redhat.com>
21019
21020         * src/NetworkManagerDbus.c
21021                 - Switch from indexed device paths to names.  Less code, more efficient.
21022                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21023
21024 2004-07-19  Dan Williams <dcbw@redhat.com>
21025
21026         * dispatcher-daemon/NetworkManagerDispatcher.c
21027                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21028
21029 2004-07-19  Dan Williams <dcbw@redhat.com>
21030
21031         * Makefile.am
21032                 - Add info-daemon directory
21033
21034         * configure.in
21035                 - Check for glade libs and headers
21036                 - Add info-daemon directory
21037
21038         * src/NetworkManagerAP.c
21039                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21040                         copied over to the new AP.
21041
21042         * src/NetworkManagerDbus.c
21043           src/NetworkManagerDbus.h
21044                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21045                 - Remove nm_dbus_signal_need_key_for_network()
21046                 - Add disabled code for asynchronous user wep key callbacks
21047                 - Add functions for getting, setting, and cancelling user key operations
21048                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21049                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21050
21051         * src/NetworkManagerDevice.c
21052           src/NetworkManagerDevice.h
21053                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21054                         logic is in device activation now
21055                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21056                         key is wrong) trigger get-user-key pending action
21057                 - Implement get-user-key pending action stuff, tie to dbus messages
21058                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21059                 - Add nm_device_ap_list_get_ap_by_essid()
21060                 - Instead of copying "best" access points, ref them instead so that the key we set
21061                         sticks around
21062
21063         * src/NetworkManagerPolicy.c
21064                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21065                 - Don't cancel pending actions on a device if its the same device as last iteration
21066                 - Only promote pending_device->active_device if activation was successfull
21067
21068         * src/Makefile.am
21069                 - Rename nmclienttest->nmtest
21070
21071         * info-daemon/Makefile.am
21072           info-daemon/NetworkManagerInfo.c
21073           info-daemon/NetworkManagerInfo.h
21074           info-daemon/NetworkManagerInfoDbus.c
21075           info-daemon/NetworkManagerInfoDbus.h
21076           info-daemon/passphrase.glade
21077           info-daemon/NetworkManagerInfo.conf
21078           info-daemon/keyring.png
21079                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21080                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
21081                         lists to NetworkManager by proxying user's GConf
21082           
21083
21084 2004-07-15  Dan Williams <dcbw@redhat.com>
21085
21086         * src/Makefile.am
21087                 - Turn on warnings
21088
21089         * src/NetworkManager.c
21090                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21091                         that doing the deactivation ourselves
21092                 - Cancel an pending actions on a device if its being removed
21093                 - Break up link state checking a bit, make non-active wireless cards
21094                         deactivated to save power
21095                 - Remove unused variables
21096
21097         * src/NetworkManager.h
21098                 - Add support for "pending" device
21099
21100         * src/NetworkManagerAP.h
21101           src/NetworkManagerAP.c
21102                 - Add support for determining whether and AP has encryption enabled or not
21103                 - AP address is now "struct ether_addr" rather than a string
21104
21105         * src/NetworkManagerDbus.h
21106           src/NetworkManagerDbus.c
21107                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21108                 - Changes for AP address from struct ether_addr->string
21109
21110         * src/NetworkManagerDevice.h
21111           src/NetworkManagerDevice.c
21112                 - Remove unused variables, fix warnings
21113                 - Add support for Pending Actions (things that block a device from being "active"
21114                         until they are completed).
21115                 - First pending action:  Get a WEP key from the user
21116                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21117                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21118                 - Update wireless link checking to try to determine if the AP we are associated
21119                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
21120                         trigger the GetUserKey pending action on the device
21121                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
21122                         up in that case, otherwise we can't scan or link-check on it
21123                 - Add IP address change notifications at appropriate points (still needs some work)
21124                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21125
21126         * src/NetworkManagerPolicy.h
21127           src/NetworkManagerPolicy.c
21128                 - Split out "best" access point determiniation into separate function
21129                 - Make device activation 2-stage:  first the device is pending, then
21130                         in the next iteration through it becomes "active" unless it has
21131                         pending actions
21132
21133         * src/NetworkManagerUtils.h
21134           src/NetworkManagerUtils.c
21135                 - Clean up unused variables and warnings
21136                 - Wrap our debug macros in {} to prevent possible confusion
21137
21138         * src/NetworkManagerWireless.c
21139                 - Forgot to return current best priority, which lead to last available AP always
21140                         being chosen no matter what its priority was.  Corrected.
21141
21142 2004-07-15  Dan Williams <dcbw@redhat.com>
21143
21144         * dispatcher-daemon/Makefile.am
21145                 - Turn on warnings
21146
21147         * dispatcher-daemon/NetworkManagerDispatcher.c
21148                 - Remove unused variables due to warnings
21149                 - Fix some comments
21150                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21151
21152 2004-07-06  Dan Williams <dcbw@redhat.com>
21153
21154         * src/NetworkManager.c
21155                 - Add IPv4 address update for active device during link state check
21156                 - Don't allow wireless cards to be powered up when they are not the
21157                         active device
21158
21159         * src/NetworkManagerDbus.c
21160           src/NetworkManagerDbus.h
21161                 - Add DBUS IPv4 address change signal
21162                 - Add DBUS IPv4 address get method for devices
21163
21164         * src/NetworkManagerDevice.c
21165                 - Make setting the WEP key actually work
21166                 - Move IP address get/set/update stuff here, per-device
21167                 - Power down/bring down wireless device when deactivated
21168                 - For scanning wireless devices, if first scan returned ENODATA, try again
21169
21170         * src/NetworkManagerPolicy.c
21171                 - Only set the WEP key for an allowed access point if there is one.
21172                         We were setting it to be blank if one wasn't specified.
21173
21174         * src/NetworkManagerUtils.h
21175           src/NetworkManagerUtils.c
21176                 - Move the IP address stuff to NetworkManagerDevice.c
21177
21178         * dispatcher-daemon/NetworkManagerDispatcher.c
21179                 - Add device IPv4 address change notification stuff
21180
21181 2004-07-05  Dan Williams <dcbw@redhat.com>
21182
21183         * dispatcher-daemon/NetworkManagerDispatcher.c
21184                 - A bit more descriptive state message
21185                 - Don't segfault when reading directory
21186
21187         * src/NetworkManager.h
21188                 - Remove NMData desired_ap member, its now
21189                         per-device rather than global
21190
21191         * src/NetworkManager.c
21192                 - Remove references to desired_ap
21193                 - Move the allowed AP list refresh stuff into a thread
21194
21195         * src/NetworkManagerDevice.c
21196           src/NetworkManagerDevice.h
21197                 - Each wireless device now has a "best ap"
21198                 - Make device activate/deactivate functions per-device
21199                 - Make wireless scanning per-device
21200                 - Add IPv4 address discover functions, stub IPv6 ones
21201                 - Move ethernet address validation functions to NetworkManagerUtils.c
21202                 - Add wireless access point accessor function
21203                 - Get/Set functions for "best ap"
21204
21205         * src/NetworkManagerPolicy.c
21206                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21207                 - Deal with per-device "best ap" rather than data->desired_apa
21208                 - Implement allowed access point worker thread
21209                 - Add nm_policy_essid_is_allowed() function
21210
21211         * src/NetworkManagerUtils.c
21212           src/NetworkManagerUtils.h
21213                 - Add nm_ethernet_address_is_valid() function
21214                 - Add IPv4/IPv6 address get functions
21215
21216         * src/NetworkManagerWireless.c
21217           src/NetworkManagerWireless.h
21218                 - Move scanning stuff into NetworkManagerDevice.c, per-device
21219
21220 2004-06-29  Dan Williams <dcbw@redhat.com>
21221
21222         * dispatcher-daemon/NetworkManagerDispatcher.c
21223                 - Implement script callout functionality
21224
21225 2004-06-24  Dan Williams <dcbw@redhat.com>
21226
21227         * NetworkManager.c
21228             - Spacing cleanups
21229             - Flush device routes and ip addresses when added to the device list
21230
21231         * NetworkManagerDbus.c
21232             - Spacing cleanups
21233             - Add missing returns in the two signal functions
21234         
21235         * NetworkManagerPolicy.c
21236             - Spacing and variable cleanups
21237
21238 2004-06-24  Dan Williams <dcbw@redhat.com>
21239
21240         * Makefile.am
21241           Makefile.in
21242           configure.in
21243           dispatcher-daemon/Makefile.am
21244           dispatcher-daemon/Makefile.in
21245           dispatcher-daemon/NetworkManagerDispatcher.c
21246             - Add a daemon that receives signals from NetworkManager
21247                         and will (eventually) call scripts in /etc/somewhere
21248                         when devices go up or down.
21249         
21250         * NetworkManager.c
21251             - Spacing cleanups
21252             - Flush device routes and ip addresses when added to the device list
21253
21254         * NetworkManagerDbus.c
21255             - Spacing cleanups
21256             - Add missing returns in the two signal functions
21257         
21258         * NetworkManagerPolicy.c
21259             - Spacing and variable cleanups
21260             - Rename nm_policy_switch_interface->nm_policy_switch_device
21261             - nm_policy_switch_device():
21262                                 Use kill (pid) instead of system ("kill <pid>")
21263             - nm_state_modification_monitor():
21264                                 Add wireless essid to output of debug statements
21265                                 Correct typo in device compare to switch or not (should be !=)
21266                                 Don't sleep after sending "no longer active" signal, was useless
21267
21268 2004-06-24  Dan Williams <dcbw@redhat.com>
21269
21270         * Initial import