2008-10-20 Dan Williams <dcbw@redhat.com>
[NetworkManager.git] / ChangeLog
1 2008-10-20  Dan Williams  <dcbw@redhat.com>
2
3         * src/nm-manager.c
4                 - (initial_get_connections): use private dbus manager, don't keep
5                         ref-ing the singleton.  Fixes mismatched refcounts of the dbus
6                         manager object.
7
8 2008-10-18  Dan Williams  <dcbw@redhat.com>
9
10         * libnm-glib/nm-settings.c
11           libnm-glib/nm-settings.h
12                 - Rename the "get_secrets" virtual function "service_get_secrets" to
13                         clarify when it's used; NMExportedConnetion is a base-class for both
14                         the client and service side, which is sort of confusing, and
15                         get_secrets only makes sense on the service side.
16
17         * libnm-glib/nm-dbus-connection.c
18                 - (get_secrets): remove, unused, and clients need to do extra work to
19                         get secrets anyway since the call can block on the remote side
20
21         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
22           system-settings/plugins/keyfile/nm-keyfile-connection.c
23                 - Fix up for get_secrets -> service_get_secrets
24
25 2008-10-16  Dan Williams  <dcbw@redhat.com>
26
27         * src/nm-device-wifi.c
28                 - (constructor): correctly determine encryption capabilities
29
30 2008-10-15  Dan Williams  <dcbw@redhat.com>
31
32         * src/nm-device-wifi.c
33                 - (wireless_qual_to_percent): fix quality calculation in a fallback case
34                         (Johannes Berg)
35
36 2008-10-15  Dan Williams  <dcbw@redhat.com>
37
38         * src/NetworkManagerSystem.c
39                 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
40                         if the ip4_dest is in a smaller subnet contained within a subnet
41                         the machine is currently on, the destination is in the same subnet
42                 - (nm_system_device_set_ip4_route): move subnet checks to callers
43                 - (add_vpn_gateway_route): check if the VPN gateway is in the same
44                         subnet as the parent device, and if so, don't add the direct
45                         host route via the parent device's gateway (bgo #481620)
46                 - (nm_system_apply_ip4_config): check whether the route to be added
47                         is contained within a subnet the device is already on
48
49 2008-10-11  Dan Williams  <dcbw@redhat.com>
50
51         * include/NetworkManager.h
52           introspection/nm-device.xml
53           include/NetworkManagerVPN.h
54                 - Add a few more state reasons for the device deactivated state
55
56         * src/nm-device-interface.c
57           src/nm-device-interface.h
58                 - (nm_device_interface_deactivate): add a 'reason' argument
59
60         * src/nm-device.c
61           src/nm-device.h
62                 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
63                 - (nm_device_state_changed): pass the state change reason to
64                         nm_device_take_down()
65                 - (nm_device_set_managed): take a 'reason' argument, and pass it along
66                         to the state change function
67
68         * src/nm-manager.c
69           src/nm-manager.h
70                 - (remove_one_device, handle_unmanaged_devices, sync_devices,
71                    impl_manager_sleep): pass a reason code to nm_device_set_managed()
72                 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
73                         something reasonable along to VPN deactivation
74
75         * src/vpn-manager/nm-vpn-manager.c
76           src/vpn-manager/nm-vpn-manager.h
77                 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
78                         pass that along to nm_vpn_connection_disconnect()
79
80 2008-10-11  Dan Williams  <dcbw@redhat.com>
81
82         * src/nm-device-wifi.c
83                 - (can_scan): remove old madwifi hack for not scanning while connected
84
85 2008-10-11  Dan Williams  <dcbw@redhat.com>
86
87         Add support for VPN subnet gateways (bgo #549196)
88
89         * include/NetworkManager.h
90                 - Add key for internal VPN subnet gateway
91
92         * src/vpn-manager/nm-vpn-connection.c
93                 - (ip_address_to_string): return a const from a static buffer so we
94                         don't leak a lot of strings
95                 - (print_vpn_config): print internal VPN gateway as well
96                 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
97                         VPN service too
98                 - (nm_vpn_connection_get_ip4_internal_gateway): new function
99
100         * src/NetworkManagerSystem.c
101           src/NetworkManagerSystem.h
102                 - (nm_system_device_replace_default_ip4_route): split into two, one for
103                         VPN connections and one for normal devices
104                 - (replace_default_ip4_route): break out route stuff into its own function
105                 - (nm_system_replace_default_ip4_route_vpn,
106                    nm_system_replace_default_ip4_route): simplify by having two cases,
107                         one for VPNs and one for normal devices
108
109         * src/NetworkManagerPolicy.c
110                 - (update_routing_and_dns): simplify, use split default route replacement
111                         functions
112
113 2008-10-10  Dan Williams  <dcbw@redhat.com>
114
115         Rework default route handling to consolidate decisions in the policy,
116         and to take active VPN connections into account when changing the default
117         route (bgo #545912)
118
119         * src/NetworkManager.c
120                 - (main): pass the vpn_manager to the policy so it knows about active
121                         VPN connections; clean up the named manager which wasn't done before
122
123         * src/NetworkManagerPolicy.c
124           src/NetworkManagerPolicy.h
125                 - (nm_policy_new): get a clue about the vpn_manager
126                 - (update_default_route): remove, fold into update_routing_and_dns()
127                 - (update_routing_and_dns): handle active VPN connections too; an
128                         active VPN connection becomes the default route if it does not have
129                         server-specified or user-specified custom routes.  Otherwise, the
130                         best active device gets the default route
131                 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
132                    nm_policy_destroy): track VPN connection activation and deactivation
133                         and update the default route when appropriate
134
135         * src/NetworkManagerSystem.c
136           src/NetworkManagerSystem.h
137                 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
138                         in the VPN connection itself
139                 - (nm_system_vpn_device_set_from_ip4_config,
140                    nm_system_device_set_from_ip4_config): merge together to make
141                         nm_system_apply_ip4_config()
142                 - (add_vpn_gateway_route): add a route to the VPN's external gateway
143                         via the parent device
144                 - (nm_system_apply_ip4_config): simplify
145                 - (add_ip4_route_to_gateway): new function; add a direct route to the
146                         gateway if needed
147                 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
148                         route stuff out into add_ip4_route_to_gateway() for clarity
149
150         * src/nm-device.c
151                 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
152
153         * src/vpn-manager/nm-vpn-connection.c
154           src/vpn-manager/nm-vpn-connection.h
155                 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
156                    nm_vpn_connection_get_parent_device): add
157                 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
158                         device explicit
159                 - (connection_state_changed): update the named manager now that
160                         nm_system_vpn_device_unset_from_ip4_config() is gone; do something
161                         useful on errors
162
163         * src/vpn-manager/nm-vpn-manager.c
164           src/vpn-manager/nm-vpn-manager.h
165                 - Add a 'connection-activated' signal
166                 - (nm_vpn_manager_get_active_connections): new function; mainly for the
167                         policy to find out about active VPN connections
168
169 2008-10-10  Tambet Ingo  <tambet@gmail.com>
170
171         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
172         a daemon to prevent NM logging spew on console on startup and shutdown (due
173         to dependency loop between NM and syslog).
174
175 2008-10-10  Alexander Sack  <asac@ubuntu.com>
176
177         Implement managed mode. We bind devices configured in /etc/network/interfaces
178         to their connections by updating wired/wireless setting with the
179         mac address of the device.
180
181         * system-settings/plugins/ifupdown/plugin.c
182                 - (get_net_address_for_udi): implement function to retrieve MAC
183                         address of udi from hal in GByteArray format
184                 - (bind_device_to_connection): bind mac address of device to
185                         wired/wireless system connection
186                 - (hal_device_added_cb): call bind_device_to_connection for
187                         system connections with a matching interface.name
188                 - (hal_device_added_cb): ensure that all code paths
189                         properly free the "iface" string.
190
191 2008-10-10  Alexander Sack  <asac@ubuntu.com>
192
193         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
194         mode of the ifupdown system config plugin.
195
196         * system-settings/plugins/ifupdown/plugin.c
197                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
198                         private unmanage_well_known state field accordingly
199
200 2008-10-10  Alexander Sack  <asac@ubuntu.com>
201
202         Implement unmanaged mode that will prevent all devices in the
203         well_known_udis set from being touched by NetworkManager
204
205         * system-settings/plugins/ifupdown/plugin.c
206                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
207                         unmanage_well_known field used to turn on/off unmanaged
208                         mode
209                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
210                         signal when well_known_udis get added/removed
211                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
212                         if we are in unmanaged mode
213
214 2008-10-10  Alexander Sack  <asac@ubuntu.com>
215
216         Add support to track network devices that have a configuration
217         with a matching interface.name in /etc/network/interfaces
218
219         * system-settings/plugins/ifupdown/plugin.c
220                 - (typedef struct SCPluginIfupdownPrivate): add hash table
221                         to track |well_known_udis|
222                 - (get_iface_for_udi): helper function to get interface.name
223                         for a udi
224                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
225                         that add and remove devices to and from the well_known_udis
226                         set depending on whether their |interface.name| matches
227                         any interface definition in /etc/network/interfaces
228                 - (SCPluginIfupdown_init): connect callbacks from above with
229                         hal_mgr and setup well_known_udis hashtable
230                 - (GObject__dispose): destroy well_known_udis hashtable
231                 - (hal_device_added_cb2): implement wrapper callback with GFunc
232                         signature. user_data is supposed to be a triple (hal_mgr,
233                         config and devtype)
234                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
235                         startup and call hal_device_added_cb2
236
237 2008-10-10  Alexander Sack  <asac@ubuntu.com>
238
239         Remove implementation for not used NMSystemConfigInterface callback functions
240         in ifupdown plugin
241
242         * system-settings/plugins/ifupdown/plugin.c
243                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
244                 - (SCPluginIfupdown_connection_added): removed
245
246 2008-10-08  Dan Williams  <dcbw@redhat.com>
247
248         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
249
250         * src/NetworkManagerUtils.c
251                 - (nm_utils_call_dispatcher): add a 'hostname' action
252
253         * src/NetworkManagerPolicy.c
254                 - (set_system_hostname): dispatch hostname changes
255
256         * callouts/nm-dispatcher-action.c
257                 - (nm_dispatcher_action): handle 'hostname' actions
258
259 2008-10-08  Dan Williams  <dcbw@redhat.com>
260
261         * src/NetworkManagerSystem.c
262                 - (find_route): ref the route so it doesn't get destroyed when the cache
263                         is cleared
264                 - (nm_system_device_set_priority): unref the route here after it's done
265                         being used
266
267 2008-10-08  Dan Williams  <dcbw@redhat.com>
268
269         * src/nm-serial-device.c
270                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
271
272 2008-10-08  Tambet Ingo  <tambet@gmail.com>
273
274         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
275         connection with new settings before saving it.
276
277 2008-10-06  Dan Williams  <dcbw@redhat.com>
278
279         * src/nm-ip4-config.c
280           src/nm-ip4-config.h
281                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
282
283         * src/nm-device-interface.c
284                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
285                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
286                         by using '/' for the object path
287
288         * src/nm-device.c
289                 - (src/nm-device.c): marshal missing/unexported ip4-config through
290                         dbus as '/' since dbus-glib can't handle NULL objects nor can
291                         dbus handle NULL object paths
292
293 2008-10-03  Alexander Sack  <asac@ubuntu.com>
294
295         Implement system hostname support for debian/ubuntu
296
297         * system-settings/plugins/ifupdown/plugin.c
298                 - (GObject__get_property): extend announced capabilities; add
299                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
300                 - (GObject__set_property,write_system_hostname): implement
301                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
302                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
303                    update_system_hostname, get_hostname):
304                         implement hostname property that watches and
305                         parses /etc/hostname
306
307 2008-10-03  Alexander Sack  <asac@ubuntu.com>
308
309         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
310           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
311           system-settings/plugins/ifcfg-fedora/Makefile.am
312           system-settings/src/nm-inotify-helper.c
313           system-settings/src/nm-inotify-helper.h
314           src/Makefile.am
315                 - Move ifcfg-fedora inotify helpers to the system settings service so
316                         they are available to all plugins
317
318 2008-10-03  Alexander Sack  <asac@ubuntu.com>
319
320         Implement support for wep-tx-keyidx in ifupdown system
321         config plugin.
322
323         * system-settings/plugins/ifupdown/parser.c
324                 - (update_wireless_security_setting_from_if_block): introduce
325                         free_type_mapping func table; rename a few local
326                         variables to improve readability; add wpa security mapping
327                         for wep-tx-keyidx property
328                 - (string_to_gpointerint): new function used for the auto_type_mapping
329                         of new wep-tx-keyidx property
330                 - (slist_free_all): free func used for mapped slist types
331
332 2008-10-03  Alexander Sack  <asac@ubuntu.com>
333
334         * system-settings/src/main.c:
335                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
336                         always used as the hash key; fixes a crash when removing wired
337                         devices
338
339 2008-10-02  Dan Williams  <dcbw@redhat.com>
340
341         * src/nm-gsm-device.c
342                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
343                         pass the required GSM secret along via user_data rather than keeping
344                         it around in the private data where it sometimes didn't get cleared
345                 - (real_get_ppp_name): implement using the GSM username
346
347 2008-10-02  Dan Williams  <dcbw@redhat.com>
348
349         * src/ppp-manager/nm-ppp-manager.c
350           src/ppp-manager/nm-ppp-manager.h
351                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
352                         the settings daemon for completely new ones
353                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
354                         local PPP peer name; allow PPP debuging by launching NM with
355                         the environment variable NM_PPP_DEBUG defined
356                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
357                         create_pppd_cmd_line()
358
359         * src/nm-serial-device.c
360           src/nm-serial-device.h
361                 - New 'get_ppp_name' function for subclasses to implement to return the
362                         local PPP peer name
363                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
364                         and pass that name to the PPP manager
365
366         * src/nm-device-ethernet.c
367                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
368                         the local peer name
369
370         * src/nm-cdma-device.c
371                 - (real_get_ppp_name): implement using the CDMA username
372
373 2008-10-02  Dan Williams  <dcbw@redhat.com>
374
375         Patch from Alexander Sack <asac ubuntu com>
376
377         * system-settings/plugins/ifupdown/parser.c
378                 - Implement more graceful ip4 config parsing for cases where
379                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
380                   by using default values
381
382 2008-10-02  Dan Williams  <dcbw@redhat.com>
383
384         * src/NetworkManagerPolicy.c
385                 - (device_state_changed): when marking a connection invalid, clear its
386                         secrets too so that fresh secrets get requested the next time
387
388 2008-10-01  Dan Williams  <dcbw@redhat.com>
389
390         * system-settings/src/dbus-settings.c
391                 - (nm_sysconfig_settings_init): cache system hostname on startup as
392                         a fallback if no plugin provides a hostname
393                 - (get_property): fall back to cached hostname if no plugin provides
394                         a hostname
395
396 2008-10-01  Dan Williams  <dcbw@redhat.com>
397
398         Fix setting value comparison issue that caused some settings to look the
399         same when they were really different (rh #464417)
400
401         * libnm-util/nm-param-spec-specialized.c
402                 - (type_is_fixed_size): return fundamental size of the fixed type too
403                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
404                         in the comparison so that the _entire_ fixed type collection gets
405                         compared rather than just the first 'len1' bytes
406
407 2008-09-30  Dan Williams  <dcbw@redhat.com>
408
409         * src/NetworkManagerPolicy.c
410                 - (lookup_thread_worker): don't store the idle handler ID becuase the
411                         idle handler could have already run and freed the LookupThread
412                         structure
413
414 2008-09-30  Tambet Ingo  <tambet@gmail.com>
415
416         * src/nm-device.c (nm_device_get_priority): Implement.
417         (nm_device_set_ip4_config): Send the device priority to system ip4 
418         config setter.
419
420         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
421         Add priority argument and if it's >= 0, set the priority of the network
422         route added automatically by netlink (or kernel?).
423         (nm_system_device_set_priority): Implement.
424
425         * src/NetworkManagerPolicy.c (get_best_device): Use 
426         nm_device_get_priority() instead of home-grown version. Revert the
427         meaning, best priority is the lowest one.
428
429 2008-09-29  Dan Williams  <dcbw@redhat.com>
430
431         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
432         when it returns EAGAIN (rh #362421)
433
434         * src/nm-device-wifi.c
435                 - (wireless_get_range): try GIWRANGE a few times until the card responds
436                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
437
438 2008-09-28  Dan Williams  <dcbw@redhat.com>
439
440         * src/nm-serial-device.c
441           src/nm-serial-device.h
442                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
443                         cleaned at the right times when subclasses close the serial port too
444                 - (nm_serial_device_send_command): use a default send delay; don't
445                         spin forever on EAGAIN
446                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
447                         remove, no longer used
448                 - (find_response): return the matched response if any
449                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
450                         while doing so
451                 - (wait_for_reply_done): pass the matched response to the callback
452                 - (wait_for_reply_got_data): save the matched response; simplify timeout
453                         handling
454                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
455                         const since they never get modified
456                 - (cleanup_device): split out common cleanup stuff to a new function
457                 - (real_deactivate_quickly, finalize): use cleanup_device()
458
459         * src/nm-gsm-device.c
460                 - (modem_get_reply): remove, unused
461                 - (set_apn): give the card a bit more time to respond
462                 - (manual_registration_again, schedule_manual_registration_again,
463                    manual_registration_response, manual_registration): handle manual
464                         registration timeouts better by retrying registration a few times
465                         because cards are a bit slow after CFUN=1
466                 - (automatic_registration_get_network, get_network_response): use
467                         modem_wait_for_reply() because it interacts better with the serial
468                         buffer and does more intelligent matching; need to wait for 'OK'
469                         rather than just matching terminators
470                 - (schedule_automatic_registration_again,
471                    automatic_registration_response, automatic_registration): retry
472                         registration a few times on timeout or "searching" because cards
473                         take a bit to find a network after being powered up with CFUN=1
474                 - (power_up_response, power_up, init_full_done, enter_pin,
475                    check_pin_done): power up the card with CFUN=1 before trying to
476                         register with the network
477                 - (init_modem_full, init_modem): use more standard 3G init strings
478
479         * src/nm-hso-gsm-device.c
480                 - (modem_get_reply): remove, unused
481                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
482                         modem_wait_for_reply() to match actual responses instead of single
483                         termination characters; it doesn't leave stuff in the serial buffer
484                         that might confuse later calls
485                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
486                         to ensure that the call is really disconnected and not leave extra
487                         stuff in the serial buffer
488
489         * src/nm-cdma-device.c
490                 - (power_up_response, power_up, init_done): try Sierra-style modem
491                         power up before attempting to connect
492
493 2008-09-27  Dan Williams  <dcbw@redhat.com>
494
495         * libnm-util/nm-setting-gsm.c
496                 - (verify): verify GSM network ID
497
498 2008-09-25  Dan Williams  <dcbw@redhat.com>
499
500         * libnm-util/nm-setting-gsm.c
501           libnm-util/nm-setting-gsm.h
502                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
503                         technology terms (bgo #551361)
504
505 2008-09-25  Dan Williams  <dcbw@redhat.com>
506
507         Fix bgo #549401 (inspired by patch from Alexander Sack)
508
509         * src/nm-device-ethernet.c
510                 - (finish_supplicant_task): clean up scheduled tasks and free memory
511                 - (remove_supplicant_interface_error_handler): remove the supplicant
512                         error idle callback too
513                 - (supplicant_interface_release): rename from supplicant_interface_clean
514                         to match nm-device-wifi.c; clean up supplicant interface-related
515                         state tasks when the supplicant interface is disposed of
516                 - (schedule_state_handler): add scheduled tasks to a list so they can
517                         be cleaned up later
518                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
519                    supplicant_iface_connection_state_cb_handler): use
520                         finish_supplicant_task() to clean up each completed task
521                 - (supplicant_iface_connection_error_cb_handler,
522                    supplicant_connection_timeout_cb): clear source id when the task is
523                         complete
524                 - (supplicant_iface_connection_error_cb): save scheduled task id for
525                         later cleanup
526                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
527                         tasks
528
529         * src/nm-device-wifi.c
530                 - (finish_supplicant_task): clean up scheduled tasks and free memory
531                 - (remove_supplicant_interface_error_handler): remove the supplicant
532                         error idle callback too
533                 - (supplicant_interface_release): clean up supplicant interface-related
534                         state tasks when the supplicant interface is disposed of
535                 - (schedule_state_handler): add scheduled tasks to a list so they can
536                         be cleaned up later
537                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
538                    supplicant_iface_connection_state_cb_handler): use
539                         finish_supplicant_task() to clean up each completed task
540                 - (supplicant_iface_connection_error_cb_handler): clear source id when
541                         the task is complete
542                 - (supplicant_iface_connection_error_cb): save scheduled task id for
543                         later cleanup
544                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
545
546 2008-09-24  Tambet Ingo  <tambet@gmail.com>
547
548         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
549         method and get/set hostname property.
550
551 2008-09-24  Tambet Ingo  <tambet@gmail.com>
552
553         * src/supplicant-manager/nm-supplicant-interface.c
554         (nm_supplicant_interface_disconnect): Don't increment the reference 
555         count when disconnecting. The problem is on shutdown, when the replies
556         to these commands do not arrive before NM exits, resulting on never
557         calling supplicant interface's dispose(), which removes the interface
558         from supplicant.
559
560 2008-09-24  Tambet Ingo  <tambet@gmail.com>
561
562         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
563         all the public function arguments.
564
565 2008-09-22  Tambet Ingo  <tambet@gmail.com>
566
567         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
568         "Failure" signal from VPN plugins, store the failure reason, and
569         use it when the state is changed to failure.
570
571         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
572         description.
573
574         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
575         reason to the end of the list to not break the API.
576         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
577         so it can be shared by plugins and daemon.
578
579 2008-09-18  Dan Williams  <dcbw@redhat.com>
580
581         Patch from Alexander Sack <asac@ubuntu.com>
582
583         * configure.in
584           system-settings/plugins/Makefile.am
585           system-settings/plugins/ifupdown/Makefile.am
586           system-settings/plugins/ifupdown/interface_parser.c
587           system-settings/plugins/ifupdown/interface_parser.h
588           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
589           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
590           system-settings/plugins/ifupdown/parser.c
591           system-settings/plugins/ifupdown/parser.h
592           system-settings/plugins/ifupdown/plugin.c
593           system-settings/plugins/ifupdown/plugin.h
594                 - Implement a Debian/Ubuntu legacy network configuration plugin
595                         (gnome.org #551941)
596
597 2008-09-18  Dan Williams  <dcbw@redhat.com>
598
599         Implement support for honoring configured and automatic hostnames, and for
600         setting the configured hostname.
601
602         * introspection/nm-ip4-config.xml
603           src/nm-ip4-config.c
604           src/nm-ip4-config.h
605           src/dhcp-manager/nm-dhcp-manager.c
606                 - Remove useless hostname property; it's not really part of the IPv4
607                         config
608
609         * introspection/nm-settings-system.xml
610           libnm-glib/nm-dbus-settings-system.c
611           libnm-glib/nm-dbus-settings-system.h
612                 - Add SetHostname() call to system settings D-Bus interface
613                 - Add Hostname property to system settings D-Bus interface
614                 - (nm_dbus_settings_system_save_hostname,
615                    nm_dbus_settings_system_get_hostname): implement
616
617         * src/nm-device.c
618           src/nm-device.h
619                 - (nm_device_get_dhcp4_config): implement
620
621         * src/nm-manager.c
622           src/nm-manager.h
623                 - Fetch and track system settings service hostname changes, and proxy
624                         the changes via a GObject property of the manager
625
626         * system-settings/src/nm-system-config-interface.c
627           system-settings/src/nm-system-config-interface.h
628                 - Replace nm_system_config_interface_supports_add() with a capabilities
629                         bitfield
630
631         * system-settings/src/nm-system-config-error.c
632           system-settings/src/nm-system-config-error.h
633                 - Add additional errors
634
635         * system-settings/src/dbus-settings.c
636           system-settings/src/dbus-settings.h
637                 - (get_property, nm_sysconfig_settings_class_init): add hostname
638                         property; first plugin returning a hostname wins
639                 - (impl_settings_add_connection): use plugin capabilities instead of
640                         nm_system_config_interface_supports_add()
641                 - (impl_settings_save_hostname): implement hostname saving
642
643         * src/NetworkManagerPolicy.c
644                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
645                    lookup_thread_die): implement an asynchronous hostname lookup thread
646                         which given an IPv4 address tries to look up the hostname for that
647                         address with reverse DNS
648                 - (get_best_device): split out best device code from
649                         update_routing_and_dns()
650                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
651                         to preserve the 127.0.0.1 reverse mapping that so many things require
652                 - (set_system_hostname): set a given hostname
653                 - (update_system_hostname): implement hostname policy; a configured
654                         hostname (from the system settings service) is used if available,
655                         otherwise an automatically determined hostname from DHCP, VPN, etc.
656                         If there was no automatically determined hostname, reverse DNS of
657                         the best device's IP address will be used, and as a last resort the
658                         hostname 'localhost.localdomain' is set.
659                 - (update_routing_and_dns): use get_best_device(); update the system
660                         hostname when the network config changes
661                 - (hostname_changed): update system hostname if the system settings
662                         service signals a hostname change
663                 - (nm_policy_new): list for system settings service hostname changes
664                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
665                         gets told to die
666
667         * system-settings/plugins/keyfile/plugin.c
668           system-settings/plugins/ifcfg-suse/plugin.c
669                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
670                         capabilities properties
671
672         * system-settings/plugins/ifcfg-fedora/shvar.c
673                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
674                         writes out /etc/sysconfig/network now
675
676         * system-settings/plugins/ifcfg-fedora/plugin.c
677                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
678                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
679                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
680                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
681                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
682                         hostname get/set and capabilities get
683
684 2008-09-18  Dan Williams  <dcbw@redhat.com>
685
686         * libnm-util/nm-setting-wireless.c
687                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
688                         group ciphers if the wireless-security setting explicitly specified
689                         them, effectively making the default be "all ciphers"  (idea from
690                         Alexander Sack)
691
692 2008-09-15  Dan Williams  <dcbw@redhat.com>
693
694         Patch from Alexander Sack <asac@ubuntu.com>
695
696         * src/named-manager/nm-named-manager.c
697                 - (dispatch_resolvconf): respect resolvconf exit code
698
699 2008-09-12  Tambet Ingo  <tambet@gmail.com>
700
701         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
702         again. Add some debugging.
703
704 2008-09-11  Dan Williams  <dcbw@redhat.com>
705
706         * system-settings/plugins/keyfile/plugin.c
707                 - (update_connection_settings): update connection manually, since
708                         nm_exported_connection_update() does authentication
709                 - (dir_changed): update_connection_settings() doesn't need to return
710                         an error
711
712 2008-09-09  Dan Williams  <dcbw@redhat.com>
713
714         * libnm-glib/nm-vpn-plugin-ui-interface.c
715           libnm-glib/nm-vpn-plugin-ui-interface.h
716           libnm-glib/libnm_glib_vpn.ver
717                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
718                         should clean up resources related to the connection (like keyring
719                         secrets)
720                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
721                         should save user-scope secrets (like to the keyring)
722
723 2008-09-08  Dan Williams  <dcbw@redhat.com>
724
725         Patch from Alexander Sack <asac@ubuntu.com>
726
727         * libnm-util/crypto_gnutls.c
728           libnm-util/crypto_nss.c
729                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
730
731         * libnm-util/nm-utils.c
732           libnm-util/nm-utils.h
733           libnm-util/libnm-util.ver
734                 - (nm_utils_init): initialize libnm-util
735                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
736
737         * libnm-util/nm-setting-8021x.c
738                 - (nm_setting_802_1x_class_init): init libnm-util when needed
739
740 2008-09-05  Dan Williams  <dcbw@redhat.com>
741
742         Patch from Roy Marples <roy@marples.name> and others
743
744         * configure.in
745           src/named-manager/nm-named-manager.c
746                 - Add support for resolvconf; use --with-resolvconf at configure time
747                         to enable it
748
749 2008-09-05  Dan Williams  <dcbw@redhat.com>
750
751         * libnm-util/crypto_nss.c
752           libnm-util/crypto_gnutls.c
753           libnm-util/crypto.h
754                 - (crypto_init): return error when init fails
755
756 2008-09-05  Dan Williams  <dcbw@redhat.com>
757
758         * libnm-glib/nm-device-wifi.c
759                 - (access_point_removed_proxy): clean up the active access point too
760                         just in case the active ap changed signal didn't come through yet
761                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
762
763 2008-09-05  Dan Williams  <dcbw@redhat.com>
764
765         * libnm-glib/nm-client.c
766                 - (constructor): get initial state after we know whether NM is running
767                         or not
768
769 2008-09-05  Dan Williams  <dcbw@redhat.com>
770
771         * libnm-glib/nm-ip4-config.c
772           libnm-glib/nm-dhcp4-config.c
773                 - (finalize): clean up the DBusGProxy
774
775 2008-09-04  Dan Williams  <dcbw@redhat.com>
776
777         * src/nm-ip4-config.c
778           src/nm-ip4-config.h
779                 - (nm_ip4_config_new): don't export over D-Bus here
780                 - (nm_ip4_config_export): new function; export the config over D-Bus
781                 - (nm_ip4_config_is_exported): new function
782
783         * src/nm-device.c
784                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
785                         objects by balancing the IP4Config constructor; the device holds
786                         a reference to the IP4Config already
787                 - (nm_device_set_ip4_config): export the IP4Config when needed
788
789 2008-09-04  Dan Williams  <dcbw@redhat.com>
790
791         * src/supplicant-manager/nm-supplicant-settings-verify.c
792                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
793
794 2008-09-04  Dan Williams  <dcbw@redhat.com>
795
796         * libnm-util/nm-setting-vpn.c
797           libnm-util/nm-setting-vpn.h
798                 - Split VPN secrets from VPN data so that settings services can actually
799                         figure out that they are secrets and store them accordingly
800
801         * system-settings/plugins/keyfile/nm-keyfile-connection.c
802           system-settings/plugins/keyfile/reader.c
803           system-settings/plugins/keyfile/reader.h
804           system-settings/plugins/keyfile/writer.c
805                 - Store VPN secrets separately from VPN data so that they can be fetched
806                         on demand
807                 - Implement the get_secrets() call so that (a) secrets don't leak out
808                         to unprivileged callers, and (b) secrets can be sent to privileged
809                         callers when needed
810
811         * vpn-daemons/vpnc/src/nm-vpnc-service.c
812                 - Handle split VPN secrets
813
814 2008-08-27  Dan Williams  <dcbw@redhat.com>
815
816         * system-settings/plugins/ifcfg-fedora/reader.c
817                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
818
819 2008-08-27  Dan Williams  <dcbw@redhat.com>
820
821         Ensure zombie children get cleaned up.  To get notifications when children
822         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
823         that requires calling waitpid() yourself if you've removed the child watch
824         handler before the process has actually died, which NM needs to do in a few
825         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
826         cleans up after the child when required.  Should fix problems trying to
827         activate mobile broadband connections after a previous failure.
828
829         * src/dhcp-manager/nm-dhcp-dhclient.c
830           src/dhcp-manager/nm-dhcp-dhcpcd.c
831                 - Use G_SPAWN_DO_NOT_REAP_CHILD
832
833         * src/dhcp-manager/nm-dhcp-manager.c
834                 - (nm_dhcp_device_destroy): ensure child is cleaned up
835                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
836                         block on child quitting, since the non-blocking functionality was
837                         never actually used
838
839         * src/dnsmasq-manager/nm-dnsmasq-manager.c
840                 - (dm_watch_cb): child is already reaped here
841                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
842
843         * src/nm-device.c
844                 - (aipd_cleanup): block until child is dead
845
846         * src/named-manager/nm-named-manager.c
847                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
848                         event bothering to watch the child
849
850         * src/ppp-manager/nm-ppp-manager.c
851                 - (ppp_watch_cb): child is already reaped here
852                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
853
854         * src/vpn-manager/nm-vpn-service.c
855                 - (vpn_service_watch_cb): child is already reaped here
856                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
857                         status of the child is actually tracked
858                 - (ensure_killed, finalize): block until child is dead
859
860 2008-08-26  Dan Williams  <dcbw@redhat.com>
861
862         * system-settings/plugins/keyfile/nm-keyfile-connection.c
863                 - (update): Update filename of the connection if the connection id
864                         was changed
865
866         * system-settings/plugins/keyfile/plugin.c
867                 - (dir_changed): first pass at handling connection renames correctly
868
869         * system-settings/plugins/keyfile/writer.c
870           system-settings/plugins/keyfile/writer.h
871                 - (write_connection): replace '/' with '*' when writing out the filename
872                         from the connection id
873
874 2008-08-26  Dan Williams  <dcbw@redhat.com>
875
876         Add connection UUIDs, since connection names can be changed, and since
877         old-style connection IDs could change over the life of the connection.  The
878         UUID should be assigned at connection creation time, be stable for a given
879         connection, and should be unique among all connections for a given settings
880         service.
881
882         * configure.in
883           libnm-util/Makefile.am
884                 - Require libuuid
885
886         * introspection/nm-exported-connection.xml
887                 - Remove "GetID" method
888
889         * libnm-glib/nm-dbus-connection.c
890           libnm-glib/nm-settings.c
891           libnm-glib/nm-settings.h
892                 - Remove id-related stuff
893
894         * libnm-util/nm-utils.c
895           libnm-util/nm-utils.h
896           libnm-util/libnm-util.ver
897                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
898                         utility functions to generate UUIDs
899
900         * libnm-util/nm-setting-connection.c
901           libnm-util/nm-setting-connection.h
902                 - Add 'uuid' member to the connection setting
903                 - (verify): require valid 'uuid' for a valid connection
904
905         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
906           system-settings/plugins/ifcfg-fedora/reader.c
907           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
908           system-settings/plugins/ifcfg-suse/parser.c
909           system-settings/plugins/keyfile/nm-keyfile-connection.c
910           system-settings/src/main.c
911                 - Remove id-related stuff
912                 - Give connections UUIDs where needed
913
914 2008-08-25  Dan Williams  <dcbw@redhat.com>
915
916         * libnm-util/crypto_gnutls.c
917           libnm-util/crypto_nss.c
918                 - (crypto_init, crypto_deinit): refcount init/deinit
919                 - (crypto_md5_hash): allow NULL salt
920
921 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
922
923         * libnm-glib/Makefile.am
924           libnm-util/Makefile.am
925           libnm-glib/libnm_glib.ver
926           libnm-glib/libnm_glib_vpn.ver
927           libnm-util/libnm-util.ver
928                 - Use linker version scripts to control the list of exported 
929                 symbols. List each exported symbol explicitely.
930         * libnm-util/Makefile.am
931                 - Fix compilation of the test-crypto binary. The crypto
932                 functions are no longer part of the libnm-util API. Add 
933                 crypto_*.c to test_crypto_SOURCES and link against the correct
934                 crypto libraries.
935
936 2008-08-19  Dan Williams  <dcbw@redhat.com>
937
938         * configure.in
939           test/Makefile.am
940                 - Don't build test/test-common
941                 - Remove unused stuff
942
943         * test/nm-set-fallback
944           test/nmtestdevices.c
945           test/test-common/.cvsignore
946           test/test-common/Makefile.am
947           test/test-common/test-common.c
948           test/test-common/test-common.h
949                 - delete
950
951 2008-08-18  Dan Williams  <dcbw@redhat.com>
952
953         * libnm-util/nm-utils.c
954           libnm-util/nm-utils.h
955                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
956                         export anything that needs to be converted with this function
957
958         * src/dhcp-manager/nm-dhcp-manager.c
959                 - (garray_to_string): convert a byte array to a UTF-8 string with
960                         minimal validation; the DHCP client sends it in ASCII anyway
961                 - (get_option, copy_option): use garray_to_string()
962
963 2008-08-18  Dan Williams  <dcbw@redhat.com>
964
965         * include/NetworkManager.h
966           introspection/nm-device.xml
967                 - Add a "missing firmware" device state reason
968
969         * src/NetworkManagerSystem.c
970           src/NetworkManagerSystem.h
971                 - (nm_system_device_set_up_down): add a no_firmware argument
972                 - (nm_system_device_set_up_down_with_iface): if the result of setting
973                         IFF_UP is ENOENT, that almost always means missing firmware
974
975         * src/backends/NetworkManagerGeneric.c
976           src/nm-device-ethernet.c
977           src/nm-device-private.h
978           src/nm-device-wifi.c
979           src/nm-device.c
980           src/nm-device.h
981           src/nm-hso-gsm-device.c
982           src/vpn-manager/nm-vpn-connection.c
983                 - Pass no_firmware along; check it where appropriate
984
985 2008-08-18  Dan Williams  <dcbw@redhat.com>
986
987         Patch from Robert Buchholz <rbu@gentoo.org>
988
989         * autogen.sh
990           configure.in
991                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
992                         1003.1-1988, allowing for file names longer than 99 characters
993
994 2008-08-17  Dan Williams  <dcbw@redhat.com>
995
996         * include/NetworkManager.h
997           introspection/nm-device.xml
998           src/nm-gsm-device.c
999                 - Finer-grained GSM registration failure error codes
1000
1001 2008-08-17  Dan Williams  <dcbw@redhat.com>
1002
1003         * callouts/Makefile.am
1004           src/Makefile.am
1005                 - Move dispatcher directory creation to callouts/Makefile.am
1006
1007         * system-settings/plugins/keyfile/Makefile.am
1008                 - Create keyfile connections directory in DESTDIR (bgo #546833)
1009
1010 2008-08-15  Dan Williams  <dcbw@redhat.com>
1011
1012         Do connection sharing in a cleaner manner; all required iptables rules
1013         are now stored in the activation request and pertain only to the device
1014         which is being shared to other computers. (rh #458625)
1015
1016         * src/nm-activation-request.c
1017           src/nm-activation-request.h
1018                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1019                         the activation request which will get torn down automatically when
1020                         the activation request dies
1021                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1022                         is started, and tear them down when sharing is stopped
1023
1024         * src/nm-device.c
1025                 - (start_sharing): start up sharing by doing the required iptables magic
1026                 - (share_init): poke the right bits of the kernel and load the right
1027                         modules for NAT
1028                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1029                         connection if it's a 'shared' connection
1030
1031         * src/NetworkManagerPolicy.c
1032                 - Remove all sharing stuff; done in the device code itself
1033
1034 2008-08-15  Dan Williams  <dcbw@redhat.com>
1035
1036         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1037                 - (create_dm_cmd_line): send the right router address
1038
1039 2008-08-15  Dan Williams  <dcbw@redhat.com>
1040
1041         * src/ppp-manager/nm-ppp-manager.c
1042                 - (pppd_timed_out): ensure timeouts fail the connection
1043
1044 2008-08-14  Dan Williams  <dcbw@redhat.com>
1045
1046         * src/nm-properties-changed-signal.c
1047           src/nm-properties-changed-signal.h
1048                 - Add a property spec flag for "don't export this property" in
1049                         property changed signals
1050
1051         * src/nm-hso-gsm-device.c
1052           src/nm-gsm-device.c
1053           src/nm-cdma-device.c
1054                 - Don't export monitor interface or netdev interface properties
1055
1056 2008-08-14  Dan Williams  <dcbw@redhat.com>
1057
1058         * src/NetworkManagerPolicy.c
1059                 - (update_routing_and_dns): 'hso' devices can be default even if they
1060                         don't have a gateway
1061
1062 2008-08-14  Dan Williams  <dcbw@redhat.com>
1063
1064         * src/nm-device.c
1065                 - (nm_device_deactivate_quickly): tear down activation request after
1066                         calling device-specific deactivation
1067
1068         * src/nm-hso-gsm-device.c
1069                 - (real_deactivate_quickly): terminate connection when deactivating
1070
1071 2008-08-14  Dan Williams  <dcbw@redhat.com>
1072
1073         * src/nm-activation-request.h
1074                 - Add HSO secrets caller
1075
1076         * src/nm-gsm-device.c
1077           src/nm-gsm-device.h
1078                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1079                         something to the callback function
1080                 - (set_apn, set_apn_done): call class dial function, not a static one
1081                 - (nm_gsm_device_class_init): add a class 'dial' function
1082
1083         * src/nm-hal-manager.c
1084                 - (get_hso_netdev): find the hso-driven hardware's net device
1085                 - (modem_device_creator): recognize hso-driven hardware and create the
1086                         right type of device object for it
1087
1088         * src/Makefile.am
1089           src/nm-hso-gsm-device.c
1090           src/nm-hso-gsm-device.h
1091                 - Implement support for devices driven by the 'hso' driver as a subclass
1092                         of NMGsmDevice
1093
1094 2008-08-14  Dan Williams  <dcbw@redhat.com>
1095
1096         * src/NetworkManagerSystem.c
1097                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1098                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1099                         success if the operation really was successful
1100
1101 2008-08-14  Dan Williams  <dcbw@redhat.com>
1102
1103         * src/nm-netlink-monitor.c
1104           src/nm-netlink-monitor.h
1105           src/nm-device-ethernet.c
1106                 - (nm_netlink_monitor_request_status): return an error on failure
1107                 - (constructor): don't segfault on missing error
1108
1109 2008-08-13  Dan Williams  <dcbw@redhat.com>
1110
1111         * callouts/nm-dispatcher-action.c
1112                 - Add IP4 config info to script environment
1113
1114 2008-08-12  Dan Williams  <dcbw@redhat.com>
1115
1116         * src/nm-device.c
1117                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1118                         that want to use DHCP hostnames should use dispatcher scripts
1119                         for that
1120
1121         * src/NetworkManagerSystem.h
1122           src/backends/NetworkManagerArch.c
1123           src/backends/NetworkManagerDebian.c
1124           src/backends/NetworkManagerFrugalware.c
1125           src/backends/NetworkManagerGeneric.c
1126           src/backends/NetworkManagerGeneric.h
1127           src/backends/NetworkManagerGentoo.c
1128           src/backends/NetworkManagerMandriva.c
1129           src/backends/NetworkManagerPaldo.c
1130           src/backends/NetworkManagerRedHat.c
1131           src/backends/NetworkManagerSlackware.c
1132           src/backends/NetworkManagerSuSE.c
1133                 - Remove nm_system_set_hostname(), no longer used
1134           
1135         * src/backends/Makefile.am
1136           src/backends/shvar.c
1137           src/backends/shvar.h
1138                 - Remove shvar.*; no longer used
1139
1140 2008-08-12  Dan Williams  <dcbw@redhat.com>
1141
1142         Revert most of the 'hostname' patch.  Too much stuff still breaks when
1143         hostname is updated at runtime.  Distros or users who want hostname updates
1144         can use dispatcher scripts to update the hostname if they need it.
1145
1146 2008-08-12  Dan Williams  <dcbw@redhat.com>
1147
1148         * introspection/nm-settings-system.xml
1149           system-settings/src/dbus-settings.c
1150           system-settings/src/dbus-settings.h
1151                 - Add a 'Hostname' property (rw) which represents the configured
1152                         hostname and domain of the system, if any
1153
1154         * system-settings/src/nm-system-config-error.c
1155           system-settings/src/nm-system-config-error.h
1156           system-settings/src/nm-system-config-interface.c
1157           system-settings/src/nm-system-config-interface.h
1158                 - Add a 'hostname' property to the plugin interface
1159                 - Add a method to send updated hostname to plugins to save in their
1160                         backing configuration store
1161
1162         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1163           system-settings/plugins/keyfile/plugin.c
1164           system-settings/plugins/keyfile/writer.c
1165           system-settings/plugins/keyfile/writer.h
1166           system-settings/plugins/ifcfg-suse/plugin.c
1167                 - Add minimal hostname support
1168
1169         * system-settings/plugins/ifcfg-fedora/plugin.c
1170                 - Add support for updating system hostname in /etc/sysconfig/network
1171
1172 2008-08-12  Dan Williams  <dcbw@redhat.com>
1173
1174         * system-settings/plugins/ifcfg-fedora/shvar.c
1175           system-settings/plugins/ifcfg-fedora/shvar.c
1176                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1177
1178 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1179
1180         * Makefile.am: Fix distcheck.
1181
1182 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1183
1184         * libnm-glib/*.c. Document some more.
1185
1186 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1187
1188         Start documenting libnm-glib public API using gtk-doc.
1189
1190         * libnm-glib/nm-serial-device.c: 
1191         * libnm-glib/nm-object.c: 
1192         * libnm-glib/nm-gsm-device.c: 
1193         * libnm-glib/nm-device.c: 
1194         * libnm-glib/nm-device-wifi.c: 
1195         * libnm-glib/nm-device-ethernet.c: 
1196         * libnm-glib/nm-client.c: 
1197         * libnm-glib/nm-cdma-device.c: Document the public API.
1198
1199         * docs/libnm-glib/libnm-glib.types: Implement.
1200
1201         * docs/libnm-glib/Makefile.am: Implement.
1202
1203         * autogen.sh: 
1204         * configure.in: 
1205         * Makefile.am: Add gtk-doc support.
1206
1207 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1208
1209         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1210
1211         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1212         the composite result of all the IP4 configurations and call a distro
1213         specific update_resolv_conf().
1214         (update_resolv_conf): Implement one for directly writing to 
1215         /etc/resolv.conf and one for opensuse to call netconfig.
1216
1217 2008-08-11  Dan Williams  <dcbw@redhat.com>
1218
1219         * src/ppp-manager/nm-ppp-manager.c
1220                 - (impl_ppp_manager_need_secrets): pass interface as required
1221
1222 2008-08-11  Dan Williams  <dcbw@redhat.com>
1223
1224         Merge the vpn-properties setting with the vpn setting since it was pointless
1225         to keep both of them around.  Convert the vpn 'data' hash table to a hash
1226         of string:string (instead of string:variant) so that system settings plugins
1227         can have an easier time dealing with the arbitrary key/value pairs.
1228
1229 2008-08-11  Dan Williams  <dcbw@redhat.com>
1230
1231         * libnm-util/nm-utils.c
1232                 - (nm_utils_register_value_transformations): add value transform for
1233                         a hash table of string:string
1234
1235 2008-08-10  Dan Williams  <dcbw@redhat.com>
1236
1237         * libnm-glib/nm-vpn-plugin.c
1238                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1239                         an idle handler so the Connect reply gets delivered before the
1240                         stop StateChanged signal
1241
1242 2008-08-10  Dan Williams  <dcbw@redhat.com>
1243
1244         * src/nm-ip4-config.c
1245                 - (get_property): use common ip4 address/route conversion functions
1246                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1247                         copy the new route here, not take ownership
1248
1249 2008-08-08  Tambet Ingo  <tambet@gmail.com>
1250
1251         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1252         Update the IP4 setting's method name.
1253
1254 2008-08-07  Dan Williams  <dcbw@redhat.com>
1255
1256         * introspection/nm-ip4-config.xml
1257           libnm-glib/libnm-glib-test.c
1258           libnm-glib/nm-ip4-config.c
1259           libnm-glib/nm-ip4-config.h
1260           src/NetworkManagerSystem.h
1261           src/backends/NetworkManagerArch.c
1262           src/backends/NetworkManagerDebian.c
1263           src/backends/NetworkManagerFrugalware.c
1264           src/backends/NetworkManagerGeneric.c
1265           src/backends/NetworkManagerGeneric.h
1266           src/backends/NetworkManagerGentoo.c
1267           src/backends/NetworkManagerMandriva.c
1268           src/backends/NetworkManagerPaldo.c
1269           src/backends/NetworkManagerRedHat.c
1270           src/backends/NetworkManagerSlackware.c
1271           src/backends/NetworkManagerSuSE.c
1272           src/dhcp-manager/nm-dhcp-manager.c
1273           src/nm-device.c
1274           src/nm-ip4-config.c
1275           src/nm-ip4-config.h
1276                 - Remove NIS logic; should be done from dispatcher scripts instead
1277
1278 2008-08-07  Dan Williams  <dcbw@redhat.com>
1279
1280         * src/dhcp-manager/nm-dhcp-manager.c
1281                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1282                         mis-handling of DHCP responses that returned more than one router
1283                         (found by Grant Williamson)
1284
1285 2008-08-07  Dan Williams  <dcbw@redhat.com>
1286
1287         * callouts/nm-dispatcher-action.c
1288                 - (nm_dispatcher_action): grab device path and create the device; pass
1289                         the device's DHCP4 config to script caller
1290                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1291                         scripts
1292
1293         * libnm-glib/nm-dhcp4-config.c
1294           libnm-glib/nm-dhcp4-config.h
1295                 - (nm_dhcp4_config_get_options): expose
1296                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1297
1298 2008-08-07  Dan Williams  <dcbw@redhat.com>
1299
1300         * include/NetworkManager.h
1301                 - Add the DHCP4Config D-Bus interface
1302
1303         * libnm-glib/Makefile.am
1304           libnm-glib/nm-dhcp4-config.c
1305           libnm-glib/nm-dhcp4-config.h
1306                 - Handle DHCP4 config objects exported by NM over D-Bus
1307
1308         * libnm-glib/nm-device.c
1309           libnm-glib/nm-device.h
1310                 - Add a 'dhcp4-config' property
1311
1312         * libnm-glib/libnm-glib-test.c
1313                 - Print out DHCP4 config for devices
1314                 - Fix some crashes when no connections are active
1315
1316         * src/nm-device-interface.c
1317           src/nm-device.c
1318           src/nm-dhcp4-config.c
1319           src/nm-dhcp4-config.h
1320                 - Treat dhcp4-config object as an object path at the D-Bus interface so
1321                         that when it doesn't exist we can proxy it as "/" which dbus-glib
1322                         doesn't let us do when the property type is G_TYPE_OBJECT
1323
1324 2008-08-07  Dan Williams  <dcbw@redhat.com>
1325
1326         * src/NetworkManager.c
1327           src/NetworkManagerSystem.h
1328           src/backends/NetworkManagerArch.c
1329           src/backends/NetworkManagerDebian.c
1330           src/backends/NetworkManagerFrugalware.c
1331           src/backends/NetworkManagerGeneric.c
1332           src/backends/NetworkManagerGeneric.h
1333           src/backends/NetworkManagerGentoo.c
1334           src/backends/NetworkManagerMandriva.c
1335           src/backends/NetworkManagerPaldo.c
1336           src/backends/NetworkManagerRedHat.c
1337           src/backends/NetworkManagerSlackware.c
1338           src/backends/NetworkManagerSuSE.c
1339                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1340
1341 2008-08-06  Dan Williams  <dcbw@redhat.com>
1342
1343         * libnm-glib/nm-ip4-config.c
1344           libnm-glib/nm-ip4-config.h
1345                 - Add 'routes' property
1346
1347         * libnm-util/nm-setting-vpn.c
1348           libnm-util/nm-setting-vpn.h
1349                 - Remove 'routes' property
1350
1351         * libnm-util/nm-setting-ip4-config.c
1352           libnm-util/nm-setting-ip4-config.h
1353                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1354                 - Add 'ignore-auto-routes' property
1355                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
1356                         accomodate route metrics
1357                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1358
1359         * libnm-util/nm-utils.c
1360           libnm-util/nm-utils.h
1361                 - Add helpers for marshalling IP4 routes
1362
1363         * src/NetworkManagerUtils.c
1364                 - (nm_utils_merge_ip4_config): handle property renames and new route
1365                         structure
1366
1367         * src/NetworkManagerSystem.c
1368                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1369                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
1370
1371         * src/dhcp-manager/nm-dhcp-manager.c
1372                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1373
1374         * system-settings/plugins/ifcfg-fedora/reader.c
1375           system-settings/plugins/ifcfg-fedora/writer.c
1376                 - Handle routes separately from addresses now that routes have a different
1377                         format
1378
1379         * introspection/nm-ip4-config.xml
1380           src/nm-ip4-config.c
1381           src/nm-ip4-config.h
1382                 - Rename internal routing functions
1383                 - 'static-routes' renamed to 'routes'
1384
1385 2008-08-04  Dan Williams  <dcbw@redhat.com>
1386
1387         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1388
1389         * src/NetworkManager.c
1390           src/nm-manager.c
1391           src/nm-manager.h
1392                 - More explicitly make the NMManager a singleton
1393
1394 2008-08-04  Dan Williams  <dcbw@redhat.com>
1395
1396         * libnm-util/nm-connection.c
1397           libnm-util/nm-connection.h
1398                 - (nm_connection_verify): return error on missing 'connection' setting
1399                         (found by Sjoerd Simons)
1400
1401 2008-08-04  Dan Williams  <dcbw@redhat.com>
1402
1403         Handle multiple concurrent PPP connections.
1404
1405         * src/ppp-manager/nm-ppp-manager.c
1406           src/ppp-manager/nm-ppp-manager.h
1407                 - (constructor): only PPP Manager request bus name once; each
1408                         NMPPPManager object gets a unique object path
1409                 - (nm_ppp_manager_class_init, get_property, set_property,
1410                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1411                         at construct time
1412                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1413                         remove timeout until PPP manager gets an IP4 config
1414                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1415                         the plugin can call back to this specific PPP manager instance
1416
1417         * src/nm-device-ethernet.c
1418           src/nm-serial-device.c
1419                 - Pass parent device in nm_ppp_manager_new()
1420
1421         * src/nm-gsm-device.c
1422           src/nm-cdma-device.c
1423                 - (device_state_changed): don't close serial device on NEED_AUTH
1424                         state changed, that's not a failure case like the rest are
1425
1426         * src/ppp-manager/nm-pppd-plugin.c
1427                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1428                         binds one interface to any pppd process, thus the correct index
1429                         is always 0; send PHASE_DEAD on error to alert NM immediately of
1430                         problems; try harder to get a peer address in spite of pppd
1431                 - (plugin_init): use 'ipparam' as the object path back to our specific
1432                         PPP manager instance
1433
1434 2008-08-04  Dan Williams  <dcbw@redhat.com>
1435
1436         * src/ppp-manager/nm-ppp-manager.c
1437                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1438                         since the GSM and CDMA settings now implement need_secrets, we can
1439                         rely on them to do the right thing.  Where secrets are not required,
1440                         just pass empty strings back to the pppd plugin.
1441                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1442                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1443                         on successful IP4 config receipt
1444
1445 2008-08-04  Dan Williams  <dcbw@redhat.com>
1446
1447         * libnm-util/nm-setting-cdma.c
1448           libnm-util/nm-setting-gsm.c
1449                 - (verify): validate username & password if they exist
1450                 - (need_secrets): if username given, require a password too
1451
1452 2008-08-04  Dan Williams  <dcbw@redhat.com>
1453
1454         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1455                 - (create_dm_cmd_line): really don't listen on lo, despite what the
1456                         manpage says about --listen-address without --interface
1457                         (bgo #546033)
1458
1459 2008-08-01  Dan Williams  <dcbw@redhat.com>
1460
1461         * libnm-glib/nm-device.c
1462                 - (proxy_get_string): util function for querying a HAL property
1463                 - (get_ancestor_device): split out from get_product_and_vendor()
1464                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1465                         from PCI devices by querying subsys properties
1466                 - (nm_device_update_description): simplify
1467
1468 2008-08-01  Dan Williams  <dcbw@redhat.com>
1469
1470         * libnm-util/nm-setting-ip4-config.c
1471           libnm-util/nm-setting-ip4-config.h
1472                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1473                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
1474                         settings, and they don't necessarily use DHCP.
1475
1476         * src/NetworkManagerPolicy.c
1477           src/nm-device.c
1478           system-settings/plugins/ifcfg-fedora/reader.c
1479           system-settings/plugins/ifcfg-suse/parser.c
1480                 - Fixup for method changes
1481
1482 2008-07-31  Dan Williams  <dcbw@redhat.com>
1483
1484         * src/nm-activation-request.c
1485           src/vpn-manager/nm-vpn-connection.c
1486                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1487                         itself should be attached to the activation request or the VPN
1488                         connection, not the NMConnection object, since the call is not
1489                         expected to live as long as the NMConnection itself
1490
1491 2008-07-31  Dan Williams  <dcbw@redhat.com>
1492
1493         * src/nm-device-wifi.c
1494                 - (real_act_stage2_config): fix issue where association would continue
1495                         even though secrets were needed; 'goto out' was in wrong scope and
1496                         result of handle_auth_or_fail() should have been dumped directly to
1497                         'ret' to ensure that the association was postponed until secrets
1498                         are available
1499
1500 2008-07-31  Dan Williams  <dcbw@redhat.com>
1501
1502         * system-settings/plugins/ifcfg-fedora/plugin.c
1503           system-settings/plugins/ifcfg-fedora/reader.c
1504                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1505                         valid NM connection
1506
1507 2008-07-29  Dan Williams  <dcbw@redhat.com>
1508
1509         * src/nm-gsm-device.c
1510                 - (automatic_registration_response, automatic_registration): recognize
1511                         denied registration and reorder responses
1512
1513 2008-07-29  Dan Williams  <dcbw@redhat.com>
1514
1515         * src/nm-serial-device.c
1516                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
1517                         time(2) is used for current time, which returns seconds, we shouldn't
1518                         be multiplying by 1000.
1519
1520 2008-07-28  Dan Williams  <dcbw@redhat.com>
1521
1522         Patch from Fabrice Bellet <fabrice@bellet.info>
1523
1524         * src/NetworkManagerSystem.c
1525                 - (route_in_same_subnet): mask addresses and compare them so that the
1526                         function actually does what it says it's going to do (rh #456685)
1527
1528 2008-07-27  Dan Williams  <dcbw@redhat.com>
1529
1530         * libnm-util/nm-setting-ip6-config.c
1531                 - (set_property): add missing break that caused routes to be overwritten
1532                         with addresses
1533
1534         * libnm-util/nm-setting-ip6-config.c
1535                 - (verify): validate routes and return GError everywhere on invalid setting
1536                 - (finalize): don't leak routes
1537                 - (set_property): add missing break that caused routes to be overwritten
1538                         with addresses
1539
1540 2008-07-27  Dan Williams  <dcbw@redhat.com>
1541
1542         * libnm-util/*
1543                 - Relicense to LGPLv2+
1544
1545 2008-07-27  Dan Williams  <dcbw@redhat.com>
1546
1547         * system-settings/plugins/ifcfg-fedora/reader.c
1548                 - (make_ip4_setting): fix parsing automatic configs
1549
1550 2008-07-27  Dan Williams  <dcbw@redhat.com>
1551
1552         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1553           src/nm-device.c
1554           src/ppp-manager/nm-ppp-manager.c
1555                 - Ensure child process gets reaped.  The child watch function may be
1556                         removed from the mainloop before the child gets killed, so we have
1557                         to make sure the child is reaped when it's told to die intentionally
1558
1559 2008-07-27  Dan Williams  <dcbw@redhat.com>
1560
1561         Patch from Roy Marples <roy@marples.name>
1562
1563         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1564                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1565
1566 2008-07-27  Dan Williams  <dcbw@redhat.com>
1567
1568         * src/nm-gsm-device.c
1569                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1570                         Huawei devices turn echo back on after CPIN (rh #456770)
1571
1572 2008-07-24  Tambet Ingo  <tambet@gmail.com>
1573
1574         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1575         format argument to g_set_error() call.
1576
1577         * src/backends/interface_parser.[ch]: Remove.
1578
1579         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1580
1581 2008-07-21  Dan Williams  <dcbw@redhat.com>
1582
1583         * src/ppp-manager/nm-ppp-manager.c
1584                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1585                         to prevent pppd from picking up some random local address from an
1586                         interface that doesn't have anything to do with the one we're
1587                         interested in (rh #455348)
1588
1589 2008-07-17  Dan Williams  <dcbw@redhat.com>
1590
1591         * libnm-util/nm-utils.c
1592                 - (string_to_utf8): general function for conversion to UTF-8 assisted
1593                         by locale
1594                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
1595                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
1596
1597 2008-07-17  Dan Williams  <dcbw@redhat.com>
1598
1599         * introspection/Makefile.am
1600           introspection/nm-device.xml
1601           introspection/nm-dhcp4-config.xml
1602                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
1603                         itself
1604         * src/nm-device-interface.c
1605           src/nm-device-interface.h
1606                 - Add the DHCP4Config property
1607
1608         * src/nm-device.c
1609                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
1610                         D-Bus clients when it changes
1611
1612         * src/nm-dhcp4-config.c
1613           src/nm-dhcp4-config.h
1614                 - Simple object to store DHCP4 options, export them over D-Bus, and
1615                         notify when they change
1616
1617         * src/dhcp-manager/nm-dhcp-manager.c
1618           src/dhcp-manager/nm-dhcp-manager.h
1619                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
1620                         filter server-returned DHCP options into an NMDHCP4Config object
1621
1622 2008-07-16  Dan Williams  <dcbw@redhat.com>
1623
1624         * introspection/nm-device.xml
1625                 - Add device state reasons
1626
1627 2008-07-16  Dan Williams  <dcbw@redhat.com>
1628
1629         Patch from Roy Marples <roy@marples.name>
1630
1631         * configure.in
1632                 - Add --with-dhcp-client option
1633
1634         * src/dhcp-manager/Makefile.am
1635                 - pass DHCP_CLIENT_PATH on compile line
1636
1637         * src/dhcp-manager/nm-dhcp-manager.c
1638           src/dhcp-manager/nm-dhcp-manager.h
1639                 - Genericize for both dhcpcd and dhclient
1640
1641         * src/dhcp-manager/nm-dhcp-dhclient.c
1642                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
1643
1644         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1645                 - Implement support for dhcpcd too
1646
1647 2008-07-16  Tambet Ingo  <tambet@gmail.com>
1648
1649         * system-settings/src/nm-system-config-interface.c 
1650         (nm_system_config_interface_supports_add): Implement.
1651         (nm_system_config_interface_add_connection): Return a boolean to notify
1652         of errors.
1653
1654         * system-settings/src/nm-polkit-helpers.c: 
1655         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
1656         a separate file.
1657
1658         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
1659         Return an error when none of the plugins support add or if addition
1660         failed for some reason.
1661
1662         * system-settings/src/nm-system-config-error.h: 
1663         * system-settings/src/nm-system-config-error.c: New files, mostly moved
1664         here from nm-polkit-helpers.[ch].
1665
1666         * system-settings/src/Makefile.am: Build new files.
1667
1668         * system-settings/plugins/keyfile/reader.c 
1669         (read_array_of_array_of_uint): Make it more general so that it would
1670         work for routes as well.
1671
1672         * system-settings/plugins/keyfile/writer.c
1673         (write_array_of_array_of_uint): Ditto.
1674         Fix the netmask/prefix writing.
1675
1676         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
1677         boolean to notify errors.
1678
1679         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
1680         Return more specific error.
1681         (delete): Ditto.
1682
1683 2008-07-11  Dan Williams  <dcbw@redhat.com>
1684
1685         Modify the NMDevice::state-changed signal to include the previous state
1686         and reason. Enables the applet to provide more information why device
1687         activation failed.
1688
1689 2008-07-09  Dan Williams  <dcbw@redhat.com>
1690
1691         * callouts/Makefile.am
1692           callouts/nm-avahi-autoipd-action.c
1693           callouts/nm-avahi-autoipd.conf
1694                 - avahi-autoipd callout to send options back to NM
1695
1696         * src/autoip.c
1697           src/autoip.h
1698                 - remove
1699
1700         * src/nm-device.c
1701           src/nm-device-private.h
1702           src/nm-manager.c
1703                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
1704                         old custom stuff
1705
1706 2008-07-07  Dan Williams  <dcbw@redhat.com>
1707
1708         * system-settings/plugins/ifcfg-fedora/reader.c
1709                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
1710                         handle PREFIX too; clean up
1711
1712 2008-07-07  Dan Williams  <dcbw@redhat.com>
1713
1714         Convert to using IPv4 prefixes instead of netmasks.
1715
1716 2008-07-03  Dan Williams  <dcbw@redhat.com>
1717
1718         * libnm-util/nm-setting-ip4-config.c
1719           libnm-util/nm-setting-ip4-config.h
1720                 - Add properties for DHCP Client Identifier and DHCP Hostname
1721
1722         * src/dhcp-manager/nm-dhcp-manager.c
1723           src/dhcp-manager/nm-dhcp-manager.h
1724                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
1725                         setting as an argument to pass on to the dhclient config file
1726                         creation function
1727                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
1728                         DHCP is torn down
1729                 - (dhclient_run): punt config file handling to create_dhclient_config()
1730                 - (create_dhclient_config): create an interface-specific dhclient
1731                         config file since there may need to be interface-specific options
1732                         passed to dhclient
1733                 - (merge_dhclient_config): merge normal distro dhclient config file and
1734                         add options from the connection
1735                 - (nm_dhcp_device_new): generate the interface specific dhclient
1736                         config file path once
1737                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
1738                         dhclient config file path
1739
1740         * src/nm-device.c
1741                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
1742                         DHCP manager when starting DHCP
1743
1744 2008-07-02  Dan Williams  <dcbw@redhat.com>
1745
1746         * libnm-util/nm-setting-8021x.c
1747                 - (verify): allow forcing the PEAP label to 0
1748
1749 2008-07-02  Dan Williams  <dcbw@redhat.com>
1750
1751         * introspection/nm-active-connection.xml
1752           introspection/nm-vpn-connection.xml
1753           libnm-glib/nm-active-connection.c
1754           src/nm-activation-request.c
1755           src/nm-active-connection.h
1756           src/vpn-manager/nm-vpn-connection.c
1757                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
1758                         and libnm-glib API since sharing didn't get implemented that way
1759
1760 2008-07-02  Dan Williams  <dcbw@redhat.com>
1761
1762         * src/nm-device-wifi.c
1763                 - (can_scan): don't scan when a shared connection is activated since
1764                         that makes drivers mad (causing disconnects); also NM doesn't need
1765                         to hedge against disconnects by keeping up-to-date network topology
1766                         because the connection originates from the local machine, and thus
1767                         there should be no disconnects
1768
1769 2008-07-01  Dan Williams  <dcbw@redhat.com>
1770
1771         Fix mobile broadband username/password issues.  NM was never requesting
1772         mobile broadband secrets, nor was it passing back the username and password
1773         if it had them.
1774
1775         * marshallers/nm-marshal.list
1776                 - Add some new types for activation request objects
1777
1778         * src/nm-activation-request.c
1779           src/nm-activation-request.h
1780                 - (get_secrets_cb): pass the caller type in the signal
1781                 - (nm_act_request_request_connection_secrets): take a caller type, so
1782                         that GetSecrets() reply handlers know who asked for the secrets in
1783                         the first place; use secret hints too so the settings service can
1784                         figure out exactly what NM wants (ie, PIN or the PPP password)
1785
1786         * src/ppp-manager/nm-ppp-manager.c
1787           src/ppp-manager/nm-ppp-manager.h
1788                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
1789                         detect needed secrets when the secret could be blank, like GSM/CDMA
1790                         passwords.  So always ask for secrets, and send a hint as to what
1791                         secret we really want.
1792                 - (nm_ppp_manager_update_secrets): make function more generic by making
1793                         the device specific class figure out the username and password, and
1794                         accept an error argument to return back over D-Bus
1795
1796         * src/nm-device-wifi.c
1797                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1798                         nm_act_request_request_connection_secrets()
1799                 - (real_connection_secrets_updated): update for 'caller' changes
1800
1801         * src/nm-device.c
1802           src/nm-device.h
1803                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
1804                         for 'caller' changes
1805
1806         * src/nm-device-ethernet.c
1807                 - (real_connection_secrets_updated): update for 'caller' changes and
1808                         move logic for getting PPPoE username and password here before
1809                         calling nm_ppp_manager_update_secrets()
1810                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1811                         nm_act_request_request_connection_secrets()
1812
1813         * src/nm-cdma-device.c
1814                 - (real_connection_secrets_updated): pass username and password back
1815                         to the PPP manager when required
1816
1817         * src/nm-gsm-device.c
1818                 - (enter_pin): send the required secret name to the settings service
1819                 - (real_connection_secrets_updated): pass username and password back
1820                         to the PPP manager when required
1821
1822 2008-06-30  Dan Williams  <dcbw@redhat.com>
1823
1824         * src/nm-device-wifi.c
1825                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
1826
1827 2008-06-30  Dan Williams  <dcbw@redhat.com>
1828
1829         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
1830         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
1831         priv->supplicant.iface.  When either condition is false, the device should
1832         transition back to UNAVAILABLE because it cannot be used.
1833
1834         * src/nm-device-wifi.c
1835                 - (constructor): cleanup; connect to supplicant manager here since the
1836                         supplicant manager is always around
1837                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
1838                         ensure the supplicant manager is in the IDLE state
1839                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
1840                         cancel any pending scans too
1841                 - (real_bring_up): don't set up the supplicnat interface here, because
1842                         we need the supplicant interface at times when the device may not
1843                         be "up"
1844                 - (real_take_down): just remove the periodic source
1845                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
1846                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
1847                         do anything if there's no supplicant interface
1848                 - (cleanup_association_attempt): cleanup
1849                 - (supplicant_iface_state_cb_handler): request an immediate scan when
1850                         the interface enters the READY state; transition to UNAVAILABLE
1851                         state when the interface goes down because the device can't be used
1852                         without a supplicant interface
1853                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
1854                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
1855                         acquire the supplicant interface and transition to DISCONNECTED
1856                         if the radio isn't killed
1857                 - (nm_device_wifi_dispose): move most of device_cleanup() here
1858                 - (state_changed_cb): release any existing supplicant interface; if the
1859                         radio is enabled then try to acquire a new supplicant interface;
1860                         if the radio is enabled and a supplicant interface has been acquired,
1861                         we can transition to DISCONNECTED
1862                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
1863                         don't enable the radio, because HAL probably lied to us about the
1864                         killswitch being off.  If bringing the hardware up worked, then
1865                         try to grab a supplicant interface, and if that was successful,
1866                         transition to DISCONNECTED
1867
1868 2008-06-30  Dan Williams  <dcbw@redhat.com>
1869
1870         * src/supplicant-manager/nm-supplicant-interface.c
1871                 - (request_scan_results, nm_supplicant_interface_dispose,
1872                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
1873                         the id of the timeout, not a GSource
1874
1875 2008-06-30  Tambet Ingo  <tambet@gmail.com>
1876
1877         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
1878         bunch of typoes introduced by "Patch from David Cantrell 
1879         <dcantrell@redhat.com> and me".
1880
1881 2008-06-30  Tambet Ingo  <tambet@gmail.com>
1882
1883         * src/nm-serial-device.c: 
1884         * src/nm-gsm-device.c: 
1885         * src/nm-cdma-device.c: Move the pending call handling to a common location
1886         in serial device. Handle setting device state to failed in one place as well.
1887
1888 2008-06-29  Dan Williams <dcbw@redhat.com>
1889
1890         * src/nm-hal-manager.c
1891                 - Rework killswitch handling to query killswitch status immediately
1892                         when the first killswitch is added, so that rfkill state is
1893                         known as early as possible
1894                 - Also treat failure of GetPower() as rfkill when the dbus method
1895                         call times out (but not when the HAL callout returns an error)
1896
1897 2008-06-26  Dan Williams <dcbw@redhat.com>
1898
1899         Patch from David Cantrell <dcantrell@redhat.com> and me
1900
1901         * include/nm-dbus-glib-types.h
1902                 - Add IP6 address types
1903
1904         * libnm-util/Makefile.am
1905           libnm-util/nm-setting-ip6-config.c
1906           libnm-util/nm-setting-ip6-config.h
1907                 - Add IP6 settings object
1908
1909         * libnm-util/nm-connection.c
1910                 - (register_default_settings): register ip6 settings object
1911
1912         * libnm-util/nm-utils.c
1913           libnm-util/nm-utils.h
1914                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
1915                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
1916                         ip6 address conversion functions
1917         
1918 2008-06-26  Dan Williams <dcbw@redhat.com>
1919
1920         Patch from David Cantrell <dcantrell@redhat.com>
1921         
1922         * Use inet_ntop() and inet_pton() everwhere and check for errors
1923
1924 2008-06-26  Dan Williams <dcbw@redhat.com>
1925
1926         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
1927
1928 2008-06-26  Dan Williams <dcbw@redhat.com>
1929
1930         Patch from Adel Gadllah <adel.gadllah@gmail.com>
1931
1932         * src/nm-device-wifi.c
1933                 - (link_timeout_cb): don't ignore disconnects due to scanning
1934                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
1935                         a longer timeout when scanning; avoids case where supplicant can't
1936                         find the AP and just keeps scanning forever but isn't connected
1937
1938 2008-06-26  Dan Williams <dcbw@redhat.com>
1939
1940         Patch from Michael Biebl <biebl@debian.org>
1941
1942         * Clean up build system stuff
1943
1944 2008-06-23  Christian Persch  <chpe@gnome.org>
1945
1946         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
1947         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
1948         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
1949         (impl_get_object):
1950         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
1951         (impl_get_object):
1952         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
1953         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
1954         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
1955         (impl_get_object):
1956         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
1957         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
1958         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
1959         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
1960         * vpn-daemons/pptp/properties/vpnui_opt.c:
1961         (vpnui_opt_connect_signals):
1962         * vpn-daemons/pptp/properties/vpnui_opt.h:
1963         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
1964         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
1965         deprecated gtk type macros. Bug #539325.
1966
1967 2008-06-20  Dan Williams  <dcbw@redhat.com>
1968
1969         * libnm-glib/nm-vpn-plugin-ui-interface.c
1970           libnm-glib/nm-vpn-plugin-ui-interface.h
1971                 - 'validity-changed' -> 'changed' to work better with the connection
1972                         editor.  Plugin UI widgets should emit 'changed' whenever their
1973                         UI values change in a meaningful way.
1974                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
1975                         update_connection member now returns validity of the UI widget
1976
1977 2008-06-20  Tambet Ingo  <tambet@gmail.com>
1978
1979         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
1980
1981 2008-06-17  Dan Williams  <dcbw@redhat.com>
1982
1983         * libnm-glib/nm-vpn-plugin-ui-interface.c
1984           libnm-glib/nm-vpn-plugin-ui-interface.h
1985                 - Add "desc" property for longer descriptions of the VPN plugin
1986
1987 2008-06-16  Dan Williams  <dcbw@redhat.com>
1988
1989         * configure.in
1990           libnm-glib/libnm_glib_vpn.pc.in
1991                 - add a .pc file for libnm_glib_vpn
1992
1993         * libnm-glib/nm-vpn-plugin-ui-interface.c
1994           libnm-glib/nm-vpn-plugin-ui-interface.h
1995                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
1996                         rework it substantially
1997
1998 2008-06-12  Dan Williams  <dcbw@redhat.com>
1999
2000         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2001         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
2002         returns a descriptive GError when verification fails.
2003
2004 2008-06-11  Dan Williams  <dcbw@redhat.com>
2005
2006         Patch from Tambet Ingo <tambet@gmail.com>
2007
2008         * libnm-util/nm-setting-gsm.c
2009                 - (verify): validate APN
2010
2011         * src/nm-gsm-device.c
2012                 - (manual_registration_done): start setting APN if needed
2013                 - (set_apn, set_apn_done): set the APN
2014                 - (do_dial): use the APN when dialing
2015
2016 2008-06-11  Dan Williams  <dcbw@redhat.com>
2017
2018         * src/NetworkManagerSystem.c
2019                 - (nm_system_device_set_ip4_route,
2020                    nm_system_device_replace_default_ip4_route): check for the right
2021                         return value from rtnl_route_add() to know when to add a gateway
2022                         route (from Tambet)
2023
2024 2008-06-11  Dan Williams  <dcbw@redhat.com>
2025
2026         * src/NetworkManagerPolicy.c
2027                 - do_ipt_cmd -> do_cmd
2028                 - (sharing_init): use do_cmd() instead of system()
2029
2030 2008-06-10  Dan Williams  <dcbw@redhat.com>
2031
2032         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
2033         and use "wifi" everwhere instead.
2034
2035 2008-06-10  Dan Williams  <dcbw@redhat.com>
2036
2037         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
2038
2039 2008-06-10  Dan Williams  <dcbw@redhat.com>
2040
2041         Patch from Tambet Ingo <tambet@gmail.com>
2042
2043         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2044                 changes.
2045
2046         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2047                 a signal to emit these changes over dbus.
2048
2049         * src/Makefile.am: Genereate nm-serial-device-glue.
2050
2051         * libnm-glib/nm-serial-device.[ch]: Implement.
2052
2053         * libnm-glib/nm-cdma-device.[ch]
2054           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2055
2056         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2057
2058         * introspection/nm-device-serial.xml: Implement.
2059
2060         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2061
2062         * introspection/Makefile.am: Add nm-device-serial.xml.
2063
2064         * include/NetworkManager.h: Add a DBus interface for serial device.
2065
2066 2008-06-10  Dan Williams  <dcbw@redhat.com>
2067
2068         * configure.in
2069                 - Add TARGET_* define to config.h to distinguish distros
2070
2071         * src/dhcp-manager/nm-dhcp-manager.c
2072                 - (dhclient_run): use distro-specific path for dhclient config file
2073
2074 2008-06-09  Dan Williams  <dcbw@redhat.com>
2075
2076         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2077           src/dnsmasq-manager/nm-dnsmasq-manager.h
2078                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2079                         calculate the addresses passed to dnsmasq instead of hard-coding
2080                         them
2081
2082         * src/nm-device.c
2083                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2084                         IP addresses for shared connections to guard against shared
2085                         connection address collisions
2086                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2087                         error conditions
2088                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2089                         the dnsmasq manager
2090
2091 2008-06-09  Dan Williams  <dcbw@redhat.com>
2092
2093         * src/NetworkManagerPolicy.c
2094                 - (update_routing_and_dns): set the default connection _after_ unsetting
2095                         default on all non-default connections so that two connections can
2096                         never be default at the same time
2097                 - (device_state_changed): start and stop connection sharing when
2098                         needed
2099                 - (active_connection_default_changed): restart or stop sharing when
2100                         the default connection changes to keep shared connections always
2101                         NAT-ed through the default connection
2102                 - (check_sharing): handle activation/deactivation of shared connections
2103                 - (sharing_restart): atom-bomb approach to connection sharing until we
2104                         can use libnl; reinit all sharing when the default connection or
2105                         shared connections change
2106                 - (sharing_init, sharing_stop): evil functions that init and deinit
2107                         iptables
2108
2109 2008-06-09  Dan Williams  <dcbw@redhat.com>
2110
2111         * src/nm-activation-request.c
2112           src/nm-activation-request.h
2113                 - (nm_act_request_set_shared, nm_act_request_get_shared,
2114                    nm_act_request_get_device): new functions to facilitate connection
2115                         sharing
2116
2117 2008-06-09  Dan Williams  <dcbw@redhat.com>
2118
2119         * src/nm-device.c
2120                 - (clear_act_request): unset the 'default' property of the activation
2121                         request when clearing it to ensure the property changed signal gets
2122                         delivered and handled
2123
2124 2008-06-09  Dan Williams  <dcbw@redhat.com>
2125
2126         * libnm-glib/nm-device-802-11-wireless.c
2127                 - (access_point_removed_proxy): actually unref the AP after removing
2128                         it from the device's AP list.  Fixes refcounting bug for APs that
2129                         caused them to get mixed up in the applet's menu.
2130
2131 2008-06-09  Tambet Ingo  <tambet@gmail.com>
2132
2133         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2134         (nm_dhcp_device_destroy): Destroy the device options hash table.
2135
2136 2008-06-06  Dan Williams <dcbw@redhat.com>
2137
2138         * system-settings/src/nm-polkit-helpers.c
2139                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2140                         unref the context if the initialization fails; also avoid spew when
2141                         the error isn't set
2142
2143 2008-06-06  Dan Williams <dcbw@redhat.com>
2144
2145         Patch from Tambet Ingo  <tambet@gmail.com>
2146
2147         * src/NetworkManagerSystem.c
2148           src/NetworkManagerSystem.h
2149                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2150                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2151                 - (nm_system_device_set_ip4_route): clean up
2152                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2153
2154         * src/nm-device.c
2155                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2156
2157         * src/vpn-manager/nm-vpn-connection.c
2158                 - (ip_address_to_string): new function
2159                 - (print_vpn_config): use ip_address_to_string
2160                 - (merge_vpn_routes): add user-defined routes to the ip4 config
2161                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2162
2163         * include/NetworkManagerVPN.h
2164                 - Add 'routes' key
2165
2166 2008-06-05  Dan Williams <dcbw@redhat.com>
2167
2168         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2169
2170         * test/nm-tool.c
2171                 - Show which device is the default device
2172
2173 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2174
2175         Fix memory leaks.
2176
2177         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2178         Free data returned from dbus method call.
2179
2180         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2181         dbus_g_method_get_sender() returns a duplicated string, free it 
2182         when done.
2183         (check_polkit_privileges): Looks like policykit sometimes returns
2184         error and non-null return value, don't leak errors in that case.
2185
2186         * system-settings/src/main.c (find_plugin): Don't leak existing 
2187         plugin names.
2188         (load_stuff): Don't leak device list and list items.
2189         (have_connection_for_device): Don't leak connection list.
2190
2191         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2192         Free the data received from g_keyfile_get_*.
2193
2194         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2195         the key when the security object is updated.
2196
2197         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2198         Free data returned from dbus method call.
2199         (iface_state_cb): Ditto.
2200         (add_network_cb): Ditto.
2201         (nm_supplicant_interface_add_cb): Don't make another copy of already
2202         duplicated object path.
2203         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2204         when done.
2205
2206         * src/supplicant-manager/nm-supplicant-config.c 
2207         (ADD_STRING_LIST_VAL): Fix a memory leak.
2208
2209         * src/nm-manager.c (free_get_settings_info): Free the allocated
2210         memory slice.
2211         (list_connections_cb): Free data returned from dbus method call.
2212         (system_settings_get_unmanaged_devices_cb): Ditto.
2213
2214         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2215
2216         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2217         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2218         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2219         of the GList.
2220
2221         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2222         arguments after the object is created.
2223
2224 2008-06-04  Dan Williams <dcbw@redhat.com>
2225
2226         * libnm-util/Makefile.am
2227                 - Don't distribute nm-param-spec-specialized.h
2228
2229 2008-06-02  Tambet Ingo  <tambet@gmail.com>
2230
2231         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2232
2233         * src/nm-ip4-config.[ch]: Store the static routes as a list of
2234         NMIP4Address, update the getters and setters.
2235
2236         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2237         Use the updated NMIP4Config routes api.
2238
2239         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2240         static routes as well.
2241
2242         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2243         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2244         routes api.
2245
2246 2008-05-30  Dan Williams <dcbw@redhat.com>
2247
2248         * src/named-manager/nm-named-manager.c
2249           src/named-manager/nm-named-manager.h
2250                 - Remove stale/obsolete bits for controlling bind over DBus
2251
2252 2008-05-29  Dan Williams <dcbw@redhat.com>
2253
2254         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2255           src/dnsmasq-manager/nm-dnsmasq-manager.h
2256                 - (nm_dnsmasq_manager_new): move iface argument here
2257                 - (constructor): remove, not needed
2258                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2259                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2260
2261         * src/nm-device.c
2262                 - (real_act_stage4_get_ip4_config,
2263                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2264                         changes
2265
2266 2008-05-29  Dan Williams <dcbw@redhat.com>
2267
2268         * src/nm-device.c
2269                 - (dnsmasq_state_changed_cb): new function; fail the connection if
2270                         something happens to dnsmasq
2271                 - (nm_device_new_ip4_shared_config): new function; create a new
2272                         ip4-config for shared connections.  Shared connections always use a
2273                         fixed static IP address.
2274                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2275                         autoip connections by actually using the returned ip4-config and
2276                         not leaking it
2277                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2278                         connections
2279                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2280                         if its active
2281
2282 2008-05-29  Dan Williams <dcbw@redhat.com>
2283
2284         * src/nm-device-802-11-wireless.c
2285                 - (real_get_best_auto_connection): auto-activate 'shared' method
2286                         connections too
2287
2288 2008-05-29  Dan Williams <dcbw@redhat.com>
2289
2290         * libnm-util/nm-setting-ip4-config.c
2291           libnm-util/nm-setting-ip4-config.h
2292                 - Add a 'shared' method to indicate that this connection should be
2293                         brought up with a DHCP and proxy DNS server to facilitate
2294                         connection sharing.
2295                 - (verify): 'shared' method doesn't allow DNS or searches either
2296
2297 2008-05-29  Dan Williams <dcbw@redhat.com>
2298
2299         * configure.in
2300           src/Makefile.am
2301           src/dnsmasq-manager/Makefile.am
2302           src/dnsmasq-manager/nm-dnsmasq-manager.c
2303           src/dnsmasq-manager/nm-dnsmasq-manager.h
2304                 - Add a dnsmasq daemon manager to facilitate connection sharing
2305
2306 2008-05-29  Dan Williams <dcbw@redhat.com>
2307
2308         * src/nm-device-private.h
2309                 - Remove unused prototypes and clean up
2310
2311         * src/nm-device.c
2312                 - Remove anything related to system_config_data, which is no longer used
2313                 - (nm_device_new_ip4_autoip_config): make static
2314
2315 2008-05-29  Tambet Ingo  <tambet@gmail.com>
2316
2317         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2318         (file_changed): Fix a bug where suse system settings plugin didn't
2319         update the connections automatically when the files changed.
2320
2321 2008-05-28  Dan Williams  <dcbw@redhat.com>
2322
2323         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2324
2325 2008-05-28  Dan Williams  <dcbw@redhat.com>
2326
2327         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2328
2329         * src/NetworkManagerSystem.c
2330                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2331                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2332                         was causing -EINVAL errors since the libnl code actually does flush
2333                         the routes on VPN interfaces now
2334
2335         * src/backends/NetworkManagerArch.c
2336           src/backends/NetworkManagerDebian.c
2337           src/backends/NetworkManagerFrugalware.c
2338           src/backends/NetworkManagerGeneric.c
2339           src/backends/NetworkManagerGentoo.c
2340           src/backends/NetworkManagerMandriva.c
2341           src/backends/NetworkManagerPaldo.c
2342           src/backends/NetworkManagerRedHat.c
2343           src/backends/NetworkManagerSlackware.c
2344           src/backends/NetworkManagerSuSE.c
2345                 - (nm_system_device_flush_ip4_routes,
2346                    nm_system_device_flush_ip4_routes_with_iface): remove
2347
2348 2008-05-28  Dan Williams  <dcbw@redhat.com>
2349
2350         * libnm-util/nm-setting-wireless.c
2351           libnm-util/nm-setting-wireless.h
2352                 - (set_property, get_property, nm_setting_wireless_class_init): add the
2353                         'adhoc-create' property, which when TRUE indicates that NM should
2354                         create this connection as an adhoc wifi network if it's not found
2355                         as an adhoc network during scanning.  Can be used to auto-create
2356                         adhoc networks when used in combination with autoconnect.
2357
2358 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2359
2360         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2361
2362         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2363         checked, it doesn't work on some devices.
2364
2365 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2366
2367         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
2368         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2369
2370         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2371         Use inet_aton() everywhere to improve error detection.
2372         Don't fall back to 'dhcp_server_identifier' if the gateway is not
2373         provided.
2374
2375 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2376
2377         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2378         Fix a typo.
2379
2380 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2381
2382         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2383         reference counting issue.
2384
2385 2008-05-23  Dan Williams  <dcbw@redhat.com>
2386
2387         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2388
2389         * src/backends/NetworkManagerGeneric.c
2390                 - (nm_generic_enable_loopback): use libnl
2391
2392 2008-05-23  Dan Williams  <dcbw@redhat.com>
2393
2394         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2395
2396         * src/NetworkManagerSystem.h
2397           src/backends/NetworkManagerArch.c
2398           src/backends/NetworkManagerDebian.c
2399           src/backends/NetworkManagerFrugalware.c
2400           src/backends/NetworkManagerGentoo.c
2401           src/backends/NetworkManagerMandriva.c
2402           src/backends/NetworkManagerPaldo.c
2403           src/backends/NetworkManagerRedHat.c
2404           src/backends/NetworkManagerSlackware.c
2405           src/backends/NetworkManagerSuSE.c
2406                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2407                    nm_system_flush_arp_cache): remove, unused
2408
2409         * src/backends/NetworkManagerGeneric.c
2410           src/backends/NetworkManagerGeneric.h
2411                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2412                    nm_generic_flush_arp_cache): remove, unused
2413
2414 2008-05-23  Dan Williams  <dcbw@redhat.com>
2415
2416         * system-settings/plugins/ifcfg-fedora/reader.c
2417                 - (make_ip4_setting): honor PEERDNS setting
2418
2419 2008-05-23  Dan Williams  <dcbw@redhat.com>
2420
2421         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2422
2423         * src/NetworkManagerSystem.c
2424                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2425                         libnl
2426
2427         * src/backends/NetworkManagerArch.c
2428           src/backends/NetworkManagerDebian.c
2429           src/backends/NetworkManagerFrugalware.c
2430           src/backends/NetworkManagerGentoo.c
2431           src/backends/NetworkManagerMandriva.c
2432           src/backends/NetworkManagerPaldo.c
2433           src/backends/NetworkManagerRedHat.c
2434           src/backends/NetworkManagerSlackware.c
2435           src/backends/NetworkManagerSuSE.c
2436                 - (nm_system_device_flush_ip4_addresses,
2437                    nm_system_device_flush_ip4_addresses_with_iface): remove
2438
2439         * src/backends/NetworkManagerGeneric.c
2440                 - (nm_generic_device_flush_ip4_addresses,
2441                    nm_generic_device_flush_ip4_addresses_with_iface): remove
2442
2443 2008-05-23  Dan Williams  <dcbw@redhat.com>
2444
2445         * src/supplicant-manager/nm-supplicant-settings-verify.c
2446                 - Switch 'bssid' from bytes to keyword type
2447                 - (validate_type_keyword): allow NULL keyword lists
2448
2449         * src/supplicant-manager/nm-supplicant-config.c
2450                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2451                         a byte array to string form, which is what the supplicant expects
2452
2453 2008-05-23  Tambet Ingo  <tambet@gmail.com>
2454
2455         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2456         information received from DHCP.
2457
2458         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2459         to make it possible to ignore the DNS information (both servers and 
2460         searches) returned by DHCP server.
2461
2462         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2463         name servers and searches if "ignore_dhcp_dns" is set.
2464
2465         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2466         (nm_ip4_config_reset_searches): Implement.
2467
2468 2008-05-22  Dan Williams  <dcbw@redhat.com>
2469
2470         Remove anything mDNS related.  This is better done from a distro-specific
2471         dispatcher script.  Plus, any distro using avahi doesn't need to restart
2472         avahi, since avahi can handle interface changes just fine using netlink.
2473
2474         * configure.in
2475                 - Remove --with-mdns-provider
2476
2477         * src/NetworkManagerPolicy.c
2478                 - (global_state_changed): don't restart the mdns provider
2479
2480         * src/NetworkManagerSystem.h
2481           src/backends/NetworkManagerArch.c
2482           src/backends/NetworkManagerDebian.c
2483           src/backends/NetworkManagerFrugalware.c
2484           src/backends/NetworkManagerGentoo.c
2485           src/backends/NetworkManagerMandriva.c
2486           src/backends/NetworkManagerPaldo.c
2487           src/backends/NetworkManagerRedHat.c
2488           src/backends/NetworkManagerSlackware.c
2489           src/backends/NetworkManagerSuSE.c
2490                 - (nm_system_restart_mdns_responder): remove
2491
2492         * src/backends/NetworkManagerGeneric.c
2493           src/backends/NetworkManagerGeneric.h
2494                 - (nm_generic_restart_mdns_responder): remove
2495
2496 2008-05-22  Dan Williams  <dcbw@redhat.com>
2497
2498         * configure.in
2499                 - clean up crypto options; just use --with-crypto=nss or
2500                         --with-crypto=gnutls
2501
2502 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2503
2504         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2505         anymore, do it right away.
2506
2507 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2508
2509         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2510         serial device open when we're not connecting or connected.
2511
2512         * src/nm-cdma-device.c (device_state_changed): Ditto.
2513
2514 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2515
2516         Don't remove all devices on waking up, sync with HAL.
2517
2518         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2519         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2520         (hal_manager_hal_reappeared_cb): Just call sync_devices.
2521
2522 2008-05-21  Tambet Ingo  <tambet@gmail.com>
2523
2524         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2525         If the default gateway is unreachable, add a route to gateway and try
2526         again.
2527
2528 2008-05-20  Dan Williams  <dcbw@redhat.com>
2529
2530         * system-settings/plugins/ifcfg-fedora/reader.c
2531                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2532
2533 2008-05-19  Dan Williams  <dcbw@redhat.com>
2534
2535         * system-settings/plugins/ifcfg-fedora/reader.c
2536                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2537                         if the ifcfg doesn't specify one (rh #446527)
2538
2539 2008-05-19  Dan Williams  <dcbw@redhat.com>
2540
2541         Make the system settings service exit when the bus goes away.  Since it's
2542         a bus-activated service, it's lifetime is limited to the bus that activated
2543         it (rh #444976).
2544
2545         * system-settings/src/Makefile.am
2546           system-settings/src/nm-system-config-hal-manager-private.h
2547                 - Remove nm-system-config-hal-manager-private.h
2548
2549         * system-settings/src/nm-system-config-hal-manager.c
2550                 - (nm_system_config_hal_manager_reinit_dbus,
2551                    nm_system_config_hal_manager_deinit_dbus): remove
2552
2553         * system-settings/src/main.c
2554                 - (dbus_reconnect): remove
2555                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2556                 - (destroy_cb): just quit when the bus goes away
2557                 - (start_dbus_service, dbus_init): simplify
2558                 - (main): destroy the wired devices hash table after destroying
2559                         the HAL manager so we don't have to disconnect signals from the
2560                         HAL manager
2561
2562 2008-05-15  Tambet Ingo  <tambet@gmail.com>
2563
2564         Move crypto functions from nm-applet to libnm-util.
2565
2566         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2567         (nm_setting_802_1x_set_client_cert)
2568         (nm_setting_802_1x_set_phase2_ca_cert)
2569         (nm_setting_802_1x_set_phase2_client_cert)
2570         (nm_setting_802_1x_set_private_key)
2571         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2572         file (or private key and it's password), read the certificate data.
2573
2574         * libnm-util/crypto_nss.c: 
2575         * libnm-util/crypto_gnutls.c: 
2576         * libnm-util/crypto.[ch]: Move here from nm-applet.
2577
2578         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2579
2580         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2581         Imlement WPA-EAP configuration reading from sysconfig.
2582
2583 2008-05-16  Dan Williams  <dcbw@redhat.com>
2584
2585         * src/nm-device-802-11-wireless.c
2586                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2587                         wireless
2588
2589 2008-05-14  Dan Williams  <dcbw@redhat.com>
2590
2591         Fix Linus' bug in rh #134886
2592
2593         * src/nm-device-802-3-ethernet.c
2594                 - (constructor): request initial carrier state
2595
2596         * src/nm-netlink-monitor.c
2597                 - (nm_netlink_monitor_request_status): schedule emission of carrier
2598                         signals after refilling the link cache.  Because the refill is a 
2599                         synchronous operation, the normal message hander won't get called
2600                         since libnl has already consumed the messages.
2601                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
2602
2603 2008-05-14  Dan Williams  <dcbw@redhat.com>
2604
2605         * src/NetworkManagerSystem.c
2606                 - (nm_system_device_is_up_with_iface): clean up
2607
2608 2008-05-13  Dan Williams  <dcbw@redhat.com>
2609
2610         Fix refcounting issues over sleep/wake when a VPN connection was active that
2611         caused NM to try registering an object path for a device upon wake that was
2612         the same as an already registered object path.
2613
2614         * src/nm-device.c
2615                 - (nm_device_take_down): properly handle cases where the device is
2616                         no longer active but was just active, and therefore must be
2617                         deactivated.  When a device moves to unmanaged mode, this function
2618                         previously would not deactivate the device, because the state was
2619                         already unmanaged by the time this function was called.
2620
2621         * src/vpn-manager/nm-vpn-connection.c
2622                 - (device_state_changed): properly handle multiple devices states in
2623                         which the device is now deactivated.  Code previously didn't handle
2624                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
2625                         UNMANAGED states.
2626
2627 2008-05-13  Dan Williams  <dcbw@redhat.com>
2628
2629         * src/nm-device-private.h
2630           src/nm-device.c
2631                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
2632
2633         * src/nm-device-802-11-wireless.c
2634                 - (nm_device_802_11_wireless_set_enabled): take devices up
2635                         and down as appropriate for the rfkill state
2636
2637 2008-05-13  Dan Williams  <dcbw@redhat.com>
2638
2639         * marshallers/nm-marshal.list
2640                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
2641
2642         * system-settings/plugins/ifcfg-fedora/Makefile.am
2643           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
2644           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
2645                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
2646                         events.  Solely for use watching ifcfg files to pick up changes
2647                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
2648
2649         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2650                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
2651                         file contents change
2652                 - (finalize): clean up inotify watches
2653                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
2654                         and the connection ifcfg for changes on their hardlinks
2655                 - (files_changed_cb): proxy the changed signal back out to listeners
2656
2657         * system-settings/plugins/ifcfg-fedora/plugin.c
2658                 - (dir_changed): 
2659                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
2660                         changes
2661                 - (read_one_connection): connect to change signals on the new connection
2662                 - (dir_changed, connection_changed_handler,
2663                    handle_connection_remove_or_new): break out connection change
2664                         handling and connection new/remove handling so it can be used from
2665                         both the GFileMonitor callback and the NMIfcfgConnection changed
2666                         signals
2667
2668         * system-settings/plugins/ifcfg-fedora/reader.c
2669           system-settings/plugins/ifcfg-fedora/reader.h
2670                 - (connection_from_file): return the keyfile path the connection would use
2671
2672 2008-05-13  Tambet Ingo  <tambet@gmail.com>
2673
2674         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
2675         single PolKitContext which is shared by all. PolKitContext::unref leaks
2676         just about everything, including all open file descriptiors and results
2677         in 99% cpu usage when data arrives to any of the fds that don't belong
2678         to any context anymore.
2679
2680 2008-05-12  Dan Williams  <dcbw@redhat.com>
2681
2682         * gfilemonitor/glocaldirectorymonitor.c
2683           gfilemonitor/glocaldirectorymonitor.h
2684                 - (g_local_directory_monitor_constructor): actually subscribe to the
2685                         watch
2686                 - (_g_local_directory_monitor_new): ensure that inotify is started up
2687
2688         * gfilemonitor/glocalfilemonitor.c
2689           gfilemonitor/glocalfilemonitor.h
2690                 - (g_local_file_monitor_constructor): actually subscribe to the watch
2691                 - (_g_local_file_monitor_new): ensure that inotify is started up
2692
2693 2008-05-11  Dan Williams  <dcbw@redhat.com>
2694
2695         * configure.in
2696                 - record PolicyKit version
2697
2698         * system-settings/src/nm-polkit-helpers.c
2699                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
2700                         with PolicyKit <= 0.6
2701
2702 2008-05-11  Dan Williams  <dcbw@redhat.com>
2703
2704         Update Fedora system-settings plugin to support latest API and use
2705         GFileMonitor rather than home-rolled inotify code.
2706
2707         * system-settings/plugins/ifcfg-fedora/Makefile.am
2708           system-settings/plugins/ifcfg-fedora/common.h
2709           system-settings/plugins/ifcfg-fedora/plugin.c
2710                 - Update to latest system settings plugin API; use GIO instead of
2711                         custom inotify code; use NMIfcfgConnection objects instead of
2712                         ConnectionData structures tacked onto NMConnection objects
2713
2714         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2715           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
2716                 - Implement an NMExportedConnection subclass mapping ifcfg files to
2717                         connections
2718
2719         * system-settings/plugins/ifcfg-fedora/reader.c
2720           system-settings/plugins/ifcfg-fedora/reader.h
2721                 - Move ifcfg parsing bits here from parser.c
2722
2723         * system-settings/plugins/ifcfg-fedora/parser.c
2724           system-settings/plugins/ifcfg-fedora/parser.h
2725                 - Remove; most code moved to reader.c
2726
2727 2008-05-11  Dan Williams  <dcbw@redhat.com>
2728
2729         * configure.in
2730           Makefile.am
2731           gfilemonitor/*
2732                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
2733                         implementation, so that the same change monitoring code can be used
2734                         on systems without glib-2.14 (like Fedora 8)
2735
2736         * system-settings/plugins/keyfile/Makefile.am
2737           system-settings/plugins/keyfile/plugin.c
2738           system-settings/plugins/ifcfg-suse/Makefile.am
2739           system-settings/plugins/ifcfg-suse/plugin.c
2740                 - Use private gfilemonitor code if GIO is not present
2741
2742 2008-05-09  Tambet Ingo  <tambet@gmail.com>
2743
2744         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
2745         NMExportedConnection's 'update' and 'delete' and return error with
2746         descriptive message.
2747
2748 2008-05-08  Dan Williams  <dcbw@redhat.com>
2749
2750         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2751
2752         * src/nm-gsm-device.c
2753           src/nm-cdma-device.c
2754                 - (real_get_best_auto_connection): implement; allow autoconnection
2755                         to GSM & CDMA devices
2756
2757 2008-05-08  Tambet Ingo  <tambet@gmail.com>
2758
2759         Use PolicyKit to authorize the system settings' AddConnection method
2760         and the system settings connections' Update and Delete methods.
2761         
2762         * libnm-glib/nm-settings.c (impl_exported_connection_update)
2763         (impl_exported_connection_delete, nm_exported_connection_update)
2764         (nm_exported_connection_delete): Return boolean and fill GError
2765         to notify the callers of the reasons why it might have failed.
2766
2767         * libnm-glib/nm-dbus-settings-system.c
2768         (nm_dbus_settings_system_add_connection): Return the error from dbus
2769         call so that the callers can see why it failed.
2770
2771         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
2772         signatures.
2773
2774         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
2775
2776         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
2777         abstract base class that checks PolicyKit permissions.
2778
2779         * system-settings/src/dbus-settings.c:
2780         (impl_settings_add_connection): Check the policy before carring out
2781         the request.
2782
2783         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
2784         Inherit from NMSysconfigConnection, check the policies before
2785         allowing updating or removing.
2786
2787         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
2788         Inherit from NMSysconfigConnection.
2789
2790         * introspection/nm-exported-connection.xml: Annotate "Update" and 
2791         "Delete" methods with async flag so that the implementations can get
2792         access to DBusGMethodInvocation.
2793
2794         * system-settings/src/dbus-settings.c 
2795         (settings_add_connection_check_privileges): Implement.
2796         (impl_settings_add_connection): Check the privileges before adding a new
2797         connection. Improve error reporting.
2798
2799         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
2800         async so that the implementation can access DBusGMethodInvocation.
2801
2802         * configure.in: Check for PolicyKit.
2803
2804         * policy/org.freedesktop.network-manager-settings.system.policy: 
2805         New file.
2806
2807         * policy/Makefile.am: Install the policy file.
2808
2809         * configure.in: Add 'policy' subdir.
2810
2811 2008-05-08  Tambet Ingo  <tambet@gmail.com>
2812
2813         Rewrite the suse system settings plugin.
2814
2815         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
2816
2817         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
2818
2819         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
2820
2821         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
2822
2823         * system-settings/src/dbus-settings.c: Fix connection reference counting.
2824
2825         * system-settings/src/main.c (load_plugins): Improve error reporting.
2826
2827         * system-settings/src/sha1.[ch] Add.
2828
2829         * system-settings/src/Makefile.am: Add sha1[ch] to build.
2830
2831 2008-05-07  Dan Williams  <dcbw@redhat.com>
2832
2833         * system-settings/plugins/keyfile/reader.c
2834                 - (read_one_setting_value): handle IP address items separately
2835                 - (read_array_of_uint): read IPv4 DNS option as a string array
2836                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
2837                         array
2838
2839         * system-settings/plugins/keyfile/writer.c
2840                 - (write_setting_value): handle IP address items separately
2841                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
2842                         not an array of uint, so that it's user-editable
2843                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
2844                         arrays, so they are user-editable
2845
2846 2008-05-07  Dan Williams  <dcbw@redhat.com>
2847
2848         * system-settings/plugins/keyfile/Makefile.am
2849                 - Change location of the keyfile plugin settings to
2850                         /etc/NetworkManager/system-connections
2851
2852 2008-05-05  Tambet Ingo  <tambet@gmail.com>
2853
2854         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
2855
2856         * system-settings/plugins/keyfile/plugin.c: Work with
2857         NMKeyfileConnections.
2858
2859         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
2860         Plugins are supposed to return NMExportedConnections now and handle the
2861         updated(), removed(), and GetSecrets().
2862         Store the internal list of connections in hash table to make it easier
2863         to find duplicates.
2864
2865 2008-05-07  Tambet Ingo  <tambet@gmail.com>
2866
2867         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
2868         for multiple IP addresses.
2869
2870 2008-05-07  Tambet Ingo  <tambet@gmail.com>
2871
2872         Patch from André Lemos.
2873
2874         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
2875         corruption.
2876
2877 2008-05-06  Dan Williams  <dcbw@redhat.com>
2878
2879         * src/dhcp-manager/nm-dhcp-manager.c
2880                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
2881                         NMIP4Config to support multiple IP addresses
2882
2883         * src/NetworkManagerUtils.c
2884                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
2885
2886         * src/nm-ip4-config.c
2887           src/nm-ip4-config.h
2888                 - Store a list of IPv4 address/netmask/gateway tuples
2889                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
2890                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
2891                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
2892                    nm_ip4_config_set_address): remove
2893                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
2894                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
2895                         new functions; handle multiple IPv4 addresses
2896
2897         * src/nm-device.c
2898           src/ppp-manager/nm-ppp-manager.c
2899           src/vpn-manager/nm-vpn-connection.c
2900           src/NetworkManagerPolicy.c
2901           test/nm-tool.c
2902           libnm-glib/libnm-glib-test.c
2903                 - update for changes to NMIP4Config for multiple IPv4 addresses
2904
2905         * src/NetworkManagerSystem.c
2906                 - (nm_system_device_set_ip4_route): don't add the route if any address
2907                         is on the same subnet as the destination
2908                 - (check_one_address): ignore the exact match, just match family and
2909                         interface index
2910                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
2911                         an interface
2912                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
2913                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
2914
2915         * introspection/nm-ip4-config.xml
2916                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
2917                 - Add 'addresses' property which is an array of (uuu) tuples of
2918                         address/netmask/gateway
2919
2920         * libnm-util/nm-setting-ip4-config.c
2921                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
2922
2923         * libnm-glib/nm-ip4-config.c
2924           libnm-glib/nm-ip4-config.h
2925                 - Handle D-Bus interface changes to support multiple IP addresses
2926
2927 2008-05-06  Dan Williams  <dcbw@redhat.com>
2928
2929         * libnm-util/nm-utils.c
2930           libnm-util/nm-utils.h
2931                 - (nm_utils_ip4_addresses_from_gvalue,
2932                    nm_utils_ip4_addresses_to_gvalue): new functions
2933
2934 2008-05-06  Tambet Ingo  <tambet@gmail.com>
2935
2936         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
2937         the returned connection paths.
2938
2939 2008-05-05  Tambet Ingo  <tambet@gmail.com>
2940
2941         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
2942         "PropertiesChanged" signal signature.
2943
2944         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
2945         defined in nm-dbus-glib-types.h.
2946         Don't register the connection on dbus, we're a proxy class to 
2947         communicate with an already registered connection over dbus.
2948
2949 2008-04-30  Tambet Ingo  <tambet@gmail.com>
2950
2951         Implement new subclasses of NMSettings and NMExportedConnection to make
2952         it easier for the applet to access and modify system settings.
2953
2954         * libnm-glib/nm-dbus-connection.[ch]:
2955         * libnm-glib/nm-dbus-settings.[ch]:
2956         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
2957
2958         * libnm-glib/Makefile.am: Add the new files to build, generate some more
2959         bindings and glue.
2960
2961         * include/NetworkManager.h: Define the system settings DBus interface.
2962
2963 2008-04-30  Tambet Ingo  <tambet@gmail.com>
2964
2965         Implement additional C API for exported connections to make them identical
2966         with the DBus API. Change the (list_connections) virtual function to be
2967         more usable from C - instead of requiring implementers to return a GPtrArray
2968         of dbus paths, return a list of connections.
2969
2970         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
2971         (nm_settings_list_connections):
2972         (nm_exported_connection_new):
2973         (nm_exported_connection_update):
2974         (nm_exported_connection_delete): Implement.
2975
2976         (impl_settings_list_connections):
2977         (impl_exported_connection_update):
2978         (impl_exported_connection_delete): Use the new public functions to make 
2979         sure the C and dbus interfaces stay in sync.
2980
2981         * system-settings/src/dbus-settings.c (list_connections): Return a list of
2982         connections.
2983
2984 2008-05-02  Dan Williams  <dcbw@redhat.com>
2985
2986         * system-settings/plugins/ifcfg-fedora/plugin.c
2987                 - (dispose): use right unref call on the DBusGConnection
2988
2989 2008-05-02  Dan Williams  <dcbw@redhat.com>
2990
2991         * src/nm-serial-device.c
2992                 - (find_terminator): don't compare the whole line, just the size of the
2993                         terminator, since some modems put stuff after the terminator, like
2994                         "CONNECT 9600"
2995
2996 2008-05-01  Dan Williams  <dcbw@redhat.com>
2997
2998         Patch from Michael Biebl <biebl@debian.org>
2999
3000         * callouts/Makefile.am
3001           callouts/org.freedesktop.nm_dispatcher.service.in
3002           system-settings/src/Makefile.am
3003           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3004                 - use the right install location for dbus-activated stuff
3005
3006 2008-04-30  Dan Williams  <dcbw@redhat.com>
3007
3008         * src/nm-gsm-device.c
3009                 - (enter_pin): fix setting name passed to applets when asking for a GSM
3010                         PIN or PUK
3011
3012 2008-04-30  Dan Williams  <dcbw@redhat.com>
3013
3014         * src/nm-manager.c
3015                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3016
3017 2008-04-30  Dan Williams  <dcbw@redhat.com>
3018
3019         * src/nm-device-802-3-ethernet.c
3020           src/nm-device-802-11-wireless.c
3021                 - (real_is_up): return true instead of chaining up to unimplemented
3022                         parent method
3023
3024 2008-04-30  Dan Williams  <dcbw@redhat.com>
3025
3026         * src/NetworkManagerSystem.c
3027           src/NetworkManagerSystem.h
3028                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3029                         functions to check device flags for IFF_UP
3030
3031         * src/nm-serial-device.c
3032                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3033                         implement is_up
3034
3035         * src/nm-device-802-3-ethernet.c
3036           src/nm-device-802-11-wireless.c
3037                 - (real_hw_is_up): call nm_system_device_is_up()
3038
3039         * src/nm-device.c
3040                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3041                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3042                         does not implement
3043
3044 2008-04-29  Dan Williams  <dcbw@redhat.com>
3045
3046         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3047
3048         * marshallers/nm-marshal.list
3049                 - Add marshaller
3050
3051         * src/NetworkManager.c
3052                 - (main): let the NMManager handle the NMHalManager
3053
3054         * src/nm-hal-manager.c
3055           src/nm-hal-manager.h
3056                 - convert to a GObject, and emit singals when stuff changes.  Let the
3057                         NMManager handle the signals, instead of the NMHalManager calling
3058                         into the NMManager.  
3059
3060         * src/nm-manager.c
3061           src/nm-manager.h
3062                 - (remove_one_device): consolidate device removals here
3063                 - (dispose): use remove_one_device()
3064                 - (nm_manager_get_device_by_udi): make static
3065                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3066                         manager for devices at startup or wakeup time
3067                 - (nm_manager_new): create and monitor the HAL manager
3068                 - (hal_manager_udi_added_cb): new function; do what
3069                         nm_manager_add_device() used to do when signalled by the hal manager
3070                 - (hal_manager_udi_removed_cb): new function; do what
3071                         nm_manager_remove_device() used to do when signalled by the hal
3072                         manager
3073                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3074                         hal manager
3075                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3076                         in our device list that aren't known to HAL
3077                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3078                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3079                         commits ago
3080                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3081                    nm_manager_activation_pending, nm_manager_wireless_enabled,
3082                    nm_manager_wireless_hardware_enabled,
3083                    nm_manager_set_wireless_hardware_enabled): remove, unused
3084
3085 2008-04-28  Dan Williams  <dcbw@redhat.com>
3086
3087         Fix the device up/down ambiguities.  Up/down state used to be a
3088         conglomeration of hardware state (IFF_UP) and any device-specific things
3089         (supplicant, periodic timers, etc) that the device used to indicate
3090         readiness.  Unfortunately, if the hardware was already IFF_UP for some
3091         reason, then the device specific stuff wouldn't get run, and the device
3092         would be stuck.
3093
3094         * src/nm-device.c
3095           src/nm-device.h
3096                 - Create hw_is_up, hw_bring_up, and hw_take_down
3097                 - Rename bring_down -> take_down
3098                 - (real_hw_is_up): check interface flags for IFF_UP
3099                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3100                 - (nm_device_is_up): make static; only used locally
3101                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3102                         if the device is already up; if the device isn't up, bring it up
3103                 - (nm_device_hw_take_down): just take down hardware
3104                 - (nm_device_bring_up): bring up HW first, then device specific stuff
3105                 - (nm_device_take_down): always deactivate device when called; always
3106                         try to take hardware down too
3107                 - (nm_device_state_changed): take device down when entering unmanaged
3108                         state from a higher state
3109
3110         * src/nm-device-802-11-wireless.c
3111                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3112                         check IFF_UP really
3113                 - (real_take_down, supplicant_iface_state_cb_handler, 
3114                    supplicant_iface_connection_state_cb_handler,
3115                    supplicant_mgr_state_cb_handler): fix some messages
3116
3117         * src/nm-device-802-3-ethernet.c
3118                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3119                         check IFF_UP really
3120
3121 2008-04-28  Dan Williams  <dcbw@redhat.com>
3122
3123         * src/nm-manager.c
3124           src/nm-manager.h
3125                 - (nm_manager_error_get_type): add new error
3126                 - (nm_manager_remove_device): don't bother taking down the device here,
3127                         the state change from unmanaging the device will do it
3128                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3129                         uses it; when going to sleep, just unmanage the device instead of
3130                         taking it down, because stuff will cleaned up correctly when the
3131                         device gets unmanaged
3132
3133 2008-04-28  Dan Williams  <dcbw@redhat.com>
3134
3135         * src/nm-hal-manager.c
3136                 - (add_initial_devices): convert to a GSourceFunc prototype
3137                 - (nm_manager_state_changed): when coming out of sleep, punt the
3138                         device re-addition to an idle handler to let D-Bus events go out
3139                         first, fixing a potential dbus-glib assert if the old device was
3140                         not yet disposed (due to references held while emitting the D-Bus
3141                         signals) but the new device was found, because the mainloop didn't
3142                         run between signal emission and add_initial_devices()
3143
3144 2008-04-27  Dan Williams  <dcbw@redhat.com>
3145
3146         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3147
3148         * initscript/paldo/NetworkManager.in
3149           initscript/SUSE/networkmanager.in
3150                 - Remove last bits of dhcdbd
3151
3152 2008-04-27  Dan Williams  <dcbw@redhat.com>
3153
3154         * src/nm-device-802-11-wireless.c
3155                 - (link_timeout_cb): don't ask for secrets when disconnected during
3156                         association/authentication phase, drivers are still just too crappy
3157
3158 2008-04-27  Dan Williams  <dcbw@redhat.com>
3159
3160         * Makefile.am
3161           configure.in
3162           dispatcher-daemon/Makefile.am
3163           dispatcher-daemon/NetworkManagerDispatcher.c
3164           initscript/Arch/Makefile.am
3165           initscript/Arch/networkmanager-dispatcher.in
3166           initscript/Gentoo/Makefile.am
3167           initscript/Gentoo/NetworkManagerDispatcher.in
3168           initscript/Mandriva/Makefile.am
3169           initscript/Mandriva/networkmanagerdispatcher.in
3170           initscript/RedHat/Makefile.am
3171           initscript/RedHat/NetworkManagerDispatcher.in
3172           initscript/SUSE/Makefile.am
3173           initscript/SUSE/networkmanager-dispatcher.in
3174           initscript/Slackware/Makefile.am
3175           initscript/Slackware/rc.networkmanager-dispatcher.in
3176           initscript/paldo/Makefile.am
3177           initscript/paldo/NetworkManagerDispatcher.in
3178           man/Makefile.am
3179           man/NetworkManagerDispatcher.8.in
3180                 - Remove the dispatcher daemon
3181
3182 2008-04-27  Dan Williams  <dcbw@redhat.com>
3183
3184         * callouts/Makefile.am
3185           callouts/nm-dispatcher-action.c
3186           callouts/nm-dispatcher-action.h
3187           callouts/nm-dispatcher.conf
3188           callouts/nm-dispatcher.xml
3189           callouts/org.freedesktop.nm_dispatcher.service
3190                 - Re-implement the dispatcher as a system-bus activated service that
3191                         NM calls on-demand, rather than an always running daemon
3192
3193         * src/Makefile.am
3194                 - Add callouts dir to includes to pick up dispatcher defines
3195
3196         * src/nm-device.c
3197                 - (nm_device_state_changed): call dispatcher on device activated/
3198                         deactivated
3199
3200         * src/vpn-manager/nm-vpn-connection.c
3201                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3202                         go up and down
3203
3204         * src/NetworkManagerUtils.c
3205           src/NetworkManagerUtils.h
3206                 - (nm_utils_call_dispatcher): helper to call dispatcher
3207
3208 2008-04-27  Dan Williams  <dcbw@redhat.com>
3209
3210         * src/NetworkManagerUtils.c
3211           src/NetworkManagerUtils.h
3212                 - remove unneeded includes
3213                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3214                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3215                    nm_timeval_cmp, nm_timeval_add): remove, unused
3216                 - clean up formatting
3217                 - (nm_spawn_process): de-uglify
3218
3219         * src/nm-device-802-11-wireless.c
3220                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3221
3222 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
3223
3224         * initscript/Gentoo/NetworkManager.in:
3225                 Fix for starting the daemon.
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_set_ip4_route): reimplement using libnl, not ioctls
3233
3234 2008-04-25  Dan Williams  <dcbw@redhat.com>
3235
3236         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3237
3238         * src/NetworkManagerSystem.c
3239                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3240                         implementation of nm_system_device_replace_default_route()
3241
3242         * src/NetworkManagerPolicy.c
3243                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3244
3245         * src/backends/NetworkManagerArch.c
3246           src/backends/NetworkManagerDebian.c
3247           src/backends/NetworkManagerFrugalware.c
3248           src/backends/NetworkManagerGeneric.c
3249           src/backends/NetworkManagerGeneric.h
3250           src/backends/NetworkManagerGentoo.c
3251           src/backends/NetworkManagerMandriva.c
3252           src/backends/NetworkManagerPaldo.c
3253           src/backends/NetworkManagerRedHat.c
3254           src/backends/NetworkManagerSlackware.c
3255           src/backends/NetworkManagerSuSE.c
3256                 - (nm_system_device_replace_default_route): remove
3257
3258 2008-04-25  Dan Williams  <dcbw@redhat.com>
3259
3260         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3261
3262         * src/NetworkManagerSystem.c
3263                 - (validate_ip4_route): remove; use nl_addr_parse() instead
3264                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3265                         replace nm_system_device_add_route_via_device_with_iface() in the
3266                         backends
3267
3268         * src/backends/NetworkManagerArch.c
3269           src/backends/NetworkManagerDebian.c
3270           src/backends/NetworkManagerFrugalware.c
3271           src/backends/NetworkManagerGeneric.c
3272           src/backends/NetworkManagerGeneric.h
3273           src/backends/NetworkManagerGentoo.c
3274           src/backends/NetworkManagerMandriva.c
3275           src/backends/NetworkManagerPaldo.c
3276           src/backends/NetworkManagerRedHat.c
3277           src/backends/NetworkManagerSlackware.c
3278           src/backends/NetworkManagerSuSE.c
3279                 - Remove nm_system_device_add_route_via_device_with_iface()
3280
3281 2008-04-25  Dan Williams  <dcbw@redhat.com>
3282
3283         * system-settings/plugins/ifcfg-fedora/parser.c
3284                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3285
3286 2008-04-24  Dan Williams  <dcbw@redhat.com>
3287
3288         * dispatcher-daemon/NetworkManagerDispatcher.c
3289                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3290
3291 2008-04-24  Dan Williams  <dcbw@redhat.com>
3292
3293         * initscript/RedHat/NetworkManager.in
3294           initscript/RedHat/NetworkManagerDispatcher.in
3295                 - Be active at runlevel 2
3296                 - Adjust priorities earlier
3297
3298 2008-04-22  Dan Williams  <dcbw@redhat.com>
3299
3300         * src/NetworkManagerPolicy.c
3301                 - (update_routing_and_dns): when checking for a gateway, look at the
3302                         composite IP4 config, not the connection's ip4-config setting, which
3303                         doesn't include DHCP-returned information
3304
3305 2008-04-22  Tambet Ingo  <tambet@gmail.com>
3306
3307         Implement GKeyFile system settings plugin.
3308         Implement writing system settings (currently supported only by GKeyFile plugin).
3309
3310         * system-settings/src/main.c: 
3311         * system-settings/src/dbus-settings.c: Move the communication with plugins
3312         from main.c to dbus-settings.c. Makes it possible to talk to all registered
3313         plugins for adding/updating/removing connections.
3314
3315         * system-settings/src/nm-system-config-interface.c
3316         (nm_system_config_interface_add_connection): Implement
3317         (nm_system_config_interface_update_connection): Implement.
3318         (nm_system_config_interface_remove_connection): Implement.
3319
3320         * system-settings/plugins/keyfile/Makefile.am:
3321         * system-settings/plugins/keyfile/plugin.[ch]:
3322         * system-settings/plugins/keyfile/writer.[ch]:
3323         * system-settings/plugins/keyfile/reader.[ch]: Implement.
3324
3325         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3326
3327         * configure.in: Generate GKeyFile Makefile.
3328
3329         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3330         corruption, need to duplicate the returned string.
3331         (impl_exported_connection_update): Implement.
3332         (impl_exported_connection_delete): Implement.
3333
3334         * introspection/nm-settings-system.xml: Add "AddConnection" method.
3335
3336         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3337
3338 2008-04-22  Dan Williams  <dcbw@redhat.com>
3339
3340         Patch from Charles R. Anderson (cra@wpi.edu)
3341
3342         * src/NetworkManagerPolicy.c
3343                 - (update_routing_and_dns): don't select devices without a gateway
3344                         as having the default route (rh #437338)
3345
3346 2008-04-21  Dan Williams  <dcbw@redhat.com>
3347
3348         * src/nm-activation-request.c
3349           src/nm-activation-request.h
3350                 - (dispose): ensure to disconnect from the device's state-changed signal
3351                         when appropriate so the signal doesn't get handled by an already
3352                         disposed NMActRequest
3353                 - (device_state_changed): update is_default here too just to make sure
3354                         default is only True when the child device is activated
3355                 - (nm_act_request_set_default): new function
3356
3357         * src/NetworkManagerPolicy.c
3358                 - (update_routing_and_dns): set 'default' on the active connection which
3359                         has the default route and DNS
3360
3361 2008-04-21  Dan Williams  <dcbw@redhat.com>
3362
3363         * src/NetworkManagerPolicy.c
3364                 - (device_state_changed): update routing and DNS when a device goes
3365                         into unmanaged or unavailable states too (like rfkill or carrier loss)
3366
3367 2008-04-21  Dan Williams  <dcbw@redhat.com>
3368
3369         * include/NetworkManager.h
3370                 - Add NMActiveConnectionState enum
3371
3372         * introspection/nm-active-connection.xml
3373           introspection/nm-vpn-connection.xml
3374                 - Add 'State' property for overall active connection state
3375                 - Add 'Default' property, when True means this active connection
3376                         has the default route
3377                 - Add PropertyChanged signals so changes actually go out over the bus
3378
3379         * src/nm-active-connection.h
3380                 - Add defines for State & Default properties
3381
3382         * src/nm-activation-request.c
3383                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3384                         signal to determine active connection state
3385
3386         * src/vpn-manager/nm-vpn-connection.c
3387           src/vpn-manager/nm-vpn-connection.h
3388           src/vpn-manager/nm-vpn-manager.c
3389           src/vpn-manager/nm-vpn-service.c
3390                 - Rename old 'state' to 'vpn-state'
3391                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3392                 - Add 'state' and 'default' properties, hook up to the vpn connection's
3393                         'vpn-state-changed' signal
3394
3395         * libnm-glib/nm-active-connection.c
3396           libnm-glib/nm-active-connection.h
3397                 - Add new 'state' and 'default' properties and accessors
3398
3399         * libnm-glib/nm-vpn-connection.c
3400           libnm-glib/nm-vpn-connection.h
3401                 - Rename old 'state' property to 'vpn-state'
3402                 - Add new 'state' and 'default' properties and accessors
3403
3404 2008-04-21  Dan Williams  <dcbw@redhat.com>
3405
3406         * src/nm-ip4-config.c
3407                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3408                         not specified (rh #443474)
3409
3410 2008-04-20  Dan Williams  <dcbw@redhat.com>
3411
3412         * src/NetworkManagerUtils.c
3413           src/NetworkManagerUtils.h
3414                 - (nm_utils_merge_ip4_config): new function; merge settings from an
3415                         NMSettingIP4Config to an NMIP4Config object
3416
3417         * src/nm-device.c
3418                 - (merge_ip4_config): move to NetworkManagerUtils.c
3419
3420         * src/vpn-manager/nm-vpn-connection.c
3421                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3422                         too
3423
3424 2008-04-18  Dan Williams  <dcbw@redhat.com>
3425
3426         * libnm-util/nm-setting-ppp.c
3427           libnm-util/nm-setting-ppp.h
3428                 - Add 'no-vj-comp' option for TCP header compression
3429                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3430                         uint32
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                 - Add 'refuse-pap' and 'refuse-mschapv2' options
3438
3439 2008-04-18  Dan Williams  <dcbw@redhat.com>
3440
3441         * libnm-util/nm-setting-ppp.c
3442           libnm-util/nm-setting-ppp.h
3443           src/ppp-manager/nm-ppp-manager.c
3444                 - Remove the 'usepeerdns' option and always request DNS servers from
3445                         the PPP server; the connection chooses to use/override/ignore the
3446                         DNS servers returned from the PPP server
3447
3448 2008-04-18  Dan Williams  <dcbw@redhat.com>
3449
3450         * libnm-util/nm-setting-ppp.c
3451           libnm-util/nm-setting-ppp.h
3452           src/ppp-manager/nm-ppp-manager.c
3453                 - Remove the 'require-mppc' option, because pppd doesn't support it and
3454                         it seems to have been an erroneous addition to the PPTP plugin in
3455                         the first place (from which the ppp-manager is derived)
3456
3457 2008-04-17  Dan Williams  <dcbw@redhat.com>
3458
3459         * libnm-util/nm-setting-pppoe.c
3460                 - (verify): require a PPP setting too
3461
3462         * src/ppp-manager/nm-ppp-manager.c
3463                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3464                         segfaulting
3465
3466 2008-04-17  Dan Williams  <dcbw@redhat.com>
3467
3468         * src/nm-device.c
3469                 - (nm_device_state_changed): do deactivation and and promotion to
3470                         unavailable here, so that the device gets cleaned up before the
3471                         manager runs and starts emitting signals; do the
3472                         FAILED->DISCONNECTED transition from an idle handler rather than
3473                         immediately to guard against recursion
3474                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3475                         FAILED->DISCONNECTED handler if it's scheduled
3476
3477 2008-04-17  Dan Williams  <dcbw@redhat.com>
3478
3479         * src/nm-device-802-11-wireless.c
3480                 - (state_changed_cb): clear AP list when device transitions to
3481                         unavailable or unmanaged
3482                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3483                         since this is already done in device_cleanup()
3484                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3485                         isn't available or managed
3486                 - (device_cleanup): use remove_all_aps()
3487                 - (remove_all_aps): consolidate code removing all APs
3488
3489 2008-04-17  Dan Williams  <dcbw@redhat.com>
3490
3491         * src/nm-serial-device.c
3492           src/nm-serial-device.h
3493                 - (wait_for_reply_got_data): break input into lines, and search each
3494                         line for responses _and_ terminator strings; also make sure that
3495                         the read loop doesn't continue after the timeout is supposed to fire
3496                 - (nm_serial_device_wait_for_reply): take an array of terminators too
3497
3498         * src/nm-gsm-device.c
3499           src/nm-cdma-device.c
3500                 - Send terminators to nm_serial_device_wait_for_reply()
3501
3502 2008-04-16  Dan Williams  <dcbw@redhat.com>
3503
3504         Patch from 陈鑫 <znscnchen@gmail.com>
3505
3506         * src/ppp-manager/nm-pppd-plugin.c
3507                 - (get_credentials): return correct value for success; handle case where
3508                         pppd just does some checking but doesn't want a password
3509                 - (plugin_init): make CHAP work too
3510
3511 2008-04-16  Dan Williams  <dcbw@redhat.com>
3512
3513         Patch from 陈鑫 <znscnchen@gmail.com>
3514
3515         * src/ppp-manager/nm-ppp-manager.c
3516                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3517
3518 2008-04-16  Dan Williams  <dcbw@redhat.com>
3519
3520         Patch from 陈鑫 <znscnchen@gmail.com>
3521
3522         * src/nm-device-802-3-ethernet.c
3523                 - (real_deactivate_quickly): clear the IP interface name on
3524                         deactivation, otherwise the wrong interface might get used later
3525                         for routing and IP management
3526
3527 2008-04-15  Dan Williams  <dcbw@redhat.com>
3528
3529         * libnm-glib/nm-device.c
3530                 - (get_product_and_vendor): handle serial devices correctly
3531                 - (nm_device_update_description): pass device to get_product_and_vendor()
3532
3533 2008-04-15  Dan Williams  <dcbw@redhat.com>
3534
3535         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3536
3537         * src/NetworkManagerSystem.h
3538           src/backends/NetworkManagerArch.c
3539           src/backends/NetworkManagerDebian.c
3540           src/backends/NetworkManagerFrugalware.c
3541           src/backends/NetworkManagerGeneric.c
3542           src/backends/NetworkManagerGeneric.h
3543           src/backends/NetworkManagerGentoo.c
3544           src/backends/NetworkManagerMandriva.c
3545           src/backends/NetworkManagerPaldo.c
3546           src/backends/NetworkManagerRedHat.c
3547           src/backends/NetworkManagerSlackware.c
3548           src/backends/NetworkManagerSuSE.c
3549           src/nm-device.c
3550                 - (nm_generic_device_add_ip6_link_address,
3551                    nm_system_device_add_ip6_link_address): remove
3552
3553 2008-04-15  Dan Williams  <dcbw@redhat.com>
3554
3555         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3556
3557         * src/backends/NetworkManagerArch.c
3558           src/backends/NetworkManagerDebian.c
3559           src/backends/NetworkManagerFrugalware.c
3560           src/backends/NetworkManagerGeneric.c
3561           src/backends/NetworkManagerGeneric.h
3562           src/backends/NetworkManagerGentoo.c
3563           src/backends/NetworkManagerMandriva.c
3564           src/backends/NetworkManagerPaldo.c
3565           src/backends/NetworkManagerRedHat.c
3566           src/backends/NetworkManagerSlackware.c
3567           src/backends/NetworkManagerSuSE.c
3568           src/NetworkManagerSystem.h
3569                 - flush_routes -> flush_ip4_routes
3570                 - flush_addresses -> flush_ip4_addresses
3571
3572         * src/NetworkManagerSystem.c
3573           src/nm-device.c
3574           src/vpn-manager/nm-vpn-connection.c
3575                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3576
3577 2008-04-15  Dan Williams  <dcbw@redhat.com>
3578
3579         Remove exposure of wireless-tools mode types in the API.
3580
3581         * include/NetworkManager.h
3582                 - Define NM80211Mode enum
3583
3584         * introspection/generic-types.xml
3585                 - Describe NM_802_11_MODE enum
3586                 - Remove IW_MODE_* enum
3587
3588         * introspection/nm-access-point.xml
3589           libnm-glib/nm-access-point.c
3590           libnm-glib/nm-access-point.h
3591                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3592
3593         * introspection/nm-device-802-11-wireless.xml
3594           libnm-glib/nm-device-802-11-wireless.c
3595           libnm-glib/nm-device-802-11-wireless.h
3596                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3597
3598         * libnm-util/nm-setting-wireless.c
3599           src/NetworkManagerAP.c
3600           src/NetworkManagerAP.h
3601           src/nm-device-802-11-wireless.c
3602           src/nm-device-802-11-wireless.h
3603           test/nm-tool.c
3604                 - Use NM80211Mode not IW_MODE_*
3605
3606 2008-04-15  Dan Williams  <dcbw@redhat.com>
3607
3608         Enhance nm-online based on a patch from Bill Nottingham.
3609
3610         * test/nm-online.c
3611                 - Add a '-q' option
3612                 - Add help messages and option summary
3613                 - Add long-format options
3614                 - Add a '-x' option to exit if NM isn't running or isn't connecting
3615
3616 2008-04-15  Tambet Ingo  <tambet@gmail.com>
3617
3618         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
3619
3620         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
3621
3622 2008-04-15  Dan Williams  <dcbw@redhat.com>
3623
3624         * nm-setting-ip4-config.c
3625                 - (ip4_addresses_from_gvalue): handle NULL address array
3626
3627         * nm-setting-8021x.c
3628                 - (verify_tls, verify_ttls): warn on failed verification
3629
3630 2008-04-10  Dan Williams  <dcbw@redhat.com>
3631
3632         * src/nm-gsm-device.c
3633                 - (automatic_registration): accept "+CREG: 0,0"
3634                 - (automatic_registration_response): fail on "+CREG: 0,0"
3635
3636 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3637
3638         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
3639
3640 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3641
3642         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
3643         Make it compile again by commenting out broken code that at first didn't work and
3644         now didn't compile either.
3645
3646 2008-04-08  Dan Williams  <dcbw@redhat.com>
3647
3648         * libnm-glib/nm-object-cache.c
3649           libnm-glib/nm-settings.c
3650           src/dhcp-manager/nm-dhcp-manager.c
3651           system-settings/plugins/ifcfg-fedora/plugin.c
3652           system-settings/plugins/ifcfg-suse/plugin.c
3653           system-settings/src/nm-system-config-hal-manager.c
3654           libnm-util/nm-utils.c
3655                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
3656                         not threadsafe anyway
3657
3658 2008-04-08  Dan Williams  <dcbw@redhat.com>
3659
3660         * system-settings/src/main.c
3661                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
3662                         callbacks take a device type too
3663
3664 2008-04-08  Dan Williams  <dcbw@redhat.com>
3665
3666         The system settings service will now create a new default DHCP connection
3667         for wired devices that have no existing applicable connection.
3668
3669         * system-settings/src/nm-system-config-hal-manager.c
3670           system-settings/src/nm-system-config-hal-manager.h
3671                 - (nm_system_config_hal_manager_get_type_for_udi): new function
3672
3673         * system-settings/src/dbus-settings.c
3674           system-settings/src/dbus-settings.h
3675                 - (nm_sysconfig_settings_get_connections): new function
3676                 - (nm_sysconfig_settings_is_device_managed): new function
3677
3678         * system-settings/src/main.c
3679                 - (load_stuff): check for wired devices that need a default connection
3680                 - (get_details_for_udi): get interface and MAC address from HAL
3681                 - (add_default_dhcp_connection): add a default connection for a wired
3682                         device if needed
3683                 - (device_added_cb, device_removed_cb): do the right thing with
3684                         wired devices and their default connections on HAL device events
3685
3686 2008-04-07  Dan Williams  <dcbw@redhat.com>
3687
3688         * libnm-glib/nm-device.c
3689           libnm-glib/nm-device.h
3690                 - Proxy the 'managed' property
3691
3692 2008-04-07  Dan Williams  <dcbw@redhat.com>
3693
3694         * src/nm-gsm-device.c
3695           src/nm-cdma-device.c
3696                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3697                         handler to transition to DISCONNECTED
3698
3699 2008-04-07  Dan Williams  <dcbw@redhat.com>
3700
3701         Patch from Bill Nottingham
3702
3703         * dispatcher-daemon/NetworkManagerDispatcher.c
3704                 - ignore backup/packaging crufy (rh #440143)
3705
3706 2008-04-07  Dan Williams  <dcbw@redhat.com>
3707
3708         * include/NetworkManager.h
3709                 - Remove the DOWN and CANCELLED device states
3710                 - Add UNMANAGED and UNAVAILABLE device states
3711                 - Document the device states
3712
3713         * introspection/nm-device.xml
3714           src/nm-device-interface.c
3715           src/nm-device-interface.h
3716                 - Add the 'managed' property
3717
3718         * test/nm-tool.c
3719                 - (detail_device): print out device state
3720
3721         * src/NetworkManagerSystem.h
3722           src/backends/NetworkManagerArch.c
3723           src/backends/NetworkManagerDebian.c
3724           src/backends/NetworkManagerFrugalware.c
3725           src/backends/NetworkManagerGentoo.c
3726           src/backends/NetworkManagerMandriva.c
3727           src/backends/NetworkManagerPaldo.c
3728           src/backends/NetworkManagerRedHat.c
3729           src/backends/NetworkManagerSlackware.c
3730           src/backends/NetworkManagerSuSE.c
3731                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
3732                    nm_system_device_free_system_config): remove; they were unused and
3733                         their functionality should be re-implemented in each distro's
3734                         system settings service plugin 
3735
3736         * src/nm-gsm-device.c
3737           src/nm-gsm-device.h
3738           src/nm-cdma-device.c
3739           src/nm-cdma-device.h
3740                 - (*_new): take the 'managed' argument
3741
3742         * src/nm-device.c
3743                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
3744                 - (nm_device_init): start in unmanaged state, not disconnected
3745                 - (constructor): don't start device until the system settings service
3746                         has had a chance to figure out if the device is managed or not
3747                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
3748                         don't set device state here, let callers handle that as appropriate
3749                 - (nm_device_dispose): don't touch the device if it's not managed
3750                 - (set_property, get_property, nm_device_class_init): implement the
3751                         'managed' property
3752                 - (nm_device_state_changed): bring the device up if its now managed,
3753                         and deactivate it if it used to be active
3754                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
3755                         with the managed state
3756
3757         * src/nm-hal-manager.c
3758                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
3759                         take initial managed state and pass it along to device constructors
3760                 - (create_device_and_add_to_list): get managed state and pass to
3761                         type creators
3762
3763         * src/nm-device-802-11-wireless.c
3764                 - (real_can_activate): fold in most of
3765                         nm_device_802_11_wireless_can_activate()
3766                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
3767                 - (link_timeout_cb): instead of deactivating, change device state and
3768                         let the device state handler to it
3769                 - (real_update_hw_address): clean up
3770                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3771                         handler to transition to DISCONNECTED if the device isn't rfkilled
3772
3773         * src/nm-device-802-3-ethernet.c
3774                 - (set_carrier): move above callers and get rid of prototype
3775                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
3776                         idle handler to transition to DISCONNECTED if the device has a
3777                         carrier
3778                 - (real_update_hw_address): clean up
3779                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
3780                         deactivation directly as deactivation doesn't change state anymore
3781
3782         * src/NetworkManagerPolicy.c
3783                 - (schedule_activate_check): yay, remove wireless_enabled hack since
3784                         the NMManager and wireless devices work that out themselves now
3785                 - (device_state_changed): change to a switch and update for new device
3786                         states
3787                 - (device_carrier_changed): remove; device handles this now through
3788                         state changes
3789                 - (device_added): don't care about carrier any more; the initial
3790                         activation check will happen when the device transitions to
3791                         DISCONNECTED
3792
3793         * src/nm-manager.c
3794                 - (dispose): clear unmanaged devices
3795                 - (handle_unmanaged_devices): update unmanaged device list and toggle
3796                         the managed property on each device when needed
3797                 - (system_settings_properties_changed_cb): handle signals from the
3798                         system settings service
3799                 - (system_settings_get_unmanaged_devices_cb): handle callback from
3800                         getting the unmanaged device list method call
3801                 - (query_unmanaged_devices): ask the system settings service for its
3802                         list of unmanaged devices
3803                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
3804                         devices
3805                 - (manager_set_wireless_enabled): push rfkill state down to wireless
3806                         devices directly and let them handle the necessary state transitions
3807                 - (manager_device_state_changed): update for new device states
3808                 - (nm_manager_add_device): set initial rfkill state on wireless devices
3809                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
3810                 - (nm_manager_activate_connection): return error if the device is
3811                         unmanaged
3812                 - (nm_manager_sleep): handle new device states correctly; don't change
3813                         the state of unavailable/unmanaged devices
3814
3815         * libnm-glib/nm-device-802-11-wireless.c
3816                 - (state_changed_cb): update for new device states
3817
3818 2008-04-07  Dan Williams  <dcbw@redhat.com>
3819
3820         * marshallers/nm-marshal.list
3821                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
3822
3823 2008-04-07  Dan Williams  <dcbw@redhat.com>
3824
3825         * system-settings/src/main.c
3826                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
3827                         plugins to the dbus settings object
3828                 - (load_stuff): start the dbus service after grabbing unmanaged devices
3829                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
3830                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
3831                 - (main): switch default logging to syslog with a 'debug' option to
3832                         output to console; start up the HAL manager
3833
3834 2008-04-07  Dan Williams  <dcbw@redhat.com>
3835
3836         * introspection/nm-settings-system.xml
3837           introspection/Makefile.am
3838                 - Define the unmanaged devices interface for the system settings service
3839
3840         * system-settings/src/nm-system-config-hal-manager.c
3841           system-settings/src/nm-system-config-hal-manager.h
3842           system-settings/src/nm-system-config-hal-manager-private.h
3843           system-settings/src/Makefile.am
3844                 - Add a lightweight HAL manager object for tracking network devices for
3845                         the purpose of determining unmanaged devices and which devices need
3846                         the default DHCP connections
3847
3848         * system-settings/src/nm-system-config-interface.c
3849           system-settings/src/nm-system-config-interface.h
3850                 - (nm_system_config_interface_init): add the HAL manager as an argument
3851                 - (nm_system_config_interface_get_unmanaged_devices): implement
3852                 - Define 'unmanaged-devices-changed' signal
3853
3854         * system-settings/src/dbus-settings.c
3855           system-settings/src/dbus-settings.h
3856                 - Implement the unmanaged devices interface; some cleanups
3857
3858         * system-settings/plugins/ifcfg-suse/plugin.c
3859                 - Fixup for plugin interface changes
3860
3861         * system-settings/plugins/ifcfg-fedora/plugin.c
3862                 - (get_ether_device_udi): new function; find the device that has
3863                         a specified MAC address and return its UDI
3864                 - (get_udi_for_connection): new function; try to find the specific
3865                         device a connection is locked to, if any
3866                 - (device_added_cb, device_removed_cb): update unmanaged device list in
3867                         response to HAL events
3868                 - (get_unmanaged_devices): new function; return unmanaged device list
3869                 - (build_one_connection): set the connection's locked device, if any
3870                 - (write_auto_wired_connection): remove
3871                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
3872                 - (handle_connection_changed): alert listeners that the unmanaged device
3873                         list has changed
3874                 - (init): fixup for plugin interface changes, implement unmanaged devices
3875
3876         * system-settings/plugins/ifcfg-fedora/parser.c
3877           system-settings/plugins/ifcfg-fedora/parser.h
3878                 - (connection_data_free): clean up connection UDI
3879
3880 2008-04-07  Dan Williams  <dcbw@redhat.com>
3881
3882         * system-settings/plugins/ifcfg-fedora/parser.c
3883                 - (make_ip4_setting): fix parsing of DNS servers
3884
3885 2008-04-05  Dan Williams  <dcbw@redhat.com>
3886
3887         * Makefile.am
3888           configure.in
3889           marshallers/Makefile.am
3890           marshallers/nm-marshal-main.c
3891           marshallers/nm-marshal.list
3892                 - Consolidate marshallers
3893
3894         * libnm-glib/nm-marshal-main.c
3895           libnm-glib/nm-marshal.list
3896           src/marshallers/Makefile.am
3897           src/marshallers/nm-marshal-main.c
3898           src/marshallers/nm-marshal.list
3899                 - Remove
3900
3901         * libnm-glib/Makefile.am
3902           src/Makefile.am
3903           src/dhcp-manager/Makefile.am
3904           src/ppp-manager/Makefile.am
3905           src/supplicant-manager/Makefile.am
3906           src/vpn-manager/Makefile.am
3907                 - Use consolidated marshallers
3908
3909 2008-04-04  Dan Williams  <dcbw@redhat.com>
3910
3911         * src/nm-hal-manager.c
3912           src/nm-hal-manager.h
3913                 - (hal_init): don't look for hardware here
3914                 - (nm_hal_manager_start): new function; look for hardware here instead,
3915                         which can be done at a later time than hal_init()
3916
3917         * src/NetworkManager.c
3918                 - (main): start HAL manager after entering the main loop
3919
3920 2008-04-03  Dan Williams  <dcbw@redhat.com>
3921
3922         * libnm-glib/nm-settings.c
3923           libnm-glib/nm-settings.h
3924             - (nm_exported_connection_get_id): new function
3925                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
3926
3927 2008-04-02  Dan Williams  <dcbw@redhat.com>
3928
3929         * src/nm-device-interface.c
3930           src/nm-device-interface.h
3931           src/nm-device.c
3932           src/nm-device.h
3933                 - Rename check_connection_conflicts() to check_connection_compatible()
3934
3935         * src/nm-device-802-11-wireless.c
3936                 - (real_check_connection_conflicts): remove
3937                 - (real_check_connection_compatible): implement; match MAC address
3938
3939         * src/nm-device-802-3-ethernet.c
3940                 - (real_check_connection_conflicts): remove
3941                 - (real_check_connection_compatible): implement; match MAC address
3942                 - (real_get_best_auto_connection): correctly handle PPPoE cases
3943
3944         * src/nm-manager.c
3945                 - (check_connection_allowed): remove; unused until PolicyKit integration
3946                 - (internal_activate_device): check whether the connection is compatible
3947                         with the device before trying to activate it
3948
3949 2008-04-02  Dan Williams  <dcbw@redhat.com>
3950
3951         * system-settings/plugins/ifcfg-fedora/parser.c
3952                 - (read_mac_address): new function; read in MAC address and stuff it
3953                         into the connection
3954                 - (add_one_wep_key): remove debug spew
3955                 - (make_wireless_security_setting): validate the default TX key; don't
3956                         add the wireless-security setting if the connection doesn't need
3957                         security; don't leak the keys shvarFile on error cases
3958                 - (make_wireless_setting, make_wired_setting): populate device's MAC
3959                         address
3960
3961 2008-04-02  Dan Williams  <dcbw@redhat.com>
3962
3963         * libnm-util/nm-setting-connection.c
3964           libnm-util/nm-setting-connection.h
3965                 - (set_property, get_property, nm_setting_connection_class_init): remove
3966                         the 'lockdown' property; it's functionality will be replaced by
3967                         PolicyKit instead
3968
3969 2008-04-01  Dan Williams  <dcbw@redhat.com>
3970
3971         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
3972
3973         * configure.in
3974           initscript/Makefile.am
3975           initscript/Mandriva/Makefile.am
3976           initscript/Mandriva/networkmanager.in
3977           initscript/Mandriva/networkmanagerdispatcher.in
3978           src/backends/Makefile.am
3979           src/backends/NetworkManagerMandriva.c
3980           system-settings/plugins/Makefile.am
3981                 - Add Mandriva support
3982
3983 2008-03-31  Dan Williams  <dcbw@redhat.com>
3984
3985         * src/vpn-manager/nm-vpn-service.c
3986                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
3987                         errors can be passed back to the caller; also no longer scheduled
3988                         as an idle handler, but called directly; and bump up VPN service
3989                         spawn timeout, 2s is really short
3990                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
3991                         but call it directly so that errors are reported on return from
3992                         ActivateConnection() and don't get lost.  If scheduled as an idle
3993                         handler, clients don't have the time to query NM for the new VPN
3994                         connection's properties before the VPN connection is torn down again
3995                         if the service couldn't be launched, and therefore launch errors
3996                         get lost.
3997
3998 2008-03-31  Dan Williams  <dcbw@redhat.com>
3999
4000         * src/vpn-manager/nm-vpn-connection.c
4001                 - (device_state_changed): send correct state on device failure too
4002                 - (plugin_state_changed): failed state means unexpected disconnection,
4003                         thus if the service goes away while the VPN connection is activated
4004                         that's a failure too
4005
4006 2008-03-31  Dan Williams  <dcbw@redhat.com>
4007
4008         * src/vpn-manager/nm-vpn-manager.c
4009           src/vpn-manager/nm-vpn-manager.h
4010                 - Make VPNManager errors more available; add a service-start-failed error
4011
4012 2008-03-31  Dan Williams  <dcbw@redhat.com>
4013
4014         * libnm-glib/nm-client.c
4015           libnm-glib/nm-client.h
4016                 - (activate_cb): pass the new active connection to callback; fix
4017                         message when no callback is specified
4018
4019 2008-03-30  Dan Williams  <dcbw@redhat.com>
4020
4021         * libnm-util/nm-setting-wireless-security.c
4022                 - (need_secrets): only require key0 if the transmit key index is also
4023                         0
4024                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4025
4026 2008-03-29  Dan Williams  <dcbw@redhat.com>
4027
4028         * libnm-util/nm-setting-8021x.c
4029           libnm-util/nm-setting-ip4-config.c
4030           libnm-util/nm-setting-vpn-properties.c
4031           libnm-util/nm-setting-vpn.c
4032           libnm-util/nm-setting-wireless-security.c
4033           libnm-util/nm-setting-wireless.c
4034           libnm-util/nm-utils.c
4035           src/dhcp-manager/nm-dhcp-manager.c
4036           src/nm-activation-request.c
4037           src/nm-ip4-config.c
4038           src/nm-manager.c
4039           src/nm-properties-changed-signal.c
4040           src/ppp-manager/nm-pppd-plugin.c
4041           src/supplicant-manager/nm-supplicant-interface.c
4042           src/vpn-manager/nm-vpn-connection.c
4043                 - consistently use nm-dbus-glib-types.h
4044
4045 2008-03-29  Dan Williams  <dcbw@redhat.com>
4046
4047         * src/vpn-manager/nm-vpn-connection.c
4048                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4049                         not string
4050
4051         * src/nm-activation-request.c
4052                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4053                         not string
4054
4055 2008-03-29  Dan Williams  <dcbw@redhat.com>
4056
4057         * libnm-glib/nm-device-802-11-wireless.c
4058                 - (access_point_added_proxy): create new APs if not found
4059
4060 2008-03-29  Dan Williams  <dcbw@redhat.com>
4061
4062         * libnm-glib/nm-client.c
4063                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4064                         before freeing them
4065
4066 2008-03-29  Dan Williams  <dcbw@redhat.com>
4067
4068         * system-settings/plugins/ifcfg-fedora/parser.c
4069                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4070                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4071
4072 2008-03-29  Dan Williams  <dcbw@redhat.com>
4073
4074         * system-settings/plugins/ifcfg-fedora/parser.c
4075                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4076
4077 2008-03-27  Dan Williams  <dcbw@redhat.com>
4078
4079         * nm-object.c
4080                 - (nm_object_queue_notify): don't notify multiple times for the same
4081                         property
4082
4083         * nm-object-private.h
4084                 - (handle_ptr_array_return): return NULL if the given array is NULL or
4085                         if it has zero elements
4086
4087         * nm-ip4-config.c
4088                 - (finalize): use g_ptr_array_foreach() when freeing domains
4089                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4090
4091         * nm-active-connection.c
4092                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4093
4094         * nm-device-802-11-wireless.c
4095           nm-device-802-11-wireless.h
4096                 - (nm_device_802_11_wireless_get_access_points): return const; use
4097                         handle_ptr_array_return()
4098
4099         * nm-types.c
4100                 - (nm_object_array_demarshal): always create an array, even of length
4101                         zero, to distinguish between "NM returned no items" and "haven't
4102                         asked NM yet"
4103
4104         * nm-client.c
4105                 - (dispose): free active connections too
4106                 - (proxy_name_owner_changed): free active connections too when NM goes
4107                         away
4108                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4109                 - (nm_client_get_active_connections): use handle_ptr_array_return()
4110
4111 2008-03-26  Dan Williams  <dcbw@redhat.com>
4112
4113         Rework VPN connection handling for a more consistent D-Bus API.  The
4114         VPNManager object has been removed, and active VPN connections are now the
4115         same as any other active connection.  The Manager object's ActivateConnection
4116         and DeactivateConnection methods are used to start and stop a VPN connection,
4117         and the VPNConnection objects are subclasses of the ActiveConnection objects.
4118         When activating a VPN connection, pass the path of the active connection
4119         to which the VPN connection is tied in the 'specific_object' argument.
4120
4121         Consequently, the libnm-glib API has been reworked to match this arrangement,
4122         with the VPNManager object removed, and the NMVPNConnection objects now
4123         being subclasses of NMActiveConnection.
4124
4125 2008-03-25  Dan Williams  <dcbw@redhat.com>
4126
4127         Patch from Björn Martensen <bjoern.martensen@gmail.com>
4128
4129         * initscript/Arch/networkmanager.in
4130           initscript/Arch/networkmanager-dispatcher.in
4131                 - Updates for Arch Linux (gnome.org #523701)
4132
4133 2008-03-25  Dan Williams  <dcbw@redhat.com>
4134
4135         * libnm-glib/nm-ip4-config.c
4136           libnm-glib/nm-active-connection.c
4137           libnm-glib/nm-access-point.c
4138                 - Use nm_object_queue_notify() instead of g_object_notify()
4139
4140         * libnm-glib/nm-device.c
4141                 - (demarshal_ip4_config): distinguish between successful but missing
4142                         ip4-config request, and unsuccessful and missing ip4-config request
4143                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4144                         path
4145                 - Use nm_object_queue_notify() instead of g_object_notify()
4146
4147         * libnm-glib/nm-device-802-11-wireless.c
4148                 - (demarshal_active_ap): distinguish between successfull but missing
4149                         active-ap request, and unsuccessful and missing active-ap request
4150                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4151                         code
4152                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4153                         for the NMClient to notify the device that wireless is disabled,
4154                         and therefore to clear the AP list and active AP
4155                 - Use nm_object_queue_notify() instead of g_object_notify()
4156
4157         * libnm-glib/nm-client.c
4158                 - (poke_wireless_devices_with_rf_status): new function
4159                 - (update_wireless_status): notify wireless devices of the rfkill status
4160                         so they can clean up if needed
4161                 - Use nm_object_queue_notify() instead of g_object_notify()
4162
4163 2008-03-25  Dan Williams  <dcbw@redhat.com>
4164
4165         * libnm-glib/nm-object.c
4166           libnm-glib/nm-object-private.h
4167                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4168                         signals to an idle handler
4169                 - (nm_object_get_property): add a timeout to the D-Bus method call
4170
4171 2008-03-25  Dan Williams  <dcbw@redhat.com>
4172
4173         * introspection/nm-device-cdma.xml
4174           introspection/nm-device-gsm.xml
4175           introspection/Makefile.am
4176           introspection/all.xml
4177                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4178
4179         * src/nm-gsm-device.h
4180           src/nm-gsm-device.c
4181           src/nm-cdma-device.h
4182           src/nm-cdma-device.c
4183           src/Makefile.am
4184                 - Implement PropertiesChanged signals
4185
4186         * libnm-glib/nm-cdma-device.c
4187           libnm-glib/nm-cdma-device.c
4188                 - Attach to PropertiesChanged signals
4189
4190 2008-03-24  Dan Williams  <dcbw@redhat.com>
4191
4192         * libnm-glib/nm-client.c
4193                 - (client_device_added_proxy): add new devices to the internal device
4194                         list so they appear to clients
4195
4196 2008-03-24  Dan Williams  <dcbw@redhat.com>
4197
4198         Massive fixup of libnm-glib to:
4199         a) have all objects (with the exception of VPN) cache their properties and
4200                 update them asynchronously on PropertiesChanged signals from NM
4201         b) return internal const data for most attributes/properties instead of
4202                 allocated values that the caller must free
4203         c) cache wrapped objects such that a given D-Bus path will always map to the
4204                 same GObject returned by libnm-glib
4205         d) remove a few signals and move them to GObject property notifications
4206         e) match recent NM D-Bus API changes for activation/deactivation
4207         f) remove some private functions from libnm-glib headers
4208
4209 2008-03-20  Dan Williams  <dcbw@redhat.com>
4210
4211         * src/nm-manager.c
4212                 - (nm_manager_update_state, manager_device_state_changed,
4213                    nm_manager_activate_device, connection_added_default_handler,
4214                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4215                         queue PropertyChanged singals when the active connections change
4216
4217 2008-03-20  Dan Williams  <dcbw@redhat.com>
4218
4219         * introspection/nm-manager.xml
4220           introspection/nm-manager-client.xml
4221                 - (ActivateConnection): return the object path of the active connection
4222                         on success
4223                 - (GetActiveConnections): remove
4224                 - (DeactivateConnection): new function; deactivate a currently active
4225                         connection
4226                 - Add an ActiveConnections property which returns an array of
4227                         active connection object paths
4228
4229         * introspection/nm-device.xml
4230                 - (Deactivate): remove
4231
4232         * introspection/all.xml
4233                 - Add ActiveConnection introspection
4234
4235         * introspection/nm-active-connection.xml
4236                 - Add the ActiveConnection object
4237
4238         * include/NetworkManager.h
4239                 - Add the Connection.Active D-Bus interface
4240
4241         * src/nm-device-interface.c
4242                 - (impl_device_deactivate): remove
4243
4244         * src/nm-activation-request.c
4245           src/nm-activation-request.c
4246           src/Makefile.am
4247                 - Implement the Connection.Active D-Bus interface
4248
4249         * src/nm-manager.c
4250                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4251                 - (nm_manager_activate_device): return the active connection path
4252                 - (connection_added_default_handler, impl_manager_activate_connection):
4253                         return the active connection to the caller
4254                 - (add_one_connection_element, impl_manager_get_active_connections):
4255                         remove
4256                 - (impl_manager_deactivate_connection): new function; deactivate an
4257                         active connection
4258
4259         * libnm-glib/nm-device.c
4260           libnm-glib/nm-device.h
4261                 - Remove Deactivate() function
4262
4263 2008-03-19  Dan Williams  <dcbw@redhat.com>
4264
4265         * introspection/nm-manager.xml
4266           introspection/nm-manager-client.xml
4267                 - Rename the ActivateDevice method to ActivateConnection to better
4268                         reflect it's usage; it's arguments get reordered a bit too
4269                 - Convert GetActiveConnections method return from a struct to a dict
4270
4271         * include/NetworkManager.h
4272                 - Define the dict keys for return value of GetActiveConnections
4273
4274         * src/nm-manager.c
4275                 - impl_manager_activate_device -> impl_manager_activate_connection
4276                 - (add_one_connection_element): return a populated hash table, not
4277                         a structure
4278
4279         * libnm-glib/nm-client.c
4280           libnm-glib/nm-client.h
4281                 - nm_client_activate_device -> nm_client_activate_connection
4282                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4283                 - (nm_client_get_active_connections): return a GSList of GHashTables,
4284                         instead of the custom structures.  Each element of the returned list
4285                         must be freed with nm_client_free_active_connections_element()
4286
4287 2008-03-18  Dan Williams  <dcbw@redhat.com>
4288
4289         * system-settings/plugins/ifcfg-fedora/parser.c
4290           system-settings/plugins/ifcfg-fedora/parser.h
4291           system-settings/plugins/ifcfg-fedora/plugin.c
4292                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4293                         profiles.  DNS servers and searches must now be stored in the ifcfg
4294                         files themselves
4295
4296 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4297
4298         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4299         print out username and password, it's supposed to be a secret.
4300
4301         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
4302         request and set the device state accordingly.
4303
4304 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4305
4306         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4307
4308         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4309
4310 2008-03-18  Dan Williams  <dcbw@redhat.com>
4311
4312         * src/vpn-manager/nm-vpn-connection.c
4313                 - (get_secrets_cb): handle new GetSecrets return format
4314
4315 2008-03-18  Dan Williams  <dcbw@redhat.com>
4316
4317         Adapt system settings service for split 802.1x.
4318
4319         * system-settings/src/nm-system-config-interface.h
4320                 - clarify return value of get_secrets()
4321
4322         * system-settings/src/dbus-settings.c
4323                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4324                 - (check_for_secrets): check if there actually secrets returned by a
4325                         plugin
4326                 - (exported_connection_get_secrets): just return the plugin-returned
4327                         hash of settings' secrets if it looks valid
4328
4329         * system-settings/plugins/ifcfg-fedora/plugin.c
4330                 - (get_secrets): add split secrets with correct format to reply hash
4331
4332         * system-settings/plugins/ifcfg-fedora/parser.c
4333           system-settings/plugins/ifcfg-fedora/parser.h
4334                 - (copy_one_cdata_secret, connection_data_copy_secrets,
4335                    connection_data_free, connection_data_add): keep secrets for
4336                         different settings in different hashes
4337
4338 2008-03-17  Tambet Ingo  <tambet@gmail.com>
4339
4340         Clean up activating device deactivation.
4341
4342         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4343         should be done whether the device activation gets cancelled or the device
4344         is just getting deactivated.
4345         (nm_device_activation_cancel): Remove.
4346         (nm_device_deactivate_quickly): Handle the case where device is activating.
4347
4348         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4349         It does the exact same thing as real_deactivate_quickly().
4350
4351 2008-03-17  Dan Williams  <dcbw@redhat.com>
4352
4353         Split the 802.1x bits out of the wireless-security setting so they are
4354         generalized enough for wired 802.1x to use too.
4355
4356         * introspection/nm-exported-connection.xml
4357                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4358                         of just a hash of the secrets for one setting
4359
4360         * libnm-util/nm-setting-wireless-security.c
4361           libnm-util/nm-setting-wireless-security.h
4362                 - Remove 802.1x-specific stuff
4363                 - Added leap-username and leap-password properties for old-school LEAP
4364
4365         * src/nm-device.c
4366           src/nm-device.h
4367                 - (connection_secrets_updated_cb): take a list of updated settings names,
4368                         not just one
4369
4370         * src/supplicant-manager/nm-supplicant-config.c
4371           src/supplicant-manager/nm-supplicant-config.h
4372                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4373                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4374                         to nm_supplicant_config_add_setting_8021x()
4375                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4376                         the supplicant config
4377
4378         * src/nm-device-802-11-wireless.c
4379                 - (build_supplicant_config): pass in the 802.1x setting too, if any
4380                 - (real_connection_secrets_updated): take a list of updated settings
4381                         names, not just one
4382
4383         * src/nm-device-802-3-ethernet.c
4384           src/nm-cdma-device.c
4385           src/nm-gsm-device.c
4386                 - (real_connection_secrets_updated_cb): take a list of updated settings
4387                         names, not just one
4388
4389         * src/nm-activation-request.c
4390           src/nm-activation-request.h
4391                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4392                         now passes a list of updated settings names, not just one
4393                 - (update_one_setting): new function; handle one updated setting
4394                 - (get_secrets_cb): handle multiple settings returned from the
4395                         settings service; have to be careful of ordering here as there are
4396                         some dependencies between settings (ex. wireless-security and 802.1x
4397                         in some cases)
4398
4399         * src/marshallers/nm-marshal.list
4400                 - new marshaller for connection-secrets-updated signal
4401
4402         * libnm-util/nm-setting-8021x.c
4403                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4404                         methods
4405                 - (verify): a valid 'eap' property is now required
4406
4407         * libnm-util/nm-connection.c
4408                 - (register_default_settings): add priorities to settings; there are
4409                         some dependencies between settings, and during the need_secrets
4410                         calls this priority needs to be respected.  For example, only the
4411                         wireless-security setting knows whether or not the connection is
4412                         going to use 802.1x or now, so it must be asked for secrets before
4413                         any existing 802.1x setting is
4414                 - (nm_connection_lookup_setting_type): expose
4415
4416         * libnm-util/nm-setting-wireless.c
4417                 - (verify): should verify even if all_settings is NULL; otherwise won't
4418                         catch the case where there is missing security
4419
4420         * libnm-util/nm-setting-wireless-security.c
4421                 - Remove everything to do with 802.1x
4422                 - Add old-school LEAP specific properties for username and password
4423                 - (need_secrets): rework LEAP secrets checking
4424                 - (verify): rework for LEAP and 802.1x verification
4425
4426 2008-03-17  Dan Williams  <dcbw@redhat.com>
4427
4428         * src/NetworkManagerPolicy.c
4429                 - (auto_activate_device): always remove the current activation check
4430                         from the pending activation list, otherwise when the policy gets
4431                         destroyed on NM exit it will attempt to free the already freed
4432                         activation check
4433
4434 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4435
4436         * src/backends/NetworkManagerSlackware.c 
4437         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4438
4439         * src/backends/NetworkManagerSuSE.c: Add missing includes.
4440
4441 2008-03-14  Dan Williams  <dcbw@redhat.com>
4442
4443         * src/nm-manager.c
4444                 - (nm_device_interface_get_iface): g_object_get() will return an
4445                         allocated value, so this function must not return const
4446                 - (nm_device_interface_activate): free returned iface
4447
4448 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4449
4450         * libnm-util/Makefile.am: Add new files to build.
4451
4452         * libnm-util/nm-connection.c: Register NMSetting8021x.
4453
4454         * libnm-util/nm-setting-8021x.c
4455         * libnm-util/nm-setting-8021x.h: Implement.
4456
4457 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4458
4459         * libnm-util/Makefile.am: Add new files to build.
4460
4461         * libnm-util/nm-connection.c: Register NMSetting8021x.
4462
4463         * libnm-util/nm-setting-8021x.c
4464         * libnm-util/nm-setting-8021x.h: Implement.
4465
4466 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4467
4468         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4469         data.
4470
4471 2008-03-14  Dan Williams  <dcbw@redhat.com>
4472
4473         * include/wireless-helper.h
4474           include/Makefile.am
4475                 - One place for all the junk needed for #including wireless.h
4476
4477         * test/nm-tool.c
4478           src/NetworkManagerAP.c
4479           src/wpa.c
4480           src/Makefile.am
4481           libnm-util/nm-utils.c
4482           libnm-util/nm-setting-wireless.c
4483           libnm-glib/nm-device-802-11-wireless.c
4484           libnm-glib/nm-access-point.c
4485           libnm-glib/libnm-glib-test.c
4486                 - include wireless-helper.h, not iwlib.h
4487
4488         * configure.in
4489                 - Don't need libiw really, just need to check for wireless.h
4490
4491         * src/kernel-types.h
4492                 - Remove; used types moved into wpa.c
4493
4494         * src/nm-device-802-11-wireless.c
4495                 - (nm_device_802_11_wireless_update_signal_strength,
4496                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4497                    nm_device_802_11_wireless_set_mode,
4498                    nm_device_802_11_wireless_get_frequency,
4499                    nm_device_802_11_wireless_get_ssid,
4500                    nm_device_802_11_wireless_set_ssid,
4501                    nm_device_802_11_wireless_get_bitrate,
4502                    nm_device_802_11_wireless_get_bssid,
4503                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4504                         instead of iwlib functions
4505
4506 2008-03-14  Dan Williams  <dcbw@redhat.com>
4507
4508         * src/ppp-manager/nm-ppp-manager.c
4509                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4510                         should only take the DBusGMethodInvocation argument, not user/pass
4511                         too.  With dbus-glib, async functions only take 2 C arguments since
4512                         the real dbus method arguments get passed back with
4513                         dbus_g_method_return()
4514
4515 2008-03-13  Tambet Ingo  <tambet@gmail.com>
4516
4517         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
4518         Adapt the changes of NMSettingIP4Config.
4519
4520 2008-03-13  Dan Williams  <dcbw@redhat.com>
4521
4522         * src/NetworkManagerUtils.c
4523           src/NetworkManagerUtils.h
4524                 - (nm_ether_ntop): replacement for iw_ether_ntop()
4525
4526         * src/NetworkManagerAP.c
4527           src/nm-device-802-11-wireless.c
4528           src/nm-device-802-3-ethernet.c
4529                 - s/iw_ether_ntop/nm_ether_ntop/g
4530
4531 2008-03-13  Dan Williams  <dcbw@redhat.com>
4532
4533         * src/NetworkManagerPolicy.c
4534                 - (update_routing_and_dns): never set the default route through an
4535                         IPv4LL addressed device
4536
4537 2008-03-13  Dan Williams  <dcbw@redhat.com>
4538
4539         * NetworkManagerUtils.c
4540           NetworkManagerUtils.h
4541                 - Remove NMSock stuff
4542                 - Remove the completion stuff
4543
4544         * nm-device.c
4545           nm-device.h
4546           NetworkManager.c
4547           NetworkManagerSystem.c
4548           autoip.c
4549           nm-device-802-11-wireless.c
4550           nm-device-802-3-ethernet.c
4551                 - Remove NMSock and completion stuff
4552                 - Remove nm_ioctl_info()
4553
4554 2008-03-12  Dan Williams  <dcbw@redhat.com>
4555
4556         * src/nm-device.c
4557                 - (merge_ip4_config): avoid duplicates
4558
4559 2008-03-12  Dan Williams  <dcbw@redhat.com>
4560
4561         * libnm-util/nm-setting-ip4-config.c
4562           libnm-util/nm-setting-ip4-config.h
4563                 - Remove 'manual' and 'autoip' properties
4564                 - Add 'method' property
4565                 - (verify): fix verification with 'method'
4566                 - (finalize): free 'method'
4567                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4568                         up for 'method'
4569
4570         * src/nm-device.c
4571                 - (real_act_stage3_ip_config_start): check IP4Config method
4572                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4573                         the future
4574                 - (merge_ip4_config): IP settings are valid with DHCP too
4575                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4576                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4577
4578         * src/nm-device-802-11-wireless.c
4579                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4580                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4581                         only on demand
4582
4583         * system-settings/plugins/ifcfg-fedora/parser.c
4584           system-settings/plugins/ifcfg-suse/parser.c
4585                 - (make_ip4_setting): fix up for 'method'
4586
4587 2008-03-12  Dan Williams  <dcbw@redhat.com>
4588
4589         * system-settings/plugins/ifcfg-fedora/parser.c
4590           system-settings/plugins/ifcfg-fedora/parser.h
4591                 - (get_ifcfg_name): ignore more file suffixes
4592                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
4593
4594 2008-03-12  Dan Williams  <dcbw@redhat.com>
4595
4596         * configure.in
4597                 - Bring in the bits of gnome-common we actually use (all 15 lines)
4598
4599 2008-03-12  Dan Williams  <dcbw@redhat.com>
4600
4601         * system-settings/plugins/ifcfg-fedora/plugin.c
4602                 - (write_auto_wired_connection): new function; write out an auto
4603                         wired connection file since the applet isn't doing it any more
4604                 - (reload_all_connections): write out the auto wired connection file
4605                         if there aren't any wired connections already
4606                 - (init): don't leak a GError
4607
4608 2008-03-12  Dan Williams  <dcbw@redhat.com>
4609
4610         * src/nm-device-interface.c
4611                 - (nm_device_interface_activate): print the ID of the connection
4612                         that's about to be activated
4613
4614 2008-03-12  Dan Williams  <dcbw@redhat.com>
4615
4616         Harmonize the 802.11 bitrate API
4617
4618         * introspection/nm-access-point.xml
4619                 - 'Rate' -> 'MaxBitrate'; clarify units
4620
4621         * introspection/nm-device-802-11-wireless.xml
4622                 - Clarify units of 'Bitrate'
4623
4624         * src/NetworkManagerAP.c
4625           src/NetworkManagerAP.h
4626                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
4627                         property to 'max-bitrate'
4628                 - (foreach_property_cb): convert rate to Kb/s
4629
4630         * src/nm-device-802-11-wireless.c
4631                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
4632
4633         * libnm-glib/nm-access-point.c
4634           libnm-glib/nm-access-point.h
4635                 - 'rate' -> 'max-bitrate'
4636
4637         * test/nm-tool.c
4638           libnm-glib/libnm-glib-test.c
4639                 - Fix up for these changes
4640
4641 2008-03-12  Dan Williams  <dcbw@redhat.com>
4642
4643         * src/nm-device.c
4644                 - (nm_device_set_ip4_config): don't send property notifications when
4645                         the ip4 config is set to NULL; it causes a PropertyChanged signal
4646                         which dbus-glib can't parse because the value is NULL, which isn't
4647                         a legal object path.  Setting the IP4 config to NULL is only
4648                         valid when deactivating a device anyway, so the device state change
4649                         will alert listeners that the ip4 config is invalid.
4650
4651 2008-03-12  Dan Williams  <dcbw@redhat.com>
4652
4653         * src/nm-properties-changed-signal.c
4654                 - (add_to_string): better handling of NULL objects
4655
4656 2008-03-12  Dan Williams  <dcbw@redhat.com>
4657
4658         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
4659         convert the libnm-glib NMDevice8023Ethernet to cached properties
4660
4661         * introspection/nm-device-802-3-ethernet.xml
4662                 - New 'Carrier' property
4663                 - New 'PropertiesChanged' signal
4664
4665         * introspection/nm-device.xml
4666                 - Remove 'Carrier' property
4667                 - Remove 'CarrierChanged' signal
4668
4669         * src/nm-device-interface.c
4670           src/nm-device-interface.h
4671                 - (nm_device_interface_init): remove 'carrier' property and
4672                         'carrier-changed' signal
4673
4674         * src/nm-device.c
4675           src/nm-device.h
4676                 - (nm_device_get_carrier, nm_device_set_carrier): remove
4677                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
4678                         the link here; wired device will handle that
4679                 - (handle_dhcp_lease_change): don't bother updating link here
4680                 - (get_property, nm_device_class_init): remove carrier property
4681
4682         * src/nm-device-802-11-wireless.c
4683                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
4684                         real_update_link(); wireless devices don't use carrier at all
4685                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
4686                    supplicant_iface_connection_state_cb_handler,
4687                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
4688
4689         * src/nm-device-802-3-ethernet.c
4690           src/nm-device-802-3-ethernet.h
4691                 - (nm_device_802_3_ethernet_carrier_on,
4692                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
4693                         instead of nm_device_set_carrier()
4694                 - (device_state_changed): update link from sysfs on activation;
4695                         replaces real_update_link()
4696                 - (real_update_link): remove, replaced by device_state_changed()
4697                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
4698                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
4699                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
4700                         new get_carrier function
4701                 - (get_property): add 'carrier' property
4702                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
4703                         hook into property-changed signal helper
4704
4705         * src/NetworkManagerPolicy.c
4706                 - (device_carrier_changed): will only ever be called with a wired device
4707                 - (device_added): only hook up to carrier-changed for wired devices
4708
4709         * libnm-glib/nm-device.c
4710           libnm-glib/nm-device.h
4711                 - (constructor, nm_device_class_init): remove carrier-changed signal
4712                 - (device_carrier_changed_proxy): remove; unused
4713                 - (nm_device_get_carrier): remove; carrier a property of wired devices
4714
4715         * libnm-glib/nm-device-802-3-ethernet.c
4716           libnm-glib/nm-device-802-3-ethernet.h
4717                 - Convert to cached properties like AP and Wireless objects
4718                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
4719                         instead of a 'char *', return value should not be freed
4720                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
4721                 - (constructor): hook into properties-changed helper
4722                 - (set_property, get_property): new functions
4723                 - (nm_device_802_3_ethernet_class_init): export GObject properties
4724
4725         * test/nm-tool.c
4726                 - (detail_device): strdup the wired hardware address too since it's
4727                         cached now
4728
4729         * libnm-glib/libnm-glib-test.c
4730                 - (dump_wired): strdup the wired hardware address too since it's
4731                         cached now
4732
4733 2008-03-12  Dan Williams  <dcbw@redhat.com>
4734
4735         * libnm-util/nm-setting-ip4-config.c
4736           libnm-util/nm-setting-ip4-config.h
4737                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
4738                         the 'autoip' property from the spec
4739
4740 2008-03-11  Dan Williams  <dcbw@redhat.com>
4741
4742         * src/backends/NetworkManagerGeneric.c
4743           src/backends/NetworkManagerGeneric.h
4744                 - (nm_generic_device_get_use_dhcp): remove
4745
4746 2008-03-11  Dan Williams  <dcbw@redhat.com>
4747
4748         * src/nm-device.c
4749                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
4750                         already in nm_device_set_ip4_config()
4751                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
4752                         due to a DHCP rebind fails
4753                 - (nm_device_set_ip4_config): send property notifications when the
4754                         ip4 config changes
4755                 - (get_property): only report IP4Config property during valid states
4756
4757         * src/NetworkManagerPolicy.c
4758                 - (update_routing_and_dns): ignore devices that don't have an ip4
4759                         config; add parameter 'force_update' to allow callers to specify
4760                         that changes should be made even if the default device doesn't change
4761                 - (device_ip4_config_changed): update DNS and routing when the device's
4762                         IP4Config changes, like for DHCP updates
4763                 - (device_added): listen for ip4-config property changes
4764
4765 2008-03-11  Dan Williams  <dcbw@redhat.com>
4766
4767         Fix address handling as a result of DHCP rebind/renew/reboot.
4768
4769         * src/NetworkManagerSystem.c
4770                 - (check_one_address): delete an address if it doesn't match a given
4771                         one for the same interface
4772                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
4773                         be smarter about flushing addresses (only flush ones that don't
4774                         match the one we're about to apply)
4775
4776         * src/backends/NetworkManagerDebian.c
4777           src/backends/NetworkManagerSuSE.c
4778           src/backends/NetworkManagerArch.c
4779           src/backends/NetworkManagerSlackware.c
4780           src/backends/NetworkManagerRedHat.c
4781           src/backends/NetworkManagerPaldo.c
4782           src/backends/NetworkManagerFrugalware.c
4783           src/backends/NetworkManagerGentoo.c
4784                 - (nm_system_delete_default_route): remove
4785
4786         * src/backends/NetworkManagerGeneric.c
4787           src/backends/NetworkManagerGeneric.h
4788                 - (nm_generic_enable_loopback): fix the loopback device label
4789                 - (nm_generic_delete_default_route): remove; no longer used
4790
4791 2008-03-11  Dan Williams  <dcbw@redhat.com>
4792
4793         * src/nm-device-interface.h
4794                 - Delimit property name words with '-', otherwise g_object_notify()
4795                         doesn't work the way we expect
4796
4797 2008-03-11  Tambet Ingo  <tambet@gmail.com>
4798
4799         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
4800
4801 2008-03-11  Dan Williams  <dcbw@redhat.com>
4802
4803         * src/NetworkManagerPolicy.c
4804                 - (update_routing_and_dns): don't change anything if the default device
4805                         hasn't changed; print something out when switching the default route
4806                         and DNS
4807
4808 2008-03-10  Tambet Ingo  <tambet@gmail.com>
4809
4810         Implement PPPoE.
4811
4812         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
4813         setting. Use "nic-$eth".
4814
4815         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
4816         the device is activating here to fix a race condition.
4817
4818         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
4819
4820         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
4821         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
4822         (nm_ppp_manager_start): Take activation request instead of connection, we might
4823         need it for asking secrets.
4824         (nm_ppp_manager_update_secrets): Implement.
4825
4826         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
4827         ppp manager start. It might be needed for asking secrets.
4828
4829         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
4830         (ppp_state_changed): Handle pppd daemon disappearing.
4831         (pppoe_stage2_config): Send activation request to ppp manager start.
4832
4833         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
4834
4835         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
4836         username and password.
4837         
4838 2008-03-10  Dan Williams  <dcbw@redhat.com>
4839
4840         * src/nm-device.c
4841                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
4842                         response to a DHCP lease change
4843                 - (dhcp_state_changed): handle DHCP lease changes while activated
4844                 - (nm_device_set_ip4_config): remove a previously set named config
4845                         when setting an ip4 config
4846
4847 2008-03-10  Dan Williams  <dcbw@redhat.com>
4848
4849         * src/nm-serial-device.c
4850                 - (nm_serial_device_send_command): report errno on error
4851                 - (get_reply_got_data): limit the size of the overall buffer
4852                 - (wait_for_reply_info_destroy): destroy result string
4853                 - (wait_for_reply_got_data): append received data to an overall buffer
4854                         until timeout, filled buffer, or error instead of keeping a per-call
4855                         buffer.  Some devices send data slowly enough that this function
4856                         gets called multiple times for the same command stream.
4857                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
4858                         wait_for_reply_got_data() here
4859
4860 2008-03-10  Dan Williams  <dcbw@redhat.com>
4861
4862         * src/nm-cdma-device.c
4863                 - (do_dial, init_modem): handle errors from
4864                         nm_serial_device_send_command_string()
4865
4866         * src/nm-gsm-device.c
4867                 - (do_dial, manual_registration, automatic_registration_get_network,
4868                    automatic_registration, enter_pin, check_pin, init_modem): handle
4869                         errors from nm_serial_device_send_command_string()
4870
4871 2008-03-10  Dan Williams  <dcbw@redhat.com>
4872
4873         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
4874
4875         * src/named-manager/nm-named-manager.c
4876                 - (compute_searches): prefer searches before domains
4877                 - (compute_domain): new function
4878                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
4879                 - (merge_one_ip4_config): if there are no searches in the source config,
4880                         merge domains of the source config into the target config
4881                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
4882
4883 2008-03-10  Dan Williams  <dcbw@redhat.com>
4884
4885         * src/nm-serial-device.c
4886                 - (get_reply_got_data): clean up indentation, shrink serial buffer
4887                 - (wait_for_reply_got_data): try to handle slower serial devices where
4888                         the reply is broken up into multiple reads by concatenating replies
4889                         together until either an error is received or the search string is
4890                         found
4891
4892 2008-03-10  Dan Williams  <dcbw@redhat.com>
4893
4894         * src/nm-device.c
4895                 - (nm_device_bring_down): deactivate the device if it's activating too,
4896                         not just if it's already activated.  This makes sure that everything
4897                         from an association attempt is cleaned up (like DHCP for example)
4898
4899 2008-03-10  Dan Williams  <dcbw@redhat.com>
4900
4901         * src/nm-serial-device.c
4902                 - (config_fd): report error from TCSETA
4903                 - (nm_serial_device_open): fail when config_fd() fails
4904
4905 2008-03-10  Dan Williams  <dcbw@redhat.com>
4906
4907         * src/nm-ip4-config.c
4908                 - (nm_ip4_config_init): allocate searches list
4909                 - (finalize): free searches list
4910
4911 2008-03-09  Dan Williams  <dcbw@redhat.com>
4912
4913         Patch from Bas Zoetekouw <bas@debian.org>
4914
4915         * src/dhcp-manager/nm-dhcp-manager.c
4916                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
4917
4918 2008-03-09  Dan Williams  <dcbw@redhat.com>
4919
4920         Patch from Bas Zoetekouw <bas@debian.org>
4921
4922         * src/nm-ip4-config.c
4923           src/nm-ip4-config.h
4924                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
4925                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
4926                         domains.  'searches' is the correct way to store multiple search
4927                         domains, whereas 'domains' is really just supposed to store one
4928                         domain.  Some sites abuse the DHCP 'domain-name' option to push
4929                         search domains to the client.
4930                 - (nm_ip4_config_add_domain): group with related functions (my patch)
4931
4932 2008-03-09  Dan Williams  <dcbw@redhat.com>
4933
4934         * src/dhcp-manager/nm-dhcp-manager.c
4935                 - (dhclient_run): send interface-specific config files to dhclient
4936
4937 2008-03-07  Dan Williams  <dcbw@redhat.com>
4938
4939         * system-settings/plugins/ifcfg-fedora/parser.c
4940                 - (is_wireless_device): new function; test a device for wireless
4941                         extensions
4942                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
4943                         test the device for wireless extensions to determine the type
4944
4945 2008-03-07  Dan Williams  <dcbw@redhat.com>
4946
4947         Change manager's StateChange signal to StateChanged for consistency.
4948
4949         * introspection/nm-manager.xml
4950                 - Add 'StateChanged' signal
4951                 - Move 'StateChange' down to the deprecated section
4952
4953         * src/nm-hal-manager.c
4954                 - (nm_hal_manager_new): connect to 'state-changed' instead
4955
4956         * src/NetworkManagerPolicy.c
4957                 - (nm_policy_new): connect to 'state-changed' instead
4958
4959         * src/nm-manager.c
4960           src/nm-manager.h
4961                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
4962                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
4963                         of 'state-change'
4964
4965         * libnm-glib/nm-client.c
4966           libnm-glib/nm-client.h
4967                 - (constructor, nm_client_class_init, client_state_changed_proxy):
4968                         track and proxy 'state-changed' instead of 'state-change'
4969
4970 2008-03-07  Dan Williams  <dcbw@redhat.com>
4971
4972         First pass of multiple active device support.  Expect bugs.
4973
4974         * src/nm-ip4-config.c
4975           src/nm-ip4-config.h
4976                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
4977                         there are better ways to do this in the named manager
4978
4979         * src/nm-device.c
4980           src/nm-device.h
4981                 - (nm_device_can_activate): return whether the device can activate a
4982                         connection right now; taking into account things like carrier state
4983                         and rfkill state
4984                 - (nm_device_get_best_auto_connection): renamed from
4985                         nm_device_get_best_connection
4986                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
4987                         device subclasses themselves, so that each device can override the
4988                         MTU from it's NMSetting subclass if needed
4989                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
4990                         in NetworkManagerSystem.c, not here
4991
4992         * src/named-manager/nm-named-manager.c
4993           src/named-manager/nm-named-manager.h
4994                 - (nm_named_manager_name_owner_changed,
4995                    nm_named_manager_dbus_connection_changed): fix for changes to
4996                         rewrite_resolv_conf()
4997                 - (compute_nameservers): don't need the NMNamedManager at all, remove
4998                         from parameter list
4999                 - (merge_one_ip4_config): new function; merge ip4 configs together
5000                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5001                         ip4 configs; the VPN config takes precedence, then the best
5002                         device config, then the rest of the configs
5003                 - (get_domain_for_config): take the NMNamedManager as an argument
5004                         to check whether the config is the VPN config
5005                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5006                         attribute from ip4 configs
5007                 - (add_all_ip4_configs_to_named): add all the configs in priority order
5008                 - (remove_ip4_config_from_named): fix for changes to
5009                         get_domain_for_config()
5010                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5011                         based on its type; callers must pass in the type now
5012                 - (get_last_default_domain): remove, unused
5013                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5014
5015         * src/nm-device-802-11-wireless.c
5016                 - (real_can_activate): new function
5017                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5018                 - (real_act_stage4_get_ip4_config): handle MTU override
5019
5020         * src/nm-device-802-3-ethernet.c
5021                 - (real_can_activate): new function
5022                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5023                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5024
5025         * src/vpn-manager/nm-vpn-connection.c
5026                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5027                         attribute on the ip4 config
5028
5029         * src/NetworkManagerPolicy.c
5030                 - (nm_policy_auto_get_best_device): remove
5031                 - (nm_policy_device_change_check): remove
5032                 - (update_default_route): new function; set the default route via
5033                         the specified device
5034                 - (get_device_priority): new function; return the priority number of
5035                         a device type WRT which one should have the default route.  Order is
5036                         (highest to lowest)  wired, wireless, GSM, CDMA.
5037                 - (update_routing_and_dns): new function; determine which device should
5038                         have the default route, then update the routing table and DNS
5039                 - (maybe_auto_activate_device): new function; if a device is now
5040                         available for activation, find out what connection it would like to
5041                         activate and do it
5042                 - (schedule_activate_check): new function; if a device can be activated
5043                         now, schedule the activation.  Each device may have only one
5044                         pending activation at a given time.
5045                 - (device_state_changed): if activation was canceled, try again,
5046                         possibly with another connection; if the device was activated,
5047                         update routing and DNS; if the device was deactivated, try again
5048                         with another connection
5049                 - (device_carrier_changed): if there is no carrier, deactivate the
5050                         device; otherwise schedule an activation check for the device
5051                 - (wireless_networks_changed): schedule an activation check for the
5052                         device
5053                 - (device_added): keep track of the signal handler IDs so they can
5054                         be removed when the device goes away
5055                 - (device_removed): remove any signal handlers that might be attached
5056                         to the device; update routing and DNS
5057                 - (schedule_activate_all): new function
5058                 - (connections_added, connection_added, connection_updated): when
5059                         connections change, schedule all devices for an activation check
5060                 - (connection_removed): when a device is deactivated because its
5061                         connection was removed, schedule another activation check for it
5062                 - (nm_policy_destroy): destroy pending activations and disconnect
5063                         all device signal handlers
5064
5065         * src/nm-manager.c
5066                 - (nm_manager_activate_device): if the device was already actived,
5067                         deactivate it
5068                 - (deactivate_old_device): remove
5069                 - (connection_added_default_handler, impl_manager_activate_device):
5070                         don't deactivate other devices when activating this one
5071
5072         * src/backends/NetworkManagerGentoo.c
5073           src/backends/NetworkManagerFrugalware.c
5074           src/backends/NetworkManagerPaldo.c
5075           src/backends/NetworkManagerRedHat.c
5076           src/backends/NetworkManagerSlackware.c
5077           src/backends/NetworkManagerArch.c
5078           src/backends/NetworkManagerSuSE.c
5079           src/backends/NetworkManagerDebian.c
5080                 - (nm_system_get_mtu): remove; MTU should be provided through the
5081                         distro's system settings service plugin instead
5082                 - (nm_system_device_add_default_route_via_device): remove
5083                 - (nm_system_device_add_default_route_via_device_with_iface): remove
5084                 - (nm_system_device_replace_default_route): new function; call
5085                         generic implementation
5086
5087         * src/backends/NetworkManagerGeneric.c
5088           src/backends/NetworkManagerGeneric.h
5089                 - (nm_generic_device_add_default_route_via_device,
5090                    nm_generic_device_add_default_route_via_device_with_iface): remove
5091                 - (nm_generic_device_replace_default_route): replace the default route
5092                         with the given route via some gateway
5093
5094         * src/NetworkManagerSystem.c
5095           src/NetworkManagerSystem.h
5096                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5097                         to routing and DNS; but set the MTU here
5098                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5099                         ip_iface of the active device; use the standard MTU setting function
5100                 - (nm_system_set_mtu): remove
5101                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5102
5103 2008-03-07  Tambet Ingo  <tambet@gmail.com>
5104
5105         Rework the interaction between ppp manager and pppd plugin. Register a well
5106         known DBUS service in manager and let the plugin call it's methods instead
5107         of listening plugin's signals.
5108
5109         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5110         of emitting signals.
5111
5112         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5113
5114         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5115
5116         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5117         nm_ppp_manager_start().
5118
5119         * introspection/nm-ppp-manager.xml: New file.
5120
5121         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5122         the case correctly where driver is trying to send -1 for the speed, which gets
5123         casted to u16 and thus is always > 0.
5124
5125 2008-03-07  Dan Williams  <dcbw@redhat.com>
5126
5127         * src/nm-hal-manager.c
5128                 - (nm_get_device_driver_name): use net.originating_device first, fall
5129                         back to physical device.  HAL has deprecated physical_device.
5130
5131         * libnm-glib/nm-device.c
5132                 - (get_product_and_vendor): use net.originating_device first, fall
5133                         back to physical device.  HAL has deprecated physical_device.
5134                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5135
5136 2008-03-07  Dan Williams  <dcbw@redhat.com>
5137
5138         * src/nm-netlink.c
5139                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5140                         last commit; fix that
5141                 - (get_link_cache): print error string
5142
5143 2008-03-07  Dan Williams  <dcbw@redhat.com>
5144
5145         * src/nm-netlink.c
5146                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5147                         don't need this hack any more (Benoit Boissinot)
5148
5149 2008-03-06  Dan Williams  <dcbw@redhat.com>
5150
5151         * autogen.sh
5152                 - Die gnome-common, die
5153
5154 2008-03-04  Dan Williams  <dcbw@redhat.com>
5155
5156         Patch from Michael Biebl <biebl@debian.org>
5157
5158         * NetworkManager.pc.in
5159                 - doesn't actually depend on dbus-1
5160
5161         * libnm-util/nm-utils.h
5162                 - remove unused #include <dbus/dbus.h>
5163
5164         * libnm-glib/libnm_glib.pc.in
5165                 - depends on glib and dbus-glib
5166
5167 2008-03-02  Dan Williams  <dcbw@redhat.com>
5168
5169         * src/NetworkManagerPolicy.c
5170                 - s/device_state_changed_idle_id/update_state_id/
5171
5172 2008-03-02  Dan Williams  <dcbw@redhat.com>
5173
5174         * src/nm-device.c
5175           src/nm-device.h
5176           src/nm-device-802-11-wireless.c
5177           src/nm-device-802-3-ethernet.c
5178           src/NetworkManagerPolicy.c
5179                 - s/link_active/carrier
5180                 - nm_device_set_active_link() -> nm_device_set_carrier()
5181                 - nm_device_has_active_link() -> nm_device_get_carrier()
5182
5183 2008-03-02  Dan Williams  <dcbw@redhat.com>
5184
5185         * system-settings/plugins/ifcfg-fedora/parser.c
5186                 - (make_wireless_setting): fail connection creation on missing SSID
5187
5188 2008-02-29  Dan Williams  <dcbw@redhat.com>
5189
5190         * src/NetworkManagerPolicy.c
5191                 - (nm_policy_device_change_check): ensure that a previously active
5192                         device with a system connection has a link before denying a switch
5193                         to a user connection
5194
5195 2008-02-29  Dan Williams  <dcbw@redhat.com>
5196
5197         * src/nm-device-802-11-wireless.c
5198                 - (link_timeout_cb): try again if scanning; deactivate the device when
5199                         activated if the link dies
5200                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5201                         15 seconds
5202
5203 2008-02-29  Dan Williams  <dcbw@redhat.com>
5204
5205         * src/nm-device-802-11-wireless.c
5206           src/nm-device-802-11-wireless.h
5207                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5208                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5209                 - (device_cleanup): reset the scan interval lower when the device
5210                         deactivates
5211                 - (can_scan): base decision mostly off device state, not supplicant
5212                         interface state since the supplicant interface state isn't a
5213                         great indicator of whether the device is active or not
5214                 - (request_wireless_scan): clean up; schedule the next scan here
5215                 - (schedule_scan): only back the scan interval off if a new scan
5216                         actually gets scheduled; and make scan intervals tighter when the
5217                         device is disconnected
5218                 - (supplicant_iface_state_cb_handler): fold in the bits of
5219                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5220                         interval to minimum
5221                 - (activation_success_handler): reset scan interval to something
5222                         reasonable 
5223
5224 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
5225
5226         reviewed by: Steev <steev@steev.net>
5227
5228         * configure.in:
5229         * src/backends/NetworkManagerGentoo.c:
5230         (nm_system_restart_mdns_responder):
5231                 Howl is no longer a supported mDNS provider
5232
5233 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5234
5235         Get rid of a bunch of unused distro specific functions.
5236
5237 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5238
5239         Implement suse plugin for system settings daemon.
5240
5241         * system-settings/plugins/ifcfg-suse/*: Implement.
5242
5243         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5244         suse.
5245
5246         * configure.in: Check (without failing) for gio.
5247         Create ifcfg-suse plugin's Makefile.
5248
5249 2008-02-20  Dan Williams  <dcbw@redhat.com>
5250
5251         * libnm-util/nm-connection.c
5252           libnm-util/nm-connection.h
5253                 - (nm_connection_compare): accept compare flags and pass them to the
5254                         setting compare function
5255
5256         * libnm-util/nm-setting.c
5257           libnm-util/nm-setting.h
5258                 - (nm_setting_compare): accept compare flags; ignore properties that are
5259                         marked fuzzy
5260
5261         * libnm-util/nm-setting-connection.c
5262           libnm-util/nm-setting-wireless.c
5263           libnm-util/nm-setting-ppp.c
5264           libnm-util/nm-setting-wired.c
5265                 - Mark some setting properties as ignorable when doing a fuzzy compare
5266
5267         * src/nm-device.c
5268                 - (device_activation_precheck): use exact compare
5269
5270 2008-02-20  Dan Williams  <dcbw@redhat.com>
5271
5272         * src/NetworkManagerPolicy.c
5273                 - (nm_policy_device_change_check): get scope off the connection, not
5274                         using the manager helper
5275
5276         * src/nm-manager.c
5277           src/nm-manager.h
5278                 - (get_scope_for_proxy): rename from get_type_for_proxy()
5279                 - (connection_get_settings_cb): set scope and path on connection, not
5280                         using GObject data items
5281                 - (get_connection_for_proxy): don't need to return path, since that
5282                         can be gotten from the connection
5283                 - (get_connection_for_proxy): get path off the connection, not from
5284                         parameters
5285                 - (connection_removed_cb, connection_updated_cb): don't need to get
5286                         path from get_connection_for_proxy(); get scope off the connection
5287                         instead of using GObject data items
5288                 - (connection_added_default_handler, add_one_connection_element): use
5289                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5290                 - (nm_manager_get_connection_dbus_path): remove
5291                 - (nm_manager_get_connection_scope): remove
5292
5293 2008-02-20  Dan Williams  <dcbw@redhat.com>
5294
5295         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5296                 on confusing names
5297
5298         * Add 'path' and 'scope' properties to NMConnection since both NM and the
5299                 applet were having to hack this in anyway.  Remove the 'path' stuff from
5300                 NMExportedConnection
5301
5302         * Internally rename NMConnectionType -> NMConnectionScope
5303
5304         * Provide default implementations of the 'get_id' and 'get_settings' methods
5305                 of NMExportedConnection
5306
5307 2008-02-15  Dan Williams  <dcbw@redhat.com>
5308
5309         * src/nm-device-802-11-wireless.c
5310                 - (device_cleanup): release the AP list here too so that the AP list
5311                         doesn't survive across suspend/resume and up/down.  There is some
5312                         room for optimization, for example blow the list away when the card
5313                         brought back up, but only if the device has only been down for a
5314                         minute or more.
5315
5316 2008-02-15  Dan Williams  <dcbw@redhat.com>
5317
5318         * src/nm-hal-manager.c
5319                 - (modem_device_creator): recognize new HAL modem capabilities
5320
5321 2008-02-12  Dan Williams  <dcbw@redhat.com>
5322
5323         * system-settings/plugins/ifcfg-fedora/plugin.c
5324                 - (watch_path): handle IN_DELETE_SELF too
5325                 - (handle_connection_changed): notify when removing a connection
5326                 - (stuff_changed): don't warn on unknown inotify watches; handle the
5327                         case of a file moving out of the profile directory
5328
5329 2008-02-12  Dan Williams  <dcbw@redhat.com>
5330
5331         * system-settings/plugins/ifcfg-fedora/parser.c
5332                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5333
5334 2008-02-12  Dan Williams  <dcbw@redhat.com>
5335
5336         * libnm-util/nm-utils.c
5337                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5338                         just any empty array
5339
5340 2008-02-12  Dan Williams  <dcbw@redhat.com>
5341
5342         * system-settings/src/nm-system-config-interface.c
5343           system-settings/src/nm-system-config-interface.h
5344                 - (load_connections): get_connections() should now return an allocated
5345                         GSList that the system settings service will free
5346
5347         * system-settings/plugins/ifcfg-fedora/plugin.c
5348           system-settings/plugins/ifcfg-fedora/parser.h
5349           system-settings/plugins/ifcfg-fedora/parser.c
5350                 - Fix up inotify issues; handle keys-* files, handle new files appearing
5351                         in the profile directory, handle resolv.conf file changes
5352
5353 2008-02-10  Dan Williams  <dcbw@redhat.com>
5354
5355         * src/nm-device-802-3-ethernet.c
5356                 - (real_bring_up): save the supplicant interface state signal id
5357                 - (real_bring_down): disconnect from the supplicant interface state
5358                         signal
5359
5360 2008-02-07  Dan Williams  <dcbw@redhat.com>
5361
5362         * initscript/RedHat/NetworkManager.in
5363           initscript/RedHat/NetworkManagerDispatcher.in
5364                 - Add new-style LSB init headers
5365
5366 2008-02-07  Dan Williams  <dcbw@redhat.com>
5367
5368         * system-settings/src/dbus-settings.c
5369           system-settings/src/dbus-settings.h
5370                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5371                         table of secrets
5372                 - (connection_settings_get_secrets): consolidate error returns into
5373                         one place; use the new get_secrets() plugin interface function to
5374                         get secrets from the plugin itself rather than using GObject data
5375                         magic
5376
5377         * system-settings/src/main.c
5378                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5379                    load_connections): keep a private list of the plugin-returned
5380                         connections, don't use the plugin's GSList
5381
5382         * system-settings/plugins/ifcfg-fedora/plugin.c
5383                 - (watch_path): watch the path, not the filename (duh)
5384                 - (reload_all_connections): use the direct hash/equal functions; the
5385                         ones for int aren't appropriate here
5386                 - (get_secrets, system_config_interface_init): implement the
5387                         get_secrets() function
5388                 - (build_one_connection, find_connection_by_path): ifcfg file path is
5389                         now in the connection's ConnectionData instead of being a GObject
5390                         data property
5391                 - (handle_profile_item_changed): ifcfg file path is now in the
5392                         connection's ConnectionData instead of being a GObject data property;
5393                         be sure to copy secrets over from the new connection to the existing
5394                         connection when updating the connection's settings
5395                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5396                         file descriptor
5397
5398         * system-settings/plugins/ifcfg-fedora/parser.c
5399           system-settings/plugins/ifcfg-fedora/parser.h
5400                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5401                    connection_data_copy_secrets, connection_data_free,
5402                    connection_data_add): new functions; connection data manipulation
5403                 - (make_wireless_security_setting): stuff secrets into the
5404                         connection data, not as GObject data items; make sure to close
5405                         the keys ifcfg file
5406                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5407                         connection data to the connection
5408
5409 2008-02-07  Dan Williams  <dcbw@redhat.com>
5410
5411         * system-settings/src/nm-system-config-interface.c
5412           system-settings/src/nm-system-config-interface.h
5413                 - Add a get_secrets() interface function to retrieve secrets for a
5414                         specific setting of a specific connection.  Document the interface
5415                         a bit more too.
5416
5417 2008-02-07  Dan Williams  <dcbw@redhat.com>
5418
5419         * src/nm-device-802-11-wireless.c
5420                 - (handle_auth_or_fail): new function; consolidate device activation
5421                         failure check after a certain number of failures getting secrets
5422                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5423                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5424                         the connection if secrets were requested more than a few times
5425                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5426                         tries here; otherwise they are cleared before the IP configure
5427                         timeout, which happens with open system WEP when key is wrong
5428                 - (activation_success_handler): clear wireless secrets tries here too
5429
5430 2008-02-07  Dan Williams  <dcbw@redhat.com>
5431
5432         * src/NetworkManagerPolicy.c
5433                 - (connection_updated): clear invalid tag when connection gets updated
5434                         to allow that connection to be tried again
5435                 - (nm_policy_new): save signal ids so they can be disconnected when
5436                         the policy is destroyed
5437                 - (nm_policy_destroy): stop any in-progress state change idle handler,
5438                         and disconnect all signals from the manager object so that none
5439                         of the policy functions gets called after the policy is destroyed
5440
5441 2008-02-06  Dan Williams  <dcbw@redhat.com>
5442
5443         * src/nm-manager.c
5444                 - (finalize): remove devices a bit earlier; clean up system settings
5445                         poke
5446                 - (nm_manager_name_owner_changed): clean up system settings poke when
5447                         the service appears, and try to restart it if it fails
5448                 - (poke_system_settings_daemon_cb): try to get the system settings
5449                         service started through D-Bus service activation
5450                 - (initial_get_connections): start the system settings daemon if it's
5451                         not already running
5452
5453 2008-02-05  Dan Williams  <dcbw@redhat.com>
5454
5455         * src/supplicant-manager/nm-supplicant-config.c
5456                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5457                         broadcast networks too
5458
5459 2008-02-04  Dan Williams  <dcbw@redhat.com>
5460
5461         * system-settings/plugins/ifcfg-fedora/parser.c
5462                 - (make_wireless_security_setting): fix spelling; unencrypted networks
5463                         need key_mgmt set too
5464                 - (parser_parse_file): validate ifcfg file name and don't try to parse
5465                         .bak files; ensure that an error is set whenever NULL gets returned
5466
5467 2008-02-04  Dan Williams  <dcbw@redhat.com>
5468
5469         * system-settings/src/Makefile.am
5470                 - Install D-Bus service activation file for the system settings
5471                         service
5472
5473         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5474                 - D-Bus service activation file for system settings service
5475
5476 2008-02-04  Dan Williams  <dcbw@redhat.com>
5477
5478         * system-settings/src/main.c
5479                 - (parse_config_file): parse a config file
5480                 - (main): accept --config option and read plugins from config file
5481
5482 2008-02-04  Dan Williams  <dcbw@redhat.com>
5483
5484         * system-settings/plugins/ifcfg-fedora/plugin.c
5485                 - Change reported name to 'ifcfg-fedora'
5486                 - Use IFCFG_PLUGIN_NAME
5487
5488         * system-settings/plugins/ifcfg-fedora/plugin.c
5489                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5490
5491 2008-02-04  Dan Williams  <dcbw@redhat.com>
5492
5493         * system-settings/plugins/ifcfg-fedora/parser.c
5494                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5495                 - (make_connection_setting): use get_ifcfg_name()
5496                 - (make_wireless_security_setting): handle shadow key files
5497                 - (get_one_wep_key): treat empty string as NULL
5498
5499 2008-02-04  Dan Williams  <dcbw@redhat.com>
5500
5501         * src/supplicant-manager/nm-supplicant-manager.c
5502                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5503                         glib automatically reschedule
5504                 - (nm_supplicant_manager_init): immediately try to start the supplicant
5505                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5506                         the supplicant
5507
5508 2008-02-01  Dan Williams  <dcbw@redhat.com>
5509
5510         * src/NetworkManagerPolicy.c
5511                 - (device_state_changed): schedule a change check when a device gets
5512                         deactivated so something happens if you disconnect GSM/CDMA
5513
5514 2008-01-31  Dan Williams  <dcbw@redhat.com>
5515
5516         * src/nm-device-802-11-wireless.h
5517           src/nm-device-802-11-wireless.c
5518                 - (ap_list_get_ap_by_ssid, is_associated,
5519                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5520                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5521                 - (nm_device_802_11_wireless_get_activation_ap): collapse
5522                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5523                         function
5524
5525 2008-01-30  Dan Williams  <dcbw@redhat.com>
5526
5527         * system-settings/plugins/ifcfg
5528         * system-settings/plugins/ifcfg-fedora
5529                 - Move the ifcfg plugin to ifcfg-fedora
5530
5531 2008-01-24  Dan Williams  <dcbw@redhat.com>
5532
5533         * libnm-glib/nm-device-802-11-wireless.c
5534                 - (get_access_point): move the "/" check here; check for invalid path
5535                         too
5536                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5537                         to get_access_point()
5538                 - (access_point_added_proxy, access_point_removed_proxy): don't try
5539                         to send signals for non-existent access points
5540
5541 2008-01-24  Dan Williams  <dcbw@redhat.com>
5542
5543         * libnm-glib/nm-device-802-11-wireless.c
5544                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5545
5546 2008-01-23  Dan Williams  <dcbw@redhat.com>
5547
5548         * libnm-glib/libnm_glib.c
5549                 - (libnm_glib_init): make thread joinable
5550                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5551
5552 2008-01-23  Dan Williams  <dcbw@redhat.com>
5553
5554         * test/libnm_glib_test.c
5555                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5556                 - (main): set up signal handlers; call libnm_glib_shutdown
5557
5558 2008-01-21  Dan Williams  <dcbw@redhat.com>
5559
5560         * include/NetworkManager.h
5561                 - Add CDMA mobile broadband card device type
5562
5563         * src/nm-hal-manager.c
5564                 - (modem_device_creator): handle both CDMA and GSM modems; the device
5565                         must now be tagged with 'cdma' or 'gsm' capability
5566
5567         * src/nm-cdma-device.c
5568           src/nm-cdma-device.h
5569           src/Makefile.am
5570                 - Add the CDMA mobile broadband card device class
5571
5572         * libnm-util/nm-connection.c
5573                 - (register_default_settings): add NMSettingCdma
5574
5575         * libnm-util/nm-setting-cdma.c
5576           libnm-util/nm-setting-cdma.h
5577           libnm-util/Makefile.am
5578                 - Add the CDMA mobile broadband card setting class
5579
5580         * libnm-glib/nm-cdma-device.c
5581           libnm-glib/nm-cdma-device.h
5582           libnm-glib/Makefile.am
5583                 - Add the CDMA mobile broadband card GLib proxy class
5584
5585         * libnm-glib/nm-client.c
5586                 - (get_device): handle CDMA devices too
5587
5588 2008-01-21  Dan Williams  <dcbw@redhat.com>
5589
5590         * src/ppp-manager/nm-ppp-manager.c
5591                 - (ip4_config_get): set peer address too
5592
5593         * src/ppp-manager/nm-pppd-plugin.c
5594                 - (nm_ip_up): try harder to get the peer's address
5595
5596         * src/NetworkManagerSystem.c
5597                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
5598                         address, use that too.  Otherwise, some PPP connections won't work.
5599
5600 2008-01-19  Dan Williams  <dcbw@redhat.com>
5601
5602         * src/NetworkManagerPolicy.c
5603                 - (nm_policy_device_change_check): system connections override user
5604                         connections; don't activate a user connection if there's a currently
5605                         active system connection, and new, better system connections always
5606                         interrupt user connections
5607
5608 2008-01-19  Dan Williams  <dcbw@redhat.com>
5609
5610         * src/nm-manager.h
5611                 - (nm_manager_get_connection_type): new function
5612
5613 2008-01-19  Dan Williams  <dcbw@redhat.com>
5614
5615         * src/nm-device-802-11-wireless.c
5616                 - (real_get_best_connection): collapse find_best_connection() into this
5617                         function
5618
5619 2008-01-19  Dan Williams  <dcbw@redhat.com>
5620
5621         * src/nm-device-802-3-ethernet.c
5622                 - (real_get_best_connection): collapse find_best_connection() into this
5623                         function
5624
5625 2008-01-18  Dan Williams  <dcbw@redhat.com>
5626
5627         * src/nm-device-802-3-ethernet.c
5628                 - (find_best_connection): check MAC address too
5629                 - (real_get_best_connection): let autoconnect=True connections activate
5630                         for devices that don't have carrier detection
5631
5632         * src/nm-device-802-11-wireless.c
5633                 - (find_best_connection): check MAC address too
5634
5635 2008-01-18  Dan Williams  <dcbw@redhat.com>
5636
5637         * system-settings/plugins/ifcfg/parser.c
5638                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
5639
5640 2008-01-17  Dan Williams  <dcbw@redhat.com>
5641
5642         * src/nm-device-802-3-ethernet.c
5643                 - (nm_device_802_3_ethernet_carrier_on,
5644                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
5645                         carrier events that might come in for devices that don't support
5646                         carrier detect
5647
5648 2008-01-17  Dan Williams  <dcbw@redhat.com>
5649
5650         * src/nm-device-interface.c
5651                 - (nm_device_interface_check_connection_conflicts): need to actually
5652                         get the interface, not cast to the object
5653
5654         * src/nm-device.c
5655                 - (nm_device_check_connection_conflicts): need to get the device class,
5656                         not cast the device to the device class
5657
5658 2008-01-17  Dan Williams  <dcbw@redhat.com>
5659
5660         * src/nm-device-802-11-wireless.c
5661                 - (real_check_connection_conflicts): ignore connections that aren't
5662                         wireless connections
5663
5664 2008-01-17  Dan Williams  <dcbw@redhat.com>
5665
5666         * src/NetworkManagerPolicy.c
5667                 - (nm_policy_device_change_check): clear change check idle here
5668                 - (device_change_check_done): remove
5669                 - (schedule_change_check): simplify
5670
5671 2008-01-17  Dan Williams  <dcbw@redhat.com>
5672
5673         * src/nm-manager.c
5674                 - (check_connection_allowed): take an NMDeviceInterface instead of
5675                         an NMDevice object as an argument
5676                 - (nm_manager_activate_device): pass an NMDeviceInterface to
5677                         check_connection_allowed()
5678
5679 2008-01-13  Dan Williams  <dcbw@redhat.com>
5680
5681         * libnm-glib/nm-device-802-11-wireless.c
5682                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
5683
5684 2008-01-12  Dan Williams  <dcbw@redhat.com>
5685
5686         * src/nm-device-802-11-wireless.c
5687                 - (activation_success_handler): if a match was found in the scan list
5688                         and that match is a hidden AP, update that AP's SSID
5689
5690 2008-01-11  Dan Williams  <dcbw@redhat.com>
5691
5692         * src/NetworkManagerAP.c
5693                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
5694
5695         * src/nm-device-802-11-wireless.c
5696                 - (get_active_ap): do two passes over the scan list if the caller
5697                         requests that hidden APs get matched too; during the second pass
5698                         when matching hidden APs, ignore the SSID since hidden APs in the
5699                         scan list don't have an SSID yet
5700                 - (periodic_update): move some checks to
5701                         nm_device_802_11_periodic_update() because not all callers need them
5702                 - (nm_device_802_11_periodic_update): move some checks here from
5703                         perodic_update()
5704                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
5705                         matching on incoming scan results, because the fake AP's flags
5706                         might be slightly different (yet still compatible) with the incoming
5707                         scan result's flags and they might actually be the same AP; update
5708                         the rate on merged APs too
5709                 - (activation_success_handler): update the frequency of the fake AP
5710                         on successful connection; match hidden APs too since if the
5711                         current AP is fake, there might already be a scan result in the
5712                         scan list for the desired AP, just without it's SSID filled in yet
5713
5714 2008-01-10  Dan Williams  <dcbw@redhat.com>
5715
5716         * src/NetworkManagerAP.c
5717                 - (foreach_property_cb): catch more hidden SSID formats
5718
5719 2008-01-10  Dan Williams  <dcbw@redhat.com>
5720
5721         Fix gnome.org #464215.  Requires the kernel patch titled
5722         "Introduce WEXT scan capabilities" but will handle the patch not being
5723         present, you'll just continue to have problems with hidden SSIDs when
5724         using mac80211-based drivers.
5725
5726         * src/supplicant-manager/nm-supplicant-config.h
5727           src/supplicant-manager/nm-supplicant-config.c
5728                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
5729                         whether the driver supports SSID scans or not.  If it does, and if
5730                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
5731
5732         * src/nm-device-802-11-wireless.c
5733                 - (constructor): check whether or not the driver supports SSID scans
5734                 - (build_supplicant_config): pass driver SSID scan capability when
5735                         building the wireless bits of the supplicant config
5736
5737 2008-01-09  Dan Williams  <dcbw@redhat.com>
5738
5739         * src/nm-device.c
5740           src/nm-device.h
5741                 - (device_activation_precheck, check_connection_complete): remove this
5742                         virtual function; incomplete connections should be invalid by
5743                         definition, complete-ness should be checked in the setting's
5744                         verify function
5745
5746         * src/nm-serial-device.c
5747           src/nm-gsm-device.c
5748                 - (real_check_connection_complete): remove
5749
5750         * libnm-util/nm-setting-serial.c
5751                 - (verify): new function; ensure there is a PPP setting too
5752
5753         * libnm-util/nm-setting-gsm.c
5754                 - (verify): ensure there is a serial setting too
5755
5756 2008-01-06  Dan Williams  <dcbw@redhat.com>
5757
5758         * src/dhcp-manager/nm-dhcp-manager.c
5759                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
5760                         (gnome.org #332953)
5761
5762 2008-01-04  Dan Williams  <dcbw@redhat.com>
5763
5764         * src/named-manager/nm-named-manager.c
5765                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
5766                         nameservers if the secondary config doesn't have any
5767                         (gnome.org #346833)
5768
5769 2008-01-02  Tambet Ingo  <tambet@gmail.com>
5770
5771         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
5772         with G_PARAM_CONSTRUCT so that they get the default values.
5773
5774         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
5775         the monitoring device and prints out the output for now. Or more precicely, doesn't
5776         do absolutely anything right now since the montoring device argument is never set.
5777
5778         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
5779         requires it's own knob to turn it on.
5780         (config_fd): Add NMSettingSerial to the arguments list.
5781         (nm_serial_device_open): Ditto.
5782         (get_reply_got_data): Ignore the terminators at the beginning of the output.
5783         (nm_serial_device_get_io_channel): Implement.
5784
5785         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
5786         a new reference every time (and forgetting to release it sometimes) is a pain and
5787         it's not like NMManager could work without dbus.
5788         (nm_manager_add_device): Register the added device on dbus here.
5789
5790         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
5791         device.
5792
5793         * src/nm-device.c (constructor): Don't export the device here, instead export
5794         it when it's added to the NMManager's device list.
5795
5796 2007-12-31  Dan Williams  <dcbw@redhat.com>
5797
5798         * src/nm-device-interface.c
5799           src/nm-device-interface.h
5800                 - (nm_device_interface_check_connection_conflicts): new function
5801
5802         * src/nm-device.c
5803           src/nm-device.h
5804                 - (nm_device_check_connection_conflicts): new function
5805                 - (device_activation_precheck): don't require subclasses to implement
5806                         check_connection_complete()
5807                 - check_connection() -> check_connection_complete()
5808
5809         * src/nm-device-802-11-wireless.c
5810                 - (real_check_connection): remove; unused
5811                 - (real_check_connection_conflicts): implement, handle lockdown for
5812                         system connections
5813
5814         * src/nm-device-802-3-ethernet.c
5815                 - (real_check_connection): remove; unused
5816
5817         * src/nm-manager.c
5818                 - (check_connection_allowed): new function
5819                 - (nm_manager_activate_device): ensure the connection being requested
5820                         is allowed to be activated
5821
5822         * src/nm-serial-device.c
5823           src/nm-gsm-device.c
5824                 - real_check_connection() -> real_check_connection_complete()
5825
5826 2007-12-27  Dan Williams  <dcbw@redhat.com>
5827
5828         * src/nm-device-interface.c
5829           src/nm-device-interface.h
5830                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
5831                         normalize and expand errors
5832                 - (nm_device_interface_init): register errors so they can be marshalled
5833                         through dbus-glib
5834                 - (nm_device_interface_activate): ensure that failure of activation
5835                         returns an error
5836
5837         * src/nm-device.c
5838           src/nm-device.h
5839                 - (device_activation_precheck): implementations of check_connection()
5840                         now take a GError and must fill it in if the check fails.  Return
5841                         more descriptive error if the requested connection is already
5842                         activating
5843                 - (nm_device_activate): actually try to return descriptive errors on
5844                         failures
5845
5846         * src/nm-device-802-11-wireless.c
5847           src/nm-device-802-3-ethernet.c
5848           src/nm-serial-device.c
5849           src/nm-gsm-device.c
5850                 - (real_check_connection): return more descriptive errors on failure
5851
5852         * src/NetworkManagerPolicy.c
5853                 - (nm_policy_device_change_check): print activation errors in the logs
5854
5855         * src/nm-manager.c
5856                 - (nm_manager_error_quark, nm_manager_error_get_type,
5857                    nm_manager_class_init): new errors
5858                 - (nm_manager_activate_device): handle errors
5859                 - (nm_manager_error_new): removed
5860                 - (wait_for_connection_expired, connection_added_default_handler,
5861                    impl_manager_activate_device): better error handling
5862
5863 2007-12-27  Dan Williams  <dcbw@redhat.com>
5864
5865         Fixes gnome.org #466954
5866
5867         * src/supplicant-manager/nm-supplicant-settings-verify.c
5868                 - Allow 'frequency' network property
5869
5870         * src/supplicant-manager/nm-supplicant-config.c
5871           src/supplicant-manager/nm-supplicant-config.h
5872                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
5873                         for callers to specify the frequency an Ad-Hoc network should operate
5874                         on.  Some drivers require this to successfully create an Ad-Hoc
5875                         network.
5876
5877         * src/nm-device-802-11-wireless.c
5878                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
5879                         guint32 value in MHz
5880                 - (constructor, nm_device_802_11_wireless_get_frequency): use
5881                         iw_freq_to_uint32()
5882                 - (find_supported_frequency): new function; find a free supported
5883                         frequency for a user-created Ad-Hoc network
5884                 - (build_supplicant_config): if no frequency was specified for a user-
5885                         created Ad-Hoc network, find a free one to use
5886                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
5887                         a specific object as user-created
5888
5889 2007-12-27  Dan Williams  <dcbw@redhat.com>
5890
5891         * libnm-util/nm-utils.c
5892           libnm-util/nm-utils.h
5893                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
5894                         for adhoc networks
5895
5896 2007-12-24  Dan Williams  <dcbw@redhat.com>
5897
5898         * libnm-util/nm-setting-wireless.c
5899                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
5900                         185, 187, 188, 192, and 196
5901
5902 2007-12-24  Dan Williams  <dcbw@redhat.com>
5903
5904         * src/nm-device-802-11-wireless.c
5905                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
5906                         a channel # instead of a frequency
5907
5908 2007-12-24  Dan Williams  <dcbw@redhat.com>
5909
5910         * src/NetworkManagerAP.c
5911           src/NetworkManagerAP.h
5912                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
5913                 - (freq_to_channel): handle split band tables
5914                 - (channel_to_freq): handle split band tables, take a band argument
5915
5916 2007-12-24  Dan Williams  <dcbw@redhat.com>
5917
5918         * libnm-util/nm-setting-connection.h
5919           libnm-util/nm-setting-connection.c
5920                 - Add 'lockdown' member
5921
5922 2007-12-22  Dan Williams  <dcbw@redhat.com>
5923
5924         * libnm-util/nm-setting-wireless.c
5925                 - (nm_setting_wireless_class_init): add missing 'rate' property
5926                         specification
5927
5928 2007-12-18  Dan Williams  <dcbw@redhat.com>
5929
5930         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
5931
5932         * src/nm-netlink-monitor.c
5933           src/nm-netlink-monitor.h
5934                 - Remove handrolled netlink, use libnl instead
5935
5936         * src/nm-device-802-3-ethernet.c
5937                 - (constructor, nm_device_802_3_ethernet_carrier_off,
5938                    nm_device_802_3_ethernet_carrier_on): use new names
5939
5940 2007-12-17  Dan Williams  <dcbw@redhat.com>
5941
5942         * configure.in
5943                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
5944                         and fixes memory leaks)
5945
5946         * src/nm-netlink.c
5947                 - (nm_netlink_get_default_handle): handle new versions of libnl that
5948                         automatically handle the netlink PID
5949
5950 2007-12-17  Dan Williams  <dcbw@redhat.com>
5951
5952         Patch from Michael Biebl <biebl@debian.org>
5953
5954         * configure.in
5955           src/ppp-manager/Makefile.am
5956                 - fix up install dir of pppd plugin
5957                 - clean up configure.in a bit
5958
5959 2007-12-12  Dan Williams  <dcbw@redhat.com>
5960
5961         * system-settings/src/nm-system-settings.conf
5962                 - Allow non-root clients (like the applet) to read settings
5963
5964 2007-12-10  Tambet Ingo  <tambet@gmail.com>
5965
5966         * Replace all occurences of 'UMTS' with 'GSM'.
5967
5968 2007-12-07  Dan Williams  <dcbw@redhat.com>
5969
5970         * src/nm-serial-device.c
5971                 - (real_is_up): serial devices are always "up"
5972
5973 2007-12-07  Dan Williams  <dcbw@redhat.com>
5974
5975         * src/nm-netlink.c
5976           src/NetworkManagerSystem.c
5977                 - (new_nl_handle): ensure that the same netlink pid is never chosen
5978                         twice (gnome.org #491047)
5979                 - Make more robust against allocation-related failures should they occur
5980
5981 2007-12-07  Dan Williams  <dcbw@redhat.com>
5982
5983         Noticed by Christian Persch <chpe@gnome.org>
5984
5985         Always chain up to parent object in dispose and finalize handlers.
5986                 (gnome.org #433112)
5987
5988 2007-12-07  Dan Williams  <dcbw@redhat.com>
5989
5990         * src/nm-device-802-11-wireless.c
5991                 - Wrap #include of linux/mii.h to fix redefined structures due to
5992                         incorrect kernel headers (gnome.org #350061)
5993
5994 2007-12-06  Tambet Ingo  <tambet@gmail.com>
5995
5996         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
5997         before doing anything else.
5998         (init_modem): Move modem initialization here.
5999
6000         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6001         (nm_serial_device_flash): Implement.
6002
6003         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6004         changes signal is "StateChanged" and not "Status".
6005         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6006
6007 2007-12-06  Dan Williams  <dcbw@redhat.com>
6008
6009         * src/supplicant-manager/nm-supplicant-config.c
6010                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6011                         to only send some options when they make sense; also send phase2
6012                         option to the supplicant (possible fix for rh #399631)
6013
6014 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6015
6016         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6017         arguments: This whole file shouldn't really know anything about NMDevices, it
6018         should deal only with device interfaces. Devices might have different ifaces for
6019         different stuff and this place shouldn't know anything about it.
6020
6021         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6022         (global_state_changed): Implement. In the current NM it's not really important,
6023         but will be required in the case of multiple active devices. (Or even better,
6024         if stuff like that gets moved out from NM).
6025
6026         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6027         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
6028         instead.
6029
6030         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6031         devices like serial devices (ttyS0 and ppp0 for example).
6032         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6033         set.
6034         (nm_device_set_ip_iface): Implement.
6035         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6036         after setting ip4_config from here ...
6037         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6038         than this function should call nm_system_device_set_from_ip4_config() because no
6039         other code has enough information on which arguments to use. So instead, other code
6040         could just set the new ip4 config using this function and everyone is happy.
6041
6042         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6043         if we happen to get deactivated while something is pending.
6044         (automatic_registration): Handle the response that indicates pending network
6045         registration and wait until the pending registration is done.
6046         (real_deactivate_quickly): If there's a pending operation, cancel it.
6047
6048         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6049         (real_deactivate_quickly): ... and remove it when it's down.
6050         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6051         it if needed.
6052         (nm_serial_device_wait_for_reply): Ditto.
6053
6054 2007-12-05  Tambet Ingo  <tambet@gmail.com>
6055
6056         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6057         (get_network_done): Remove newline, nm_info() does it already.
6058         (real_act_stage1_prepare): Turn the modem echo off.
6059
6060         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6061         device, set the route to the device interface. This is a hack.
6062
6063         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
6064         return, no need for a new-line.
6065         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6066         Change the device iface here (ugh).
6067         (real_act_stage4_get_ip4_config): Implement.
6068         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6069         Restore the device iface.
6070
6071         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6072         device is not wired or wireless (eg, automatically upped) device.
6073
6074         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6075         it isn't.
6076         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6077
6078         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6079         before calling it's is_device_fn().
6080
6081 2007-12-05  Dan Williams  <dcbw@redhat.com>
6082
6083         * libnm-util/nm-utils.c
6084                 - (nm_utils_register_value_transformations,
6085                    nm_utils_convert_gvalue_hash_to_string): better debug output of
6086                         GHashTables of GValues too
6087
6088 2007-12-04  Dan Williams  <dcbw@redhat.com>
6089
6090         * initscript/RedHat/NetworkManager.in
6091                 - No longer start named; it's D-Bus interface is going away
6092
6093 2007-12-04  Dan Williams  <dcbw@redhat.com>
6094
6095         Patch from Michael Biebl <biebl@debian.org>
6096
6097         * system-settings/plugins/ifcfg/Makefile.am
6098           system-settings/src/main.c
6099           system-settings/src/Makefile.am
6100                 - Put system settings plugins in NM plugins dir
6101
6102         * src/ppp-manager/Makefile.am
6103           src/ppp-manager/nm-ppp-manager.c
6104                 - Move pppd plugin to NM plugins dir
6105
6106 2007-12-04  Dan Williams  <dcbw@redhat.com>
6107
6108         * libnm-util/nm-setting-vpn-properties.h
6109                 - Clarify usage of the 'data' member of the setting
6110
6111         * libnm-util/nm-setting-vpn-properties.c
6112                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6113                 - (set_property): just remove all the settings; don't recreate the has
6114                 - (update_one_secret): don't need to create the hash table here since
6115                         it should always be present
6116
6117 2007-12-03  Tambet Ingo  <tambet@gmail.com>
6118
6119         Implement PIN and PUK requesting.
6120
6121         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6122         (enter_pin): Handle PIN and PUK requests.
6123         (real_act_stage1_prepare): Clear the secret type.
6124         (real_connection_secrets_updated): Implement this class method to get
6125         notified when new secrets arrive.
6126         (nm_umts_device_class_init): Add private data back to the umts device class
6127         to store the required secret type.
6128
6129 2007-12-01  Dan Williams  <dcbw@redhat.com>
6130
6131         * system-settings/plugins/ifcfg/parser.c
6132                 - (parser_parse_file): don't try to verify NULL connections
6133
6134 2007-12-01  Dan Williams  <dcbw@redhat.com>
6135
6136         * system-settings/src/main.c
6137                 - (load_connections, add_connection_to_settings): actually export
6138                         plugin-provided connections over D-Bus so NM can get them
6139
6140 2007-12-01  Dan Williams  <dcbw@redhat.com>
6141
6142         * system-settings/plugins/ifcfg/parser.c
6143           system-settings/plugins/ifcfg/parser.h
6144           system-settings/plugins/ifcfg/plugin.c
6145                 - Hook up more inotify bits (untested)
6146
6147 2007-11-29  Dan Williams  <dcbw@redhat.com>
6148
6149         * system-settings/src/nm-system-config-interface.h
6150           system-settings/src/nm-system-config-interface.c
6151                 - (nm_system_config_interface_init,
6152                    nm_system_config_interface_get_connections): add
6153
6154         * system-settings/src/main.c
6155                 - (load_plugins, load_connections, main): use a GSList for plugins
6156                         to ensure priority ordering
6157
6158         * system-settings/plugins/ifcfg/parser.c
6159                 - (ifcfg_error_quark): move to plugin.c, and rename
6160
6161         * system-settings/plugins/ifcfg/plugin.h
6162           system-settings/plugins/ifcfg/plugin.c
6163                 - (ifcfg_plugin_error_quark): move here from parser.c
6164                 - rework connection loading and initialization
6165                 - Add preliminary inotify support for network profile config file
6166
6167 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6168
6169         Merge the beginnings of the new GSM card support.
6170
6171         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6172         ppp watch source before killing pppd - If this happens from g_object_unref()
6173         then the ppp manager is already destroyed by the time the watch callback runs.
6174
6175         * src/nm-hal-manager.c: Add a device_type_name string to the device
6176         creators, so that we can print a nice human readable string when a
6177         device is added.
6178
6179         * src/nm-umts-device.c (automatic_registration_get_network): Query
6180         for the activated network, not much is done with the result thought.
6181
6182         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6183         (ppp_ip4_config): Change the device state to activated here for now.
6184         (real_check_connection): Make sure the connection includes ppp setting.
6185
6186         * libnm-glib/nm-client.c (get_device): Handle umts devices.
6187
6188         * libnm-glib/Makefile.am: Add the new files to build.
6189
6190         * libnm-glib/nm-umts-device.c: 
6191         * libnm-glib/nm-umts-device.h: Implement.
6192
6193 2007-11-26  Tambet Ingo  <tambet@gmail.com>
6194
6195         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6196         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6197
6198         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6199         the timeout source - this function is only called when the timeout source has
6200         been removed.
6201         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6202         to be big enough to contain the terminating zero element as well.
6203         The timeout argument is meant to be in seconds now.
6204         (real_deactivate_quickly): Implement.
6205
6206         * src/NetworkManager.conf: Allow root to own 
6207         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6208
6209         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6210         (not unsigned ints).
6211
6212         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6213         small issue with parity bounds - capital letters have lower ascii codes
6214         than lower case letters.
6215
6216         * libnm-util/nm-connection.c (register_default_settings): Register serial
6217         and umts settings.
6218
6219 2007-11-22  Tambet Ingo  <tambet@gmail.com>
6220
6221         Remove the "index" property from devices as not all device types have this.
6222
6223         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6224
6225         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6226         (wired_device_creator): Get the device interface from hal to create the device.
6227         (wireless_device_creator): Ditto.
6228
6229         * src/nm-device.c (nm_device_init): Remove the index member.
6230         (constructor): Remove the checks for index property, make interface property
6231         a require constructor property.
6232         Use the HAL udi for DBus path for devices.
6233         (nm_device_get_index): Remove.
6234         (set_property): Remove index handling.
6235         (get_property): Ditto.
6236         (nm_device_get_dbus_path): Remove.
6237
6238         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6239         property.
6240
6241         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6242         Access the device index through it's interface.
6243         (nm_device_802_3_ethernet_link_deactivated): Ditto.
6244         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6245         index argument. Add interface argument.
6246
6247         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6248         the useless test_dev argument. Remove index argument. Add interface arugment.
6249
6250         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6251         device index through interface.
6252         (nm_system_set_mtu): Ditto.
6253
6254         * introspection/nm-device.xml: Remove the "Index" property.
6255
6256 2007-11-21  Tambet Ingo  <tambet@gmail.com>
6257
6258         * src/nm-serial-device.c: 
6259         * src/nm-serial-device.c: 
6260         * src/nm-umts-device.c:
6261         * src/nm-umts-device.h: Implement.
6262
6263         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
6264         allocated by libhal.
6265         (modem_device_creator): Implement.
6266         (register_built_in_creators): Register the modem creator.
6267
6268         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
6269         Remove the unused test_dev argument.
6270
6271         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6272
6273         * src/Makefile.am: Add new files to build.
6274         Link in ppp-manager.
6275
6276         * libnm-util/nm-setting-umts.c: 
6277         * libnm-util/nm-setting-umts.h: 
6278         * libnm-util/nm-setting-serial.c: 
6279         * libnm-util/nm-setting-serial.h: Implement.
6280
6281         * libnm-util/Makefile.am: Add new files to build.
6282
6283 2007-11-28  Dan Williams  <dcbw@redhat.com>
6284
6285         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6286
6287         Support DHCP-provided static routes.
6288
6289         * src/nm-ip4-config.h
6290           src/nm-ip4-config.c
6291                 - Add get/set functions for static routes
6292
6293         * src/dhcp-manager/nm-dhcp-manager.c
6294                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6295                         DHCP response
6296
6297         * src/NetworkManagerSystem.c
6298                 - (nm_system_device_set_from_ip4_config): set any static routes on the
6299                         interface when applying the IP4Config
6300
6301 2007-11-28  Dan Williams  <dcbw@redhat.com>
6302
6303         * src/nm-device-802-11-wireless.c
6304                 - (real_act_stage1_prepare): mark APs created for hidden networks
6305                         as non-broadcasting
6306
6307 2007-11-27  Dan Williams  <dcbw@redhat.com>
6308
6309         * system-settings/src/nm-system-config-interface.h
6310                 - Note how to store secrets on NMSetting objects
6311
6312         * system-settings/src/dbus-settings.c
6313                 - (connection_settings_get_secrets): implement
6314
6315 2007-11-27  Dan Williams  <dcbw@redhat.com>
6316
6317         * system-settings/plugins/ifcfg/Makefile.am
6318           system-settings/plugins/ifcfg/parser.c
6319           system-settings/plugins/ifcfg/parser.h
6320           system-settings/plugins/ifcfg/plugin.c
6321                 - Parse wireless connections too
6322
6323         * system-settings/src/dbus-settings.c
6324           system-settings/src/dbus-settings.h
6325           system-settings/src/main.c
6326                 - Handle connection update/removal if the plugin supports it
6327
6328 2007-11-27  Dan Williams  <dcbw@redhat.com>
6329
6330         * src/nm-dbus-manager.h
6331           src/nm-hal-manager.c
6332                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6333                         do it for them
6334
6335         * src/Makefile.am
6336           src/NetworkManagerDbusUtils.c
6337           src/NetworkManagerDbusUtils.h
6338                 - Remove these two source files; they are unused
6339
6340 2007-11-27  Dan Williams  <dcbw@redhat.com>
6341
6342         * src/vpn-manager/nm-vpn-manager.c
6343                 - (impl_vpn_manager_connect): fix system settings check (found by
6344                         James M. Leddy)
6345
6346 2007-11-26  Dan Williams  <dcbw@redhat.com>
6347
6348         * Fix warnings so everything compiles with --enable-more-warnings
6349
6350 2007-11-25  Dan Williams  <dcbw@redhat.com>
6351
6352         * system-settings/*
6353                 - Rework structure and code to use GModule-loaded plugins and a plugin
6354                         interface that plugins export to the system settings service
6355
6356 2007-11-21  Dan Williams  <dcbw@redhat.com>
6357
6358         * system-settings/*
6359                 - Add Soren's system settings service.  Needs work for distros other
6360                         than Fedora; the backends from NM should mostly migrate to here
6361                         and be converted to GObjects
6362
6363 2007-11-21  Dan Williams  <dcbw@redhat.com>
6364
6365         * libnm-util/nm-setting-vpn-properties.c
6366                 - (set_property): must deep-copy the given settings hash, otherwise
6367                         double-free errors occur when the setting is disposed of
6368
6369 2007-11-21  Dan Williams  <dcbw@redhat.com>
6370
6371         * src/vpn-manager/nm-vpn-act-request.h
6372           src/vpn-manager/nm-vpn-act-request.c
6373                 - Remove; unused
6374
6375 2007-11-20  Dan Williams  <dcbw@redhat.com>
6376
6377         * libnm-util/nm-utils.c
6378                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6379                    nm_utils_convert_ip4_addr_struct_array_to_string,
6380                    nm_utils_register_value_transformations): print out the readable
6381                         values of more types of properties of NMSettings subclasses
6382
6383 2007-11-20  Dan Williams  <dcbw@redhat.com>
6384
6385         * libnm-util/nm-setting-ip4-config.c
6386                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6387                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
6388                         marshal GValueArrays inside collections, so switch to types that it
6389                         can actually marshal/demarshal
6390
6391 2007-11-16  Dan Williams  <dcbw@redhat.com>
6392
6393         * libnm-util/nm-setting-wireless-security.c
6394                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6395                         minimal verification of EAP methods too
6396                 - (verify): verify phase1 eap methods too
6397
6398 2007-11-15  Dan Williams  <dcbw@redhat.com>
6399
6400         * libnm-glib/nm-device.h
6401           libnm-glib/nm-device.c
6402                 - (nm_device_get_product, nm_device_get_vendor): should be returning
6403                         const char *
6404
6405 2007-11-15  Dan Williams  <dcbw@redhat.com>
6406
6407         * libnm-glib/nm-device.c
6408                 - (get_product_and_vendor): don't try to free things that should be
6409                         freed
6410
6411 2007-11-15  Dan Williams  <dcbw@redhat.com>
6412
6413         * src/NetworkManagerUtils.c
6414                 - (nm_ethernet_address_is_valid): unbreak previous fix
6415
6416 2007-11-15  Dan Williams  <dcbw@redhat.com>
6417
6418         * src/supplicant-manager/nm-supplicant-config.c
6419                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6420                         options
6421
6422 2007-11-15  Dan Williams  <dcbw@redhat.com>
6423
6424         * src/NetworkManagerUtils.c
6425                 - (nm_ethernet_address_is_valid): fix style, clarify
6426                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6427
6428         * src/nm-device-802-11-wireless.c
6429                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6430                 - (nm_device_802_11_wireless_get_ssid,
6431                    nm_device_802_11_wireless_get_bssid,
6432                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6433                         before calling the ioctl; fixes valgrind-reported jump depends on
6434                         uninitialized value errors
6435
6436 2007-11-15  Dan Williams  <dcbw@redhat.com>
6437
6438         * libnm-util/nm-setting.c
6439                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6440                         unecessary to serialize 'name'
6441
6442         * src/nm-activation-request.c
6443                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6444                         the GetSecrets call
6445
6446 2007-11-15  Dan Williams  <dcbw@redhat.com>
6447
6448         * libnm-util/nm-setting-connection.h
6449           libnm-util/nm-setting-connection.c
6450                 - Rename the 'name' property to 'id', because it conflicted with the
6451                         NMSetting superclass' 'name' property.
6452
6453         * libnm-util/nm-setting.c
6454                 - (nm_setting_to_hash): serialize the 'name' property
6455                 - (one_property_cb): ignore 'name' on deserialization of a connection
6456
6457         * src/nm-device-802-11-wireless.c
6458           src/vpn-manager/nm-vpn-connection.c
6459           src/NetworkManagerPolicy.c
6460                 - Fix up for NMSettingConnection 'name'->'id' changes
6461
6462 2007-11-13  Dan Williams  <dcbw@redhat.com>
6463
6464         * libnm-glib/nm-device-802-11-wireless.h
6465           libnm-glib/nm-device-802-11-wireless.c
6466                 - (nm_device_802_11_wireless_get_hw_address): return should be const
6467
6468         * test/nm-tool.c
6469           libnm-glib/libnm-glib-test.c
6470                 - Fixes for above change
6471
6472 2007-11-12  Dan Williams  <dcbw@redhat.com>
6473
6474         * src/supplicant-manager/nm-supplicant-settings-verify.c
6475                 - Allow fragment_size option
6476
6477         * src/supplicant-manager/nm-supplicant-settings-verify.c
6478                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6479                         EAP fragment size than the default to help some TLS connections
6480
6481 2007-11-12  Dan Williams  <dcbw@redhat.com>
6482
6483         Make certs actually work.  The private key is now a secret, and should be
6484         decrypted when requested by NM.  The private key and phase2 private key
6485         passwords are no longer interesting to NM because they should be used by
6486         the settings service to decrypt the private key itself before passing it
6487         to NM, and hence have been removed as fields.
6488
6489         * libnm-util/nm-setting-wireless-security.h
6490           libnm-util/nm-setting-wireless-security.c
6491                 - Remove private-key-passwd and phase2-private-key-passwd from
6492                         properties
6493                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6494                    need_secrets): use property #defines instead strings to keep things
6495                         consistent
6496                 - (need_secrets_tls): if a client certificate is present but no
6497                         private key, request the private key
6498                 - (set_property, get_property, nm_setting_wireless_security_class_init):
6499                         remove private key password stuff, mark private keys as secret
6500
6501         * src/supplicant-manager/nm-supplicant-settings-verify.c
6502                 - Remove private_key_passwd and private_key2_passwd from opt_table
6503
6504 2007-11-09  Dan Williams  <dcbw@redhat.com>
6505
6506         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6507         Since the vpn-properties are managed and known by the VPN daemons themselves,
6508         libnm-util doesn't know what's secret and what's in the setting's 'data'
6509         member.
6510
6511         * libnm-util/nm-setting.h
6512           libnm-util/nm-setting.c
6513                 - Add the ability for subclasses to override update_one_secret
6514
6515         * libnm-util/nm-setting-vpn-properties.c
6516                 - Override update_one_secret and just copy the values into the
6517                         internal table
6518
6519 2007-11-09  Dan Williams  <dcbw@redhat.com>
6520
6521         * libnm-glib/nm-settings.h
6522           libnm-glib/nm-settings.c
6523                 - (nm_settings_new_error): remove
6524                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6525                         clients should use g_set_error() with NM_SETTINGS_ERROR
6526
6527 2007-11-09  Dan Williams  <dcbw@redhat.com>
6528
6529         * src/supplicant-manager/nm-supplicant-config.c
6530                 - (nm_supplicant_config_add_setting_wireless_security): private key
6531                         passwords are never sent to wpa_supplicant, because the supplicant
6532                         should never be reading random files from the disk.  Clients like
6533                         the applet are required to decrypt the private keys and send NM
6534                         the decrypted blobs.
6535
6536 2007-11-08  Dan Williams  <dcbw@redhat.com>
6537
6538         * libnm-util/nm-setting-wireless-security.h
6539           libnm-util/nm-setting-wireless-security.c
6540                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6541                         members to 802-11-wireless-security structure.  This should be used
6542                         to indicate that the values in private-key and phase2-private-key
6543                         are already decrypted by the user agent, and that no
6544                         private-key-passwd or phase2-private-key-passwd should be expected.
6545                         It is not meant to be a stored configuration value, but meant to
6546                         be set when the conneciton is sent to NM over dbus.
6547
6548 2007-11-08  Dan Williams  <dcbw@redhat.com>
6549
6550         * libnm-util/nm-connection.h
6551           libnm-util/nm-connection.c
6552                 - (nm_connection_need_secrets): add argument to return hints
6553
6554         * src/nm-device-802-11-wireless.c
6555                 - (link_timeout_cb, supplicant_connection_timeout_cb,
6556                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6557                         nm_connection_need_secrets() change
6558
6559 2007-11-07  Tambet Ingo  <tambet@gmail.com>
6560
6561         Rework NMSetting structures: Move each setting to it's own file.
6562         Convert to GObject. Remove home grown setting types and use GTypes.
6563         Use GObject property introspection for hash conversion, enumerating
6564         properties, etc.
6565
6566         * libnm-util/nm-setting-connection.[ch]
6567         * libnm-util/nm-setting-ip4-config.[ch]
6568         * libnm-util/nm-setting-ppp.[ch]
6569         * libnm-util/nm-setting-vpn.[ch]
6570         * libnm-util/nm-setting-vpn-properties.[ch]
6571         * libnm-util/nm-setting-wired.[ch]
6572         * libnm-util/nm-setting-wireless.[ch]
6573         * libnm-util/nm-setting-wireless-security.[ch]
6574
6575         New files, each containing a setting.
6576
6577         * libnm-util/nm-setting-template.[ch]: A template for creating new
6578         settings. To use it, just replace 'template' with the new setting
6579         name, and you're half-way done.
6580
6581         * libnm-util/nm-setting.c: Convert to GObject and use GObject
6582         introspection instead of internal types and tables.
6583
6584         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6585
6586         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6587         GValue types defined by dbus-glib for composed types like collections,
6588         structures and maps.
6589
6590         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6591         a setting from connection takes the setting type now. Also, since
6592         the settings are in multiple files, include relevant settings.
6593
6594 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
6595
6596         * configure.in:
6597         * src/backends/NetworkManagerGentoo.c:
6598         (nm_system_restart_mdns_responder): Implement restarts for other mdns
6599         providers in Gentoo.
6600
6601 2007-10-31  Dan Williams  <dcbw@redhat.com>
6602
6603         * libnm-util/nm-connection.c
6604                 - (gvalue_to_string): handle UINT32 arrays
6605
6606 2007-10-31  Dan Williams  <dcbw@redhat.com>
6607
6608         * libnm-glib/nm-device.h
6609           libnm-glib/nm-device.c
6610                 - (nm_device_get_description): remove
6611                 - (nm_device_get_product, nm_device_get_vendor): add
6612                 - (nm_device_update_description): new function (private); walk HAL
6613                         devices to get product and vendor IDs for a specific device
6614
6615 2007-10-31  Dan Williams  <dcbw@redhat.com>
6616
6617         * src/nm-device-802-11-wireless.c
6618                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
6619
6620 2007-10-29  Dan Williams  <dcbw@redhat.com>
6621
6622         * src/nm-hal-manager.c
6623                 - (device_added, device_new_capability): ignore device additions while
6624                         asleep.  Fixes crash caused when NM goes to sleep, a network device
6625                         kernel module is unloaded and reloaded and recognized by NM again.
6626
6627 2007-10-26  Dan Williams  <dcbw@redhat.com>
6628
6629         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
6630
6631         * src/NetworkManagerAP.c
6632           src/NetworkManagerAP.h
6633           libnm-glib/nm-access-point.c
6634           libnm-glib/nm-access-point.h
6635                 - Make 'rate' property a guint32 to better match with WEXT and
6636                         wpa_supplicant and to allow representation of higher bitrates
6637
6638         * src/nm-device-802-11-wireless.c
6639           introspection/nm-device-802-11-wireless.xml
6640           libnm-glib/nm-device-802-11-wireless.c
6641           libnm-glib/nm-device-802-11-wireless.h
6642                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
6643
6644         * src/nm-device-802-3-ethernet.c
6645           src/nm-device-802-3-ethernet.h
6646           introspection/nm-device-802-3-ethernet.xml
6647           libnm-glib/nm-device-802-3-ethernet.c
6648           libnm-glib/nm-device-802-3-ethernet.h
6649                 - Make 'speed' property a guint32 to match other speed/rate types
6650                 - Make nm_device_802_3_ethernet_get_speed() static
6651
6652         * test/nm-tool.c
6653                 - Update for the changes above
6654
6655 2007-10-26  Dan Williams  <dcbw@redhat.com>
6656
6657         * src/named-manager/nm-named-manager.c
6658                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
6659                     not calling fclose() twice on some error conditions
6660
6661 2007-10-26  Dan Williams  <dcbw@redhat.com>
6662
6663         * src/nm-activation-request.c
6664                 - (dispose): clean up indentation; get the right DBusGProxy object to
6665                         cancel the GetSecrets pending call on.  Need to use the Secrets
6666                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
6667                         pending call doesn't get canceled, and pressing Cancel in the
6668                         applet's password dialog could cause get_secrets_cb() to be called
6669                         after the activation request has already been destroyed
6670
6671 2007-10-24  Dan Williams  <dcbw@redhat.com>
6672
6673         * src/supplicant-manager/nm-supplicant-config.c
6674                 - (nm_supplicant_config_add_blob): pass blob data and length for
6675                         verification
6676                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
6677
6678 2007-10-24  Dan Williams  <dcbw@redhat.com>
6679
6680         * src/supplicant-manager/nm-supplicant-settings-verify.c
6681                 - (opt_table): max length for certificates should be 65536
6682
6683 2007-10-24  Dan Williams  <dcbw@redhat.com>
6684
6685         * src/supplicant-manager/nm-supplicant-interface.c
6686                 - (blob_free): correctly free blob data after use
6687                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
6688
6689 2007-10-24  Dan Williams  <dcbw@redhat.com>
6690
6691         * libnm-util/nm-setting.c
6692                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
6693                         EAP method need secrets
6694
6695 2007-10-24  Dan Williams  <dcbw@redhat.com>
6696
6697         * src/backends/NetworkManagerRedHat.c
6698                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
6699
6700 2007-10-23  Dan Williams  <dcbw@redhat.com>
6701
6702         * libnm-util/nm-setting.c
6703           libnm-util/nm-setting.c
6704                 - (nm_setting_compare): implement
6705                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
6706                    compare_one_hash_gvalue): compare the contents of a setting
6707
6708         * libnm-util/nm-connection.c
6709                 - (nm_connection_compare): implement
6710
6711 2007-10-23  Dan Williams  <dcbw@redhat.com>
6712
6713         * src/nm-activation-request.c
6714                 - (get_secrets_cb): handle getting a setting back that is more than
6715                         just secrets (ie, user changed auth or EAP method or something)
6716
6717 2007-10-23  Dan Williams  <dcbw@redhat.com>
6718
6719         * libnm-util/nm-setting.c
6720           libnm-util/nm-setting.h
6721                 - (nm_setting_verify): new function; verify one setting
6722                 - (nm_settings_verify_all): rename from nm_settings_verify()
6723                 - (setting_connection_verify, setting_wireless_verify): allow NULL
6724                         all_settings
6725
6726         * libnm-util/nm-connection.c
6727                 - (nm_connection_replace_settings, nm_connection_verify,
6728                    nm_connection_new_from_hash): handle nm_settings_verify() rename
6729
6730 2007-10-23  Dan Williams  <dcbw@redhat.com>
6731
6732         * src/nm-device-802-11-wireless.c
6733                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
6734                         desired behavior
6735
6736 2007-10-23  Dan Williams  <dcbw@redhat.com>
6737
6738         * src/supplicant-manager/nm-supplicant-settings-verify.c
6739                 - eap_allowed, phase2_allowed: harmonize with allowed values from
6740                         nm-settings.c
6741
6742 2007-10-23  Dan Williams  <dcbw@redhat.com>
6743
6744         * src/nm-device-802-11-wireless.c
6745                 - (real_act_stage2_config): after the first association failure,
6746                         if the connection still needs secrets ask the user for them
6747                         explicitly.  After the fourth association failure due to bad
6748                         secrets, fail the connection entirely.  Handles the GetSecrets
6749                         loop that NM gets into when the provided secrets don't match up
6750                         with the connection details.
6751
6752 2007-10-23  Dan Williams  <dcbw@redhat.com>
6753
6754         * src/supplicant-manager/nm-supplicant-config.c
6755                 - (nm_supplicant_config_add_setting_wireless_security): only add
6756                         WPA-specific options when WPA is in use
6757
6758 2007-10-23  Dan Williams  <dcbw@redhat.com>
6759
6760         * src/supplicant-manager/nm-supplicant-config.c
6761                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
6762                         secret doesn't need to be unhexified
6763
6764 2007-10-23  Dan Williams  <dcbw@redhat.com>
6765
6766         * libnm-util/nm-setting.c
6767                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
6768                         before trying to do something with it
6769
6770 2007-10-23  Dan Williams  <dcbw@redhat.com>
6771
6772         * src/nm-device-802-11-wireless.c
6773                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
6774
6775 2007-10-23  Dan Williams  <dcbw@redhat.com>
6776
6777         * src/nm-device-802-11-wireless.c
6778                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
6779                         non-SSID-broadcasting APs
6780
6781 2007-10-23  Dan Williams  <dcbw@redhat.com>
6782
6783         * src/NetworkManagerAP.c
6784                 - (match_cipher, security_compatible): remove
6785                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
6786                         libnm-util instead
6787
6788 2007-10-23  Dan Williams  <dcbw@redhat.com>
6789
6790         * libnm-util/nm-utils.c
6791           libnm-util/nm-utils.h
6792                 - (nm_utils_ap_security_compatible): common function for checking
6793                         whether a specific AP is compatible with an NMConnection
6794
6795 2007-10-23  Dan Williams  <dcbw@redhat.com>
6796
6797         * libnm-util/nm-setting.c
6798                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
6799                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
6800                    need_secrets_password, setting_wireless_security_verify): fix
6801                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
6802                         secrets logic for each supported EAP method
6803
6804 2007-10-23  Dan Williams  <dcbw@redhat.com>
6805
6806         * src/supplicant-manager/nm-supplicant-config.c
6807                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
6808                         config option name, should be "private_key2_passwd"
6809
6810 2007-10-22  Tambet Ingo  <tambet@gmail.com>
6811
6812         Implement support for static IP addresses, additional/overridden DNS and
6813         DNS domain search lists.
6814
6815         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
6816         (ip4_addresses_to_gvalue): Implement.
6817         (convert_array_to_byte_array): Implement.
6818         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
6819         NM_S_TYPE_IP4_ADDRESSES.
6820         (nm_setting_hash): Ditto.
6821         (default_setting_clear_secrets): Add a default case for the switch: IP address
6822         shouldn't be secret, ever.
6823         (setting_ip4_config_verify): Update, requires addresses in case of manual
6824         configurations.
6825         (setting_ip4_config_destroy): Free stuff.
6826
6827         * src/nm-device.c (merge_ip4_config): Implement.
6828         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
6829
6830 2007-10-22  Dan Williams  <dcbw@redhat.com>
6831
6832         * libnm-util/nm-setting.c
6833                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
6834                         pairwise cipher options for Dynamic WEP
6835
6836 2007-10-21  Dan Williams  <dcbw@redhat.com>
6837
6838         * src/NetworkManagerAP.c
6839           src/NetworkManagerAP.h
6840                 - Rename 'articifical' -> 'fake' since that's what they are until
6841                         noticed in scans
6842                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
6843                         from the attributes in an NMConnection object
6844                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
6845                         WPA Enterprise
6846                 - (nm_ap_match_in_list): find a matching AP in a scan list
6847
6848         * src/nm-device-802-11-wireless.c
6849                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
6850                         AP when searching the scan list; match on frequency and mode too
6851                 - (nm_device_802_11_wireless_get_frequency): implement
6852                 - (merge_scanned_ap): replace duplicate matching logic with
6853                         nm_ap_match_in_list()
6854                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
6855                         the user is trying to connect to a hidden network that is not yet
6856                         known from the scan list
6857                 - (activation_success_handler): now that the card knows the AP's BSSID,
6858                         there may already be a scanned AP in the scan list that is what
6859                         we really wanted to connect to, but didn't know at the time.  Use
6860                         that instead of the 'fake' AP created at activation start and get
6861                         rid of the 'fake' AP 
6862                 - (cull_scan_list): don't remove fake APs
6863
6864 2007-10-21  Dan Williams  <dcbw@redhat.com>
6865
6866         * src/nm-activation-request.h
6867           src/nm-activation-request.c
6868                 - (nm_act_request_set_specific_object): new function; allow setting the
6869                         specific object if one isn't set yet
6870
6871 2007-10-20  Dan Williams  <dcbw@redhat.com>
6872
6873         * src/supplicant-manager/nm-supplicant-config.h
6874           src/supplicant-manager/nm-supplicant-config.c
6875                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
6876                         table to store blobs
6877                 - (nm_supplicant_config_add_blob): new function; add blob to internal
6878                         blob hash table
6879                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
6880                 - (nm_supplicant_config_add_setting_wireless_security): handle
6881                         options that use certificates (ie, blobs)
6882
6883         * src/nm-device-802-11-wireless.c
6884                 - (build_supplicant_config): pass a UID (just use the connection path)
6885                         to the supplicant config as now required
6886
6887         * src/supplicant-manager/nm-supplicant-interface.c
6888                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
6889                         there are any blobs to send to wpa_supplicant, send those first
6890                         before sending the network configuration
6891
6892 2007-10-19  Dan Williams  <dcbw@redhat.com>
6893
6894         Split the GetSecrets() call off to a separate D-Bus interface so that it
6895         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
6896         should be able to call GetSecrets().
6897
6898         * include/NetworkManager.h
6899                 - Define the connection secrets D-Bus interface
6900
6901         * src/vpn-manager/nm-vpn-connection.c
6902                 - (clear_need_auth): get the right proxy object for the connection
6903                         secrets interface
6904                 - (get_connection_secrets): use the connection secrets proxy; send
6905                         empty hints in get secrets request
6906
6907         * src/nm-activation-request.c
6908                 - (nm_act_request_request_connection_secrets): use the connection
6909                         secrets proxy; send empty hints in get secrets request
6910
6911         * src/nm-manager.c
6912           src/nm-manager.h
6913                 - (connection_get_settings_cb): set the connection secrets proxy on
6914                         the connection object too
6915                 - (internal_new_connection_cb): create the connection secrets proxy
6916
6917         * introspection/nm-settings-connection.xml
6918                 - Define Connection.Secrets interface and move GetSecrets there
6919                 - Add a 'hints' argument to GetSecrets
6920
6921         * libnm-glib/nm-settings.c
6922           libnm-glib/nm-settings.h
6923                 - (impl_connection_settings_get_secrets): add 'hints' argument
6924
6925 2007-10-19  Dan Williams  <dcbw@redhat.com>
6926
6927         * src/nm-device.c
6928                 - (constructor): add message about what path a device is exported as
6929                         to help in debugging rh #339011
6930
6931 2007-10-17  Dan Williams  <dcbw@redhat.com>
6932
6933         * libnm-util/nm-utils.h
6934           libnm-util/nm-utils.c
6935                 - (nm_utils_security_valid): common function to help find the intersection
6936                         of capabilities of devices and (optionally) access points
6937
6938 2007-10-17  Dan Williams  <dcbw@redhat.com>
6939
6940         * src/nm-device-802-11-wireless.c
6941                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
6942                         don't get erroneously cleared
6943
6944 2007-10-17  Dan Williams  <dcbw@redhat.com>
6945
6946         * src/nm-manager.h
6947           src/nm-manager.c
6948           src/nm-hal-manager.c
6949                 - (device_removed, finalize, nm_manager_remove_device,
6950                    nm_manager_sleep): add a 'deactivate' argument to 
6951                    nm_manager_remove_device() to fully deactivate devices when necessary
6952                    (ie, always except when waking up)
6953
6954 2007-10-16  Dan Williams  <dcbw@redhat.com>
6955
6956         * libnm-util/nm-setting.c
6957                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
6958                         also isn't valid phase2 autheap method
6959
6960 2007-10-16  Dan Williams  <dcbw@redhat.com>
6961
6962         * libnm-glib/nm-client.c
6963                 - (update_wireless_status): consolidate updates of wireless status
6964                 - (constructor): use update_wireless_status()
6965                 - (manager_running): set wireless status off when NM goes away; requery
6966                         the wireless status when NM comes back
6967
6968 2007-10-16  Dan Williams  <dcbw@redhat.com>
6969
6970         * libnm-glib/nm-client.c
6971                 - (nm_client_activate_device): actually use the fixed-up specific
6972                         object path
6973
6974 2007-10-16  Dan Williams  <dcbw@redhat.com>
6975
6976         * src/nm-hal-manager.c
6977                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
6978                         killswitch error messages once
6979
6980 2007-10-16  Dan Williams  <dcbw@redhat.com>
6981
6982         * src/nm-manager.c
6983                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
6984                         if it's disabled in hardware; don't touch network devices while
6985                         NM is asleep
6986
6987 2007-10-16  Dan Williams  <dcbw@redhat.com>
6988
6989         * libnm-util/nm-client.c
6990                 - (nm_client_activate_device): convert NULL specific_object to "/",
6991                         which is used in place of NULL
6992
6993         * src/nm-manager.c
6994                 - (impl_manager_activate_device): convert "/" specific_object back into
6995                         NULL
6996
6997 2007-10-16  Tambet Ingo  <tambet@gmail.com>
6998
6999         Implement a generic NMSetting creator from setting name.
7000         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7001         add a virtual function 'populate_fn'.
7002
7003         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7004         (register_default_creators): Register setting creators instead of functions
7005         that create and then populate.
7006         (parse_one_setting): Use the common setting creator and then setting specific
7007         poplulation function.
7008
7009         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7010         they all looked exactly the same.
7011         Add a 'populate_fn' virtual function to NMSetting.
7012         Use default virtual functions in case they are not overriden.
7013         (nm_setting_populate_from_hash): Implement.
7014
7015         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7016         name, use a defined string.
7017         (real_act_stage4_get_ip4_config): Ditto.
7018
7019 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7020
7021         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7022         HAL is int, not uint.
7023
7024 2007-10-15  Tambet Ingo  <tambet@gmail.com>
7025
7026         Implement killswitch polling through HAL.
7027
7028         * src/nm-manager.c: Add wireless hardware status property. Add 
7029         'properties-changed' signal for changes in wireless and wireless hardware
7030         state changes.
7031
7032         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7033         and update NMManager's wireless hardware state when it has changed.
7034         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7035         already does that.
7036
7037         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7038         values of wireless state and wireless hardware state. Listen for the
7039         'properties-changed' signals, update the cached values and emit notify.
7040
7041         * include/NetworkManager.h: Fix a typo in a comment.
7042
7043 2007-10-14  Dan Williams  <dcbw@redhat.com>
7044
7045         * libnm-util/nm-setting.c
7046                 - (setting_wireless_security_need_secrets): handle LEAP secrets
7047
7048 2007-10-13  Dan Williams  <dcbw@redhat.com>
7049
7050         * libnm-util/nm-setting.h
7051           libnm-util/nm-setting.c
7052           src/supplicant-manager/nm-supplicant-config.c
7053                 - Make the 'proto' field of the 802-11-wireless-security field a
7054                         string list
7055
7056 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7057
7058         Rework the "properties-changed" signal listening implementation.
7059         Add a generic implementation to NMObject class that listens for
7060         the signal and calls property setters of the target NMObject.
7061
7062         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7063
7064         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7065         code to the end of file so that all the static functions are available
7066         without extra declarations.
7067         Remove the "properties-changed" signal handling and use the framework from
7068         NMObject.
7069         Implement property setters for properties that change with 
7070         "properties-changed" signal.
7071
7072         * libnm-glib/nm-access-point.c: Ditto.
7073
7074 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7075
7076         Rework the "properties-changed" signal implementation.
7077         In classes that need to use it, just emit "GObject::notify" and the new
7078         framework takes care of the rest to make the signal available on dbus.
7079         The framework queues the notifications and tries to send as many together
7080         in one signal as possible.
7081
7082         * src/nm-properties-changed-signal.c:
7083         * src/nm-properties-changed-signal.h: Implement.
7084
7085         * src/Makefile.am: Add new files to build.
7086
7087         * src/NetworkManagerAP.c: Use the general framework for properties-changed
7088         signal.
7089
7090         * src/nm-device-802-11-wireless.c: Ditto.
7091
7092 2007-10-10  Dan Williams  <dcbw@redhat.com>
7093
7094         * src/nm-manager.c
7095                 - (wait_for_connection_expired): ensure info is valid
7096                 - (connection_added_default_handler): Should only remove pending
7097                         connection info when the manager has the connection that it's
7098                         waiting for.  Fixes segfault in wait_for_connection_info().  
7099
7100 2007-10-10  Dan Williams  <dcbw@redhat.com>
7101
7102         * libnm-util/nm-setting.c
7103           libnm-util/nm-setting.h
7104                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7105                         can use if they choose.  Should be filled in by the settings service
7106                         on-the-fly with the currently logged in user's username
7107
7108 2007-10-10  Dan Williams  <dcbw@redhat.com>
7109
7110         * src/nm-device-802-11-wireless.c
7111                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7112                         as such, because even if the manager fills in the SSID, NM still
7113                         has to indicate to wpa_supplicant that the AP isn't broadcasting
7114                         its SSID
7115
7116 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7117
7118         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7119         code that used NM's own version of dbus signal handling and custom dictionary
7120         marshalling/unmarshalling. With this change, all that obsolete code can disappear
7121         and we get to maintain over 2000 lines less code.
7122
7123         * libnm-util/dbus-dict-helpers.c:
7124         * libnm-util/dbus-dict-helpers.h: Remove.
7125
7126         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7127
7128         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7129
7130         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7131         handlers.
7132
7133         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7134
7135         * configure.in: Remove test/libnm-util/Makefile creation.
7136
7137         * test/Makefile.am: Remove libnm-util from SUBDIRS.
7138
7139         * test/libnm-util/: Remove the whole directory.
7140
7141 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7142
7143         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
7144         device_state_changed_idle_id variable or it would contain some random value and the
7145         schedule_change_check calls would not do anything.
7146
7147 2007-10-09  Dan Williams  <dcbw@redhat.com>
7148
7149         * src/nm-device-802-11-wireless.c
7150                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7151                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7152                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
7153                         merging of non-SSID-broadcasting APs
7154
7155 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7156
7157         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7158         "guint8 *" since it's usually used with GByteArray->data.
7159         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7160
7161 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7162
7163         * src/NetworkManagerUtils.c
7164         (nm_utils_is_empty_ssid):
7165         (nm_utils_escape_ssid):
7166         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
7167         lot of places, so they belong to libnm-utils instead.
7168
7169         Now with 100% less compiler warnings:
7170
7171         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7172         (nm_dbus_unescape_object_path): Ditto.
7173         (nm_utils_ssid_to_utf8): Ditto.
7174         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7175         (nm_utils_escape_ssid): Ditto.
7176         (nm_utils_same_ssid): Ditto.
7177
7178         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7179         (add_one_connection_element): Remove an unused variable.
7180         (impl_manager_get_active_connections): Ditto.
7181
7182         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7183         variable.
7184
7185         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7186         from the previous commit.
7187
7188         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7189         (real_act_stage1_prepare): Ditto.
7190         (activation_success_handler): Ditto.
7191         (get_property): Ditto.
7192
7193         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7194         variable.
7195
7196         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7197         it's always set.
7198
7199         * src/supplicant-manager/nm-supplicant-config.c 
7200         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7201         to expected "char *".
7202         (nm_supplicant_config_add_setting_wireless): Ditto.
7203         (nm_supplicant_config_remove_option): Remove, not used.
7204
7205         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7206         not double.
7207         (test_wireless_enabled): Ifdef out unused function.
7208         (device_deactivate): Ditto.
7209         (device_state_changed): Ditto.
7210         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7211         (nm_utils_escape_ssid): Ditto.
7212
7213         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7214         (nm_utils_is_empty_ssid): Ditto.
7215
7216         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7217         unused variable.
7218
7219         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7220         (setting_vpn_properties_update_secrets): Ditto.
7221         (int_to_gvalue): Ifdef out for now, not used.
7222         (byte_to_gvalue): Ditto.
7223
7224         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
7225         Unused, remove.
7226
7227 2007-10-08  Tambet Ingo  <tambet@gmail.com>
7228
7229         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7230         about dbus manager, not named manager.
7231         Make sure hal_manager and dbus_mgr are created before trying to unreference.
7232
7233         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7234         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7235         However, the same signal is emitted when we destroy it and there's 
7236         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7237
7238         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7239         releasing the DBusGConnection, since proxy needs a conneciton.
7240         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7241
7242 2007-10-08  Dan Williams  <dcbw@redhat.com>
7243
7244         * src/NetworkManager.c
7245                 - (main): error on unknown command-line options
7246
7247 2007-10-08  Dan Williams  <dcbw@redhat.com>
7248
7249         Reimplement the invalid connection list.  Don't try to re-activate a
7250         connection that just failed or was canceled.
7251
7252         * src/nm-device.c
7253                 - (connection_secrets_failed_cb): fail device activation, don't just
7254                         deactivate the device.  Listeners have to know about the failure.
7255
7256         * src/NetworkManagerPolicy.c
7257                 - (nm_policy_auto_get_best_device): exclude invalid connections from
7258                         the connection list given to a device's get_best_connection()
7259                         method
7260                 - (device_state_changed): tag failed connections as invalid; clear the
7261                         tag from successful connections
7262
7263 2007-10-08  Dan Williams  <dcbw@redhat.com>
7264
7265         Fix problems with interrupted activation.  Previously, choosing an AP
7266         from the menu, then choosing another one before the first connection was
7267         successful wouldn't deactivate the device before starting the new connection
7268         on that same device.
7269
7270         * src/NetworkManagerPolicy.c
7271                 - (deactivate_old_device, device_state_changed, state_changed,
7272                    nm_policy_new): wrong place to deactivate old devices
7273
7274         * src/nm-manager.c
7275                 - (pending_connection_info_destroy, finalize,
7276                    wait_for_connection_expired): decouple destruction of the pending
7277                         connection info from the manager device
7278                 - (connection_added_default_handler): deactivate any active or
7279                         activating device before starting a new activation
7280                 - (impl_manager_activate_device): deactivate any active or activating
7281                         device before starting a new activation; be sure not to leak
7282                         pending connection info if a new activation request arrives but
7283                         there's already a pending one in-process
7284
7285 2007-10-08  Dan Williams  <dcbw@redhat.com>
7286
7287         * src/NetworkManagerAP.h
7288           src/NetworkManagerAP.c
7289                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
7290                         should handle default SSIDs and whether or not to autoconnect
7291                         to them
7292
7293 2007-10-08  Dan Williams  <dcbw@redhat.com>
7294
7295         * src/NetworkManagerPolicy.c
7296                 - (nm_policy_device_change_check): print out connection name where
7297                         possible
7298
7299 2007-10-08  Dan Williams  <dcbw@redhat.com>
7300
7301         * src/nm-device-802-11-wireless.c
7302           src/nm-device-802-11-wireless.h
7303                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7304                         'hidden-ap-found' signal (for internal use only) that allows the
7305                         NMManager to fill in the AP's SSID if a connection has that AP's
7306                         BSSID in its seen-bssids list
7307
7308         * src/nm-manager.c
7309                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7310                         wireless device's hidden-ap-found signal and fill in the APs SSID
7311                         if possible
7312
7313 2007-10-07  Dan Williams  <dcbw@redhat.com>
7314
7315         * src/nm-manager.c
7316           src/nm-manager.h
7317                 - Add a 'connections-added' signal to batch together updates of large
7318                         numbers of connections, like when reading from a settings service
7319                         the first time.  Otherwise, the policy would just activate the first
7320                         suitable connection it saw rather than waiting for the full list
7321                         to arrive.
7322                 - (nm_manager_class_init): register new signal
7323                 - (get_type_for_proxy, connection_get_settings_cb,
7324                    get_connection_for_proxy): centralize places where a proxy's setting
7325                         service is determined
7326                 - (free_get_settings_info): if the call being freed is the last call
7327                         in a pending call group, fire off the connections-added signal
7328                 - (internal_new_connection_cb): add call to a pending call group if
7329                         requested
7330                 - (list_connections_cb): always create a call group here, because this
7331                         call results in a batch of new connections
7332                 - (initial_get_connections): start getting system connections first
7333                 - (nm_manager_connections_destroy, emit_removed): actually emit the
7334                         removed signal when destroying connections
7335
7336         * src/NetworkManagerPolicy.c
7337                 - (nm_policy_new, connections_added): handle connections-added signal
7338                         from the manager
7339
7340 2007-10-06  Dan Williams  <dcbw@redhat.com>
7341
7342         * src/nm-device-802-11-wireless.c
7343                 - (constructor): fix leaked socket
7344
7345 2007-10-06  Dan Williams  <dcbw@redhat.com>
7346
7347         * src/NetworkManagerPolicy.c
7348                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
7349                         connection in the list returned by nm_manager_get_connections() is
7350                         reffed, but they weren't getting unreffed before returning
7351
7352 2007-10-06  Dan Williams  <dcbw@redhat.com>
7353
7354         * src/nm-manager.c
7355                 - (connections_to_slist): sort connections first on autoconnect, then
7356                         on timestamp
7357
7358 2007-10-06  Dan Williams  <dcbw@redhat.com>
7359
7360         * libnm-util/nm-connection.c
7361                 - (gvalue_to_string): handle UINT64
7362
7363 2007-10-06  Dan Williams  <dcbw@redhat.com>
7364
7365         * src/NetworkManagerPolicy.c
7366                 - (connection_updated, nm_policy_new): recheck state when a connection
7367                         gets updated
7368
7369 2007-10-06  Dan Williams  <dcbw@redhat.com>
7370
7371         * src/nm-manager.c
7372           src/nm-manager.h
7373                 - (nm_manager_get_connection_dbus_path): make static
7374                 - (nm_manager_update_connections): remove; unused
7375                 - Add a connection-updated signal
7376                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7377                         handle connection object updates
7378
7379 2007-10-06  Dan Williams  <dcbw@redhat.com>
7380
7381         * src/NetworkManagerPolicy.c
7382                 - (connection_removed): deactivate removed connections
7383
7384 2007-10-06  Dan Williams  <dcbw@redhat.com>
7385
7386         * libnm-util/nm-connection.c
7387           libnm-util/nm-connection.h
7388                 - (nm_connection_replace_settings): new function
7389
7390 2007-10-06  Dan Williams  <dcbw@redhat.com>
7391
7392         * libnm-glib/nm-device-802-11-wireless.c
7393                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7394                         on error when getting the active access point over D-Bus from NM
7395
7396 2007-10-05  Dan Williams  <dcbw@redhat.com>
7397
7398         * libnm-util/nm-setting.c
7399                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7400                         to the NMSettingWireless table; it's now a string array not an array
7401                         of byte arrays
7402
7403 2007-10-05  Dan Williams  <dcbw@redhat.com>
7404
7405         * libnm-glib/nm-device-802-11-wireless.c
7406                 - Cache properties and update cached properties on D-Bus signals from NM
7407
7408 2007-10-05  Dan Williams  <dcbw@redhat.com>
7409
7410         * src/nm-device-802-11-wireless.c
7411                 - (set_current_ap): consolidate current_ap handling code into one place
7412                         to ensure that PropertiesChanged signals are emitted in all cases
7413                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7414                    nm_device_802_11_wireless_dispose): use set_current_ap()
7415
7416 2007-10-05  Dan Williams  <dcbw@redhat.com>
7417
7418         * libnm-glib/nm-access-point.c
7419           libnm-glib/nm-access-point.h
7420                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7421                         because the value is cached internally now.  Callers should not
7422                         free the internal value.
7423                 - Make signal name defines private
7424
7425         * test/nm-tool.c
7426           libnm-glib/libnm-glib-test.c
7427                 - Don't free value returned from nm_access_point_get_hw_address()
7428
7429 2007-10-04  Dan Williams  <dcbw@redhat.com>
7430
7431         * introspection/nm-device-802-11-wireless.xml
7432           src/nm-device-802-11-wireless.h
7433           src/nm-device-802-11-wireless.c
7434                 - Add a PropertiesChanged signal for wireless device
7435                 - Store currently associated access point
7436                 - (periodic_update): generalize; update rate here too and emit the
7437                         correct PropertiesChanged signal when stuff changes
7438                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7439                    real_activation_cancel_handler): clear current_ap when device is
7440                         deactivated
7441                 - (link_to_specific_ap, get_ap_blacklisted,
7442                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7443                         code
7444                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7445                         outside this file
7446                 - (real_set_hw_address): emit property changed signal if the card's
7447                         MAC address changes
7448                 - (real_act_stage1_prepare): set the initial current_ap to the AP
7449                         the card is supposed to be connecting to
7450                 - (activation_success_handler): send out property updates on successful
7451                         activation
7452                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7453                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
7454                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7455                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7456                         is now boxed; add PropertiesChanged signal
7457
7458 2007-10-04  Dan Williams  <dcbw@redhat.com>
7459
7460         * libnm-util/nm-connection.c
7461           libnm-util/nm-connection.h
7462                 - (nm_connection_verify): new function
7463
7464 2007-10-04  Dan Williams  <dcbw@redhat.com>
7465
7466         * libnm-util/nm-setting.c
7467                 - (nm_settings_verify): use #defines when possible rather than strings
7468                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7469                 - (setting_vpn_verify): tighter validity check on 'service_type'
7470
7471 2007-10-04  Dan Williams  <dcbw@redhat.com>
7472
7473         * libnm-glib/nm-settings.c
7474                 - (nm_connection_settings_class_init): provide correct type for argument
7475                         to the Updated signal so that dbus-glib knows how to marshal it
7476
7477 2007-10-03  Dan Williams  <dcbw@redhat.com>
7478
7479         * src/nm-device-802-3-ethernet.c
7480                 - (real_get_best_connection): don't create automatic connections
7481                         internally; clients should provide a setting that applies to
7482                         the device with 'autoconnect: True'.  Problem was that these
7483                         internally auto-created connections don't have a proxy or service
7484                         name becuase they weren't created by a settings daemon, and therefore
7485                         clients have no idea what to do with them.
7486
7487 2007-10-03  Dan Williams  <dcbw@redhat.com>
7488
7489         * src/nm-device-802-11-wireless.c
7490           src/nm-device-802-11-wireless.h
7491           introspection/nm-device-802-11-wireless.xml
7492                 - GetActiveNetworks -> GetAccessPoints
7493                 - ActiveNetwork -> ActiveAccessPoint
7494                 - NetworkAdded -> AccessPointAdded
7495                 - NetowrkRemoved -> AccessPointRemoved
7496
7497         * libnm-glib/nm-device-802-11-wireless.c
7498           libnm-glib/nm-device-802-11-wireless.h
7499                 - network-added signal -> access-point-added
7500                 - network-removed signal -> access-point-removed
7501                 - nm_device_802_11_wireless_get_active_network() ->
7502                         nm_device_802_11_wireless_get_active_access_point()
7503                 - nm_device_802_11_wireless_get_network_by_path() ->
7504                         nm_device_802_11_wireless_get_access_point_by_path()
7505                 - nm_device_802_11_wireless_get_networks() ->
7506                         nm_device_802_11_wireless_get_access_points()
7507
7508         * libnm-glib/libnm-glib-test.c
7509           test/nm-tool.c
7510           src/NetworkManagerPolicy.c
7511                 - Fixups for Network -> AccessPoint
7512
7513 2007-10-03  Dan Williams  <dcbw@redhat.com>
7514
7515         Add a GetActiveConnections() method on the Manager object.
7516
7517         * src/nm-manager.c
7518           src/nm-manager.h
7519           introspection/nm-manager.xml
7520                 - (connection_get_settings_cb): keep connection type around too
7521                 - (impl_manager_get_active_connections, add_one_connection_element):
7522                         implement; returns all active connections and what devices they
7523                         apply to
7524
7525         * libnm-glib/nm-client.c
7526           libnm-glib/nm-client.h
7527           introspection/nm-manager-client.xml
7528                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7529                         by the caller; free here to avoid memory leak
7530                 - (nm_client_get_active_connections): implement; return the list of
7531                         active connections
7532                 - (nm_client_free_active_connection_element): implement; free an element
7533                         of the GSList returned by nm_client_get_active_connections()
7534
7535 2007-10-03  Dan Williams  <dcbw@redhat.com>
7536
7537         * src/nm-device-802-11-wireless.c
7538                 - (nm_device_802_11_wireless_update_bssid): remove
7539                 - (get_active_ap): new function; find the AP in the scan list which
7540                         matches the current BSSID and SSID of the wireless device
7541                 - (nm_device_802_11_periodic_update): get current AP using
7542                         get_active_ap() and print AP roam messages
7543
7544 2007-10-01  Dan Williams  <dcbw@redhat.com>
7545
7546         * libnm-util/nm-setting.h
7547                 - Add a 'timestamp' option to NMSettingConnection
7548                 - Add a UINT64 type
7549
7550         * libnm-util/nm-setting.c
7551                 - (uint64_to_gvalue): new function
7552                 - (nm_setting_populate_from_hash, nm_setting_hash,
7553                    default_setting_clear_secrets): handle UINT64 type
7554                 - con_table: add 'timestamp' member
7555
7556 2007-10-01  Dan Williams  <dcbw@redhat.com>
7557
7558         * src/nm-manager.c
7559                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7560                         value when the connection can be activated immediately
7561
7562 2007-10-01  Dan Williams  <dcbw@redhat.com>
7563
7564         * libnm-glib/nm-device.c
7565                 - (nm_device_class_init): actually tell glib about the carrier-changed
7566                         signal
7567
7568 2007-10-01  Dan Williams  <dcbw@redhat.com>
7569
7570         * configure.in
7571           src/marshallers/Makefile.am
7572           src/marshallers/nm-marshal.list
7573           src/marshallers/nm-marshal-main.c
7574                 - Consolidate glib marshallers into one place
7575
7576         * src/dhcp-manager/Makefile.am
7577           src/dhcp-manager/nm-dhcp-manager.c
7578           src/supplicant-manager/Makefile.am
7579           src/supplicant-manager/nm-supplicant-manager.c
7580           src/supplicant-manager/nm-supplicant-interface.c
7581           src/ppp-manager/Makefile.am
7582           src/ppp-manager/nm-ppp-manager.c
7583           src/vpn-manager/Makefile.am
7584           src/vpn-manager/nm-vpn-connection.c
7585           src/Makefile.am
7586                 - Use consolidated marshallers
7587
7588         * src/dhcp-manager/nm-dhcp-marshal.list
7589           src/dhcp-manager/nm-dhcp-marshal-main.c
7590           src/supplicant-manager/nm-supplicant-marshal-main.c
7591           src/supplicant-manager/nm-supplicant-marshal.list
7592           src/nm-marshal-main.c
7593           src/nm-marshal.list
7594           src/ppp-manager/nm-ppp-marshal-main.c
7595           src/ppp-manager/nm-ppp-marshal.list
7596           src/vpn-manager/nm-vpn-marshal-main.c
7597           src/vpn-manager/nm-vpn-marshal.list
7598                 - Remove
7599
7600 2007-10-01  Dan Williams  <dcbw@redhat.com>
7601
7602         * include/NetworkManagerVPN.h
7603                 - define VPN connection state change reason codes
7604
7605         * src/vpn-manager/Makefile.am
7606           src/vpn-manager/nm-vpn-marshal.list
7607           src/vpn-manager/nm-vpn-marshal-main.c
7608                 - Add marshallers for StateChanged signal
7609
7610         * introspection/nm-vpn-connection.xml
7611                 - New Banner property
7612                 - StateChanged signal now includes a 'reason' argument
7613
7614         * src/vpn-manager/nm-vpn-connection.c
7615           src/vpn-manager/nm-vpn-connection.h
7616                 - Add a "Banner" property that contains the returned VPN server login
7617                         banner (if any); valid only in the ACTIVATED state
7618                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
7619                         a 'reason' argument and emits that reason along with the
7620                         state-changed signal
7621                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
7622                 - (nm_vpn_connection_ip4_config_get): save banner for later
7623                 - (nm_vpn_connection_get_banner, get_property,
7624                    nm_vpn_connection_class_init): implement Banner property
7625
7626         * src/vpn-manager/nm-vpn-service.c
7627                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
7628                         connection list because elements may get added/removed from it
7629                         while iterating over the list
7630                 - (connection_state_changed): signal now includes the 'reason' argument
7631
7632         * libnm-glib/nm-vpn-connection.c
7633           libnm-glib/nm-vpn-connection.h
7634                 - (nm_vpn_connection_get_banner): new function
7635                 - (state_changed_proxy): handle reason argument
7636
7637 2007-09-28  Tambet Ingo  <tambet@gmail.com>
7638
7639         * src/nm-manager.c:
7640         * src/nm-manager.h:
7641         Implement device activation through NMManager.
7642         Implement "pending device activation" here - If the connection isn't found,
7643         we try to wait for up to 5 seconds for the connection to be provided.
7644         Add NMConnectionType argument to "connection-added" and "connection-removed"
7645         signals.
7646         (nm_manager_get): Remove. Finally.
7647
7648         * src/nm-activation-request.c: 
7649         * src/nm-activation-request.h: 
7650         Remove all the deferred activation code.
7651
7652         * src/nm-device.c: Remove all the deferred activation code. Once the device
7653         activation is started, it's started. Update the activation virtual function
7654         signature.
7655
7656         * src/nm-device-interface.c:
7657         * src/nm-device-interface.h:
7658         Device activation now takes only NMActRequest argument.
7659         Don't expose device activation directly on dbus, it's supposed to go through
7660         NMManager now.
7661
7662         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
7663         a bit more compact.
7664         Use the new device activation methods through NMManager.
7665
7666         * introspection/nm-manager-client.xml: 
7667         * introspection/nm-manager.xml: 
7668         * libnm-glib/nm-client.c:
7669         * libnm-glib/nm-client.h:
7670         Add device activation method.
7671         
7672         * libnm-glib/nm-device.c: 
7673         * libnm-glib/nm-device.h: 
7674         * introspection/nm-device.xml: 
7675         Remove device activation method. It's done through NMManager now.
7676
7677         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
7678         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
7679
7680 2007-09-28  Dan Williams  <dcbw@redhat.com>
7681
7682         * libnm-glib/nm-vpn-connection.c
7683                 - (nm_vpn_connection_get_state): try to update state if the current
7684                         state is UNKNOWN
7685
7686 2007-09-27  Dan Williams  <dcbw@redhat.com>
7687
7688         Patch from Bill Nottingham
7689
7690         * src/supplicant-manager/nm-supplicant-config.c
7691                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
7692                         data to the supplicant
7693
7694 2007-09-27  Dan Williams  <dcbw@redhat.com>
7695
7696         * src/NetworkManagerSystem.c
7697                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
7698                         and all address manipulation here should be happening on the
7699                         _VPN_ device, not the active device
7700
7701 2007-09-26  Dan Williams  <dcbw@redhat.com>
7702
7703         * src/nm-manager.c
7704           src/nm-manager.h
7705           src/nm-activation-request.c
7706           src/nm-activation-request.h
7707                 - Move the GetSecrets stuff out of the NMManager instance because it
7708                         doesn't really need to be there and complicates things
7709
7710         * src/nm-device.c
7711                 - (connection_secrets_failed_cb, device_activation_go): connect to the
7712                         connection-secrets-failed signal and deactivate the device if
7713                         the GetSecrets call fails
7714
7715         * src/nm-device-802-11-wireless.c
7716                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7717                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
7718                         secrets and give correct hints about whether new secrets should be
7719                         asked for by the client or not
7720
7721 2007-09-26  Dan Williams  <dcbw@redhat.com>
7722
7723         * src/vpn-manager/nm-vpn-connection.c
7724                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
7725                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
7726                         to the secrets-updated signal of the NMConnection since updating
7727                         the secrets is done within the scope of the NMVPNConnection object
7728                         already
7729                 - (get_connection_secrets): fix an uninialized variable usage error
7730
7731 2007-09-26  Dan Williams  <dcbw@redhat.com>
7732
7733         * libnm-util/nm-setting.c
7734                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
7735                         actually get updated when the user enters them
7736
7737 2007-09-26  Dan Williams  <dcbw@redhat.com>
7738
7739         * libnm-glib/nm-vpn-plugin.c
7740                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
7741
7742 2007-09-26  Dan Williams  <dcbw@redhat.com>
7743
7744         * include/NetworkManagerVPN.h
7745                 - Add a NEED_AUTH state
7746
7747         * src/vpn-manager/nm-vpn-connection.c
7748                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
7749                         the connection needs secrets, and if so, then ask the settings
7750                         service to fill in the secrets.  Then start the connection.
7751
7752 2007-09-26  Dan Williams  <dcbw@redhat.com>
7753
7754         * src/vpn-manager/nm-vpn-manager.c
7755                 - (new_vpn_error, impl_vpn_manager_connect): set errors
7756
7757 2007-09-26  Dan Williams  <dcbw@redhat.com>
7758
7759         * introspection/nm-vpn-plugin.xml
7760           libnm-glib/nm-vpn-plugin.c
7761           libnm-glib/nm-vpn-plugin.h
7762                 - (impl_vpn_plugin_need_secrets): implement a call that should return
7763                         the name of the NMSetting in an NMConnection that may require
7764                         secrets specific to that VPN plugin
7765
7766 2007-09-26  Dan Williams  <dcbw@redhat.com>
7767
7768         * src/nm-manager.c
7769           src/nm-manager.h
7770                 - (nm_manager_get_connection_secrets): make static, unused outside
7771                         the file
7772                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
7773
7774 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7775
7776         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
7777         method.
7778         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
7779         unreference the connection.
7780
7781         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
7782         passing properties hash and routes string list, pass NMConnection (in hashed form).
7783
7784         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
7785         as GSList, no need to copy stuff around anymore.
7786         (nm_vpn_connection_activate): Update the plugin activation method.
7787
7788         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
7789         routes argument to GSList.
7790
7791 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7792
7793         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
7794         state and try to get the secrets.
7795
7796         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
7797         connections from NMManager and let the device to choose the best from the list.
7798         Since the connection list is sorted by system ones first and user ones later,
7799         the devices still prefer system connections like they did before.
7800         (deactivate_old_device): Implement. When a device starts activation, we have a
7801         policy (for now at least) to deactivate any other device that might be either
7802         active or still activating.
7803
7804         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
7805         It's set on construction, there will be no other way to access it.
7806
7807         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
7808         device events and drive the device, not the other way around.
7809
7810         * src/nm-device-802-3-ethernet.c: Ditto.
7811
7812         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
7813         sent along, pass it on to virtual functions.
7814
7815         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
7816         for now, but should really be public instead of nm_device_get_iface() since iface
7817         is a property of the DeviceInterface, not Device.
7818         (impl_device_activate): Don't touch NMManager!
7819
7820 2007-09-26  Jürg Billeter  <j@bitron.ch>
7821
7822         * initscript/paldo/NetworkManager.in:
7823         * initscript/paldo/NetworkManagerDispatcher.in:
7824         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
7825         (nm_system_flush_loopback_routes): update paldo backend
7826
7827 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7828
7829         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
7830         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
7831         which means none of the devices get brought down properly, which in turn leaves
7832         DHCP client running.
7833
7834         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
7835         (supplicant_connection_timeout_cb): Ditto.
7836
7837 2007-09-25  Dan Williams  <dcbw@redhat.com>
7838
7839         * src/nm-device.c
7840                 - (device_activation_go): small hack to work around race when
7841                         activating deferred connections; should solve this in a better way
7842
7843 2007-09-25  Dan Williams  <dcbw@redhat.com>
7844
7845         * introspection/nm-device.xml
7846           libnm-glib/nm-device.c
7847           libnm-glib/nm-device.h
7848                 - Add 'Carrier' property to exported NMDevice objects
7849
7850         * src/nm-device-interface.h
7851           src/nm-device-interface.c
7852           src/nm-device.c
7853                 - Add a 'carrier' property to internal NMDevice objects
7854
7855 2007-09-25  Dan Williams  <dcbw@redhat.com>
7856
7857         * src/nm-device-802-11-wireless.c
7858                 - (ap_auth_enforced): also return the encryption status of the AP so
7859                         that callers can differentiate easily between unencrypted APs
7860                         and encrypted ones, in addition to whether the AP has an
7861                         authenticator
7862                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7863                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
7864                         previously would request secrets from unencrypted APs at times
7865
7866 2007-09-25  Dan Williams  <dcbw@redhat.com>
7867
7868         * src/nm-manager.c
7869                 - (nm_manager_update_state): new function; updates state and emits
7870                         appropriate signals ensuring a state-change signal for the same state
7871                         never gets emitted twice in a row.
7872                 - (manager_device_state_changed): handle more device state to get a
7873                         better picture of the overall NM state
7874
7875 2007-09-25  Dan Williams  <dcbw@redhat.com>
7876
7877         * libnm-glib/nm-settings.c
7878           libnm-glib/nm-settings.h
7879                 - (new_error -> nm_settings_new_error): make public so that subclasses
7880                         can use the same error domain.  Also pass a valid error code to
7881                         g_error_new_literal() so that libdbus doesn't assert when converting
7882                         the GError into a DBusError
7883                 - (impl_settings_list_connections, impl_connection_settings_get_id,
7884                    impl_connection_settings_get_settings,
7885                    impl_connection_settings_get_secrets): use new error creator
7886                         function
7887
7888 2007-09-25  Dan Williams  <dcbw@redhat.com>
7889
7890         * src/NetworkManager.c
7891                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
7892
7893 2007-09-25  Dan Williams  <dcbw@redhat.com>
7894
7895         * src/supplicant-manager/nm-supplicant-manager.c
7896                 - (poke_supplicant_cb, nm_supplicant_manager_init,
7897                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
7898                    nm_supplicant_manager_startup): when the supplicant isn't running,
7899                         try to start it periodically via system bus activation.  Fixes
7900                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
7901                         for the supplicant to come back
7902
7903 2007-09-25  Dan Williams  <dcbw@redhat.com>
7904
7905         Ensure that old activation requests are forgotten about; previously
7906         hitting Cancel in the password dialog would deactivate whatever device
7907         that password was requested for, even if that wasn't the currently
7908         activating connection.
7909
7910         * src/nm-manager.c
7911           src/nm-manager.h
7912                 - (nm_manager_get_connection_secrets): track the pending call
7913                         object so it can be canceled later if needed
7914                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
7915                         GetSecrets call for a particular connection
7916
7917         * src/nm-activation-request.c
7918                 - (dispose): cancel any outstanding GetSecrets calls on the
7919                         connection
7920
7921 2007-09-25  Dan Williams  <dcbw@redhat.com>
7922
7923         * src/NetworkManagerPolicy.c
7924                 - (nm_policy_device_change_check): handle devices that have a
7925                         deferred activation.  These devices are not really active _yet_,
7926                         but need to be treated as such here.  Don't interrupt them
7927                         automatically.
7928
7929         * src/nm-device-interface.c
7930                 - (impl_device_activate): handle devices that have a deferred activation
7931                         like activating or active devices.  When multiple active devices
7932                         get committed, the device shouldn't be deactivated until the
7933                         connection details are available to avoid DoS and such.  Currently,
7934                         any active, activating, or deferred activation device is deactivated
7935                         here before starting the new activation request.
7936
7937 2007-09-25  Dan Williams  <dcbw@redhat.com>
7938
7939         Properly re-query secrets from the settings daemon when stuff fails.
7940
7941         * src/nm-device-802-11-wireless.c
7942                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
7943                         between Shared Key and Open System auth modes
7944                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7945                    real_act_stage4_ip_config_timeout): clear existing secrets and
7946                         request new ones when something fails due to a suspected wrong key
7947                 - (real_act_stage2_config): fix for new request_new argument to
7948                         nm_manager_get_connection_secrets()
7949
7950         * src/nm-manager.c
7951           src/nm-manager.h
7952                 - (nm_manager_get_connection_secrets): return error status; pass
7953                         new request_new argument on to the settings daemon
7954
7955         * introspection/nm-settings-connection.xml
7956                 - New 'request_new' argument to the GetSecrets call that hints to the
7957                         settings daemon to ask the user for completely new secrets
7958
7959         * libnm-glib/nm-settings.c
7960           libnm-glib/nm-settings.h
7961                 - (impl_connection_settings_get_secrets): handle new 'request_new'
7962                         argument
7963
7964 2007-09-25  Dan Williams  <dcbw@redhat.com>
7965
7966         * libnm-util/nm-connection.c
7967           libnm-util/nm-connection.h
7968                 - (nm_connection_clear_secrets): new function; clear secrets out of
7969                         each NMSetting in an NMConnection
7970
7971         * libnm-util/nm-setting.h
7972           libnm-util/nm-setting.c
7973                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
7974                         secrets out of an NMSetting
7975                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
7976                    nm_setting_wired_new, nm_setting_wireless_new,
7977                    nm_setting_wireless_security_new, nm_setting_ppp_new,
7978                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
7979                         to default handler default_setting_clear_secrets()
7980
7981 2007-09-25  Dan Williams  <dcbw@redhat.com>
7982
7983         * src/nm-activation-request.c
7984           src/nm-activation-request.h
7985                 - (nm_act_request_is_deferred): new function
7986
7987 2007-09-24  Dan Williams  <dcbw@redhat.com>
7988
7989         * src/nm-device-802-11-wireless.c
7990                 - (activation_success_handler): update signal strength immediately
7991                         after activation
7992
7993 2007-09-24  Dan Williams  <dcbw@redhat.com>
7994
7995         * libnm-util/nm-setting.c
7996                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
7997
7998 2007-09-24  Dan Williams  <dcbw@redhat.com>
7999
8000         * src/NetworkManagerPolicy.c
8001                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8002                         device by deactivating it because it doesn't have a "best connection".
8003                         Since autoconnect=False connections aren't automatically chosen,
8004                         NM would interrupt activation of such a connection because it
8005                         would never be "best" due to autoconnect=False.
8006
8007 2007-09-24  Dan Williams  <dcbw@redhat.com>
8008
8009         * src/nm-manager.c
8010                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8011                         actually has some time to enter a key before the GetSecrets call
8012                         times out
8013
8014 2007-09-24  Dan Williams  <dcbw@redhat.com>
8015
8016         * introspection/nm-manager.xml
8017           src/nm-manager.c
8018                 - (impl_manager_legacy_state): fix 'state' method call return value
8019
8020 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
8021
8022         * test/Makefile.am: Install nm-tool
8023
8024 2007-09-24  Dan Williams  <dcbw@redhat.com>
8025
8026         Patch from Ross Burton <ross@burtonini.com>
8027
8028         * test/nm-tool.c
8029           callouts/nm-dhcp-client-action.c
8030           src/nm-netlink.c
8031           src/vpn-manager/nm-vpn-connection.c
8032           libnm-glib/libnm-glib-test.c
8033                 - warning fixes
8034
8035 2007-09-24  Dan Williams  <dcbw@redhat.com>
8036
8037         * libnm-util/nm-utils.h
8038           libnm-util/nm-utils.c
8039                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8040                         remove, unused
8041
8042 2007-09-23  Dan Williams  <dcbw@redhat.com>
8043
8044         * vpn-daemons/vpnc/properties/nm-vpnc.c
8045                 - Update for new VPN properties API bits; instead of passing around
8046                         a lot of random things, everything goes into the NMConnection
8047                         object.
8048
8049 2007-09-23  Dan Williams  <dcbw@redhat.com>
8050
8051         * libnm-util/nm-setting.c
8052                 - Correctly dispose of settings objects if creating them from a hash
8053                         table fails
8054
8055 2007-09-23  Dan Williams  <dcbw@redhat.com>
8056
8057         * libnm-util/nm-setting.c
8058                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8059                         the hash table in a standard manner.  Clients of libnm-util should
8060                         only call g_hash_table_remove_all(), never destroy the hash table
8061                         and recreate it.
8062
8063 2007-09-22  Dan Williams  <dcbw@redhat.com>
8064
8065         * src/nm-device-802-11-wireless.c
8066                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
8067                         real reason to do it so often, and reduces wakeups for clients.
8068
8069 2007-09-21  Dan Williams  <dcbw@redhat.com>
8070
8071         * src/nm-device-802-11-wireless.c
8072                 - (build_supplicant_config): wpa_supplicant requires the option
8073                         key_mgmt=NONE for unencrypted networks
8074                 - (real_act_stage2_config): clarify log message on activation
8075
8076 2007-09-21  Dan Williams  <dcbw@redhat.com>
8077
8078         * test/nm-supplicant-test.c
8079           test/Makefile.am
8080                 - Remove supplicant test binary; no longer applicable
8081
8082 2007-09-21  Dan Williams  <dcbw@redhat.com>
8083
8084         * src/supplicant-manager/nm-supplicant-manager.c
8085                 - (nm_supplicant_manager_init): poke the supplicant at startup to
8086                         activate it on the system bus
8087
8088 2007-09-20  Dan Williams  <dcbw@redhat.com>
8089
8090         * initscript/RedHat/NetworkManager.in
8091                 - dhcdbd is no longer used, so don't try to start it from the initscripts
8092
8093 2007-09-20  Dan Williams  <dcbw@redhat.com>
8094
8095         * src/nm-device.c
8096                 - (nm_device_is_activating): work around a race between auto-activation
8097                         and the user activating the same device that is being auto-activated
8098
8099 2007-09-20  Dan Williams  <dcbw@redhat.com>
8100
8101         * src/nm-device-interface.c
8102                 - (impl_device_activate): until multiple active device support lands,
8103                         ensure only one device can be active at a time
8104
8105 2007-09-20  Dan Williams  <dcbw@redhat.com>
8106
8107         * src/supplicant-manager/nm-supplicant-config.c
8108           src/supplicant-manager/nm-supplicant-config.h
8109                 - (nm_supplicant_config_add_option): hide secrets from system logs
8110
8111 2007-09-20  Dan Williams  <dcbw@redhat.com>
8112
8113         * src/NetworkManagerPolicy.c
8114                 - (nm_policy_device_change_check): re-enable the wireless device change
8115                         checking code; insted of checking for SSIDs, check for the same
8116                         connection instead
8117
8118 2007-09-20  Dan Williams  <dcbw@redhat.com>
8119
8120         * src/nm-device-802-11-wireless.c
8121                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8122                         composite link state when determining when to start the disconnection
8123                         timer; that link state is already based on the supplicant interface's
8124                         status which is exactly what's already being examined, plus the link
8125                         state is a conglomeration of various things that we don't want here
8126
8127 2007-09-20  Dan Williams  <dcbw@redhat.com>
8128
8129         * libnm-glib/nm-access-point.c
8130                 - (handle_property_changed): strength is a UCHAR
8131
8132 2007-09-20  Dan Williams  <dcbw@redhat.com>
8133
8134         * src/supplicant-manager/nm-supplicant-config.c
8135                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8136                         string list keywords too since that's what wpa_supplicant wants
8137
8138 2007-09-20  Dan Williams  <dcbw@redhat.com>
8139
8140         * libnm-util/nm-setting.c
8141                 - (convert_strv_to_slist): dupe the values in the list because since
8142                         the list is a boxed value, it'll get destroyed when it's container
8143                         (like a hash table or whatever) gets destroyed
8144
8145 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8146
8147         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8148         GSList.
8149
8150         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8151
8152         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8153         just use (g_object_set_data_full).
8154
8155         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8156         that NMSettingVPN->routes is a GSList, convert it to char **.
8157         (nm_vpn_connection_ip4_config_get): Free routes when done.
8158         (nm_vpn_connection_activate): Ditto.
8159
8160         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8161         (real_act_stage2_config): Use defined setting names.
8162
8163 2007-09-20  Dan Williams  <dcbw@redhat.com>
8164
8165         * src/nm-device-802-11-wireless.c
8166           src/nm-manager.c
8167           src/nm-manager.h
8168                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8169                         so that the device can be deactivated if secrets are wrong
8170
8171 2007-09-20  Dan Williams  <dcbw@redhat.com>
8172
8173         * introspection/nm-settings-connection.xml
8174           libnm-glib/nm-settings.c
8175           libnm-glib/nm-settings.h
8176                 - Make GetSecrets asynchronous on the server side
8177
8178 2007-09-20  Dan Williams  <dcbw@redhat.com>
8179
8180         * src/nm-manager.h
8181           src/nm-device.c
8182                 - (nm_device_activate): actually check if a given connection
8183                         exists before assuming it doesn't
8184
8185 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8186
8187         * libnm-util/nm-connection.c (register_default_creators): Use defined
8188         setting names. Register NMSettingVPN and NMSettingVPNProperties.
8189
8190         * libnm-util/nm-setting.c: Define property name strings, use them.
8191         Implement NMSettingVPN and NMSettingVPNProperties settings.
8192         Implement NM_S_TYPE_GVALUE_HASH.
8193         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8194         (setting_connection_verify): Rename 'devtype' property to 'type'.
8195
8196         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8197         properties.
8198
8199         * src/vpn-manager/nm-vpn-service.c: Ditto.
8200
8201         * src/vpn-manager/nm-vpn-connection.c: Ditto.
8202
8203         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8204         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8205
8206         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8207         names. NMSettingConnection->devtype got renamed to 'type'.
8208
8209         * src/nm-device-802-3-ethernet.c (find_best_connection):
8210         (real_get_best_connection): Ditto.
8211
8212         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8213
8214         * libnm-glib/nm-vpn-manager.[ch]: Update.
8215
8216 2007-09-19  Dan Williams  <dcbw@redhat.com>
8217
8218         * src/NetworkManagerAP.c
8219           src/NetworkManagerAP.h
8220           introspection/nm-access-point.xml
8221                 - Change strength-changed signal into a properties-changed signal
8222                         for all properties, not just strength.  Export that signal over dbus
8223                         so listeners don't have to poll NM for changes.
8224                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8225                         get exported over D-Bus, so break up the logic and let other bits
8226                         decided when to export the AP
8227                 - (nm_ap_new_from_ap): remove, unused
8228
8229         * src/nm-device-802-11-wireless.c
8230                 - (merge_scanned_ap): only export APs that are actually on the device
8231                         list, not every AP created internally
8232
8233         * libnm-glib/nm-access-point.c
8234           libnm-glib/nm-access-point.h
8235                 - Cache properties internally and only hit DBus when needed.  Get
8236                         property updates from NM signals
8237
8238 2007-09-16  Dan Williams  <dcbw@redhat.com>
8239
8240         * libnm-util/nm-connection.c
8241           libnm-util/nm-connection.h
8242                 - (nm_connection_for_each_setting_value): new function; iterate over
8243                         each setting's value and call a user-provided function with details
8244                         about that value
8245
8246         * libnm-util/nm-setting.c
8247           libnm-util/nm-setting.h
8248                 - (nm_setting_enumerate_values): new function; enumerate the values
8249                         of a specific NMSetting subclass for a user-provided function with
8250                         details about that value
8251                 - Change wep_tx_keyidx to a uint32
8252                 - Create settings value tables for each setting defining their type,
8253                         key name, offset into the NMSetting subclass' structure, and whether
8254                         they are required and/or a secret
8255                 - (nm_setting_populate_from_hash): generic function to populate an
8256                         NMSetting from a GHash table, make all settings use it
8257                 - (nm_setting_hash): generic function to derive a GHashTable from
8258                         an NMSetting object, make all settings use it
8259
8260 2007-09-14  Dan Williams  <dcbw@redhat.com>
8261
8262         Remove unused stuff in libnm-util
8263
8264         * configure.in
8265           libnm-util/Makefile.am
8266           libnm-util/cipher-private.h
8267           libnm-util/cipher-wep-ascii.c
8268           libnm-util/cipher-wep-ascii.h
8269           libnm-util/cipher-wep-hex.c
8270           libnm-util/cipher-wep-hex.h
8271           libnm-util/cipher-wep-passphrase.c
8272           libnm-util/cipher-wep-passphrase.h
8273           libnm-util/cipher-wpa-psk-hex.c
8274           libnm-util/cipher-wpa-psk-hex.h
8275           libnm-util/cipher-wpa-psk-passphrase.c
8276           libnm-util/cipher-wpa-psk-passphrase.h
8277           libnm-util/cipher.c
8278           libnm-util/cipher.h
8279           libnm-util/dbus-helpers.c
8280           libnm-util/dbus-helpers.h
8281           libnm-util/gnome-keyring-md5.c
8282           libnm-util/gnome-keyring-md5.h
8283           libnm-util/sha1.c
8284           libnm-util/sha1.h
8285           src/nm-device-802-11-wireless.c
8286           test/libnm-util/Makefile.am
8287           test/libnm-util/test-ciphers.c
8288           test/libnm-util/test-dbus-helpers.c
8289           test/libnm-util/test-inputs.h
8290                 - Removed
8291
8292 2007-09-14  Dan Williams  <dcbw@redhat.com>
8293
8294         * libnm-util/dbus-method-dispatcher.c
8295           libnm-util/dbus-method-dispatcher.h
8296                 - Remove, unused
8297
8298 2007-09-14  Dan Williams  <dcbw@redhat.com>
8299
8300         Implement deferred activation support in the device class.
8301
8302         * src/nm-device-interface.c
8303           src/nm-device-interface.h
8304                 - (nm_device_interface_activate): take more arguments to support
8305                         deferred activation; callers must pass one of (connection) OR
8306                         (service_name, connection_path)
8307                 - (impl_device_activate): connection validation is punted to the device
8308                         to be able to handle deferred activation.  Yes, this means errors
8309                         don't get returned from the Activate() dbus call, and yes, that
8310                         should be fixed somehow later.
8311
8312         * src/nm-device.c
8313           src/nm-device.h
8314                 - (clear_act_request): clear additional deferred activation stuff too
8315                 - (deferred_activation_timeout_cb): new function; clean up when
8316                         deferred activation times out.
8317                 - (deferred_activation_start_cb): new function; when the connection
8318                         finally becomes available, start device activation
8319                 - (nm_device_activate): attach to the right signals of the activation
8320                         request if we need to defer activation until the connection is valid
8321
8322         * src/NetworkManagerPolicy.c
8323                 - (nm_policy_device_change_check): update for additional arguments
8324                         required for nm_device_interface_activate().  Pass NULL for these
8325                         though because this function already knows exactly which
8326                         NMConnection to use
8327
8328 2007-09-14  Dan Williams  <dcbw@redhat.com>
8329
8330         Implement deferred activation handling in the NMActRequest class.  When a
8331         client wants to activate a device but must create the NMConnection details
8332         on the fly, there likely hasn't been enough time yet for NM to receive the
8333         new connection signal and grab all the connection details.  So the
8334         activation is deferred (and bounded by a timer) for a while, and if the
8335         connection appears within the window, it is activated.
8336
8337         * src/nm-activation-request.c
8338           src/nm-activation-request.h
8339                 - (nm_act_request_class_init): two new signals to support deferred
8340                         activation, to allow the listener to handle both timeout and success
8341                 - (nm_act_request_new_deferred): new function, starts the deferred
8342                         activation timeout handler and listens to the NMManager for
8343                         new-connection signals to notice when the connection comes in
8344
8345 2007-09-14  Dan Williams  <dcbw@redhat.com>
8346
8347         * src/nm-manager.h
8348           src/nm-manager.c
8349                 - (nm_manager_get_connection_service_name,
8350                    nm_manager_get_connection_dbus_path): get details about a connection
8351                         known internally by the NMManager
8352                 - (nm_manager_class_init): fix connection add/remove signal marshalers
8353                         because NMConnection is now a GObject subclass
8354                 - Use constant for the gobject data tag used on NMConnection objects for
8355                         storing the associated DBusGProxy
8356
8357 2007-09-14  Dan Williams  <dcbw@redhat.com>
8358
8359         * utils/Makefile.am
8360           utils/nm-utils.c
8361           utils/nm-utils.h
8362           src/supplicant-manager/Makefile.am
8363           src/dhcp-manager/Makefile.am
8364           src/backends/Makefile.am
8365           src/named-manager/Makefile.am
8366           src/ppp-manager/Makefile.am
8367           src/vpn-manager/Makefile.am
8368           test/libnm-util/Makefile.am
8369           test/test-common/Makefile.am
8370                 - Remove utils/; it was unused
8371
8372 2007-09-13  Dan Williams  <dcbw@redhat.com>
8373
8374         * libnm-glib/nm-vpn-manager.h
8375           libnm-glib/nm-vpn-manager.c
8376                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8377
8378 2007-09-13  Dan Williams  <dcbw@redhat.com>
8379
8380         * src/nm-device-802-3-ethernet.c
8381                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8382                         netlink monitor carrier signals on dispose, not bring down.  The
8383                         carrier signals should be handled over the entire lifetime of the
8384                         device anyway, not created/destroyed on up or down.
8385
8386 2007-09-13  Dan Williams  <dcbw@redhat.com>
8387
8388         * libnm-glib/nm-device.c
8389           libnm-glib/nm-device.h
8390                 - (nm_device_activate): take a connection object path rather than an
8391                         NMConnection because NMConnection isn't exported over D-Bus and
8392                         therefore it dbus-glib can't automatically get an object path from it
8393
8394 2007-09-13  Dan Williams  <dcbw@redhat.com>
8395
8396         * libnm-util/nm-setting.c
8397                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8398
8399 2007-09-13  Tambet Ingo  <tambet@gmail.com>
8400
8401         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8402
8403 2007-09-12  Tambet Ingo  <tambet@gmail.com>
8404
8405         * src/vpn-manager/nm-vpn-connection.[ch]: 
8406         * src/vpn-manager/nm-vpn-manager.[ch]:
8407         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
8408         dbus-glib, GObjects, signals etc.
8409
8410         * libnm-glib/nm-vpn-manager.[ch]: 
8411         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8412         so much, rewrite these too.
8413
8414         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8415         the new introspection files.
8416
8417         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8418
8419         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8420         the header with the same name from libnm-utils.
8421
8422         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8423
8424         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8425
8426         * introspection/nm-vpn-plugin.xml: Implement.
8427
8428         * introspection/nm-vpn-connection.xml: Implement.
8429
8430         * introspection/nm-vpn-manager.xml: Implement.
8431
8432         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8433         the named manager argument, it can just as easily get it as the caller.
8434         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8435
8436         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8437
8438         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8439
8440         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8441         libnm-utils.
8442
8443         * libnm-util/nm-connection.c: Ditto.
8444
8445         * src/NetworkManagerMain.h: Remove, it's finally empty.
8446
8447         * configure.in: Remove utils/ from build.
8448
8449         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8450         of hard-coded strings.
8451
8452         * utils/: Move it over to libnm-util.
8453
8454         * test/Makefile.am: Link against libnm-util now that util/ is gone.
8455
8456         * dispatcher-daemon/Makefile.am: Ditto.
8457
8458         * src/Makefile.am: Ditto.
8459
8460 2007-09-12  Dan Williams  <dcbw@redhat.com>
8461
8462         Wireless connections can be made with config data from the applet now.
8463         
8464         Yay.
8465
8466         * src/supplicant-manager/nm-supplicant-config.h
8467           src/supplicant-manager/nm-supplicant-config.c
8468                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8469                 - (nm_supplicant_config_add_setting_wireless,
8470                    nm_supplicant_config_add_setting_wireless_security): new functions;
8471                         add key/value pairs from the settings objects to the supplicant
8472                         config
8473
8474         * src/nm-device-802-11-wireless.c
8475                 - (cull_scan_list): fix check to not prune currently associated AP
8476                 - (build_supplicant_config, real_act_stage2_config): call the functions
8477                         of the NMSupplicantConfig that parse settings objects rather than
8478                         doing it manually here
8479
8480 2007-09-12  Dan Williams  <dcbw@redhat.com>
8481
8482         * src/supplicant-manager/nm-supplicant-interface.c
8483           src/supplicant-manager/nm-supplicant-marshal.list
8484                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8485                         "connection-error" signal arguments should be STRING not CHAR
8486
8487 2007-09-12  Dan Williams  <dcbw@redhat.com>
8488
8489         * src/NetworkManagerUtils.c
8490           src/NetworkManagerUtils.h
8491                 - (nm_utils_hexstr2bin): new function
8492
8493 2007-09-11  Dan Williams  <dcbw@redhat.com>
8494
8495         * src/nm-manager.c
8496                 - (connection_get_settings_cb): emit connection-added signal
8497                 - (connection_removed_cb): uncomment bits for system settings service,
8498                         send connection-removed when appropriate
8499                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8500                         the stack by trying to g_object_set_data() on something that's
8501                         not a GObject; handle case where settings service returns
8502                         empty settings hash table
8503
8504 2007-09-11  Dan Williams  <dcbw@redhat.com>
8505
8506         * src/NetworkManagerPolicy.c
8507                 - (connection_added, connection_removed): trigger device change checks
8508                         on connection changes
8509
8510 2007-09-11  Dan Williams  <dcbw@redhat.com>
8511
8512         * src/nm-activation-request.c
8513                 - (connection_secrets_updated_cb): fix c&p error in signal emission
8514
8515 2007-09-11  Dan Williams  <dcbw@redhat.com>
8516
8517         * src/nm-device-802-11-wireless.c
8518                 - (real_connection_secrets_updated): fix erroneous check
8519
8520 2007-09-11  Dan Williams  <dcbw@redhat.com>
8521
8522         * introspection/nm-device.xml
8523           libnm-glib/nm-device.c
8524           libnm-glib/nm-device.c
8525                 - Fix Activate call argument borkage; Activate takes 3 arguments
8526
8527 2007-09-11  Dan Williams  <dcbw@redhat.com>
8528
8529         * libnm-glib/nm-access-point.c
8530           libnm-glib/nm-access-point.c
8531                 - (nm_access_point_get_frequency): now returns guint32 to match
8532                         property change on 2007-09-10
8533
8534 2007-09-11  Dan Williams  <dcbw@redhat.com>
8535
8536         * src/nm-device-802-11-wireless.c
8537                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8538                         somewhere defines 'index' and I missed this one when I fixed the
8539                         shadow declaration errors earlier
8540
8541 2007-09-11  Dan Williams  <dcbw@redhat.com>
8542
8543         * libnm-util/nm-connection.c
8544                 - (nm_connection_update_secrets, need_secrets_check): move
8545                         802-11-wireless-security need_secrets checks to the setting object
8546                         itself, where it belongs
8547
8548         * libnm-util/nm-setting.c
8549           libnm-util/nm-setting.h
8550                 - (nm_setting_need_secrets): new function
8551                 - (setting_wireless_security_verify,
8552                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8553                 - (setting_wireless_security_need_secrets): mostly copy code over
8554                         from nm-connection.c
8555
8556 2007-09-11  Dan Williams  <dcbw@redhat.com>
8557
8558         * libnm-util/nm-setting.c
8559           libnm-util/nm-setting.h
8560                 - (nm_setting_update_secrets): new function; add a virtual function that
8561                         subclasses can implement to update their secrets
8562                 - (setting_wireless_security_update_secrets): implement that function
8563                         for the 802-11-wireless-security subclass
8564
8565         * libnm-util/nm-connection.c
8566           libnm-util/nm-connection.h
8567                 - (nm_connection_update_secrets): update secrets for a Setting and
8568                         emit a signal on success
8569
8570         * src/nm-manager.c
8571           src/nm-manager.h
8572           src/nm-marshal.list
8573                 - (connection_get_settings_cb): enable system settings bits
8574                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8575                         to request secrets from the settings dbus service and to
8576                         push those secrets to the NMConnection itself
8577
8578         * src/nm-activation-request.c
8579           src/nm-activation-request.h
8580                 - Attach to the 'secrets-updated' signal of the NMConnection that's
8581                         currently being activated, and proxy that signal to other listeners.
8582                         Goes through the activation request because the activation request
8583                         is the thing that manages the lifetime of the NMConnection that's
8584                         being activated.
8585
8586         * src/nm-device-802-11-wireless.c
8587                 - (real_connection_secrets_updated): implement the connection secrets
8588                         updated notification and restart activation when secrets are
8589                         received
8590                 - (real_act_stage2_config): request secrets from the settings dbus
8591                         service if secrets are needed
8592
8593         * src/nm-device.c
8594           src/nm-device.h
8595                 - (clear_act_request, nm_device_activation_cancel,
8596                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
8597                         where the activation request is cleared
8598                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
8599                         updated secrets signal of activation request and add a function
8600                         that subclasses can override to handle it easily
8601
8602 2007-09-11  Tambet Ingo  <tambet@gmail.com>
8603
8604         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
8605         removal of NetworkManagerAPList.
8606
8607 2007-09-10  Dan Williams  <dcbw@redhat.com>
8608
8609         * src/NetworkManagerAP.c
8610           src/NetworkManagerAP.h
8611           introspection/nm-access-point.xml
8612                 - Change 'freq' property to a guint32 instead of a double since we
8613                         weren't using the floating point bits anyway
8614
8615 2007-09-10  Dan Williams  <dcbw@redhat.com>
8616
8617         * NetworkManagerAP.c
8618           NetworkManagerAP.h
8619           NetworkManagerPolicy.c
8620           NetworkManagerSystem.c
8621           NetworkManagerUtils.c
8622           NetworkManagerUtils.h
8623           nm-device-802-11-wireless.c
8624           nm-device-802-3-ethernet.c
8625           nm-hal-manager.c
8626           nm-manager.c
8627           vpn-manager/nm-dbus-vpn.c
8628                 - Warning fixes; casts and removal of unused variables
8629
8630 2007-09-10  Dan Williams  <dcbw@redhat.com>
8631
8632         * include/NetworkManager.h
8633                 - Kill NMNetworkType; AP types don't matter any more
8634
8635         * src/NetworkManagerAPList.c
8636           src/NetworkManagerAPList.h
8637           src/Makefile.am
8638                 - Kill; NMAccessPointList has outlived it's usefulness
8639
8640         * src/NetworkManagerAP.c
8641           src/NetworkManagerAP.h
8642                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
8643                         functions; check if an NMConnection object is compatible with the
8644                         settings of this AP
8645                 - (freq_to_channel, channel_to_freq): utility functions for
8646                         channel <-> frequency conversion
8647
8648         * src/nm-device.c
8649           src/nm-device.h
8650                 - (nm_device_get_best_connection): pass the specific object around
8651                          (which might be the object path of a specific AP to connect to).
8652                          The get_best_connection() call should populate this on return
8653                          if needed (wireless does).
8654
8655         * src/nm-device-802-3-ethernet.c
8656                 - (real_get_best_connection): handle specific_object argument
8657
8658         * src/NetworkManager.c
8659           src/NetworkManagerMain.h
8660                 - Remove unused includes
8661
8662         * src/nm-device-802-11-wireless.c
8663           src/nm-device-802-11-wireless.h
8664                 - Convert the ap_list into a GSList from an NMAccessPointList
8665                 - No need for caching the 'activation_ap' since this is now determined
8666                         from the specific_object of the activation request, which is
8667                         populated from the get_best_connection() call or from a user request
8668                 - (nm_device_802_11_wireless_update_bssid): fix warning
8669                 - (get_wireless_capabilities): fix error message format arguments
8670                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
8671                 - (find_best_connection, real_get_best_connection): implement
8672                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
8673                         move here from NetworkManagerAPList
8674                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
8675                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
8676                         already verified earlier
8677                 - (real_act_stage2_config): use nm_connection_need_secrets()
8678
8679         * src/NetworkManagerPolicy.c
8680                 - (nm_policy_auto_get_best_device): handle specific objects
8681                 - (create_connection): remove; automatic connection creation functionality
8682                         is handled by the Connection objects
8683                 - (nm_policy_device_change_check): handle specific_object
8684
8685         * libnm-util/nm-connection.c
8686                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
8687
8688 2007-09-10  Dan Williams  <dcbw@redhat.com>
8689
8690         * src/nm-manager.c
8691                 - (query_connections): fix uninitialized variable problem that caused
8692                         segfault
8693                 - (nm_manager_add_device): take devices down on startup so that we can
8694                         be assured that nm_device_is_up() won't short-circuit the init
8695                         process.  Hack until the is_up check gets split into two pieces
8696                         that aren't behaviorally confusing.
8697
8698 2007-09-09  Dan Williams  <dcbw@redhat.com>
8699
8700         * introspection/nm-device.xml
8701                 - The 'Activate' method now takes 3 arguments, a service name for the
8702                 settings service (user or system), the object path of the connection
8703                 to activate, and the specific object to activate, if any
8704
8705         * src/nm-device-interface.c
8706                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
8707                 Add error bits
8708                 - (impl_device_activate): adapt to new Activate arguments; validate
8709                 the service name and get the Connection object from the NMManager
8710                 before starting to activate the device with the specified connection
8711
8712         * src/nm-device-802-3-ethernet.c
8713                 - (real_get_best_connection): find the best connection, or create a
8714                 default one if no existing connections can be used
8715
8716         * src/NetworkManagerPolicy.c
8717                 - (nm_policy_auto_get_best_device): Get the device's best connection
8718                 and only pick the device if it has one
8719                 - (nm_policy_device_change_check): disable wireless bits for now until
8720                 wireless get_best_connection() can be implemented (replacing "best_ap");
8721                 don't create a default connection here as the device subclass will do
8722                 that if needed
8723
8724         * src/nm-manager.h
8725           src/nm-manager.c
8726                 - (nm_manager_get): make NMManager a singleton and expose the getter
8727                 internally
8728                 - Rework internal NMManager connection handling to use the same
8729                 routines for both the system and user settings services.  Most calls
8730                 take a new NMConnectionType argument specifying either system or user
8731                 connections
8732                 - (nm_manager_get_connection_by_object_path): new function; get a
8733                 connection keyed on its object path
8734
8735         * src/NetworkManager.c
8736                 - (main): use nm_manager_get()
8737
8738 2007-09-09  Dan Williams  <dcbw@redhat.com>
8739
8740         * src/nm-device.h
8741           src/nm-device.c
8742                 - (nm_device_get_best_connection): new function; get best connection
8743                         for the device at that time
8744
8745 2007-09-09  Dan Williams  <dcbw@redhat.com>
8746
8747         * src/nm-device-interface.h
8748                 - Add NMDeviceInterfaceError with an UnknownConnection error
8749
8750 2007-09-09  Dan Williams  <dcbw@redhat.com>
8751
8752         Stupid mistake on my part; object path and interface for settings service
8753         and connection objects can be the same, only the service name must be
8754         different for the system and user settings services.
8755
8756         * include/NetworkManager.h
8757           src/nm-manager.c
8758           introspection/nm-settings-connection.xml
8759           introspection/nm-settings.xml
8760           libnm-glib/nm-settings.c
8761                 - (nm_connection_settings_init, query_user_connections,
8762                    new_connection_cb): Unify NetworkManagerSettings and Connection
8763                    interface name and object path
8764
8765 2007-09-06  Dan Williams  <dcbw@redhat.com>
8766
8767         * libnm-glib/nm-object.c
8768                 - (nm_object_get_string_property, nm_object_get_object_path_property,
8769                    nm_object_get_int_property, nm_object_get_uint_property,
8770                    nm_object_get_boolean_property, nm_object_get_byte_property,
8771                    nm_object_get_double_property, nm_object_get_byte_array_property):
8772                         clear GValues after copying their contents, fixes memory leaks
8773                         after every property access because dbus-glib copies the values
8774                         from the DBusMessage into the GValue already.
8775
8776 2007-09-06  Dan Williams  <dcbw@redhat.com>
8777
8778         * introspection/nm-access-point.xml
8779                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
8780                         them to be.  There's some magic property name parsing going on in
8781                         dbus-glib that breaks up property names based on studly-caps and
8782                         puts - between words.
8783
8784         * libnm-glib/nm-access-point.c
8785                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
8786                         Fix property names
8787
8788 2007-09-06  Dan Williams  <dcbw@redhat.com>
8789
8790         * src/nm-manager.c
8791                 - (nm_manager_user_connections_destroy): clear the user connections hash
8792                         table, don't destroy it
8793                 - (finalize): only destroy the hash table on NMManager finalization
8794
8795 2007-09-02  Dan Williams  <dcbw@redhat.com>
8796
8797         * include/NetworkManager.h
8798           libnm-glib/nm-settings.c
8799                 - defines for the user settings daemon D-Bus bits
8800
8801         * src/NetworkManager.c
8802                 - Remove stuff that referred to the old NetworkManagerInfo service
8803
8804         * src/vpn-manager/nm-dbus-vpn.h
8805                 - Move old NMI defines to the only place they are used still
8806
8807         * libnm-util/nm-connection.c
8808           libnm-util/nm-connection.h
8809           src/nm-activation-request.c
8810                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
8811
8812         * src/nm-manager.c
8813           src/nm-manager.h
8814                 - Get connections and their settings from the user settings daemon
8815                         at the appropriate times
8816
8817 2007-09-02  Dan Williams  <dcbw@redhat.com>
8818
8819         * libnm-util/nm-setting.c
8820                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
8821                 - (setting_wireless_hash): set the right value on the item
8822
8823 2007-09-02  Dan Williams  <dcbw@redhat.com>
8824
8825         * test/Makefile.am
8826           test/nminfotest.c
8827                 - Remove, no longer useful
8828
8829 2007-08-30  Dan Williams  <dcbw@redhat.com>
8830
8831         * src/Makefile.am
8832           src/NetworkManagerDbus.c
8833           src/NetworkManagerDbus.h
8834           src/vpn-manager/nm-dbus-vpn.c
8835                 - Remove, no longer necessary.  Move last bits to the only place its
8836                 used, in nm-dbus-vpn.c
8837
8838         * src/NetworkManagerAPList.c
8839           src/nm-device.c
8840           src/NetworkManager.c
8841           src/nm-device-802-11-wireless.c
8842           src/vpn-manager/nm-vpn-manager.c
8843           src/vpn-manager/nm-vpn-service.c
8844           src/NetworkManagerPolicy.c
8845           src/nm-manager.c
8846                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
8847                 that was message_is_error()
8848
8849 2007-08-30  Dan Williams  <dcbw@redhat.com>
8850
8851         * libnm-util/sha1.c
8852                 - Include config.h to get defines for endiannes (gnome.org #420216)
8853
8854 2007-08-30  Dan Williams  <dcbw@redhat.com>
8855
8856         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
8857
8858         * src/ppp-manager/Makefile.am
8859                 - use -fPIC (gnome.org #471825)
8860
8861 2007-08-29  Dan Williams  <dcbw@redhat.com>
8862
8863         * include/NetworkManager.h
8864                 - Keep NMConnection object path in sync
8865
8866         * libnm-glib/nm-settings.c
8867           libnm-glib/nm-settings.h
8868                 - Break D-Bus object registration out of the init function, because
8869                 every object that's exported over D-Bus needs to use the _same_
8870                 DBusConnection.  Otherwise, each object would get a different object
8871                 path tree and wouldn't be callable.
8872
8873 2007-08-29  Dan Williams  <dcbw@redhat.com>
8874
8875         * libnm-util/nm-setting.h
8876           libnm-util/nm-setting.c
8877           libnm-util/nm-connection.c
8878           src/NetworkManagerPolicy.c
8879                 - 'info' settings object should be 'connection' says the spec
8880                 at NetworkManagerConfigurationSpecification
8881
8882 2007-08-29  Dan Williams  <dcbw@redhat.com>
8883
8884         * libnm-glib/nm-settings.c
8885           libnm-glib/nm-settings.h
8886                 - make the dbus path a property of the object, and autogenerate it.
8887                 It can't be composed of the 'id' field becuase that's not available
8888                 yet during the GObject creation in nm_connection_settings_init()
8889
8890 2007-08-29  Dan Williams  <dcbw@redhat.com>
8891
8892         * introspection/nm-settings-connection.xml
8893           introspection/nm-settings.xml
8894                 - Service name -> NetworkManagerUserSettings because two services
8895                 can't share part of the same path.  I'm not really sure how we'll use
8896                 the same code with the system-settings daemon...
8897
8898 2007-08-28  Dan Williams  <dcbw@redhat.com>
8899
8900         * src/nm-device-interface.c
8901           src/nm-device-interface.h
8902                 - Kill one more bit of NMData
8903
8904 2007-08-28  Dan Williams  <dcbw@redhat.com>
8905
8906         * src/NetworkManagerSystem.h
8907           src/nm-device.c
8908           src/nm-device.h
8909           src/nm-hal-manager.c
8910           src/NetworkManager.c
8911           src/nm-device-802-11-wireless.c
8912           src/nm-hal-manager.h
8913           src/nm-device-802-3-ethernet.c
8914           src/vpn-manager/nm-vpn-service.h
8915           src/vpn-manager/nm-vpn-manager.c
8916           src/vpn-manager/nm-vpn-manager.h
8917           src/vpn-manager/nm-vpn-service.c
8918           src/nm-device-802-11-wireless.h
8919           src/NetworkManagerMain.h
8920           src/nm-device-802-3-ethernet.h
8921           src/backends/NetworkManagerGentoo.c
8922           src/backends/NetworkManagerPaldo.c
8923           src/backends/NetworkManagerFrugalware.c
8924           src/backends/NetworkManagerRedHat.c
8925           src/backends/NetworkManagerSlackware.c
8926           src/backends/NetworkManagerGeneric.c
8927           src/backends/NetworkManagerArch.c
8928           src/backends/NetworkManagerSuSE.c
8929           src/backends/NetworkManagerGeneric.h
8930           src/backends/NetworkManagerDebian.c
8931                 - Kill NMData
8932
8933 2007-08-28  Dan Williams  <dcbw@redhat.com>
8934
8935         * src/NetworkManagerMain.h
8936           src/nm-device-802-11-wireless.c
8937           src/NetworkManager.c
8938                 - Remove invalid AP list from NMData; need to rework this somewhat, but
8939                 for now we should set the 'invalid' property on individual APs, and when
8940                 we need to invalidate a whole ESS, set the 'invalid' on every member of
8941                 that ESS
8942
8943 2007-08-28  Dan Williams  <dcbw@redhat.com>
8944
8945         * src/NetworkManagerAP.c
8946           src/NetworkManagerAP.h
8947                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
8948                         'autoconnect' property instead
8949
8950         * src/NetworkManager.c
8951           src/NetworkManagerMain.h
8952           src/NetworkManagerPolicy.c
8953           src/NetworkManagerPolicy.h
8954                 - Remove the 'allowed_ap_list', which should be replaced by 
8955                         NMConnection/NMSettings instead, since _those_ are the allowed
8956                         things that NM can connect to
8957
8958         * src/nm-device-802-11-wireless.c
8959                 - Remove both allowed_ap_list usage and 'fallback' checking
8960
8961 2007-08-28  Dan Williams  <dcbw@redhat.com>
8962
8963         * src/nm-device.c
8964           src/named-manager/nm-named-manager.c
8965           src/named-manager/nm-named-manager.h
8966           src/NetworkManager.c
8967           src/vpn-manager/nm-vpn-manager.c
8968           src/NetworkManagerMain.h
8969           src/NetworkManagerSystem.c
8970                 - Remove the named-manager object from NMData structure in preparation
8971                 for NMData's timely death.  Make the NMNamedManager the singleton that
8972                 it really is
8973
8974 2007-08-28  Dan Williams  <dcbw@redhat.com>
8975
8976         Remove NMAPSecurity objects, they are replaced with flags on the APs for
8977         each AP's capabilities, and by NMConnection/NMSettings objects for user
8978         defined connections.
8979
8980         * include/NetworkManager.h
8981                 - Redefine 802.11 security properties.  There are now device capabilities
8982                         and AP flags and AP security flags.  It was way to unclear before.
8983
8984         * src/Makefile.am
8985           src/nm-ap-security-leap.h
8986           src/nm-ap-security-leap.c
8987           src/nm-ap-security-wpa-eap.c
8988           src/nm-ap-security-wpa-eap.h
8989           src/nm-ap-security-private.h
8990           src/nm-ap-security-wpa-psk.c
8991           src/nm-ap-security-wpa-psk.h
8992           src/nm-ap-security-wep.c
8993           src/nm-ap-security-wep.h
8994           src/nm-ap-security.c
8995           src/nm-ap-security.h
8996                 - Removed, to be replaced with NMConnection/NMSettings objects
8997
8998         * src/nm-dbus-nmi.c
8999           src/nm-dbus-nmi.h
9000                 - Removed, to be replaced by code that talks to the new info daemon
9001                         interface and gets NMConnection/NMSettings objects
9002
9003         * src/backends/NetworkManagerSuSE.c
9004                 - Remove usage of NMAPSecurity; should be replaced by a system-level
9005                         info-daemon that does the same thing but talks the new info-daemon
9006                         D-Bus interface
9007
9008         * src/NetworkManagerAP.h
9009           src/NetworkManagerAP.c
9010           src/NetworkManagerAPList.c
9011           libnm-glib/libnm-glib-test.c
9012                 - Remove usage of NMAPSecurity objects and adjust to new flags for
9013                         WPA/RSN
9014
9015         * libnm-glib/nm-access-point.c
9016           libnm-glib/nm-access-point.h
9017           introspection/nm-access-point.xml
9018           test/nm-tool.c
9019                 - Adjust to new flags for AP security
9020
9021         * utils/nm-utils.c
9022           utils/nm-utils.h
9023           src/vpn-manager/nm-dbus-vpn.c
9024                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9025                         stuff which is the only place it's used
9026
9027         * src/nm-device-interface.c
9028           src/nm-device-interface.h
9029           introspection/nm-device.xml
9030           src/nm-activation-request.c
9031           src/nm-activation-request.h
9032           src/nm-device.c
9033                 - Add a new 'specific_object' argument that hints to NM what actual
9034                         AP or other device-specific thing the connection should apply to.
9035                         NMConnection objects can apply to more than one actual device/AP.
9036
9037         * libnm-util/nm-connection.c
9038         * libnm-util/nm-connection.h
9039                 - Add 'have_secrets" call stubs
9040
9041         * libnm-util/cipher.h
9042                 - Move NM_AUTH_TYPE_* defines here for now
9043
9044         * src/nm-device-802-11-wireless.c
9045                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9046                         NMSettings objects
9047
9048         * src/NetworkManagerDbus.c
9049         * src/NetworkManagerPolicy.c
9050                 - Remove usage of update_allowed_networks, should be pushing data in
9051                         a different manner
9052
9053 2007-08-27  Tambet Ingo  <tambet@gmail.com>
9054
9055         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
9056         dbus-glib frees it when the call is done.
9057
9058 2007-08-26  Dan Williams  <dcbw@redhat.com>
9059
9060         * introspection/nm-device.xml
9061                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9062
9063 2007-08-26  Dan Williams  <dcbw@redhat.com>
9064
9065         * src/nm-device-802-3-ethernet.c
9066                 - (constructor): move connection of interface-connected/disconnected
9067                         signals here from real_bring_up().  Should be listening to netlink
9068                         for carrier events no matter what the initial state of the device
9069                         is.
9070
9071 2007-08-26  Dan Williams  <dcbw@redhat.com>
9072
9073         * src/nm-netlink-monitor.c
9074                 - (nm_netlink_monitor_class_init): fix marshalling types for
9075                         interface-connected/interface-disconnected
9076                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9077                         check
9078
9079 2007-08-26  Dan Williams  <dcbw@redhat.com>
9080
9081         Convert to using interface indexes as the primary method of identifying
9082         devices inside NetworkManager.  Indexes are (?) stable, but devices can
9083         be renamed at any time.  Device object paths now refer to the device
9084         index rather than the name, and you can map those two manually if you like
9085         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
9086         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9087         to use interface indexes rather than names.
9088
9089 2007-08-26  Dan Williams  <dcbw@redhat.com>
9090
9091         * src/nm-netlink-monitor.h
9092                 - Remove one last bit of wireless-event signal
9093
9094 2007-08-26  Dan Williams  <dcbw@redhat.com>
9095
9096         * src/nm-netlink-monitor.c
9097                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9098                         don't need the 'wireless-event' signal anymore since that's all
9099                         handled by wpa_supplicant
9100
9101 2007-08-25  Dan Williams  <dcbw@redhat.com>
9102
9103         It's 2007. Remove support for drivers that don't support wireless scanning.
9104
9105         * test/nm-tool.c
9106           include/NetworkManager.h
9107           src/NetworkManagerUtils.c
9108           src/NetworkManagerPolicy.c
9109           src/nm-device-802-11-wireless.c
9110                 - Remove special handling for non-scanning devices and mark them
9111                         as unsupported/unhandled
9112
9113 2007-08-20  Dan Williams  <dcbw@redhat.com>
9114
9115         * src/nm-device-802-11-wireless.c
9116           src/nm-device-802-3-ethernet.c
9117                 - (real_is_up): move device-specific tests before generic IFF_UP test,
9118                         because when the card is pulled or the module removed, the device
9119                         is already !IFF_UP and then device-specific cleanup (removing
9120                         the supplicant interface, periodic checks, etc) never gets done
9121
9122 2007-08-20  Dan Williams  <dcbw@redhat.com>
9123
9124         * src/nm-manager.c
9125                 - (nm_manager_remove_device): bring device down before disconnecting
9126                         signal handlers, so that the 'state' signal will get broadcast when
9127                         the device enters the DOWN state
9128                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9129                         of states that cause the NMManager to recheck its state
9130
9131 2007-08-20  Dan Williams  <dcbw@redhat.com>
9132
9133         * src/supplicant-manager/nm-supplicant-interface.c
9134                 - (interface_disconnect_done): don't try to dispose of the net proxy
9135                         when it may already have been disposed of
9136
9137 2007-08-20  Dan Williams  <dcbw@redhat.com>
9138
9139         * src/nm-device-802-11-wireless.c
9140                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9141                         the SSID isn't available; this can happen when the card is pulled
9142                         or the module unloaded, during the post-removal deactivation
9143                         paths, when the ioctl returns ENODEV
9144
9145 2007-08-20  Dan Williams  <dcbw@redhat.com>
9146
9147         * src/nm-device-802-11-wireless.c
9148                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9149                         frequency, and mode match.  Applets are now responsible for grouping
9150                         access points
9151
9152 2007-08-20  Dan Williams  <dcbw@redhat.com>
9153
9154         * src/NetworkManagerAP.c
9155         * src/NetworkManagerAP.h
9156                 - (nm_ap_print_self): new function
9157
9158         * src/NetworkManagerAPList.c
9159                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9160                         to do it all here
9161         
9162 2007-08-17  Dan Williams  <dcbw@redhat.com>
9163
9164         * src/nm-device-802-3-ethernet.c
9165                 - (real_bring_down): don't try to dispose of stuff that might not
9166                         exist
9167
9168 2007-08-17  Dan Williams  <dcbw@redhat.com>
9169
9170         * src/NetworkManagerAP.c
9171                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9172                         applet.  This ensures that the case between the seen-bssids and
9173                         the bssids reported by the driver match.
9174
9175 2007-08-17  Dan Williams  <dcbw@redhat.com>
9176
9177         * src/nm-device-802-11-wireless.c
9178                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9179                         we dispose of the interface proxy in NM
9180
9181 2007-08-16  Dan Williams  <dcbw@redhat.com>
9182
9183         * libnm-glib/nm-client.c
9184                 - (nm_client_init): create VPN connections hash table with key free
9185                         function
9186                 - (proxy_vpn_connection_added): VPN connections hash table key should
9187                         be a duplicated value, not the same memory address as the VPN
9188                         connection name.  This is because the VPN connection name could
9189                         potentially be freed and set to something else during the lifetime
9190                         of the NMVPNConnection object.
9191
9192 2007-08-16  Tambet Ingo  <tambet@gmail.com>
9193
9194         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9195         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9196         with the file descriptors. Send a child setup function to change the pppd
9197         progress group.
9198
9199 2007-08-15  Dan Williams  <dcbw@redhat.com>
9200
9201         * src/supplicant-manager/nm-supplicant-interface.c
9202                 - (try_remove_iface): new function, ask wpa_supplicant to remove
9203                         an interface
9204                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9205                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
9206                         happens on hotplug if wpa_supplicant doesn't tear down and readd
9207                         the interface internally
9208
9209 2007-08-15  Dan Williams  <dcbw@redhat.com>
9210
9211         * src/nm-device-802-11-wireless.c
9212                 - (real_bring_down): move most of this function into device_cleanup()
9213                         so that it can be called from elsewhere
9214                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9215                         and stuff on dispose.  These would normally get cleaned up when
9216                         the device is marked down and deactivated, but when the device is
9217                         hot-unplugged, it's already down and real_down() never gets run
9218
9219 2007-08-15  Dan Williams  <dcbw@redhat.com>
9220
9221         * src/nm-dbus-nmi.c
9222                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9223                         caused a reference leak on device for which NM requested a key
9224
9225 2007-08-15  Dan Williams  <dcbw@redhat.com>
9226
9227         * libnm-glib/nm-client.c
9228                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9229
9230 2007-08-15  Tambet Ingo  <tambet@gmail.com>
9231
9232         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9233         nothing is using it at the moment, but it'll be all useful and stuff later on.
9234
9235         * libnm-util/nm-setting.h: Define NMSettingPPP.
9236
9237         * libnm-util/nm-setting.c: Implement NMSettingPPP.
9238
9239         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9240
9241         * src/Makefile.am: Add ppp-manager to SUBDIRS.
9242
9243         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9244
9245         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9246
9247 2007-08-14  Tambet Ingo  <tambet@gmail.com>
9248
9249         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9250
9251         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9252         an issue with dbus-glib bindings generator. The issue is, the generated C caller
9253         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9254         name and different arguments and it won't compile anymore. To fix this, we now have
9255         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9256         that is new API + compatibility API and used by the daemon. The other, 
9257         nm-manager-client.xml is only the new API without compatibility bits and is used
9258         by libnm-glib to make it compile.
9259
9260         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9261
9262         * src/nm-manager.c (impl_manager_legacy_sleep)
9263         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9264         interface functions for 0.6 branch.
9265
9266 2007-08-14  Dan Williams  <dcbw@redhat.com>
9267
9268         * src/NetworkManagerAP.c
9269                 - (nm_ap_new_from_properties): fix mistaken check of return value
9270                         from memcmp (should expect 0)
9271
9272 2007-08-14  Dan Williams  <dcbw@redhat.com>
9273
9274         (force-commit to fix wrong comment and partial commit of r2685; this
9275          commit actually applies to r2685)
9276
9277         * src/NetworkManagerUtils.c
9278                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9279                         ignores trailing nulls in the SSID to work around mismatches in
9280                         expectations between WEXT and what the info-daemon passes back.  The
9281                         info-daemon would pass back the correct length, but due to the
9282                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9283                         the device would always have an SSID + 1 depending on what versions
9284                         of wpa_supplicant, the kernel, and NM you have.  This was most often
9285                         visible by just quitting the applet and relaunching, which caused
9286                         NM to reassociated to the same network over again when reloading
9287                         the save networks.
9288
9289         * src/NetworkManagerPolicy.c
9290           src/NetworkManagerUtils.h
9291           src/nm-device-802-11-wireless.c
9292                 - Update for new parameter to nm_utils_same_ssid()
9293
9294 2007-08-14  Dan Williams  <dcbw@redhat.com>
9295
9296         * src/NetworkManagerAP.c
9297                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
9298                         I encountered a BSS that wasn't just hiding it's ESSID, it was
9299                         setting the BSSID to all 0s.  That confused the heck out of NM,
9300                         plus it's useless and probably out-of-spec.
9301
9302 2007-08-14  Dan Williams  <dcbw@redhat.com>
9303
9304         * callouts/Makefile.am
9305           src/dhcp-manager/nm-dhcp-manager.c
9306           src/dhcp-manager/nm-dhcp-manager.h
9307           src/dhcp-manager/Makefile.am
9308                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9309
9310 2007-08-14  Dan Williams  <dcbw@redhat.com>
9311
9312         * src/dhcp-manager/nm-dhcp-manager.c
9313                 - (dhclient_run): don't pass -x to dhclient until we figure out if
9314                         it's really needed, get rid of unused xtra_args parameter
9315
9316 2007-08-14  Dan Williams  <dcbw@redhat.com>
9317
9318         * include/NetworkManagerVPN.h
9319           src/vpn-manager/nm-dbus-vpn.c
9320           src/vpn-manager/nm-dbus-vpn.h
9321           src/vpn-manager/nm-vpn-act-request.c
9322           src/vpn-manager/nm-vpn-act-request.h
9323           src/vpn-manager/nm-vpn-service.c
9324           src/vpn-manager/nm-vpn-service.h
9325           libnm-glib/nm-vpn-connection.c
9326           libnm-glib/nm-vpn-connection.h
9327           libnm-glib/nm-client.h
9328                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
9329                         NMVPNServiceState to clarify what they apply to
9330                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9331                         NMVPNActStage -> NMVPNConnectionState for the same reason
9332
9333         * libnm-glib/nm-client.c
9334                 - Constant + type renames from above
9335                 - Properly handle NameOwnerChanged/manager_running signals
9336                         for NM service; only emit when state really changes
9337                 - Use hash tables correctly so that the key (which was previously owned
9338                         by the D-Bus message) now has the same lifetime as the value, since
9339                         the key is now taken from the the NMVPNConnection itself.  This
9340                         really fixes the double-VPN names in the applet
9341
9342 2007-08-13  Dan Williams  <dcbw@redhat.com>
9343
9344         Patch from Michael Biebl <biebl@debian.org>
9345
9346         * po/POTFILES.in
9347           po/POTFILES.skip
9348                 - Update for vpn-properties move
9349
9350 2007-08-13  Dan Williams  <dcbw@redhat.com>
9351
9352         * libnm-glib/nm-client.c
9353                 - Convert internal VPN connection tracking from a list to a hash table
9354                         to easily avoid duplicates
9355                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9356                         must be freed by the caller, like nm_client_get_devices()
9357                 - (nm_client_remove_vpn_connection): don't let the removal signal
9358                         leak through for NMVPNConnection objects that aren't actually
9359                         tracked.
9360                 - (manager_running): throw away VPN connection list when NM goes away,
9361                         like with the device list
9362
9363 2007-08-13  Dan Williams  <dcbw@redhat.com>
9364
9365         * src/dhcp-manager/nm-dhcp-manager.c
9366                 - Stop any dhclient instance that might be already running for a
9367                         particular interface before starting an NM spawned dhclient.  Fixes
9368                         dhclient processes left over if NM crashes, stuff like that.
9369
9370 2007-08-13  Dan Williams  <dcbw@redhat.com>
9371
9372         * src/NetworkManagerAP.c
9373                 - (finalize): don't try to g_array_free (NULL, ...), which happened
9374                         when the AP wasn't broadcasting it's SSID
9375
9376 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
9377
9378         * include/NetworkManager.h: added DBus path for connection settings.
9379
9380         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9381         nm_connection_settings_signal_updated,
9382         nm_connection_settings_signal_removed): new functions to wrap the
9383         objects' signals.
9384         (nm_connection_settings_init): register GObject with DBus.
9385         (nm_connection_settings_get_dbus_object_path): new function.
9386
9387         * libnm-glib/Makefile.am: added libnmutil to link flags.
9388
9389 2007-08-13  Tambet Ingo  <tambet@gmail.com>
9390
9391         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9392
9393         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9394         libnm_glib directory got merged with libnm-glib/.
9395
9396         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9397
9398         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9399         Rename the library from libnm-glib to libnm_glib to maintain the library API
9400         compatibility with 0.6 branch.
9401
9402         * Makefile.am: Remove gnome/ SUBDIR.
9403
9404         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9405
9406         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9407
9408         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9409
9410         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9411         anymore.
9412         Remove checks for wpa_supplicant binary, it's used over dbus.
9413         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9414
9415         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9416         Link the binaries with libnm_glib.la.
9417
9418 2007-08-12  Dan Williams  <dcbw@redhat.com>
9419
9420         * src/NetworkManagerPolicy.c
9421                 - (nm_policy_device_change_check): fix policy to deactivate old device
9422                         before activating new one, at least until the multiple active
9423                         device support lands
9424
9425 2007-08-12  Dan Williams  <dcbw@redhat.com>
9426
9427         * src/NetworkManagerPolicy.c
9428                 - (nm_policy_new): hook up to connection-added / connection-removed
9429                         signals instead of connections-changed
9430
9431 2007-08-12  Dan Williams  <dcbw@redhat.com>
9432
9433         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
9434         Robert Frank <rfrank@redhat.com>
9435
9436         * src/dhcp-manager/nm-dhcp-manager.c
9437           src/dhcp-manager/nm-dhcp-manager.c
9438           src/nm-device.c
9439                 - Spawn and communicate with dhclient directly, through means of a
9440                 custom dhclient callout script.  Process callout D-Bus signals
9441                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
9442                 sent via gobject signals rather than being driven by the dhcp manager
9443                 directly.
9444
9445 2007-08-12  Dan Williams  <dcbw@redhat.com>
9446
9447         * callouts/nm-dhcp-client-action.c
9448                 - (build_message): ignore non-DHCP-related environment variables
9449
9450 2007-08-12  Dan Williams  <dcbw@redhat.com>
9451
9452         * Makefile.am
9453           configure.in
9454           callouts/Makefile.am
9455           callouts/nm-dhcp-client-action.c
9456           callouts/nm-dhcp-client.conf
9457                 - Add dhclient-executed callout that takes the place of dhclient-script
9458                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9459                 NM then listens for
9460
9461 2007-08-09  Tambet Ingo  <tambet@gmail.com>
9462
9463         [Based on patch by Helmut Schaa <hschaa@suse.de>]
9464
9465         * libnm-glib/nm-client.h:
9466         * libnm-glib/nm-object.h:
9467         * libnm-glib/nm-vpn-connection.h:
9468         * libnm-glib/nm-settings.h:
9469         * libnm-glib/nm-device.h:
9470         * libnm-glib/nm-ip4-config.h:
9471         * libnm-glib/nm-access-point.h:
9472         * libnm-glib/nm-device-802-3-ethernet.h:
9473         * libnm-util/nm-setting.h: 
9474         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9475
9476         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9477
9478         * libnm-glib/nm-access-point.c: Strength has type char.
9479
9480         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9481         to fix build. GnomeDruid is deprecated in recent libgnomeui.
9482
9483         * introspection/nm-access-point.xml: Strength property is char, not int.
9484
9485         * src/NetworkManagerAP.c (set_property): Set strength from char.
9486         (get_property): Handle hidden APs (with empty SSID).
9487         Get strength value from char.
9488         (nm_ap_class_init): Strength property has char type.
9489
9490 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
9491
9492         * introspection/Makefile.am:
9493         * introspection/nm-settings.xml:
9494         * introspection/nm-settings-connection.xml: added Settings interfaces.
9495
9496         * libnm-glib/nm-settings.[ch]:
9497         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9498         containing the DBus implementation.
9499
9500 2007-07-26  Dan Williams  <dcbw@redhat.com>
9501
9502         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9503
9504         * src/NetworkManagerSystem.c
9505                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9506                         same subnet (#437396)
9507
9508 2007-07-26  Dan Williams  <dcbw@redhat.com>
9509
9510         Patch from Kelemen Gábor <kelemeng@gnome.hu>
9511
9512         * gnome/vpn-properties/nm-vpn-properties.c
9513                 - Fix translatable strings (#445865)
9514
9515 2007-07-26  Dan Williams  <dcbw@redhat.com>
9516
9517         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9518
9519         * configure.in
9520                 - Remove useless junk (#412530)
9521
9522 2007-07-10  Christopher Aillon  <caillon@redhat.com>
9523
9524         Patch from Robert Buchholz <rbu@gentoo.org>:
9525
9526         * configure.in:
9527         * Makefile.am:
9528         * introspection/Makefile.am:
9529         Make make distcheck work again.
9530
9531 2007-06-27  Dan Williams  <dcbw@redhat.com>
9532
9533         * Make SSIDs GByteArrays everywhere
9534         * Rename "essid" -> "ssid" everywhere that's appropriate
9535         * Refcount activation_ap member of the 802.11 wireless device class
9536
9537 2007-06-27  Tambet Ingo  <tambet@ximian.com>
9538
9539         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9540
9541 2007-06-22  Tambet Ingo  <tambet@ximian.com>
9542
9543         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9544         that we got a new AP when we just update existing AP properties.
9545
9546 2007-06-21  Tambet Ingo  <tambet@ximian.com>
9547
9548         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9549
9550         * nm-utils.[ch]: Remove.
9551
9552         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9553         objects for easy property access and dbus connection handling.
9554
9555         * libnm-glib/nm-client.c: Derive from NMObject.
9556
9557         * libnm-glib/nm-device.c: Ditto.
9558
9559         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9560
9561         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9562
9563         * libnm-glib/nm-ip4-config.c: Ditto.
9564
9565         * libnm-glib/nm-access-point.c: Ditto.
9566
9567         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9568         comparision. Currently used by the device activation code to determine if the new
9569         activation is the same as the old one.
9570
9571         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9572         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9573         able to ask password for the AP.
9574
9575         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9576         up if the device is already connected, tear down it's connection (if it isn't the
9577         same as new one) and start the activation.
9578
9579         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9580
9581         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9582         the issue where all APs are always listed as encrypted.
9583
9584         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9585         their own registered paths.
9586
9587         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9588         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9589
9590 2007-06-13  Tambet Ingo  <tambet@ximian.com>
9591
9592         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
9593         (0 & 0 == 0, doh)
9594
9595         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
9596         because the handling code will cause the next state change and signal listeners
9597         get the signals in wrong order.
9598
9599         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
9600         correctly in case of pending activation.
9601
9602         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9603         Convert the essid byte array to string correctly, including the terminating NULL.
9604
9605         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
9606         mode with correct types.
9607
9608         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
9609         constructed info to dbus call instead of the activation request.
9610
9611 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9612
9613         Patch from Christian Persch <chpe@gnome.org>
9614
9615         * libnm-glib/Makefile.am:
9616         * dispatcher-daemon/Makefile.am:
9617         Use the correct variables, the correct paths, and correct ordering. (446315)
9618
9619 2007-06-11  Tambet Ingo  <tambet@ximian.com>
9620
9621         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
9622         argument. The activation request is easy to retrieve.
9623
9624         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
9625         just to be a convenient location for devices to store random stuff.
9626
9627 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9628
9629         Patch from Alex Smith <alex@alex-smith.me.uk>
9630
9631         * src/backends/NetworkManagerFrugalware.c:
9632         Update the FrugalWare backend to fix a few segfaults. (#392642)
9633
9634 2007-06-08  Tambet Ingo  <tambet@ximian.com>
9635
9636         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
9637
9638         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
9639         setting.
9640         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
9641
9642 2007-06-06  Tambet Ingo  <tambet@ximian.com>
9643
9644         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
9645         automagically.
9646         Implement NMSettingIP4Config.
9647         Finish NMSettingWired by adding all known members.
9648         (setting_wired_verify): Implement.
9649         Finish NMSettingWireless by adding all known members.
9650         (setting_wireless_verify): Implement.
9651
9652         * libnm-util/nm-connection.c: Register "ipv4" setting.
9653         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
9654         dump function, we can introspect the GHashTable which is used for sending connections
9655         over dbus.
9656
9657         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9658         Take GByteArray for essid, it's really not a string.
9659
9660         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
9661         Start DHCP request if setting is not passed or if it states that DHCP should be used.
9662         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
9663         means overriding the values we got from DHCP.
9664         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
9665         (nm_device_deactivate_quickly): Ditto.
9666
9667         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
9668         for debugging.
9669
9670 2007-05-07  Tambet Ingo  <tambet@ximian.com>
9671
9672         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
9673         NMConnection.
9674
9675         * libnm-glib/nm-device-802-11-wireless.c:
9676         (nm_device_802_3_ethernet_activate): Remove.
9677
9678         * libnm-glib/nm-device-802-3-ethernet.c
9679         (nm_device_802_3_ethernet_activate): Remove.
9680
9681         * libnm-glib/nm-device.c (nm_device_activate): Implement.
9682
9683         * src/nm-device-802-3-ethernet.c: Implement the new activation using
9684         NMConnection.
9685
9686         * src/nm-device-802-11-wireless.c: Store an activation AP once the
9687         activation has started.
9688         Implement the new activation using NMConnection.
9689
9690         * src/nm-activation-request.c: Store a generic connection object instead
9691         of a wireless-specific AP.
9692
9693         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
9694         on device type, create a device specific connection object suitable for
9695         device activation.
9696
9697         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
9698         specific check to validate the connection and on success start the
9699         activation.
9700
9701         * src/nm-device-interface.h: Add a activate virtual function to the
9702         interface definition.
9703
9704         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
9705         (impl_device_activate): Implement.
9706
9707         * introspection/nm-device.xml: Add a generic device activation interface
9708         that accepts an abstract NMConnection structure that has device-specific
9709         information in it.
9710
9711         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
9712         activation interface.
9713
9714         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
9715         activation interface.
9716
9717         * libnm-util/nm-connection.c: 
9718         * libnm-util/nm-connection.h: 
9719         * libnm-util/nm-setting.c:
9720         * libnm-util/nm-setting.h: Add.
9721
9722         * libnm-util/Makefile.am: Build the added files.
9723
9724         * src/nm-dbus-manager.c
9725         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
9726         DbusConnection argument from 'name-owner-changed' signal. The manager
9727         is already passed as a first argument to the signal and the connection
9728         is easy enough to get from it.
9729
9730         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
9731         Update the signature of the function.
9732
9733         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
9734         Ditto.
9735
9736         * src/NetworkManager.c: Ditto.
9737
9738         * src/named-manager/nm-named-manager.c
9739         (nm_named_manager_name_owner_changed): Ditto.
9740
9741         * src/supplicant-manager/nm-supplicant-manager.c
9742         (nm_supplicant_manager_name_owner_changed): Ditto.
9743
9744         * src/nm-hal-manager.c (name_owner_changed): Ditto.
9745
9746         * src/dhcp-manager/nm-dhcp-manager.c
9747         (nm_dhcp_manager_name_owner_changed): Ditto.
9748
9749         * src/nm-hal-manager.c: Add a list of device detectors and creators
9750         to make it easier to add new devices. Each device type has it's own
9751         entry in the table so adding new device types is only a matter of
9752         implementing a couple of functions, one for device detection and the
9753         other for device creation.
9754
9755 2007-04-25  Dan Williams  <dcbw@redhat.com>
9756
9757         * initscript/RedHat/NetworkManager.in: remove trailing backslash
9758                 (gnome.org #432401)
9759
9760 2007-03-30  Dan Williams  <dcbw@redhat.com>
9761
9762         * src/NetworkManagerSystem.c
9763                 - (nm_system_device_set_ip4_route): clean up and fix argument
9764                         to nm_dev_sock_open()
9765
9766 2007-03-28  Tambet Ingo  <tambet@ximian.com>
9767
9768         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
9769         data to correct types instead of always using string.
9770
9771         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
9772         _not_ have NM_802_11_CAP_PROTO_NONE.
9773         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
9774         is not set.
9775
9776 2007-03-27  Tambet Ingo  <tambet@ximian.com>
9777
9778         * libnm-glib/Makefile.am: Fix the build issue.
9779
9780 2007-03-26  Tambet Ingo  <tambet@ximian.com>
9781
9782         * libnm-glib/nm-vpn-connection.h: 
9783         * libnm-glib/nm-vpn-connection.c: Implement.
9784
9785         * libnm-glib/nm-client.c: Add VPN support.
9786
9787         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
9788         handler for VPN.
9789
9790         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
9791         on DBUS again.
9792
9793 2007-03-26  Dan Williams  <dcbw@redhat.com>
9794
9795         * src/NetworkManagerAPList.c
9796         * src/nm-device-802-11-wireless.c
9797         * src/NetworkManagerAP.c:
9798                 - Store last seen as glong instead of GTimeVal.
9799                 - Fix the upper bound of capabilities, it's a bitfield.
9800
9801 2007-03-16  Tambet Ingo  <tambet@ximian.com>
9802
9803         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
9804
9805         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
9806         "manager-running" signal that notifies the appearance/disappearance of NM.
9807         (nm_client_sleep): Implement.
9808
9809         * libnm-glib/nm-device.c:
9810         * libnm-glib/nm-device-802-11-wireless.c: 
9811         * libnm-glib/nm-device-802-3-ethernet.c: 
9812
9813         Don't inherit from DBusGProxy, add a proxy to private
9814         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
9815         for anything but their own dbus interface. DBusGProxy objects support only one
9816         interfaces and to work around this, NMDevice has spearate proxy for each dbus
9817         interface. The nice side effect of this change is that we do not create a new
9818         DBusGProxy object for each property access.
9819
9820 2007-03-15  Tambet Ingo  <tambet@ximian.com>
9821
9822         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
9823         with zeroes before passing them to functions - the functions never do that and
9824         reading the values back may produce wrong values.
9825         (real_bring_up): Store the signal handler id ...
9826         (real_bring_down): ... So that it can be removed here.
9827         Disconnect the supplicant interface here as well.
9828         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
9829         from the access point instead of old $device/Networks/$essid.
9830
9831         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
9832         device state is connected (instead of just having link/carrier).
9833
9834         * src/nm-activation-request.c: Don't store NMData in activation request, it's
9835         already easily accessible through the device.
9836
9837         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
9838         store it within the object.
9839         (nm_ap_get_dbus_path): Export it to public as well.
9840
9841         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
9842         of the singleton.
9843
9844 2007-03-12  Dan Williams  <dcbw@redhat.com>
9845
9846         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
9847         for non-carrier-detect capable devices, and useless for carrier-detect
9848         devices since we get notifications from netlink about carrier status anyway.
9849
9850         * src/nm-device-802-3-ethernet.c
9851                 - remove 'link_source_id' member from private data
9852                 - (probe_link): remove and collapse into real_update_link()
9853                 - (nm_device_802_3_periodic_update): remove
9854                 - (real_is_up): check for sup_iface rather than link_source_id
9855                 - (real_bring_up): return gboolean for success/fail; require that
9856                         sup_iface be valid for device bringup to succeed
9857                 - (real_bring_down): zero out link signal ids
9858
9859         * src/nm-device.c
9860                 - (nm_device_activate_stage2_device_config): fail activation if device
9861                         bringup fails
9862                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
9863                         fails
9864                 - (nm_device_bring_up): return success/fail
9865
9866         * src/nm-device.h
9867                 - bring_up now returns success/fail
9868
9869         * src/nm-device-802-11-wireless.c
9870                 - (real_bring_up): return success from bringup
9871
9872 2007-03-07  Dan Williams  <dcbw@redhat.com>
9873
9874         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
9875         * src/nm-ap-security-wpa-psk.c
9876                 - (real_write_supplicant_config): work with PSKs that may contain
9877                         zeros in the binary format rather than treating it as a string
9878
9879 2007-03-02  Tambet Ingo  <tambet@ximian.com>
9880
9881         * libnm-glib/nm-device-802-11-wireless.c
9882         (nm_device_802_11_wireless_get_capabilities): Implement.
9883
9884         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
9885
9886         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
9887
9888         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
9889         reply only if it's not NULL. Not sure why this started happening right now.
9890
9891         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
9892         code paths for when devices get removed on shutdown or when a device is just
9893         removed.
9894         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
9895         gets freed so any signal from a device (disconnected for instance) would invoke
9896         NMState update which would crash.
9897         (nm_manager_remove_device): Bring the device down when it gets removed.
9898
9899         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
9900         the unused dev_type.
9901
9902         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
9903         reference to the added device, NMManager will own it (if it wants).
9904
9905         * test/nm-tool.c: Rewrite using libnm-glib.
9906
9907         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
9908         We get signalled when it changes.
9909
9910         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
9911         when it changes.
9912
9913         * libnm-glib/nm-device.c: Cache the device state property.
9914
9915         * libnm-glib/nm-access-point.c: Cache the strength property.
9916
9917         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
9918         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
9919         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
9920         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
9921         the device is down, activating, or activated (in case of A/B/G cards).
9922         Remove some old dead ifdef'ed out code that used to configure wireless devices,
9923         it's all done through supplicant now.
9924
9925         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
9926         counting issues with pending calls which caused leaks and crashes when
9927         interface was removed (now that the interface actually gets removed).
9928
9929         * src/nm-call-store.c: Make a copy of data before running a foreach
9930         with user callback on it - The most common usage pattern is to cancel
9931         (and thus remove) all pending calls with foreach which would modify
9932         the hash table we're iterating over.
9933
9934         * src/nm-manager.c: When a device is added, make sure it is "up". When
9935         it's removed or disabled due to disabling wireless or networking, bring
9936         it down.
9937
9938         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
9939
9940         * src/nm-device-802-11-wireless.c: 
9941         * src/nm-device-802-3-ethernet.c: 
9942         * src/nm-device.c:
9943                 - Remove "init" virtual function, all gobjects have a place for that
9944                   already (constructor).
9945                 - Replace "start" virtual function with "bring_up", devices can be
9946                   brought up and down more than just on startup now.
9947                 - Add "is_up" virtual function.
9948                 - Implement one way to bring a device down instead of previous 4 different
9949                   ways, each of witch did something different.
9950
9951         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
9952         all it needs is the device interface.
9953
9954         Get rid of NMData.dev_list (3 members to go).
9955         Get rif of NMData in a lot of places.
9956
9957         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
9958
9959 2007-02-23  Dan Williams  <dcbw@redhat.com>
9960
9961         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
9962
9963         * src/NetworkManagerAP.c
9964                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
9965                         OR-ing rather than AND-ing
9966
9967 2007-02-20  Tambet Ingo  <tambet@ximian.com>
9968
9969         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
9970         "network-removed" signals.
9971
9972         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
9973
9974         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
9975         when receiving the signal from dbus.
9976
9977         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
9978         property.
9979
9980         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
9981         deactivation of the previously activated device working again.
9982
9983         * src/nm-activation-request.c: Remove NMActStage property and it's getter
9984         and setter.
9985
9986         * src/nm-device.c (nm_device_is_activated): Remove.
9987         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
9988
9989         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
9990         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
9991         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
9992         NM_DBUS_SIGNAL_STATE_CHANGE signal.
9993         Remove NMNetworkStatus and NMActStage enums.
9994
9995 2007-02-19  Tambet Ingo  <tambet@ximian.com>
9996
9997         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
9998         Handle device state changes and disconnect VPN if it's device deactivates.
9999
10000         * src/nm-dbus-nm.c: 
10001         * src/nm-dbus-nm.h: 
10002         * src/nm-dbus-device.c: 
10003         * src/nm-dbus-device.c: 
10004         * src/nm-dbus-net.c: 
10005         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10006
10007         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10008
10009         * src/nm-device.c (nm_device_get_by_udi):
10010         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10011         implemented in the correct location (NMManager).
10012         Rip out all the test_device stuff.
10013
10014         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10015         failure handlers, it's all done by NMDevice already.
10016
10017         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10018         Remove the iochannel hack to route the unix signals to the main thread since
10019         we're not threaded anymore.
10020
10021         * src/NetworkManagerAP.c: Implement HWAddress property.
10022
10023         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10024         automatically with dbus-glib.
10025
10026         * src/nm-netlink-monitor.c: 
10027         * src/nm-netlink-monitor.h:
10028                 - Move it low in the class hierarchy, don't reference any NM types.
10029                 - Remove private data from the header.
10030                 - Use type safe checks in public API methods.
10031                 - Make it a singleton so we don't have to pass the single reference around.
10032
10033 2007-02-16  Tambet Ingo  <tambet@ximian.com>
10034
10035         * introspection/nm-ip4-config.xml: Implement.
10036
10037         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10038
10039         * libnm-glib/nm-ip4-config.c:
10040         * libnm-glib/nm-ip4-config.c: Implement.
10041
10042         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10043         securities. APs reference security.
10044
10045         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10046         be exported over DBUS.
10047
10048         * src/nm-device-802-3-ethernet.c: Ditto.
10049
10050         * src/NetworkManagerAP.c:
10051         * src/NetworkManagerAP.h:
10052                 - Convert to GObject, export over DBUS.
10053
10054         * src/nm-ip4-config.h:
10055         * src/nm-ip4-config.h:
10056                 - Convert to GObject, export over DBUS.
10057
10058 2007-02-12  Dan Williams  <dcbw@redhat.com>
10059
10060         Patch from Helmut Schaa <hschaa@suse.de>
10061
10062         * vpn-daemons/pptp/configure.in
10063           vpn-daemons/pptp/Makefile.am
10064           vpn-daemons/openvpn/configure.in
10065           vpn-daemons/openvpn/Makefile.am
10066           vpn-daemons/vpnc/configure.in
10067           vpn-daemons/vpnc/Makefile.am
10068                 - Add --without-gnome switch which disables building gnome bits
10069
10070 2007-02-12  Tambet Ingo  <tambet@ximian.com>
10071
10072         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10073
10074         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10075
10076         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10077         'HwAddress'.
10078
10079         * introspection/nm-device.xml: Remove 'UseDhcp' property.
10080
10081         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10082
10083         Totally break NetworkManager. Please use 0.6 branch until futher notice.
10084
10085         * src/:
10086                 - Remove old low-level dbus interface implementations and replace them
10087                   with dbus-glib one.
10088
10089         * configure.in:
10090                 - Require dbus-glib >= 0.72.
10091                 - Plug in new sources to build.
10092
10093         * libnm-glib/:
10094                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10095                   to make it more convenient to use from GObject based programs.
10096
10097         * introspection/:
10098                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10099
10100 2007-02-09  Tambet Ingo  <tambet@ximian.com>
10101
10102         * src/nm-device-802-11-wireless.c:
10103                 - Add "network-added" and "network-removed" signals.
10104                 - Use gobject boilerplate macros to define the GObject.
10105                 - Implement wireless device activation.
10106                 - Remove activation_failure_handler and activation_success_handler
10107                   and instead listen on state-changed signals and run the same code
10108                   from there.
10109
10110         * src/nm-device.c:
10111                 - Implment NMDeviceInterface::deactivate.
10112                 - Remove activation_failure_handler and activation_success_handler
10113                   virtual methods. Each device which is interested in these events
10114                   can just listen on it's state changed signals.
10115
10116         * src/NetworkManagerPolicy.c:
10117                 - Move a bit more NMData usage to NMManager.
10118                 - Remove activation scheduling bits.
10119                 - Add listeners for wireless device's "network-added" and
10120                   "network-removed" signals.
10121                 - Listen device changed signals and deactivate currently activated
10122                   device when another device start activating (for now).
10123                 - Remove (nm_policy_schedule_device_change_check): There's never a need
10124                   for calling this, the policy code knows exactly when this should happen,
10125                   by listening on events from NMManager and NMDevices.
10126
10127         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10128         Implement.
10129
10130         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10131         method on the specific device instead of going to through policy code
10132         and determining the device type by passed in AP's existance.
10133
10134         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10135         abstract NMDevice deactivation.
10136
10137 2007-02-08  Tambet Ingo  <tambet@ximian.com>
10138
10139         * src/NetworkManager.c:
10140                 - Set up all the shiny new managers.
10141
10142         * src/NetworkManagerPolicy.c:
10143                 - Add the beginnings of new NMPolicy code. Instead of requireing all
10144                   classes to call into policy code, make the policy code kind of like
10145                   a supervisor that monitors what's going on and drives the whole NM.
10146
10147         * src/nm-hal-manager.c: 
10148         * src/nm-hal-manager.h:
10149                 - Collect all libhal code scattered around NM to this one class.
10150                 - Listen libhal and NMManager events and add/remove devices to
10151                   NMManager.
10152
10153         * src/nm-manager.c:
10154         * src/nm-manager.h:
10155                 - Implment a replacement for NMData. NMData is now officially
10156                 deprecated.
10157
10158 2007-02-05  Tambet Ingo  <tambet@ximian.com>
10159
10160         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
10161         * src/supplicant-manager/nm-supplicant-interface.h
10162         * src/supplicant-manager/nm-supplicant-interface.c
10163         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10164         argument to boolean from enum.
10165
10166         Make NMDevice abstract class, remove almost all references to it's
10167         subclasses (the last place gets removed with new policy manager). Add
10168         NMDeviceInterface (which NMDevice implements) so that when we have
10169         NMDevice exported over DBUS, there's a common NMDevice interface which
10170         all instances have, plus there's a device specific interface for each
10171         specific type.
10172         Remove functions (nm_device_is_802_3_ethernet) and
10173         (nm_device_is_802_11_wireless). There are already standard GObject macros
10174         for type safe checks.
10175         Use the updated supplican manager API.
10176
10177         * src/nm-device-interface.h: 
10178         * src/nm-device-interface.c: 
10179         * src/nm-call-store.h: 
10180         * src/nm-call-store.c: Implement.
10181
10182         * src/supplicant-manager/nm-supplicant-interface.c:
10183         * src/supplicant-manager/nm-supplicant-interface.h:
10184         * src/supplicant-manager/nm-supplicant-manager.c:
10185         * src/supplicant-manager/nm-supplicant-manager.h:
10186                 - Remove all private data type references from public header files.
10187                 - Remove all references to other NM classes, this class is just a
10188                   proxy between wpa_supplicant and NM so it doesn't have to know
10189                   any internals.
10190                 - Convert to dbus-glib bindings.
10191                 - Type safe checks for public methods' arguments.
10192                 - Store pending DBUS call ids to NMCallStore.
10193
10194         * src/supplicant-manager/nm-supplicant-config.c:
10195                 - Store config values in a GHashTable instead of GSList.
10196
10197         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10198
10199         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10200         singleton now.
10201
10202         * src/nm-device.c: Use the new DHCP manager API.
10203
10204         * src/nm-activation-request.c:
10205         * src/nm-activation-request.h:
10206                 - Remove all dhcp related properties and methods.
10207
10208         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10209
10210         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10211
10212         * src/dhcp-manager/nm-dhcp-manager.c:
10213         * src/dhcp-manager/nm-dhcp-manager.h:
10214                 - Convert it to GObject since we need to signal state changes.
10215                 - Remove all references to other NM classes, this class is one
10216                   of the lowest classes in our hierarchy.
10217                 - One less class to use NMActRequest.
10218                 - Make it singleton, one less user of NMData.
10219                 - Remove a couple of sleep() calls.
10220                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10221                   One less class to use the NM's custom tailored signal handlig.
10222
10223         * Makefile.am: Generate marshallers, add them to build.
10224
10225 2007-02-02  Dan Williams  <dcbw@redhat.com>
10226
10227         * configure.in
10228           gnome/Makefile.am
10229           nm-applet.desktop
10230           Makefile.am
10231                 - Remove last bits referencing gnome applet
10232
10233 2007-02-02  Dan Williams  <dcbw@redhat.com>
10234
10235         * src/vpn-manager/nm-vpn-service.c
10236                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10237                         and NBNS server addresses
10238
10239 2007-02-02  Tambet Ingo  <tambet@ximian.com>
10240
10241         * src/nm-dbus-manager.c:
10242         * src/nm-dbus-manager.h:
10243                 - Convert all internal DBUS code to use dbus-glib bindings.
10244                 - Remove GObject properties, we don't need them here.
10245                 - Don't explicitly set things to NULL after freeing, glib is
10246                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
10247                 - Make public API argument checks type safe.
10248                 - Remove unnecessary (and wrong) cast to GObject for the first
10249                   argument to g_signal_* calls - The first argument is a gpointer.
10250                 - Export DBusGConnection to other cool classes that (are going to)
10251                   use dbus-glib.
10252
10253 2007-01-26  Dan Williams  <dcbw@redhat.com>
10254
10255         * libnm-util/dbus-dict-helpers.c
10256           libnm-util/dbus-dict-helpers.h
10257                 - Coordinate style with wpa_supplicant version to minimize diff
10258                 - Add uint32 array support
10259                 - (nmu_dbus_dict_append_uint32_array): new function
10260                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10261                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10262                         version; allow adding string array elements individually
10263
10264         * test/libnm-util/test-dbus-dict-helpers.c
10265                 - Test uint32 arrays
10266
10267 2007-01-27  Jürg Billeter  <j@bitron.ch>
10268
10269         * src/backends/NetworkManagerPaldo.c
10270                 - (nm_system_update_dns): clear nscd hosts cache
10271
10272 2007-01-04  Dan Williams  <dcbw@redhat.com>
10273
10274         Threading removal related cleanups:
10275
10276         - Use the glib default main context.  Remove the device main context
10277                 member from NMDevice, and the main_context member from NMData.  Change
10278                 all the idle and timeout scheduler functions to use plain
10279                 g_idle_add() and g_timeout_add().
10280
10281         - As a side-effect of the first change, nm_dbus_manager_get() no longer
10282                 takes an argument; fix that up too.
10283
10284         - Remove all locking, which is useless since we no longer use threads.  For
10285                 example, nm_get_device_by_iface_locked() has been removed.  The global
10286                 device list lock, the AP List lock, and all static locks in
10287                 NetworkManagerPolicy.c have been removed.  The locking utility functions
10288                 in NetworkManagerUtils.c have also been removed.
10289
10290         - Other cleanups in spacing and code style
10291
10292 2007-01-01  Dan Williams  <dcbw@redhat.com>
10293
10294         Found by Bill Moss:
10295
10296         * src/supplicant-manager/nm-supplicant-interface.c
10297                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10298                         the supplicant interface wasn't already disconnected.  Always
10299                         call removeNetwork and disconnect unless the supplicant interface
10300                         is in the DISCONNECTED or INACTIVE state.
10301
10302 2006-12-28  Dan Williams  <dcbw@redhat.com>
10303
10304         Use a single thread for everything.  With the move to wpa_supplicant
10305         and communication over D-Bus, there's no reason for multiple threads.
10306         Almost all of the blocking code has been removed, with one exception in
10307         the DHCP manager and a few in the VPN manager.  This commit removes the
10308         per-device worker thread and fixes activation cancellation in the absence
10309         of threads.  Further removal of thread-related code would be removing
10310         any locking code (like the device list lock) and simplification of logic
10311         around areas of code or data structures that are currently locked.
10312
10313         * autoip.c
10314           dhcp-manager/nm-dhcp-manager.c 
10315           nm-device-802-11-wireless.c
10316           nm-device-802-3-ethernet.c
10317           nm-device.c
10318           nm-device.h
10319                 - Remove usage of multiple threads
10320
10321 2006-12-19  Dan Williams  <dcbw@redhat.com>
10322
10323         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10324         plus a few other patches from wpa_supplicant bugzilla.
10325
10326         * src/Makefile.am
10327           src/NetworkManagerPolicy.c
10328           src/NetworkManagerUtils.c
10329           src/NetworkManagerUtils.h
10330           src/nm-ap-security-leap.c
10331           src/nm-ap-security-wep.c
10332           src/nm-ap-security-wpa-eap.c
10333           src/nm-ap-security-wpa-psk.c
10334           src/nm-ap-security.c
10335           src/nm-ap-security.h
10336           src/nm-device-802-11-wireless.c
10337           src/nm-device-802-11-wireless.h
10338           src/supplicant-manager/nm-supplicant-config.c
10339           src/supplicant-manager/nm-supplicant-config.h
10340           src/supplicant-manager/nm-supplicant-interface.c
10341           src/supplicant-manager/nm-supplicant-interface.h
10342           src/supplicant-manager/nm-supplicant-marshal.list
10343           src/supplicant-manager/nm-supplicant-settings-verify.c
10344           src/supplicant-manager/nm-supplicant-settings-verify.h
10345                 - Move all connection management and association handling to
10346                         wpa_supplicant over dbus, rather than spawning a private copy
10347
10348 2006-12-19  Dan Williams  <dcbw@redhat.com>
10349
10350         * src/NetworkManagerPolicy.c
10351                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10352                         better locking of the device change check handler ID.  Incorrect
10353                         locking was causing lost device change requests
10354
10355 2006-12-18  Dan Williams  <dcbw@redhat.com>
10356
10357         * libnm-util/dbus-dict-helpers.c
10358                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10359                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
10360                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
10361
10362 2006-12-18  Dan Williams  <dcbw@redhat.com>
10363
10364         * gnome/libnm_glib/libnm_glib.c
10365                 - Change dbus_connection_close() -> dbus_connection_unref()
10366
10367 2006-12-11  Dan Williams  <dcbw@redhat.com>
10368
10369         * src/supplicant-manager/nm-supplicant-interface.c
10370                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10371                         wpa_supplicant interface state
10372                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10373                         state before transitioning to READY state
10374
10375 2006-12-04  Dan Williams  <dcbw@redhat.com>
10376
10377         * src/nm-device-802-11-wireless.c
10378                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10379                         odd length of ESSID returned from ieee80211 stack-based drivers
10380
10381 2006-12-04  Dan Williams  <dcbw@redhat.com>
10382
10383         * src/nm-device-802-11-wireless.c
10384                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10385                         IE handling blocks that cause mis-parsing of the IE
10386
10387 2006-12-04  Dan Williams  <dcbw@redhat.com>
10388
10389         * src/nm-device-802-11-wireless.c
10390                 - (init_supplicant_interface): new function; pull supplicant interface
10391                         setup code out into standalone function since it must be called from
10392                         two different places
10393                 - (real_init): sup_mgr is now in private object data; get and track
10394                         the supplicant manager object over the NMDevice subclass' lifetime
10395                         and register a signal handler for its state signals; only try to
10396                         initialize the supplicant interface if the supplicant manager is in
10397                         the IDLE state (and therefore is ready for requests)
10398                 - (request_wireless_scan): reschedule the scan request if (a) there is
10399                         no supplicant interface yet (meaning wpa_supplicant isn't running
10400                         or isn't ready yet), or (b) if the supplicant interface isn't ready
10401                         for requests yet
10402                 - (supplicant_iface_connection_state_cb): new function; stub for
10403                         handling supplicant interface connection state signals
10404                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10405                         comes and goes
10406                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10407                         supplicant manager object that's being tracked starting with this
10408                         commit
10409
10410 2006-12-04  Dan Williams  <dcbw@redhat.com>
10411
10412         * src/supplicant-manager/nm-supplicant-interface.c
10413                 - (nm_supplicant_interface_set_property): track signal handler ID
10414                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10415
10416 2006-12-04  Dan Williams  <dcbw@redhat.com>
10417
10418         * src/supplicant-manager/nm-supplicant-interface.[ch]
10419                 - (nm_supplicant_interface_get_state): new function
10420
10421 2006-12-04  Dan Williams  <dcbw@redhat.com>
10422
10423         * src/supplicant-manager/nm-supplicant-interface.c
10424                 - (bssid_properties_cb): don't treat DBus errors as valid
10425                         scanned AP messages
10426
10427 2006-12-04  Dan Williams  <dcbw@redhat.com>
10428
10429         * src/supplicant-manager/nm-supplicant-interface.[ch]
10430                 - (nm_supplicant_interface_get_connection_state): new function
10431                 - define new supplicant connection states
10432                 - send a signal when the supplicant connection state changes
10433
10434 2006-12-03  Dan Williams  <dcbw@redhat.com>
10435
10436         * src/supplicant-manager/Makefile.am
10437           src/supplicant-manager/nm-supplicant-connection.h
10438           src/supplicant-manager/nm-supplicant-connection.c
10439           src/supplicant-manager/nm-supplicant-config.h
10440           src/supplicant-manager/nm-supplicant-config.c
10441           src/supplicant-manager/nm-supplicant-types.h
10442           src/supplicant-manager/nm-supplicant-interface.h
10443           src/supplicant-manager/nm-supplicant-interface.c
10444                 - Rename NMSupplicantConnection -> NMSupplicantConfig
10445
10446 2006-12-03  Dan Williams  <dcbw@redhat.com>
10447
10448         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
10449
10450         * po/POTFILES.in
10451           po/POTFILES.skip
10452                 - Move VPN-related translatables to .skip
10453
10454         * vpn-daemons/pptp/po/POTFILES.in
10455                 - Update with new translatables
10456
10457 2006-12-02  Dan Williams  <dcbw@redhat.com>
10458
10459         Patch from Christian Persch <chpe@gnome.org>
10460
10461         * gnome/applet/Makefile.am
10462           gnome/applet/applet-dbus-devices.c
10463           gnome/applet/applet-notifications.c
10464           gnome/applet/applet.c
10465           gnome/applet/applet.h
10466           gnome/applet/main.c
10467                 - Be a GtkStatusIcon on GTK+ >= 2.10
10468
10469 2006-12-02  Dan Williams  <dcbw@redhat.com>
10470
10471         * gnome/applet/applet.c
10472                 - (nma_update_info): fix two unecessary allocations
10473
10474 2006-12-02  Dan Williams  <dcbw@redhat.com>
10475
10476         Patch from Michael Biebl <biebl@teco.edu>
10477         * configure.in
10478           man/NetworkManager.1.in
10479           man/NetworkManagerDispatcher.1.in
10480           man/NetworkManager.8.in
10481           man/NetworkManagerDispatcher.8.in
10482                 - Add .SH NAME stanzas
10483                 - Move NM & NM Dispatcher manpages to section 8 (admin)
10484
10485 2006-12-02  Dan Williams  <dcbw@redhat.com>
10486
10487         Patch from Christian Persch <chpe@gnome.org>
10488
10489         * configure.in
10490                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10491
10492 2006-11-29  Tambet Ingo  <tambet@ximian.com>
10493
10494         Patch by Timo Hoenig <thoenig@suse.de>:
10495         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10496         DBUS-1.0.
10497
10498         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10499         we can't use the one from the main source directory.
10500
10501 2006-11-27  Dan Williams  <dcbw@redhat.com>
10502
10503         Patch from Christian Persch <chpe@gnome.org>
10504
10505         * gnome/applet/applet-dbus-devices.c
10506                 - (hal_info_product_cb): fix memleak; free duped string.
10507                         Gnome.org #379908
10508
10509 2006-11-27  Dan Williams  <dcbw@redhat.com>
10510
10511         Patch from Christian Persch <chpe@gnome.org>
10512
10513         * gnome/applet/menu-items.c
10514                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10515                         as gtk_progress_set_percentage is deprecated.  Should
10516                         work as far back as GTK+ 2.4.  Gnome.org #379780
10517
10518 2006-11-26  Dan Williams  <dcbw@redhat.com>
10519
10520         Scan using wpa_supplicant over DBus.
10521
10522         * src/nm-device-802-11-wireless.c
10523                 - remove wireless extensions netlink event handler bits
10524                         (wireless_event_helper, nm_device_802_11_wireless_event)
10525                 - remove wireless extensions scan event handler bits
10526                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10527                         hex2byte, hex2num, request_and_convert_scan_results,
10528                         free_process_scan_cb_data, scan_results_timeout,
10529                         schedule_scan_results_timeout, cancel_scan_results_timeout)
10530                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10531                         and request scans from the supplicant interface rather than directly
10532                 - Move functionality of convert_scan_results() to cull_scan_list() and
10533                         supplicant_iface_scanned_ap_cb()
10534                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10535                         at the scan interval when the current scan has finished
10536                 - (supplicant_iface_state_cb): start scanning when the supplicant
10537                         interface enters the READY state, and stop scanning when it
10538                         enters the DOWN state
10539                 - (cull_scan_list): weed out old access points from the scan list
10540                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10541                         point into an NMAccessPoint and merge it into the device's scan list
10542
10543         * src/supplicant-manager/nm-supplicant-interface.c
10544           src/supplicant-manager/nm-supplicant-interface.h
10545                 - Add a new signal "scan-result" which is issued when the supplicant
10546                         notifies NM that a scan has completed
10547                 - Add a new signal "scanned-ap" that notifies listeners of a new access
10548                         point found in the scan.  Called once for each access point that
10549                         the supplicant interface object receives from the supplicant as a
10550                         result of the "scanResults" method call
10551                 - (wpas_iface_query_scan_results): don't wait 4s before querying
10552                         for the initial scan results
10553                 - (scan_request_cb): new function; send listeners the result
10554                         (success, error) of a wireless scan request
10555                 - (nm_supplicant_interface_request_scan): new function; ask the
10556                         supplicant to perform an immediate wireless scan
10557
10558 2006-11-25  Dan Williams  <dcbw@redhat.com>
10559
10560         * src/supplicant-manager/Makefile.am
10561                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10562                         add HAL cflags/includes and named-manager includes directory
10563
10564         * src/supplicant-manager/nm-supplicant-interface.h
10565                 - New state STARTING to handle transition from INIT to READY where
10566                         the addInterface pending call is still outstanding
10567
10568         * src/supplicant-manager/nm-supplicant-interface.c
10569                 - track pending calls differently since we may have more than one
10570                         going on at any given time
10571                 - request scan results from wpa_supplicant; but don't do it more often
10572                         than every 4 seconds.  Drivers that do background scanning
10573                         (like the 'ipw' drivers) send a continuous stream of scan completion
10574                         notifications, so we don't want to hammer the supplicant or dbus
10575                         with requests for all scan results every time we get a completion
10576                         notification.
10577
10578 2006-11-25  Dan Williams  <dcbw@redhat.com>
10579
10580         * src/supplicant-manager/nm-supplicant-types.h
10581                 - new file; move all supplicant manager object typedefs here for
10582                         #include sanity
10583
10584         * src/supplicant-manager/nm-supplicant-interface.c
10585           src/supplicant-manager/nm-supplicant-interface.h
10586                 - new file; an object that interfaces an NMDevice object to the
10587                         supplicant and handles signals from the supplicant.  This object
10588                         does all necessary DBus communication with wpa_supplicant.
10589
10590         * src/supplicant-manager/nm-supplicant-manager.c
10591           src/supplicant-manager/nm-supplicant-manager.h
10592                 - Actually do something.  Track the state of the wpa_supplicant service
10593                         and deal with its comings & goings.  Handle life events of
10594                         supplicant interfaces too.
10595                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
10596
10597         * src/supplicant-manager/nm-supplicant-connection.h
10598                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
10599
10600         * src/supplicant-manager/Makefile.am
10601                 - Add new files to build, and add libnm-util to includes
10602
10603         * src/nm-marshal.list
10604                 - New marshaler type: VOID:UINT,UINT
10605
10606         * src/nm-device-802-3-ethernet.c
10607                 - (real_init): grab a supplicant interface
10608                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
10609                 - (supplicant_iface_state_cb): new function, stub for handling
10610                         supplicant interface state changes
10611
10612         * src/nm-device-802-11-wireless.c
10613                 - (real_init): grab a supplicant interface
10614                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
10615                 - (supplicant_iface_state_cb): new function, stub for handling
10616                         supplicant interface state changes
10617
10618         * src/NetworkManager.c
10619                 - (main): create and keep the supplicant manager around for the lifetime
10620                         of NetworkManager
10621
10622         * src/Makefile.am
10623                 - Link to the supplicant manager sub-library and use the supplicant
10624                         manager includes
10625
10626 2006-11-25  Dan Williams  <dcbw@redhat.com>
10627
10628         Rework DBus manager signal handling to be more flexible.  Previously,
10629         only one signal handler could be registered for a particular interface.
10630         The DBus manager now reference counts DBus bus matches and allows multiple
10631         clients to register signal handlers for the same interface and sender.
10632
10633         * src/NetworkManager.c
10634                 - (main): track NMI signal handler ID and remove it when we quit
10635
10636         * src/NetworkManagerMain.h
10637                 - Keep track of NMI signal handler ID
10638
10639         * src/nm-dbus-manager.c
10640           src/nm-dbus-manager.h
10641                 - rework signal handling; each signal handler references one signal
10642                         match, but a signal match may be referenced by one or more
10643                         signal handlers.  Matches are refcounted and are destroyed when the
10644                         last signal handler that references the match is removed.  This is
10645                         necessary because two signal handlers may end up requiring the same
10646                         dbus bus match, so the match must live until the last signal handler
10647                         is destroyed (for example, with the wpa_supplicant network interface
10648                         dbus interface).
10649
10650         * src/dhcp-manager/nm-dhcp-manager.c
10651                 - (nm_dhcp_manager_new): track DHCP signal handler id
10652                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
10653
10654         * src/vpn-manager/nm-vpn-service.c
10655                 - (nm_vpn_service_add_watch): track VPN service signal handler id
10656                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
10657
10658 2006-11-25  Dan Williams  <dcbw@redhat.com>
10659
10660         Suggested by Helmut Schaa <hschaa@suse.de>
10661
10662         * src/vpn-daemons/nm-vpn-service.c
10663                 - (supplicant_child_setup): new function
10664                 - (supplicant_exec): make child process use a new process group id
10665
10666         * src/nm-device-802-11-wireless.c
10667                 - (nm_vpn_service_child_setup): new function
10668                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
10669                         process group id
10670
10671 2006-11-19  Dan Williams  <dcbw@redhat.com>
10672
10673         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
10674         * gnome/vpn-properties/nm-vpn-properties.c
10675                 - clean up after renamed VPN connection
10676
10677 2006-11-19  Dan Williams  <dcbw@redhat.com>
10678
10679         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
10680         * gnome/applet/applet-dbus-vpn.c
10681                 - (nma_dbus_vpn_properties_cb): sort VPN connections
10682
10683         * gnome/vpn-properties/nm-vpn-properties.c
10684                 - (init_app): sort VPN connections
10685
10686 2006-11-09  Dan Williams  <dcbw@redhat.com>
10687
10688         * src/NetworkManagerAPList.c
10689                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
10690                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
10691                 from the nm_ap_list_get_ap_by_address() call was incorrect and
10692                 broke hidden SSID matching.  Found by Bill Moss.
10693
10694 2006-10-25  Dan Williams  <dcbw@redhat.com>
10695
10696         * src/nm-dbus-nm.c
10697                 - (nm_dbus_nm_set_active_device): return an empty success message on
10698                         success, rather than falling through to the error case.
10699
10700 2006-10-25  Dan Williams  <dcbw@redhat.com>
10701
10702         * src/NetworkManagerUtils.c
10703                 - (nm_utils_supplicant_request_with_check): suppress messages for the
10704                         "SCAN" command
10705
10706 2006-10-24  Dan Williams  <dcbw@redhat.com>
10707
10708         Reduce the number of times the Gnome applet wakes up, especially when
10709         it's doing absolutely nothing and is hidden.  Initial patch by
10710         Chris Aillon.
10711
10712         * gnome/applet/applet-dbus.c
10713                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
10714                         kill the redraw timeout.  When NM starts up, start the redraw
10715                         timeout.  Also, if we get kicked off the bus for some reason,
10716                         start the reconnection timeout if one's not already running.
10717                 - (nma_dbus_init): better handling of error conditions, don't leak
10718                         a half-initialized dbus connection
10719                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
10720                         the applet's data, just call nm_dbus_init_helper()
10721                 - (nma_start_dbus_connection_watch): new function, starts a periodic
10722                         timeout that calls nma_dbus_connection_watcher()
10723                 - (nma_dbus_init_helper): if we get a successful connection, kill the
10724                         reconnection timeout, and don't start the reconnection timeout
10725                         unconditionally anymore
10726
10727         * gnome/applet/applet-dbus.h
10728                 - Expose nma_start_dbus_connection_watch()
10729
10730         * gnome/applet/applet.c
10731                 - (nma_update_state): no longer static, called from applet-dbus.c for
10732                         immediate UI updates on certain events
10733                 - (nma_set_running): new function; take over setting applet->running,
10734                         when not running (ie, NM is not active), don't activate the redraw
10735                         timeout because we're not showing the applet anyway.  When we are
10736                         running (ie, NM is active), and only when we're running, start the
10737                         redraw timeout.
10738                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
10739                         kill any reconnection timeout
10740                 - (nma_get_instance): move one-off dbus initialization code here since
10741                         nm_dbus_init_helper() gets called more than once, possibly by the
10742                         reconnection timeout function too.  And, when we start up, if we
10743                         can't get a connection to the bus, start the reconnection timeout.
10744                         But don't start the redraw timeout yet, only do that when we get
10745                         NM's state and find out if it's running or not.
10746
10747         * gnome/applet/applet.h
10748                 - Add the reconnection GSource ID
10749                 - Add prototypes for nma_set_running() and the no-longer-static
10750                         nma_update_state()
10751
10752 2006-10-24  Dan Williams  <dcbw@redhat.com>
10753
10754         * src/vpn-daemons/nm-dbus-vpnc.c
10755                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
10756                         pending call tracker
10757                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
10758                         pending call tracker; register one-vpn-connection update pending
10759                         call in pending call tracker
10760                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
10761                         update pending call in pending call tracker
10762                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
10763                         update pending call in pending call tracker; don't block waiting
10764                         for call to return
10765
10766 2006-10-19  Robert Love  <rml@novell.com>
10767
10768         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
10769           refresh the cache.
10770
10771 2006-10-14  Dan Williams  <dcbw@redhat.com>
10772
10773         * src/dhcp-manager/nm-dhcp-manager.c
10774                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
10775                 the dbus connection and the device object path rather than
10776                 constructing it inside both functions.  Saves a bit of memory
10777                 and clarifies a failure path.
10778                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
10779                 and allocate device path here rather than each of the two
10780                 functions above.
10781
10782 2006-10-13  Dan Williams  <dcbw@redhat.com>
10783
10784         * src/NetworkManager.c
10785                 - (nm_name_owner_changed_handler): handle NMI coming and going,
10786                 this somehow droppout in the refactor
10787
10788 2006-10-13  Dan Williams  <dcbw@redhat.com>
10789
10790         * Huge DBus refactor:
10791                 - Create a "DBus Manager" object which manages the connection and
10792                 sends signals on NameOwnerChanged and connection/disconnection events,
10793                 handles reconnection to the bus if NM gets kicked off, and abstracts
10794                 signal handling
10795                 - Remove DBusConnection members from places where they are no
10796                 longer needed due to the refactor, like the dbus-connection
10797                 property of the named manager, and from NMData
10798                 - Reformats a bunch of the code to gnome style
10799                 (8-space tabs, braces on same line as statement, 80-col width).
10800                 Consider it open season to reformat any bits to gnome style.
10801                 style that aren't already.
10802
10803 2006-10-13  Dan Williams  <dcbw@redhat.com>
10804
10805         * src/supplicant-manager/Makefile.am
10806                 - Add new files
10807
10808         * src/supplicant-manager/nm-supplicant-manager.[ch]:
10809                 - Make it a minimal GObject
10810
10811         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
10812                 - Verify settings destined for wpa_supplicant
10813
10814         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
10815                 - Minimal GObject to track wpa_supplicant controlled device
10816                 connections
10817
10818 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
10819
10820         * gnome/applet/applet.c: (nma_update_info),
10821         (nma_act_stage_to_pixbuf), (nma_update_state):
10822         Mark missing strings for translation. Fixes bug #343306.
10823
10824 2006-10-01  Dan Williams  <dcbw@redhat.com>
10825
10826         * src/vpn-manager/nm-vpn-manager.c
10827                 - (nm_vpn_manager_load_services): split and clean up
10828                 for readability and correctness.  Restrict VPN service
10829                 files to ending in ".name", as was meant from the
10830                 beginning (but not coded in).  Better error reporting.
10831
10832 2006-10-01  Dan Williams  <dcbw@redhat.com>
10833
10834         * utils/nm-utils.h
10835                 - Clean up formatting of debug/info/warning log messages
10836
10837 2006-09-27  Robert Love  <rml@novell.com>
10838
10839         Patch by Tambet Ingo <tambet@ximian.com>:
10840         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
10841           actually work.
10842
10843 2006-09-07  Dan Williams <dcbw@redhat.com>
10844
10845         * test/Makefile.am
10846           test/libnm-util/Makefile.am
10847           test/nm-supplicant-test.c
10848                 - Add test program emulating the way NM drives wpa_supplicant
10849                 to help debug supplicant issues
10850
10851 2006-08-24  Dan Williams <dcbw@redhat.com>
10852
10853         * configure.in
10854           src/Makefile.am
10855           src/supplicant-manager/Makefile.am
10856           src/supplicant-manager/nm-supplicant-manager.c
10857           src/supplicant-manager/nm-supplicant-manager.h
10858                 - Add skeleton bits of the wpa_supplicant manager
10859
10860 2006-08-24  Dan Williams <dcbw@redhat.com>
10861
10862         Patch from Ed Catmur:
10863         * src/NetworkManagerUtils.c
10864                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
10865                 if netmask is 0 (Gnome #352634)
10866
10867 2006-08-17  Robert Love  <rml@novell.com>
10868
10869         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
10870           package is now DBUS-enabled and listens for the NM signals.
10871
10872 2006-08-14  Dan Williams  <dcbw@redhat.com>
10873
10874         * Patch from Christian Persch <chpe gnome org>
10875         * configure.in
10876           po/LINGUAS
10877           vpn-daemons/openvpn/po/LINGUAS
10878           vpn-daemons/openvpn/configure.in
10879           vpn-daemons/pptp/po/LINGUAS
10880           vpn-daemons/pptp/configure.in
10881           vpn-daemons/vpnc/po/LINGUAS
10882           vpn-daemons/vpnc/configure.in
10883                 - Convert to LINGUAS method so translators don't have to modify
10884                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
10885                 0.35 or higher
10886
10887 2006-08-14  Dan Williams  <dcbw@redhat.com>
10888
10889         Patch from Alex Smith <alex.extreme2@gmail.com>
10890         * configure.in
10891           src/backends/Makefile.am
10892           src/backends/NetworkManagerFrugalware.c
10893                 - Add support for Frugalware
10894
10895 2006-08-13  Dan Williams  <dcbw@redhat.com>
10896
10897         Patch from Valentine Sinitsyn <e_val@inbox.ru>
10898         * src/nm-device-802-11-wireless.c
10899                 - (supplicant_exec): spawn wpa_supplicant without debug spew
10900                 Gnome #346875
10901
10902 2006-08-13  Dan Williams  <dcbw@redhat.com>
10903
10904         Patch from Valentine Sinitsyn <e_val@inbox.ru>
10905         * src/nm-ap-security.c
10906           src/nm-ap-security.h
10907                 - Add authentication_required bits for subclasses to specify whether
10908                 or not real authentication is required for connections, i.e. whether
10909                 the AP rejects us when an encryption key is wrong or not.
10910
10911         * src/nm-ap-security-wep.c
10912           src/nm-ap-security-wpa-eap.c
10913           src/nm-ap-security-wpa-psk.c
10914           src/nm-ap-security-leap.c
10915                 - Implement authentication_required appropriately for each method
10916
10917         * src/nm-device-802-11-wireless.c
10918                 - Be smarter about when to request a key; for example, using a wrong key
10919                 in WEP shared key mode previously just timed out and did not request
10920                 a new key
10921
10922 2006-08-13  Dan Williams  <dcbw@redhat.com>
10923
10924         * gnome/libnm_glib/libnm_glib.c
10925                 - dbus_connection_disconnect() -> dbus_connection_close() for
10926                 dbus >= 0.90
10927
10928 2006-08-07  Dan Williams  <dcbw@redhat.com>
10929
10930         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
10931         * src/NetworkManagerSystem.c
10932                 - Respect specified MTU.  Gnome #344967
10933
10934 2006-08-07  Dan Williams  <dcbw@redhat.com>
10935
10936         * src/vpn-manager/nm-vpn-service.c
10937                 - Simplify print_vpn_config() arguments
10938
10939         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
10940         * src/vpn-manager/Makefile.am
10941           src/vpn-manager/nm-vpn-service.c
10942                 - Add new API for passing VPN config options as a dict. Gnome #344967
10943
10944 2006-08-06  Dan Williams  <dcbw@redhat.com>
10945
10946         * gnome/applet/applet-dbus-devices.c
10947           gnome/applet/applet-dbus-vpn.c
10948           gnome/applet/applet-dbus.c
10949           gnome/applet/applet-dbus.h
10950           src/nm-dbus-nmi.c
10951           utils/nm-utils.c
10952           utils/nm-utils.h
10953                 - Make pending call tracking code generic,
10954                 so we can use it in NM as well as the applet
10955
10956 2006-08-06  Dan Williams  <dcbw@redhat.com>
10957
10958         * src/nm-activation-request.c
10959                 - Refcount pending call objects
10960
10961 2006-08-06  Dan Williams  <dcbw@redhat.com>
10962
10963         Patch from Christan Chiesa <christanc@gmail.com>
10964         * configure.in
10965                 - Tell sha1.c to use bigendian mode on PPC
10966
10967 2006-08-04  Robert Love  <rml@novell.com>
10968
10969         Glib Memory Slices!
10970         * configure.in: Require glib 2.10 or later.
10971         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
10972           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
10973           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
10974           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
10975           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
10976           Memory Slices are the greatest thing since bread slices.
10977         * src/NetworkManagerAP.c: Also, fix memory leak.
10978
10979 2006-08-01  Robert Love  <rml@novell.com>
10980
10981         * gnome/applet/main.c: Shutdown all VPN connections on logout.
10982
10983 2006-07-31  Robert Love  <rml@novell.com>
10984
10985         * src/backends/interface_parser.c: Declarations must begin the block.
10986
10987 2006-07-24  Dan Williams  <dcbw@redhat.com>
10988
10989         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
10990         * src/backends/Makefile.am
10991           src/backends/NetworkManagerArch.c
10992           src/backends/NetworkManagerDebian.c
10993           src/backends/NetworkManagerGeneric.c
10994           src/backends/NetworkManagerGeneric.h
10995           src/backends/NetworkManagerGentoo.c
10996           src/backends/NetworkManagerPaldo.c
10997           src/backends/NetworkManagerRedHat.c
10998           src/backends/NetworkManagerSlackware.c
10999           src/backends/NetworkManagerSuSE.c
11000                 - Genericize common backend functions
11001
11002 2006-07-18  Robert Love  <rml@novell.com>
11003
11004         * configure.in: Add "--with-notify" option to allow disabling of
11005           libnotify support.
11006
11007 2006-07-13  Dan Williams  <dcbw@redhat.com>
11008
11009         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11010         * gnome/applet/applet.glade
11011           gnome/applet/Makefile.am
11012           gnome/applet/nm-gconf-wso.c
11013           gnome/applet/nm-gconf-wso-leap.c
11014           gnome/applet/nm-gconf-wso-leap.h
11015           gnome/applet/wireless-security-manager.c
11016           gnome/applet/wso-leap.c
11017           gnome/applet/wso-leap.h
11018           include/NetworkManager.h
11019           libnm-util/dbus-helpers.c
11020           libnm-util/dbus-helpers.h
11021           src/Makefile.am
11022           src/NetworkManagerAP.c
11023           src/nm-ap-security.c
11024           src/nm-ap-security-leap.c
11025           src/nm-ap-security-leap.h
11026                 - Add LEAP authentication support
11027
11028 2006-07-13  Dan Williams  <dcbw@redhat.com>
11029
11030         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11031         * configure.in
11032           src/backends/NetworkManagerArch.c
11033           src/backends/NetworkManagerDebian.c
11034           src/backends/NetworkManagerGentoo.c
11035           src/backends/NetworkManagerPaldo.c
11036           src/backends/NetworkManagerRedHat.c
11037           src/backends/NetworkManagerSlackware.c
11038           src/backends/NetworkManagerSuSE.c
11039                 - Convert hardcoding of 'ip' path to configure-time
11040                         detected one
11041
11042 2006-07-12  Leonid Kanter <leon@asplinux.ru>
11043
11044         * configure.in: added ru to ALL_LINGUAS
11045
11046 2006-07-10  Dan Williams  <dcbw@redhat.com>
11047
11048         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11049         * src/nm-device.c
11050                 - (real_act_stage3_ip_config_start): don't infinite loop when
11051                         dhcdbd isn't running (Gnome #346845)
11052
11053 2006-07-09  Dan Williams  <dcbw@redhat.com>
11054
11055         * gnome/applet/applet.c
11056                 - (nma_destroy): don't pass NULL to notify_notification_close
11057                         (RH #197917)
11058
11059 2006-07-09  Dan Williams  <dcbw@redhat.com>
11060
11061         * gnome/applet/applet.c
11062                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11063
11064 2006-07-04  Tor Krill  <tor@krill.nu>
11065
11066         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11067         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11068         (nm_system_restart_mdns_responder), (ArchReadConfig),
11069         (nm_system_device_get_system_config):
11070                 - Explicitly check for DHCP configuration
11071                 - Check if daemons are running before starting them
11072
11073 2006-06-25  Dan Williams  <dcbw@redhat.com>
11074
11075         * libnm-util/dbus-dict-helpers.[ch]
11076           test/libnm-util/test-dbus-dict-helpers.c
11077                 - Add string array support
11078
11079 2006-06-24  Dan Williams  <dcbw@redhat.com>
11080
11081         * src/dhcp-manager/nm-dhcp-manager.c
11082                 - (nm_dhcp_manager_process_signal): clean up spacing
11083
11084 2006-06-21  Dan Williams  <dcbw@redhat.com>
11085
11086         * src/nm-dbus-device.c
11087                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11088                         through dbus
11089
11090 2006-06-21  Raivis Dejus  <orvils@gmail.com>
11091
11092         * configure.in: Added 'lv' to ALL_LINGUAS
11093
11094 2006-06-19  Dan Williams  <dcbw@redhat.com>
11095
11096         * src/NetworkManagerAP.c
11097                 - Clarify usage of user_created
11098
11099         * src/nm-ap-security-wep.c
11100           src/nm-ap-security-wpa-eap.c
11101           src/nm-ap-security-wpa-psk.c
11102           src/nm-ap-security.c
11103           src/nm-ap-security.h
11104                 - s/user_created/adhoc, because we really do mean adhoc
11105
11106         Patch from Bernard Blackham <bernard@blackham.com.au>
11107         * src/nm-device-802-11-wireless.c         
11108                 - (supplicant_send_network_config): instead of user_created,
11109                         use adhoc, and do AP_SCAN 2 for adhoc networks
11110
11111 2006-06-18  Robert Love  <rml@novell.com>
11112
11113         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11114           we have a value to set.  Gconf generates a warning if `val' is NULL.
11115         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11116           unless we actually received a valid private key file passphrase or
11117           password.  Otherwise, we don't know to later ask the applet to pull
11118           the key from the keyring.
11119
11120 2006-06-17  Dan Williams  <dcbw@redhat.com>
11121
11122         * libnm-util/dbus-dict-helpers.[ch]
11123           test/libnm-util/test-dbus-dict-helpers.c
11124                 - Fixes for zero-length byte arrays
11125                 - Replace return values of 0 with FALSE for clarity
11126                 - Test zero-length byte arrays
11127
11128 2006-06-17  Dan Williams  <dcbw@redhat.com>
11129
11130         * libnm-util/dbus-dict-helpers.[ch]
11131           test/libnm-util/test-dbus-dict-helpers.c
11132                 - Add helpers for byte arrays
11133                 - Rework bits of the testcase
11134
11135 2006-06-16  Dan Williams  <dcbw@redhat.com>
11136
11137         * libnm-util/Makefile.am
11138         * libnm-util/dbus-dict-helpers.[ch]
11139                 - Add some helpers to take the pain out of using dict types in
11140                         dbus.
11141
11142         * test/libnm-util/Makefile.am
11143         * test/libnm-util/test-dbus-dict-helpers.c
11144                 - Test cases for the dict helper functions
11145
11146 2006-06-15  Robert Love  <rml@novell.com>
11147
11148         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11149           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
11150           if there is no key to pass.
11151         * libnm-util/dbus-helpers.c: Given the above, we can trust always
11152           receiving a non-NULL key.
11153
11154 2006-06-14  Robert Love  <rml@novell.com>
11155
11156         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11157           copy the strings.
11158
11159
11160 2006-06-14  Dan Williams  <dcbw@redhat.com>
11161
11162         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
11163         * src/nm-device-802-11-wireless.c
11164                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11165                         or ones where the driver is unknown
11166                 - (supplicant_exec): don't wait for supplicant startup here
11167                 - (supplicant_interface_init): finer grained polling for supplicant
11168                         startup
11169
11170 2006-06-13  Robert Love  <rml@novell.com>
11171
11172         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11173           if it is currently set to TRUE.  Otherwise, we will reset the value
11174           when we connect normally.
11175         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11176           the old BSSID is valid, too.  The recently added ESSID check may not be
11177           sufficient (we can remove it?).  What we really want to catch is the
11178           case of going from all-zeros to the BSSID of some other network, which
11179           happens on failure.
11180
11181 2006-06-09  Dan Williams  <dcbw@redhat.com>
11182
11183         * src/NetworkManagerSystem.[ch]
11184                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11185                         it was unused and pointless
11186                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11187                         fix for set_up_down_with_iface change
11188
11189         * src/vpn-manager/nm-vpn-connection.c
11190                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11191
11192         * src/backends/NetworkManagerPaldo.c
11193           src/backends/NetworkManagerRedHat.c
11194           src/backends/NetworkManagerSuSE.c
11195           src/backends/NetworkManagerArch.c
11196           src/backends/NetworkManagerDebian.c
11197           src/backends/NetworkManagerGentoo.c
11198                 - (nm_system_enable_loopback): use set_up_down_with_iface where
11199                         appropriate
11200                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11201                         where appropriate
11202
11203 2006-06-09  Dan Williams  <dcbw@redhat.com>
11204
11205         Patch from Peter Jones:
11206         * src/nm-device-802-11-wireless.c
11207                 - (nm_device_802_11_wireless_update_bssid): make sure that the
11208                         SSID hasn't changed from what we expect before automatically
11209                         updating the saved BSSID from a new AP
11210
11211 2006-06-08  Robert Love  <rml@novell.com>
11212
11213         Add 'fallback' support.  NetworkManager will attempt to brute-force
11214         connect to networks marked as fallback if there are no better wireless
11215         connections available.  This is useful as a method of last resort, to
11216         work around driver problems, and for use with hidden networks.
11217         * gnome/applet/applet-dbus-devices.c,
11218           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11219         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11220           pass it on via DBUS.
11221         * gnome/applet/applet.c: No fallback by default.
11222         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11223           Update other-network-dialog to add UI checkbox toggling fallback.
11224         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11225           propery from AP object.  Add "fallback" property to AP object.
11226         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11227         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11228         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11229           separate function.  Add get_best_fallback_ap() for returning an AP
11230           on which to attempt fallback.
11231         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11232         * test/nm-set-fallback: New file.  Sets a given network as fallback.
11233
11234 2006-06-07  Robert Love  <rml@novell.com>
11235
11236         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11237           checked that the return type was GCONF_VALUE_STRING, not the correct
11238           GCONF_VALUE_BOOL, and thus it never worked.
11239         * src/NetworkManagerAPList.c: Before concluding that two networks are
11240           identical based on their BSSID, make sure that the BSSID in question
11241           is actually valid.  Specifically, an empty or all zero BSSID does not
11242           cut it.
11243         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11244           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11245           similar invariant clean up.
11246
11247 2006-06-02  Robert Love  <rml@novell.com>
11248
11249         * gnome/applet/applet.c: Update copyright years.  Add Novell.
11250
11251 2006-05-28  Dan Williams  <dcbw@redhat.com>
11252
11253         * gnome/applet/applet.glade
11254           gnome/vpn-properties/nm-vpn-properties.glade
11255                 - Set window icons on dialogs  (Gnome.org #333420)
11256
11257 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
11258
11259         * gnome/vpn-properties/nm-vpn-properties.glade:
11260         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11261         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11262         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11263                 - Make the VPN properties pages prettier and more HIG
11264                   compliant. Gnome Bug #336913.
11265
11266 2006-05-28  Dan Williams  <dcbw@redhat.com>
11267
11268         Patch from Christian Persch <chpe@gnome.org>
11269         * gnome/vpn-properties/nm-vpn-properties.c
11270         * gnome/vpn-properties/nm-vpn-properties.glade
11271                 - HIG-ification love  (Gnome.org #336846)
11272
11273 2006-05-28  Dan Williams  <dcbw@redhat.com>
11274
11275         Patch from Christian Persch <chpe@gnome.org>
11276         * configure.in
11277           gnome/vpn-properties/nm-vpn-properties.c
11278                 - (main): Fix option parsing.  Gnome.org #336847
11279
11280 2006-05-28  Dan Williams  <dcbw@redhat.com>
11281
11282         * gnome/vpn-properties/nm-vpn-properties.c
11283                 - (find_vpn_ui_by_service_name): protect against NULL service names
11284                 - (update_edit_del_sensitivity): protect against NULL service names
11285                         Gnome.org #341306
11286
11287 2006-05-28  Dan Williams  <dcbw@redhat.com>
11288
11289         Patch from Chris Fuller <crf@grandecom.net>:
11290         * src/nm-device-802-11-wireless.c
11291                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11292                         don't dispose of wireless-specific stuff unless it is actually
11293                         initialized.  Gnome.org #341263
11294
11295 2006-05-28  Dan Williams  <dcbw@redhat.com>
11296
11297         * src/NetworkManagerPolicy.c
11298                 - (nm_policy_device_change_check): don't switch devices if the "best"
11299                         AP is essentially the same as the current activation request, but
11300                         the current activation request isn't done activating yet.  Fixes
11301                         multiple requests for keyring password on startup for Gnome applet.
11302                         Gnome.org #341297
11303
11304 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
11305
11306         * src/NetworkManager.c: use GOptions instead of getopt
11307         * configure.in: bump glib required version to >= 2.6 for GOption
11308           support
11309
11310 2006-05-25  Robert Love  <rml@novell.com>
11311
11312         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11313           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
11314           instead of dumping ifdef's throughout the code.
11315         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11316           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11317           use nm_ioctl_info() in lieu.
11318
11319 2006-05-25  Robert Love  <rml@novell.com>
11320
11321         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11322         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11323           not using gcrypt.  Otherwise, we get a linker error.
11324
11325 2006-05-25  Robert Love  <rml@novell.com>
11326
11327         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11328         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11329           configure flag to disable building of the GNOME-based applet.
11330
11331 2006-05-25  Robert Love  <rml@novell.com>
11332
11333         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11334           parameter from link, because it shadows a global variable with some
11335           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
11336           should never have exported to the entire system a common four letter
11337           word.  But we here at NetworkManager are team players.  Fixes
11338           GNOME bug #336532.
11339
11340 2006-05-25  Arangel Angov <ufo@linux.net.mk>
11341
11342         * configure.in: Added mk.po, Macedonian translation.
11343
11344 2006-05-24  Robert Love  <rml@novell.com>
11345
11346         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11347           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11348           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11349
11350 2006-05-24  Robert Love  <rml@novell.com>
11351
11352         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11353           libnm-util/Makefile.am, src/Makefile.am,
11354           vpn-daemons/openvpn/auth-dialog/Makefile.am,
11355           vpn-daemons/openvpn/properties/Makefile.am,
11356           vpn-daemons/pptp/auth-dialog/Makefile.am,
11357           vpn-daemons/pptp/properties/Makefile.am,
11358           vpn-daemons/vpnc/auth-dialog/Makefile.am,
11359           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11360           user passed for --datadir, if anything, when setting the GNOME locale
11361           directory.  It should be a function of the specified datadir and not
11362           the prefix.
11363
11364 2006-05-24  Robert Love  <rml@novell.com>
11365
11366         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11367           src/NetworkManager.c: Take care to call bindtextdomain with the
11368           location of msgid files.
11369         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11370           files.
11371
11372 2006-05-22  Robert Love  <rml@novell.com>
11373
11374         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11375           stage4_timeout on failure unless the wireless network is Ad-Hoc.
11376           99% of the time there is a real problem with wireless, and a
11377           seemingly successful connection via Zeroconf just confuses the user.
11378           And that 1% of the time the network is probably Ad-Hoc, anyhow.
11379
11380 2006-05-22  Robert Love  <rml@novell.com>
11381
11382         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11383           autofs on interface up if NIS is configured.  On interface down, do
11384           nothing.
11385
11386 2006-05-22  Robert Love  <rml@novell.com>
11387
11388         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11389           to avoid calling g_object_unref() on stale pointers on error in
11390           nma_icons_free().  This happens because we short-circuit loaded the
11391           icons on the first failure but then free all icons.  Normally we have
11392           no issue because the icons were zero'ed out malloc, but we have stale
11393           pointer data after nma_icon_theme_changed().
11394         * gnome/applet/main.c: Return error code if nma_new() failed.
11395
11396 2060-05-21  Dan Williams  <dcbw@redhat.com>
11397
11398         * initscript/NetworkManager.in
11399                 - Ensure both dhcdbd and named are started before NM
11400
11401 2006-05-21  Dan Williams  <dcbw@redhat.com>
11402
11403         * configure.in
11404                 - Bump version to 0.7 to signify we are in 0.7 development
11405
11406 2006-05-21  Dan Williams  <dcbw@redhat.com>
11407
11408         Patch from Adam Schreiber <sadam@clemson.edu>
11409         * gnome/vpn-properties/nm-vpn-properties.c
11410                 - (main): correct Gnome program name  (gnome.org #342498)
11411
11412 2006-05-21  Dan Williams  <dcbw@redhat.com>
11413
11414         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11415
11416         * src/NetworkManagerDbus.[ch]
11417                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11418                         clarify that function's argument should be an escaped dbus object
11419                         path, and look for path segment end before returning a match
11420         * src/nm-dbus-nm.c:
11421                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11422
11423 2006-05-17  Robert Love  <rml@novell.com>
11424
11425         Functionality to differentiate Ad-Hoc networks from infrastructure
11426         networks in the applet, by displaying a special icon:
11427         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11428         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11429         * gnome/applet/menu-items.c: Set a special icon in the scan list for
11430           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
11431           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
11432           networks, encrypted or not.
11433         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11434           accessor functions to get and set the mode of a given network,
11435           wireless_network_get_mode() and wireless_network_set_mode().
11436
11437 2006-05-17  Robert Love  <rml@novell.com>
11438
11439         Functionality to automatically add BSSIDs to the allowed-MAC list as
11440         one roams from access point to access point on a given network:
11441         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11442           helper function to compare two ether_addr structures and return TRUE
11443           if they contain the same MAC address.
11444         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11445           prototype.
11446         * src/nm-device-802-11-wireless.c: New function to update the BSSID
11447           stored with the current AP.  If the BSSID has indeed changed, we
11448           send it out to the applet, allowing the allowed-MAC list to grow
11449           automatically in response to roaming.
11450
11451 2006-05-16  Robert Love  <rml@novell.com>
11452
11453         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11454           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11455
11456 2006-05-13  Dan Williams  <dcbw@redhat.com>
11457
11458         * src/nm-device-802-3-ethernet.c
11459                 - (real_get_generic_capabilities): Don't ignore devices that can't do
11460                         carrier detect (Debian bug #366373)
11461
11462 2006-05-11  Dan Williams  <dcbw@redhat.com>
11463
11464         Patch from Michael Biebl <biebl@teco.edu>
11465         * src/backends/NetworkManagerDebian.c
11466                 - Debian backend fixups
11467
11468 2006-05-10  Robert Love  <rml@novell.com>
11469
11470         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11471
11472 2006-05-09  Robert Love  <rml@novell.com>
11473
11474         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11475           private certificate passphrase, if any, in the GNOME Keyring.
11476         * libnm-utils/dbus-helpers.c: Update.
11477
11478 2006-05-05  Dan Williams  <dcbw@redhat.com>
11479
11480         * src/nm-device-802-11-wireless.c
11481                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11482                         nm_device_802_11_wireless_disable_encryption() since that's all
11483                         we use it for anymore; we don't ever set WEP keys ourselves.
11484                 - (real_deactivate_quickly): reset SSID and encryption keys
11485                 - (real_deactivate): move SSID and encryption key reset to
11486                         real_deactivate_quickly(), which gets run before us anyway
11487
11488 2006-05-05  Robert Love  <rml@novell.com>
11489
11490         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11491           root has a wacky default of its own (or, more common, a user has a
11492           bad umask and uses su/sudo to restart NetworkManager).  Anything
11493           other than 0022 does not do what we want with, for example,
11494           resolv.conf.  This problem is amplified by our judicious use of
11495           fopen(), which uses mode 0666 -- implying that the only way to get
11496           the permissions we want is with a umask of 0022.
11497
11498 2006-05-05  Dan Williams  <dcbw@redhat.com>
11499
11500         * gnome/libnm_glib/libnm_glib.c
11501                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11502                         to reconnect; instead wait a bit more with each reconnect attempt
11503                         up to a max of one minute.
11504
11505 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
11506
11507         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11508           the WirelessNetwork structure using the proper function instead of
11509           just casting it directly to (const char *) (gnome.org #336991)
11510
11511 2006-05-03  Robert Love  <rml@novell.com>
11512
11513         * src/backends/NetworkManagerSuSE.c: Respect the variable
11514           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11515           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11516           to dynamically update /etc/resolv.conf.
11517
11518 2006-05-02  Peter Jones  <pjones@redhat.com>
11519
11520         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11521
11522 2006-05-02  Robert Love  <rml@novell.com>
11523
11524         Patch by Timo Hoenig;
11525         * tests/nm-online.c: Print pretty status indicator as timeout winds
11526           down.  Also fix possible race between DBUS startup and failure
11527           return.
11528
11529 2006-05-01  Robert Love  <rml@novell.com>
11530
11531         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11532           empty, too.
11533
11534 2006-04-27  Jeremy Katz  <katzj@redhat.com>
11535
11536         * src/nm-device.c (discover_device_type): Actually use the hal
11537         device type instead of ioctl poking
11538
11539 2006-04-26  Robert Love  <rml@novell.com>
11540
11541         * tests/nm-online.c: New file.  Simple utility that returns exit status
11542           noting whether the connection is offline or online.  If offline on
11543           start, it waits 30 seconds (or a command-line given value) for an
11544           online signal.  If it times out, it again returns offline.  This is
11545           useful for scripts that want to wait for network connections.
11546
11547 2006-04-25  Robert Love  <rml@novell.com>
11548
11549         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11550           key mode (the authentication algorithm), e.g. open or shared, when we
11551           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
11552           only shared was broken.  If the user specified a shared key, set it
11553           explicitly, otherwise let wpa_supplicant go with the default.
11554
11555 2006-04-24  Dan Williams  <dcbw@redhat.com>
11556
11557         * src/nm-device-802-11-wireless.c
11558                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11559
11560 2006-04-24  Dan Williams  <dcbw@redhat.com>
11561
11562         Commit the async scanning patch
11563
11564         * src/nm-device-802-11-wireless.c
11565                 - get rid of scan_mutex
11566                 - (wireless_event_helper): act on wireless scan events
11567                 - (real_start): schedule a pending scan
11568                 - (link_to_specific_ap): fake the link to the AP during a scan
11569                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11570                         strength during scans
11571                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11572                         nm_device_set_bitrate): unused with new scanning code, disable
11573                 - (nm_device_wireless_schedule_scan): removed
11574                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11575                 - (request_and_convert_scan_results): new function; retrieve scan
11576                         results from the driver and schedule the processing function
11577                 - (scan_results_timeout): timeout triggered when card doesn't send
11578                         a scan results wireless event during a certain interval
11579                 - (schedule_scan_results_timeout): new function; schedule the scan
11580                         results timeout
11581                 - (cancel_scan_results_timeout): new function; cancel the scan
11582                         results timeout
11583                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11584                         to do the scanning.  Otherwise, just request a scan but don't
11585                         grab results here; instead schedule a timeout for scan results and
11586                         let netlink notify us of scan completion events
11587                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11588                 - (cancel_pending_scan): new function; cancel a pending wireless scan
11589                 - (supplicant_status_cb): ignore disconnect events while scanning
11590                 - (supplicant_exec): wait a bit longer for the supplicant to start up
11591                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
11592                         timeouts
11593                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
11594
11595 2006-04-24  Dan Williams  <dcbw@redhat.com>
11596
11597         * gnome/applet/applet-dbus.c
11598                 - Disable the pending call debug stuff, seems under control now
11599
11600 2006-04-20  Robert Love  <rml@novell.com>
11601
11602         Fix bug where hidden ESSID's would not show up in the applet, even
11603         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
11604         because nm_policy_device_list_update_from_allowed_list() would merge
11605         the data, putting a name to the hidden networks, but never notify NMI
11606         of the changes.  Simple fix is to invoke the function
11607         nm_dbus_signal_wireless_network_change() if we make a mapping.
11608         * src/NetworkManagerAPList.c: Call the function
11609           nm_dbus_signal_wireless_network_change() if we made a successful
11610           BSSID to ESSID mapping, notifying the applet of the "new" network.
11611         * src/NetworkManagerAPList.h: Update the prototypes for both
11612           nm_ap_list_copy_essids_by_address() and
11613           nm_ap_list_copy_one_essid_by_address().
11614
11615 2006-04-20  Robert Love  <rml@novell.com>
11616
11617         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
11618           not set.  Just return zero.
11619
11620 2006-04-20  Robert Love  <rml@novell.com>
11621
11622         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
11623           only one copy of nm-vpn-properties is running at a time via the 'ol
11624           X selection trick.  This prevents the user from opening two "VPN
11625           Connections" windows from within the applet, which leads to mass
11626           hysteria.
11627         * clipboard.c: New file, implementing simple X selection logic.
11628         * clipboard.h: New file.
11629         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
11630
11631 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
11632
11633         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
11634         * configure.in
11635           initscript/Gentoo/Makefile.am
11636           initscript/Gentoo/NetworkManagerDispatcher.in
11637                 - New script
11638         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
11639           Gentopia
11640
11641 2006-04-16  Dan Williams  <dcbw@redhat.com>
11642
11643         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
11644         * configure.in
11645           initscript/Slackware/Makefile.am
11646           initscript/Slackware/rc.networkmanager-dispatcher.in
11647           initscript/Slackware/rc.networkmanager.in
11648                 - Update slackware initscripts
11649
11650 2006-04-10  Robert Love  <rml@novell.com>
11651
11652         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
11653           the "delete_event" signal on the druid's parent window and handle it
11654           our way, lest using the WM to close the druid results in a series of
11655           bloody and ultimately lethal errors.
11656
11657 2006-04-10  Robert Love  <rml@novell.com>
11658
11659         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
11660           'Back' too or else the 'Forward' option is initially disabled despite
11661           valid input.
11662
11663 2006-04-06  Robert Love  <rml@novell.com>
11664
11665         Fix bad but simple bug where an active modem connection did not update
11666         NM's connection state, breaking any app that did online/offline:
11667         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
11668           represented whether a dial up connection is active, or not.
11669         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
11670           to modem activation and deactivation.
11671         * src/NetworkManagerDbus.c: When asked our state, do not return
11672           disconnected if the modem is active.
11673
11674 2006-04-04  Robert Love  <rml@novell.com>
11675
11676         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
11677           applet.  It just confuses the crap out of people and does not make a
11678           lot of sense, as the daemon still runs.
11679
11680 2006-04-02  Tor Krill  <tor@krill.nu>
11681
11682         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
11683           in start of service.
11684         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
11685           get Archlinux backend up to date.
11686
11687 2006-03-29  Robert Love  <rml@novell.com>
11688
11689         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
11690         to add support for per-route MSS and improve support for per-interface
11691         MTU:
11692         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
11693           optionally take an MSS parameter and set it for the given route.
11694           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
11695           NMIP4Config's stored MSS, if any.
11696         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
11697           the interface's MTU and the route's MSS, respectively.  Add functions
11698           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
11699           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
11700           MSS.
11701         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
11702           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
11703           nm_ip4_config_set_mss.
11704         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
11705           VPN daemon.
11706         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
11707           Change the retval of nm_system_get_mtu to guint32.
11708         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
11709           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
11710           servers can specify MTU's, we should set it here if the MTU was not
11711           provided.
11712
11713 2006-03-27  Jürg Billeter  <j@bitron.ch>
11714
11715         * configure.in:
11716         * initscript/Makefile.am:
11717         * initscript/paldo/Makefile.am:
11718         * initscript/paldo/NetworkManager.in:
11719         * initscript/paldo/NetworkManagerDispatcher.in:
11720         * src/backends/Makefile.am:
11721         * src/backends/NetworkManagerPaldo.c:
11722                 - Add paldo support
11723
11724 2006-03-27  Dan Williams  <dcbw@redhat.com>
11725
11726         Patch from Christian Persch <chpe@gnome.org>
11727         * gnome/applet/applet.glade
11728                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
11729
11730 2006-03-27  Dan Williams  <dcbw@redhat.com>
11731
11732         Patch from Diffe <diffie@blazebox.homeip.net>
11733         * src/backends/NetworkManagerSlackware.c
11734                 - Don't restart howl, since it's been replaced by Avahi
11735                         in most distributions
11736
11737 2006-03-27  Dan Williams  <dcbw@redhat.com>
11738
11739         Patch from Tor Krill <bugzilla@krill.nu>
11740         * configure.in
11741           initscript/Makefile.am
11742           src/backends/Makefile.am
11743           src/backends/NetworkManagerArch.c
11744           initscript/Arch/Makefile.am
11745           initscript/Arch/networkmanager-dispatcher.in
11746           initscript/Arch/networkmanager.in
11747                 - Add Arch Linux support, fixes gnome.org #335147
11748
11749 2006-03-27  Dan Williams  <dcbw@redhat.com>
11750
11751         Patch from Diffe <diffie@blazebox.homeip.net>
11752      * initscript/Slackware/rc.networkmanager
11753         - update, fixed gnome.org #333368
11754
11755 2006-03-27  Robert Love  <rml@novell.com>
11756
11757         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
11758           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
11759
11760 2006-03-27  Robert Love  <rml@novell.com>
11761
11762         Patch by Jürg Billeter <j@bitron.ch>:
11763         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
11764           systems.
11765         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
11766           as we prefer glibc over kernel headers, if possible.
11767
11768 2006-03-27  Robert Love  <rml@novell.com>
11769
11770         Patch by Jon Escombe <list@dresco.co.uk>:
11771         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
11772         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
11773           fail, don't bail out.  We don't expect all of the various WPA-EAP
11774           values to be present.
11775         * src/nm-ap-security.c: We need to match all capabilities for each
11776           encryption type, not any one of them.
11777
11778 2006-03-27  Robert Love  <rml@novell.com>
11779
11780         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
11781           restart, not reload, ypbind.  Unfortunately there is no superior
11782           solution.
11783
11784 2006-03-24  Christopher Aillon  <caillon@redhat.com>
11785
11786         * gnome/applet/applet-notifications.c:
11787         When displaying a notification, make sure to get rid of the
11788         previous notification so as to not have competing bubbles,
11789         and stop leaking the old one.
11790
11791         * gnome/applet/applet.c:
11792         * gnome/applet/applet.h:
11793         Add a new 'notification' member to the applet, and zero it out
11794         and free it appropriately.
11795
11796 2006-03-23  Robert Love  <rml@novell.com>
11797
11798         Patch by j <j@bootlab.org>:
11799         * gnome/applet/applet.glade: Don't set the invisible_char property,
11800           which simply overrides the GTK default.  By and by, this behavior
11801           ought to be fixed in Glade.
11802
11803 2006-03-22  Robert Love  <rml@novell.com>
11804
11805         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
11806
11807 2006-03-22  Robert Love  <rml@novell.com>
11808
11809         Bug fix by Timo Hoenig <thoenig@suse.de>:
11810         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
11811           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
11812           and the applet going AWOL.
11813
11814 2006-03-22  Robert Love  <rml@novell.com>
11815
11816         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
11817           preprocessor define and use it instead of open-coded the DHCP
11818           timeout, which is currently 25 seconds, everywhere.
11819
11820 2006-03-22  Robert Love  <rml@novell.com>
11821
11822         Implement "Dynamic WEP", which is basically WPA authentication and WEP
11823         key exchange via WPA, ostensibly providing good security without
11824         requiring hardware that supports full WPA.  Also, add UI elements to
11825         allow the user to select the pairwise & group cipher for WPA Enterprise
11826         networks, too:
11827         * gnome/applet/applet.glade: Update glade file.
11828         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
11829           key type, too, to and from gconf.
11830         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
11831           wso_wpa_create_key_type_model(), noting whether we are handling PSK
11832           or EAP configuration, and in the latter case add in "Dynamic WEP" if
11833           the capabilities match.
11834         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
11835           prototype.
11836         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
11837           serialize from UI to DBUS.
11838         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
11839           one element.
11840         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
11841           nmu_security_serialize_wpa_eap_with_cipher(), and
11842           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
11843           serialize/deserialize the key type via DBUS as the new third DBUS
11844           parameter.
11845         * libnm-util/dbus-helpers.h: Update prototypes.
11846         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
11847           too.  If the key type is WEP104, do Dynamic WEP, which means
11848           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
11849           pairwise and group ciphers (fixes a FIXME).
11850
11851 2006-03-21  Robert Love  <rml@novell.com>
11852
11853         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
11854           nm_system_get_mtu(), which returns a user-provided or system-mandated
11855           MTU value for a given device, if any, or zero if no such value
11856           exists.  Add nm_system_set_mtu() to set the MTU for a given device
11857           if we have a provided value.
11858         * src/nm-device.c: Set the MTU of devices.
11859         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
11860         * src/backends/NetworkManagerDebian.c,
11861           src/backends/NetworkManagerGentoo.c,
11862           src/backends/NetworkManagerRedHat.c,
11863           src/backends/NetworkManagerSlackware.c: Implement stub functions.
11864
11865 2006-03-21  Robert Love  <rml@novell.com>
11866
11867         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
11868           configuration file.
11869
11870 2006-03-17  Robert Love  <rml@novell.com>
11871
11872         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
11873           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
11874           it, in case it is not running in the first place.  We just want its
11875           configuration reloaded.  Also, do not "rcypbind stop" on device down.
11876
11877 2006-03-15  Robert Love  <rml@novell.com>
11878
11879         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
11880           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
11881           label "WEP 40/128-bit" is inconsistent because the physical key size
11882           is 40 or 104-bits, to which a 24-bit initialisation vector is
11883           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
11884           to read "40/104" or "64/128".  I do not care much which, but most
11885           users think of "silver" and "gold" encryption as 64 and 128-bits, so
11886           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
11887           WEP passphrase support only handles 128-bit keys, and any future
11888           64-bit passphrase support will require a new option (no way to auto-
11889           detect the target key size), explicitly label our passphrase support
11890           "WEP 128-bit Passphrase".
11891
11892 2006-03-15  Robert Love  <rml@novell.com>
11893
11894         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
11895           the system init scripts (or some other mechanism) starting it (or a
11896           compatible DBUS service) before NetworkManager runs.  This means that
11897           distributions might need to update their init scripts.  This fixes
11898           possible races and is quite a bit cleaner.
11899         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
11900           starting the NetworkManager daemon.
11901
11902
11903 2006-03-14  Robert Love  <rml@novell.com>
11904
11905         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
11906           before adding anything.
11907
11908 2006-03-13  Robert Love  <rml@novell.com>
11909
11910         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
11911           widgets, too, if they exist, in case the user hit the back button.
11912           Fixes a bug where the details page contains the widgets of multiple
11913           VPN modules (Novell bug #157048).
11914
11915 2006-03-13  Robert Love  <rml@novell.com>
11916
11917         Patch by Timo Hoenig <thoenig@suse.de>:
11918         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
11919           daemon survive DBUS restarts, too.
11920
11921 2006-03-10  Robert Love  <rml@novell.com>
11922
11923         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
11924           passphrase or key.
11925         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
11926           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
11927           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
11928           in response to "toggled" signal on new toggle.
11929
11930 2006-03-10  Robert Love  <rml@novell.com>
11931
11932         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
11933           serialization if strings are NULL, lest DBUS get angry.
11934
11935 2006-03-10  Robert Love  <rml@novell.com>
11936
11937         * src/nm-ap-security-wpa-eap.c: Don't log the password.
11938
11939 2006-03-09  Robert Love  <rml@novell.com>
11940
11941         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
11942           configurations.
11943
11944 2006-03-09  Dan Williams  <dcbw@redhat.com>
11945
11946         Track pending call requests in the applet, and report how many are
11947         outstanding, and how long each completed one takes.
11948         
11949         * gnome/applet/applet-dbus-devices.c
11950           gnome/applet/applet-dbus-vpn.c
11951                 - Track pending calls
11952
11953         * gnome/applet/applet-dbus.[ch]
11954                 - Remove some unused enums
11955                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
11956                         new functions to track dbus pending calls and spit out some
11957                         statistics about them
11958
11959 2006-03-09  Robert Love  <rml@novell.com>
11960
11961         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
11962           nm_ap_set_timestamp() take the second and micro-second parameters as
11963           direct arguments, which avoids both a dynamic memory allocation and a
11964           structure-to-structure copy!  Add a new interface, the aptly named
11965           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
11966           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
11967           the return from nm_ap_get_timestamp().  New users should use the new
11968           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
11969           the extreme benefit to performance.
11970         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
11971           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
11972
11973 2006-03-08  Robert Love  <rml@novell.com>
11974
11975         * gnome/applet/applet.glade: Hide the password entry text with
11976           asterisks.
11977
11978 2006-03-08  Robert Love  <rml@novell.com>
11979
11980         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
11981           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
11982           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
11983           a second argument, NMData.
11984         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
11985         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
11986           config files as trusted.
11987
11988 2006-03-06  Robert Love  <rml@novell.com>
11989
11990         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
11991         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
11992           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
11993           Rivera, detect if the applet was auto-started.  If so, ask the user
11994           if he or she would like to stop automatically running the applet on
11995           login.  If so, disable autostart.
11996
11997 2006-03-06  Robert Love  <rml@novell.com>
11998
11999         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
12000           directory in CFLAGS so developers can actually use NetworkManager.h.
12001
12002 2006-03-06  Robert Love  <rml@novell.com>
12003
12004         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12005           open-coded integer constants.  Add state_to_string() to map a given
12006           state to a textual description, and provide that when notifying of
12007           state change.
12008         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12009           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
12010           this header directly, but it is currently not installed on most
12011           systems.
12012
12013 2006-03-05  Dan Williams  <dcbw@redhat.com>
12014
12015         Process netlink messages in device subclasses rather than in
12016         NetworkManager.c.  Also add support for recognizing Wireless Events.
12017         
12018         * configure.in
12019                 - Find GLIB_GENMARSHAL
12020
12021         * src/Makefile.am
12022                 - Since we're marshalling custom types for wireless event signals,
12023                         we get to create our own marshallers using GLIB_GENMARSHAL
12024
12025         * src/NetworkManager.c
12026                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12027                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12028                         cut down somewhat.  We no longer process signals here.
12029                 - (nm_data_new): create the netlink monitor here, and remove a
12030                         useless call to nm_policy_schedule_device_change_check()
12031                 - (nm_data_free): get rid of the netlink monitor here
12032                 - (nm_device_link_activated, nm_device_link_deactivated): removed
12033                 - (main): don't create the netlink monitor here, let nm_data_new
12034                         do that.  Call nm_policy_schedule_device_change_check() right
12035                         before we jump to the mainloop to figure out which device
12036                         to use first
12037
12038         * src/NetworkManagerSystem.[ch]
12039                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12040                         convert back and forth from interface names to interface
12041                         indexes
12042
12043         * src/nm-device-802-11-wireless.c
12044                 - (real_init): connect to wireless-event signals from the netlink
12045                         monitor object
12046                 - (nm_device_802_11_wireless_event): new function, schedule handler
12047                         for wireless event signals from the netlink monitor object.  We
12048                         want the handler to run in the device's context
12049                 - (wireless_event_helper): handle wireless-event signals from netlink
12050                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12051                         signal handler
12052
12053         * src/nm-device-802-11-wireless.h
12054                 - remove unused prototype for nm_device_802_11_wireless_new
12055
12056         * src/nm-device-802-3-ethernet.c
12057                 - (real_init): new function; set up signal handlers for link events
12058                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12059                         handler for netlink link activated events on device's main loop
12060                 - (link_activated_helper): when we get a link activated event, set
12061                         the device's link to be active
12062                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12063                         handler for netlink link deactivated events on device's main loop
12064                 - (link_deactivated_helper): when we get a link deactivated event, set
12065                         the device's link to be inactive
12066                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12067                         dispose
12068
12069         * src/nm-device-802-3-ethernet.h
12070                 - remove unused prototype for nm_device_802_3_ethernet_new
12071
12072         * src/nm-device.[ch]
12073                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12074                         but locks the device list
12075                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12076
12077         * src/nm-netlink-monitor.[ch]
12078                 - (nm_netlink_monitor_class_install_signals): New signal
12079                         "wireless-event"
12080                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12081                         at the device list
12082                 - (nm_netlink_monitor_event_handler): expand for wireless events too
12083
12084         * src/nm-marshal-main.c
12085                 - Include generated nm-marshal.c and nm-marshal.h
12086
12087         * src/nm-marshal.list
12088                 - List of custom marshal functions
12089
12090 2006-03-05  Dan Williams  <dcbw@redhat.com>
12091
12092         * gnome/applet/applet-notifications.h
12093                 - Protect prototype of nma_send_event_notification() because it
12094                         includes libnotify-specific types
12095                 - Include libnotify/libnotify.h too, since we technically need it
12096
12097         * gnome/applet/applet.c
12098                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12099                 - (nma_show_vpn_login_banner_dialog): add some error checking
12100
12101 2006-03-04  Dan Williams  <dcbw@redhat.com>
12102
12103         Clean up activation cancellation.  Should be a lot faster now.  Observed
12104         an issue with wireless devices between stage 2 and 3 of activation, where
12105         activation would be cancelled, but the device thread wouldn't notice until
12106         the supplicant association timed out.  Reorganize activation such that
12107         a cancellation handler gets immediately scheduled in the device's thread,
12108         and devices have a chance to perform any custom cleanup too.
12109
12110         * src/nm-device.[ch]
12111                 - (activation_cancel_handler): new device-type-specific function
12112                         for cleaning up device-type-specific stuff on cancellation
12113                 - (cancel_activation): removed
12114                 - (nm_device_activation_cancel): subsume functionality of
12115                         real_cancel_activation, but instead of doing anything, punt
12116                         operation to a handler that's run in device-thread context
12117                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12118                         a warning message
12119                 - (activation_handle_cancel_helper): cancellation handler run in
12120                         device-thread context, calls device-type-specific cancelation,
12121                         then tears down the activation request
12122                 - (real_activation_cancel_handler): generic cancellation handler,
12123                         deals with cancelling any in-process DHCP request
12124                 - (nm_device_activate_stage1_device_prepare,
12125                    nm_device_activate_stage2_device_config,
12126                    nm_device_activate_stage3_ip_config_start,
12127                    nm_device_activate_stage4_ip_config_get,
12128                    nm_device_activate_stage4_ip_config_timeout,
12129                    nm_device_activate_stage5_ip_commit): don't call
12130                         nm_device_schedule_activation_handle_cancel() any more, since
12131                         cancellation will have been already scheduled for us by
12132                         nm_device_activation_cancel().  Just exit the function and
12133                         assume that the cancel handler will be called next.
12134
12135         * src/nm-device-802-3-ethernet.c
12136                 - (real_act_stage2_config): remove; didn't do anything anyway
12137
12138         * src/nm-device-802-11-wireless.c
12139                 - (supplicant_status_cb): ensure we don't do anything if the activation
12140                         got cancelled
12141                 - (real_activation_cancel_handler): implement; cancel user key request
12142                         on activation cancellation
12143
12144 2006-03-04  Dan Williams  <dcbw@redhat.com>
12145
12146         * src/nm-device-802-11-wireless.c
12147                 - (supplicant_send_network_config): assume that drivers that don't
12148                         support WPA pretty much suck, and can't handle NM scanning
12149                         along with wpa_supplicant.
12150
12151 2006-03-03  Robert Love  <rml@novell.com>
12152
12153         * configure.in: Bump version to 0.6.0.
12154         * NEWS: Update.
12155
12156 2006-03-03  Robert Love  <rml@novell.com>
12157
12158         * configure.in: Require DBUS 0.60 or later.
12159
12160 2006-03-03  Dan Williams  <dcbw@redhat.com>
12161
12162         Fix a crash if an "Other wireless network" was chosen, failed, then
12163         chosen again from the applet's menu.  If the other network wasn't
12164         noticed in a scan, it wouldn't have any capabilities, but would still
12165         be listed because the user forced the network.  To fix this, we set
12166         sensible capabilities on the forced network, which will get overwritten
12167         with the correct ones if the network shows up later in a scan.
12168         
12169         * src/nm-ap-security.h
12170                 - Add a new "get_default_capabilities_func" member to the
12171                         NMAPSecurity class
12172
12173         * src/nm-ap-security.c
12174                 - (nm_ap_security_get_default_capabilities): new function
12175
12176         * src/nm-ap-security.c
12177           src/nm-ap-security-wep.c
12178           src/nm-ap-security-wpa-psk.c
12179           src/nm-ap-security-wpa-eap.c
12180                 - Implement get_default_capabilities_func() for all, which
12181                         uses the information contained in a specific NMAPSecurity
12182                         object to determine default AP capabilites necessary
12183                         to support that object
12184
12185         As a secondary measure, we now prune artificial access points that fail
12186         to be activated right away.  The thing failed, and we have no scan data for
12187         it, so it's pretty much useless since security information is only saved
12188         in the applets when a connection is successful.
12189
12190         * src/NetworkManagerAPList.c
12191                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12192                         not artificial.  If we see it, it's no longer a figment of the
12193                         user's imagination :)
12194
12195         * src/NetworkManagerPolicy.c
12196                 - (nm_policy_activation_failed): send along the failed AP if we
12197                         have it
12198
12199         * src/nm-device-802-11-wireless.c
12200                 - (real_activation_failure_handler): remove artificial APs from
12201                         the device list, because activation failed
12202
12203 2006-03-02  Robert Love  <rml@novell.com>
12204
12205         Add support for retrieving both the per-device speed and the
12206         per-network maximum supported rate.  Then change the getProperties
12207         DBUS API for both networks and devices to report this informaiton.
12208         Finally, display the information via both nm-applet and nm-tool:
12209         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12210           and set it.
12211         * gnome/applet/applet.c: Display the device's speed in the 'Connection
12212           Information' dialog.
12213         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12214         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12215           network_device_get_speed() and network_device_set_speed() for
12216           retrieving and setting, respectively, a network device's current
12217           speed.
12218         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12219         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12220           in the function nm_device_802_11_wireless_get_bitrate() -- it does
12221           not matter (yet) what the units are, because we only feed it its own
12222           output.  Implement SIOCGIRATE and set the per-network maximum
12223           supported rate during scanning.
12224         * src/nm-device-802-11-wireless.h: Export the function
12225           nm_device_802_11_wireless_get_bitrate().
12226         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12227           function nm_device_802_3_ethernet_get_speed() for returning an
12228           802.3's current speed, in Mb/s.
12229         * test/nm-tool.c: Display the per-device current speed, if available,
12230           and the per-network maximum rate.
12231
12232 2006-03-02  Dan Williams  <dcbw@redhat.com>
12233
12234         * src/nm-device-802-11-wireless.c
12235                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12236                         card when it gets initialized.  Since devices don't get added to
12237                         the scan list until they are initialized, this function wasn't
12238                         setting the intitial scan interval correctly, and was leaving
12239                         it at 0.  This caused cards to get many scan requests in a short
12240                         amount of time when they were initialized
12241
12242 2006-03-02  Robert Love  <rml@novell.com>
12243
12244         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12245           active device.  But do not do what we used to do and override the
12246           state, which caused the dreaded icon race of '05.
12247
12248 2006-03-02  Robert Love  <rml@novell.com>
12249
12250         Commit Dan's update of my previous commit:
12251         * src/nm-device-802-11-wireless.c: Always set the mode, because the
12252           set_mode() function itself does the check.  But do only set the
12253           frequency if in Ad-Hoc mode.
12254
12255 2006-03-02  Robert Love  <rml@novell.com>
12256
12257         Patch by Brian Magnuson <magnuson@rcn.com>:
12258         * src/nm-device-802-11-wireless.c: During scanning, only set the
12259           wireless mode to infrastructure if it is not currently in
12260           infrastructure mode.  For some driver, setting the mode is a costly
12261           operation, apparently.
12262
12263 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
12264
12265         * Makefile.am: use the correct dir for autostart mechanism.
12266
12267 2006-02-28  Dan Williams  <dcbw@redhat.com>
12268
12269         Patch from Brian Magnuson <magnuson@rcn.com>
12270         * gnome/applet/applet.c
12271                 - (nma_show_vpn_failure_dialog): fix errors left over from
12272                         libnotify support changes
12273
12274 2006-02-28  Dan Williams  <dcbw@redhat.com>
12275
12276         * src/vpn-manager/nm-vpn-act-request.[ch]
12277                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12278                         just one value
12279                 - (nm_vpn_act_request_is_failed): new function; return whether or
12280                         not the vpn activation request has failed
12281
12282         * src/vpn-manager/nm-vpn-manager.c 
12283                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12284                         daemon to kill the connection when the activation request fails.
12285                         Fixes issue where NM would get confused if the VPN activation
12286                         request timed out, and would not allow further VPN connections
12287                         on that service.
12288
12289 2006-02-28  Dan Williams  <dcbw@redhat.com>
12290
12291         * gnome/applet/applet.c
12292                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12293                         overlapping connection requests, disable all VPN menu items
12294                         but the active VPN connection
12295
12296 2006-02-28  Dan Williams  <dcbw@redhat.com>
12297
12298         * src/vpn-manager/nm-vpn-connection.c
12299                 - (nm_vpn_connection_set_parent_device): fix C&P error which
12300                         called g_object_unref() on the connection's parent device
12301                         when it should have been ref-ed instead.  Fixes crash with
12302                         repeated vpn connect requests
12303
12304 2006-02-28  Christopher Aillon  <caillon@redhat.com>
12305
12306         * gnome/applet/applet.glade:
12307         Mark a few strings non-translatable, since they shouldn't be.
12308
12309 2006-02-28  Dan Williams  <dcbw@redhat.com>
12310
12311         * src/vpn-manager/nm-vpn-service.c
12312                 - (nm_vpn_service_start_connection): if the vpn service daemon is
12313                         already running, don't blindly ask it to connect, but wait until
12314                         it's in the STOPPED state first.  Fixes an assertion when user
12315                         starts a second vpn connection without stopping the first.
12316                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12317                         dbus service exists before continuing with the connection
12318                         process, and reduce latency while waiting for it to become
12319                         available
12320                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12321                         waiting for the vpn service daemon to become available
12322                 - General log message cleanups; show progress via "Stage x of 4"
12323                         rather than not telling anyone how many stages there are
12324
12325 2006-02-28  Robert Love  <rml@novell.com>
12326
12327         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12328         * src/backends/NetworkManagerSuSE.c: Implement the interface
12329           nm_system_should_modify_resolv_conf() for SUSE.
12330         * src/backends/NetworkManagerDebian.c,
12331           src/backends/NetworkManagerGentoo.c,
12332           src/backends/NetworkManagerRedHat.c,
12333           src/backends/NetworkManagerSlackware.c: Add stub.
12334         * src/named-manager/Makefile.am: Grab includes from src.
12335         * src/named-manager/nm-named-manager.c: Allow backends to disable the
12336           automatic updating of resolv.conf.  This is useful for testing,
12337           broken static configurations, and administrator lock-down.
12338
12339 2006-02-28  Dan Williams  <dcbw@redhat.com>
12340
12341         * src/nm-device-802-11-wireless.c
12342                 - Move all the wpa_supplicant-related management stuff into its
12343                         own struct, just for oranization's sake
12344                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12345                         to a GIOChannel/GSource
12346                 - (supplicant_log_stdout): new function; grab output from the
12347                         wpa_supplicant stdout pipe and write it to our logs.
12348
12349 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12350
12351         * src/nm-device-802-11-wireless.c:
12352         Err, fix thinko in my previous commit.
12353
12354 2006-02-28  Robert Love  <rml@novell.com>
12355
12356         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12357
12358 2006-02-28  Robert Love  <rml@novell.com>
12359
12360         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12361           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12362           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12363           deserializers are responsible for freeing the returned DBUS strings.
12364
12365 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12366
12367         * src/nm-device-802-11-wireless.c:
12368         The scan list is being pruned prematurely.  We should prune after
12369         the device has gone MIA for three scans, not one.  Split out the
12370         interval to realtime seconds function to better serve this.
12371
12372 2006-02-27  Robert Love  <rml@novell.com>
12373
12374         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12375           Open the pid file O_TRUNC, so if it already exists we truncate it to
12376           zero length.  Also, be more verbose about warnings generated during
12377           writing out the pid file.  Finally, always write out the pid file if
12378           in daemon mode.  Use "--pid-file" to override the default.
12379
12380 2006-02-27  Robert Love  <rml@novell.com>
12381
12382         Patch by R. Vinay <rvinay@novell.com>:
12383         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12384           'last_attempt_success' when removing a VPN connection, too.  (Fixes
12385           Novell bug #153628).
12386           
12387 2006-02-27  Robert Love  <rml@novell.com>
12388
12389         * gnome/applet/applet.glade: Set "activates_default" on passphrase
12390           entry so user can hit <ENTER> after entering passphrase (Novell bug
12391           #153738).
12392
12393 2006-02-27  Dan Williams  <dcbw@redhat.com>
12394
12395         * gnome/applet/*
12396                 - Mass search/replace of:
12397                         nmwa -> nma
12398                         NMWirelessApplet -> NMApplet
12399                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
12400                    (it ain't just for wireless anymore, ma!)
12401                 - Fix duplicate function name printing when using nm_warning
12402                 - wireless-applet.glade -> applet.glade
12403
12404 2006-02-27  Dan Williams  <dcbw@redhat.com>
12405
12406         * dispatcher-daemon/NetworkManagerDispatcher.c
12407                 - Accept --pid-file with a path to a pidfile, write it out on
12408                         startup, and delete it on shutdown
12409
12410         * src/NetworkManager.c
12411                 - Accept --pid-file with a path to a pidfile, write it out on
12412                         startup, and delete it on shutdown
12413                 - Move nm_print_usage() lower
12414
12415         * initscripts/RedHat/NetworkManager.in
12416                 - Use new --pid-file option
12417                 - Fix service stopping to wait a bit for NM to quit
12418
12419         * initscripts/RedHat/NetworkManagerDispatcher.in
12420                 - Use new --pid-file option
12421
12422 2006-02-26  Dan Williams  <dcbw@redhat.com>
12423
12424         * src/Makefile.am
12425                 - make and install nm-crash-logger
12426
12427         * src/nm-logging.[ch]
12428                 - New files; consolidate logging and crash handling
12429
12430         * src/nm-crash-logger.c
12431           src/gdb-cmd
12432                 - Standalong crashlogger for NM, grab a backtrace
12433                         using GDB
12434
12435         * src/NetworkManager.[ch]
12436                 - Remove signal handling and put it into nm-logging.c
12437
12438 2006-02-26  Dan Williams  <dcbw@redhat.com>
12439
12440         * configure.in
12441           gnome/applet/Makefile.am
12442                 - Conditionalize all the notify stuff
12443
12444         Merge most of Chris Aillon's notification patch:
12445         
12446         * gnome/applet/applet-notifications.[ch]
12447                 - New files; show a notification
12448         
12449         * gnome/applet/applet-dbus-devices.[ch]
12450                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12451                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12452                         new functions, do the right thing when a device change occurs
12453
12454         * gnome/applet/applet-dbus.c
12455                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12456                         signals, so we can handle them specially
12457
12458         * gnome/applet/applet.[ch]
12459                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12460                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12461                 - (nmwa_notify_state): remove
12462                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12463                         notification work is now done when the appropriate dbus signals
12464                         are received.
12465                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12466                         defer execution of the notification/dialog stuff.  That was an
12467                         artifact of the previous multi-threaded nature of the applet
12468                         and is now pointless.
12469                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12470                         no longer needed.  Function folded into applet-notifications.c
12471
12472         * src/NetworkManagerPolicy.c
12473                 - (nm_policy_activation_finish): send the AP along with the device
12474                         status change signal, if the connection is wireless.  Should
12475                         fix the race where applet would show a connection to "unknown"
12476
12477 2006-02-25  Robert Love  <rml@novell.com>
12478
12479         Add WPA Enterprise support:
12480         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12481           nm-gconf-wso-wpa-eap.h.
12482         * gnome/applet/nm-gconf-wso-wpa-eap.c,
12483           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
12484           serialization and deserialization.
12485         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12486           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12487           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12488         * gnome/applet/wireless-applet.glade: Add UI for configurating security
12489           settings related to WPA Enterprise.
12490         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12491           instantiate WPA Enterprise wireless-security-option.
12492         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12493           Implement WPA Enterprise wireless-security-option object.
12494         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12495           defines.  Cleanup.
12496         * libnm-util/cipher-wpa-psk-hex.c,
12497           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12498         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12499           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12500           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12501           including the cipher to DBUS method, and
12502           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12503           to output.
12504         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12505           nm-ap-security-wpa-eap.h
12506         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12507           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12508         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12509           files.  Implement NMAPSecurityWPA_EAP object.
12510         * src/nm-ap-security-wpa-psk.c: Cleanup.
12511         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12512           an NMAPSecurityWPA_EAP object via the method
12513           nm_ap_security_wpa_eap_new_deserialize().
12514         * src/nm-dbus-nm.c: Cleanup.
12515         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12516           WPA Enterprise support.
12517
12518 2006-02-24  Robert Love  <rml@novell.com>
12519
12520         Patch from Timo Hoenig <thoenig@suse.de>:
12521         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12522
12523 2006-02-24  Robert Love  <rml@novell.com>
12524
12525         Patch from Dan Winship <danw@novell.com>:
12526         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
12527           area to transparent.
12528
12529 2006-02-21  Dan Williams  <dcbw@redhat.com>
12530
12531         * gnome/applet/applet.[ch]
12532           gnome/applet/applet-dbus.c
12533                 - Implement notification support for VPN messages too
12534
12535 2006-02-21  Dan Williams  <dcbw@redhat.com>
12536
12537         * gnome/applet/applet-dbus-info.c
12538                 - Clean up warning messages to not double-print the function
12539
12540 2006-02-21  Dan Williams  <dcbw@redhat.com>
12541
12542         * gnome/applet/applet-compat.c
12543                 - (convert_one_entry): accept entries without a key_type and
12544                         convert them to unencrypted networks
12545
12546 2006-02-21  Dan Williams  <dcbw@redhat.com>
12547
12548         * gnome/libnm_glib/libnm_glib.c
12549                 - Use __func__ everywhere we can
12550                 - Code cleanups
12551                 - Use dbus pending calls rather than blocking
12552                 - Reduce busywaits for our thread to start and stop
12553                         (gnome.org #330562)
12554                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12555                         stomp on others using the default shared dbus connection.
12556                         Fixes #rh177546# and gnome.org #326572
12557
12558 2006-02-21  Dan Williams  <dcbw@redhat.com>
12559
12560         Patch from Rodney Dawes <dobey@novell.com>
12561         * configure.in
12562           gnome/applet/Makefile.am
12563           gnome/applet/applet.c
12564                 - Add libnotify support if '--enable-notify=yes' is passed
12565                   at configure time
12566
12567 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
12568
12569         * configure.in (ALL_LINGUAS): ko added. (Korean)
12570
12571 2006-02-15  Robert Love  <rml@novell.com>
12572
12573         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12574           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12575           and WPA_SUPPLICANT_CONTROL_SOCKET.
12576         
12577 2006-02-15  Robert Love  <rml@novell.com>
12578
12579         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12580           information about what connection stage we are at, provide the total
12581           number of stages, e.g. "Stage 2 of 5", so users know how far along
12582           they are if they experience problems.
12583
12584 2006-02-15  Robert Love  <rml@novell.com>
12585
12586         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12587           define to $sysconfdir.
12588         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12589           editing dialog, vpn_edit_widget, which fixes a bug where editing one
12590           type of VPN and then editing another results in a mangled dialog
12591           box containing the widgets from both VPNs (fixes Novell #150854).
12592           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
12593
12594 2006-02-14  Robert Love  <rml@novell.com>
12595
12596         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
12597           syslog's file descriptor.
12598
12599 2006-02-14  Robert Love  <rml@novell.com>
12600
12601         Fix bug around since the change to "deal with APs changing settings on
12602         us," checked in on the fifth of February in the year of the dog, 
12603         wherein connecting to non-broadcast encrypted networks always fails
12604         because nm_ap_get_encrypted() always returns FALSE, even when the user
12605         provided a key, because the newly-created fake AP does not have any
12606         capabilities set, which is a sypmtom of security settings not matching
12607         capabilities (Novell bug #150784):
12608         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
12609           nm_ap_add_capabilities_from_security(), which sets the given AP's
12610           capabilities off the given security settings.  Also improve our
12611           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
12612           NM_AUTH_CIPHER_AUTO.
12613         * src/nm-device-802-11-wireless.c: Call the function
12614           nm_ap_add_capabilities_from_security() to ensure that capabilities
12615           match newly updated security settings.
12616
12617 2006-02-14  Robert Love  <rml@novell.com>
12618
12619         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
12620           error as a string, not an integer, if possible; do not print the
12621           function name twice; always give the interface, if possible; misc.
12622           cleanup.
12623
12624 2006-02-12  Dan Williams  <dcbw@redhat.com>
12625
12626         Patch from Tom Parker <palfrey@tevp.net>
12627         * src/NetworkManagerSystem.h
12628                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
12629                         no longer used
12630
12631         * src/backends/NetworkManagerDebian.c
12632                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
12633                         unused variables
12634
12635 2006-02-12  Dan Williams  <dcbw@redhat.com>
12636
12637         * vpn-daemons/openvpn/intltool-extract.in
12638           vpn-daemons/openvpn/intltool-merge.in
12639           vpn-daemons/openvpn/intltool-update.in
12640           vpn-daemons/pptp/intltool-extract.in
12641           vpn-daemons/pptp/intltool-merge.in
12642           vpn-daemons/pptp/intltool-update.in
12643                 - Remove from CVS, they should get created by intltoolize,
12644                         shouldn't they?
12645
12646 2006-02-12  Dan Williams  <dcbw@redhat.com>
12647
12648         * vpn-daemons/pptp/src/pppd/patchlevel.h
12649         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
12650                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
12651                         Makefile-defined VERSION
12652
12653 2006-02-09  Dan Williams  <dcbw@redhat.com>
12654
12655         Patch from: Vinay A R <rvinay@novell.com>
12656         * src/vpn-manager/nm-vpn-act-request.[ch]
12657                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
12658                         IPSec VPNs require them for std gateway.
12659                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
12660                         and 'user_routes_count'
12661                 - (nm_vpn_act_request_get_user_routes): new function; gets user
12662                         defined routes  from NMVPNActRequest object, returns the string
12663                         array of routes.
12664
12665         * src/vpn-manager/nm-vpn-manager.[ch]
12666                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
12667                         for 'user_routes' and 'user_routes_count'
12668         
12669         * src/vpn-manager/nm-dbus-vpn.c
12670                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
12671                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
12672         
12673         * src/vpn-manager/nm-vpn-service.c
12674                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
12675                         the vpn daemon
12676
12677         Modifications by Dan:
12678         * src/vpn-manager/nm-vpn-service.c
12679                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
12680                         arrays into dbus
12681
12682         * vpn-daemons/vpnc/src/nm-vpnc-service.c
12683         * vpn-daemons/pptp/src/nm-pptp-service.c
12684         * vpn-daemons/openvpn/src/nm-openvpn-service.c
12685                 - Grab user routes from dbus message
12686                 - Free all string arrays we got from dbus
12687
12688 2006-02-07  Robert Love  <rml@novell.com>
12689
12690         Patch by Stefan Seyfried <seife@suse.de>:
12691         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
12692
12693 2006-02-06  Robert Love  <rml@novell.com>
12694
12695         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
12696
12697 2006-02-06  Robert Love  <rml@novell.com>
12698
12699         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
12700           test ">=" is never false.  If no newline is found, we loop forever.
12701           We can just check for ">" because the following if() will see the
12702           zero-th argument if the while() gets that far.
12703
12704 2006-02-05  Dan Williams  <dcbw@redhat.com>
12705
12706         Refine handling of non-broadcast networks.
12707
12708         * src/NetworkManagerAPList.c
12709                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
12710                         property from scanned AP to the AP from the device list
12711
12712         * src/nm-device-802-11-wireless.c
12713                 - (supplicant_send_network_config): use ap_scan=1 for all networks
12714                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
12715                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
12716                         networks since those don't have APs.
12717                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
12718                         AP as non-SSID-broadcasting
12719                 - (process_scan_results): don't handle non-SSID-broadcasting here
12720
12721 2006-02-05  Dan Williams  <dcbw@redhat.com>
12722
12723         * src/nm-device-802-11-wireless.c
12724                 - (get_supplicant_timeout): new function; return
12725                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
12726                         14 channels.  These are likely a/b/g cards, like Atheros, and
12727                         slow as hell to scan.
12728                 - (supplicant_timeout_cb, supplicant_monitor_start): use
12729                         get_supplicant_timeout()
12730
12731 2006-02-05  Dan Williams  <dcbw@redhat.com>
12732
12733         * src/dhcp-manager/nm-dhcp-manager.c
12734                 - Loose a commit race with Robert; make sure size check
12735                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
12736
12737 2006-02-05  Robert Love  <rml@novell.com>
12738
12739         Patch by Christoph Brill <chrisbrill@gmx.net>:
12740         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
12741           with DHCP_SERVICE_NAME.
12742
12743 2006-02-05  Dan Williams  <dcbw@redhat.com>
12744
12745         Remove anything having to do with device_setup_func from the
12746         AP security objects, since it's no longer used.
12747
12748         * src/nm-ap-security.h
12749                 - Kill device_setup_func and nm_ap_security_device_setup()
12750
12751         * src/nm-ap-security-wep.c
12752           src/nm-ap-security-wpa-psk.c
12753                 - (real_device_setup): remove
12754
12755         * src/nm-ap-security.c
12756                 - (real_device_setup): remove
12757                 - (nm_ap_security_device_setup): remove
12758
12759         * src/nm-device-802-11-wireless.[ch]
12760                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
12761                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
12762                         and done by wpa_supplicant now anyway
12763
12764 2006-02-05  Dan Williams  <dcbw@redhat.com>
12765
12766         * src/nm-device-802-11-wireless.c
12767                 - (ap_need_key, real_act_stage2_config): deal with APs changing
12768                         settings on us.  Previously NM would loop asking for the
12769                         key but getting the same one back.  Now, if the NMI-supplied
12770                         cipher doesn't overlap with the scanned AP capabilities,
12771                         we request a completely new key from the user.
12772
12773 2006-02-05  Dan Williams  <dcbw@redhat.com>
12774
12775         * src/NetworkManagerUtils.c
12776                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
12777                         Handle newline killing better
12778
12779 2006-02-05  Dan Williams  <dcbw@redhat.com>
12780
12781         * gnome/applet/nm-gconf-wso.c
12782                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
12783                         of unencrypted access point security info.
12784
12785 2006-02-03  Robert Love  <rml@novell.com>
12786
12787         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
12788           user's encryption key, so we print the err_msg_cmd not the command,
12789           if available.  So long as SUPPLICANT_DEBUG is default, this makes
12790           sense.
12791
12792 2006-02-03  Christopher Aillon  <caillon@redhat.com>
12793
12794         * initscript/RedHat/NetworkManagerDispatcher.in:
12795         * initscript/RedHat/NetworkManager.in: modify the pidfile location
12796         Patch from Dan Walsh <dwalsh@redhat.com>
12797
12798 2006-02-03  Robert Love  <rml@novell.com>
12799
12800         * dispatcher-daemon/NetworkManagerDispatcher.c,
12801           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
12802           but use the sysconfdir.
12803
12804 2006-02-03  Robert Love  <rml@novell.com>
12805
12806         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
12807           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
12808           'char *'.
12809         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
12810           nm_ip4_config_get_hostname() and
12811           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
12812         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
12813           leak g_strdup() result.
12814
12815 2006-02-03  Robert Love  <rml@novell.com>
12816
12817         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
12818           broadcast == TRUE.  Also, copy broadcast and artificial properties
12819           from source network to destination in nm_ap_copy().
12820         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
12821           since we now default new networks to non-hidden.
12822
12823 2006-02-03  Dan Williams  <dcbw@redhat.com>
12824
12825         * gnome/applet/main.c
12826                 - (main): change the NEVER->ALWAYS so we start at the
12827                         beginning of the session, if being session-managed
12828
12829 2006-02-03  Dan Williams  <dcbw@redhat.com>
12830
12831         * gnome/applet/main.c
12832                 - (main): in a variation on Robert's patch, change
12833                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
12834                         he wants.
12835
12836 2006-02-02  Robert Love  <rml@novell.com>
12837
12838         * src/Makefile.am: If we aren't going to create the run directory at,
12839           uh, run-time, create it during install.  Then users just doing
12840           'make install' are cool, too.  While we are here, create the
12841           dispatcher.d directory, too.
12842         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
12843           the exact run directory.
12844         * Makefile.am: Install nm-applet.desktop.
12845
12846 2006-02-02  Robert Love  <rml@novell.com>
12847
12848         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
12849           structure, which denotes whether or not the AP is hidden.  This is a
12850           superset of 'artificial' -- we need 'broadcast' because a hidden AP
12851           can show up in the scan list.  Add nm_ap_get_broadcast() and
12852           nm_ap_set_broadcast() accessor interfaces.
12853         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
12854           nm_ap_set_broadcast().
12855         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
12856           "getProperties" method, which denotes whether or not the given
12857           network is hidden.
12858         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
12859           an artificial network.  Set broadcast to TRUE when scanning returns
12860           an ESSID and FALSE when not.
12861         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
12862           from "getProperties" method on a network.  Possible TODO is to
12863           somehow display this.
12864         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
12865
12866 2006-02-02  Dan Williams  <dcbw@redhat.com>
12867
12868         * src/nm-device-802-11-wireless.c
12869                 - (supplicant_interface_init): don't try to create
12870                         /var/run/NetworkManager, since that should be done by
12871                         the distro package.  Causes problems for stuff like SELinux
12872
12873 2006-02-02  Robert Love  <rml@novell.com>
12874
12875         Patch by Sureshkumar T <tsureshkumar@novell.com>:
12876         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
12877           Check for and handle empty string for iface.
12878
12879 2006-02-01  Robert Love  <rml@novell.com>
12880
12881         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
12882           manpage.
12883
12884 2006-01-31  Dan Williams  <dcbw@redhat.com>
12885
12886         * nm-applet.desktop
12887                 - Add --sm-disable to Exec arguments, presuming that when
12888                         using autostart, we don't want session management
12889
12890 2006-01-31  Robert Love  <rml@novell.com>
12891
12892         * src/NetworkManagerAP.c: Add two new manufacturer default network
12893           names: linksys-a and linksys-g.  These are found (at least) on the
12894           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
12895           own ESSID.
12896
12897 2006-01-31  Robert Love  <rml@novell.com>
12898
12899         * src/NetworkManagerAP.c: Optimize the function
12900           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
12901           machine code.  This is the first in a series of code tweaks aiming to
12902           generate better machine code and make NetworkManager all the better.
12903           Just kidding.  Who has time to go through the assembly generated for
12904           every function?  I certainly don't.  I have a wife, a kid, a job,
12905           a mortgage, a mistress.  But this function was so bad, I was called
12906           to arms.  Like the book.
12907
12908 2006-01-31  Robert Love  <rml@novell.com>
12909
12910         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
12911           AP is not broadcasting, to scan with probe request frames.  Required
12912           for non-broadcast networks.
12913
12914 2006-01-31  Robert Love  <rml@novell.com>
12915
12916         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
12917           preprocessor define (still 20s).  Fix message text in nm_info()
12918           s/too too/took too/.
12919
12920 2006-01-30  Dan Williams  <dcbw@redhat.com>
12921
12922         * src/nm-device-802-11-wireless.c
12923                 - (supplicant_monitor_start): increase connect/auth timeout to
12924                         20 seconds from 10 seconds
12925
12926 2006-01-30  Dan Williams  <dcbw@redhat.com>
12927
12928         * src/Makefile.am
12929                 - Define LOCALSTATEDIR
12930
12931         * src/nm-device-802-11-wireless.c
12932                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
12933                         socket where we want it to
12934
12935         * src/wpa_ctrl.[ch]
12936                 - (wpa_ctrl_open): accept location to put local control socket
12937
12938 2006-01-30  Robert Love  <rml@novell.com>
12939
12940         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
12941           get_ip4_string() for "domain_name".
12942
12943 2006-01-30  Robert Love  <rml@novell.com>
12944
12945         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12946           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
12947           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
12948           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
12949           support for "Automatic" pairwise and group cipher configuration by
12950           letting wpa_supplicant handle the details.  Add UI elements, new
12951           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
12952           charm.  Note this does more than add a nice feature, it fixes a bug.
12953           Apparently, some people have AP's where the pairwise cipher does not
12954           match the group cipher.  Insane, but true.
12955
12956 2006-01-30  Dan Williams  <dcbw@redhat.com>
12957
12958         * gnome/applet/applet-dbus-devices.c
12959                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
12960                         functions, grab device driver name from NetworkManager
12961                 - (nmwa_dbus_device_properties_cb): call functions to get driver
12962
12963         * gnome/applet/applet.c
12964                 - (nmwa_update_info): show driver name in Connection Information
12965                         dialog
12966
12967         * gnome/applet/nm-device.[ch]
12968                 - (network_device_get_driver, network_device_set_driver): add
12969                         accessors for driver name
12970
12971         * gnome/applet/wireless-applet.glade
12972                 - Add line for driver name to Connection Information dialog
12973
12974         * src/nm-dbus-device.c
12975                 - (nm_dbus_device_get_driver): new function to return driver name
12976                 - (nm_dbus_device_methods): hook up driver name function to dbus
12977
12978         * test/nm-tool.c
12979                 - (get_driver_name): new function
12980                 - (detail_device): grab and show driver name
12981
12982 2006-01-30  Robert Love  <rml@novell.com>
12983
12984         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
12985           does not parse the markup if it is not part of the format.
12986
12987 2006-01-30  Robert Love  <rml@novell.com>
12988
12989         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
12990           FALSE, we have no security options for this dialog, so we throw up
12991           an error dialog instead of a broken passphrase dialog.  Fixes
12992           Novell #138404.
12993         * gnome/applet/wireless-security-manager.c,
12994           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
12995           does not add any security options, not even NONE, print a warning
12996           and return FALSE.  This let's functions constructing a dialog bail
12997           out if the device's capabilities and the network's requirements have
12998           zero overlap.
12999
13000 2006-01-27  Robert Love  <rml@novell.com>
13001
13002         * configure.in: Require wpa_supplicant.  Detect location of binary and
13003           use it.  Override with "--with-wpa_supplicant=foo".
13004         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13005           path to wpa_supplicant but use the auto-detected or user-provided
13006           value from configure.
13007
13008 2006-01-27  Robert Love  <rml@novell.com>
13009
13010         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13011           but the DHCP server did not return a hostname, try to look up our
13012           name via DNS and set the system hostname to that.
13013
13014 2006-01-27  Dan Williams  <dcbw@redhat.com>
13015
13016         * src/backends/NetworkManagerRedHat.c
13017                 - Add NM_CONTROLLED system network script support for RH/Fedora
13018
13019 2006-01-27  Dan Williams  <dcbw@redhat.com>
13020
13021         * src/backends/NetworkManagerGentoo.c
13022                 - (nm_system_device_get_disabled): add missing function.
13023                         Gnome BZ #328780
13024
13025 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
13026
13027         * configure.in: Added vi in ALL_LINGUAS line.
13028         
13029 2006-01-26  Robert Love  <rml@novell.com>
13030
13031         * src/Makefile.am, src/kernel-types.h: Now that two different source
13032           files are feeling the crack-addled leakage of kernel types such as
13033           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13034           types in user-space -- define a header and include it as needed.
13035         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13036         * src/nm-device-802-3-ethernet.h: Remove defines.
13037         * src/wpa.c: Remove defines and include kernel-types.h.
13038
13039 2006-01-26  Robert Love  <rml@novell.com>
13040
13041         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
13042           work.
13043
13044 2006-01-26  Robert Love  <rml@novell.com>
13045
13046         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13047         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13048           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13049           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13050           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13051           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13052           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13053           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13054           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13055           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13056           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13057           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13058           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13059           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13060           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13061           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13062           Kill unused variables, labels, and static functions.  Don't pass
13063           string literals as the format string for printf-like functions.
13064
13065 2006-01-25  Dan Williams  <dcbw@redhat.com>
13066
13067         * gnome/applet/wireless-applet.glade
13068                 - Remove WPA2 Checkbox
13069
13070         * gnome/applet/wireless-security-manager.c
13071                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13072                         This means the Wireless Security menu now has two WPA options,
13073                         one for "WPA Personal" and one for "WPA2 Personal"
13074
13075         * gnome/applet/wso-wpa-psk.[ch]
13076                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13077                         'wpa2' argument to determine WPA version to use
13078                 - (append_dbus_params_func): pass stored WPA version to cipher
13079                         rather than using the (removed) checkbox
13080
13081 2006-01-24  Robert Love  <rml@novell.com>
13082
13083         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13084           before we g_strdup(), not the ultimate string.
13085
13086 2006-01-23  Dan Williams  <dcbw@redhat.com>
13087
13088         * src/NetworkManagerAP.[ch]
13089                 - (nm_ap_new_from_ap): copy original essid too
13090                 - (nm_ap_unref): free original essid
13091                 - (nm_ap_get_orig_essid): new function
13092                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13093                         but keep original essid around too
13094
13095         * src/nm-device-802-11-wireless.c
13096                 - (supplicant_send_network_config): send wpa_supplicant the
13097                         _original_ essid, and not as a string, but in hex.  Should
13098                         allow us to connect to more APs that use wierd character
13099                         encodings for their essids
13100
13101         * utils/nm-utils.[ch]
13102                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13103                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
13104                         use the current locale as a hint for what encoding the essid
13105                         might be in.  Obviously not 100% accurate, but the idea here is
13106                         that if a user's locale is ex. ja_JP, they are more likely than
13107                         not to be in Japan, where access points will likely be in some
13108                         Japanese encoding.
13109
13110 2006-01-23  Dan Williams  <dcbw@redhat.com>
13111
13112         * libnm-util/cipher-private.h
13113           libnm-util/cipher.c
13114           libnm-util/cipher.h
13115                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13116
13117 2006-01-23  Robert Love  <rml@novell.com>
13118
13119         Patch by Timo Hoenig <thoenig@suse.de>:
13120         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13121           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13122           by DHCP and pass it to the backends, allowing distribution-specific
13123           behavior with respect to the DHCP-supplied hostname (if nothing else,
13124           some distributions might not want to set the hostname).
13125         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13126           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13127           Also update our NIS behavior.
13128         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13129           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13130           Add stub functions.
13131
13132 2006-01-23  Robert Love  <rml@novell.com>
13133
13134         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13135           gnome-session does autostart.  TODO: We need to install this to
13136           $prefix/share/autostart/.
13137
13138 2006-01-22  Dan Williams  <dcbw@redhat.com>
13139
13140         * src/NetworkManagerAP.[ch]
13141           src/nm-dbus-nmi.c
13142           src/nm-device-802-11-wireless.c         
13143                 - Make nm_ap_get_essid return "const char *"
13144
13145 2006-01-22  Dan Williams  <dcbw@redhat.com>
13146
13147         * src/NetworkManagerAP.[ch]
13148                 - (nm_ap_get_matched, nm_ap_set_matched): remove
13149
13150         * src/NetworkManagerAPList.[ch]
13151                 - (nm_ap_list_diff): removed
13152                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13153                         deal with access points changing essids on us
13154
13155         * src/nm-device-802-11-wireless.c
13156                 - (add_new_ap_to_device_list): move AP dbus signal logic to
13157                         src/NetworkManagerAPList.c
13158                 - (real_can_interrupt_activation): new function; allow interruption
13159                         of device activation if we are waiting for a network key
13160
13161         * src/NetworkManagerPolicy.c
13162                 - (nm_policy_device_change_check): allow interruption of currently
13163                         activating devices if the device allows it.  Previous behavior
13164                         would refuse to activate a just-plugged wired device if a
13165                         wireless device was waiting for a key.
13166
13167         * src/nm-device.[ch]
13168                 - (nm_device_can_interrupt_activation): new function; ask devices
13169                         whether their activation can be interrupted
13170
13171 2006-01-20  Robert Love  <rml@novell.com>
13172
13173         * Makefile.am, configure.in: Add new man subdirectory.
13174         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13175           man/Makefile.am: Add man pages for NetworkManager and its
13176           crime-solving bumbling buddy, NetworkManagerDispatcher.
13177         * man/.cvsignore: Add.
13178         * initscript/Debian/NetworkManager,
13179           initscript/Gentoo/NetworkManager.in,
13180           initscript/RedHat/NetworkManager.in,
13181           initscript/RedHat/NetworkManagerDispatcher.in,
13182           initscript/SUSE/networkmanager-dispatcher.in,
13183           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13184
13185 2006-01-20  Robert Love  <rml@novell.com>
13186
13187         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13188           instead of queuing.  This prevents the running of multiple NM
13189           daemons concurrently, which does not work whatsoever and results in
13190           neither daemon working correctly.  Also, we don't handle queuing and
13191           name-owner-changes, anyhow.
13192
13193 2006-01-20  Robert Love  <rml@novell.com>
13194
13195         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13196         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13197           to sbin, not bin.
13198
13199 2006-01-19  Robert Love  <rml@novell.com>
13200
13201         * configure.in: Require hal 0.5.0 or later.
13202
13203 2006-01-18  Robert Love  <rml@novell.com>
13204
13205         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13206           Allow backends to flag a device (in whatever distro-dependent way
13207           they so desire) as disabled.  NM will ignore any such device.
13208         * src/backends/NetworkManagerDebian.c,
13209           src/backends/NetworkManagerRedHat.c,
13210           src/backends/NetworkManagerSlackware.c: Add stub function
13211           nm_system_device_get_disabled() that always returns FALSE (enabled).
13212         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13213           SUSE-specific configuration structure.  Fill it in from the
13214           NM_CONTROLLED variable in the system networking scripts.  If this var
13215           exists and is "no", we ignore the device.
13216
13217 2006-01-17  Robert Love  <rml@novell.com>
13218
13219         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
13220           identical for NM.  For a full discussion, see the thread at
13221           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13222
13223 2006-01-17  Dan Williams  <dcbw@redhat.com>
13224
13225         * src/nm-device.c
13226                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13227                         function.  Fixes crash when wired DHCP fails.
13228
13229 2006-01-16  Robert Love  <rml@novell.com>
13230
13231         * src/Makefile.am: Don't install NMLoadModules
13232         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13233           from src/ to test/ as no one uses it anymore.  Note that I would be
13234           fine with removing it altogether.
13235
13236 2006-01-16  Robert Love  <rml@novell.com>
13237
13238         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13239           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13240           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13241           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13242           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13243           src/nm-netlink-monitor.c: Don't miss any initializers on structure
13244           declarations, ever.
13245         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13246           NM_STATE_DISCONNECTED is zero).
13247
13248 2006-01-16  Robert Love  <rml@novell.com>
13249
13250         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
13251           uninitialized parameter and buffer overflow.  Novell #143496.
13252
13253 2006-01-16  Dan Williams  <dcbw@redhat.com>
13254
13255         Apply the PtP Address bits of a patch from Tim Niemueller
13256
13257         * src/nm-ip4-config.[ch]
13258                 - Add ip4_ptp_address member to object
13259                 - (nm_ip4_config_copy): copy ptp address too
13260                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13261                         new functions
13262                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13263                         rather than local tunnel ip address
13264
13265         * src/vpn-manager/nm-vpn-service.c
13266                 - (print_vpn_config): update for PtP address
13267                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13268                         DBusMessageIters in preparation for getting routes from the VPN
13269                         service daemons too
13270
13271         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13272                 - (send_config_info): update for PtP address, clean up code
13273                 - (main): update for PtP address, clean up code, fix typo
13274
13275         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13276                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13277
13278         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13279                 - (pptp_ip_up): update for PtP address
13280
13281         * vpn-daemons/pptp/src/nm-pptp-service.c
13282                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13283
13284         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13285                 - (print_vpn_config): update for PtP address
13286                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13287
13288 2006-01-16  Dan Williams  <dcbw@redhat.com>
13289
13290         * gnome/applet/applet.c
13291                 - (nmwa_add_networks_helper): don't indicate an active network
13292                         if NM is disconnected or asleep
13293
13294 2006-01-16  Dan Williams  <dcbw@redhat.com>
13295
13296         * src/NetworkManagerPolicy.c
13297                 - (nm_policy_device_change_check): switch devices if we lose the link
13298                         on an ethernet device. 
13299
13300 2006-01-16  Dan Williams  <dcbw@redhat.com>
13301
13302         * gnome/applet/wso-wpa-psk-hex.[ch]
13303                 - Renamed -> wso-wpa-psk.[ch]
13304
13305         * gnome/applet/wso-wpa-psk.[ch]
13306                 - New files
13307
13308         * gnome/applet/wso-wpa-psk-passphrase.[ch]
13309                 - Removed, rolled into wso-wpa-psk.[ch]
13310
13311         * gnome/applet/Makefile.am
13312                 - Updated for above changes
13313
13314         * gnome/applet/wireless-applet.glade
13315                 - Consolidate WPA-PSK options into one notebook
13316                         widget, and make dialogs invisible by default
13317                         to fix screen oddities
13318
13319         * gnome/applet/wireless-security-manager.c
13320                 - (wsm_set_capabilities): create the new wpa-psk widget rather
13321                         than both the old hex & passphrase ones
13322
13323 2006-01-16  Dan Williams  <dcbw@redhat.com>
13324
13325         * gnome/applet/other-network-dialog.c
13326                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13327
13328 2006-01-16  Dan Williams  <dcbw@redhat.com>
13329
13330         * gnome/applet/applet.c
13331                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13332                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13333                         prevention to realize window before trying to get server
13334                         time
13335
13336         * gnome/applet/other-network-dialog.c
13337                 - (nmwa_other_network_dialog_run): fix up focus-stealing
13338                         prevention to realize window before trying to get server
13339                         time
13340
13341         * gnome/applet/passphrase-dialog.c
13342                 - (nmi_passphrase_dialog_new): fix up focus-stealing
13343                         prevention to realize window before trying to get server
13344                         time
13345
13346 2006-01-16  Robert Love  <rml@novell.com>
13347
13348         Patch from Timo Hoenig  <thoenig@suse.de:
13349         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13350           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13351           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13352           libnm-util/dbus-helpers.h: add checks whether headers are used
13353           within a C++ build.
13354
13355 2006-01-16  Dan Williams  <dcbw@redhat.com>
13356
13357         * gnome/applet/wireless-security-option.c
13358                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13359
13360 2006-01-16  Dan Williams  <dcbw@redhat.com>
13361
13362         * libnm-util/cipher-wpa-psk-passphrase.c
13363                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13364                         be 8 - 63 characters inclusive
13365
13366 2006-01-16  Dan Williams  <dcbw@redhat.com>
13367
13368         * src/nm-dbus-nm.c
13369                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13370
13371 2006-01-13  Robert Love  <rml@novell.com>
13372
13373         Patch by T Sureshkumar <tsureshkuman@novell.com>:
13374         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13375           modules that do not use an interface.
13376
13377 2006-01-13  Dan Williams  <dcbw@redhat.com>
13378
13379         * src/nm-device.c
13380           src/nm-device.h
13381                 - Allow subclasses to implement deactivate_quickly()
13382                 - (nm_device_deactivate_quickly): call subclass
13383                         deactivate_quickly() methods
13384                 - (nm_device_set_active_link): small cleanups, and don't
13385                         deactivate the device right away because we risk a deadlock
13386                         when called from device thread, waiting for the device
13387                         thread to cancel activation
13388
13389         * src/nm-device-802-11-wireless.c
13390                 - (real_deactivate_quickly): new function
13391                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13392                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13393                         so that we kill the supplicant when we sleep too
13394                 - (supplicant_interface_init): work around naive naming attempts of
13395                         wpa_ctrl when naming sockets
13396
13397 2006-01-13  Dan Williams  <dcbw@redhat.com>
13398
13399         * src/nm-device-802-11-wireless.c
13400                 - (supplicant_cleanup): delete old device control sockets too
13401                 - (supplicant_get_device_socket_path): new function to consolidate
13402                         locations that need a path to a device's control socket
13403
13404 2006-01-12  Robert Love  <rml@novell.com>
13405
13406         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13407           description so that the description is unique for each
13408           pair (device,provider).  Fixes Novell #142773.
13409
13410 2006-01-12  Dan Williams  <dcbw@redhat.com>
13411
13412         * src/nm-device-802-11-wireless.c
13413                 - (supplicant_exec): ensure GError is correctly initialized
13414                         Reported by Diego González (gnome.org #326708)
13415
13416 2006-01-11  Robert Love  <rml@novell.com>
13417
13418         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13419           define if_mii(), open code the same results, and do so without any
13420           type punning.
13421
13422 2006-01-11  Robert Love  <rml@novell.com>
13423
13424         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13425           that wso_foo_new() returned non-NULL.  Instead, only append the new
13426           wso to wsm->options if the wso is non-NULL.  The crux is that we
13427           assume that the relevant key types are implied by WEP and WPA as
13428           appropriate.  To be sure, they should be, but we should not expect
13429           drivers to not be oozing piles of wolf fecal matter.
13430
13431 2006-01-11  Robert Love  <rml@novell.com>
13432
13433         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13434         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13435           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13436           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13437           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13438           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13439           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13440         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13441           comparing values within DBL_EPSILON.  Also fix shadowed variable
13442           usage.
13443
13444 2006-01-11  Dan Williams  <dcbw@redhat.com>
13445
13446         Add options for WPA2 and WPA1+CCMP (AES).
13447
13448         * gnome/applet/wireless-applet.glade
13449                 - Add UI bits for WPA+CCMP
13450
13451         * gnome/applet/other-network-dialog.c
13452                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13453                         and don't allow creation of WPA2 Ad-Hoc networks since
13454                         wpa_supplicant doesn't support them
13455
13456         * gnome/applet/wireless-security-manager.c
13457                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13458                         on to the specific wireless security option being created
13459
13460         * gnome/applet/wireless-security-option.[ch]
13461                 - (wso_wpa_create_key_type_model): new utility function to create
13462                         the model required for WPA Key Type combo box
13463
13464         * gnome/applet/wso-private.h
13465           gnome/applet/wireless-security-option.h
13466                 - Move private function prototypes into wso-private.h
13467
13468         * gnome/applet/wso-wpa-psk-hex.[ch]
13469           gnome/applet/wso-wpa-psk-passphrase.[ch]
13470                 - (append_dbus_params_func): get WPA version from checkbox and pass
13471                         it to the dbus serialization helper
13472                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13473                         key type combo changes
13474                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13475                         model and options
13476
13477         * libnm-util/cipher-wpa-psk-hex.c
13478           libnm-util/cipher-wpa-psk-passphrase.c
13479                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13480                         new function; allow the cipher to be changed after object creation
13481
13482         * src/nm-ap-security-wpa-psk.c
13483                 - (set_description): Do WPA2 descriptions too
13484
13485         * src/nm-ap-security.c
13486                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13487
13488 2006-01-11  Robert Love  <rml@novell.com>
13489
13490         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13491           is defined in <linux/mii.h> to return the mii_ioctl_data structure
13492           from the ifreq structure in lieu of an open coded solution.  Removes
13493           a life-threatening type-punning.
13494         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13495           types, ever, whatsoever, baby.
13496
13497 2006-01-11  Robert Love  <rml@novell.com>
13498
13499         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13500           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13501           assignments to applet->nm_state into a new nmwa_set_state() function
13502           for both cleanliness and to help debugging.
13503
13504 2006-01-10  Robert Love  <rml@novell.com>
13505
13506         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
13507           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13508           seconds, exclusive.  That is, we want to sleep x seconds such that
13509           1 < x < 2.
13510
13511 2006-01-10  Robert Love  <rml@novell.com>
13512
13513         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13514           the attr fields according to the example in the email available at
13515           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13516           Conversely, we do have to free 'name', so we do so, fixing a leak.
13517
13518 2006-01-10  Robert Love  <rml@novell.com>
13519
13520         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13521           sure that we close the socket!
13522
13523 2006-01-10  Robert Love  <rml@novell.com>
13524
13525         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13526           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13527           src/nm-device.c: Fix a FIXME!  Reimplement the function
13528           nm_device_update_hw_address() in device subclass variants,
13529           nm_device_802_3_ethernet_set_address() and
13530           nm_device_802_11_wireless_set_address(), hook them up, and use them.
13531           This fixes the existing bug where MAC addresses are all zeros.
13532
13533 2006-01-10  Robert Love  <rml@novell.com>
13534
13535         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13536           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13537           option to give users ability to globally disconnect and put NM to
13538           sleep.  This is useful as a 'lockdown mode' for flying, security, and
13539           clean disconnect.
13540
13541 2006-01-09  Robert Love  <rml@novell.com>
13542
13543         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
13544           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13545           User-space does not supply these types, so we have to define them
13546           ourselves.  The relevant kernel maintainer refused to accept a patch
13547           switching these headers to the proper C99 types.
13548
13549 2006-01-09  Dan Williams  <dcbw@redhat.com>
13550
13551         Apply Robert's 'tray icon redo' patch with fixes
13552         * gnome/applet/applet.c
13553           gnome/applet/applet.h
13554                 - Instead of using a menu bar + menu item, simulate menu
13555                         behavior using a popup menu.  Highlight the area around
13556                         the icon more like a menu too, by playing with the
13557                         applet's size requisition
13558
13559 2006-01-09  Timo Hoenig   <thoenig@suse.de>
13560         * libnm-util/dbus-helpers.c
13561           libnm-util/dbus-helpers.h
13562                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13563                         to 'exception_namespace' (:namespace is a keyword in
13564                         C++)
13565
13566 2006-01-09  Dan Williams  <dcbw@redhat.com>
13567
13568         * src/NetworkManagerPolicy.c
13569                 - (nm_policy_device_change_check): don't autoswitch away from
13570                         Ad-Hoc networks, since there's really no concept of
13571                         "link"
13572
13573         * src/nm-dbus-nm.c
13574                 - (nm_dbus_nm_create_wireless_network): mark created networks
13575                         as Ad-Hoc networks
13576
13577         * src/nm-device-802-11-wireless.c
13578                 - (real_activation_success_handler): add user-created Ad-Hoc
13579                         networks to the device's scan list
13580
13581 2006-01-08  Dan Williams  <dcbw@redhat.com>
13582
13583         We now require a patch for wpa_supplicant to support Ad-Hoc
13584         networks:
13585           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13586
13587         * src/nm-device-802-11-wireless.c
13588                 - (supplicant_send_network_config): turn off wpa_supplicant's
13589                         scanning.  Fixes Ad-Hoc networks.
13590
13591 2006-01-08  Dan Williams  <dcbw@redhat.com>
13592
13593         * src/nm-ap-security.c
13594           src/nm-ap-security.h
13595                 - Add a user_created argument to the write_supplicant_config
13596                         functions
13597
13598         * src/nm-ap-security-wep.c
13599           src/nm-ap-security-wpa-psk.c
13600           src/nm-device-802-11-wireless.c
13601                 - Make Ad-Hoc mode somewhat work, at least write the
13602                         correct options to wpa_supplicant
13603
13604 2006-01-08  Dan Williams  <dcbw@redhat.com>
13605
13606         * src/nm-device-802-11-wireless.c
13607                 - Remove unused code from the old device activation path
13608
13609 2006-01-08  Dan Williams  <dcbw@redhat.com>
13610
13611         * libnm-util/dbus-helpers.c
13612                 - (nmu_security_serialize_wpa_psk): pass a blank key through
13613                         dbus when key == NULL
13614
13615 2006-01-08  Dan Williams  <dcbw@redhat.com>
13616
13617         * gnome/applet/nm-gconf-wso-wpa-psk.c
13618                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
13619                         correct arguments to nmu_security_deserialize_wpa_psk()
13620
13621         * src/nm-ap-security-wpa-psk.c
13622                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
13623                         arguments to nmu_security_deserialize_wpa_psk()
13624
13625 2006-01-08  Dan Williams  <dcbw@redhat.com>
13626
13627         * gnome/applet/wso-wpa-psk-hex.c
13628           gnome/applet/wso-wpa-psk-passphrase.c
13629                 - Hook up the append_dbus_params_func() function
13630
13631 2006-01-08  Dan Williams  <dcbw@redhat.com>
13632
13633         * src/nm-device-802-11-wireless.c
13634                 - (get_wireless_capabilities): correctly detect driver WPA
13635                         capabilities
13636
13637 2006-01-08  Dan Williams  <dcbw@redhat.com>
13638
13639         * gnome/applet/Makefile.am
13640           gnome/applet/wso-wpa-psk-hex.c
13641           gnome/applet/wso-wpa-psk-hex.h
13642                 - New files, implement WPA-PSK Hex key input
13643
13644         * gnome/applet/wireless-applet.glade
13645                 - Change existing wpa-psk stuff to wpa-psk-hex
13646                 - Add new widgets for wpa-psk-passphrase
13647
13648         * gnome/applet/wireless-security-manager.c
13649                 - (wsm_set_capabilities): enable WPA options
13650
13651         * gnome/applet/wso-wpa-psk-passphrase.c
13652                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
13653                         for WPA-PSK passphrase
13654
13655 2006-01-08  Dan Williams  <dcbw@redhat.com>
13656
13657         * include/NetworkManager.h
13658                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
13659                         applet/info-daemons
13660
13661         * gnome/applet/passphrase-dialog.c
13662                 - Use the constant.  Fixes a bug where the arguments to
13663                         dbus_message_new_error() were incorrect
13664
13665         * src/nm-dbus-nmi.c
13666                 - Use the constant
13667
13668 2006-01-07  Dan Williams  <dcbw@redhat.com>
13669
13670         * src/nm-device-802-11-wireless.c
13671                 - Add a link timeout so we allow the supplicant time to
13672                         reassociate if it can, before we deactivate the card
13673                 - Fix up link status and link updating so things work better
13674
13675 2006-01-07  Dan Williams  <dcbw@redhat.com>
13676
13677         * src/nm-device-802-11-wireless.c
13678                 - Switch over to using wpa_supplicant
13679                 - Add a timeout of 10s for association of the supplicant
13680                 - Start the monitor callback of the supplicant
13681
13682 2006-01-07  Dan Williams  <dcbw@redhat.com>
13683
13684         * src/NetworkManagerUtils.c
13685                 - (nm_utils_supplicant_request,
13686                   nm_utils_supplicant_request_with_check):
13687                         pass correct buffer length to wpa_ctrl_request()
13688
13689 2006-01-07  Dan Williams  <dcbw@redhat.com>
13690
13691         * src/nm-device-private.h
13692           src/nm-device.c
13693                 - (nm_device_activate_schedule_stage3_ip_config_start): make
13694                         this function available to subclasses
13695
13696 2006-01-06  Robert Love  <rml@novell.com>
13697
13698         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
13699           user plugging in a network cable signals their preference for to
13700           switch, unless the user explicitly selected a wireless network and
13701           therefore signaled their preference for said wireless network over
13702           wired.  In other words, do exactly what makes sense.
13703
13704 2006-01-06  Robert Love  <rml@novell.com>
13705
13706         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
13707           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
13708           src/NetworkManagerWireless.h: Remove, no longer used and they keep
13709           showing up in my greps.
13710
13711 2006-01-06  Robert Love  <rml@novell.com>
13712
13713         * gnome/applet/applet-dbus-devices.c,
13714           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
13715           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
13716           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
13717           New Network' both failed in the non-encrypted case because we were
13718           not appending the security options to the DBUS message.  And
13719           'Connect to Other' was also failing in the encrypted case because
13720           we were not incrementing to the next DBUS parameter.  All fixed.
13721           Thanks to dcdw for some debugging help.
13722
13723 2006-01-06  Robert Love  <rml@novell.com>
13724
13725         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
13726           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
13727           hangup code and add per-device hangup.  Tie last commit into the
13728           GNOME applet.  TODO:  Save, understand, and respond to the state of
13729           each dialup device.
13730
13731 2006-01-06  Robert Love  <rml@novell.com>
13732
13733         Patch by Timo Hoenig <thoenig@suse.de>:
13734         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
13735           hangup specific dialup devices.
13736         * src/backends/NetworkManagerDebian.c,
13737           src/backends/NetworkManagerGentoo.c,
13738           src/backends/NetworkManagerRedHat.c,
13739           src/backends/NetworkManagerSlackware.c: Add stub backend.
13740         * src/backends/NetworkManagerRedHat.c,
13741           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
13742           hangup specific dialup devices.
13743
13744 2006-01-04  Robert Love  <rml@novell.com>
13745
13746         * gnome/applet/applet-dbus-devices.c,
13747           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
13748           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
13749           connections.
13750
13751 2006-01-04  Dan Williams  <dcbw@redhat.com>
13752
13753         First dump of wpa_supplicant-related code.  It's not hooked up to
13754         anything yet though.  Thanks to Kay Sievers for
13755         wpa_supplicant_wrapper.c, which formed the basis for this work,
13756         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
13757
13758         * src/Makefile.am
13759           src/wpa_ctrl.[ch]
13760                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
13761
13762         * src/NetworkManagerUtils.[ch]
13763                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
13764                         Add convenience functions for talking to wpa_supplicant
13765
13766         * src/nm-ap-security.[ch]
13767           src/nm-ap-security-wep.c
13768           src/nm-ap-security-wpa-psk.[ch]
13769                 - Update and implement real_write_supplicant_config functions
13770                         in all security types
13771                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
13772                         nm-ap-security-wpa-psk.c
13773
13774         * src/nm-device-802-11-wireless.c
13775                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
13776                    wpa_supplicant_start, wpa_supplicant_interface_init,
13777                    wpa_supplicant_send_network_config): add functions to talk to
13778                         wpa_supplicant and write network config to it
13779
13780 2006-01-04  Robert Love  <rml@novell.com>
13781
13782         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
13783           values so that distribution-backends can differentiate between the
13784           various types (modem, ISDN, et cetera) of dialup device that they
13785           support.
13786         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
13787           needed.
13788
13789 2006-01-03  Dan Williams  <dcbw@redhat.com>
13790
13791         * src/NetworkManagerPolicy.c
13792           src/nm-device.[ch]
13793           src/nm-device-802-11-wireless.c
13794                 - Move wireless-specific activation failure and success code
13795                         into wireless device class
13796
13797 2006-01-03  Robert Love  <rml@novell.com>
13798
13799         Patch by Preggna S:
13800         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
13801           IPsec does not require that a VPN client be bound to an interface,
13802           due to the use of the in-kernel IPSec bits.  So make the tunnel
13803           device optional.
13804
13805 2006-01-03  Dan Williams  <dcbw@redhat.com>
13806
13807         * src/NetworkManagerAP.c
13808                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
13809                         the WPA IE specifies that WEP is supported
13810
13811         * src/nm-device-802-11-wireless.c
13812                 - (process_scan_results): don't mark an AP as supporting WEP
13813                         if there's already other encryption capability info
13814
13815 2006-01-03  Dan Williams  <dcbw@redhat.com>
13816
13817         * src/dhcp-manager/nm-dhcp-manager.c
13818                 - Recognize activation cancellation when waiting for DHCP
13819                         configuration from dhcdbd
13820                 - Ignore non-dhcdbd messages
13821
13822         * src/nm-device.c
13823                 - (real_act_stage3_ip_config_start): return to correct behavior
13824                         of letting the dhcp-manager notify us of failure or
13825                         success rather than incorrectly doing that ourselves
13826                 - (nm_device_activate_stage4_ip_config_get): deal with
13827                         activation cancellation a bit earlier
13828
13829 2006-01-03  Dan Williams  <dcbw@redhat.com>
13830
13831         * src/nm-device-802-11-wireless.c
13832           src/nm-device.[ch]
13833                 - Add hooks to subclasses for stage3_ip_config_start and
13834                         stage4_ip_config_timeout
13835
13836         * src/nm-device-802-3-ethernet.c
13837                 - (real_get_generic_capabilities): make devices NM-supported
13838                         by default
13839
13840 2006-01-03  Robert Love  <rml@novell.com>
13841
13842         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
13843           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
13844           latter cannot differentiate between error and the address -1; misc.
13845           clean up.
13846
13847 2006-01-03  Dan Williams  <dcbw@redhat.com>
13848
13849         * src/NetworkManager.c
13850                 - Move link-checking/probing into the device subclasses
13851                         themselves
13852
13853         * src/nm-device.[ch]
13854           src/nm-device-802-11-wireless.c
13855           src/nm-device-802-3-ethernet.c
13856                 - Do periodic link checking in device subclasses rather
13857                         than being triggered from NetworkManager.c
13858                 - discover_wireless_capabilities -> get_wireless_capabilities
13859                 - discover_generic_capabilities -> get_generic_capabilities
13860                 - Device subclass activation routines now return a value of type
13861                         NMActStageReturn to indicate what step to perform next
13862                 - Devices now override stage4_get_ip4_config if they choose
13863
13864 2006-01-01  Dan Williams  <dcbw@redhat.com>
13865
13866         * src/nm-device-802-11-wireless.c
13867                 - (real_init): don't chain up to parent init because we don't
13868                         need to do that anymore
13869
13870         * src/nm-device.c
13871                 - (discover_device_type): fix arguments to ioctl() to correctly
13872                         pass interface name
13873                 - (nm_device_new): consolidate generic device initialization into
13874                         nm_device_new()
13875                 - (real_init): remove, consolidated to nm_device_new()
13876                 - (nm_device_deactivate, real_deactivate): consolidate
13877
13878 2006-01-01  Dan Williams  <dcbw@redhat.com>
13879
13880         * src/nm-activation-request.c
13881                 - Change dhcp_state member of the NMActRequest structure
13882                         from guint8 to guint32
13883
13884         * src/dhcp-manager/nm-dhcp-manager.[ch]
13885                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
13886                         than guint8 to match the dbus argument.  Turns out we were
13887                         overwriting memory since we were passing in only a guint8
13888
13889 2005-12-31  Dan Williams  <dcbw@redhat.com>
13890
13891         * refactor NMDevice into a GObject-based framework with separate
13892                 objects for wired and wireless.  The following files are no
13893                 longer used but should stick around for a bit so we don't
13894                 loose code through the cracks:
13895                         NetworkManagerDevice.c
13896                         NetworkManagerDevice.h
13897                         NetworkManagerWireless.c
13898                         NetworkManagerWireless.h
13899
13900         The intent here is to allow each device type to manage its own
13901         connection & activation life-cycle, ie to allow wireless devices
13902         to interface with wpa_supplicant, etc.  There's a fair bit of
13903         encapsulation breakage right now that should gradually get pulled
13904         back into each device, along with things like periodic property
13905         updates and link probing.
13906
13907 2005-12-29  Dan Williams  <dcbw@redhat.com>
13908
13909         * include/NetworkManager.h
13910                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
13911                         between networks that don't have any encryption at all
13912
13913 2005-12-29  Dan Williams  <dcbw@redhat.com>
13914
13915         * test/test-common.c
13916           test/test-common.h
13917           test/Makefile.am
13918                 - Move to a test-common subdirectory
13919
13920         * test/libnm-util/test-ciphers.c
13921                 - Move test data to test-inputs.h
13922                 - Test WPA ciphers too
13923
13924         * test/libnm-util/test-dbus-helpers.c
13925                 - Test serialization/deserialization of ciphers
13926
13927 2005-12-29  Dan Williams  <dcbw@redhat.com>
13928
13929         * gnome/applet/applet-dbus-devices.c
13930                 - Replace 'enc' parameter with 'capabilities' for wireless networks
13931                         in dbus calls to NM
13932                 - Set capabilities on WirelessNetwork objects
13933                 - Receive and save type-specific device capabilities too
13934
13935         * gnome/applet/applet-dbus-info.c
13936           gnome/applet/applet-dbus.c
13937                 - Passphrase dialog no longer a singleton; new instance gets created
13938                         on each request.  Updates to deal with that.
13939
13940         * gnome/applet/applet.c
13941                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
13942                         than single 'encrypted' flag
13943                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
13944                         menu items
13945                 - Passphrase dialog updates per above
13946
13947         * gnome/applet/menu-items.c
13948                 - (network_menu_item_update): use AP capabilities to determine
13949                         encryption
13950
13951         * gnome/applet/nm-device.[ch]
13952                 - Add accessors for type-specific device capabilities
13953
13954         * gnome/applet/other-network-dialog.c
13955                 - Rework to respect device capabilities.  i.e., if the device doesn't
13956                         support WPA, remove that option from the security dropdown
13957
13958         * gnome/applet/passphrase-dialog.c
13959                 - Massive rework so that a new instance is created each time
13960                         it's used, to support wireless network capabilities
13961
13962         * gnome/applet/wireless-network.[ch]
13963                 - Add accessors and members for wireless network capabilities
13964
13965         * gnome/applet/wireless-security-manager.[ch]
13966                 - (wsm_set_capabilities): called after creation to set which
13967                         security options get shown to the user
13968
13969 2005-12-29  Dan Williams  <dcbw@redhat.com>
13970
13971         * libnm-util/cipher-wpa-psk-passphrase.c
13972                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
13973                         like other ciphers
13974
13975 2005-12-23  Dan Williams  <dcbw@redhat.com>
13976
13977         * gnome/applet/applet-dbus-info.c
13978                 - (nmi_dbus_get_key_for_network): if there's no entry in
13979                         GConf for a network, assume we want a new key
13980                 - (nmi_save_network_info): serialize wireless security info
13981                         into GConf so its saved
13982
13983         * src/nm-dbus-nm.c
13984                 - Fix warning as we may not be passed security info when
13985                         connecting to a wireless network
13986
13987 2005-12-23  Dan Williams  <dcbw@redhat.com>
13988
13989         * gnome/applet/applet-compat.c
13990                 - Fix bugs in GConf entry conversion
13991
13992         * gnome/applet/applet-dbus-info.c
13993                 - (nmi_dbus_get_network_properties): handle case of the BSSID
13994                         list being zero-length
13995
13996         * libnm-util/cipher-*
13997           libnm-util/dbus-helpers.c
13998                 - All ciphers must now return hashed keys as UTF-8 valid
13999                         hexadecimal strings, ie "8f3dae4023".  They are pushed
14000                         through dbus as strings too.
14001                 - Consolidate various functions that do bin->hex and hex->bin
14002                         conversion into cipher.c
14003
14004         * src/nm-ap-security-wep.c
14005           src/nm-ap-security-wpa-psk.c
14006                 - Handle NULL keys since we may not know keys right away
14007
14008         * src/nm-dbus-nmi.c
14009                 - (nm_dbus_get_network_data_cb): actually advance to the start
14010                         of the wireless security info before we try to deserialize it
14011
14012         * libnm-util/test-ciphers.c
14013                 - Update cipher tests for the change to UTF-8 hexadecimal strings
14014
14015 2005-12-22  Dan Williams  <dcbw@redhat.com>
14016
14017         * gnome/applet/applet-compat.[ch]
14018                 - Convert old-format GConf and keyring entries
14019                         when the applet starts up.
14020
14021         * gnome/applet/applet.c
14022                 - (nmwa_get_instance): Call the conversion function
14023                         on startup before dbus is initialized
14024
14025 2005-12-22  Dan Williams  <dcbw@redhat.com>
14026
14027         * gnome/applet/applet-dbus-info.c
14028                 - Remove nmi_dbus_create_error_message() in favor of
14029                         nmu_create_dbus_error_message()
14030                 - (nmi_dbus_get_network_properties): Error message cleanups
14031                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14032                         gconf key rather than 'addresses', since they really are BSSIDs
14033                 - (nmi_dbus_get_network_properties): Dispose of the security
14034                         object when we're done with it
14035
14036 2005-12-21  Dan Williams  <dcbw@redhat.com>
14037
14038         * Consolidate the info-daemon's "updateNetworkInfo" and
14039                 "addNetworkAddress" calls into just "updateNetworkInfo"
14040
14041 2005-12-21  Dan Williams  <dcbw@redhat.com>
14042
14043         * Make connection after key retrieval work again
14044
14045 2005-12-21  Dan Williams  <dcbw@redhat.com>
14046
14047         * gnome/applet/nm-gconf-wso*
14048                 - Make the serialize functions return gboolean
14049                         rather than int
14050
14051         * gnome/applet/nm-gconf-wso.c
14052                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14053                         parent class handling so we don't segfault
14054
14055         * src/NetworkManagerAP.[ch]
14056                 - (nm_ap_get_capabilities): new function, return capabilities
14057                         now that something can use them
14058                 - (nm_ap_set_encrypted): assume that an access point supports
14059                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
14060                         we even tell whether it just supports WEP40?
14061
14062         * src/NetworkManagerDevice.c
14063                 - (ap_need_key): resurrect and update for the New World Order
14064                 - (nm_device_wireless_get_activation_ap): if we're not given
14065                         security info to use, create some based on access point
14066                         capabilities
14067
14068         * src/nm-ap-security-wep.c
14069                 - (nm_ap_security_wep_new_from_ap): create a new object
14070                         based on a certain access point's capabilities
14071
14072         * src/nm-ap-security.c
14073                 - (nm_ap_security_new_from_ap): delegate creation of a new
14074                         object based on access point capabilities to a subclass
14075                 - (nm_ap_security_copy_properties): don't segfault if we
14076                         don't have a key yet
14077
14078         * src/nm-dbus-nm.c
14079                 - (nm_dbus_nm_set_active_device): provide more informative
14080                         output when errors occur.  Also construct security info
14081                         for a given access point if we weren't given any
14082
14083 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
14084
14085         * configure.in: Added Lithuanian to ALL_LINGUAS.
14086
14087 2005-12-21  Dan Williams  <dcbw@redhat.com>
14088
14089         * test/libnm-util
14090                 - Add some testcases for WEP ciphers
14091
14092 2005-12-17  Dan Williams  <dcbw@redhat.com>
14093
14094         * Fix bugs
14095
14096 2005-12-17  Dan Williams  <dcbw@redhat.com>
14097
14098         * include/NetworkManager.h
14099                 - Finally kill NMEncKeyType
14100
14101         * gnome/applet/applet-dbus-info.c
14102                 - (nmi_save_network_info): convert to NMGConfWSO
14103
14104         * gnome/applet/nm-gconf-wso-*.c
14105                 - Implement gconf serialization functions
14106
14107         * src/NetworkManagerPolicy.c
14108                 - (nm_policy_activation_finish): fix up meaning of
14109                         automatic/user_requested
14110
14111 2005-12-17  Dan Williams  <dcbw@redhat.com>
14112
14113         * gnome/applet/*
14114                 - More applet cleanups
14115                 - Use the dbus-method-dispatcher
14116
14117         * libnm-util/dbus-method-dispatcher.[ch]
14118                 - Generalize the implementation from NM in
14119                         NetworkManagerUtils.c
14120
14121 2005-12-16  Dan Williams  <dcbw@redhat.com>
14122
14123         * gnome/applet/*
14124                 - Fix up the passphrase dialog to use all the
14125                         WirelessSecurityOption stuff (untested)
14126
14127 2005-12-16  Dan Williams  <dcbw@redhat.com>
14128
14129         * Move nm_gconf_get_*_helper() functions to separate files,
14130                 gconf-helpers.c & gconf-helpers.h
14131
14132         * New NMGConfWSO objects for managing the gconf side of things.
14133                 Eventually these should be merged with the
14134                 WirelessSecurityOption objects and a common base (that can
14135                 serialize/deserialize from dbus & gconf) should be
14136                 refactored out, but for now they are separate.
14137
14138 2005-12-16  Robert Love  <rml@novell.com>
14139
14140         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14141           binaries unless they exist (nm_spawn_process() emits a warning if
14142           asked to spawn a non-existant process).
14143
14144 2005-12-16  Dan Williams  <dcbw@redhat.com>
14145
14146         * gnome/applet/applet-dbus-info.c
14147                 - Clean up lots of gconf-related code
14148
14149 2005-12-16  Robert Love  <rml@novell.com>
14150
14151         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14152
14153 2005-12-16  Dan Williams  <dcbw@redhat.com>
14154
14155         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14156
14157         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14158                 bits still to be done)
14159
14160 2005-12-16  Dan Williams  <dcbw@redhat.com>
14161
14162         * Finally move info-daemon related stuff out of
14163                 NetworkManagerDbus.c to nm-dbus-nmi.c
14164
14165 2005-12-16  Dan Williams  <dcbw@redhat.com>
14166
14167         * Kill auth_method for access points, since that's now done
14168                 by NMAPSecurity objects
14169
14170         * Add a copy-constructor of sorts to NMAPSecurity
14171                 (how do you do this properly in glib???)
14172
14173 2005-12-15  Dan Williams  <dcbw@redhat.com>
14174
14175         * Exorcise encryption key hashing on APs
14176         * Use libnm-util's serialization/deserialization in both the
14177                 applet and NM
14178         * Random other stuff
14179
14180 2005-12-15  Robert Love  <rml@novell.com>
14181
14182         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14183           is being added to the icon naming spec, so let's use that (Tango CVS
14184           has the icon).  Because it is new, however, we fall back to the
14185           current "gnome-lockscreen" if the new icon is not around, thus
14186           behavior is the same.
14187         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
14188           factory junk.
14189
14190 2005-12-15  Robert Love  <rml@novell.com>
14191
14192         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14193           well, help to give.  Couple other misc. bits.
14194
14195 2005-12-15  Dan Williams  <dcbw@redhat.com>
14196
14197         * libnm-util/dbus-helpers.[ch]
14198                 - Make this the one-stop-shop for serializing/deserializing
14199                         AP & connection security settings over dbus.  Both NM
14200                         and applets should use this to ensure consistent dbus
14201                         API going forwared.
14202
14203 2005-12-15  Robert Love  <rml@novell.com>
14204
14205         Patch by Timo Hoenig  <thoenig@suse.de>:
14206         * src/NetworkManagerDbus.c
14207                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14208                         if HAL jumps off the system bus.  Otherwise libdbus
14209                         (dbus_connection_dispatch) will try to run the filter
14210                         function of our libhal context which is already freed.
14211
14212 2005-12-15  Alexander Shopov  <ash@contact.bg>
14213
14214         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14215
14216 2005-12-14  Dan Williams  <dcbw@redhat.com>
14217
14218         * include/NetworkManager.h
14219           src/NetworkManagerWireless.c
14220                 - Rearrange 802.11 wireless-specific capabilities again
14221
14222         * src/Makefile.am
14223                 - Forgot to add wpa.c/wpa.h to the makefiles
14224
14225         * src/NetworkManagerAP.[ch]
14226                 - Implement access point capabilities and parse the
14227                         WPA/RSN IEs into the capability bitfield
14228                 - Switch the "encrypted" attribute to utilize the bitfield
14229                         and capabilities rather than being independent
14230
14231         * src/NetworkManagerDevice.c
14232                 - (nm_device_wireless_get_activation_ap): break it horribly
14233                         until we can push NMAPSecurity objects into access point
14234                         objects and through the activation chain
14235                 - Stuff WPA & RSN IEs into AP capabilities
14236
14237         * src/nm-dbus-nm.c
14238                 - Take a shot at actually making setActiveDevice work
14239
14240         * src/wpa.[ch]
14241                 - Make the API a bit saner
14242
14243 2005-12-14  Dan Williams  <dcbw@redhat.com>
14244
14245         * include/NetworkManager.h
14246                 - Add 802.11-specific capability for 802.1x key
14247                         management
14248
14249         * src/wpa.[ch]
14250                 - Pull in WPA IE and RSN IE parsing code from
14251                         wpa_supplicant so we can determine access point
14252                         capabilities
14253                 - Move WPA-related constants here from NetworkManagerAP.h
14254                         and NetworkManagerDevice.c
14255
14256         * src/NetworkManagerDevice.c
14257           src/NetworkManagerAP.[ch]
14258                 - Use WPA-related constants from wpa.h
14259
14260 2005-12-14  Dan Williams  <dcbw@redhat.com>
14261
14262         * include/NetworkManager.h
14263                 - Update and split 802.11 wireless-specific capabilities from
14264                         generic device capabilities
14265
14266         * src/NetworkManagerDevice.c
14267           src/NetworkManagerDevicePrivate.h
14268                 - (nm_device_wireless_discover_capabilities): Move 802.11
14269                         wireless-specific capability checks to
14270                         NetworkManagerWireless.c
14271                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14272                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14273
14274         * src/NetworkManagerWireless.[ch]
14275                 - (nm_802_11_wireless_discover_capabilities): Check extended
14276                         802.11 wireless-specific capabilities of the driver
14277
14278 2005-12-14  Robert Love  <rml@novell.com>
14279
14280         Patch from Stefan Scheler <sscheler@suse.de>:
14281         * src/NetworkManagerDevice.c: call backend code to activate and
14282           deactivate NIS.
14283         * src/NetworkManagerSystem.h: add new NIS interfaces.
14284         * src/backends/NetworkManagerDebian.c,
14285           src/backends/NetworkManagerGentoo.c,
14286           src/backends/NetworkManagerRedHat.c,
14287           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14288           support.
14289         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14290
14291 2005-12-14  Dan Williams  <dcbw@redhat.com>
14292
14293         * src/nm-ap-security*.[ch]
14294                 - Add AP security abstractions to NetworkManager
14295
14296         * src/nm-dbus-device.c
14297                 - Begin to parse new format dbus messages from the applet
14298                         and construct an AP security object from the message
14299
14300         * libnm-util/dbus-helpers.c
14301                 - Use message iters so we can append the key as a fixed
14302                         array of bytes, which actually works rather than
14303                         using dbus_message_append_args() as we were before
14304
14305 2005-12-14  Dan Williams  <dcbw@redhat.com>
14306
14307         * src/NetworkManagerDbus.c
14308           gnome/applet/applet-dbus.c
14309                 - Fix up dbus service replacement options.  The applet
14310                         should allow replacement, NM itself should not.
14311
14312 2005-12-13  Robert Love  <rml@novell.com>
14313
14314         * src/named-manager/nm-named-manager.c: Revert earlier commit.
14315           Instead, fail silently if config is NULL by not asserting and not
14316           returning FALSE.  Also, make sure we always fclose() the file.
14317
14318 2005-12-13  Robert Love  <rml@novell.com>
14319
14320         Patch by Stefan Scheler <sscheler@suse.de>:
14321         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
14322            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14323            via DHCP.  Still need the backends to commit the NIS domain name and
14324            and servers to yp.conf as needed.
14325
14326 2005-12-13  Robert Love  <rml@novell.com>
14327
14328         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14329           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14330
14331 2005-12-13  Robert Love  <rml@novell.com>
14332
14333         * src/named-manager/nm-named-manager.c: Don't unref the config until
14334           after we call rewrite_resolv_conf(), because get_last_default_domain()
14335           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
14336           `config != NULL' failed" assertion failures and "Could not commit DNS
14337           changes" warnings.
14338
14339 2005-12-12  Dan Williams  <dcbw@redhat.com>
14340
14341         * libnm-util/dbus-helpers.[ch]
14342           libnm-util/Makefile.am
14343                 - new helper calls to consolidate locations where
14344                         NM's setDevice method is called
14345
14346         * gnome/applet/applet-dbus-devices.c
14347           gnome/applet/wireless-security-option.c
14348           gnome/applet/wso-*
14349                 - Implement dbus message param append function for
14350                         all wireless security options
14351
14352 2005-12-12  Robert Love  <rml@novell.com>
14353
14354         * libnm-util/cipher-wep-passphrase.c,
14355           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14356           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14357           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14358           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14359           When handling keys, we don't care what the sign is.  The compiler
14360           guarantees us that we get our 8-bits, which is all we care about.
14361         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
14362
14363 2005-12-12  Dan Williams  <dcbw@redhat.com>
14364
14365         * gnome/applet/applet-dbus-devices.[ch]
14366           gnome/applet/applet.c
14367           gnome/applet/other-network-dialog.c
14368           gnome/applet/wireless-security-manager.[ch]
14369           gnome/applet/wireless-security-option.[ch]
14370           gnome/applet/wso-*
14371                 - Push the wireless security options further into the applet
14372
14373 2005-12-12  Robert Love  <rml@novell.com>
14374
14375         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14376           return any name servers.  That is perfectly valid.  (Novell #134369).
14377
14378 2005-12-11  Dan Williams  <dcbw@redhat.com>
14379
14380         * gnome/applet/wso-*
14381           gnome/applet/wireless-security-option.*
14382           gnome/applet/Makefile.am
14383                 - split each security option out so we can eventually
14384                         have each one build up their own dbus message
14385                         arguments to send to NM
14386
14387 2005-12-11  Dan Williams  <dcbw@redhat.com>
14388
14389         * Make validation of the key work correctly
14390
14391 2005-12-11  Dan Williams  <dcbw@redhat.com>
14392
14393         * Hook more bits of the Other Network Dialog up to the
14394                 wireless security manager stuff, and restructure
14395                 bits of the dialog so there's less code.
14396
14397 2005-12-10  Dan Williams  <dcbw@redhat.com>
14398
14399         * gnome/applet/Makefile.am
14400                 - Add libnm-util to includes
14401                 - Add libnm-util to link list
14402                 - Add wireless-security-common.* to compile list
14403
14404         * gnome/applet/other-network-dialog.c
14405                 - Convert to using the WirelessSecurityManager code and
14406                         widgets
14407
14408         * gnome/applet/passphrase-dialog.c
14409                 - Comment out references to stuff in the glade file that
14410                         cause runtime errors until it can be fixed up
14411                         to use the WirelessSecurityManager code
14412
14413         * gnome/applet/wireless-applet.glade
14414                 - Rename some widgets
14415                 - Add widgets for the WirelessSecurityManager code
14416                 - Remove passphrase-related stuff since that's now
14417                         handled by the WirelessSecurityManager code
14418
14419 2005-12-10  Dan Williams  <dcbw@redhat.com>
14420
14421         * gnome/applet/applet-dbus-devices.c
14422                 - Print out error message details for dbus pending call callbacks
14423                 - Move nmwa_dbus_update_devices() up
14424
14425         * gnome/applet/applet-dbus-vpn.c
14426                 - Print out error message details for dbus pending call callbacks
14427
14428 2005-12-10  Dan Williams  <dcbw@redhat.com>
14429
14430         * libnm-util/*
14431                 - More fixups
14432                 - Remove cipher-manager.* because we don't need it
14433                 - Forgot to add gnome-keyring-md5 files to compile list
14434
14435 2005-12-09  Dan Williams  <dcbw@redhat.com>
14436
14437         * libnm-util/*
14438           configure.in
14439           Makefile.am
14440                 - Add a utility library for clients of NetworkManager.  It's
14441                         only targetted at applets for the moment, and contains
14442                         a generalized 802.11 cipher framework for different
14443                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
14444
14445 2005-12-09  Robert Love  <rml@novell.com>
14446
14447         * src/NetworkManagerDevice.c: handle error better in
14448           nm_device_set_mode().
14449
14450 2005-12-08  Robert Love  <rml@novell.com>
14451
14452         * include/NetworkManager.h: add WPA capabilities constants
14453         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14454           or WPA2 and add the capabilities bits as appropriate.
14455
14456 2005-12-08  Robert Love  <rml@novell.com>
14457
14458         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14459           NetworkManagerDispatcher.
14460         * configure.in, initscript/SUSE/.cvsignore,
14461           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14462           initscript.
14463
14464 2005-12-08  Robert Love  <rml@novell.com>
14465
14466         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14467
14468 2005-12-08  Robert Love  <rml@novell.com>
14469
14470         * src/NetworkManagerDevice.c: We want to fall back on and default to
14471           IW_MODE_AUTO, not -1, which is more in line with our previous
14472           behavior.  Otherwise, we try to set the wireless mode to -1 in
14473           nm_device_set_mode().
14474
14475 2005-12-07  Robert Love  <rml@novell.com>
14476
14477         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14478           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14479           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14480           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14481           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14482           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
14483           zero.
14484
14485 2005-12-07  Robert Love  <rml@novell.com>
14486
14487         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14488           supplied IP is invalid, fall back to DHCP.
14489
14490 2005-12-07  Dan Williams  <dcbw@redhat.com>
14491
14492         * Convert NETWORK_MODE_* constants to IW_MODE_*
14493         * Make all the get_mode/set_mode functions take and return 'int'
14494         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14495
14496 2005-12-07  Robert Love  <rml@novell.com>
14497
14498         * src/NetworkManagerDevice.c: strncpy() buffer check.
14499         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14500
14501 2005-12-06  Dan Williams  <dcbw@redhat.com>
14502
14503         * gnome/applet/applet-dbus.c
14504                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14505
14506         * gnome/applet/applet-dbus-vpn.c
14507                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14508                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14509                         to TRUE here if stage was ACTIVATED
14510
14511 2005-12-06  Dan Williams  <dcbw@redhat.com>
14512
14513         * Change nm_device_is_* functions to better names:
14514                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14515                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14516
14517 2005-12-06  Dan Williams  <dcbw@redhat.com>
14518
14519         * Change naming of NMDeviceType to something more sensible:
14520                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14521                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14522                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14523
14524 2005-12-06  Dan Williams  <dcbw@redhat.com>
14525
14526         * Move NetworkManager.h -> include/NetworkManager.h
14527         * Split out VPN stuff into include/NetworkManagerVPN.h
14528         * Fix up makefiles to include new location
14529         * Fix up sources to include NetworkManagerVPN.h
14530
14531 2005-12-06  Dan Williams  <dcbw@redhat.com>
14532
14533         Various changes in the applet to move VPN connection "state" -> "stage",
14534         which it actually is.  I'd like to change the signal as well when we
14535         break compat in the near future.
14536
14537 2005-12-06  Dan Williams  <dcbw@redhat.com>
14538
14539         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14540         * initscript/Slackware/rc.networkmanager
14541                 - Cosmetic fix
14542
14543         * src/backends/NetworkManagerSlackware.c
14544                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14545                         interfaces
14546
14547 2005-12-05  Robert Love  <rml@novell.com>
14548
14549         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14550           to free, particularly here as it just barfs.
14551
14552 2005-12-05  Dan Williams  <dcbw@redhat.com>
14553
14554         * gnome/applet/applet-dbus.c
14555                 - Work with dbus 0.6 too
14556
14557 2005-12-03  Dan Williams  <dcbw@redhat.com>
14558
14559         * src/NetworkManagerUtils.[ch]
14560           src/nm-ip4-config.c
14561                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14562                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14563
14564 2005-12-01  Robert Love  <rml@novell.com>
14565
14566         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14567           need a NULL for the '...' parameter, too, to fill the so-called
14568           sentinel.
14569
14570 2005-12-01  Robert Love  <rml@novell.com>
14571
14572         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14573           interface is already gone, so don't call rtnl_link_change() to down
14574           it (which will segfault, anyhow).
14575
14576 2005-11-22  Robert Love  <rml@novell.com>
14577
14578         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14579           gateway is not set, just print a little note.  Configurations without
14580           gateways are valid.
14581
14582 2005-11-22  Robert Love  <rml@novell.com>
14583
14584         * README: update
14585
14586 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
14587
14588         * configure.in: Added Finnish translation to ALL_LINGUAS
14589
14590 2005-11-14  Robert Love  <rml@novell.com>
14591
14592         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
14593           Niemueller <tim@niemueller.de>.
14594
14595 2005-11-08  Dan Williams  <dcbw@redhat.com>
14596
14597         Patch from Bill Moss <bmoss@clemson.edu>
14598         * src/NetworkManagerDevice.c
14599                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
14600                         of nm_policy_schedule_activation_finish() to prevent a
14601                         race condition that causes the link to be dropped
14602
14603 2005-11-08  Dan Williams  <dcbw@redhat.com>
14604
14605         Patch from Bill Moss <bmoss@clemson.edu>
14606         * src/NetworkManagerAPList.c
14607           src/NetworkManagerDevice.c
14608           src/NetworkManagerDbus.c
14609                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
14610                         we get more readable ether/mac addresses
14611
14612 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14613
14614         * gnome/applet/main.c: Don't set the restart command.  This fixes
14615         the issue where the restart command was getting copies of all its
14616         arguments for each time the applet was restarted.
14617
14618 2005-11-02  Robert Love  <rml@novell.com>
14619
14620         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
14621           if the widget state differs from our saved state.  This ensures we
14622           do not enter an endless loop of death and destruction.  Also, this
14623           guarantees us that we enforce the widget state.
14624
14625 2005-11-02  Robert Love  <rml@novell.com>
14626
14627         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
14628         * gnome/applet/applet-dbus-devices.c: invoke the new function
14629           nmwa_enable_wireless_set_active() to ensure that the state of the
14630           'Enable Wireless' checkbox matches the daemon's state.  This is a
14631           concern because the daemon remembers the state.
14632
14633 2005-11-02  Robert Love  <rml@novell.com>
14634
14635         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
14636           Enabled", as checkboxes should be actions/commands not positive
14637           statements, otherwise they are confusing in the unselected case.  See
14638           examples in GNOME HIG, Chapter 6.
14639
14640 2005-11-02  Robert Love  <rml@novell.com>
14641
14642         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
14643           show a list of wireless networks or the wireless devices or the
14644           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
14645           a bad bug: If wireless is disabled and the user picks a wireless
14646           network, NM will switch to the network, only to immediately switch
14647           back, as wireless is disabled.  This also reassures people that NM
14648           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
14649
14650 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14651
14652         * gnome/applet/applet.c:
14653         * gnome/applet/applet.h:
14654         Partial backout of Dan's timeout animation patch.
14655         Timeout IDs cannot legally be 0, so revert the code in place to handle
14656         a timeout ID of 0 to denote the timeout isn't running.
14657
14658 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14659
14660         * src/NetworkManagerPolicy.c:
14661         (nm_policy_device_change_check) Clarify wireless switch nm_info text
14662
14663 2005-10-28  Robert Love  <rml@novell.com>
14664
14665         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
14666           "Import Saved Configuration..." to make it clear that importing is
14667           not the next step, but an option.  As an aside, a nice TODO would be
14668           to move Importing out of the vpn-specific dialog and into the main
14669           property editor, as Importing goes with Adding, but that will require
14670           some rearchitecting of the VPN stuff I suspect.
14671
14672 2005-10-27  Dan Williams  <dcbw@redhat.com>
14673
14674         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
14675         we should replace most of the distro-specific backend code
14676         with libnl stuff.
14677
14678         Get it here:  http://people.suug.ch/~tgr/libnl/
14679
14680         * configure.in
14681           src/Makefile.am
14682                 - Add checks for libnl pkgconfig file
14683                 - Use LIBNL_LIBS & LIBNL_CFLAGS
14684
14685         * src/NetworkManagerSystem.c
14686           src/nm-ip4-config.[ch]
14687                 - Use libnl rather than ioctl() for most things
14688                 - Remove unused functions
14689
14690 2005-10-27  Robert Love  <rml@novell.com>
14691
14692         * src/backends/NetworkManagerSuSE.c: fix warning message text
14693
14694 2005-10-27  Christopher Aillon  <caillon@redhat.com>
14695
14696         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
14697
14698 2005-10-27  Christopher Aillon  <caillon@redhat.com>
14699
14700         * gnome/applet/applet.c: The applet's about dialog can advertise our 
14701         project page <http://www.gnome.org/projects/NetworkManager/>
14702
14703 2005-10-26  Christopher Aillon  <caillon@redhat.com>
14704
14705         * gnome/applet.c: Also use translator credits if we don't have
14706         the new GtkAboutDialog (older versions of GTK+)
14707
14708 2005-10-26  Robert Love  <rml@novell.com>
14709
14710         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
14711           failure; correct usage text for "--no-daemon"
14712
14713 2005-10-25  Dan Williams  <dcbw@redhat.com>
14714
14715         * src/NetworkManagerDevice.c
14716                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
14717                         no scan results
14718                 - (free_process_scan_cb_data): unref the device when freeing results
14719                 - (nm_device_wireless_process_scan_results): free scan results a bit later
14720                         so we don't unref the device underneath ourselves
14721
14722 2005-10-25  Dan Williams  <dcbw@redhat.com>
14723
14724         * Back out 2005-10-24 commit from Tor Krill.  Patch
14725                 causes nameservers never to be removed from named.
14726
14727 2005-10-24  Dan Williams  <dcbw@redhat.com>
14728
14729         Clean up wireless scanning and wireless link probing.
14730
14731         * src/NetworkManagerDevice.c
14732                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
14733                         just see if there's an activation request on the device, and check the
14734                         current link against the activation request access point's ESSID.
14735                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
14736                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
14737                         don't call process_scan_results() on zero-length data
14738                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
14739                         15 seconds (from 10)
14740
14741 2005-10-24  Dan Williams  <dcbw@redhat.com>
14742
14743         Cleanup some applet stuff:
14744
14745         - Animation timeouts.  If NM died while the applet was animating,
14746                 the applet would not hide itself.  This is now fixed.
14747
14748         - Remove some dead code
14749
14750         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
14751                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
14752
14753         - Track animation timeout using a gboolean rather than the timeout's
14754                 ID, since timeout IDs can legally be 0.
14755
14756 2005-10-24  Dan Williams  <dcbw@redhat.com>
14757
14758         * src/backends/interface_parser.c
14759                 - Add void to function declarations that need it
14760                         to match patch from Engin AYDOGAN
14761
14762         * src/backends/interface_parser.h
14763                 - Remove unused prototype for ifparser_interfaces()
14764
14765         Patch from Engin AYDOGAN <engin@bzzzt.biz>
14766         * src/backends/interface_parser.h:
14767                 - Compile fixes for gcc 4.0.2 (add void)
14768
14769 2005-10-24  Dan Williams  <dcbw@redhat.com>
14770
14771         Patch from Tor Krill <tor@krill.nu>
14772         * src/named-manager/nm-named-manager.c
14773                 - Write more than just the first nameserver to /etc/resolv.conf
14774                 - Write out valid /etc/resolv.conf on exit
14775
14776 2005-10-21  Christopher Aillon  <caillon@redhat.com>
14777
14778         * gnome/applet/applet-dbus-vpn.c:
14779         Get rid of spurious newlines in debug console output
14780
14781 2005-10-21  Christopher Aillon  <caillon@redhat.com>
14782
14783         * src/backends/NetworkManagerGentoo.c:
14784         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
14785
14786 2005-10-20  Robert Love  <rml@novell.com>
14787
14788         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
14789           direct comparison of floating point values, which is never correct.
14790           Also some misc. cleanup.
14791
14792 2005-10-19  Robert Love  <rml@novell.com>
14793
14794         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
14795
14796 2005-10-19  Robert Love  <rml@novell.com>
14797
14798         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
14799           sensitivity of the buttons.  Specificaly, do the right thing if
14800           there are no entries.
14801
14802 2005-10-19  Christopher Aillon  <caillon@redhat.com>
14803
14804         * configure.in: Update check for adequate wireless-tools
14805         with an AC_TRY_COMPILE for the new symbols we use.
14806
14807 2005-10-19  Dan Williams  <dcbw@redhat.com>
14808
14809         * src/NetworkManagerDevice.c
14810                 - (process_scan_results): don't drop the last (or only)
14811                         access point we see
14812
14813 2005-10-19  Christopher Aillon  <caillon@redhat.com>
14814
14815         * src/backends/NetworkManagerSlackware.c:
14816         Patch from Nico <lordllucifer@gmail.com>
14817                 - Update the Slackware backend.
14818
14819 2005-10-18  Christopher Aillon  <caillon@redhat.com>
14820
14821         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
14822         if we've got GLib 2.8.0
14823
14824 2005-10-18  Robert Love  <rml@novell.com>
14825
14826         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
14827           function nm_schedule_state_change_signal_broadcast() when we
14828           deactivate a device, too.
14829
14830 2005-10-18  Robert Love  <rml@novell.com>
14831
14832         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
14833           be used uninitialized.
14834
14835 2005-10-18  Christopher Aillon  <caillon@redhat.com>
14836
14837         * test/libnm_glib_test.c: Test unregistering, too.
14838
14839 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14840
14841         * configure.in: Bump to 0.5.0
14842
14843 2005-10-17  Dan Williams  <dcbw@redhat.com>
14844
14845         * NetworkManager.h
14846                 - Remove WPA-related constants so they aren't part of the
14847                         upcoming release.
14848
14849 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14850
14851         * gnome/applet/applet.c:
14852         * gnome/applet/applet.h:
14853         Desensitize the 'Connection Information' menu item when there is
14854         no active connection.
14855
14856 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14857
14858         * gnome/libnm_glib/libnm_glib.c:
14859         Make libnm_glib_unregister_callback () actually unregister the callback
14860
14861 2005-10-17  Robert Love  <rml@novell.com>
14862
14863         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
14864           two seconds -- tries is updated every 1/10 of a second, not every
14865           second..
14866
14867 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14868
14869         * gnome/applet/applet-dbus-info.c:
14870         Let D-BUS know that we haven't handled a message when we haven't.
14871
14872 2005-10-17  Robert Love  <rml@novell.com>
14873
14874         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
14875           in order to remain 64-bit clean.
14876
14877 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14878
14879         * gnome/applet/applet-dbus-info.c:
14880         Find network encryption keys asynchronously
14881
14882 2005-10-17  Robert Love  <rml@novell.com>
14883
14884         * src/backends/NetworkManagerDebian.c,
14885           src/backends/NetworkManagerRedHat,
14886           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
14887           comment delimiter.
14888
14889 2005-10-17  Robert Love  <rml@novell.com>
14890
14891         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
14892           "/etc"
14893
14894 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14895
14896         * src/NetworkManagerDevice.c: (process_scan_results)
14897         Fix logic that checks to see whether we have an ESSID.
14898
14899 2005-10-15  Dan Williams  <dcbw@redhat.com>
14900
14901         Move scanning code into NetworkManager rather than use iwlib's
14902         iw_scan() function, so that we can figure out AP capabilities.
14903
14904         * NetworkManager.h
14905                 - Add AP capability bits
14906
14907         * src/NetworkManagerAP.[ch]
14908                 - Add capability field to NMAccessPoint structure
14909                 - Add WPA & RSN Information Element fields and accessor
14910                         functions to NMAccessPoint
14911
14912         * src/NetworkManagerDevice.c
14913                 - Remove usage of iw_scan
14914                 - Add scanning code to NetworkManager rather than use
14915                         iw_scan() from iwlib
14916
14917         * src/NetworkManagerUtils.[ch]
14918                 - (nm_dispose_scan_results): remove, unused
14919
14920 2005-10-14  Christopher Aillon  <caillon@redhat.com>
14921
14922         * gnome/libnm_glib/libnm_glib.c:
14923         * gnome/libnm_glib/libnm_glib.h:
14924         Use guint instead of gint for callback IDs.
14925
14926 2005-10-12  Christopher Aillon  <caillon@redhat.com>
14927
14928         * gnome/applet/applet.c:
14929         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
14930         every 1000ms.  It will unconditionally call nmwa_update_state which
14931         kills the existing animation timeout and registers a new one with a
14932         callback to draw a new frame every 100ms.  There are 11 connecting
14933         icon frames, so the last 2 frames kept getting dropped.  Only reset
14934         the animation timeout if we aren't animating.
14935
14936 2005-10-11  Dan Williams  <dcbw@redhat.com>
14937
14938         * gnome/applet/applet-dbus-devices.c
14939                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
14940                         We want to grab the product & vendor from net.physical_dev
14941                         rather than info.parent.
14942
14943 2005-10-11  Dan Williams  <dcbw@redhat.com>
14944
14945         * src/NetworkManagerDevice.c
14946                 - Use the driver's WE version for scanning rather than
14947                         the WE version NM was compiled with.  Fixes random
14948                         crashes in iw_scan () in iwlib.
14949
14950 2005-10-10  Dan Williams  <dcbw@redhat.com>
14951
14952         * Remove nm_system_load_device_modules() from backend files
14953                 and from NetworkManager.c
14954
14955 2005-10-10  Dan Williams  <dcbw@redhat.com>
14956
14957         * src/NetworkManagerPolicy.c
14958                 - Fix some bugs introduced by the capabilities patch
14959
14960 2005-10-10  Dan Williams  <dcbw@redhat.com>
14961
14962         * gnome/applet/applet-dbus-info.c
14963                 - (nmi_dbus_get_network_key): hide the menu when putting up
14964                         the keyring dialog.  (not sure if the code is right...)
14965
14966 2005-10-09  Dan Williams  <dcbw@redhat.com>
14967
14968         Patch from Bill Moss <bmoss@clemson.edu>
14969         * src/NetworkManagerDevice.c
14970                 - (nm_device_set_user_key_for_network): don't try to set auth
14971                         mode on the AP from the allowed list if it's NULL
14972
14973 2005-10-09  Dan Williams  <dcbw@redhat.com>
14974
14975         * Replace the "driver support level" stuff with capabilities.  The
14976                 capability field is a bitfield that is more flexible than the
14977                 old driver support level thing.  It's mostly so we can easily
14978                 figure out what supports WPA and what doesn't, but should be
14979                 quite useful later.
14980
14981 2005-10-09  Dan Williams  <dcbw@redhat.com>
14982
14983         * test/nmtest.c
14984                 - Removed
14985
14986         * test/nm-tool.c
14987           test/Makefile.am
14988                 - Added new "nm-tool" tool that gives quite a bit more
14989                         information
14990
14991 2005-10-07  Robert Love  <rml@novell.com>
14992
14993         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
14994           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
14995           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
14996           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
14997           appropriate
14998
14999 2005-10-07  Robert Love  <rml@novell.com>
15000
15001         * configure.in: Change our compile flags for the betterment of mankind.
15002           Add "-Wstrict-prototypes" because we comply anyhow and missing a
15003           prototype is very bad on 64-bit platforms as types default to int but
15004           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15005           "-Wmissing-declarations" to warn if we define an exported function
15006           but fail to put it in a header.
15007
15008 2005-10-07  Robert Love  <rml@novell.com>
15009
15010         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15011           by the name nm_update_device_wireless_timeouts() and once tried,
15012           without success, to steal my pet turtle.
15013
15014 2005-10-07  Robert Love  <rml@novell.com>
15015
15016         * Cleanup prototypes: put some functions in header files and mark
15017           others as 'static' -- feel free to invert
15018         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15019           nm_vpn_manager_vpn_connection_list_copy()
15020         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15021           nm_vpn_service_get_dbus_connection()
15022         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15023           nm_vpn_manager_vpn_connection_list_copy()
15024         * src/vpn-manager/nm-vpn-service.c: make
15025           nm_vpn_service_act_request_failed() and
15026           nm_vpn_service_stage2_daemon_wait() static
15027         * src/vpn-manager/nm-vpn-service.h: add prototype for
15028           nm_vpn_service_get_dbus_connection()
15029
15030 2005-10-06  Christopher Aillon  <caillon@redhat.com>
15031
15032         * gnome/applet/applet.c:
15033         * gnome/applet/applet.h:
15034         * gnome/applet/icons/Makefile.am:
15035         Convey information about the current connection stage in the
15036         icons themselves instead of creating a separate progress bar.
15037
15038 2005-10-04  Robert Love  <rml@novell.com>
15039
15040         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15041           convert an ether_addr structure's MAC into a string, because the
15042           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15043           versus 07:3B:04, while the former will not.
15044
15045 2005-10-04  Robert Love  <rml@novell.com>
15046
15047         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15048           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15049           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15050           default route in the 'Connection Information' dialog, send primary
15051           and secondary name servers in in "getProperties" DBUS method, add
15052           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
15053           secondary domain name servers are crucial pieces of information
15054           that a user might need in debugging a network problem.
15055
15056 2005-10-04  Robert Love  <rml@novell.com>
15057
15058         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15059           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15060           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15061           default route in the 'Connection Information' dialog, send default
15062           route in "getProperties" DBUS method, add network_device_set_route(),
15063           and network_device_get_route().  The Gateway is a crucial piece of
15064           connection-related information that a user might need in debugging a
15065           network problem.
15066
15067 2005-10-03  Robert Love  <rml@novell.com>
15068
15069         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15070           NULL.
15071
15072 2005-10-02  Dan Williams  <dcbw@redhat.com>
15073
15074         * Shorten time taken to sleep by fastpathing bits of device deactivation
15075                 necessary for sleep.
15076
15077         * Fix issue where deactivating a device might deactivate the active
15078                 VPN connection, even if the VPN was not using the device.
15079
15080 2005-10-02  Dan Williams  <dcbw@redhat.com>
15081
15082         * gnome/applet/applet.c
15083                 - Adjust signal strength -> icon mapping values slightly
15084                         (so that 51% signal doesn't show a 75% icon) by adding
15085                         5% to the values. ex: > 5% now shows 25% icon, > 30%
15086                         shows 50% icon, etc.
15087
15088 2005-09-29  Robert Love  <rml@novell.com>
15089
15090         * src/NetworkManager.c: removed unused variable.
15091
15092 2005-09-28  Dan Williams  <dcbw@redhat.com>
15093
15094         Support for named + DBus, using Red Hat DBus patches for named.  You
15095         can find those patches here, with "dbus" in the patch's filename:
15096
15097                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15098
15099         Don't forget the named dbus service file either.
15100
15101         Instead of writing a config file and spawing a named process, NM will
15102         use an already-running dbus-enabled named if it finds one.  NM will
15103         update named's forwarder configuration on the fly using dbus.
15104
15105         If there is no dbus-enabled named running, NM will automatically fall
15106         back to writing the most-recent DNS server information to /etc/resolv.conf
15107         and calling nm_system_update_dns() to kick the system's resolver.
15108
15109         Accordingly, all named-related configure-time options have been removed.
15110
15111 2005-09-26  Robert Love  <rml@novell.com>
15112
15113         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15114           ISDN support!
15115         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15116           bug in error path if "ASKPASSWORD" is "no".
15117
15118 2005-09-26  Robert Love  <rml@novell.com>
15119
15120         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15121           comment in /etc/resolv.conf -- ';' is not.
15122
15123 2005-09-19  Dan Williams  <dcbw@redhat.com>
15124
15125         * src/backends/NetworkManagerRedHat.c:
15126         * src/backends/NetworkManagerDebian.c:
15127         * src/backends/NetworkManagerSlackware.c:
15128         * src/backends/NetworkManagerGentoo.c:
15129         * src/backends/NetworkManagerSUSE.c:
15130         Fix invocations of "/sbin/ip address" to use short form instead
15131
15132 2005-09-19  Christopher Aillon  <caillon@redhat.com>
15133
15134         * src/nm-dbus-device.c: Don't assert when getting
15135         addresses of a not yet connected interface.
15136
15137         * gnome/applet/applet.c: Free icons if loading fails.
15138         Use translator-credits so translators can make themselves known.
15139
15140 2005-09-15  Christopher Aillon  <caillon@redhat.com>
15141
15142         * src/NetworkManagerAP.c:
15143         * src/NetworkManagerAP.h:
15144         * src/NetworkManagerDevice.c:
15145         Set a blacklist for certain common manufacturer default ESSIDs:
15146         APs with these ESSIDs are extremely likely to be completely
15147         different networks: connecting to one should not make NM
15148         auto-connect to every other AP with the same default ESSID.
15149
15150 2005-09-12  Christopher Aillon  <caillon@redhat.com>
15151
15152         * gnome/applet/wireless-applet.glade:
15153         The passphrase entry should also activate the default
15154
15155         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15156
15157         * gnome/applet/applet-dbus-devices.c:
15158         * gnome/applet/applet.c:
15159         * gnome/applet/nm-device.c:
15160         * gnome/applet/nm-device.h:
15161         * src/NetworkManagerUtils.c:
15162         * src/NetworkManagerUtils.h:
15163         * src/nm-dbus-device.c:
15164         I've got a fever, and the only cure for it is less ioctl.
15165         Make NM push IP data rather than make the applet open a socket
15166         to the device.
15167
15168 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15169
15170         * gnome/applet/applet.c:
15171         * gnome/applet/applet-dbus-devices.c:
15172         * gnome/applet/applet-dbus-info.c:
15173         * gnome/applet/passphrase-dialog.c:
15174         * gnome/libnm_glib/libnm_glib.c:
15175         * gnome/vpn-properties/nm-vpn-properties.c:
15176         * src/autoip.c:
15177         * src/backends/NetworkManagerRedHat.c:
15178         * src/named-manager/nm-named-manager.c:
15179         * src/NetworkManagerAPList.c:
15180         * src/NetworkManager.c:
15181         * src/NetworkManagerDbus.c:
15182         * src/NetworkManagerDevice.c:
15183         * src/NetworkManagerPolicy.c:
15184         * src/NetworkManagerSystem.c:
15185         * src/nm-dbus-device.c:
15186         * src/nm-dbus-nm.c:
15187         * src/vpn-manager/nm-vpn-manager.c:
15188         * src/vpn-manager/nm-vpn-service.c:
15189         * test/libnm_glib_test.c:
15190         * test/nminfotest.c:
15191         * test/nmtestdevices.c:
15192         Fix a bunch of 'unused variable' compiler warnings
15193
15194         * NetworkManager.h:
15195         * gnome/applet/applet-dbus-info.c:
15196         * gnome/applet/applet-dbus-info.h:
15197         * gnome/applet/applet.c:
15198         * gnome/applet/applet.h:
15199         * src/NetworkManager.c:
15200         * src/NetworkManagerDbus.c:
15201         * src/NetworkManagerDbus.h:
15202         * src/NetworkManagerDevice.c:
15203         * src/NetworkManagerDevice.h:
15204         * src/NetworkManagerMain.h:
15205         * src/NetworkManagerWireless.c:
15206         * src/NetworkManagerWireless.h:
15207         * src/nm-dbus-nm.c:
15208         Make NetworkManager be smart about how frequently to scan
15209         based on its current state.  Remove the UI for choosing when
15210         to scan.  Scanning still may disabled completely by the user
15211         via the "Wireless Enabled" menu item.
15212
15213 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15214
15215         * gnome/applet/applet.c:
15216         Also overlay the vpn connecting icons onto the wired icon,
15217         when appropriate.
15218
15219         * gnome/vpn-properties/nm-vpn-properties.glade:
15220         Clean up a few strings to use better grammar and proper casing.
15221
15222 2005-09-08  Christopher Aillon  <caillon@redhat.com>
15223
15224         * gnome/applet/vpn-connection.c:
15225         * gnome/applet/vpn-connection.h:
15226         Add nmwa_vpn_connection_is_activating ()
15227
15228         * gnome/applet/applet.c:
15229         * gnome/applet/applet.h:
15230         * gnome/applet/icons/nm-vpn-connecting*.png:
15231         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15232         the user know something's happening between clicking the VPN item and it
15233         actually being connected.
15234
15235 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15236
15237         * gnome/applet/applet-dbus-info.c: need to free attributes in the
15238         failure case as well.
15239
15240 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
15241
15242         * gnome/panel/eggtrayicon.[ch]:
15243         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15244
15245 2005-09-07  Dan Williams  <dcbw@redhat.com>
15246
15247         Patch from Bill Moss <bmoss@clemson.edu>
15248         * src/applet-dbus.c
15249                 - (nmwa_dbus_filter): strip whitespace from beginning
15250                         and end of VPN login banner
15251
15252 2005-09-07  Dan Williams  <dcbw@redhat.com>
15253
15254         * The great VPN Manager rewrite of 2005
15255
15256 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15257
15258         * gnome/applet/menu-items.c:
15259         * gnome/applet/nm-device.c:
15260         * gnome/applet/wireless-network.c:
15261         * gnome/libnm_glib/libnm_glib.c:
15262         * src/NetworkManagerDbusUtils.c:
15263         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15264         g_malloc0 doesn't return NULL
15265
15266 2005-09-06  Dan Williams  <dcbw@redhat.com>
15267
15268         Patch from Tomislav Vujec <tvujec@redhat.com>
15269         * src/NetworkManagerDevice.c
15270                 - (nm_get_device_by_udi): don't return a device when we
15271                         actually didn't find what we were looking for
15272
15273 2005-09-06  Christopher Aillon  <caillon@redhat.com>
15274
15275         * gnome/applet/applet-dbus-devices.c:
15276         * gnome/applet/applet-dbus-devices.h:
15277         * gnome/applet/applet-dbus.c:
15278         * src/NetworkManagerDbus.c:
15279         * src/NetworkManagerDbus.h:
15280         * src/NetworkManagerDevice.c:
15281         * src/nm-dbus-device.c:
15282         Make NM push updates about active device strength when it changes,
15283         rather than having the applet poll every 2s.
15284
15285 2005-09-05  Christopher Aillon  <caillon@redhat.com>
15286
15287         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15288         network_device_set_strength
15289
15290 2005-09-04  Dan Williams  <dcbw@redhat.com>
15291
15292         Patch from Bill Nottingham <notting@redhat.com>
15293         * src/NetworkManagerDevice.c
15294                 - (nm_device_activation_cancel): reset the quit_activation flag
15295
15296 2005-09-04  Dan Williams  <dcbw@redhat.com>
15297
15298         * src/nm-activation-request.c
15299                 - (nm_act_request_unref): actually free the structure,
15300                         which we didn't seem to be doing before
15301
15302 2005-09-04  Dan Williams  <dcbw@redhat.com>
15303
15304         Patch from John Palmieri <johnp@redhat.com>
15305         * gnome/applet/applet-dbus-devices.c
15306                 - Fix up unreffing of DBusMessage objects
15307
15308 2005-09-04  Dan Williams  <dcbw@redhat.com>
15309
15310         Patch from John Palmieri <johnp@redhat.com>
15311         * gnome/applet/nm-device.c
15312                 - (nm_device_unref): clear network_device's memory _before_ freeing it
15313
15314 2005-09-02  Christopher Aillon  <caillon@redhat.com>
15315
15316         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15317
15318 2005-09-02  Bill Nottingham  <notting@redhat.com>
15319
15320         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15321
15322 2005-09-01  Dan Williams  <dcbw@redhat.com>
15323
15324         * src/NetworkManager.c
15325                 - (nm_remove_device_from_list): rename to nm_remove_device
15326                 - (nm_hal_device_removed): call nm_remove_device()
15327
15328         * src/NetworkManagerDevice.c
15329                 - Change the NMWirelessScanCB member 'reschedule' which
15330                         wasn't used to 'force' to indicate that we need to
15331                         force a scan when adding a device
15332
15333         * src/nm-dbus-nm.c
15334                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15335                         from the device list
15336                 - (nm_dbus_nm_wake): Re-add all devices to the device list
15337
15338 2005-09-01  Robert Love  <rml@novell.com>
15339
15340         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15341           and the check "!iface" in the error case is probably never true.
15342
15343 2005-09-01  Dan Williams  <dcbw@redhat.com>
15344
15345         Patch from Bill Nottingham <notting@redhat.com>
15346         * src/backends/NetworkManagerRedHat.c
15347                 - Add initial dialup support to Red Hat/Fedora backend
15348
15349 2005-09-01  Dan Williams  <dcbw@redhat.com>
15350
15351         * gnome/applet/applet-dbus-devices.c
15352                 - Sort both wireless networks and devices again, which got
15353                         broken when removing threading
15354
15355 2005-09-01  Christopher Aillon  <caillon@redhat.com>
15356
15357         * gnome/applet/applet.c:
15358         Only show the "Stop/Start All Wireless Devices" menuitem
15359         if we actually have wireless devices.
15360
15361         * gnome/applet/applet-dbus-info.c:
15362         * gnome/applet/applet.c:
15363         * gnome/applet/other-network-dialog.c:
15364         * gnome/applet/vpn-password-dialog.c:
15365         Drop the gtk_dialog_run () calls in favor of connecting to
15366         "response" signals, needed now that the applet is not threaded.
15367
15368 2005-08-31  Dan Williams  <dcbw@redhat.com>
15369
15370         Patch from Bill Moss <bmoss@clemson.edu>
15371         * src/NetworkManagerDevice.c
15372                 - (nm_device_wireless_scan): fix scan timeout values
15373
15374 2005-08-30  Dan Williams  <dcbw@redhat.com>
15375
15376         * gnome/applet/wireless-applet.glade
15377                 - HIG-ify the Other Wireless Networks dialog a bit more
15378                 - Fix some potential segfaults in the info dialog
15379
15380 2005-08-30  Dan Williams  <dcbw@redhat.com>
15381
15382         * gnome/applet/applet-dbus-devices.c
15383                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15384
15385 2005-08-30  Dan Williams  <dcbw@redhat.com>
15386
15387         * gnome/applet/applet-dbus.[ch]
15388                 - Remove all the nmwa_dbus_call_method_xxxx functions since
15389                         they weren't being used anyway
15390
15391 2005-08-30  Bastien Nocera  <hadess@hadess.net>
15392
15393         * test/nmtestdevices.c: (print_usage), (main):
15394         Check the number of arguments, and fix a typo
15395
15396 2005-08-29  Dan Williams  <dcbw@redhat.com>
15397
15398         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15399         * gnome/applet/applet.c
15400                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15401
15402 2005-08-29  Dan Williams  <dcbw@redhat.com>
15403
15404         * gnome/applet/*
15405                 - Don't use threads any more.  Anything that blocks
15406                         (like gtk_dialog_run()) will  have to get fixed up which
15407                         should happen quickly.  We really only had threads to make
15408                         the animation smooth, and when everything got converted over
15409                         to DBus Pending Calls, the need for threads kind of went away
15410
15411 2005-08-29  Christopher Aillon  <caillon@redhat.com>
15412
15413         * gnome/applet/applet.c: Draw VPN connections as radio items
15414         since we don't yet support multiple VPNs.
15415         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15416         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15417
15418 2005-08-29  Dan Williams  <dcbw@redhat.com>
15419
15420         Patch from j@bootlab.org
15421         - Make --without-named work
15422         - Make --with-dhcdbd work correctly
15423
15424 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
15425
15426         * configure.in: Added "ca" to ALL_LINGUAS.
15427
15428 2005-08-26  Christopher Aillon  <caillon@redhat.com>
15429
15430         * Fix up VPN state handling between the applet and NetworkManager,
15431                 so that the applet doesn't show a VPN as connected when one
15432                 really is not
15433                         - The applet no longer has a pointer to the active VPN's
15434                                 name, but tracks each VPNs state individually
15435                         - NM no longer has a "getActiveVPNConnection" method
15436                         - NM no longer broadcasts the "VPNConnectionChange" signal
15437                         - NM now broadcasts a "VPNConnectionStateChange" signal
15438                                 whenever the state of a VPN changes
15439
15440 2005-08-26  Dan Williams <dcbw@redhat.com>
15441
15442         * gnome/applet/applet-dbus-devices.c
15443           gnome/applet/applet-dbus-vpn.c
15444                 - Remove calls to dbus_pending_call_ref() because we already
15445                         "own" the pending call
15446                 - Remove calls to dbus_pending_call_get_completed() because
15447                         when we are in the callback, the pending call is completed
15448                         by definition
15449
15450 2005-08-22  Dan Williams <dcbw@redhat.com>
15451
15452         Patch by Bill Moss <bmoss@clemson.edu>
15453         * src/dhcp-manager/nm-dhcp-manager.c
15454                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15455                         some time to send out a RELEASE if they like
15456
15457 2005-08-22  Dan Williams <dcbw@redhat.com>
15458
15459         Noticed by Bill Moss <bmoss@clemson.edu>
15460         * src/NetworkManagerDbus.c
15461                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15462                         instead of just cancelling its activation
15463
15464         * src/NetworkManagerDevice.c
15465                 - (nm_device_deactivate): some small cleanups
15466                 - (nm_device_set_user_key_for_network): deactivate the device
15467                         instead of just cancelling its activation
15468
15469 2005-08-22  Dan Williams <dcbw@redhat.com>
15470
15471         Noticed by Bill Moss <bmoss@clemson.edu>
15472         * src/NetworkManagerDevice.c
15473                 - (nm_device_wireless_scan): fix scan timeout, we were
15474                         waiting way too long for scans to complete
15475
15476 2005-08-22  Dan Williams <dcbw@redhat.com>
15477
15478         Patch from j@bootlab.org:
15479         * src/backends/NetworkManagerDebian.c
15480                 - Make the Debian backend work for static IP again
15481
15482 2005-08-20  Christopher Aillon  <caillon@redhat.com>
15483
15484         * gnome/applet/other-network-dialog.c:
15485         The "Create New Network" and "Connect to Other Network"
15486         dialogs share alot of code, but shouldn't share a window
15487         title.  Give them different ones.
15488
15489         * gnome/applet/wireless-applet.glade:
15490         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15491         Some more minor UI tweaks.
15492
15493 2005-08-19  Christopher Aillon  <caillon@redhat.com>
15494
15495         * gnome/applet/other-network-dialog.c:
15496         * gnome/applet/wireless-applet.glade:
15497         Also need mnemonic widgets, and underline enabled.
15498
15499 2005-08-19  Dan Williams <dcbw@redhat.com>
15500
15501         * vpn-daemons/vpnc/nm-vpnc-service.c
15502                 - (vpnc_watch_cb): remove no-longer-relevant comment
15503                 - (write_config_option): new function, helper to write
15504                         config options to vpnc's stdin
15505                 - (nm_vpnc_config_write): use the new helper, make the
15506                         code shorter
15507
15508 2005-08-19  Christopher Aillon <caillon@redhat.com>
15509
15510         * gnome/applet/passphrase-dialog.c:
15511         * gnome/applet/wireless-applet.glade:
15512         Make the passphrase dialog response based, and treat
15513         responses other than OK (such as Esc, [X]) as a cancel.
15514
15515 2005-08-18  Christopher Aillon <caillon@redhat.com>
15516
15517         * initscript/Gentoo/NetworkManager:
15518         * initscript/RedHat/NetworkManager:
15519         * initscript/RedHat/NetworkManagerDispatcher:
15520         * initscript/SUSE/networkmanager:
15521         CVS remove these in place of .in replacements
15522
15523         * configure.in:
15524         * initscript/Gentoo/NetworkManager.in:
15525         * initscript/RedHat/NetworkManager.in:
15526         * initscript/RedHat/NetworkManagerDispatcher.in:
15527         * initscript/SUSE/networkmanager.in:
15528         These scripts now are generated so they work still when
15529         NM is built using a bindir other than /usr/bin
15530
15531 2005-08-18  Dan Williams <dcbw@redhat.com>
15532
15533         * gnome/applet/main.c
15534                 - Revert previous change for --no-session since
15535                         --sm-disable does the same thing
15536
15537 2005-08-18  Dan Williams <dcbw@redhat.com>
15538
15539         * gnome/applet/applet-dbus-info.c
15540                 - (nmi_dbus_create_error_message): new function
15541                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15542                         functions.  Also don't check for both device _and_ network before
15543                         asking for a user's key, because we may not have gotten all our
15544                         networks back from NM quite yet (due to the dbus pending calls
15545                         coming in later).  Fixes a hang in NM/nm-applet.
15546
15547         * src/NetworkManagerDbus.c
15548                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15549                         slightly more sane manner, even though we are still broken for
15550                         certain other error conditions.
15551                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15552                         to the info-daemon too
15553
15554         * src/NetworkManagerDevice.c
15555                 - Fix some debug messages to be info messages instead
15556
15557 2005-08-18  Dan Williams <dcbw@redhat.com>
15558
15559         * gnome/applet/main.c
15560                 - Add new "--no-session" parameter that disables applet
15561                         session management, ie for testing
15562
15563 2005-08-18  Christopher Aillon <caillon@redhat.com>
15564
15565         * gnome/applet/other-network-dialog.c:
15566         * gnome/applet/wireless-applet.glade: More mnemonics
15567
15568 2005-08-17  Robert Love  <rml@novell.com>
15569
15570         * initscript/SUSE/networkmanager: update
15571
15572 2005-08-17  Dan Williams  <dcbw@redhat.com>
15573
15574         * Tag NM_0_4_1_RELEASE
15575
15576 2005-08-17  Christopher Aillon  <caillon@redhat.com>
15577
15578         * gnome/applet/applet.c: More translatable string cleanup
15579
15580
15581 2005-08-17  Dan Williams  <dcbw@redhat.com>
15582
15583         * gnome/applet/applet-dbus-info.c
15584                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15585                         from the dbus message, which tells us to unconditionally
15586                         ask the user for a new key.  Otherwise, we pull the key from
15587                         the keyring and return it.  If we fail to get the key from the
15588                         keyring, we ask the user for a new key.
15589                 - (nmi_dbus_get_network_key): new function to grab the key for
15590                         an essid from the keyring.
15591                 - (nmi_dbus_get_network_properties): don't access the keyring here.
15592                         Also, don't return any key in the dbus message.
15593
15594         * src/NetworkManagerDbus.[ch]
15595                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
15596                         indicate that we unconditionally want a new key.  This function
15597                         is now also used to get keys from the info-daemon which are
15598                         pre-stored, not just for asking the user for a new key.  The
15599                         "new_key" parameter indicates whether or not we wish to ask the
15600                         user for a new key.
15601                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
15602                         info-daemon in the return message, so use NULL instead.  The
15603                         key will be filled in at connect time by calling
15604                         nm_dbus_get_user_key_for_network()
15605
15606         * src/NetworkManagerDevice.c
15607                 - (nm_device_wireless_configure): update for "new_key" param to
15608                         nm_dbus_get_user_key_for_network().  We initially set new_key
15609                         to FALSE to see if we have a stored key in the info-daemon, but
15610                         if the connection is unsuccessful at this stage we request a
15611                         new one
15612
15613 2005-08-17  Dan Williams  <dcbw@redhat.com>
15614
15615         * gnome/applet/icons/nm-no-connection.png
15616           gnome/applet/icons/nm-device-wired.png
15617                 - Use Diana's new RJ45 connector icons
15618
15619 2005-08-17  Dan Williams  <dcbw@redhat.com>
15620
15621         * src/NetworkManagerPolicy.c
15622                 - (nm_policy_device_change_check): clarify switching rules if
15623                         both new and old devices are valid; mainly, don't switch
15624                         away from user-requested wireless connection back to a wired
15625                         one
15626
15627 2005-08-17  Dan Williams  <dcbw@redhat.com>
15628
15629         * gnome/applet/Makefile.am
15630                 - Relocate the applet to /usr/bin since it is no longer
15631                         executed by anything, but directly by the user
15632
15633 2005-08-17  Dan Williams  <dcbw@redhat.com>
15634
15635         Patch from Bill Moss <bmoss@clemson.edu>
15636
15637         * gnome/applet/applet-dbus-info.[ch]
15638                 - (nmi_save_network_info): save timestamp for network if it
15639                         was a change requested by the user
15640                 - (nmi_dbus_update_network_info): get user_requested from dbus
15641                         message and pass to nmi_save_network_info()
15642
15643         * gnome/applet/applet.c
15644                 - (nmwa_update_network_timestamp): remove
15645                 - (nmwa_menu_item_activate): don't set timestamp on networks
15646                         here, only after a successful connect in nmi_save_network_info()
15647
15648         * src/NetworkManagerDbus.[ch]
15649                 - (nm_dbus_update_network_info): pass user_requested into the 
15650                         dbus message
15651
15652         * src/NetworkManagerPolicy.c
15653                 - (nm_policy_activation_finish): pass user_requested to
15654                         nm_dbus_update_network_info()
15655
15656 2005-08-16  Robert Love  <rml@novell.com>
15657
15658         * gnome/applet/applet.c: Better "Dial Up" menu item.
15659
15660 2005-08-16  Robert Love  <rml@novell.com>
15661
15662         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
15663           "Connection Information" menu item.
15664
15665 2005-08-16  Dan Williams  <dcbw@redhat.com>
15666
15667         Patch from j@bootlab.org
15668         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
15669
15670         * configure.in: allow specifying the path to dhcdbd
15671
15672 2005-08-16  Robert Love  <rml@novell.com>
15673
15674         Patch from j@bootlab.org
15675         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
15676           src/backends/interface_parser.h: Debian dialup support.
15677
15678 2005-08-16  Christopher Aillon  <caillon@redhat.com>
15679
15680         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
15681         * gnome/applet/applet.c: Add some mnemonics for VPNC
15682
15683         * vpn-daemons/.cvsignore: fix this up a little bit
15684
15685 2005-08-16  Robert Love  <rml@novell.com>
15686
15687         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
15688           support.
15689
15690 2005-08-16  Christopher Aillon  <caillon@redhat.com>
15691
15692         * gnome/applet/applet.c: Split markup out of translatable strings
15693         and clean up logic a little bit.  (fixes #309012)
15694
15695 2005-08-15  Christopher Aillon  <caillon@redhat.com>
15696
15697         * gnome/vpn-properties/nm-vpn-properties.c:
15698         * gnome/vpn-properties/nm-vpn-ui-interface.h:
15699         * vpn-daemons/vpnc/properties/nm-vpnc.c:
15700         Makeshift fix to remove newlines from translatable strings.
15701         Note that we now return an allocated string, so callers of
15702         get_confirmation_details () must now call g_free () on the
15703         result. (fixes #309033).
15704
15705 2005-08-12  Robert Love  <rml@novell.com>
15706
15707         * gnome/applet/applet-dbus.c: remove newlines from translatable
15708           strings--not needed here anyway. (fix b.g.o #309011)
15709         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
15710
15711 2005-08-11  Robert Love  <rml@novell.com>
15712
15713         * gnome/applet/applet.c: mark string as translatable.
15714
15715 2005-08-11  Robert Love  <rml@novell.com>
15716
15717         * initscript/SUSE/networkmanager: update.
15718
15719 2005-08-11  Dan Williams  <dcbw@redhat.com>
15720
15721         * src/nm-dhcp-manager.c
15722                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
15723                         an gateway returned from DHCP, try to use the address of the DHCP
15724                         server as the gateway instead.  Found by Ralf Ertzinger.
15725
15726 2005-08-10  Robert Love  <rml@novell.com>
15727
15728         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
15729           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
15730
15731 2005-08-10  Dan Williams  <dcbw@redhat.com>
15732
15733         Patch from Bill Moss <bmoss@clemson.edu>
15734         * Consolidate writes of access point information updates to the info daemon
15735                 so that we only do it when the connection to the access point was
15736                 successful.  Also consolidates updates to GConf in the Gnome applet.
15737
15738         * src/nm-netlink-monitor.c
15739                 - Silence compile warning when calling g_object_new()
15740
15741 2005-08-08  Dan Williams  <dcbw@redhat.com>
15742
15743         Patch from Steev <steev@steev.net>:
15744         * src/backends/NetworkManagerGentoo.c
15745                 - Stub new dialup backend functions
15746
15747 2005-08-08  Dan Williams  <dcbw@redhat.com>
15748
15749         Patch from Colin Slater:
15750         * src/backends/NetworkManagerGentoo.c
15751                 - (nm_system_update_dns): Fix exit status check for restarting
15752                         nscd
15753
15754 2005-08-05  Robert Love  <rml@novell.com>
15755
15756         * NetworkManager.h,
15757           gnome/applet/applet-dbus-devices.c,
15758           gnome/applet/applet-dbus-devices.h,
15759           gnome/applet/applet-dbus.c,
15760           gnome/applet/applet.c,
15761           gnome/applet/applet.h,
15762           src/NetworkManager.c,
15763           src/NetworkManagerMain.h,
15764           src/NetworkManagerSystem.h,
15765           src/backends/NetworkManagerRedHat.c,
15766           src/backends/NetworkManagerSuSE.c,
15767           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
15768
15769 2005-08-05  Robert Love  <rml@novell.com>
15770
15771         * gnome/applet/other-network-dialog.c: default the adhoc network to the
15772           machine's hostname to make adhoc creation idiot-proof.
15773
15774 2005-08-04  Robert Love  <rml@novell.com>
15775
15776         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
15777           freed.
15778
15779 2005-08-04  Dan Williams  <dcbw@redhat.com>
15780
15781         * gnome/applet/applet-dbus-info.c
15782           gnome/applet/applet-dbus-info.h
15783                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
15784                         to store key, key type, and auth method rather than just auth method
15785                 - (nmi_dbus_update_network_info): new function
15786                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
15787
15788         * gnome/applet/passphrase-dialog.c
15789                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
15790                         of saving the info ourselves
15791
15792         * gnome/libnm_glib/libnm_glib.c
15793                 - Remove the stupid version check for dbus
15794
15795         * src/NetworkManagerAP.c
15796           src/NetworkManagerAP.h
15797                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
15798
15799         * src/NetworkManagerDbus.c
15800           src/NetworkManagerDbus.h
15801                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
15802                         more than just the auth method
15803
15804         * src/NetworkManagerDevice.c
15805                 - Update network info at the appropriate times
15806
15807 2005-07-29  Ray Strode  <rstrode@redhat.com>
15808
15809         * src/NetworkManager.c (nm_info_handler): don't use input as format
15810         string (Spotted by Ian Jackson).
15811
15812 2005-07-27  Dan Williams  <dcbw@redhat.com>
15813
15814         * src/nm-dbus-nm.c
15815           src/nm-dbus-net.c
15816                 - Random cleanups of spacing
15817
15818         * gnome/applet/applet.h
15819           gnome/applet/other-network-dialog.c
15820           gnome/applet/passphrase-dialog.c
15821                 - Conslidate usage of NMWAEncryptionKeyTypes enum
15822
15823         Patch from Bill Moss:
15824                 - Make Other Wireless Networks work again with encryption keys
15825
15826 2005-07-26  Dan Williams  <dcbw@redhat.com>
15827
15828         Patch from Steev <steev@steev.net>:
15829         * src/backends/NetworkManagerGentoo.c
15830           src/backends/Makefile.am
15831                 - Fix up Gentoo backend
15832
15833 2005-07-26  Robert Love  <rml@novell.com>
15834
15835         * src/backends/NetworkManagerSuSE.c: misc. cleanup
15836
15837 2005-07-25  Robert Love  <rml@novell.com>
15838
15839         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
15840           in the same group as the wireless networks, since they are all
15841           mutually exclusive.
15842
15843 2005-07-24  Ray Strode  <rstrode@redhat.com>
15844
15845         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
15846         remove unneeded NULL arg from g_object_new().  Any
15847         warnings caused by not having the extra NULL are just a
15848         result of a bug in glib 2.7.0 - 2.7.2.
15849
15850 2005-07-22  Robert Love  <rml@novell.com>
15851
15852         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
15853
15854 2005-07-22  Robert Love  <rml@novell.com>
15855
15856         * src/nm-netlink-monitor.c: g_object_new() needs at least three
15857           parameters (gcc 4.0.2 warning fix).
15858
15859 2005-07-18  Robert Love  <rml@novell.com>
15860
15861         Suggested by Aaron Bockover (abockover@novell.com)
15862         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
15863           s/Ascii/ASCII
15864         * gnome/applet/passphrase-dialog.c: ditto
15865         * gnome/applet/wireless-applet.glade: ditto
15866
15867 2005-07-13  Dan Williams  <dcbw@redhat.com>
15868
15869         Patch from Ray Strode <halfline@gmail.com>
15870         * vpn-daemons/vpnc/nm-vpnc-service.c
15871                 - Don't let vpnc daemonize, fixes some races with PID file reading
15872
15873 2005-07-13  Dan Williams  <dcbw@redhat.com>
15874
15875         Patch from Ray Strode <halfline@gmail.com>
15876         * Random cleanups for strict CFLAGS
15877
15878 2005-07-07  Dan Williams  <dcbw@redhat.com>
15879
15880         Patch from Derek Atkins <warlord@MIT.EDU>
15881         * src/nm-dbus-net.c:
15882                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
15883
15884 2005-07-07  Dan Williams  <dcbw@redhat.com>
15885
15886         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
15887         * src/backends/NetworkManagerGentoo.c
15888                 - Gentoo backend Static IP nameserver fixes
15889                 - General Gentoo backend goodness
15890
15891 2005-07-07  Dan Williams  <dcbw@redhat.com>
15892
15893         Patch from Bastien Nocera:
15894         * gnome/applet/applet.c
15895                 - Fix up error reporting when icons or glade files are missing
15896
15897 2005-07-07  Robert Love  <rml@novell.com>
15898
15899         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
15900           are not any VPN connections above it.
15901
15902 2005-07-07  Robert Love  <rml@novell.com>
15903
15904         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
15905
15906 2005-07-05  Robert Love  <rml@novell.com>
15907
15908         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
15909           zero.
15910
15911 2005-07-05  Robert Love  <rml@novell.com>
15912
15913         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
15914           on wired or unencrypted wireless.
15915
15916 2005-07-01  Robert Love  <rml@novell.com>
15917
15918         * src/NetworkManagerSystem.c: Print the error via strerror().
15919
15920 2005-06-30  Robert Love  <rml@novell.com>
15921
15922         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
15923           then exit if the glade file is not found.  currently the application
15924           just hangs.
15925
15926 2005-06-30  Robert Love  <rml@novell.com>
15927
15928         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
15929           explicitly up all interfaces on wake from sleep.
15930
15931 2005-06-30  Robert Love  <rml@novell.com>
15932
15933         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
15934           with information about the currently active connection.
15935         * gnome/applet/applet.h: (ditto)
15936         * gnome/applet/wireless-applet.glade: (ditto), new file
15937
15938 2005-06-30  Robert Love  <rml@novell.com>
15939
15940         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
15941         * src/nm-dbus-nm.c: print when we sleep and wake up.
15942         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
15943         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
15944           in /sbin unless D-BUS is, folks).
15945         * README: update to reflect nm-applet replacing NetworkManagerInfo.
15946
15947 2005-06-27  Robert Love  <rml@novell.com>
15948
15949         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
15950           case.
15951
15952 2005-06-27  Robert Love  <rml@novell.com>
15953
15954         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
15955           items radios.
15956
15957 2005-06-26  Robert Love  <rml@novell.com>
15958
15959         * src/NetworkManagerDevice.c: be specific about which device in
15960           nm_info() message.
15961
15962 2005-06-23  Adam Weinberger  <adamw@gnome.org>
15963
15964         * src/nm-netlink-monitor.c: correct spelling error.
15965
15966 2005-06-23  Robert Love  <rml@novell.com>
15967
15968         * gnome/applet/applet-dbus-info.c: gnome keyring support!
15969         * gnome/applet/passphrase-dialog.c: more of that keyring!
15970
15971 2005-06-23  Robert Love  <rml@novell.com>
15972
15973         * configure.in: remove extraneous GNOMEKEYRING directives.
15974         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
15975         * gnome/applet/applet.c: nmwa_icons_init: make style local.
15976         * gnome/applet/passphrase-dialog.c: whitespace.
15977
15978 2005-06-23  Robert Love  <rml@novell.com>
15979
15980         * src/NetworkManagerDevice.c: division in assignment was flipped.
15981
15982 2005-06-23  David Zeuthen  <david@fubar.dk>
15983
15984         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
15985         signal to the child to indicate that we got what we wanted when we
15986         see two new-lines right after each other.
15987         (nmwa_vpn_request_password): Pass a structure with several members
15988         instead of just the passwords
15989
15990 2005-06-23  Dan Williams <dcbw@redhat.com>
15991
15992         * src/NetworkManager.c
15993           src/NetworkManagerMain.h
15994                 - (nm_get_hal_ctx): new function, move Hal initialization code here
15995                 - (nm_hal_init): new function, init libhal context then add devices
15996                 - (nm_hal_deinit): new function, clean up libhal context
15997                 - (nm_data_free): Move Hal cleanup here
15998                 - (main): check whether Hal is running, and if so, get a list of
15999                         network devices from it
16000
16001         * src/NetworkManagerDbus.c
16002                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16003                         and when it appears, get a list of network devices from it.  If
16004                         Hal goes away, clean up the libhal context
16005
16006 2005-06-22  Robert Love  <rml@novell.com>
16007
16008         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16009           permissions of scripts before executing.
16010
16011 2005-06-21  Robert Love  <rml@novell.com>
16012
16013         * initscript/SUSE/networkmanager: update.
16014         * src/backends/NetworkManagerSuSE.c: cleanup.
16015
16016 2005-06-21  Robert Love <rml@novell.com>
16017
16018         * gnome/applet/applet.c: use menu mnemonics.
16019         * gnome/applet/menu-items.c: (ditto)
16020
16021 2005-06-21  Robert Love  <rml@novell.com>
16022
16023         * applet/applet-dbus-devices.c: mark non-static functions static.
16024         * applet/applet-dbus-vpn.c: (ditto)
16025         * applet/applet.c: (ditto)
16026         * applet/nm-device.h: (ditto)
16027         * applet/other-network-dialog.c: (ditto)
16028         * applet/passphrase-dialog.c: (ditto)
16029         * NetworkManager.c: (ditto)
16030         * NetworkManagerDbus.c: (ditto)
16031         * NetworkManagerDevice.c: (ditto)
16032         * NetworkManagerPolicy.c: (ditto)
16033         * NetworkManagerUtils.c: (ditto)
16034         * NetworkManagerWireless.c: (ditto)
16035         * NetworkManagerWireless.h: (ditto)
16036         * nm-netlink-monitor.c: (ditto)
16037         * applet/applet-dbus-info.c: (ditto), add FIXME's.
16038         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16039         * autoip.c: include autoip.h.
16040         * autoip.h: new file.  define get_autoip().
16041         * nm-netlink-monitor.h: define nm_netlink_close_connection().
16042         * NetworkManagerDbus.h: remove duplicate definitions.
16043
16044 2005-06-20  Robert Love  <rml@novell.com>
16045
16046         * Makefile.am: Add missing intltool-foo.in generated files to
16047           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
16048           with the start of stuff to cleanup on 'distclea'.
16049         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16050           stuff right and 'distcheck' works.
16051         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
16052           we keep it, we need to add all of examples/* to EXTRA_DIST and do
16053           Makefile.am for each.  And systray/Makefile needs to be redone.
16054
16055 2005-06-19  Dan Williams <dcbw@redhat.com>
16056
16057         * src/NetworkManagerDevice.c
16058         - (nm_device_wireless_process_scan_results): scan every 20s when
16059           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16060
16061 2005-06-19  Dan Williams <dcbw@redhat.com>
16062
16063         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16064
16065 2005-06-18  Ray Strode <rstrode@redhat.com>
16066
16067         * src/nm-netlink-monitor.c 
16068         (nm_netlink_monitor_event_handler): check for the presence
16069         of either error condition not both. 
16070         
16071         (nm_netlink_monitor_error_handler): emit error signal if
16072         error occurs.
16073
16074         (nm_netlink_monitor_event_handler),
16075         (nm_netlink_monitor_error_handler),
16076         (nm_netlink_monitor_disconnect_handler): if an 
16077         assertion fails disconnect the event handler to prevent 
16078         infinite loops.
16079
16080         * src/nm-netlink-monitor.h: add new error condition
16081         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16082
16083 2005-06-18  Ray Strode <rstrode@redhat.com>
16084
16085         * src/nm-netlink-monitor.c 
16086         (nm_netlink_monitor_event_handler): remove bogus < 0
16087         check on unsigned value and return early if the kernel
16088         didn't send any bytes.
16089
16090 2005-06-17  Robert Love  <rml@novell.com>
16091
16092         * initscript/SUSE/networkmanager: Change the Provides and default
16093         run levels
16094
16095 2005-06-16  Dan Williams <dcbw@redhat.com>
16096
16097         Patch from Robert Love:
16098         * gnome/applet/applet.c
16099                 - Beautify some applet menu item names
16100
16101 2005-06-17  David Zeuthen  <davidz@redhat.com>
16102
16103         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16104         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16105         Also add new methods can_export, import_file and export.
16106
16107         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16108         to the main UI
16109
16110         * gnome/vpn-properties/nm-vpn-properties.c:
16111         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16112         nm-vpn-ui-interface.h.
16113         (update_edit_del_sensitivity): Also update "Export" sensitivity
16114         (add_vpn_connection): Also add new SVC_NAME column
16115         (import_settings): New function
16116         (retrieve_data_from_selected_connection): New function
16117         (edit_cb): Use retrieve_data_from_selected_connection to simplify
16118         this function
16119         (export_cb): New function
16120         (init_app): Also setup the "export" widget
16121         (main): Support the --import-service and --import-file commandline
16122         arguments
16123
16124         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16125         D-BUS 0.34
16126
16127 2005-06-16  Dan Williams <dcbw@redhat.com>
16128
16129         Patch from Robert Love:
16130         * gnome/applet/menu-items.c
16131                 - (network_menu_item_new): pass -1 as wireless network
16132                         menu items height size request rather than ascent / 2
16133
16134 2005-06-16  Dan Williams <dcbw@redhat.com>
16135
16136         * Clean up wording in Wireless Scan Methods menu items and constants
16137
16138 2005-06-16  Robert Love  <rml@novell.com>
16139
16140         * po/POTFILES.in
16141                 - remove gtkcell* files
16142
16143 2005-06-15  Dan Williams <dcbw@redhat.com>
16144
16145         Patch from Robert Love: make the applet stetic
16146
16147         * gnome/applet/Makefile.am
16148                 - Don't compile the gtkcellview and gtkcellrendererprogress files
16149
16150         * gnome/applet/gtkcellview.h
16151           gnome/applet/gtkcellview.c
16152           gnome/applet/gtkcellrendererprogress.h
16153           gnome/applet/gtkcellrendererprogress.c
16154                 - Removed
16155
16156         * gnome/applet/menu-items.c
16157                 - Progress bars are 5:1 size ratio
16158                 - Use GTK progress bars rather than internal ones
16159
16160 2005-06-15  Dan Williams <dcbw@redhat.com>
16161
16162         Patch from Robert Love:
16163         * initscript/SUSE/networkmanager
16164                 - Fix typo
16165
16166 2005-06-15  Dan Williams <dcbw@redhat.com>
16167
16168         * src/backends/NetworkManagerSuSE.c
16169           src/backends/NetworkManagerRedHat.c
16170           src/backends/NetworkManagerDebian.c
16171                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16172
16173 2005-06-15  Dan Williams <dcbw@redhat.com>
16174
16175         * src/backends/NetworkManagerDebian.c
16176                 - Add nm_system_device_get_use_dhcp() to debian backend
16177
16178         Patch from Kay Sievers:
16179         * src/backends/NetworkManagerSuSE.c
16180                 - Update debian backend for static IP nameservers
16181
16182         * src/NetworkManagerDevice.c
16183                 - Actually set the device to use static IP or DHCP rather
16184                         than always DHCP
16185
16186 2005-06-15  Dan Williams <dcbw@redhat.com>
16187
16188         Patch from Thom May:
16189         * src/backends/NetworkManagerDebian.c
16190                 - Update debian backend for static IP nameservers
16191
16192 2005-06-15  Dan Williams <dcbw@redhat.com>
16193
16194         Patches from Robert Love:
16195         * gnome/applet/wireless-applet.glade
16196                 - Tighten up wording
16197
16198         * src/NetworkManagerDevice.c
16199                 - Remove misplaced ';'
16200
16201         * configure.in
16202           initscript/Makefile.am
16203           initscript/SUSE/Makefile.am
16204           initscript/SUSE/networkmanager
16205                 - Add SUSE initscript
16206
16207 2005-06-12  David Zeuthen  <davidz@redhat.com>
16208
16209         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16210
16211         * gnome/vpn-properties/nm-vpn-properties.glade: New file
16212
16213         * gnome/vpn-properties/nm-vpn-properties.c: New file
16214
16215         * gnome/vpn-properties/Makefile.am: New file
16216
16217         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16218         array of passwords
16219
16220         * src/vpn-manager/nm-vpn-manager.c
16221         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16222         instead of just a single one
16223
16224         * src/vpn-manager/nm-dbus-vpn.c:
16225         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16226         here
16227         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16228
16229         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
16230         Change the interface here to give a list of passwords. Also, don't
16231         require username, but do require service
16232
16233         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16234         the binary for the auth-dialog and use that instead of putting up a
16235         dialog asking for a single password
16236
16237         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16238         however do remember the service
16239
16240         * gnome/applet/main.c (main): Setup i18n
16241
16242         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16243         connection to '%s'" to the tooltip if we are connected using VPN
16244         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16245         key to determine whether we the auth-dialog needs to
16246         reprompt. Also cope with the fact that the auth-dialog now returns
16247         an array of passwords.
16248         (nmwa_menu_configure_vpn_item_activate): New handler for
16249         "Configure VPN..." menu item
16250         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16251         (is_vpn_available): New function to determine if we got any
16252         NM-compatible VPN software installed
16253         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16254         items only if we have NM-compatible VPN software installed
16255         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16256         logic for detecting when VPN connections are removed
16257
16258         * gnome/applet/applet-dbus.h: Removed the prototypes for 
16259         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16260         since these are defined elsewhere
16261
16262         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16263         function used to keep track of whether the last attempt succeded
16264         (nmwa_dbus_filter): Update last_attempt according to whether the
16265         VPN connection could be established or not
16266
16267         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
16268         Change prototype to take an array of passwords, not just a single
16269         password
16270
16271         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16272         update service, not user
16273         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16274         dbus_active_vpn_name is not NULL before using it
16275         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16276         string array instead of assuming a single password
16277
16278         * gnome/applet/applet-dbus-info.c:
16279         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16280         user name; don't read from gconf
16281
16282         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
16283         VPN_NAME_FILES_DIR
16284
16285         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16286
16287         * configure.in: Add checks for gmodule-2.0.
16288         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16289         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16290         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
16291         for details
16292
16293         * vpn-daemons/Makefile.am: Removed
16294
16295         * vpn-daemons/README: New file to describe extensions points for VPN
16296         software
16297
16298 2005-06-10  Dan Williams <dcbw@redhat.com>
16299
16300         * src/backends/NetworkManagerRedHat.c
16301                 - (get_current_profile_name): new function, grab current network profile name from
16302                         /etc/sysconfig/network
16303                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16304                         update an IP4 Config structure's settings from it
16305                 - (nm_system_device_get_system_config): if we're using static IP on this device,
16306                         get DNS info from current network profile
16307
16308 2005-06-09  Dan Williams <dcbw@redhat.com>
16309
16310         Patch from Robert Love:
16311         * src/NetworkManagerDevice.c
16312           src/NetworkManagerUtils.c
16313                 - 64-bit build fixes
16314
16315 2005-06-09  Dan Williams <dcbw@redhat.com>
16316
16317         Patch from Kay Sievers and Robert Love:
16318         * configure.in
16319           src/backends/Makefile.am
16320           src/backends/NetworkManagerSuSE.c
16321                 - Add SuSE support
16322
16323 2005-06-09  Dan Williams <dcbw@redhat.com>
16324
16325         * NetworkManager.h
16326                 - Add NMWirelessScanMethod enum for scan methods
16327
16328         * gnome/applet/applet-dbus-devices.c
16329                 - (nmwa_dbus_update_scanning_enabled_cb): remove
16330                 - (nmwa_dbus_update_scanning_enabled): remove
16331                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16332                         since it got removed
16333                 - (nmwa_dbus_enable_scanning): remove
16334
16335         * gnome/applet/applet-dbus-info.c
16336                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16337                         update the wireless scanning method from NMI
16338                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16339                         method value to NetworkManager
16340                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16341
16342         * gnome/applet/applet-dbus-info.h
16343                 - Add prototype for nmi_dbus_signal_update_scan_method
16344
16345         * gnome/applet/applet.c
16346                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16347                         Wireless Scanning menu based on current wireless scan method
16348                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16349                         signal for Wireless Scanning menu items, tell NetworkManager the new method
16350                         and update our menu items to make sure the right one is checked
16351                 - (nmwa_set_scanning_enabled_cb): remove
16352                 - (nmwa_context_menu_update): remove references to pause_scanning_item
16353                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16354                         Scanning menu item
16355                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16356                         from GConf
16357                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16358                         so we get notified of preference values too
16359                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16360
16361         * gnome/applet/applet.h
16362                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16363                 - Add wireless scan method member to applet data
16364                 - Remove pause_scanning_item, add Wireless Scanning submenu
16365
16366         * src/NetworkManager.c
16367                 - (nm_data_new): default to NM_SCAN_METHOD_ON
16368                 - (main): grab scanning method from NMI if we can
16369
16370         * src/NetworkManagerDbus.c
16371                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16372                         nm_dbus_update_wireless_scan_method()
16373                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16374                         from NMI
16375                 - (nm_dbus_nmi_is_running): redundant function, removed
16376                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16377                         when NMI comes back
16378
16379         * src/NetworkManagerDevice.c
16380                 - (nm_device_is_activated): return TRUE if the device is activated
16381                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16382                         and we are activated
16383
16384         * src/nm-dbus-nm.c
16385                 - (nm_dbus_nm_set_scanning_enabled): removed
16386                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16387                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16388
16389 2005-06-09  Dan Williams <dcbw@redhat.com>
16390
16391         * NetworkManager.h
16392           src/vpn-manager/nm-vpn-service.c
16393                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16394
16395 2005-05-27  Dan Williams <dcbw@redhat.com>
16396
16397         * vpn-daemons/vpnc/nm-vpnc-service.c
16398                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16399                         Should fix the bug where the VPN connection terminates the first time.
16400
16401 2005-05-20  Dan Williams <dcbw@redhat.com>
16402
16403         * NetworkManager.h
16404                 - Differentiate VPN config signals between bad VPN config options
16405                         and bad IP config
16406
16407         * gnome/applet/applet-dbus-info.h
16408                 - Add prototypes for wireless network and vpn connection update functions
16409
16410         * gnome/applet/applet-dbus.c
16411                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16412
16413         * gnome/applet/applet.c
16414                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16415                         error signals
16416                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16417                         propogation to NetworkManager
16418                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16419                         notify propogation to NetworkManager
16420
16421         * src/NetworkManagerDbus.c
16422                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16423                         are updating so a network can be removed from it if necessary
16424
16425         * src/vpn-manager/nm-vpn-manager.c
16426                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16427
16428         * vpn-daemons/vpnc/nm-vpnc-service.c
16429                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16430                 - (nm_vpnc_dbus_signal_launch_failed): remove
16431                 - (nm_vpnc_dbus_signal_connect_failed): remove
16432                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16433                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16434                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16435                         for new generalized error signal function, remove config file stuff
16436                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16437                         we can write configuration options to it
16438                 - (nm_vpnc_config_file_generate): removed
16439                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16440                 - (nm_vpnc_config_options_validate): validate the config options we receive
16441                         from NetworkManager to block potential exploits
16442                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16443                         starting vpnc
16444                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16445                         to NetworkManager
16446
16447 2005-05-16  Dan Williams  <dcbw@redhat.com>
16448
16449         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16450                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16451                         is not "connect"
16452
16453 2005-05-16  Dan Williams  <dcbw@redhat.com>
16454
16455         Patch from Tomislav Vujec <tvujec@redhat.com>
16456         * gnome/applet/applet-dbus-info.c
16457                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16458                         GConf and pass them to NetworkManager.  New key is 'routes' under
16459                         the VPN connection, and should be a string list
16460
16461         * src/NetworkManagerSystem.c
16462                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16463                         set them on the device when we set the rest of the VPN config.  Ensure
16464                         they are in the correct format since they are passed directly to the
16465                         command line.
16466
16467         * src/backends/NetworkManagerRedHat.c
16468           src/backends/NetworkManagerDebian.c
16469                 - (nm_system_device_add_route_via_device_with_iface): new function
16470
16471         * src/vpn-manager/nm-dbus-vpn.c
16472                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16473
16474         * src/vpn-manager/nm-vpn-manager.c
16475                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16476                         them into the IP4 config functions
16477
16478 2005-05-15  Dan Williams  <dcbw@redhat.com>
16479
16480         From Filip Miletic:
16481         * po/sr.po
16482           po/sr@Latn.po
16483           configure.in
16484                 - Serbian translation added
16485
16486 2005-05-15  Dan Williams  <dcbw@redhat.com>
16487
16488         * dispatcher-daemon/NetworkManagerDispatcher.c
16489                 - (main): sync arguments with NetworkManager and the applet, now use
16490                         "--no-daemon" rather than "daemon=no"
16491                 - (nmd_print_usage): Fix script path in usage message
16492
16493 2005-05-15  Dan Williams  <dcbw@redhat.com>
16494
16495         * src/NetworkManagerDevice.[ch]
16496           src/NetworkManagerPolicy.c
16497           src/NetworkManager.c
16498           src/nm-dbus-nm.c
16499                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
16500                         longer send the DeviceNoLongerActive signal unconditionally, but only
16501                         when the device is actually active.
16502
16503         * dispatcher-daemon/NetworkManagerDispatcher.c
16504                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16505                         and simplify the logic
16506                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16507                         we free it later on
16508
16509         * initscript/RedHat/Makefile.am
16510           initscript/RedHat/NetworkManagerDispatcher
16511                 - Add initscript for NetworkManagerDispatcher
16512
16513
16514         Patch from Bill Moss:
16515         * dispatcher-daemon/NetworkManagerDispatcher.c
16516                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16517
16518         * src/NetworkManagerDbus.c
16519                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
16520                         and DeviceNowActive gets signaled, then the device has a new IP address
16521                         anyway.  There's no need for a separate signal.
16522
16523         * src/NetworkManagerDevice.c
16524                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16525
16526         * src/NetworkManagerPolicy.c
16527                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16528                         activates successfully.  This kind of went missing when I reworked the
16529                         activation code.
16530
16531 2005-05-15  Dan Williams  <dcbw@redhat.com>
16532
16533         * configure.in
16534                 - Check for dhcdbd and error if its not found
16535
16536         * src/dhcp-manager/Makefile.am
16537           src/dhcp-manager/nm-dhcp-manager.c
16538                 - Use path to dhcdbd that configure found
16539
16540 2005-05-14  Dan Williams  <dcbw@redhat.com>
16541
16542         * gnome/applet/nm-device.c
16543                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16544                         sort wireless networks alphabetically
16545
16546         * gnome/applet/applet-dbus-devices.c
16547                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16548                         before copying them over to the GUI
16549
16550 2005-05-14  Dan Williams  <dcbw@redhat.com>
16551
16552         * src/NetworkManager.c
16553                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16554                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
16555                         the device list, as does nm_get_active_device() which is called from
16556                         nm_vpn_manager_deactivate_vpn_connection().
16557
16558 2005-05-14  Dan Williams  <dcbw@redhat.com>
16559
16560         * NetworkManager.h
16561                 - Add signals for VPN Launch and Connect failures
16562
16563         * gnome/applet/applet-dbus.c
16564                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16565
16566         * gnome/applet/applet.c
16567                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16568                         function to handle all VPN failure messages
16569                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
16570                         function to hanlde all VPN failure  messages
16571                 - (show_warning_dialog): work around focus-stealing prevention
16572
16573         * gnome/applet/other-network-dialog.c
16574           gnome/applet/passphrase-dialog.c
16575                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16576                         problem where it never enabled for ASCII Key and Hex Key types
16577
16578         * gnome/applet/wireless-applet.glade
16579                 - Add window title to Other Wireless Network Dialog
16580
16581         * src/vpn-manager/nm-dbus-vpn.c
16582                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16583                         function to handle all VPN failure messages
16584
16585         * src/vpn-manager/nm-vpn-manager.c
16586                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16587
16588         * vpn-daemons/vpnc/nm-vpnc-service.c
16589                 - (nm_vpnc_dbus_signal_launch_failed): new function
16590                 - (nm_vpnc_dbus_signal_connect_failed): new function
16591                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16592                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
16593                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
16594                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
16595
16596 2005-05-11  Dan Williams  <dcbw@redhat.com>
16597
16598         * vpn-daemons/vpnc/nm-vpnc-service.c
16599                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
16600                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
16601                         file exists before trying to write it out.
16602
16603 2005-05-10  Dan Williams  <dcbw@redhat.com>
16604
16605     * gnome/applet/applet-dbus-device.c
16606         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
16607             prevented just entering ESSID and leaving key and key type up to
16608             NetworkManager (which should have them already cached)
16609
16610 2005-05-08  Dan Williams  <dcbw@redhat.com>
16611
16612         * src/NetworkManagerPolicy.c
16613                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
16614                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
16615                         fix a situation where NM is told to terminate and the device stops activation,
16616                         but the main thread isn't aware of that because it would never have run
16617                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
16618                         had already quit.
16619
16620         * src/NetworkManagerDevice.c
16621                 - (nm_device_probe_wired_link_state): cosmetic fixes
16622                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
16623                         we've failed to activate or been canceled.
16624                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
16625
16626 2005-05-08  Dan Williams  <dcbw@redhat.com>
16627
16628         * src/NetworkManagerWireless.c
16629                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
16630                         value of WEXT quality structures, and add a debug message when we cannot
16631                         determine any quality % at all
16632
16633 2005-05-08  Dan Williams  <dcbw@redhat.com>
16634
16635         * src/dhcp-manager/nm-dhcp-manager.c
16636                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
16637                         it goes down.
16638
16639 2005-05-06  Dan Williams  <dcbw@redhat.com>
16640
16641         * gnome/applet/applet-dbus-device.c
16642           gnome/applet/applet-dbus-info.c
16643           gnome/applet/applet-dbus.c
16644           gnome/applet/applet.c
16645           gnome/applet/applet.h
16646                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
16647
16648         * gnome/applet/applet-dbus.c
16649                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
16650                         so we notice when wired device's carriers come back on.  Should
16651                         fix issue with wired devices being grayed out even if the cable
16652                         is in, for devices that support carrier detection.
16653
16654         * gnome/applet/applet.c
16655                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
16656                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
16657                         tooltip message
16658                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
16659                         Fix situation where applet wouldn't respond to menu selections
16660
16661         * src/NetworkManager.c
16662           src/NetworkManagerDevice.c
16663           src/NetworkManagerDbus.c
16664           src/NetworkManagerDbus.h
16665                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
16666
16667         * src/NetworkManagerDbus.c
16668                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
16669                         Remove, no longer used or relevant
16670                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
16671                 - (nm_dbus_schedule_device_status_change_signal): add
16672
16673         * src/NetworkManagerDevice.c
16674                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
16675                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
16676                         ie don't deactivate them unless explicitly told to by the user.  Also send
16677                         CARRIER_OFF / CARRIER_ON signals when link changes
16678                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
16679                         Don't print error message when device is no longer around
16680                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
16681                         not just during activation
16682
16683         * src/NetworkManagerPolicy.c
16684                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
16685                         auto-device-selection.
16686                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
16687
16688         * src/NetworkManagerSystem.c
16689                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
16690                         is no longer present (Bill Moss)
16691
16692         * src/backends/shvar.c
16693                 - (svOpenFile): Open read-only to make SELinux happy
16694
16695         * src/backends/NetworkManagerRedHat.c
16696                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
16697                         the path to the ifcfg-* files
16698
16699 2005-05-05  Dan Williams  <dcbw@redhat.com>
16700
16701         * Expose activation stages to NetworkManager clients, like the applet
16702         * Add Diana's progress icons to the applet, cued off NM activation stage
16703         * Use more descriptive tooltips, cued off NM activation stage
16704
16705 2005-05-05  Ray Strode  <rstrode@redhat.com>
16706
16707         * src/nm-netlink-monitor.c:
16708                 - Use clear_event_source instead of g_nullify_pointer() again.
16709
16710 2005-05-05  Dan Williams  <dcbw@redhat.com>
16711
16712         * gnome/applet/main.c
16713                 - Fix session management so the applet is actually managed now
16714
16715         * gnome/applet/passphrase-dialog.c
16716                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
16717
16718 2005-05-05  Dan Williams  <dcbw@redhat.com>
16719
16720         Patch from Bill Moss:
16721         * gnome/libnm_glib/libnm_glib.c
16722                 - Fix for dbus-0.33
16723
16724 2005-05-05  Dan Williams  <dcbw@redhat.com>
16725
16726         Suggestion from Bill Moss:
16727         * src/NetworkManagerSystem.c
16728                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
16729
16730
16731         * src/NetworkManager.c
16732                 - (nm_data_free): move destruction of the various managers after
16733                         release of device list, because deactivating and freeing a device
16734                         requires at least the named manager
16735                 - (nm_poll_and_update_wireless_link_state):
16736                   (nm_device_link_activated):
16737                   (nm_device_link_deactivated):
16738                         don't grab the device list lock when actually updating device
16739                         link status or strength, since nm_device_set_link_active()
16740                         needs to call nm_get_active_device(), which also locks the device list.
16741
16742         * src/NetworkManagerDevice.c
16743                 - (nm_device_set_link_active): if a device's link switches from off->on,
16744                         and it's wired, and the active device is wireless (or there is no
16745                         active device), activate the new device whose link just came on
16746                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
16747                         my only calling the link to the current ap "failed" when more than 2
16748                         consecutive link checks have failed
16749
16750 2005-05-04  Dan Williams  <dcbw@redhat.com>
16751
16752         * src/NetworkManagerDevice.c
16753                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
16754                         but let link_to_specific_ap() do the locking where it needs
16755
16756         Patch from Bill Moss:
16757         * src/NetworkManagerSystem.c
16758                 - Set MTU of VPN devices to 1412
16759
16760 2005-05-04  Dan Williams  <dcbw@redhat.com>
16761
16762         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
16763
16764         * Fix some holes in device activation and retaining the currently connected
16765                 access point
16766
16767 2005-05-03  Dan Williams  <dcbw@redhat.com>
16768
16769         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
16770           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
16771           means you need dhcdbd, which you can get here (get the latest one):
16772
16773                 http://people.redhat.com/jvdias/dhcdbd/
16774
16775           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
16776           interface as dhcdbd.
16777
16778         * Rewrite device activation to facilitate the new DHCP infrastructure and
16779           future improvements.  Its now "activation request" based, ie there is a single
16780           activation request composed of the device, access point, and other info which
16781           follows the entire activation process.  There are 5 stages of the activation
16782           process which correspond to:
16783
16784                 1) Device preparation
16785                 2) Device configuration (bring it up, set ESSID/Key/etc)
16786                 3) IP Config Start (fire off DHCP if we're using it)
16787                 4) IP Config Get (grab config from DHCP or static config files)
16788                 5) IP Config Commit (set device's IP address, DNS, etc)
16789
16790           Note that there is no longer a "scanning" step, since the access point must
16791           be known _before_ activation starts.  If the access point drops out or does
16792           not exist for some reason, the entire activation process fails and must be
16793           restarted for a different access point or device.
16794
16795         Patch from Bill Moss:
16796         * gnome/applet/applet.c
16797                 - Fix type of vpn_failure dialog -> vpn_banner dialog
16798
16799 2005-04-27  Dan Williams  <dcbw@redhat.com>
16800
16801         * gnome/applet/applet-dbus-vpn.c
16802           gnome/applet/applet.c
16803           gnome/applet/applet.h
16804                 - Fix up active VPN handling so that we reliably know when a VPN
16805                         connection has been deactivated
16806
16807         * src/vpn-manager/nm-vpn-manager.c
16808                 - Remove duplicate VPNConnectionChange signal
16809
16810 2005-04-27  Dan Williams  <dcbw@redhat.com>
16811
16812         Patch from Peter Jones:
16813         * Remove usage of varargs to fix crashes on PPC (RH #154336)
16814
16815         Patch from Bill Moss:
16816         * src/NetworkManagerSystem.c
16817                 - Fix checking of return value from ioctl()
16818
16819 2005-04-27  Dan Williams  <dcbw@redhat.com>
16820
16821         * Fix choosing of wireless networks and "Other wireless network..." from the applet
16822         * Warn and exit if icons cannot be found
16823
16824 2005-04-27  Dan Williams  <dcbw@redhat.com>
16825
16826         Patch from Tom Parker:
16827         * Update debian backend
16828
16829 2005-04-27  Dan Williams  <dcbw@redhat.com>
16830
16831         * Merge the applet and the info-daemon, and move the converged
16832                 applet under gnome/applet
16833         * Move libnm_glib to gnome/libnm_glib
16834         * Convert most dbus calls between the applet, info-daemon, and NM
16835                 into async calls
16836         * Fix a few things valgrind noticed
16837         * Make NM broadcast state more reliably
16838
16839 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
16840
16841         * configure.in: Added ne in ALL_LINGUAS
16842
16843 2005-04-15  Dan Williams  <dcbw@redhat.com>
16844
16845         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
16846                 code for dbus 0.2x versions
16847
16848 2005-04-15  Dan Williams  <dcbw@redhat.com>
16849
16850         Patches from Tom Parker:
16851         - Fix memleaks
16852         - Join with worker thread rather than polling for its exit
16853
16854         Patch from Bill Moss:
16855         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
16856
16857 2005-04-15  Dan Williams  <dcbw@redhat.com>
16858
16859         - Fixes to pass 'make distcheck'
16860
16861 2005-04-15  Dan Williams  <dcbw@redhat.com>
16862
16863         Initial VPN Support
16864                 - supports 'vpnc'
16865                 - reworks device IP configuration, backend files have changed and will need
16866                         to be updated for all distributions.  I will try to do what I can for
16867                         them, but I cannot test them.
16868
16869         - Move named directory to src/named-manager
16870         - Make backends directory self-contained
16871
16872 2005-04-06  Dan Williams  <dcbw@redhat.com>
16873
16874         Add debug code for socket/file descriptor leaks.  We register every socket
16875         that we open (except for stuff in dhcpcd/) for tracking, and print out the
16876         list of sockets that we forgot to close on shutdown.  This also consolidates
16877         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
16878
16879 2005-04-06  Dan Williams  <dcbw@redhat.com>
16880
16881         * dhcpcd/dhcpcd.c
16882                 - (dhcp_interface_free): fix a file descriptor leak that may have
16883                         caused network drivers to not unload due to refcounts > 0
16884
16885 2005-04-04  Dan Williams  <dcbw@redhat.com>
16886
16887         * panel-applet/NMWirelessAppletDbus.c
16888                 - (nmwa_dbus_call_nm_method): remove some commented code
16889
16890         * src/NetworkManagerAPList.[ch]
16891                 - (nm_ap_list_remove_ap_by_essid): new function
16892
16893         * src/NetworkManagerDevice.c
16894                 - (nm_device_wireless_force_use): remove access points from the ignore list
16895                         when the user forces them
16896
16897         * src/nm-dbus-device.c
16898                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
16899
16900 2005-04-04  Dan Williams  <dcbw@redhat.com>
16901
16902         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
16903
16904 2005-04-04  Dan Williams  <dcbw@redhat.com>
16905
16906         * src/NetworkManagerDevice.c:
16907                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
16908                         of only erroring after the second consecutive scan times out.  Also
16909                         don't exit when the card requires more time than we can give it, just
16910                         log the event and continue.
16911
16912 2005-04-01  Steve Murphy  <murf@e-tools.com>
16913
16914         * configure.in: Added "rw" to ALL_LINGUAS.
16915
16916 2005-04-01  Dan Williams <dcbw@redhat.com>
16917
16918         Perform scans during device activation, if needed.  Both activation 
16919         and scans run in the same GMainContext.  Therefore, if an access point
16920         is not found by the time the device starts activation, it will not
16921         be available until after activation.  We now try to scan during
16922         activation (in nm_wa_test) every 15s so that all available access
16923         points are more likely to be found and available for the activation
16924         procedure.
16925
16926         Also change nm_wireless_link_state_handle() to only update the "best"
16927         AP if we are not forcing a device and if we are not about to change
16928         state.  This attempts to work around a race when forcing a device,
16929         where the forced AP would get cleared out too soon by the link state
16930         checking timeout in the main thread, and the activation attempt with
16931         that AP would fail.
16932
16933 2005-04-01  Dan Williams <dcbw@redhat.com>
16934
16935         * po/POTFILES.in
16936                 - Update with new translatables
16937
16938 2005-03-31  Dan Williams <dcbw@redhat.com>
16939
16940         * panel-applet/NMWirelessAppletDbus.c
16941                 - Fix device names now that hal has changed device parenting for
16942                         network devices.
16943
16944 2005-03-31  Dan Williams <dcbw@redhat.com>
16945
16946         Tighten up handling of wireless devices that don't support wireless
16947         scanning (ie, Orinoco).  Due to restructuring of code, these devices
16948         hadn't been doing pseudo-scanning for a while either and would just
16949         spin waiting for an access point.  They are now manual devices where
16950         the user must choose the access point from the menu every time.  All
16951         "allowed" access points are listed in the applet's menu regardless
16952         of whether or not they can be seen by the card, since it can't scan
16953         anyway.
16954
16955         * src/NetworkManager.c
16956                 - (nm_wireless_link_state_handle): new function, but only update
16957                         the "best" ap for non-scanning devices when its not activating,
16958                         and when no device is being forced on the card
16959                 - (nm_link_state_monitor): split wireless link state handling out
16960                         into separate function
16961
16962         * src/NetworkManagerDevice.c
16963                 - (nm_device_copy_allowed_to_dev_list): new function
16964                 - (nm_device_new): populate non-scanning cards' AP lists with
16965                         access points from the "allowed" list
16966                 - (nm_device_new): don't start a scanning timeout for devices that
16967                         can't scan
16968                 - (nm_device_activation_schedule_finish): new parameter, should be
16969                         the AP that failed to be connected to, pass it on to the
16970                         activation finish function in NetworkManagerPolicy.c
16971                 - (nm_device_activate_wireless): don't ever try to get a new AP
16972                         for non-scanning devices, just fail.  The user must choose
16973                         a new access point manually.
16974                 - (nm_device_activate): grab the AP that failed connection and
16975                         pass it on
16976                 - (nm_device_update_best_ap): Clear the best AP if we don't have
16977                         a link to it, user must manually choose a new one
16978                 - (nm_device_do_pseudo_scan): remove function
16979                 - (nm_device_wireless_process_scan_results): remove bits for non-
16980                         scanning cards since they never get here
16981                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
16982                         and fake the scan list for test devices a bit earlier
16983
16984         * src/NetworkManagerPolicy.c
16985                 - (nm_policy_activation_finish): use the failed_ap that we get
16986                         passed rather than getting the best_ap from the card, which
16987                         may have changed since we were scheduled
16988                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
16989                         update their scan list directly from the allowed list when
16990                         we get updates to the allowed list from NetworkManagerInfo
16991
16992         * src/NetworkManagerPolicy.h
16993                 - New member for failed access point in NMActivationResult
16994
16995   -------------------------------------
16996
16997         Driver Notification patch: notifies the user when their driver
16998                 sucks.  Gives them the option to ignore further insertions
16999                 of the card that has the sucky driver.
17000
17001         * NetworkManager.h
17002                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17003                         enum and replace it with NO_CARRIER_DETECT and
17004                         NO_WIRELESS_SCAN
17005
17006         * panel-applet/NMWirelessApplet.[ch]
17007                 - Merge essid.glade -> wireless-applet.glade
17008                 - Implement the "Your driver sucks" notification dialog
17009
17010         * panel-applet/NMWirelessAppletDbus.c
17011                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17012                 - Grab hardware address for each device from NM too
17013                 - Check whether the driver for each device sucks or not whenever
17014                         a new device is noticed
17015
17016         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17017                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17018
17019         * src/NetworkManager.c
17020                 - Fix a double-unref on device removal
17021
17022         * src/NetworkManagerUtils.c
17023                 - Set appropriate driver support level on a device that doesn't
17024                         support scanning or carrier detection
17025
17026         * src/nm-dbus-device.c
17027                 - New "getHWAddress" dbus method on devices
17028                 - getSupportsCarrierDetect -> getDriverSupportLevel
17029
17030 2005-03-31  Dan Williams <dcbw@redhat.com>
17031
17032         * src/NetworkManagerDevice.c
17033                 - (nm_device_wireless_scan): Fix leak of scan results in some
17034                         instances
17035
17036 2005-03-29  Dan Williams <dcbw@redhat.com>
17037
17038         * src/NetworkManager.c
17039                 - (nm_poll_and_update_wireless_link_state): make code less indented
17040
17041         Patch from Bill Moss:
17042         * src/NetworkManager.c
17043                 - (nm_device_update_link_state): Update signal strength on wireless
17044                         devices every time we update link state too.
17045
17046 2005-03-29  Dan Williams <dcbw@redhat.com>
17047
17048         * src/NetworkManagerDevice.c
17049                 - (nm_device_set_essid): Work around Orinoco cards which need
17050                         extra time after setting the ESSID
17051
17052 2005-03-29  Dan Williams <dcbw@redhat.com>
17053
17054         * src/NetworkManagerDevice.c
17055                 - Merge one more bit of Peter Jones' completion patch
17056
17057 2005-03-29  Dan Williams <dcbw@redhat.com>
17058
17059         * src/NetworkManagerDevice.c
17060                 - (nm_device_force_use): Fix possible segfault
17061
17062 2005-03-29  Dan Williams <dcbw@redhat.com>
17063
17064         * src/NetworkManagerDevice.c
17065                 - Use iw_get_ext() where we should rather than iw_set_ext()
17066
17067 2005-03-29  Dan Williams <dcbw@redhat.com>
17068
17069         * src/NetworkManagerDevice.c
17070                 - (nm_device_set_up_down): remove check for unsupported devices
17071                         that caused NM to not bring devices up when they were
17072                         added to the device list.
17073
17074 2005-03-28  Dan Williams <dcbw@redhat.com>
17075
17076         * src/NetworkManagerDevice.c
17077                 - (mdio_read): Fix two bugs that caused all devices to fail
17078                         the MII carrier detection support checks
17079
17080 2005-03-26  Dan Williams <dcbw@redhat.com>
17081
17082         * src/NetworkManagerDevice.c
17083                 - (nm_device_wireless_scan): Remove duplicated scanning code
17084
17085 2005-03-25  Dan Williams <dcbw@redhat.com>
17086
17087         * panel-applet/NMWirelessApplet.c
17088                 - (nmwa_about_cb): Add some more contributors
17089                 - (nmwa_update_state): show the applet when there's no connection
17090                 - Enable the "Stop/Resume all wireless devices" option in the
17091                         context menu
17092                 - New "no connection" icon
17093
17094         * src/NetworkManager.c
17095                 - (nm_poll_and_update_wireless_link_state): don't do anything if
17096                         wireless is disabled or we're asleep
17097
17098         * src/NetworkManagerDHCP.c
17099                 - Remove trailing "\n" on debug messages
17100
17101         * src/NetworkManagerDbus.c
17102                 - (nm_dbus_network_status_from_data): new state "asleep"
17103
17104         * src/NetworkManagerDevice.c
17105                 - Merge most of Peter Jones' "completion" patch that greatly reduces
17106                         latency and wait times for most operations
17107                 - (nm_device_wireless_scan): Don't scan when asleep
17108
17109         * src/NetworkManagerPolicy.c
17110                 - (nm_policy_get_best_device): return no device when asleep
17111                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17112                         for all wireless devices on update, not just active device
17113
17114         * src/NetworkManagerUtils.c
17115                 - Merge Peter Jones' "completion" patch
17116
17117         * src/nm-dbus-nm.c
17118                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17119                         we're told to disable them
17120                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17121
17122         * utils/nm-utils.h
17123                 - New variants of the warn/info/error/debug print functions that can take
17124                         variables rather than static strings
17125
17126 2005-03-24  Dan Williams <dcbw@redhat.com>
17127
17128         * src/NetworkManagerUtils.c
17129                 - (nm_get_device_driver_name): driver names are now on the parents of
17130                         "Network Interface" objects, so look for them there
17131
17132 2005-03-24  Dan Williams <dcbw@redhat.com>
17133
17134         * test/nmtest.c
17135                 - Escape some forgotten object paths before we shove them through dbus
17136
17137 2005-03-24  Dan Williams <dcbw@redhat.com>
17138
17139         * dhcpcd/dhcpcd.[ch]
17140           src/NetworkManagerDHCP.c
17141                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17142                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
17143
17144         * src/NetworkManagerDbus.c
17145                 - spacing cleanups
17146
17147         * src/nm-dbus-dhcp.c
17148                 - Make the API suck less.  There is now only 1 type of each function,
17149                         ie only "getInteger" and no longer also "getIntegerv".  All types
17150                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17151                         that will never have more than 1 element.  This should simplify
17152                         things greatly.
17153
17154         * test/nm-dhcp-opt-test.c
17155                 - Make the tool not segfault
17156                 - adapt to new DHCP Options API
17157
17158 2005-03-22  Dan Williams <dcbw@redhat.com>
17159
17160         * src/NetworkManager.c
17161                 - (nm_wired_link_deactivated): actually ignore netlink events from
17162                         wireless devices.
17163
17164 2005-03-22  Dan Williams <dcbw@redhat.com>
17165
17166         * src/NetworkManager.c
17167                 - (nm_wired_link_activated): actually ignore netlink events from
17168                         wireless devices.
17169
17170 2005-03-17  Dan Williams <dcbw@redhat.com>
17171
17172         Patch from Tom Parker:
17173         * src/nm-netlink-monitor.c
17174                 - Include unistd.h
17175         * info-daemon/NetworkManagerInfoDbus.c
17176                 - (nmi_dbus_update_network_auth_method): free GConf values
17177
17178         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17179         * src/NetworkManagerDevice.c
17180                 - (nm_device_set_wireless_config): wait for successful
17181                         association longer for some cards (Atheros a/b/g)
17182
17183 2005-03-15  Ray Strode  <rstrode@redhat.com>
17184
17185         * src/NetworkManager.c:
17186         (sigterm_pipe_handler):
17187         remove bogus FIXME
17188
17189 2005-03-15  Ray Strode  <rstrode@redhat.com>
17190
17191         * src/NetworkManagerDbus.c:
17192         Fix some sign weirdness that gcc4 doesn't like,
17193         and add a header file so PPC can hopefully find
17194         SIGTRAP
17195
17196 2005-03-14  Ray Strode  <rstrode@redhat.com>
17197         
17198         Fourth (probably working) cut at porting to
17199         dbus 0.30 api and new hal. This cut adds
17200         some new logging macros to make debugging
17201         easier.
17202
17203         * dispatcher-daemon/NetworkManagerDispatcher.c:
17204         * info-daemon/NetworkmanagerInfo.c:
17205         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17206         * info-daemon/NetworkManagerInfoVPN.c:
17207         * src/NetworkManager.c:
17208         * src/NetworkManagerAP.c:
17209         * src/NetworkManagerAPList.c:
17210         * src/NetworkManagerDHCP.c:
17211         * src/NetworkManagerDbus.c:
17212         * src/NetworkManagerDevice.c:
17213         * src/NetworkManagerPolicy.c:
17214         * src/NetworkManagerSystem.c:
17215         * src/NetworkManagerUtils.c:
17216         * src/NetworkManagerWireless.c:
17217         * src/autoip.c:
17218         * src/nm-dbus-nm.c:
17219         * src/backends/NetworkManagerDebian.c:
17220         * src/backends/NetworkManagerGentoo.c:
17221         * src/backends/NetworkManagerRedHat.c:
17222         * src/backends/NetworkManagerSlackware.c:
17223         use new logging macros.
17224
17225         * dispatcher-daemon/NetworkManagerDispatcher.c:
17226         (nmd_dbus_filter): s/dbus_free/g_free/
17227
17228         * info-daemon/Makefile.am: link in utils library.
17229         * info-daemon/NetworkmanagerInfo.c: use new logging 
17230         macros.
17231         (nmi_dbus_get_network): don't assume enumerations
17232         are 32-bit.
17233         (nmi_dbus_nmi_message_handler): don't free what 
17234         doesn't belong to us.
17235
17236         * libnm_glib/libnm_glib.c:
17237         (libnm_glib_get_nm_status): 
17238         (libnm_glib_init): don't free what doesn't
17239         belong to us.
17240         (libnm_glib_dbus): strdup result, so it doesn't get
17241         lost when message is unref'd.
17242
17243         * panel-applet/NMWirelessAppletDbus.c:
17244         (nmwa_dbus_update_devices): s/dbus_free/g_free/
17245
17246         * src/NetworkManager.c:
17247         (nm_monitor_wired_link_state): request initial status 
17248         dump of all cards when we start up, instead of relying
17249         on /sys/.../carrier.
17250         (nm_info_handler), (nm_set_up_log_handlers): 
17251         log handlers to specify what syslog priorites 
17252         the logging macros default to.
17253
17254         * src/NetworkManagerAPList.c: 
17255         (nm_ap_list_populate_from_nmi):
17256         s/dbus_free_string_array/g_strfreev/
17257
17258         * src/NetworkManagerDbus.c:
17259         (nm_dbus_get_network_object):
17260         validate d-bus message argument types.
17261         Advance message iterator after reading argument,
17262         prepend instead of append to GSList.
17263
17264         * src/NetworkManagerDevice.c:
17265         (nm_device_probe_wired_link_status):
17266         remove redundant /sys in /sys path. remove wrong
17267         contents == NULL means has carrier assumption.
17268
17269         * src/nm-netlink-monitor.c 
17270         (nm_netlink_monitor_request_status): implement
17271         function to ask kernel to dump interface link
17272         status over netlink socket.
17273
17274         * test/*.c: s/dbus_free/g_free/
17275
17276         * utils/nm-utils.h:
17277         (nm_print_backtrace): new macro to print backtrace.
17278         (nm_get_timestamp): new macro to get sub-second precise
17279         unix timestamp.
17280         (nm_info), (nm_debug), (nm_warning), (nm_error):
17281         new logging functions. nm_info just prints,
17282         nm_debug includes timestamp and function,
17283         nm_warning includes function, nm_error includes
17284         backtrace and sigtrap.
17285
17286 2005-03-11  Ray Strode  <rstrode@redhat.com>
17287
17288         Third (unfinished, partially working) cut at porting to 
17289         dbus 0.30 api and new hal.
17290
17291         * info-daemon/NetworkManagerInfoDbus.c:
17292                 don't free null arrays.
17293
17294         * panel-applet/NMWirelessAppletDbus.c: 
17295         * src/nm-dbus-device.c:
17296         * src/nm-dbus-net.c: 
17297         * src/NetworkManagerDbus.c: more 
17298         STRING -> OBJECT_PATH fun
17299         * src/NetworkManagerDevice.c:
17300         * src/NetworkManagerDevice.h:
17301         (rename nm_device_get_link_active): rename to 
17302         nm_device_has_active_link
17303         (nm_device_wireless_link_active): rename to
17304         nm_device_probe_wireless_link_state
17305         (nm_device_wired_link_active): rename to
17306         nm_device_probe_wired_link_state.  Rewrite to
17307         use carrier file since hal doesn't maintain
17308         link state anymore.
17309         (nm_device_update_link_active): rename to
17310         nm_device_update_link_state
17311         * src/NetworkManagerPolicy.c 
17312           (nm_policy_activation_finish): check for NULL
17313           MAC address.
17314
17315         * src/Makefile.am:
17316         * src/NetworkManagerMain.h: 
17317         * src/NetworkManager.c:
17318         * src/nm-netlink-monitor.c:
17319         * src/nm-netlink-monitor.h: New class to support
17320         monitoring wired ethernet link status, since HAL
17321         doesn't export that information anymore.
17322
17323 2005-03-09  Ray Strode  <rstrode@redhat.com>
17324
17325         Second (unfinished, unworking) cut at porting to 
17326         dbus 0.30 api.
17327
17328         * dispatcher-daemon/NetworkManagerDispatcher.c:
17329         * info-daemon/NetworkManagerInfoDbus.c:
17330         * panel-applet/NMWirelessAppletDbus.c:
17331         * src/NetworkManagerDbusUtils.c:
17332         * src/NetworkManagerDbusUtils.h:
17333         * src/nm-dbus-device.c:
17334         * src/nm-dbus-nm.c:
17335         * test/nmtest.c: support dbus "object path" type
17336
17337         * configure.in: 
17338         * Makefile.am:
17339         * info-daemon/Makefile.am:
17340         * libnm_glib/Makefile.am:
17341         * panel-applet/Makefile.am:
17342         * dispatcher-daemon/Makefile.am
17343         * src/Makefile.am:
17344         * test/Makefile.am:
17345         * utils/Makefile.am: 
17346         * utils/nm-utils.c: 
17347         * utils/nm-utils.h: new utils static lib
17348
17349 2005-03-07  Ray Strode  <rstrode@redhat.com>
17350
17351         * info-daemon/NetworkManagerInfoDbus.c:
17352         * libnm_glib/libnm_glib.c:
17353         * panel-applet/NMWirelessAppletDbus.c:
17354         * src/NetworkManager.c:
17355         * src/NetworkManagerDbus.c:
17356         * src/NetworkManagerDevice.c:
17357         * src/NetworkManagerUtils.c:
17358         * src/nm-dbus-device.c:
17359         * src/nm-dbus-dhcp.c:
17360         * src/nm-dbus-net.c:
17361         * src/nm-dbus-nm.c:
17362         * test/nminfotest.c:
17363         First (unfinished, unworking) cut at porting to dbus 0.30 api.
17364
17365 2005-03-04  Dan Williams  <dcbw@redhat.com>
17366
17367         * configure.in
17368                 - Mark HEAD as 0.4
17369
17370 2005-03-04  Dan Williams  <dcbw@redhat.com>
17371
17372         Patch from Peter Jones:
17373         - Make stuff work with gcc 4.0
17374
17375 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
17376
17377         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17378
17379 2005-02-27  Jim Huang  <jserv@kaffe.org>
17380
17381         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17382
17383 2005-02-27  Dan Williams  <dcbw@redhat.com>
17384
17385         Patch from Bill Moss:
17386         * panel-applet/NMWirelessAppletDbus.c
17387                 - Make sure strength for current access point is up-to-date when we
17388                         update the gui data model
17389
17390 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
17391
17392         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17393
17394 2005-02-27  Dan Williams  <dcbw@redhat.com>
17395
17396         * src/backends/NetworkManagerRedHat.c
17397                 - (nm_system_init): Kill any dhclient processes lying around as well
17398                         as stopping 'nifd' if its already been started.  NetworkManager
17399                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
17400
17401 2005-02-27  Dan Williams  <dcbw@redhat.com>
17402
17403         * panel-applet/NMWirelessApplet.c
17404                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17405                         dbus data model, not the GUI data model twice.
17406
17407 2005-02-27  Dan Williams  <dcbw@redhat.com>
17408
17409         * panel-applet/NMWirelessApplet.[ch]
17410           panel-applet/NMWirelessAppletDbus.[ch]
17411                 - Move to incremental network updates.  Instead of blowing away our list
17412                         of devices every time we get a signal from NetworkManager, we now
17413                         incrementally add/remove networks when NetworkManager notifies us that
17414                         a new network has appeared or disappered.  Strength updates now happen
17415                         on-the-fly for each access point as well.  There are now two copies of
17416                         data from NetworkManager: one for the dbus side, and one for the gui side.
17417                         When the dbus side data is modified, it is copied over to the gui side
17418                         so we don't have to hold the data_mutex for long periods of time (and
17419                         therefore block animation of the applet's icon).
17420                 - Clean up some memleaks too
17421
17422         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17423                 - Minor code beautification
17424
17425         * src/NetworkManagerAPList.c
17426                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17427                         completely new and whether or not an existing one's strength was updated.
17428                         Try to fix multiple access points and signal strength by using the highest
17429                         signal strength in each scan for any given ESSID.
17430
17431         * src/NetworkManagerDbus.[ch]
17432                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17433                         wireless networks; now we have only WirelessNetworkUpdate which includes
17434                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17435                 - Kill usage of DbusMessageIter
17436
17437         * src/NetworkManagerDevice.c
17438                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17439                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
17440                         AP rather than all-at-once.  Also don't ever remove the AP a card is
17441                         currently associated with from the network list.
17442                 - Update for new signals during scan, send out Appeared, Disappeared, or
17443                         StrengthChanged when necessary.
17444
17445 2005-02-25  Dan Williams  <dcbw@redhat.com>
17446
17447         * README
17448                 - Line break the README
17449
17450 2005-02-25  Dan Williams  <dcbw@redhat.com>
17451
17452         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17453                 - Remove usage of gtk_window_set_default_size()
17454
17455         * panel-applet/essid.glade
17456                 - Stick default size here
17457                 - Add in random crap that current glade wants to add in now
17458
17459 2005-02-25  Dan Williams  <dcbw@redhat.com>
17460
17461         * src/backends/NetworkManagerRedHat.c
17462                 - For non-caching-nameserver/non-named case, ensure that nscd is running
17463                         and that we actually tell nscd to reload the hosts cache when it changes
17464
17465 2005-02-25  Dan Williams  <dcbw@redhat.com>
17466
17467         * info-daemon/NetworkManagerInfoDbus.c
17468                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17469
17470         * test/nminfotest.c
17471                 - Whack usage of DbusMessageIter
17472                 - Clean up DbusError and DbusMessage handling and freeing
17473                 - Remove unused unregister handler
17474
17475         * test/nmtest.c
17476                 - Whack usage of DbusMessageIter
17477
17478         * test/nmtestdevices.c
17479                 - Whack usage of DbusMessageIter
17480
17481 2005-02-25  Dan Williams  <dcbw@redhat.com>
17482
17483         * NetworkManager.h
17484                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17485                         signal
17486
17487 2005-02-25  Dan Williams  <dcbw@redhat.com>
17488
17489         * named/nm-named-manager.c
17490                 - Ensure that pid and watch variables for child named process get cleared out
17491                         when the child goes away.
17492
17493 2005-02-22  Dan Williams  <dcbw@redhat.com>
17494
17495         * src/NetworkManagerPolicy.c
17496                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17497                         and NULL out data->active_device so that we have to choose another one.
17498                         This may make NetworkManager keep attempting to connect to a wired network
17499                         if it fails, but if it keeps failing the wired network has more problems than
17500                         just NetworkManager.
17501
17502         * src/backends/NetworkManagerRedHat.c
17503                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17504                         is already running
17505
17506         * named/nm-named-manager.c
17507                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17508                         named so that the distro can flush whatever name service caching
17509                         daemon it uses
17510
17511 2005-02-21  Dan Williams  <dcbw@redhat.com>
17512
17513         * src/NetworkManagerDHCP.[ch]
17514                 - (nm_device_dhcp_remove_timeouts): new function
17515
17516         * src/NetworkManagerDevice.c
17517                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17518                         remove the DHCP timeouts.
17519
17520 2005-02-21  Dan Williams  <dcbw@redhat.com>
17521
17522         * panel-applet/NMWirelessApplet.[ch]
17523           panel-applet/menu-info.[ch]
17524                 - Give the panel applet some major love: menu items are no longer
17525                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17526                         This allows the applet to actually reflect theme changes correctly,
17527                         since themeing of subclassed items in GTK _sucks_.
17528
17529 2005-02-18  Dan Williams  <dcbw@redhat.com>
17530
17531         * libnm_glib/libnm_glib.[ch]
17532           test/libnm_glib_test.c
17533                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17534                         and its data, and doesn't have to free the callback data anymore
17535
17536 2005-02-18  Dan Williams  <dcbw@redhat.com>
17537
17538         * panel-applet/NMWirelessApplet.c
17539                 - Revert 2005-02-18 William Jon McCann fix for standard
17540                         copyright string until it passes 'make distcheck'.
17541                         With standard copyright string, xgettext complains
17542                         about "Non-ASCII string at ...".
17543
17544 2005-02-18  Dan Williams  <dcbw@redhat.com>
17545
17546         * panel-applet/essid.glade
17547           panel-applet/NMWirelessAppletOtherNetworksDialog.c
17548                 - Correct spelling of "adaptor"->"adapter"
17549
17550 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17551
17552         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17553         (nmwa_about_cb): Use standard copyright string.  Update comment
17554         text to reflect that it is a notification area applet.  Remove
17555         leading newline in authors list.
17556         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17557         instead of on parent menu item activation.  Fixes #167550.
17558
17559 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17560
17561         * panel-applet/essid.glade: Capitalize items as per HIG.
17562           Fixes #167632
17563
17564 2005-02-16  William Jon McCann  <mccann@jhu.edu>
17565
17566         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17567         files for GTK 2.4 or lower, since now public in GTK 2.6.
17568
17569         * panel-applet/essid.glade: Don't specify window size.
17570         
17571 2005-02-17  Dan Williams  <dcbw@redhat.com>
17572
17573         Caught by Bill Moss:
17574         * dhcpcd/client.c
17575                 - Time remaining for DHCP transaction calculation was incorrectly
17576                         inside a #ifdef DEBUG
17577
17578 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
17579
17580         * configure.in: Added fr (French) to ALL_LINGUAS.
17581
17582 2005-02-14  Dan Williams  <dcbw@redhat.com>
17583
17584         * src/NetworkManagerDHCP.c
17585                 - (set_domain_searches): Fix free of invalid pointer
17586
17587 2005-02-14  Dan Williams  <dcbw@redhat.com>
17588
17589         Patch from Peter Jones:
17590         * dhcpcd/client.c
17591                 - Ensure we return RET_DHCP_CEASED everywhere we should
17592         * dhcpcd/udpipgen.c
17593                 - Use faster TOS for IP packets
17594                 - Don't set ip_id since we're UDP
17595
17596         Patch from Tomislav Vujec:
17597         * src/nm-dbus-dhcp.c
17598           test/nm-dhcp-opt-test.c
17599                 - Clean up warnings to enable cvs tree compilation.
17600
17601 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
17602
17603         * configure.in
17604           po/hr.po
17605                 - Add the Croatian locale.
17606
17607 2005-02-14  Colin Walters  <walters@verbum.org>
17608
17609         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
17610         list of domains to search.
17611         
17612         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
17613
17614 2005-02-13  Dan Williams  <dcbw@redhat.com>
17615
17616         * dhcpcd/client.c
17617                 - Debug output cleanups of DHCP option printing and parsing.
17618
17619 2005-02-13  Dan Williams  <dcbw@redhat.com>
17620
17621         Patch from Dan Reed:  DHCP options D-BUS API
17622                 Exposes the DHCP options that a device receives to clients over D-BUS.
17623
17624         * configure.in
17625                 - A few cleanups
17626
17627         * dhcpcd/client.h
17628                 - Correct names, option length, and types for DHCP options
17629
17630         * dhcpcd/dhcpcd.[ch]
17631                 - Clarify function names that access DHCP options & data
17632
17633         * src/NetworkManagerDHCP.c
17634                 - Use new DHCP data access functions
17635
17636         * src/NetworkManagerDbus.c
17637                 - Message handler for DHCP functions
17638
17639         * src/nm-dbus-dhcp.[ch] (new)
17640                 - DHCP dbus methods
17641
17642         * test/nm-dhcp-opt-test.c
17643                 - Test DHCP D-BUS API and return all present DHCP options
17644
17645 2005-02-12  Dan Williams  <dcbw@redhat.com>
17646
17647         * test/Makefile.am
17648           test/nmclienttest.c
17649           test/nmtest.c
17650                 - Move nmclienttest.c -> nmtest.c
17651
17652 2005-02-12  Dan Williams  <dcbw@redhat.com>
17653
17654         * dhcpcd/buildmsg.c
17655                 - Pad DHCP packets until they are at least 300 bytes in size.
17656
17657 2005-02-11  Dan Williams  <dcbw@redhat.com>
17658
17659         * dhcpcd/client.c
17660                 - (dhcp_init): only print out client ID and class ID if they are specified
17661
17662         * src/NetworkManagerDbus.[ch]
17663           src/nm-dbus-nm.[ch]
17664           src/nm-dbus-device.[ch]
17665           src/nm-dbus-net.[ch]
17666                 - Move NM, Device, and Net functions to separate files and use the
17667                         dbus method list stuff in NetworkManagerDbusUtils.c to do
17668                         method dispatching
17669
17670         * src/NetworkManagerDbusUtils.c
17671                 - Add new validate_method called before each dispatch (if present)
17672                         that can validate the method call
17673
17674         * src/NetworkManagerWireless.c
17675                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
17676                         levels never to be evaluated
17677
17678         Patch from j@bootlab.org
17679         * src/NetworkManagerDevice.c
17680                 - Add typedef for "u64"
17681
17682         * src/backends/NetworkManagerDebian.c
17683                 - Copy in Dave Woodhouse's fixes for IPv6
17684
17685 2005-02-11  Dan Williams  <dcbw@redhat.com>
17686
17687         Patch from Dave Woodhouse for IPv6:
17688         * src/NetworkManagerUtils.c
17689                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
17690                         and multicast addresses
17691
17692         * src/NetworkManagerDevice.c
17693                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
17694                         after bringing up a card.
17695
17696 2005-02-10  Dan Williams  <dcbw@redhat.com>
17697
17698         Patch from Dave Woodhouse:
17699         * src/NetworkManagerSystem.h
17700           src/backends/NetworkManagerDebian.c
17701           src/backends/NetworkManagerGentoo.c
17702           src/backends/NetworkManagerSlackware.c
17703                 - New nm_system_device_add_ip6_link_address() function to add link-local
17704                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
17705
17706         * src/backends/NetworkManagerRedHat.c
17707                 - (nm_system_device_add_ip6_link_address): implement
17708                 - (nm_system_device_flush_addresses): revert to previous behavior of
17709                         flushing all addresses
17710
17711 2005-02-10  Dan Williams  <dcbw@redhat.com>
17712
17713         Patch from Tom Parker:
17714         * src/NetworkManagerDevice.c
17715                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
17716                         mii.h headers are broken, and instead use our own typedefs
17717
17718 2005-02-10  Dan Williams  <dcbw@redhat.com>
17719
17720         * dhcpcd/buildmsg.c
17721                 - (fill_host_and_class_id): only fill in client and class IDs if
17722                         they are set by callers.
17723
17724         * dhcpcd/client.c
17725                 - (class_id_setup): don't autogenerate a class ID, only use one
17726                         we're given, if any.
17727                 - (client_id_setup): don't autogenerate a client ID, only use one
17728                         we're given, if any.
17729
17730         * dhcpcd/dhcpcd.c
17731                 - (dhcp_interface_init): ensure that client options are correctly
17732                         NULL terminated
17733
17734         * src/NetworkManagerDHCP.c
17735                 - (nm_device_dhcp_request): pass hostname to dhcp library
17736
17737 2005-02-10  Dan Williams  <dcbw@redhat.com>
17738
17739         * dhcpcd/client.c
17740                 - #rh147661# Don't send kernel version in DHCP requests
17741
17742         * src/NetworkManagerSystem.h
17743           src/backends/NetworkManagerDebian.c
17744           src/backends/NetworkManagerGentoo.c
17745           src/backends/NetworkManagerRedHat.c
17746           src/backends/NetworkManagerSlackware.c
17747                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
17748                         functions, they are no longer used anyway
17749
17750         * src/backends/NetworkManagerRedHat.c
17751                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
17752                         addresses in an attempt to keep IPv6 local-scope addresses around
17753
17754 2005-02-10  Dan Williams  <dcbw@redhat.com>
17755
17756         * src/NetworkManager.c
17757                 - (nm_create_device_and_add_to_list): change the add message slightly
17758
17759         * src/NetworkManagerUtils.c
17760                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
17761                         Return driver name to calling function
17762                 - (nm_get_driver_support_level): print out the driver a device is using
17763                         during the support check
17764
17765         Patch from Dave Woodhouse:
17766         * dhcpcd/udpipgen.c
17767                 - (in_cksum): copy last byte of odd-sized packets into a
17768                         'u_short' rather than a 'u_char', should fix wrong checksums
17769                         on big-endian platforms
17770
17771 2005-02-09  Dan Williams  <dcbw@redhat.com>
17772
17773         * Clean up usage of GSList objects and looping through their members
17774         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
17775                 now.
17776         * Fix problem where even if scanning was turned off, card would still
17777                 cycle through frequencies.
17778
17779 2005-02-08  Dan Williams  <dcbw@redhat.com>
17780
17781         * panel-applet/NMWirelessApplet.c
17782                 - Fix for gtk 2.4
17783
17784 2005-02-08  Dan Williams  <dcbw@redhat.com>
17785
17786         Patch from Bill Moss
17787         * panel-applet/NMWirelessApplet.c
17788                 - Restore correct ESSID in tooltips
17789
17790 2005-02-07  Dan Williams  <dcbw@redhat.com>
17791
17792         * panel-applet/NMWirelessApplet.[ch]
17793                 - Add a context menu that contains:
17794                         Pause/Resume Wireless Scanning
17795                         Stop/Start All Wireless Devices
17796                         About...
17797                 - Grab active device strength off active device,
17798                         not its network
17799
17800         * panel-applet/NMWirelessAppletDbus.[ch]
17801                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
17802                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
17803                 - Update active device strength every 2 seconds, not every 1 second
17804
17805         * panel-applet/menu-info.c
17806                 - Only disable wired devices in the menu when they support carrier detection,
17807                         and don't currently have a link.  Non-carrier-detect devices will always
17808                         remain choosable
17809
17810         * src/Makefile.am
17811           src/NetworkManagerDbusUtils.[ch]
17812                 - Add new new dbus utils sources
17813
17814         * src/NetworkManager.c
17815                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
17816                         with the boolean parameter
17817                 - Set scanning_enabled & wireless_enabled to TRUE
17818
17819         * src/NetworkManagerDbus.c
17820                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
17821                 - Implement scanning & wireless enable/disable calls
17822                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
17823
17824         * src/NetworkManagerDevice.c
17825                 - New link detection stuff again...
17826                         o  Create device's mainloop earlier (but don't run it earlier)
17827                         o  Hook up new carrier-detect support stuff
17828                         o  Add in the ethtool & mii support detection code
17829                 - Don't scan if scanning is disabled
17830
17831         * src/NetworkManagerPolicy.c
17832                 - Never automatically choose a device that doesn't support carrier detection
17833                 - Don't automatically choose a wireless device if wireless is disabled
17834
17835 2005-02-07  Dan Williams  <dcbw@redhat.com>
17836
17837         * libnm_glib/libnm_glib.c
17838                 - Small cleanup in element list iteration
17839
17840 2005-02-07  Dan Williams  <dcbw@redhat.com>
17841
17842         * src/NetworkManagerWireless.c
17843                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
17844                         to be in line with the WEXT quality specification
17845
17846 2005-02-02  Dan Williams  <dcbw@redhat.com>
17847
17848         Patch from Nathan Fredrickson <nathan@silverorange.com>
17849         * Fix up compile for deprecation of libgnomeui
17850                 - Switch to <glib/gi18n.h> from <libintl.h>
17851                 - Remove <libgnomeui/libgnomeui.h> includes
17852                 - Use gtk_window_set_default_icon_from_file() rather than
17853                         gnome_window_set_default_icon_from_file()
17854
17855         * named/nm-named-manager.c
17856                 - (generate_named_conf): Fix return-nothing in non-void
17857                         function
17858
17859 2005-02-02  Dan Williams  <dcbw@redhat.com>
17860
17861         * Clean up unused variables and the like
17862
17863 2005-02-02  Dan Williams  <dcbw@redhat.com>
17864
17865         * src/NetworkManagerAPList.c
17866                 - (nm_ap_list_merge_scanned_ap): merge strength too
17867
17868         * src/NetworkManagerUtils.c
17869                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
17870                         of locking issues by printing out prettier information than g_mutex_lock
17871                 - Print out names of mutexes registered with nm_register_mutex_desc()
17872                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
17873                         us to seemingly block here for too long
17874
17875         * src/NetworkManager.c
17876           src/NetworkManagerAPList.c
17877           src/NetworkManagerDevice.c
17878                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
17879                         so we get better debug information printed
17880
17881         * src/NetworkManagerDbus.c
17882                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
17883                         since it sometimes has locking side effects
17884                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
17885                         from 10s
17886                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
17887                         we don't need a switch.  This gets called often enough that we can't block
17888                         until the scan mutex is acquired, because we'll block on device activation
17889                         and a few other things, which hangs main thread for too long.
17890
17891         * src/NetworkManagerPolicy.c
17892                 - (nm_policy_auto_get_best_device): reduce the possiblity that
17893                         nm_device_need_ap_switch() will be called               
17894
17895 2005-02-02  Dan Williams  <dcbw@redhat.com>
17896
17897         * panel-applet/NMWirelessApplet.c
17898                 - Display name of wireless network we are connecting to or connected to
17899                         in the tooltip of the applet
17900
17901 2005-02-02  Dan Williams  <dcbw@redhat.com>
17902
17903         * src/NetworkManagerDHCP.c
17904                 - Hopefully fix double-default-route problem by cleaning up the default
17905                         route added by DHCP code right before the DHCP transaction begins
17906
17907 2005-02-02  Dan Williams  <dcbw@redhat.com>
17908
17909         * named/nm-named-manager.c
17910                 - Write out valid resolv.conf when we exit
17911
17912 2005-02-01  Dan Williams  <dcbw@redhat.com>
17913
17914         Patch from Colin Walters:
17915         * named/nm-named-manager.c
17916                 - Make multi-domain search options work
17917
17918 2005-01-31  Dan Williams  <dcbw@redhat.com>
17919
17920         * info-daemon/NetworkManagerInfoDbus.c
17921                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
17922
17923         * src/NetworkManagerDevice.c
17924                 - (nm_device_new): Don't store the entire range struct, use only what we need
17925                         (which is currently avg_quality, max_quality, and frequencies).  Also
17926                         zero device structure when we've free'd it to maybe expose errors down
17927                         the line.
17928                 - (nm_device_update_signal_strength): grab the scan mutex before getting
17929                         quality data from the card since quality will be useless during a scan.
17930                         Call updated wireless qual-to-percent function with values stored in
17931                         nm_device_new() earlier.
17932                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
17933                         nm_device_get_bad_crypt_packets())
17934                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
17935                         nm_device_new()
17936                 - (get_initial_auth_method): always use the Auth method that's in the allowed
17937                         list if available.  Problem was this: when the WEP key is wrong, NM will
17938                         try OS then SK modes, and then get stuck in SK mode after that.  This
17939                         should reset it.
17940                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
17941                         function
17942
17943         * src/NetworkManagerWireless.c
17944                 - (nm_wireless_qual_to_percent): try to make this function actually work and
17945                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
17946                         if that's all present, otherwise fall back to signal-to-noise ratios.
17947
17948 2005-01-29  Dan Williams  <dcbw@redhat.com>
17949
17950         * initscript/RedHat/NetworkManager
17951                 - Don't spit out sysctl stuff to console
17952
17953         * libnm_glib/libnm_glib.c
17954                 - (libnm_glib_init): call dbus_g_thread_init()
17955
17956         * panel-applet/NMWirelessAppletDbus.c
17957                 - (nmwa_dbus_worker): call dbus_g_thread_init()
17958
17959         * src/NetworkManager.c
17960                 - (main): call dbus_g_thread_init()
17961
17962         * src/NetworkManagerAPList.c
17963                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
17964                         so we can actually see what's there in a normal syslog
17965
17966         * src/NetworkManagerDevice.c
17967                 - (nm_device_activate_wireless): print out the "waiting for access point"
17968                         message only once, then say what access point we actually got after
17969                         the wait.
17970                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
17971                         function, wait until the scan is done.  Scans may change the ESSID of
17972                         the card, making this function think we need to switch access points
17973                 - (nm_device_wireless_process_scan_results): for artificial access points
17974                         don't check against the card's ESSID, but the best_ap's ESSID.  This
17975                         prevents collisions with the scanning code, which may change the card's
17976                         ESSID and cause the access point to get dropped from the device's AP
17977                         list.  Also increase the keep-around time to 2m from 60s since the max
17978                         scan interval could be 60s in some cases.
17979
17980         * src/NetworkManagerPolicy.c
17981                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
17982                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
17983                         the new properties and ESSIDs to the device's AP list.  Fixes some races
17984                         between NM and NMI.
17985
17986 2005-01-27  Dan Williams  <dcbw@redhat.com>
17987
17988         * info-daemon/NetworkManagerInfoDbus.c
17989                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
17990                         GConf, make a minimal entry for it (essid & timestamp)
17991
17992         * src/NetworkManagerAPList.c
17993                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
17994                         NetworkManagerInfo isn't running
17995
17996         * src/NetworkManagerDbus.[ch]
17997                 - (nm_dbus_nmi_is_running): new function
17998
17999         * src/NetworkManagerDevice.c
18000                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18001                         address to garbage.
18002
18003         * src/NetworkManagerPolicy.c
18004                 - (nm_policy_activation_finish): On successful activation, make sure
18005                         the "best" AP has a MAC address, and don't tell NMI to add the
18006                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18007                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18008                         access point after refreshing our allowed list if it doesn't already
18009                         have a "best" access point.
18010
18011 2005-01-25  Dan Williams  <dcbw@redhat.com>
18012
18013         * panel-applet/NMWirelessAppletDbus.c
18014                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18015                         so we check for NM_DBUS_SERVICE rather than not for it
18016
18017         * libnm_glib/libnm_glib.c
18018                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18019                         ServiceOwnerChanged signal
18020
18021 2005-01-25  Dan Williams  <dcbw@redhat.com>
18022
18023         * configure.in
18024                 - Check DBUS version in configure, and set the C macros
18025                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
18026
18027         * info-daemon/NetworkManagerInfoDbus.c
18028                 - Remove #if 0-d section of code that quit NMI if NM went away.
18029
18030         * panel-applet/NMWirelessAppletDbus.c
18031                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18032
18033         * src/NetworkManager.c
18034           src/NetworkManagerMain.h
18035           src/NetworkManagerDbus.c
18036                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18037                 - Make updating of our Allowed Wireless Network lists from NMI
18038                         an idle function in the main thread now, with a high priority.
18039
18040 2005-01-24  Dan Williams  <dcbw@redhat.com>
18041
18042         * panel-applet/gtkcellview.[ch]
18043           panel-applet/menu-info.c
18044                 - Fix GTK version checks to be <= rather than <
18045
18046         * test/Makefile.am
18047                 - Include the libtool archive of libnm_glib rather than
18048                         trying to pull in the .so
18049
18050 2005-01-24  Dan Williams  <dcbw@redhat.com>
18051
18052         * src/NetworkManagerDevice.c
18053           src/NetworkManagerDevicePrivate.h
18054                 - Block nm_device_new() until our device's worker thread has had a
18055                         chance to start up.  Fixes a race between main thread and worker
18056                         thread starting that caused activation requests to get lost.
18057
18058 2005-01-24  Dan Williams  <dcbw@redhat.com>
18059
18060         * initscript/RedHat/NetworkManager
18061                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18062                         to add the NM startup script at priority 50, which was
18063                         way too early
18064
18065 2005-01-24  Colin Walters  <walters@redhat.com>
18066
18067         * named/named.conf: Use any port for query source instead of
18068         restricting to port 53.
18069
18070 2005-01-24  Dan Williams  <dcbw@redhat.com>
18071
18072         * initscript/RedHat/NetworkManager
18073                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18074                         to add the NM startup script at priority 50, which was
18075                         way too early
18076
18077 2005-01-24  Dan Williams  <dcbw@redhat.com>
18078
18079         Patch from Tom Parker <palfrey@tevp.net>
18080         * Fix up compile warnings & errors in the wireless applet
18081
18082 2005-01-24  Dan Williams  <dcbw@redhat.com>
18083
18084         * panel-applet/NMWirelessApplet.c
18085                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18086
18087 2005-01-24  Dan Williams  <dcbw@redhat.com>
18088
18089         * panel-applet/gtkcellview.[ch]
18090                 - Only compile these files for GTK 2.4 or lower, since 
18091                         GtkCellView is now public in GTK 2.6.  Fixes crasher
18092                         when choosing "Other Wireless Networks" from the panel
18093                         applet menu
18094
18095 2005-01-21  Dan Williams  <dcbw@redhat.com>
18096
18097         * src/NetworkManager.c
18098                 - Daemonize earlier so that glib doesn't get confused (?)
18099
18100 2005-01-21  Dan Williams  <dcbw@redhat.com>
18101
18102         * panel-applet/NMWirelessApplet.[ch]
18103           panel-applet/NMWirelessAppletDbus.c
18104           panel-applet/menu-info.c
18105           src/NetworkManagerDevice.c
18106                 - Disable wired devices in the menu when they have no link.
18107
18108 2005-01-21  Dan Williams  <dcbw@redhat.com>
18109
18110         * Cache last-known-good wireless authentication method in
18111                 NetworkManagerInfo, and use that method first during
18112                 wireless device activation.  Should speed up devices that
18113                 need Shared Key authentication method since Open System is
18114                 now the default.
18115
18116         * Remove the hack to not do full activation on wired connections
18117                 that are active when we launch, it causes too many problems
18118                 with name resolution and was a hack in the first place.
18119
18120         * Re-work wireless device activation again somewhat to have a
18121                 clearer chain of events and to use last-known-good
18122                 authentication method of the access point.  Also provide
18123                 better status throughout activation to ensure the applet
18124                 can tell the user exactly what's going on.
18125
18126         * Remove the "find wireless network" code and now simply attempt
18127                 to activate with that access point.  This reduces the delay
18128                 between selecting "Other wireless Network" and actually
18129                 connecting to that network.
18130
18131         * Correctly stop the device's worker thread when its removed.
18132
18133 2005-01-21  Dan Williams  <dcbw@redhat.com>
18134
18135         * dhcpcd/client.c
18136                 - Clean up some of the debug messages
18137
18138 2005-01-21  Dan Williams  <dcbw@redhat.com>
18139
18140         * Add new icons, more frames of animation
18141         * Remove some hacks to get the panel applet to display correct
18142                 status, an NM update will soon follow that will fix the
18143                 real issue.
18144
18145 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
18146
18147         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18148         the first include for working i18n. Also, don't include it in .h files
18149         * panel-applet/NMWirelessApplet.h: Same
18150         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18151         * panel-applet/menu-info.c: Same
18152
18153 2005-01-18  Dan Williams <dcbw@redhat.com>
18154
18155         * dhcpcd/client.c
18156                 - Remove some debug messages
18157                 - Wrap others in #ifdef DEBUG/#endif
18158
18159         * src/NetworkManager.c
18160                 - Remove some debug messages
18161                 - Clarify some debug messages
18162                 - Remove code related to old single-thread wireless scanning
18163
18164         * src/NetworkManagerAP.[ch]
18165                 - New AP property "last_seen" to track how recently an AP was
18166                         found in a scan
18167                 - Start using 'const' more in function arguments
18168
18169         * src/NetworkManagerAPList.[ch]
18170                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18171                         of an AP found in an AP list from a source AP, or if not found
18172                         in the list add the source AP
18173                 - (nm_ap_list_combine): remove, no longer needed
18174
18175         * src/NetworkManagerDevice.c
18176                 - Each device now has a "worker" thread from start to end of its life.
18177                         Scanning for wireless devices now happens in that thread,
18178                         not in a single "wireless scanning thread" for all devices as
18179                         previously.  Activation consists of adding an idle handler to the
18180                         thread's main loop/context, which gets run at the next available
18181                         opportunity.
18182                 - Wireless scanning is also simplified, there is now only one list of
18183                         access points per wireless device, and APs older than 60s are
18184                         removed from the list.  Previously, we kept results for the last
18185                         3 scans and merged whole lists, which was complicated.
18186                 - Cleaned up activation debug messages.
18187                 - Wireless activation and access-point search routines now use Open System
18188                         authentication before trying Shared Key.
18189                 - Removed some code in nm_device_update_best_ap() that could cause cards
18190                         to loose their link to the access point.
18191                 - Scanning now uses a backoff algorithm, where the inverval becomes
18192                         progressively longer between scans when the list of scanned access
18193                         points doesn't change.  A change will revert to the shortest scan
18194                         interval (20s).
18195
18196         * src/NetworkManagerWireless.[ch]
18197                 - Remove code related to old single-thread wireless scanning
18198
18199 2005-01-18  Colin Walters  <walters@redhat.com>
18200
18201         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18202         of older nameservers.
18203
18204 2005-01-18  Colin Walters  <walters@redhat.com>
18205
18206         * named/nm-named-manager.c (generate_named_conf): Many fixes
18207         to config file generation.
18208         (safer_kill): Remove, was too much trouble for little gain.
18209         (nm_named_manager_start): Run named as NM_NAMED_USER.
18210
18211         * configure.in: Add option --with-named-user.
18212
18213 2005-01-14  Colin Walters  <walters@redhat.com>
18214
18215         Patch from ed@catmur.co.uk (Ed Catmur)
18216
18217         * named/nm-named-manager.c: Add "context" property.
18218         Use it to add child watch source in specific GMainContext.
18219
18220         * src/NetworkManager.c (nm_data_new): Initialize
18221         named with correct main context.  Start named only
18222         after forking.
18223
18224 2005-01-14  Colin Walters  <walters@redhat.com>
18225
18226         * named/nm-named-manager.c (generate_named_conf): Write config
18227         and pid files into NM_NAMED_DATA_DIR; this allows things to
18228         work better with FC3 named SELinux policy.  Also fix up silly
18229         format error.
18230
18231         * configure.in: Add --with-named-dir option.
18232
18233 2005-01-14  Colin Walters  <walters@redhat.com>
18234
18235         * configure.in: Make named support require passing --with-named.
18236
18237         * named/nm-named-manager.c: Support writing resolv.conf directly
18238         without running named.
18239
18240 2005-01-13  Dan Williams <dcbw@redhat.com>
18241
18242         * named/nm-named-manager.c
18243                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18244
18245         * src/NetworkManagerDevice.c
18246                 - Rework wireless link detection code to be more reliable
18247
18248 2005-01-12  Dan Williams <dcbw@redhat.com>
18249
18250         * initscripts/RedHat/NetworkManager
18251                 - Change initial level to "-" rather than "345" so that
18252                         we don't activate ourselves by default on install
18253
18254 2005-01-12  Dan Williams <dcbw@redhat.com>
18255
18256         * libnm_glib/
18257                 - Client library for applications using glib
18258
18259         * configure.in
18260           various Makefiles
18261                 - Split NM_CFLAGS and NM_LIBS into separate variables
18262                         like DBUS_*, HAL_* and GLIB_*
18263
18264         * src/NetworkManager.c
18265           src/NetworkManagerMain.h
18266                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18267                         broadcast a status changed signal over DBUS from the main thread.
18268                         Still unused anywhere for the moment.
18269
18270         Patch from j@bootlab.org
18271         * panel_applet/NMWirelessAppletDbus.c
18272           src/NetworkManagerDbus.c
18273                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18274                         for the "getMode" method call
18275
18276 2005-01-10  Dan Williams <dcbw@redhat.com>
18277
18278         * src/NetworkManagerDevice.c
18279                 - Minor fixups & corrections to "auto" frequency mode, make it
18280                         less chatty with syslog
18281
18282 2005-01-10  Dan Williams <dcbw@redhat.com>
18283
18284         * src/NetworkManagerDevice.c
18285                 - Implement "auto" frequency/channel support, since cards like Atheros
18286                         can't use other frequencies at all when you've told it to use a
18287                         specific one, even for scanning.
18288                 - Grab the scan mutex around places where we can't tolerate wireless
18289                         settings changing underneath us, like nm_device_wireless_network_exists()
18290                         and nm_device_activate_wireless()
18291
18292         * src/NetworkManagerWireless.c
18293                 - Back scan interval off to 20s instead of 14s
18294
18295 2005-01-09  Dan Williams <dcbw@redhat.com>
18296
18297         * src/NetworkManagerDevice.c
18298                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18299                         already set.  Stops some drivers like Atmel from continually
18300                         reloading the firmware, which they do upon every configuration
18301                         change.
18302
18303 2005-01-09  Dan Williams <dcbw@redhat.com>
18304
18305         * dhcpcd/client.c
18306                 - Use correct timeout value
18307
18308         * info-daemon/NetworkManagerInfoDbus.c
18309           src/NetworkManagerDbus.c
18310                 - Consolidate communication between NM and NMI by doing only 1 dbus
18311                         method call to get Wireless Network info from NMI instead of 6
18312
18313         * src/NetworkManager.c
18314                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18315                         when we didn't have an AP to use, we'd wait for one forever without
18316                         quitting
18317
18318         * src/NetworkManagerDevice.c
18319                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18320                         activation, dhcp might not have started yet but we don't quit activation
18321                         before starting it, so the quit signal gets lost
18322
18323 2005-01-07  Dan Williams <dcbw@redhat.com>
18324
18325         * dhcpcd/client.c
18326                 - Rework the DHCP client code to be much less chatty when
18327                         it receives non-DHCP UDP packets during the DHCP run
18328                         (reported by and preliminary patches from Bill Moss)
18329
18330         * Move wireless scanning to a separate thread.  This thread forwards the
18331                 results to the main thread when done where they are integrated into
18332                 the device's access point lists.  This keeps the main thread (which
18333                 does all the DBUS communication) from being blocked for long periods
18334                 of time by wireless scanning.
18335
18336         * Make state modification an idle routine in the main loop, and trigger
18337                 state changes rather than polling for them.
18338
18339         * src/backends/NetworkManagerGentoo.c
18340                 - Fix up invalid C90 code (reported by Christoph Ruessler)
18341
18342         * src/NetworkManagerDevice.c
18343                 - Revert IPv6 patch for wired devices from 2004-12-22 for
18344                         router advertisements, causing problems and infinite loop
18345                         during "best" device determination due to link going up/down
18346                         (reported by Bill Moss)
18347
18348         Apply patch from Peter Jones
18349         * src/NetworkManagerDevice.c
18350                 - Shortcut for link-checking for ipw2x00 cards
18351                 - Split out association check into separate routine
18352
18353 2004-01-05  Colin Walters  <walters@redhat.com>
18354
18355         * named/named.conf: Add PID_FILE.
18356
18357         * named/nm-named-manager.c: Always generate a pid
18358         file, since older BIND versions don't support
18359         "pid-file none".
18360
18361 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
18362
18363         * configure.in (ALL_LINGUAS): Added ja (Japanese).
18364
18365 2004-12-22  Dan Williams <dcbw@redhat.com>
18366
18367         * src/NetworkManagerDevice.c
18368                 - Silently fail when setting bitrate doesn't work
18369
18370
18371         Patches from j@bootlab.org:
18372         * src/backends/NetworkManagerDebian
18373                 - Update backend to match functionality in RedHat backend
18374         * src/NetworkManagerDevice.c
18375                 - Take down then bring up wired devices after connection so
18376                 they send out ipv6 router advertisements
18377
18378 2004-12-21  Colin Walters  <walters@verbum.org>
18379
18380         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18381         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18382
18383 2004-12-21  Colin Walters  <walters@redhat.com>
18384
18385         * configure.in: Correct named detection.
18386
18387 2004-12-21  Colin Walters  <walters@redhat.com>
18388
18389         * src/NetworkManager.c (nm_data_new): Initialize named.
18390         Also, set up a signal handler for SIGINT/SIGTERM, and exit
18391         the mainloop when these signals are received.
18392         (nm_data_free): Unref named.
18393         (sigterm_handler, sigterm_pipe_handler): New functions for
18394         exiting mainloop.
18395         
18396         * src/NetworkManagerMain.h (NMData): Add signal handling and
18397         nameserver bits.
18398
18399         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18400         unref.
18401
18402         * src/NetworkManagerDHCP.c (set_nameservers): New function;
18403         set nameservers from DHCP response data.
18404         (set_domain_search): Set domain search from DHCP response.
18405         (nm_device_dhcp_configure): Invoke them.
18406
18407         * src/NetworkManagerSystem.c
18408         (nm_system_device_update_resolv_conf): Delete.  Deleting
18409         code is totally sweet.
18410
18411         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18412
18413         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18414         implements an object which controls a nameserver.  Currently
18415         uses bind 9.
18416
18417         * configure.in: Check for named.
18418
18419         * Makefile.am (SUBDIRS): Add named dir.
18420
18421         * named/named.conf: New template config file.
18422
18423 2004-12-20  Colin Walters  <walters@redhat.com>
18424
18425         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18426         instead of '='.
18427
18428 2004-12-17  Dan Williams  <dcbw@redhat.com>
18429
18430         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
18431                 link-local addresses instead of doing DHCP.
18432
18433         * In the panel applet, there's a new "Create new Wireless Network..." item
18434
18435         * The panel applet also sticks around now even if NetworkManager dies, but
18436                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
18437                 a bug, I'll fix that later.
18438
18439         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18440                 lookups after a switch rather than actually doing them.
18441
18442         * Clean up some of those warnings in nm_ap_list_* functions
18443
18444         * Delay between scans changed to 15s instead of 10s
18445
18446 2004-12-15  Dan Williams  <dcbw@redhat.com>
18447
18448         Patch from Tom Parker
18449         * Add autoip/Link Local Addressing support when we fail to get a DHCP
18450                 address
18451
18452         * Longer pause after setting ESSID on cards that support a larger number
18453                 of channels to give the card time to find the right channel
18454
18455         * Add system hook to restart mDNSResponder (or whatever the local implementation
18456                 of Multicast DNS is) when we activate interfaces
18457
18458 2004-12-15  Dan Williams  <dcbw@redhat.com>
18459
18460         * Rework the DHCP code again to revert to sending full ethernet frames
18461                 rather then relying on the kernel to do the right thing with our
18462                 packets.
18463
18464 2004-12-06  Dan Williams  <dcbw@redhat.com>
18465
18466         * dhcpcd/client.c
18467                 - Fix some minor errors in dhcp_handle_transaction() that caused
18468                         unexpected early timeouts of DHCP transactions
18469
18470         * dhcpcd/client.h
18471                 - DHCP retransmit time from 4s -> 5s
18472
18473 2004-12-05  Dan Williams  <dcbw@redhat.com>
18474
18475         * Major rework of the DHCP code, taking some cues from pump.  We don't
18476                 write raw Ethernet packets anymore, which simplifies the code quite
18477                 a bit.  The new code should be more robust, not hang in recvfrom()
18478                 as much, and generally work better.  This also means that we need
18479                 to force HAL/dbus to use a created GMainContext rather than the
18480                 default context, since having the DHCP renew/rebind thread using
18481                 its own GMainContext seemed to give dbus a fit.  There is also more
18482                 debugging information printed from the DHCP loop to help with future
18483                 problems.
18484
18485         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18486                 assume that the default gateway should be the DHCP server.
18487
18488         Patch from Matthew Schick <matt oss-institute org>
18489         * src/backends/NetworkManagerGentoo.c
18490                 - Fix compilation error due to missing "ip4_broadcast"
18491
18492 2004-12-03  Dan Williams  <dcbw@redhat.com>
18493
18494         * initscript/Makefile.am
18495         * initscript/Debian/NetworkManager
18496         * initscript/Gentoo/NetworkManager
18497         * initscript/RedHat/NetworkManager
18498         * initscript/NMLaunchHelper.c
18499                 - Remove NMLaunchHelper, if you need to wait until the network
18500                         comes up, use the dead code from CVS.
18501
18502 2004-12-01  Colin Walters  <walters@redhat.com>
18503         
18504         * configure.in: Suck in gcc warnings code from Rhythmbox,
18505         but use fewer default flags, and in particular add -Wno-unused,
18506         since the codebase has a lot of unused variables.
18507
18508         * test/nmtestdevices.c (create_device): 
18509         * test/nminfotest.c (get_network_string_property) 
18510         (get_networks_of_type): 
18511         * test/nmclienttest.c (main): 
18512         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
18513         * initscript/NMLaunchHelper.c (get_nm_status): 
18514         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
18515         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
18516         Fix declarations after statements.
18517
18518 2004-12-01  Colin Walters  <walters@redhat.com>
18519
18520         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18521         (nmi_dbus_get_vpn_userpass): New method.
18522         (nmi_dbus_nmi_message_handler): Invoke it.
18523
18524         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18525
18526         * info-daemon/NetworkManagerInfoVPN.h,
18527         info-daemon/NetworkManagerInfoVPN.c: New files; responds
18528         to requests for VPN passwords.
18529
18530         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18531
18532 2004-12-01  Colin Walters  <walters@redhat.com>
18533
18534         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18535         includes.
18536
18537 2004-12-01  Colin Walters  <walters@redhat.com>
18538
18539         * panel-applet/NMWirelessAppletDbus.c
18540         (nmwa_dbus_update_active_device_strength): Fix missing
18541         return value.
18542
18543 2004-12-01  Colin Walters  <walters@redhat.com>
18544
18545         * panel-applet/NMWirelessApplet.c: Add missing include.
18546
18547 2004-12-01  Colin Walters  <walters@redhat.com>
18548
18549         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18550         Remove useless CLAMP (); the value is unsigned, and the case tests
18551         qual->qual < 100, so the value must always be between 0 and 100.
18552
18553 2004-12-01  Colin Walters  <walters@redhat.com>
18554
18555         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18556
18557 2004-11-22  Colin Walters  <walters@verbum.org>
18558
18559         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18560         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18561         which is essentially a noop since nscd caches hosts on disk too.
18562         
18563 2004-11-22  Colin Walters  <walters@redhat.com>
18564
18565         * src/Makefile.am (NetworkManager_SOURCES): Add
18566         NetworkManagerDevicePrivate.h.
18567
18568 2004-11-22  Dan Williams <dcbw@redhat.com>
18569
18570         * src/NetworkManagerDevicePrivate.h
18571                 - Split out the NMDevice struct to a different file so that stuff like
18572                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18573
18574         * dhcpcd/client.c
18575                 - fprintf->syslog
18576                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18577                         need to cancel the dhcp request during the send and recv
18578
18579         * dhcpcd/client.h
18580                 - Move the DHCP option enum to dhcpcd.h
18581
18582         * src/NetworkManagerDHCP.c
18583                 - Split out the actual IP/netmask/etc setting code
18584                 - New Renew/Rebind functions
18585                 - New timer setup function for renew/rebind operations
18586
18587         * src/NetworkManagerDevice.c
18588                 - For device activation, if we are using DHCP then keep the activation thread
18589                         alive until device deactivation.  We need to renew/rebind the DHCP address
18590                         after the T1 (renew) and T2 (rebind) times have expired.
18591                 - Increase some timeouts after bringing wireless cards up/down
18592
18593 2004-11-17  Dan Williams <dcbw@redhat.com>
18594
18595         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
18596                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
18597                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
18598                 show known access points that don't broadcast their ESSID in the menus without
18599                 any user intervention whatsoever.
18600
18601         * info-daemon/NetworkManagerInfoDbus.c
18602                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
18603                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
18604
18605         * src/NetworkManagerAP.[ch]
18606                 - Add a "user_addresses" data member to the NMAccessPoint structure
18607                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
18608                         the user_addresses data member
18609
18610         * src/NetworkManagerAPList.c
18611                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
18612                         the AP's reported address
18613                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
18614
18615         * src/NetworkManagerDHCP.c
18616                 - Increase DHCP timeout from 25s -> 30s
18617
18618         * src/NetworkManagerDbus.[ch]
18619                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
18620                         user addresses
18621
18622         * src/NetworkManagerDevice.c
18623                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
18624                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
18625                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
18626                         So, we take the card down to clear it out.
18627                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
18628                         too, since that's where the user_addresses are
18629
18630         * src/NetworkManagerPolicy.c
18631                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
18632                         that wireless networks' user_addresses list upon successful activation
18633
18634 2004-11-16  Dan Williams <dcbw@redhat.com>
18635
18636         * src/NetworkManagerDevice.[ch]
18637                 - (nm_device_clear_activation_fail): new function
18638
18639         * src/NetworkManagerPolicy.c
18640                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
18641                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
18642
18643 2004-11-16  Dan Williams <dcbw@redhat.com>
18644
18645         * src/NetworkManagerDevice.c
18646                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
18647                         leak the structure, better updating of now_scanning status
18648                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
18649
18650 2004-11-15  Dan Williams <dcbw@redhat.com>
18651
18652         Major rework of link detection code.  We now use DHCP
18653         as part of the link detection which proves to be much more robust,
18654         and also supports Open System authentication for wireless networks.
18655
18656         We no longer use external DHCP client programs.  Instead, we use 
18657         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
18658         which was written by:
18659                 Yoichi Hariguchi <yoichi@fore.com>
18660                 Sergei Viznyuk <sv@phystech.com>
18661                 http://www.phystech.com/download/
18662         It resides in the "dhcpcd" directory and was refactored into a general
18663         purpose DHCP client library by me.
18664
18665         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
18666         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
18667
18668 2004-11-15  Dan Williams <dcbw@redhat.com>
18669
18670         Patch from Tom Parker <palfrey@tevp.net>:
18671
18672         * src/NetworkManagerDevice.c
18673                 - Less output to console when no access
18674                         points are found during a scan
18675
18676 2004-11-15  Dan Williams <dcbw@redhat.com>
18677
18678         Patch from Tom Parker <palfrey@tevp.net>:
18679
18680         * src/backends/interface_parser.c
18681                 - Use g_strdup ()
18682                 - Check for inp == NULL
18683                 - use syslog ()
18684
18685 2004-11-13  Colin Walters  <walters@redhat.com>
18686
18687         Patch from Tom Parker <palfrey@tevp.net>:
18688
18689         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
18690         
18691         * src/backends/NetworkManagerRedHat.c: Switch to
18692         including shvar.h instead of shvar.c.
18693
18694         * src/backends/NetworkManagerDebian.c: Don't include
18695         interface_parser.c in source file.
18696
18697         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
18698         and interface_parser.[ch].
18699         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
18700         Include shvar.c and shvar.h here.
18701         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
18702         interface_parser.c and interface_parser.h here.
18703
18704 2004-11-12  Colin Walters  <walters@redhat.com>
18705
18706         * configure.in: Strip out TARGET_DISTRO and
18707         SYSTEM_BACKEND_FILE variables.  Switch to Automake
18708         conditionals.
18709
18710         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
18711         (libnmbackend_la_SOURCES): Use Automake conditionals
18712         to add distro-specific files.
18713
18714         * initscript/Makefile.am (SUBDIRS): Update to
18715         use conditionals.
18716
18717 2004-11-12  Colin Walters  <walters@redhat.com>
18718
18719         Patches from j bootlab org
18720
18721         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
18722         Add interface_parser.[ch].
18723
18724         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
18725         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
18726
18727 2004-11-12  Colin Walters  <walters@redhat.com>
18728
18729         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
18730         call to nmi_dbus_is_running too, not necessary anymore.
18731         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
18732         pick up exit().
18733
18734 2004-11-11  Colin Walters  <walters@verbum.org>
18735
18736         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
18737         Delete.
18738         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
18739         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
18740         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
18741         This avoids a race condition that made it pretty easily
18742         possible to get two NetworkManagerInfo daemons running.
18743
18744 2004-11-11  Colin Walters  <walters@verbum.org>
18745         
18746         * src/NetworkManager.c (main): Use daemon(3).
18747
18748         * info-daemon/NetworkManagerInfo.c (main): Ditto.
18749
18750         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
18751
18752 2004-11-10 Dan Williams <dcbw@redhat.com>
18753
18754         Patches from j bootlab org
18755         * src/NetworkManagerDevice.c
18756                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
18757                         whether the card has a link or not, some cards are slow
18758                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
18759
18760         * info-daemon/NetworkManagerInfoPassphraseDialog.c
18761                 - Disable the "Login" button on the passphrase dialog until the user
18762                         enters a valid passphrase or key
18763
18764         Patches from Tom Parker <palfrey tevp net>
18765         * src/backends/NetworkManagerDebian.c
18766                 - Add static IP support to the debian backend
18767
18768         * src/backends/interface_parser.[ch]
18769                 - Parse debian interface config files
18770
18771 2004-11-08 Dan Williams <dcbw@redhat.com>
18772
18773         * src/NetworkManagerDevice.c
18774                 - Some random fprintf->syslog conversions
18775                 - (nm_device_wireless_network_exists): double-check for network
18776                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
18777
18778         * src/NetworkManagerWireless.[ch]
18779                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
18780                         so that the binary->ascii conversion works (if unsigned, the bitshift
18781                         will fill with zeros, which is what's required).  Also mask bitshift
18782                         result with 0xF for futher assurance.
18783
18784 2004-11-06 Dan Williams <dcbw@redhat.com>
18785
18786         * src/NetworkManagerUtils.c
18787                 - (nm_get_wireless_driver_support_level): default to
18788                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
18789                         flip this when changing from whitelist->blacklist of
18790                         wireless drivers
18791
18792 2004-11-05 Dan Williams <dcbw@redhat.com>
18793
18794         Patch from Robert Paskowitz:
18795         * src/backends/NetworkManagerGentoo.c
18796                 - Update static IP config code
18797
18798 2004-11-05 Dan Williams <dcbw@redhat.com>
18799
18800         * info-daemon/NetworkManagerInfoDbus.c
18801           src/NetworkManagerDbus.[ch]
18802           src/NetworkManagerDevice.c
18803                 - Keep track of the # of attempts to get the WEP key
18804                         from the user and pass that along to the info daemon
18805
18806 2004-11-05 Dan Williams <dcbw@redhat.com>
18807
18808         * src/NetworkManagerUtils.c
18809                 - Blacklist wireless cards rather than whitelisting them.
18810                 - Grab driver name from HAL rather than trying to find it
18811                         ourselves.
18812
18813 2004-11-03 Dan Williams <dcbw@redhat.com>
18814
18815         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
18816                 - Disable OK button until valid data is entered
18817                         for encryption stuff too
18818
18819         * panel-applet/NMWirelessApplet.c
18820                 - Report card strength for current AP if the card
18821                         doesn't report strength data for scanned access
18822                         points
18823
18824         * src/NetworkManagerDevice.c
18825                 - Smooth out cards reported quality, Atmel card was
18826                         intermittently reporting no quality data but soon
18827                         recovers
18828
18829         * src/NetworkManagerWireless.c
18830                 - Better quality data percentage calculation.  Atmel
18831                         cards (mine at least) seem to report the quality
18832                         in percentage format already, so honor that
18833
18834         Patch from <j@bootlab.org>
18835         * NetworkManager.h
18836           info-daemon/NetworkManagerInfoPassphraseDialog.c
18837           info-daemon/passphrase.glade
18838           panel-applet/NMWirelessAppletOtherNetworkDialog.c
18839           panel-applet/essid.glade
18840           src/NetworkManagerAP.c
18841           src/NetworkManagerDevice.c
18842           src/NetworkManagerWireless.[ch]
18843                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
18844
18845 2004-11-03 Dan Williams <dcbw@redhat.com>
18846
18847         * src/NetworkManagerDevice.[ch]
18848                 - (nm_device_set_enc_key): Add parameter to set Authentication
18849                         Mode (Open System, Shared Key, or None).  We're still using
18850                         Shared Key for now though.
18851
18852 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
18853
18854         * panel-applet/menu-info.c: change from bold text to light
18855         colored, may cause problems with some themes, i've tested a lot
18856         and they seem fine. 
18857
18858         * panel-applet/NMWirelessApplet.c: fix strength tooltip
18859
18860 2004-11-01  Colin Walters  <walters@verbum.org>
18861
18862         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
18863         (nm_wireless_128bit_key_from_passphrase): Add const.
18864
18865         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
18866         (nm_ap_set_enc_key_source): Add const.
18867         
18868 2004-11-01  Colin Walters  <walters@verbum.org>
18869
18870         * .cvsignore: Update.
18871
18872 2004-10-29 Dan Williams <dcbw@redhat.com>
18873
18874         * src/NetworkManagerDevice.c
18875                 - (nm_device_wireless_network_exists): Actually use the encryption
18876                         key we got from the applet when attempting to find a wireless network
18877                 - Don't bring devices down so much since on some cards it triggers
18878                         firmware hotplugs each time
18879
18880         * src/NetworkManagerDbus.c
18881                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
18882                         from the caller
18883
18884 2004-10-29 Dan Williams <dcbw@redhat.com>
18885
18886         * src/NetworkManager.c
18887                 - (nm_hal_device_property_modified): unlock a locked active
18888                         wireless device when a wired connection gets a link.
18889                         (Means you'll switch to wired whenever you plug in no
18890                         matter what).
18891
18892 2004-10-29 Dan Williams <dcbw@redhat.com>
18893
18894         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
18895                 - New files, implement the "Other wireless network" dialog
18896
18897         * panel-applet/NMWirelessApplet.c
18898                 - Move "other wireless network" dialog to separate file
18899
18900         * panel-applet/NMWirelessAppletDbus.[ch]
18901                 - Take key and key_type paramaters for the set_device function
18902
18903         * panel-applet/essid.glade
18904                 - Add UI bits for encryption settings
18905
18906         * src/NetworkManagerDbus.c
18907                 - Retrieve key and key_type params for "setActiveDevice" method call
18908                         and pass them on
18909                 - unref AP returned from nm_device_get_best_ap() when needed
18910
18911         * src/NetworkManagerDevice.c
18912                 - (nm_device_get_best_ap): ref the ap before returning it
18913                 - unref AP returned from nm_device_get_best_ap() when needed
18914                 - (nm_device_activate_wireless): add "ap" parameter so we don't
18915                         need to call nm_device_get_best_ap() here, it was pretty much
18916                         redundant anyway
18917                 - (AP_NEED_KEY): break second link check condition out into separate
18918                         function, and fix segfault when ap->enc_key_source was NULL
18919                 - (nm_device_find_and_use_essid): take key and key_type parameters and
18920                         pass them along to nm_device_wireless_network_exists().  If the
18921                         network does exist, set the passed-in key+key_type on the AP
18922
18923         * src/NetworkManagerPolicy.c
18924                 - unref AP returned from nm_device_get_best_ap() when needed
18925
18926 2004-10-28 Dan Williams <dcbw@redhat.com>
18927
18928         * src/NetworkManagerUtils.c
18929                 - (nm_spawn_process): Fix a potential dereference of NULL
18930
18931         Patches from Peter Jones:
18932
18933         * src/NetworkManagerDevice.c
18934                 - (nm_device_test_wireless_extensions): Better check for
18935                         wireless devices
18936
18937         * src/NetworkManagerUtils.c
18938                 - (nm_spawn_process): Pass in valid stdout and stderr so
18939                         executed programs don't randomly SIGPIPE and fail
18940                 - (nm_get_wired_driver_support_level): quash hal warning
18941                         when checking for USB ethernet device
18942
18943 2004-10-27 Dan Williams <dcbw@redhat.com>
18944
18945         * info-daemon/NetworkManagerInfo.c
18946           info-daemon/NetworkManagerInfoDbus.c
18947           info-daemon/NetworkManagerInfoPassphraseDialog.c
18948           panel-applet/NMWirelessApplet.c
18949                 - Properly escape gconf keys
18950
18951         * src/NetworkManager.c
18952                 - remove unused variables
18953
18954         * src/NetworkManagerAP.c
18955                 - (nm_ap_new_from_ap): Don't redundantly set new APs
18956                         refcount since it got set in nm_ap_new()
18957
18958         * src/NetworkManagerAPList.c
18959                 - (nm_ap_list_combine): Give up ownership of newly created
18960                         access points to the ap list, fixes memleak
18961
18962         * src/NetworkManagerDevice.c
18963                 - Remove cached_ap_list4 member since its not really needed
18964                 - (nm_device_wireless_network_exists): Try to get correct
18965                         encryption status of a found AP if its already in our
18966                         device list
18967                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
18968                         memory allocs/deallocs a bit clearer and shorter-lived
18969
18970 2004-10-26 Ray Strode <rstrode@redhat.com>
18971
18972         * panel-applet/NMWirelessApplet.c:
18973           (custom_essid_item_selected):  kill some compiler
18974         warnings 
18975
18976 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
18977
18978         * info-daemon/NetworkManagerInfoDbus.c
18979                 - (nmi_dbus_is_running): New function for determining if nmi is already running
18980                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
18981
18982 2004-10-23 Dan Williams <dcbw@redhat.com>
18983
18984         * info-daemon/NetworkManagerInfoDbus.c
18985                 - Trap the "DeviceActivationFailed" signal
18986
18987         * docs/NetworkManager DBUS API.txt
18988                 - Add "DeviceActivationFailed" signal
18989
18990         * panel-applet/NMWirelessAppletDbus.c
18991                 - Quash the "NetworkManager service not available" message
18992
18993         * src/NetworkManagerDbus.[ch]
18994                 - Add the "DeviceActivationFailed" signal
18995
18996         * src/NetworkManagerDevice.c
18997                 - Add support for activation_failed flag
18998                 - Fix deadlock where activation thread didn't clean itself up, making
18999                         main thread still believe it was alive forever (didn't reset activation
19000                         flags like activating, just_activated, etc when IP configuration
19001                         failed)
19002
19003         * src/NetworkManagerPolicy.c
19004                 - Implement logic for DeviceActivationFailed signal, and when activation fails
19005                         for wireless networks, try to fall back to some other access point
19006
19007 2004-10-23 Dan Williams <dcbw@redhat.com>
19008
19009         * panel-applet/NMWirelessApplet.[ch]
19010                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19011                         to the applet object, so we can get tooltips
19012                 - Add tooltips (RH #136866)
19013
19014         * src/NetworkManagerDevice.c
19015                 - When trying to find a wireless network, try to connect with encryption
19016                         turned on first, so that we can more accurately detect whether or not
19017                         we need to use encryption for the actual association later on
19018
19019 2004-10-21 Dan Williams <dcbw@redhat.com>
19020
19021         * Add some support for telling NetworkManagerInfo to tell the user
19022                 that they are using a device that's not fully supported
19023
19024         * Fix some assertions in debug messages due to null access point args
19025
19026 2004-10-21 Dan Williams <dcbw@redhat.com>
19027
19028         * src/NetworkManagerDevice.c
19029                 - Don't try to activate/bring up/down unsupported
19030                         devices
19031
19032         * src/NetworkManagerUtils.c
19033                 - Fix case of PCI ID checks for driver support levels
19034
19035 2004-10-21 Dan Williams <dcbw@redhat.com>
19036
19037         * NetworkManager.h
19038                 - New file, now contains commonly used structures and bits
19039                         for the dbus API of NetworkManager
19040
19041         * Makefile.am
19042                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19043
19044         * src/NetworkManager.h
19045                 - Rename -> src/NetworkManagerMain.c
19046
19047         * Various fixups all around to use NetworkManager.h and new
19048                 src/NetworkManagerMain.h, remove redundant bits that got
19049                 moved into NetworkManager.h
19050
19051         * src/NetworkManagerDevice.[ch]
19052           src/NetworkManagerUtils.[ch]
19053           src/NetworkManagerPolicy.c
19054           src/NetworkManagerDbus.c
19055                 - Whitelist wireless drivers, and blacklist some wired
19056                         drivers.  Also blacklist cipsec and ethernet-over-usb
19057                         devices at this time (RH #135722, RH #135648)
19058                 - Don't leak unsupported devices out over dbus, or allow
19059                         them to be set as the active device.  Skip over them
19060                         during automatic device picking
19061
19062         * test/nmclienttest.c
19063                 - Clean up the dbus code a lot
19064
19065 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
19066
19067         * configure.in: post release bump.
19068
19069 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
19070
19071         * configure.in:
19072         * NEWS: Released NetworkManager-0.3.1
19073
19074 2004-10-18 Dan Williams <dcbw@redhat.com>
19075
19076         Patches from Thom May:
19077         * test/nmtestdevices.c
19078                 - Include <string.h>
19079         * src/backends/NetworkManagerDebian.c:
19080                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19081                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19082                         Move to using g_strdup_printf rather than arbitrary buffers
19083                 - (nm_system_device_setup_static_ip4_config) Implement function.
19084                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19085
19086 2004-10-17 Dan Williams <dcbw@redhat.com>
19087
19088         * info-daemon/NetworkManagerInfoDbus.c
19089                 - Display name of network in the "network not found" dialog
19090
19091         * panel-applet/NMWirelessAppletDbus.c
19092                 - (nmwa_dbus_call_nm_method): new function replaces all other
19093                         nmwa_dbus_get_[string|string_array|int|boolean] methods
19094                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19095                         consolidated into nmwa_dbus_get_object_name()
19096
19097 2004-10-15 Dan Williams <dcbw@redhat.com>
19098
19099         * src/NetworkManagerDbus.c
19100           info-daemon/NetworkManagerInfoDbus.c
19101                 - Display an error dialog when the user tries to use an
19102                         "Other wireless network" that's not found.
19103
19104 2004-10-15 Dan Williams <dcbw@redhat.com>
19105
19106         * panel-applet/NMWirelessApplet.[ch]
19107                 - Fix up corner cases in applet state, making it
19108                         look more responsive.  Change state to "connecting" when
19109                         the user is forcing a device too.
19110
19111 2004-10-15 Dan Williams <dcbw@redhat.com>
19112
19113         * src/NetworkManagerAPList.c
19114                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19115
19116         * src/NetworkManagerDbus.c
19117                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19118
19119         * src/NetworkManagerDevice.c
19120                 - Disown APs after the device's AP list takes ownership
19121
19122 2004-10-15 Dan Williams <dcbw@redhat.com>
19123
19124         * panel-applet/NMWirelessApplet.c
19125                 - Update our applet state from the GUI thread
19126
19127         * panel-applet/NMWirelessAppletDbus.c
19128                 - Greatly simplify the locking to make the GUI thread
19129                         smoother.  Update a private copy of the device list
19130                         and active device and only when done talking to
19131                         NetworkManager turn it over to the GUI thread.
19132
19133 2004-10-15 Dan Williams <dcbw@redhat.com>
19134
19135         * src/NetworkManagerAP.[ch]
19136                 - Add "artificial" get/set functions, set for APs that
19137                         aren't discovered as part of a scan but instead
19138                         discovered by force-setting the ESSID
19139
19140         * src/NetworkManagerDevice.[ch]
19141                 - (nm_device_wireless_network_exists): pass back whether
19142                         or not the discovered AP was encrypted.  Also, try
19143                         falling back to encrypted mode on the card if unencrypted
19144                         association doesn't work
19145                 - (nm_device_find_and_use_essid): If the network requested
19146                         did in fact exists, but it wasn't in our scan list, add
19147                         an "artificial" entry for it.  Some Cisco cards don't
19148                         see non-ESSID-broadcasting APs in their scan but can still
19149                         associate with them if you know the ESSID, this works around
19150                         that behavior
19151                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19152                         to scan if the card is currently associated with that AP
19153
19154 2004-10-15 Dan Williams <dcbw@redhat.com>
19155
19156         ---- We have a website ----
19157         http://people.redhat.com/dcbw/NetworkManager
19158
19159         Patch from Robert Paskowitz:
19160         * src/NetworkManager.c
19161                 - (main): Make sure we are run as root
19162         * src/NetworkManagerDevice.c
19163                 - Fix type in ad-hoc setting function
19164
19165         Patch from Thom May:
19166         * src/backends/NetworkManagerDebian.c
19167                 - Make Debian backend compile again
19168
19169 2004-10-14 Dan Williams <dcbw@redhat.com>
19170
19171         * Tagged NetworkManager-0_3
19172
19173 2004-10-14 Dan Williams <dcbw@redhat.com>
19174
19175         Patch from Robert Paskowitz:
19176         * NEWS
19177           src/NetworkManagerDevice.[ch]
19178           src/backends/NetworkManagerDebian.c
19179           src/backends/NetworkManagerGentoo.c
19180           src/backends/NetworkManagerRedHat.c
19181           src/backends/NetworkManagerSlackware.c
19182                 - Add support for grabbing and using a broadcast address
19183                         from system config files
19184                 - Some Gentoo backend fixes for grabbing network config
19185                 - Fix LOG_WARN->LOG_WARNING
19186
19187 2004-10-14 Dan Williams <dcbw@redhat.com>
19188
19189         * NEWS: a few small fixes in the credits
19190
19191 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
19192
19193         * NEWS: prep for release.
19194
19195 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
19196
19197         * panel-applet/NMWirelessAppletDbus.c
19198         (nmwa_dbus_update_device_wireless_networks): remove warnings.
19199
19200 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
19201
19202         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19203         applet->state == APPLET_STATE_NO_NM animation.
19204
19205         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19206         set the text correctly.
19207
19208 2004-10-14 Dan Williams <dcbw@redhat.com>
19209
19210         * src/NetworkManager.c
19211                 - Only accept and manager 802.3 and 802.11 devices
19212
19213         * src/NetworkManagerDbus.[ch]
19214                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19215                         logic into NetworkManagerDevice.c
19216                 - (nm_dbus_network_status_from_data): new function
19217                 - (nm_dbus_signal_network_status_change): new function, unused for now
19218                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19219
19220         * src/NetworkManagerDevice.[ch]
19221                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
19222                         a random ESSID.
19223
19224 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19225
19226         * info-daemon/NetworkManagerInfo.c 
19227                 - (main): Added session management
19228
19229 2004-10-14 Dan Williams <dcbw@redhat.com>
19230
19231         * panel-applet/NMWirelessAppletDbus.[ch]
19232                 - Expose network_device_[un]ref()
19233                 - Expose wireless_network_[un]ref()
19234                 - (wireless_network_new_with_essid): new function, create and return
19235                         a wireless network with a particular essid
19236
19237         * panel-applet/NMWirelessApplet.c
19238                 - Hook up the "other network" dialog to do something
19239
19240 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
19241
19242         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
19243         doesn't work yet, but it looks okay.
19244
19245         * panel-applet/icons/*png: Resize to 22x22 and install in the
19246         right place.
19247
19248 2004-10-13 Dan Williams <dcbw@redhat.com>
19249
19250         * panel-applet/NMWirelessApplet.c
19251                 - Add function to print out applet_state in a readable
19252                         manner
19253
19254         * src/NetworkManager.c
19255                 - (main): Don't segfault when nm_dbus_init() fails, we had
19256                         a left-over call to hal_shutdown() into which we passed NULL
19257
19258         * src/NetworkManagerAP.c
19259                 - (nm_ap_set_essid): Allow NULL essids
19260
19261         * src/NetworkManagerAPList.[ch]
19262                 - More use of nm_ap_list_[un]lock ()
19263                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19264                         network/essid, just return nothing.  Also skip over NULL
19265                         essid access points in the list when searching
19266                 - (nm_ap_list_get_ap_by_address): new function
19267                 - (nm_ap_list_update_network): set the access point's key source to
19268                         NULL when the key returned from NetworkManagerInfo is NULL or
19269                         of 0 length
19270                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19271                         copy timestamp over too
19272                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19273                         find the correct ESSID for a blank-essid access point by searching
19274                         through another list and matching access point MAC addresses
19275                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19276
19277         * src/NetworkManagerDbus.c
19278                 - (nm_dbus_nm_set_active_device): deal with random networks the user
19279                         may specify.  This is mainly for access points that don't
19280                         broadcast their essid.  So if the user tells us to associate with
19281                         some random ESSID that's not in our access point list, we find
19282                         out if the access point does in fact exist (by attempting association
19283                         and then matching that access point's MAC address with the essid the
19284                         user gave us) and then we switch to it.
19285                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19286                         to the returned list of networks for the "getNetworks" method
19287
19288         * src/NetworkManagerDevice.[ch]
19289                 - Extra debugging info for link detection
19290                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19291                         based on MAC address
19292                 - (nm_device_get_path_for_ap): ignore blank-essid access points
19293                 - (nm_device_wireless_network_exists): new function, find out whether
19294                         a random ESSID exists by attempting to associate with it
19295                 - (nm_device_do_normal_scan): allow blank-essid access points in our
19296                         device list as long as they have an AP MAC address we can use.
19297                         Also send WirelessNetwork[Dis]Appeared signals for non-active
19298                         devices too.  Lets the applet update more frequently.
19299
19300         * src/backends/NetworkManagerGentoo.c
19301                 - Patch from: Robert Paskowitz
19302                         - Update backend code for Gentoo
19303                         - Implement nm_system_device_update_config_info ()
19304
19305         * test/nmclienttest.c
19306                 - (set_network_device): new function, takes a command-line argument
19307                         and tells NetworkManager to use that wireless network
19308
19309 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19310
19311         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19312         if the notification icon crashes 5 times within 5 seconds of each respawn 
19313
19314 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
19315
19316         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19317         g_print.
19318
19319 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
19320
19321         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19322
19323         * panel-applet/NMWirelessApplet.c: (animation_timeout),
19324         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19325         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19326         Change the name of the icons.
19327
19328         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19329         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19330         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19331         (nm_menu_wireless_expose_event): Really bad hack to get the style
19332         to draw in the right color.
19333
19334 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19335
19336         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
19337         Notification if it crashes
19338
19339 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
19340
19341         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
19342         (nmwa_dbus_get_string): remove unused functions
19343
19344         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19345         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19346         remove unused functions
19347
19348         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19349
19350 2004-10-12 Dan Williams <dcbw@redhat.com>
19351
19352         * panel-applet/NMWirelessAppletDbus.c
19353                 - New functions:
19354                         wireless_network_new
19355                         wireless_network_copy
19356                         network_device_new
19357                         network_device_copy
19358
19359         * src/NetworkManagerDevice.[ch]
19360                 - New functions:
19361                         nm_device_set_mode_managed
19362                         nm_device_set_mode_adhoc
19363                 - Use these functions where appropriate
19364                 - When creating a new wireless device, force the card
19365                         to managed/Infrastructure mode as soon as possible
19366
19367 2004-10-12 Dan Williams <dcbw@redhat.com>
19368
19369         * src/NetworkManagerDevice.c
19370                 - Force wireless cards into Infrastructure mode before we use them
19371
19372 2004-10-12 Dan Williams <dcbw@redhat.com>
19373
19374         * TODO
19375                 - Remove bit about static IP address support
19376
19377         * src/NetworkManagerUtils.c
19378                 - (nm_spawn_process): Add some error reporting
19379
19380         * src/NetworkManagerDevice.c
19381                 - (nm_device_activation_configure_ip): hook up to the static config
19382                         routines in the backends
19383
19384         * src/backends/NetworkManagerRedHat.c
19385                 - (nm_system_device_update_config_info): use shvar.c routines to
19386                         parse the config file iformation, not our own
19387                 - (nm_system_device_setup_static_ip4_config): new function, based
19388                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
19389                         with a static IP address and gateway
19390
19391         * src/backends/shvar.[ch]
19392                 - Parser (filched from initscripts package) for ifcfg-* files
19393
19394         * src/backends/NetworkManagerSystem.h
19395           src/backends/NetworkManagerGentoo.c
19396           src/backends/NetworkManagerDebian.c
19397           src/backends/NetworkManagerSlackware.c
19398                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19399
19400 2004-10-11 Dan Williams <dcbw@redhat.com>
19401
19402         * TODO
19403                 - Remove bit about more robust AP diffing since I just implemented it
19404
19405 2004-10-11 Dan Williams <dcbw@redhat.com>
19406
19407         * src/NetworkManagerAP.c
19408                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19409                         enough RAM to allocate new AP structures, but return NULL instead
19410
19411         * src/NetworkManagerAPList.[ch]
19412                 - (nm_ap_list_is_empty): new function
19413                 - (nm_ap_list_combine): new function, combine two access point lists
19414                 - (nm_ap_list_copy_keys): new function, copy keys from one list
19415                         into another
19416
19417         * src/NetworkManagerDevice.[ch]
19418                 - Rename some functions to be clearer:
19419                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19420                         nm_device_just_activated     -> nm_device_is_just_activated
19421                         nm_device_activating         -> nm_device_is_activating
19422                         nm_device_now_scanning       -> nm_device_is_scanning
19423                 - Cache the last 4 scans so that the access point list is more stable.
19424                         We combine the lastest two scans and use that as the AP list,
19425                         and diff that combined list against the combination of the earliest
19426                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19427
19428 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19429
19430         * info-daemon/NWManagerInfo.h
19431                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19432
19433         * info-daemon/NWManagerInfoDbus.c
19434                 - (shutdown_callback): new function
19435                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19436                         if NetworkManager goes away.  Kill the timeout
19437                         if NetworkManager restarts before the 30 seconds
19438                         are up.
19439                 - (nmi_dbus_service_init): 
19440                         - call gtk_main_quit if NetworkManager is not running
19441                         - add filters to monitor dbus service creations and
19442                                 deletions
19443         
19444 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19445
19446         * panel-applet/NMWirelessApplet.c
19447                 - (nmwa_update_state): Hide notification icon if we are only
19448                         showing one wired card and no wireless interfaces 
19449                         (Red Hat Bug #134895)
19450
19451         * panel-applet/NMWirelessAppletDbus.c
19452                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19453
19454         * info-daemon/NWManagerInfo.c
19455                 - (main): Terminated the notification_icon_cmd array with a NULL
19456
19457 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
19458
19459         * configure.in (ALL_LINGUAS): Added de (German).
19460
19461 2004-10-08 Dan Williams <dcbw@redaht.com>
19462
19463         * src/NetworkManagerDevice.c
19464                 - Be a bit more robust about link checking, ie make sure that
19465                         the WEP key we were given actually has some data in it
19466
19467 2004-10-08 Dan Williams <dcbw@redhat.com>
19468
19469         * info-daemon/NetworkManagerInfo.c (main):
19470                 - Initialize GError object to NULL
19471
19472 2004-10-08 Dan Williams <dcbw@redhat.com>
19473
19474         * panel-applet/NMWirelessAppletDbus.c
19475                 - Die if NetworkManagerInfo dies, since it manages our lifetime
19476
19477 2004-10-08 Dan Williams <dcbw@redhat.com>
19478
19479         * info-daemon/NetworkManagerInfo.[ch]
19480           info-dameon/NetworkManagerInfoDbus.[ch]
19481           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19482                 - Preserve original label text in the passphrase dialog so that
19483                         it actually gets updated with the new network name the next
19484                         time around.  Previously, we were overwriting it so you'd get
19485                         the wrong network name to enter a key for
19486                 - Add a "Key Type" combo to the passphrase dialog, user selects
19487                         encryption key type now, type is stored in GConf too
19488                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19489
19490         * src/NetworkManagerAP.[ch]
19491                 - Remove all the encyption method magic.  It's now set by the user
19492                         and NetworkManager retrieves the type of encryption key from
19493                         NetworkManagerInfo
19494
19495         * src/NetworkManagerAPList.[ch]
19496           src/NetworkManagerDbus.[ch]
19497                 - Adjust to new way of setting encryption key and method
19498                 - Pull encryption method down from NMI along with key
19499
19500         * src/NetworkManagerDevice.[ch]
19501                 - Removed encryption method fallback magic as the method is now
19502                         determined by the user.  This greatly simplifies the connection
19503                         logic.
19504                 - More robust connection/link logic.  Besides removing the encryption
19505                         method fallback magic, check whether or not the card is receiving
19506                         invalidly encrypted packets, which usually indicates that we have
19507                         a bad WEP key set.
19508                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19509
19510         * test/nminfotest.c
19511                 - Test out new "Key Type" stuff in the NMI passphrase dialog
19512
19513 2004-10-07 Dan Williams <dcbw@redhat.com>
19514
19515         * info-daemon/NetworkManagerInfo.conf
19516                 - Allow root user to run NMI too
19517
19518 2004-10-06 Dan Williams <dcbw@redhat.com>
19519
19520         * src/NetworkManagerDevice.[ch]
19521           src/NetworkManagerDbus.c
19522           doc/NetworkManager DBUS API.txt
19523                 - Add a new status tag "scanning", which is set when there
19524                         is no active network connection, but NetworkManager is
19525                         looking for an access point to associate with
19526
19527         * panel-applet/main.c
19528                 - Cast the applet appropriately for gtk_widget_show_all ()
19529
19530 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
19531
19532         * panel-applet/eggtrayicon.[ch]:
19533         * panel-applet/main.c: Add missing file
19534
19535 2004-10-04 Dan Williams <dcbw@redhat.com>
19536
19537         * src/NetworkManagerDevice.[ch]
19538                 - Add a slightly more robust method of determining if the WEP key
19539                         is correct or not, by checking the WEP-discarded packet count
19540                         on the card
19541
19542         * info-daemon/NetworkManagerInfo.c
19543                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19544                         un-escape values we pull out rather than escaping them
19545
19546 2004-10-03  Marcel Telka  <marcel@telka.sk>
19547
19548         * configure.in (ALL_LINGUAS): Added sk.
19549
19550 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
19551
19552         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19553         and feel.  We should be back to working, and have a good, clean
19554         look.
19555
19556 2004-09-30 Dan Williams <dcbw@redhat.com>
19557
19558         * info-daemon/NetworkManagerInfo.c
19559           info-daemon/NetworkManagerInfoDbus.c
19560           test/nminfotest.c
19561                 - Escape ESSIDs in gconf
19562
19563         * src/NetworkManagerDevice.c
19564                 - Fix pseudo-scanning to use netowrk list from info daemon
19565
19566 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
19567
19568         * configure.in: Add a temporary --enable-notification-icon.  This
19569         will prolly go away.
19570
19571         * info-daemon/Makefile.am:
19572         * info-daemon/NetworkManagerInfo.c:
19573         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19574
19575         * panel-applet/Makefile.am:
19576         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19577         * panel-applet/NMWirelessApplet.h:
19578
19579 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
19580
19581         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
19582         before 'select custom ESSID'.
19583
19584         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
19585         fully complete, but syncing in prep for merge.
19586
19587         * panel-applet/icons/*png: New images
19588
19589 2004-09-28 Dan Williams <dcbw@redhat.com>
19590
19591         * src/NetworkManager.c
19592           src/NetworkManagerDevice.c
19593           src/NetworkManagerPolicy.c
19594                 - Don't blow away an active wired connection on startup
19595
19596 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
19597
19598         Changes from J5
19599         
19600         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
19601
19602         * info-daemon/NetworkManagerInfoDbus.c: added service name to
19603         syslog output
19604
19605 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
19606
19607         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
19608         have a wireless card.
19609
19610 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
19611
19612         * panel-applet/NMWirelessApplet.c: move the custom essid item.
19613         Also, get the right device strings.
19614
19615 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
19616
19617         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
19618         the logic to make this right.
19619
19620         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
19621         devices so that wired networks are always first.
19622
19623 2004-09-22    <clarkbw@cvs.gnome.org>
19624
19625         * initscript/Debian/.cvsignore:
19626         * initscript/Slackware/.cvsignore:
19627         Added new cvsignores for Makefile, Makefile.in
19628         
19629         * test/.cvsignore:
19630         Added nmtestdevices
19631         
19632         * src/NetworkManagerDevice.c: 
19633         * src/NetworkManager.c: 
19634         Updated the wireless/wired HAL device strings from net.ethernet to
19635         net.80203 or net.80211 depending on wired or wireless respectively
19636         
19637         * examples/python/NetworkManager.py: 
19638         s/Quality/Strength/
19639
19640         * examples/python/systray/network_tray.py:
19641         Lots of little changes and fixes.  been rotting for a while so I
19642         figured I'd finally sync them all with CVS
19643
19644 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
19645
19646         * configure.in: Add graphics
19647
19648         * panel-applet/Makefile.am: Add graphics
19649
19650         * panel-applet/icons/*: Add graphics
19651
19652         * panel-applet/NMWirelessApplet.c: Use new menu times to display
19653         the icons fully lined up.
19654
19655         * panel-applet/menu-info.c: 
19656         * panel-applet/menu-info.h: Add another menu type.
19657
19658 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
19659
19660         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
19661
19662         * panel-applet/menu-item.[ch]: Wireless menu item.
19663
19664 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
19665
19666         * info-daemon/NetworkManagerInfo.conf
19667                 - Created a more robust security policy for the DBus service
19668                         - everything is denied by default
19669                         - root can own and send to the service
19670                         - users logged in at the console can send to the service
19671
19672 2004-09-13  Dan Williams <dcbw@redhat.com>
19673
19674         * src/NetworkManagerDevice.c
19675                 - (nm_device_get_essid): use iw_get_basic_config() rather than
19676                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
19677                         the latter
19678
19679 2004-09-13  Dan Williams <dcbw@redhat.com>
19680
19681         * TODO: fix typo
19682
19683         * docs/NetworkManager DBUS API.txt
19684                 - Update for new signal strength changes
19685
19686         * panel-applet/NMWirelessApplet.c
19687                 - Make panel icon show strength of the current connection
19688                 - Cleanups and memleak fixes
19689
19690         * panel-applet/NMWirelessApplet.h
19691                 - Add data members for signal strength on devices and networks
19692
19693         * panel-applet/NMWirelessAppletDbus.c
19694                 - Free more DBusErrors
19695                 - Update for new signal strength changes
19696                 - Make devices and networks more like real objects, use ref/unref methods
19697                 - Actually unlock the mutex when updating the active device
19698
19699         * src/NetworkManagerAP.c
19700                 - Change AP functions and data members from "quality"->"strength"
19701
19702         * src/NetworkManagerDbus.c
19703                 - Kill "getMaxQuality" and "getQuality" methods
19704                 - Add "getStrength" methods for Networks and Devices
19705
19706         * src/NetworkManagerDevice.[ch]
19707                 - Add accessors for device strength
19708                 - Add functions to update strength for a device.  Note that not all drivers
19709                         actually support signal strength for scanned access points (Atmel drivers
19710                         being one)
19711                 - Calculate signal strength for each AP during scan
19712
19713         * src/NetworkManagerWireless.[ch]
19714                 - Add function to return signal strength % from a device and a raw quality struct
19715
19716         * test/nmclienttest.c
19717                 - Update for new signal strength changes
19718
19719 2004-09-11  Dan Williams <dcbw@redhat.com>
19720
19721         * src/NetworkManager.c
19722                 - Fix race condition between initscripts and NM on card insertion
19723                         which could cause a card to keep an IP address and routes around
19724                         even when it was not the active device
19725
19726         * src/NetworkManagerDbus.c
19727                 - Fix compile errors, free more DBusErrors
19728
19729 2004-09-11  Dan Williams <dcbw@redhat.com>
19730
19731         * docs/NetworkManager DBUS API.txt
19732                 - Add an explanation of NM's API
19733
19734         * src/NetworkManagerDbus.c
19735                 - Free some more DBusErrors if needed
19736
19737 2004-09-11  Dan Williams <dcbw@redhat.com>
19738
19739         * panel-applet/NMWirelessApplet.c
19740           panel-applet/NMWirelessAppletDbus.c
19741                 - Start using NetworkDevice/WirelessNetwork structures in more places
19742                 - Update for unified device/network forcing in NetworkManager
19743
19744         * src/NetworkManager.c
19745                 - some code consolidation
19746
19747         * src/NetworkManagerDbus.c
19748                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
19749                         or two arguments:  the first is the NM ID of the device to switch to,
19750                         and the second (optional) argument is the ESSID of a wireless network
19751                         to use as well.
19752                 - Get rid of "setNetwork" method due to above change
19753
19754         * src/NetworkManagerDevice.c
19755                 - (nm_device_new): perform scan and update best AP on device creation
19756                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
19757                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
19758                         spin waiting for cancellation to finish before returning
19759
19760         * src/NetworkManagerPolicy.c
19761                 - Changes here clarify the situations in which a device switch occurs, and 
19762                         make sure to keep using a forced device and network if the user gives
19763                         us one
19764                 - Remove old unused code
19765
19766 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
19767
19768         * configure.in: Added Danish (da) to ALL_LINGUAS.
19769
19770 2004-09-09  Dan Williams <dcbw@redhat.com>
19771
19772         * panel-applet/NMWirelessAppletDbus.c
19773                 - Pull fresh devices and networks from NM when wireless networks
19774                         change.  Provides faster feedback of a forced wireless network
19775
19776         * src/NetworkManagerDbus.c
19777                 - Return error when "getMaxQuality" is called on a wired device
19778                 - Make best_ap freezing actually work again, and signal cancellation
19779                         of activation if there's already a device activation when the user
19780                         freezes the best_ap
19781
19782         * src/NetworkManagerDevice.c
19783                 - Don't clear out the best_ap for wireless devices when the link goes
19784                         down, that's done elsewhere
19785                 - Kill any dhcp daemons when cancelling device activation since they
19786                         may be stuck waiting for a DHCP address, and since we're cancelling
19787                         activation we don't care about that anymore
19788
19789         * src/NetworkManagerPolicy.c
19790                 - Make sure to unref the device we ref earlier (we refed it to make sure
19791                         it stuck around during device activation and such)
19792                 - If we were going to change the best device, but its activating currently
19793                         (and therefore the change didn't occur due to the check earlier)
19794                         we mark the state changed to we come back to it later when device
19795                         activation has canceled and its no longer activating
19796
19797         * src/backends/NetworkManagerRedHat.c
19798                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
19799
19800 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
19801
19802         * info-daemon/passphrase.glade: 
19803         set passphrase input to activates_default : True
19804
19805         * examples/python/systray/network_tray.py
19806         (network_tray.sort_networks):
19807
19808         Added support for having wireless always scanning
19809
19810 2004-09-09  Dan Williams <dcbw@redhat.com>
19811
19812         NOTE: this commit changes the behavior of wireless devices in
19813         NetworkManager.  They are now up all the time, scanning all
19814         the time.  Only the active device has an IP address and routing
19815         information set up however.  Also, NetworkManager will no longer
19816         opportunistically switch wireless networks when a better one
19817         comes in range, it will remain associated with one wireless network
19818         until that one drops out.
19819
19820         * panel-applet/NMWirelessApplet.c
19821           panel-applet/NMWirelessAppletDbus.c
19822                 - List all wireless cards and their respective networks
19823
19824         * src/NMLoadModules
19825                 - Use full path to /sbin/ip
19826
19827         * src/NetworkManager.c
19828                 - Keep wireless devices up all the time so they can scan
19829
19830         * src/NetworkManagerDbus.c
19831                 - On a WirelessNetworkUpdate signal from NMI, don't update
19832                         the "best" AP
19833
19834         * src/NetworkManagerDevice.c
19835                 - (nm_device_set_link_active): clear out the best ap for
19836                         wireless devices when the link is set to FALSE
19837                 - Scan on all wireless cards, all the time
19838                 - (nm_device_activation_worker): split out the wireless card
19839                         link-waiting code to a separate function
19840                 - Keep wireless cards up even if device activation fails
19841                 - Don't update the "best" ap as much
19842
19843         * src/NetworkManagerPolicy.c
19844                 - Don't update the best ap when checking if its frozen,
19845                         let link checking clear out a frozen best ap for us
19846
19847         * src/NetworkManagerWireless.c
19848                 - Scan on all wireless cards, all the time
19849
19850 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
19851
19852         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
19853
19854 2004-09-09  Ankit Patel <ankit@redhat.com>
19855
19856         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
19857
19858 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
19859
19860         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
19861
19862 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
19863
19864         * examples/python/NetworkManager.py: 
19865         added CONNECTED, CONNECTING, and DISCONNECTED states
19866         added methods to return number of devices of a single type
19867
19868         * examples/python/systray/network_tray.py: 
19869         did some tweaks to get the menu looking near what it is supposed
19870         to look like.  Also did a Airo card hack to make it show the
19871         correct AP quality
19872
19873 2004-09-08  Dan Williams <dcbw@redhat.com>
19874
19875         * panel-applet/no-networkmanager.png
19876           panel-applet/Makefile.am
19877           panel-applet/NMWirelessApplet.c
19878                 - Add a "NetworkManager not running" icon and use it
19879                 - Use new consolidated GConf keys rather than Preferred/Trusted
19880
19881         * TODO: update
19882
19883         * info-daemon/NetworkManagerInfo.c
19884           info-daemon/NetworkManagerInfoDbus.[ch]
19885           info-daemon/NetworkManagerInfoPassphraseDialog.c
19886                 - There are now no longer two separate lists of wireless networks,
19887                         but one list where each network is "trusted" or not trusted
19888                 - Add a "getNetworkTrusted" dbus method
19889                 - "WirelessNetworkUpdate" signal now sent rather than
19890                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
19891                 - Start freeing some dbus errors (not completed yet)
19892
19893         * info-daemon/passphrase.glade
19894                 - Remove the "don't show" hints for pager and taskbar
19895                 - Add a title since its going to be in the taskbar
19896
19897         * src/NetworkManager.[ch]
19898           src/NetworkManagerAPList.[ch]
19899                 - There are now no longer two separate lists of wireless networks,
19900                         but one list where each network is "trusted" or not trusted
19901
19902         * src/NetworkManagerAP.[ch]
19903                 - Add get/set "trusted" accessors and data bit
19904
19905         * src/NetworkManagerDbus.[ch]
19906                 - Add function to get "trusted" status of a network from NetworkManagerInfo
19907                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
19908
19909         * src/NetworkManagerDevice.[ch]
19910                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
19911                 - (nm_device_new): Get device config from backend when initializing devices
19912                 - (nm_device_activation_worker): Split out device configuration on
19913                         activation to deal with static/dynamic IP differences, and try encryption
19914                         fallbacks on a device if the encryption method for the best AP is not good
19915                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
19916                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
19917
19918         * src/NetworkManagerWireless.c
19919                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
19920
19921         * src/backends/NetworkManagerRedHat.c
19922           src/backends/NetworkManagerSystem.h
19923                 - (nm_system_device_update_config_info): Add function to get device configuration
19924                         from system data in ifcfg-* files
19925
19926         * src/backends/NetworkManagerDebian.c
19927           src/backends/NetworkManagerGentoo.c
19928           src/backends/NetworkManagerSlackware.c
19929                 - Add stub functions for getting device configuration
19930
19931 2004-09-07  Dan Williams <dcbw@redhat.com>
19932
19933         * src/backends/NetworkManagerRedhat.c
19934           src/backends/NetworkManagerSlackware.c
19935                 - Use full path to /sbin/ip everywhere
19936
19937 2004-09-07  Dan Williams <dcbw@redhat.com>
19938
19939         Patch from: Narayan Newton <narayan_newton@yahoo.com>
19940
19941         * configure.in
19942           initscript/Makefile.am
19943           initscript/Slackware/Makfile.am
19944           initscript/Slackware/rc.networkmanager
19945           src/Makefile.am
19946           src/backends/NetworkManagerSlackware.c
19947                 - Add Slackware support
19948
19949 2004-09-07  Dan Williams <dcbw@redhat.com>
19950
19951         Patches below from:
19952                 <j@bootlab.org>
19953                 Mark Roach <mrroach@okmaybe.com>
19954                 Thom May <thom@debian.org>
19955
19956         * configure.in
19957           initscript/Debian/NetworkManager
19958           initscript/Debian/Makefile.am
19959                 - Initscript for Debian
19960
19961         * src/backends/NetworkManagerDebian.c
19962                 - Add missing system init function to allow compilation
19963                         on Debian
19964
19965 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
19966
19967         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
19968
19969 2004-09-03  Akagic Amila <bono@linux.org.ba>
19970
19971         * configure.in: Added 'bs' to ALL_LINGUAS.
19972
19973 2004-09-02  Colin Walters  <walters@verbum.org>
19974
19975         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
19976         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
19977         g_strdup_printf instead of arbitrarily sized buffers.
19978
19979 2004-09-01  Colin Walters  <walters@verbum.org>
19980
19981         * NetworkManager.pc.in: New file.
19982
19983         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
19984
19985 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
19986         
19987         * configure.in: Punjabi(pa) is added to po/.
19988
19989 2004-08-31  Dan Williams <dcbw@redhat.com>
19990
19991         * Remove 'debug' extern global from all files since we now
19992                 use syslog()
19993
19994         * src/NetworkManager.[ch]
19995                 - Break out routine that get the net.interface property from HAL,
19996                         removing that logic from nm_create_device_and_add_to_list()
19997                 - (nm_create_device_and_add_to_list): make this a bit more general so
19998                         it doesn't do the talking to HAL.  Also add arguments to facilitate
19999                         the create of test devices.
20000                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20001                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20002                         which makes NetworkManager listen for dbus commands to create test
20003                         devices, which have no backing hardware.  Use when you're on a plane
20004                         for example, and/or forgot your wireless card at home.  Test devices
20005                         _cannot_ be created unless NM is started with --enable-test-devices.
20006
20007         * src/NetworkManagerDbus.[ch]
20008                 - New "getLinkActive" method for devices
20009                 - New "setLinkActive" method for devices (only works on test devices)
20010                 - New "createTestDevice" method on NetworkManager object to create a test
20011                         device of a specified type (ie wired, wireless).  UDI is created from
20012                         scratch, as is the interface name.  Only works when NM is started with
20013                         --enable-test-devices switch.
20014                 - New "removeTestDevice" method on NetworkManager object which removes a
20015                         test device.  Only works when NM is started with --enable-test-devices
20016
20017         * src/NetworkManagerDevice.[ch]
20018                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
20019                         whether a device is a test device or not, and what its link status is.
20020                 - Deal with test devices in most functions.  For those that work directly on hardware
20021                         special-case test devices.
20022                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20023                         command-line.
20024                 - (nm_device_update_link_active): split out logic for wired and wireless device link
20025                         checking to separate functions to facilitate test device link checking.
20026                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20027                         don't make a distinction between System Authentication and Encryption
20028                         (namely Cisco aironet), we use Open System auth when setting a WEP key
20029                         on the card.  We don't deal with Shared Key auth yet.
20030                 - (nm_device_activation_worker): split the activation cancel check logic out into
20031                         a separate routine nm_device_activation_cancel_if_needed()
20032                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20033                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20034                         a list of fake access points that they can "see"
20035                 - (nm_device_is_test_device): return whether or not a device is a test device
20036
20037         * src/NetworkManagerPolicy.c
20038                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20039                         previously if you "locked"/forced NM to use a wireless device but then
20040                         selected a wireless network for NM to use, it would switch to a wired device.
20041                         So, if the active device is wireless and it has a "forced" best AP, use it
20042                         if the "forced" best AP is still valid
20043                 - (nm_state_modification_monitor): deal with NULL best devices, for example
20044                         there were no usable network devices, or the last one was removed
20045
20046         * src/backends/NetworkManager*.c
20047                 - Deal with test devices, mostly just return success for operations like getting
20048                         a DHCP address
20049
20050         * test/nmtestdevices.c
20051                 - Test tool to create/remove/link-switch test devices
20052
20053 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
20054
20055         * examples/python/NetworkManager.py: 
20056         added convience functions has_wired_device and has_wireless_device
20057
20058         * examples/python/systray/network_tray.py: 
20059         cleaned up a bunch of cruft, added support for listing wireless
20060         networks just like the real applet.  This is probably all I'm
20061         going to work on this applet from now on.
20062         TODO: add support for actually changing networks and devices
20063
20064         * examples/python/NetworkManager.py (NetworkManager.get_device): 
20065         changed "nm.networks" into a dict from a list so I can store all
20066         the cool information about networks in there
20067
20068         * examples/python/systray/network_tray.py: 
20069         Added nice message when you try to run without running make first
20070
20071         * examples/python/NetworkManager.py: 
20072         Bug fixes to the code so we get all the device information
20073         that we need in get_device()
20074         
20075         * examples/python/NMTester.py: 
20076         Fixed _print_device_list to print_device_list
20077
20078 2004-08-29  Seth Nickell  <seth@gnome.org>
20079
20080         * configure.in:
20081
20082         Actually properly setup the Debian backend in configure.
20083         
20084 2004-08-29  Colin Walters  <walters@verbum.org>
20085
20086         * test/nminfotest.c: Include string.h and stdlib.h.
20087         (get_network_string_property, get_networks_of_type): Return NULL.
20088
20089         * test/nmclienttest.c (get_device_name, get_active_device): Return
20090         NULL.
20091
20092         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20093         use strlen, fgets always NULL-terminates the string.
20094
20095         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20096         dbus_message_get_member): Remove /* in comment.
20097
20098         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20099
20100         * src/NetworkManager.c (quit): Unused, delete.
20101         (nm_data_free): Cast arg to GFunc.
20102
20103         * panel-applet/NMWirelessAppletDbus.c: Need to include
20104         string.h, and dbus-glib-lowlevel.h (the latter is needed
20105         for dbus_connection_setup_with_g_main at present).
20106         (nmwa_dbus_update_wireless_network_list): Parenthesize
20107         assignment in conditional.
20108         (nmwa_dbus_worker): Return NULL.
20109
20110         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20111         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20112         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20113         (nmwa_populate_menu): Return NULL on failure, instead of just
20114         return;
20115
20116         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20117
20118         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20119         variables.
20120
20121         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20122         delete.
20123         
20124 2004-08-29  Colin Walters  <walters@verbum.org>
20125
20126         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20127         a GTimeVal instead of time_t.  This is easier to work with,
20128         since time_t may be a long or double, we don't know.
20129
20130         * src/NetworkManagerDbus.h: Update prototype.
20131         
20132         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20133         instead of time_t.
20134         (nm_ap_get_timestamp): Update to return GTimeVal.
20135         (nm_ap_set_timestamp): Update to take GTimeVal.
20136         
20137         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20138         to handle GTimeVal.
20139
20140         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20141         GTimeVal change.
20142         (nm_ap_list_print_members): Fix warnings in printf format.
20143
20144 2004-08-29  Colin Walters  <walters@verbum.org>
20145         
20146         * panel-applet/NMWirelessApplet.c: Include config.h.
20147
20148 2004-08-29  Colin Walters  <walters@verbum.org>
20149
20150         * configure.in: Generate config.h.
20151
20152         * configure.in: Dump dependency on OpenSSL; we can't
20153         use it since this package is GPL:
20154         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20155         Instead, check for libgcrypt, use it if available,
20156         otherwise use included MD5 code.
20157
20158         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20159         Suck in from gnome-keyring, munge a bit.
20160         
20161         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20162         gnome-keyring-md5.h gnome-keyring-md5.c.
20163         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20164
20165         * src/NetworkManagerWireless.c (nm_md5): New function, uses
20166         libgcrypt or included gnome-keyring md5 bits.
20167         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20168
20169 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20170
20171         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20172
20173 2004-08-27  Bryan Clark  <bclark@redhat.com>
20174
20175         * examples/python/systray/Makefile: 
20176
20177         Updated the clean section
20178         
20179         * examples/python/systray/trayiconmodule.c: 
20180         * examples/python/systray/trayicon.override: 
20181         * examples/python/systray/network_tray.py: 
20182         * examples/python/systray/eggtrayicon.h: 
20183         * examples/python/systray/eggtrayicon.c: 
20184         * examples/python/systray/Makefile: 
20185         * examples/python/README: 
20186         * examples/python/NetworkManager.py: 
20187         * examples/python/NMTester.py: 
20188
20189         Initial commit of these python example files
20190
20191 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20192
20193         * panel-applet/NMWirelessApplet.c
20194                 - Make current device bold
20195                 - Show more user-friendly device name if we got one from hal
20196
20197         * panel-applet/NMWirelessAppletDbus.c
20198                 - Grab "info.product" key from hal for network devices
20199                 - Cache the current active device
20200
20201 2004-08-27  Adam Weinberger  <adamw@gnome.org>
20202
20203         * configure.in: Added en_CA to ALL_LINGUAS.
20204
20205 2004-08-27  Christian Rose  <menthos@menthos.com>
20206
20207         * configure.in: Added "sv" to ALL_LINGUAS.
20208
20209 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20210
20211         * Tag NetworkManager-0.2
20212
20213 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20214
20215         * initscripts/Makefile.am
20216         * configure.in: Make pass distcheck
20217
20218         * po/ChangeLog: added
20219
20220 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20221
20222         * panel-applet/NMWirelessApplet.c
20223                 - Remove debugging code
20224                 - Enable device switching from menus
20225
20226         * panel-applet/NMWirelessAppletDbus.[ch]
20227                 - Method for asking NM to switch devices
20228
20229         * src/NetworkManagerDevice.c
20230                 - Set dev->activating earlier, avoids race between
20231                         the dbus signal of "DeviceActivating" and setting
20232                         dev->activating (which is what NM's "status" method call
20233                         looks at)
20234
20235 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20236
20237         * panel-applet/NMWirelessApplet.[ch]
20238                 - Rework menu code to add devices to menu, and to show
20239                         signal strength for each access point.  Code cleanups
20240                         too.
20241
20242         * panel-applet/NMWirelessAppletDbus.c
20243                 - Grab network devices from NetworkManager too
20244                 - Grab quality information from NM for wireless networks
20245
20246         * src/NetworkManagerDbus.[ch]
20247                 - Add dbus methods for getting the HAL UDI from a device and
20248                         for getting its base quality, if its wireless
20249                 - Consolidate some functions (wireless network notifications,
20250                         device notifications)
20251                 - Add method for requesting NM to use a particular device
20252
20253         * src/NetworkManager.c
20254                 - Change for function consolidations from NetworkManagerDbus.c
20255                 - Implement active device locking and user-requested devices
20256                         (ie, tell NM to use a particular device instead of the one
20257                         it autochose)
20258
20259         * src/NetworkManagerDevice.c
20260                 - Add method for getting the base quality of a device, if its
20261                         wireless
20262                 - Grab device base quailty info from iwlib during scans
20263
20264         * src/NetworkManagerPolicy.c
20265                 - Use a user-requested device rather than the auto-chosen device
20266                         if we are told to
20267
20268 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
20269
20270         * Makefile.am: add po as a supdir
20271
20272         * autogen.sh: use gnome-autogen.sh
20273
20274         * initscript/Gentoo/.cvsignore:
20275         * initscript/RedHat/.cvsignore: Shut up cvs
20276
20277         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20278
20279         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20280         (nmwa_fill): Use gettext.
20281
20282         * configure.in: add gettext support
20283         * po/.cvsignore:
20284         * po/NetworkManager.pot:
20285         * po/POTFILES.in:
20286
20287 2004-08-26  Seth Nickell  <seth@gnome.org>
20288
20289         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20290         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20291         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20292         (nmwa_dispose_menu_items), (nmwa_populate_menu),
20293         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20294         * panel-applet/NMWirelessApplet.h:
20295
20296         Use a menu bar instead of a button for the main clickable
20297         thingy.
20298         
20299 2004-08-25  Dan Williams <dcbw@redhat.com>
20300
20301         * src/NetworkManagerDevice.c
20302                 - (nm_device_set_enc_key): always set device to "open" mode instead of
20303                         turning encryption off, because the Cisco driver doesn't associate
20304                         with WEP-enabled access points unless we are in "open"
20305
20306 2004-08-25  Dan Williams <dcbw@redhat.com>
20307
20308         * src/NetworkManagerWireless.c
20309                 - Don't try to defererence blank passphrases
20310
20311 2004-08-25  Dan Williams <dcbw@redhat.com>
20312
20313         * panel-applet/NMWirelessApplet.c
20314                 - Rebuild the menu whenever a user clicks
20315
20316 2004-08-25  Dan Williams <dcbw@redhat.com>
20317
20318         * panel-applet/NMWirelessApplet.c
20319                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20320                         when NM isn't around or when its not connected
20321
20322         * src/NetworkManagerDevice.c
20323                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20324                         canceled.
20325
20326 2004-08-25  Dan Williams <dcbw@redhat.com>
20327
20328         * panel-applet/NMWirelessAppletDbus.c
20329                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20330                         for getting encryption, and don't stop on "val" once we've gotten it
20331                         from NetworkManager.  Short form:  encryption should now show up.
20332
20333 2004-08-25  Dan Williams <dcbw@redhat.com>
20334
20335         * panel-applet/NMWirelessApplet.c
20336                 - Set ESSID on a gconf trusted network too when force-setting the wireless
20337                         network to associate with
20338
20339 2004-08-25  Dan Williams <dcbw@redhat.com>
20340
20341         * panel-applet/*
20342                 - Rework the panel applet to do all DBUS communication in a separate
20343                         thread
20344
20345 2004-08-25  Dan Williams <dcbw@redhat.com>
20346
20347         * info-daemon/NetworkManagerInfo.[ch]
20348                 - Remove "get_next_priority" function
20349
20350         * info-daemon/NetworkManagerInfoDbus.[ch]
20351                 - Convert "priority" functions to "timestamp"
20352
20353 2004-08-25  Dan Williams <dcbw@redhat.com>
20354
20355         * src/NetworkManagerAP.[ch]
20356                 - Add a "enc_method_good" member and accessors to an Access Point
20357                         to signal when we've found the correct encryption method
20358                         for an access point
20359                 - Add a "timestamp" member and accessors, remove "priority" member
20360                         and accessors (use timestamps instead)
20361                 - Rename "wep_key"->"enc_key"
20362                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20363                         for a specified encryption method using the access points
20364                         source encryption key/passphrase
20365
20366         * src/NetworkManagerAPList.c
20367                 - When updating a network with dbus, grab timestamp now instead of
20368                         priority
20369
20370         * src/NetworkManagerDBus.[ch]
20371                 - Add signal for "DeviceActivating"
20372                 - Switch priority->timestamp
20373
20374         * src/NetworkManagerDevice.c
20375                 - Change references of "wep_key" -> "enc_key" or "key"
20376                 - Signal DeviceActivating when starting activation
20377                 - When activating a wireless device, if the access point we are connecting
20378                         to is encrypted, and we have a source key, try to generate a mangled
20379                         key and use that (ie, generate real WEP key from a passphrase)
20380                 - Rework device activation to fallback to other encryption methods if
20381                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20382                         first, then if that doesn't work fall back to direct hex key).
20383                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20384                         priority.  We now prefer the latest access point used, rather than using
20385                         a priority scheme
20386                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20387                         points we've just discovered, and merge in correct info from the global
20388                         access point lists
20389
20390 2004-08-25  Seth Nickell  <seth@gnome.org>
20391
20392         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20393         Debian support.
20394         
20395         * src/Makefile.am:
20396         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20397         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20398         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20399         (nm_system_delete_default_route),
20400         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20401         (nm_system_load_device_modules):
20402
20403 2004-08-24  Dan Willemsen <dan@willemsen.us>
20404
20405         * src/NetworkManager.c
20406           src/backends/NetworkManagerGentoo.c
20407           src/backends/NetworkManagerRedHat.c
20408           src/backends/NetworkManagerSystem.h
20409                 - Implement preliminary Gentoo support, adding a
20410                         nm_system_init function to the backend specification
20411
20412         * configure.in
20413                 - Distribution auto-detection, lowercase any user-fed
20414                         distribution names
20415
20416         * initscript/.cvsignore
20417           initscript/Makefile.am
20418           initscript/RedHat/Makefile.am
20419           initscript/RedHat/NetworkManager
20420           initscript/Gentoo/Makefile.am
20421           initscript/Gentoo/NetworkManager
20422                 - Refactored initscript code separately for each
20423                         distribution
20424
20425 2004-08-23  Dan Williams <dcbw@redhat.com>
20426
20427         * configure.in
20428           src/Makefile.am
20429           src/NetworkManagerDevice.c
20430           src/NetworkManager.c
20431           src/NetworkManagerUtils.[ch]
20432           src/backends/NetworkManagerSystem.h
20433           src/backends/NetworkManagerRedHat.c
20434           src/backends/NetworkManagerGentoo.c
20435                 - Refactor system-specific code into separate backends for
20436                         each distribution
20437
20438 2004-08-23  Dan Willemsen <dan@willemsen.us>
20439
20440         * dispatcher-daemon/NetworkManagerDispatcher.c
20441           info-daemon/NetworkManagerInfo.[ch]
20442           info-daemon/NetworkManagerInfoDbus.c
20443           info-daemon/NetworkManagerInfoPassphraseDialog.c
20444           src/NetworkManager.c
20445           src/NetworkManagerAP.c
20446           src/NetworkManagerAPList.c
20447           src/NetworkManagerDbus.c
20448           src/NetworkManagerDevice.c
20449           src/NetworkManagerPolicy.c
20450           src/NetworkManagerUtils.[ch]
20451           src/NetworkManagerWireless.c
20452                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20453
20454         * src/NetworkManager.c
20455                 - Fixed usage wording for --no-daemon
20456
20457 2004-08-23  Dan Williams <dcbw@redhat.com>
20458
20459         * panel-applet/NMWirelessApplet.c
20460                 - Update our state every second to get more responsive panel icon
20461                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20462                         was causing our marching ants status blips to never move when
20463                         looking for a wireless network
20464
20465         * src/NetworkManagerDevice.c
20466                 - (nm_device_activation_begin): return if activation has already begun
20467                 - (nm_device_do_normal_scan): merge WEP key and priority from the
20468                         trusted/preferred network into the device's access point when the
20469                         scan list is processed
20470
20471 2004-08-23  Dan Williams <dcbw@redhat.com>
20472
20473         * initscript/NetworkManager
20474                 - Use NMLaunchHelper rather than sleeping
20475
20476         * initscript/NMLaunchHelper.c
20477           Makefile.am
20478                 - Add helper program that exits only when NM activates a device,
20479                         or 10 seconds have passed, whichever happens first.  This
20480                         stops the boot processes until we have a network connection,
20481                         which NM can't do because it daemonizes and brings the connection
20482                         up in the background.  Allows stuff like NFS to not die.
20483
20484 2004-08-20  Dan Williams <dcbw@redhat.com>
20485
20486         * info-daemon/NetworkManagerInfoPassphraseDialog.c
20487                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20488                         for a network, set the essid as well since it may not exist yet
20489                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20490                         since WEP keys/passphrases are long and prone to entry-error
20491
20492         * panel-applet/Makefile.am
20493           panel-applet/wired.png
20494                 - Add (pulled from system-config-network temporarily)
20495
20496         * panel-applet/NMWirelessApplet.[ch]
20497                 - Show wired picture when a wired connection is used
20498                 - Rename wireless icon enums, adding WIRELESS
20499
20500         * src/NetworkManagerDevice.c
20501                 - (nm_device_activate_wireless): unset encryption before bringing
20502                         down the card and setting the essid
20503                 - (nm_device_activatin_worker): request a key from the user if the
20504                         AP we are connecting to is encrypted but we don't have a key
20505                         for it yet
20506                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20507                         strcmp() that prevented a user-entered key from actually getting
20508                         used
20509
20510 2004-08-16  Dan Williams <dcbw@redhat.com>
20511
20512         * initscript/NetworkManager
20513                 - Check for /sbin/ip
20514                 - Do sysctl magic that network service does
20515                 - sleep 4s after start to allow network time to come up [hack]
20516
20517         * src/Makefile.am
20518           src/NMLoadModules
20519                 - Load all network device kernel modules (hal doesn't know devices
20520                         are ethernet until the module is loaded, and therefore we don't know)
20521
20522         * src/NetworkManager.c
20523                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20524                         network devices, and bring up the loopback device explicitly
20525
20526         * src/NetworkManagerUtils.[ch]
20527                 - (nm_enable_loopback): new function
20528
20529 2004-08-13  Dan Williams <dcbw@redhat.com>
20530
20531         * configure.in
20532           panel-applet/Makefile.am
20533                 - Fix up cleanfiles and server_DATA/server_in_files
20534
20535         * README
20536                 - Update with some comments on theory of operation
20537
20538         * CONTRIBUTING
20539           Makefile.am
20540                 - Add CONTRIBUTING
20541
20542 2004-08-12  Dan Williams <dcbw@redhat.com>
20543
20544         * info-daemon/passphrase.glade
20545                 - Set window title to " "
20546
20547         * panel-applet/Makefile.am
20548           panel-applet/keyring.png
20549                 - Deliver to correct place
20550
20551         * panel-applet/NMWirelessApplet.[ch]
20552                 - Add comments
20553                 - Remove applet->have_active_device as its no longer used
20554                 - (nmwa_load_theme): load keyring.png too
20555                 - (error_dialog): remove
20556                 - (show_warning_dialog): subsume functionality of error dialog too
20557                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20558                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20559                         the networks menu
20560                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20561                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20562                         and when we get broadcasts of changed wireless access points only, not when the
20563                         user clicks on the button to display the menu (too long of a wait)
20564                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20565                         networks that are encrypted
20566                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20567                         menu item with g_object_set_data()
20568
20569         * panel-applet/NMWirelessAppletDbus.[ch]
20570                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20571                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20572                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20573                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20574                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20575                         activation/deactivation signals and rebuild the menu when they happen
20576
20577         * src/NetworkManager.c
20578                 - (main): use new nm_spawn_process() rather than system()
20579
20580         * src/NetworkManagerDbus.c
20581                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20582                         instead.  Since we can now force best_aps to stick around, the AP structure to which
20583                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20584                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
20585                         to freeze the best_ap.
20586
20587         * src/NetworkManagerDevice.[ch]
20588                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20589                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20590                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
20591                         ap list
20592
20593         * src/NetworkManagerUtils.[ch]
20594                 - (nm_spawn_process): add replacement for system() usage
20595
20596 2004-08-11  Dan Williams <dcbw@redhat.com>
20597
20598         * panel-applet/NMWirelessApplet.[ch]
20599                 - Fix up copyright and credits to include Bastien and Eskil,
20600                         who created the gnome-applets wireless applet, from whose
20601                         skeleton this one was created
20602                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
20603                         pixmap to draw is computed during nmwa_update_state()
20604                 - Applet now shows itself all the time due to panel packing issues
20605                         which caused the applet to previously never come back after hiding.
20606                         When a wired device is the active device, the applet shows "not connected"
20607
20608         * panel-applet/NMWirelessAppletDbus.[ch]
20609                 - Clean up error messages and show what function they are from
20610                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
20611                 - Add new device type getters, and a status getter
20612
20613         * src/NetworkManagerDbus.c
20614                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
20615                         network is actually in the device's ap list
20616                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
20617
20618         * src/NetworkManagerDevice.c
20619                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
20620                         card
20621
20622         * test/nmclienttest.c
20623                 - Report status of NetworkManager too
20624
20625 2004-08-11  Dan Williams <dcbw@redhat.com>
20626
20627         * info-daemon/NetworkManagerInfo.c:
20628                 - (main): clean up Seth's code style
20629
20630         * info-daemon/NetworkManagerInfoDbus.c:
20631                 - Use the more aptly-named path/service/interface constants from NetworkManager
20632                 - Don't return empty strings ("") as object paths ever, instead return errors
20633
20634         * panel-applet/NMWirelessApplet.c:
20635                 - Clean up Seth's code style
20636
20637         * src/NetworkManager.[ch]
20638                 - (nm_remove_device_from_list): remove anything having to do with pending_device
20639                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
20640
20641         * src/NetworkManagerAPList.[ch]
20642                 - Move Iter struct right above the iter functions to preserve opacity
20643                 - (nm_ap_list_remove_ap): implement
20644                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
20645                         remove AP if NetworkManagerInfo doesn't know anything about it
20646                 - (nm_ap_list_diff): user NMAPList iterators
20647                 - (nm_ap_list_print_members): implement debugging function
20648
20649         * src/NetworkManagerDbus.[ch]
20650                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
20651                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
20652                         and move the actual key setting stuff into NetworkManagerDevice.c
20653                 - (nm_dbus_get_network_priority): return -1 now on errors
20654                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
20655                         get lost, and force the active device to update its "best" ap when AP lists change
20656                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
20657                         method call due to pending_device member removal
20658
20659         * src/NetworkManagerDevice.[ch]
20660                 - Move NMDevice structure to the top
20661                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
20662                 - Remove Pending Action stuff from everywhere
20663                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
20664                         activation for us.  This thread blocks until all conditions for activation have
20665                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
20666                         then setup up the interface and runs dhclient.  We have to do this because there
20667                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
20668                         run our main loop and respond to dbus method calls or HAL device removals/inserts
20669                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
20670                         can tell nm_device_activation_worker() that we've got a key
20671                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
20672                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
20673                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
20674                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
20675
20676         * src/NetworkManagerPolicy.c
20677                 - Remove anything to do with pending_device
20678                 - Adjust device activation to deal with activation-in-worker-thread
20679
20680         * src/NetworkManagerUtils.c
20681                 - Clean up locking debugging a bit
20682
20683         * src/NetworkManagerWireless.[ch]
20684                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
20685                         was badly named and is better as a device function
20686
20687         * panel-applet/.cvsignore: add
20688
20689 2004-08-09  Seth Nickell  <seth@gnome.org>
20690
20691         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
20692         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
20693         (nmwa_new):
20694         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
20695
20696         Don't load the menus until clicked on (also removes a call outside
20697         normal code paths at first load).
20698
20699         Hide applet when NM is not present.
20700         
20701         Improve printf debugging stuff.
20702         
20703 2004-08-09  Dan Williams <dcbw@redhat.com>
20704
20705         * dispatcher-daemon/NetworkManagerDispatcher.c:
20706                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
20707                 - Use constants for NetworkManager interface, service, and path
20708
20709 2004-08-09  Dan Williams <dcbw@redhat.com>
20710
20711         * src/NetworkManagerDbus.c:
20712                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
20713                         instead return an error message
20714                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
20715                         on a wired device.  Also never return an empty object path, instead return an error message
20716
20717 2004-08-06  Seth Nickell  <seth@gnome.org>
20718
20719         * panel-applet/NMWirelessApplet.c: (nmwa_new):
20720
20721         Check the error code when getting a connection.
20722         
20723         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
20724
20725         Check if the NM service exists when initializing (rather than
20726         assuming it does not).
20727         
20728         * src/NetworkManagerDbus.c: (nm_dbus_init):
20729
20730         Don't acquire the well-known service name until we have
20731         registered object/path handlers and can actually receive
20732         calls.
20733         
20734 2004-08-06  Dan Williams <dcbw@redhat.com>
20735
20736         * panel-applet/*
20737                 - Add panel applet
20738
20739         * src/NetworkManagerPolicy.c
20740           src/NetworkManager.c
20741                 - Get access point lists from NetworkManagerInfo on-demand,
20742                         and look for ServiceCreate/ServiceDeleted signals to see when
20743                         we should query NMI for lists
20744         * src/NetworkManagerAPList.c
20745                 - Make sure to init the list's mutex
20746                 - Convert traversals of the list over to the list iter functions
20747
20748         * src/NetworkManagerDbus.[ch]
20749                 - Use more aptly-named path/service/interface constants
20750                 - Treat both active and pending devices the same for "getActiveDevice"
20751                 - Add a "status" method returning "connected", "connecting", or "disconnected"
20752
20753         * src/NetworkManagerDevice.c
20754                 - Honor "ignored" network list when picking best ap to use
20755
20756 2004-08-06  Seth Nickell  <seth@gnome.org>
20757
20758         * aclocal.m4:
20759
20760         Autogenerated, remove from CVS.
20761         
20762         * autogen.sh:
20763
20764         Don't hardcode automake version.
20765         
20766         * configure.in:
20767         * info-daemon/Makefile.am:
20768         * info-daemon/NetworkManagerInfo.c: (main):
20769
20770         Use GnomeProgram et al. for doing session management.
20771         Use popt stuff for argument parsing rather than doing
20772         it manugally.
20773         
20774 2004-08-05  Dan Williams <dcbw@redhat.com>
20775
20776         * test/nminfotest.c
20777                 - Update to new NMI dbus API, check different network types
20778
20779         * info-daemon/NetworkManagerInfoDbus.c
20780                 - Update to new NM dbus API, ie network type sent in query message
20781
20782 2004-08-05  Dan Williams <dcbw@redhat.com>
20783
20784         * An assload of changes
20785
20786 2004-08-02  Dan Williams <dcbw@redhat.com>
20787
20788         * TODO
20789                 - new task: proper logging support
20790
20791         * info-daemon/NetworkManagerInfo.c
20792                 - Correct spelling of "canceled"
20793                 - Correct casting of objects for g_signal_connect()
20794
20795         * info-daemon/NetworkManagerInfoDbus.c
20796                 - Add defines for NetworkManager namespace and object path, and use them
20797                 - Add filter function to trap new signals from NetworkManager:
20798                         WirelessNetworkAppeared, WirelessNetworkDisappeared
20799
20800         * info-daemon/passphrase.glade
20801                 - Change name of "ok" button to "Login to Network..."
20802                 - Mark invisible
20803
20804         * src/NetworkManager.c
20805                 - Code and debug message cleanups
20806                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
20807                 - (nm_add_initial_devices) Check returned string array of devices
20808                         and don't try to add devices if array is NULL
20809                 - (main) Initialize libhal a bit later, make code a bit clearer
20810
20811         * src/NetworkManagerAP.[ch]
20812                 - New accessor and data member "matched": used to speed up AP list
20813                         diffing
20814                 - New accessor and data member "enc_method": will be used during key
20815                         fallback to cache which passphrase->key conversion actually works
20816                         so we don't have to do it every time
20817
20818         * src/NetworkManagerAPList.[ch]
20819                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
20820                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
20821                         between them, and send WirelessNetworkAppeared/Disappeared signals over
20822                         dbus in response to those differences
20823
20824         * src/NetworkManagerDbus.[ch]
20825                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
20826                         make an object path for that access point (NOTE that we don't yet check to
20827                         make sure that access point is actually in the device's AP list yet)
20828                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
20829                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
20830                         New: signal appearance/disappearance of wireless networks
20831                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
20832                         key entry
20833
20834         * src/NetworkManagerDevice.[ch]
20835                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
20836                 - (nm_device_ap_list_get) New: return the AP list (static function)
20837                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
20838                         new one resulting from the scan with the old one
20839
20840         * src/NetworkManagerWireless.c
20841                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
20842
20843         * test/nminfotest.c
20844                 - #define object paths and namespaces and use the #defines rather than static strings
20845                 - Test out user-key functionality of NetworkManagerInfo too
20846
20847 2004-07-29  Dan Williams <dcbw@redhat.com>
20848
20849         * info-daemon/NetworkManagerInfoDbus.c
20850           src/NetworkManagerDbus.c
20851                 - Update to current DBus (ie don't use decomposed paths when registering
20852                         object paths/fallbacks)
20853
20854 2004-07-27  Dan Williams <dcbw@redhat.com>
20855
20856         * Remove various Makefile.in files
20857
20858         * TODO
20859                 - Add some more items
20860
20861         * configure.in
20862                 - Add checks for OpenSSL/md5 headers and libs
20863
20864         * src/Makefile.am
20865                 - Use OpenSSL CFLAGS
20866
20867         * src/NetworkManagerAP.[ch]
20868                 - Remove 'stamp' functions, replace with 'invalid' functions
20869                         to support user cancelling WEP key entry
20870
20871         * src/NetworkManagerDbus.c
20872                 - Remove 'stamp' return functions
20873                 - Treat returned user key as a passphrase and convert to a WEP key,
20874                         but don't actually use the WEP key yet.  We use the returned user
20875                         key as a hexadecimal WEP key until we can figure out a UI for
20876                         passphrase-vs-hex key
20877
20878         * src/NetworkManagerWireless.[ch]
20879                 - Add passphrase-to-128bit-key function
20880
20881 2004-07-27  Dan Williams <dcbw@redhat.com>
20882
20883         * TODO
20884                 - Add a couple of items
20885
20886 2004-07-27  Dan Williams <dcbw@redhat.com>
20887
20888         * info-daemon/NetworkManagerInfo.c
20889                 - Update allowed network's GConf key when user enters a WEP key explicitly
20890
20891         * info-daemon/NetworkManagerDbus.c
20892                 - Fix some comments
20893                 - nmi_dbus_get_allowed_networks(): kill warning
20894
20895 2004-07-27  Dan Williams <dcbw@redhat.com>
20896
20897         * initscript/Makefile.in
20898                 - Remove
20899
20900         * initscript/Makefile.am
20901                 - Add correct rules to install the init.d initscript
20902
20903         * info-daemon/NetworkManagerInfoDbus.c
20904                 - Remove debug fprintf
20905
20906         * src/NetworkManagerDbus.[ch]
20907                 - Remove debug fprintfs
20908                 - Add macros for NetworkManagerInfo object path/namespace
20909                 - Use said macros instead of constant strings
20910
20911 2004-07-27  Dan Williams <dcbw@redhat.com>
20912
20913         * initscript/.cvsignore
20914                 - Add
20915
20916         * info-daemon/Makefile.am
20917                 - Install .glade files and keyring.png
20918                 - Fix stupid omission of a \ that caused half the flags not to be
20919                         passed to gcc
20920
20921         * info-daemon/NetworkManagerInfo.c
20922                 - gtk_signal_connect->g_signal_connect
20923                 - Alert NetworkManagerInfo to new glade file location
20924
20925 2004-07-27  Dan Williams <dcbw@redhat.com>
20926
20927         * test/nmclienttest.c
20928           test/nminfotest.c
20929                 - Add missing <dbus/dbus.h> headers
20930                 - Add GPL message at top
20931
20932 2004-07-27  Dan Williams <dcbw@redhat.com>
20933
20934         * src/NetworkManagerAPList.[ch]
20935           src/Makefile.am
20936                 - Add.  Deal with allowed network list additions, deletions, and updates
20937
20938         * dispatcher-daemon/NetworkManagerDispatcher.c
20939                 - Add missing <dbus/dbus.h> header
20940
20941         * info-daemon/NetworkManagerInfo.[ch]
20942                 - Add missing <dbus/dbus.h> header
20943                 - Implement the GConf notify callback to signal NetworkManager of an allowed
20944                         network change
20945                 - Better error checking
20946
20947         * info-daemon/NetworkManagerInfoDbus.[ch]
20948                 - Add missing <dbus/dbus.h> header
20949                 - Convert to using dbus_message_append_args/dbus_message_get_args
20950                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
20951                         that an allowed network changed.  We don't want to signal on individual
20952                         keys _inside_ an allowed network really, just want NM to query the info
20953                         daemon for updated info on all keys.
20954                 - Better error checking
20955
20956         * src/NetworkManager.[ch]
20957                 - Add missing <dbus/dbus.h> header
20958                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
20959                 - Zero out NMData structure on free
20960                 - No longer use a thread for allowed_ap_list updating, instead its now done
20961                         through dbus queries against NetworkManagerInfo
20962                 - Populate allowed_ap_list initially before adding existing network devices
20963                         to the device list, so wireless devices can get their "best" AP
20964
20965         * src/NetworkManagerDbus.[ch]
20966                 - Convert to using dbus_message_append_args/dbus_message_get_args
20967                 - Better error checking
20968                 - Implement Allowed Network info functions to request allowed network
20969                         info from NetworkManagerInfo
20970                 - Implement the filter function to process signals from NetworkManagerInfo
20971                         about changing allowed networks
20972
20973         * src/NetworkManagerDevice.c
20974                 - Fix file descriptor leak in nm_device_update_ip4_address()
20975
20976 2004-07-27  Dan Williams <dcbw@redhat.com>
20977
20978         * .cvsignore
20979           src/.cvsignore
20980           test/.cvsignore
20981           dispatcher-daemon/.cvsignore
20982           info-daemon/.cvsignore
20983                 - Add .cvsignore files to reduce noise when diffing
20984
20985 2004-07-24  Dan Williams <dcbw@redhat.com>
20986
20987         * src/NetworkManager.[ch]
20988           src/NetworkManagerDbus.[ch]
20989           src/NetworkManagerDevice.[ch]
20990           src/NetworkManagerPolicy.c
20991           src/NetworkManagerWireless.[ch]
20992                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
20993                 - Pass the NMData application data structure through all calls
20994                         that need it so we can get rid of nm_get_global_data()
20995                 - Change deallocation of the allowed_ap_list GSList in preparation
20996                         for not completely clearing it every time we get an update,
20997                         but instead getting incremental updates via GConf/dbus
20998
20999 2004-07-22  Dan Williams <dcbw@redhat.com>
21000
21001         * configure.in
21002                 - Add checks for GConf libs & headers & flags
21003
21004         * info-daemon/Makefile.am
21005                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21006
21007         * info-daemon/NetworkManagerInfo.[ch]
21008                 - Don't use gquarks for data storage, just use normal data storage
21009                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21010
21011         * info-daemon/NetworkManagerDbus.[ch]
21012                 - Add method call for getting allowed networks
21013                 - Add method calls for getting an allowed network's essid, priority, and key
21014                 - Hook the method calls up to GConf
21015                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21016                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21017                 
21018         * src/NetworkManagerDbus.[ch]
21019                 - Switch for enumeration of networks to using essid instead
21020
21021         * test/Makefile.am
21022           test/nminfotest.c
21023                 - Add test program for NetworkManagerInfo
21024
21025 2004-07-19  Dan Williams <dcbw@redhat.com>
21026
21027         * src/NetworkManagerDbus.c
21028                 - Switch from indexed device paths to names.  Less code, more efficient.
21029                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21030
21031 2004-07-19  Dan Williams <dcbw@redhat.com>
21032
21033         * dispatcher-daemon/NetworkManagerDispatcher.c
21034                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21035
21036 2004-07-19  Dan Williams <dcbw@redhat.com>
21037
21038         * Makefile.am
21039                 - Add info-daemon directory
21040
21041         * configure.in
21042                 - Check for glade libs and headers
21043                 - Add info-daemon directory
21044
21045         * src/NetworkManagerAP.c
21046                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21047                         copied over to the new AP.
21048
21049         * src/NetworkManagerDbus.c
21050           src/NetworkManagerDbus.h
21051                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21052                 - Remove nm_dbus_signal_need_key_for_network()
21053                 - Add disabled code for asynchronous user wep key callbacks
21054                 - Add functions for getting, setting, and cancelling user key operations
21055                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21056                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21057
21058         * src/NetworkManagerDevice.c
21059           src/NetworkManagerDevice.h
21060                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21061                         logic is in device activation now
21062                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21063                         key is wrong) trigger get-user-key pending action
21064                 - Implement get-user-key pending action stuff, tie to dbus messages
21065                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21066                 - Add nm_device_ap_list_get_ap_by_essid()
21067                 - Instead of copying "best" access points, ref them instead so that the key we set
21068                         sticks around
21069
21070         * src/NetworkManagerPolicy.c
21071                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21072                 - Don't cancel pending actions on a device if its the same device as last iteration
21073                 - Only promote pending_device->active_device if activation was successfull
21074
21075         * src/Makefile.am
21076                 - Rename nmclienttest->nmtest
21077
21078         * info-daemon/Makefile.am
21079           info-daemon/NetworkManagerInfo.c
21080           info-daemon/NetworkManagerInfo.h
21081           info-daemon/NetworkManagerInfoDbus.c
21082           info-daemon/NetworkManagerInfoDbus.h
21083           info-daemon/passphrase.glade
21084           info-daemon/NetworkManagerInfo.conf
21085           info-daemon/keyring.png
21086                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21087                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
21088                         lists to NetworkManager by proxying user's GConf
21089           
21090
21091 2004-07-15  Dan Williams <dcbw@redhat.com>
21092
21093         * src/Makefile.am
21094                 - Turn on warnings
21095
21096         * src/NetworkManager.c
21097                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21098                         that doing the deactivation ourselves
21099                 - Cancel an pending actions on a device if its being removed
21100                 - Break up link state checking a bit, make non-active wireless cards
21101                         deactivated to save power
21102                 - Remove unused variables
21103
21104         * src/NetworkManager.h
21105                 - Add support for "pending" device
21106
21107         * src/NetworkManagerAP.h
21108           src/NetworkManagerAP.c
21109                 - Add support for determining whether and AP has encryption enabled or not
21110                 - AP address is now "struct ether_addr" rather than a string
21111
21112         * src/NetworkManagerDbus.h
21113           src/NetworkManagerDbus.c
21114                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21115                 - Changes for AP address from struct ether_addr->string
21116
21117         * src/NetworkManagerDevice.h
21118           src/NetworkManagerDevice.c
21119                 - Remove unused variables, fix warnings
21120                 - Add support for Pending Actions (things that block a device from being "active"
21121                         until they are completed).
21122                 - First pending action:  Get a WEP key from the user
21123                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21124                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21125                 - Update wireless link checking to try to determine if the AP we are associated
21126                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
21127                         trigger the GetUserKey pending action on the device
21128                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
21129                         up in that case, otherwise we can't scan or link-check on it
21130                 - Add IP address change notifications at appropriate points (still needs some work)
21131                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21132
21133         * src/NetworkManagerPolicy.h
21134           src/NetworkManagerPolicy.c
21135                 - Split out "best" access point determiniation into separate function
21136                 - Make device activation 2-stage:  first the device is pending, then
21137                         in the next iteration through it becomes "active" unless it has
21138                         pending actions
21139
21140         * src/NetworkManagerUtils.h
21141           src/NetworkManagerUtils.c
21142                 - Clean up unused variables and warnings
21143                 - Wrap our debug macros in {} to prevent possible confusion
21144
21145         * src/NetworkManagerWireless.c
21146                 - Forgot to return current best priority, which lead to last available AP always
21147                         being chosen no matter what its priority was.  Corrected.
21148
21149 2004-07-15  Dan Williams <dcbw@redhat.com>
21150
21151         * dispatcher-daemon/Makefile.am
21152                 - Turn on warnings
21153
21154         * dispatcher-daemon/NetworkManagerDispatcher.c
21155                 - Remove unused variables due to warnings
21156                 - Fix some comments
21157                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21158
21159 2004-07-06  Dan Williams <dcbw@redhat.com>
21160
21161         * src/NetworkManager.c
21162                 - Add IPv4 address update for active device during link state check
21163                 - Don't allow wireless cards to be powered up when they are not the
21164                         active device
21165
21166         * src/NetworkManagerDbus.c
21167           src/NetworkManagerDbus.h
21168                 - Add DBUS IPv4 address change signal
21169                 - Add DBUS IPv4 address get method for devices
21170
21171         * src/NetworkManagerDevice.c
21172                 - Make setting the WEP key actually work
21173                 - Move IP address get/set/update stuff here, per-device
21174                 - Power down/bring down wireless device when deactivated
21175                 - For scanning wireless devices, if first scan returned ENODATA, try again
21176
21177         * src/NetworkManagerPolicy.c
21178                 - Only set the WEP key for an allowed access point if there is one.
21179                         We were setting it to be blank if one wasn't specified.
21180
21181         * src/NetworkManagerUtils.h
21182           src/NetworkManagerUtils.c
21183                 - Move the IP address stuff to NetworkManagerDevice.c
21184
21185         * dispatcher-daemon/NetworkManagerDispatcher.c
21186                 - Add device IPv4 address change notification stuff
21187
21188 2004-07-05  Dan Williams <dcbw@redhat.com>
21189
21190         * dispatcher-daemon/NetworkManagerDispatcher.c
21191                 - A bit more descriptive state message
21192                 - Don't segfault when reading directory
21193
21194         * src/NetworkManager.h
21195                 - Remove NMData desired_ap member, its now
21196                         per-device rather than global
21197
21198         * src/NetworkManager.c
21199                 - Remove references to desired_ap
21200                 - Move the allowed AP list refresh stuff into a thread
21201
21202         * src/NetworkManagerDevice.c
21203           src/NetworkManagerDevice.h
21204                 - Each wireless device now has a "best ap"
21205                 - Make device activate/deactivate functions per-device
21206                 - Make wireless scanning per-device
21207                 - Add IPv4 address discover functions, stub IPv6 ones
21208                 - Move ethernet address validation functions to NetworkManagerUtils.c
21209                 - Add wireless access point accessor function
21210                 - Get/Set functions for "best ap"
21211
21212         * src/NetworkManagerPolicy.c
21213                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21214                 - Deal with per-device "best ap" rather than data->desired_apa
21215                 - Implement allowed access point worker thread
21216                 - Add nm_policy_essid_is_allowed() function
21217
21218         * src/NetworkManagerUtils.c
21219           src/NetworkManagerUtils.h
21220                 - Add nm_ethernet_address_is_valid() function
21221                 - Add IPv4/IPv6 address get functions
21222
21223         * src/NetworkManagerWireless.c
21224           src/NetworkManagerWireless.h
21225                 - Move scanning stuff into NetworkManagerDevice.c, per-device
21226
21227 2004-06-29  Dan Williams <dcbw@redhat.com>
21228
21229         * dispatcher-daemon/NetworkManagerDispatcher.c
21230                 - Implement script callout functionality
21231
21232 2004-06-24  Dan Williams <dcbw@redhat.com>
21233
21234         * NetworkManager.c
21235             - Spacing cleanups
21236             - Flush device routes and ip addresses when added to the device list
21237
21238         * NetworkManagerDbus.c
21239             - Spacing cleanups
21240             - Add missing returns in the two signal functions
21241         
21242         * NetworkManagerPolicy.c
21243             - Spacing and variable cleanups
21244
21245 2004-06-24  Dan Williams <dcbw@redhat.com>
21246
21247         * Makefile.am
21248           Makefile.in
21249           configure.in
21250           dispatcher-daemon/Makefile.am
21251           dispatcher-daemon/Makefile.in
21252           dispatcher-daemon/NetworkManagerDispatcher.c
21253             - Add a daemon that receives signals from NetworkManager
21254                         and will (eventually) call scripts in /etc/somewhere
21255                         when devices go up or down.
21256         
21257         * NetworkManager.c
21258             - Spacing cleanups
21259             - Flush device routes and ip addresses when added to the device list
21260
21261         * NetworkManagerDbus.c
21262             - Spacing cleanups
21263             - Add missing returns in the two signal functions
21264         
21265         * NetworkManagerPolicy.c
21266             - Spacing and variable cleanups
21267             - Rename nm_policy_switch_interface->nm_policy_switch_device
21268             - nm_policy_switch_device():
21269                                 Use kill (pid) instead of system ("kill <pid>")
21270             - nm_state_modification_monitor():
21271                                 Add wireless essid to output of debug statements
21272                                 Correct typo in device compare to switch or not (should be !=)
21273                                 Don't sleep after sending "no longer active" signal, was useless
21274
21275 2004-06-24  Dan Williams <dcbw@redhat.com>
21276
21277         * Initial import