2008-10-28 Dan Williams <dcbw@redhat.com>
[NetworkManager.git] / ChangeLog
1 2008-10-28  Dan Williams  <dcbw@redhat.com>
2
3         Patch from Tambet Ingo <tambet@gmail.com>
4
5         * libnm-util/libnm-util.ver
6           libnm-util/nm-setting-wireless.c
7           libnm-util/nm-setting-wireless.h
8                 - Make properties private and add accessor functions
9
10         * src/NetworkManagerAP.c
11           src/nm-device-wifi.c
12           src/nm-manager.c
13           src/supplicant-manager/nm-supplicant-config.c
14           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
15           system-settings/plugins/ifcfg-fedora/reader.c
16           system-settings/plugins/ifcfg-suse/parser.c
17           system-settings/plugins/ifupdown/parser.c
18                 - Use wireless setting accessors
19
20 2008-10-27  Dan Williams  <dcbw@redhat.com>
21
22         Patch from Tambet Ingo <tambet@gmail.com>
23
24         * libnm-util/libnm-util.ver
25           libnm-util/nm-setting-ppp.c
26           libnm-util/nm-setting-ppp.h
27                 - Make properties private and add accessor functions
28
29         * src/ppp-manager/nm-ppp-manager.c
30                 - Use ppp setting accessors
31
32 2008-10-27  Dan Williams  <dcbw@redhat.com>
33
34         Patch from Tambet Ingo <tambet@gmail.com>
35
36         * libnm-util/nm-setting.h
37           libnm-util/nm-setting.c
38                 - Make properties private and add accessor functions
39
40         * libnm-util/nm-connection.c
41           libnm-util/nm-setting-8021x.c
42           libnm-util/nm-setting-cdma.c
43           libnm-util/nm-setting-connection.c
44           libnm-util/nm-setting-gsm.c
45           libnm-util/nm-setting-ip4-config.c
46           libnm-util/nm-setting-ip6-config.c
47           libnm-util/nm-setting-ppp.c
48           libnm-util/nm-setting-pppoe.c
49           libnm-util/nm-setting-serial.c
50           libnm-util/nm-setting-template.c
51           libnm-util/nm-setting-vpn.c
52           libnm-util/nm-setting-wired.c
53           libnm-util/nm-setting-wireless-security.c
54           libnm-util/nm-setting-wireless.c
55           system-settings/plugins/keyfile/reader.c
56           system-settings/plugins/keyfile/writer.c
57                 - Use setting accessors
58
59 2008-10-27  Dan Williams  <dcbw@redhat.com>
60
61         * libnm-util/libnm-util.ver
62           libnm-util/nm-setting-connection.c
63           libnm-util/nm-setting-connection.h
64                 - Add a 'read-only' property that indicates the connection cannot be
65                         modified
66
67         * system-settings/plugins/ifcfg-fedora/reader.c
68           system-settings/plugins/ifcfg-suse/parser.c
69           system-settings/plugins/ifupdown/parser.c
70                 - These plugins are read-only at the moment
71
72         * system-settings/plugins/keyfile/reader.c
73           system-settings/plugins/keyfile/writer.c
74                 - Read-only shouldn't get saved out to files or read in from them
75
76 2008-10-27  Tambet Ingo  <tambet@gmail.com>
77
78         * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
79         correct speed reporting for fast devices (kernel >= 2.6.27).
80
81 2008-10-26  Dan Williams  <dcbw@redhat.com>
82
83         Attempt to compensate for modems that don't enable full AT parsing before
84         the PIN has been entered.
85
86         * src/nm-gsm-device.c
87                 - (init_modem): accept different init strings
88                 - (init_done): try different init strings on failure
89                 - (check_pin_done): on PIN success, do full modem init
90
91 2008-10-26  Dan Williams  <dcbw@redhat.com>
92
93         Patch from Tambet Ingo <tambet@gmail.com>
94
95         * libnm-util/libnm-util.ver
96           libnm-util/nm-setting-connection.c
97           libnm-util/nm-setting-connection.h
98                 - Make properties private and add accessor functions
99
100         * src/NetworkManagerPolicy.c
101           src/nm-cdma-device.c
102           src/nm-device-ethernet.c
103           src/nm-device-interface.c
104           src/nm-device-wifi.c
105           src/nm-gsm-device.c
106           src/nm-manager.c
107           src/ppp-manager/nm-ppp-manager.c
108           src/vpn-manager/nm-vpn-connection.c
109           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
110           system-settings/plugins/ifcfg-fedora/plugin.c
111           system-settings/plugins/ifcfg-fedora/reader.c
112           system-settings/plugins/ifcfg-suse/parser.c
113           system-settings/plugins/ifupdown/parser.c
114           system-settings/plugins/keyfile/nm-keyfile-connection.c
115           system-settings/plugins/keyfile/plugin.c
116           system-settings/plugins/keyfile/writer.c
117           system-settings/src/main.c
118                 - Use those accessors
119
120 2008-10-26  Dan Williams  <dcbw@redhat.com>
121
122         Patch from Tambet Ingo <tambet@gmail.com>
123
124         * libnm-util/libnm-util.ver
125           libnm-util/nm-setting-gsm.c
126           libnm-util/nm-setting-gsm.h
127                 - Make properties private and add accessor functions
128
129         * src/nm-gsm-device.c
130           src/nm-hso-gsm-device.c
131           src/ppp-manager/nm-ppp-manager.c
132                 - Use those accessors
133
134 2008-10-26  Dan Williams  <dcbw@redhat.com>
135
136         Patch from Tambet Ingo <tambet@gmail.com>
137
138         * libnm-util/libnm-util.ver
139           libnm-util/nm-setting-cdma.c
140           libnm-util/nm-setting-cdma.h
141                 - Make properties private and add accessor functions
142
143         * src/nm-cdma-device.c
144           src/ppp-manager/nm-ppp-manager.c
145                 - Use those accessors
146
147 2008-10-26  Dan Williams  <dcbw@redhat.com>
148
149         Patch from Tambet Ingo <tambet@gmail.com>
150
151         * libnm-util/libnm-util.ver
152           libnm-util/nm-setting-pppoe.c
153           libnm-util/nm-setting-pppoe.h
154                 - Make properties private and add accessor functions
155
156         * src/nm-device-ethernet.c
157           src/ppp-manager/nm-ppp-manager.c
158                 - Use those accessors
159
160 2008-10-26  Dan Williams  <dcbw@redhat.com>
161
162         Patch from Tambet Ingo <tambet@gmail.com>
163
164         * libnm-util/libnm-util.ver
165           libnm-util/nm-setting-wired.c
166           libnm-util/nm-setting-wired.h
167                 - Make properties private and add accessor functions
168
169         * src/nm-device-ethernet.c
170           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
171           system-settings/plugins/ifcfg-suse/parser.c
172           system-settings/src/main.c
173                 - Use those accessors
174
175 2008-10-26  Dan Williams  <dcbw@redhat.com>
176
177         Patch from Tambet Ingo <tambet@gmail.com>
178
179         * libnm-util/libnm-util.ver
180           libnm-util/nm-setting-serial.c
181           libnm-util/nm-setting-serial.h
182           src/nm-serial-device.c
183                 - Make properties private and use accessors instead
184
185 2008-10-26  Dan Williams  <dcbw@redhat.com>
186
187         * src/supplicant-manager/nm-supplicant-interface.c
188           src/supplicant-manager/nm-supplicant-interface.h
189           src/supplicant-manager/nm-supplicant-manager.c
190           src/supplicant-manager/nm-supplicant-manager.h
191                 - Add state-to-string conversion functions
192
193         * src/nm-device-wifi.c
194           src/nm-device-ethernet.c
195                 - Normalize state info logging and use strings instead of numbers
196
197 2008-10-26  Dan Williams  <dcbw@redhat.com>
198
199         * src/NetworkManagerPolicy.c
200                 - (update_routing_and_dns): ignore host routes when determining whether
201                         a VPN connection should own the default route (bgo #552594)
202
203 2008-10-24  Dan Williams  <dcbw@redhat.com>
204
205         * src/nm-gsm-device.c
206                 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
207
208 2008-10-23  Dan Williams  <dcbw@redhat.com>
209
210         * src/ppp-manager/nm-ppp-manager.c
211                 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
212                         add really important stuff to the command line to ensure that NM
213                         overrides /etc/ppp/options (bgo #556781)
214
215 2008-10-22  Dan Williams  <dcbw@redhat.com>
216
217         * src/NetworkManagerSystem.c
218           src/nm-device.c
219                 - Use the device's IP interface where appropriate (Per Hallsmark)
220
221 2008-10-22  Dan Williams  <dcbw@redhat.com>
222
223         * src/nm-gsm-device.c
224                 - (schedule_automatic_registration_again): use a short timeout here
225                         instead of an idle handler to avoid using too much CPU polling for
226                         something we should be waiting a bit for anyway
227
228 2008-10-22  Dan Williams  <dcbw@redhat.com>
229
230         * include/NetworkManager.h
231           introspection/nm-device.xml
232                 - Add device state change reason for carrier changes
233
234         * src/nm-device-ethernet.c
235                 - (set_carrier): use the carrier change reason when changing device
236                         state in response to carrier changes
237
238 2008-10-21  Dan Williams  <dcbw@redhat.com>
239
240         * src/NetworkManagerPolicy.c
241                 - (update_etc_hosts): don't leak errors, and ensure that
242                         g_file_set_contents() gets a valid error placeholder (rh #461933)
243
244 2008-10-21  Dan Williams  <dcbw@redhat.com>
245
246         * src/nm-manager.c
247                 - (free_get_settings_info): don't use the DBusGProxy which could be
248                         disposed of by the time the function is called
249                 - (internal_new_connection_cb): save connection scope
250                 - (connection_get_settings_cb): don't replace a connection unless it's
251                         actually different from the existing one; fixes an issue where
252                         killing the settings service wouldn't deactivate an active connection
253                         provided by that settings service, because it was using a connection
254                         that had already been replaced in the system or user hash
255
256 2008-10-21  Dan Williams  <dcbw@redhat.com>
257
258         * src/NetworkManager.c
259                 - (main): keep the DHCP manager around since it's a singleton; fixes
260                         a use-after-free exposed by r4196 since the DHCP manager singleton
261                         variable isn't cleared when the DHCP manager object is finalized
262
263 2008-10-20  Dan Williams  <dcbw@redhat.com>
264
265         * libnm-util/nm-setting-wireless-security.c
266                 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
267
268 2008-10-20  Dan Williams  <dcbw@redhat.com>
269
270         * src/supplicant-manager/nm-supplicant-config.c
271                 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
272
273 2008-10-20  Dan Williams  <dcbw@redhat.com>
274
275         * src/dhcp-manager/nm-dhcp-manager.c
276                 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
277                         manager object already refs it once
278                 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
279                         also get cleaned up by nm_dhcp_device_destroy() to prevent
280                         double-frees
281
282 2008-10-20  Dan Williams  <dcbw@redhat.com>
283
284         * src/nm-manager.c
285                 - (initial_get_connections): use private dbus manager, don't keep
286                         ref-ing the singleton.  Fixes mismatched refcounts of the dbus
287                         manager object.
288
289 2008-10-18  Dan Williams  <dcbw@redhat.com>
290
291         * libnm-glib/nm-settings.c
292           libnm-glib/nm-settings.h
293                 - Rename the "get_secrets" virtual function "service_get_secrets" to
294                         clarify when it's used; NMExportedConnetion is a base-class for both
295                         the client and service side, which is sort of confusing, and
296                         get_secrets only makes sense on the service side.
297
298         * libnm-glib/nm-dbus-connection.c
299                 - (get_secrets): remove, unused, and clients need to do extra work to
300                         get secrets anyway since the call can block on the remote side
301
302         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
303           system-settings/plugins/keyfile/nm-keyfile-connection.c
304                 - Fix up for get_secrets -> service_get_secrets
305
306 2008-10-16  Dan Williams  <dcbw@redhat.com>
307
308         * src/nm-device-wifi.c
309                 - (constructor): correctly determine encryption capabilities
310
311 2008-10-15  Dan Williams  <dcbw@redhat.com>
312
313         * src/nm-device-wifi.c
314                 - (wireless_qual_to_percent): fix quality calculation in a fallback case
315                         (Johannes Berg)
316
317 2008-10-15  Dan Williams  <dcbw@redhat.com>
318
319         * src/NetworkManagerSystem.c
320                 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
321                         if the ip4_dest is in a smaller subnet contained within a subnet
322                         the machine is currently on, the destination is in the same subnet
323                 - (nm_system_device_set_ip4_route): move subnet checks to callers
324                 - (add_vpn_gateway_route): check if the VPN gateway is in the same
325                         subnet as the parent device, and if so, don't add the direct
326                         host route via the parent device's gateway (bgo #481620)
327                 - (nm_system_apply_ip4_config): check whether the route to be added
328                         is contained within a subnet the device is already on
329
330 2008-10-11  Dan Williams  <dcbw@redhat.com>
331
332         * include/NetworkManager.h
333           introspection/nm-device.xml
334           include/NetworkManagerVPN.h
335                 - Add a few more state reasons for the device deactivated state
336
337         * src/nm-device-interface.c
338           src/nm-device-interface.h
339                 - (nm_device_interface_deactivate): add a 'reason' argument
340
341         * src/nm-device.c
342           src/nm-device.h
343                 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
344                 - (nm_device_state_changed): pass the state change reason to
345                         nm_device_take_down()
346                 - (nm_device_set_managed): take a 'reason' argument, and pass it along
347                         to the state change function
348
349         * src/nm-manager.c
350           src/nm-manager.h
351                 - (remove_one_device, handle_unmanaged_devices, sync_devices,
352                    impl_manager_sleep): pass a reason code to nm_device_set_managed()
353                 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
354                         something reasonable along to VPN deactivation
355
356         * src/vpn-manager/nm-vpn-manager.c
357           src/vpn-manager/nm-vpn-manager.h
358                 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
359                         pass that along to nm_vpn_connection_disconnect()
360
361 2008-10-11  Dan Williams  <dcbw@redhat.com>
362
363         * src/nm-device-wifi.c
364                 - (can_scan): remove old madwifi hack for not scanning while connected
365
366 2008-10-11  Dan Williams  <dcbw@redhat.com>
367
368         Add support for VPN subnet gateways (bgo #549196)
369
370         * include/NetworkManager.h
371                 - Add key for internal VPN subnet gateway
372
373         * src/vpn-manager/nm-vpn-connection.c
374                 - (ip_address_to_string): return a const from a static buffer so we
375                         don't leak a lot of strings
376                 - (print_vpn_config): print internal VPN gateway as well
377                 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
378                         VPN service too
379                 - (nm_vpn_connection_get_ip4_internal_gateway): new function
380
381         * src/NetworkManagerSystem.c
382           src/NetworkManagerSystem.h
383                 - (nm_system_device_replace_default_ip4_route): split into two, one for
384                         VPN connections and one for normal devices
385                 - (replace_default_ip4_route): break out route stuff into its own function
386                 - (nm_system_replace_default_ip4_route_vpn,
387                    nm_system_replace_default_ip4_route): simplify by having two cases,
388                         one for VPNs and one for normal devices
389
390         * src/NetworkManagerPolicy.c
391                 - (update_routing_and_dns): simplify, use split default route replacement
392                         functions
393
394 2008-10-10  Dan Williams  <dcbw@redhat.com>
395
396         Rework default route handling to consolidate decisions in the policy,
397         and to take active VPN connections into account when changing the default
398         route (bgo #545912)
399
400         * src/NetworkManager.c
401                 - (main): pass the vpn_manager to the policy so it knows about active
402                         VPN connections; clean up the named manager which wasn't done before
403
404         * src/NetworkManagerPolicy.c
405           src/NetworkManagerPolicy.h
406                 - (nm_policy_new): get a clue about the vpn_manager
407                 - (update_default_route): remove, fold into update_routing_and_dns()
408                 - (update_routing_and_dns): handle active VPN connections too; an
409                         active VPN connection becomes the default route if it does not have
410                         server-specified or user-specified custom routes.  Otherwise, the
411                         best active device gets the default route
412                 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
413                    nm_policy_destroy): track VPN connection activation and deactivation
414                         and update the default route when appropriate
415
416         * src/NetworkManagerSystem.c
417           src/NetworkManagerSystem.h
418                 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
419                         in the VPN connection itself
420                 - (nm_system_vpn_device_set_from_ip4_config,
421                    nm_system_device_set_from_ip4_config): merge together to make
422                         nm_system_apply_ip4_config()
423                 - (add_vpn_gateway_route): add a route to the VPN's external gateway
424                         via the parent device
425                 - (nm_system_apply_ip4_config): simplify
426                 - (add_ip4_route_to_gateway): new function; add a direct route to the
427                         gateway if needed
428                 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
429                         route stuff out into add_ip4_route_to_gateway() for clarity
430
431         * src/nm-device.c
432                 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
433
434         * src/vpn-manager/nm-vpn-connection.c
435           src/vpn-manager/nm-vpn-connection.h
436                 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
437                    nm_vpn_connection_get_parent_device): add
438                 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
439                         device explicit
440                 - (connection_state_changed): update the named manager now that
441                         nm_system_vpn_device_unset_from_ip4_config() is gone; do something
442                         useful on errors
443
444         * src/vpn-manager/nm-vpn-manager.c
445           src/vpn-manager/nm-vpn-manager.h
446                 - Add a 'connection-activated' signal
447                 - (nm_vpn_manager_get_active_connections): new function; mainly for the
448                         policy to find out about active VPN connections
449
450 2008-10-10  Tambet Ingo  <tambet@gmail.com>
451
452         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
453         a daemon to prevent NM logging spew on console on startup and shutdown (due
454         to dependency loop between NM and syslog).
455
456 2008-10-10  Alexander Sack  <asac@ubuntu.com>
457
458         Implement managed mode. We bind devices configured in /etc/network/interfaces
459         to their connections by updating wired/wireless setting with the
460         mac address of the device.
461
462         * system-settings/plugins/ifupdown/plugin.c
463                 - (get_net_address_for_udi): implement function to retrieve MAC
464                         address of udi from hal in GByteArray format
465                 - (bind_device_to_connection): bind mac address of device to
466                         wired/wireless system connection
467                 - (hal_device_added_cb): call bind_device_to_connection for
468                         system connections with a matching interface.name
469                 - (hal_device_added_cb): ensure that all code paths
470                         properly free the "iface" string.
471
472 2008-10-10  Alexander Sack  <asac@ubuntu.com>
473
474         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
475         mode of the ifupdown system config plugin.
476
477         * system-settings/plugins/ifupdown/plugin.c
478                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
479                         private unmanage_well_known state field accordingly
480
481 2008-10-10  Alexander Sack  <asac@ubuntu.com>
482
483         Implement unmanaged mode that will prevent all devices in the
484         well_known_udis set from being touched by NetworkManager
485
486         * system-settings/plugins/ifupdown/plugin.c
487                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
488                         unmanage_well_known field used to turn on/off unmanaged
489                         mode
490                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
491                         signal when well_known_udis get added/removed
492                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
493                         if we are in unmanaged mode
494
495 2008-10-10  Alexander Sack  <asac@ubuntu.com>
496
497         Add support to track network devices that have a configuration
498         with a matching interface.name in /etc/network/interfaces
499
500         * system-settings/plugins/ifupdown/plugin.c
501                 - (typedef struct SCPluginIfupdownPrivate): add hash table
502                         to track |well_known_udis|
503                 - (get_iface_for_udi): helper function to get interface.name
504                         for a udi
505                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
506                         that add and remove devices to and from the well_known_udis
507                         set depending on whether their |interface.name| matches
508                         any interface definition in /etc/network/interfaces
509                 - (SCPluginIfupdown_init): connect callbacks from above with
510                         hal_mgr and setup well_known_udis hashtable
511                 - (GObject__dispose): destroy well_known_udis hashtable
512                 - (hal_device_added_cb2): implement wrapper callback with GFunc
513                         signature. user_data is supposed to be a triple (hal_mgr,
514                         config and devtype)
515                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
516                         startup and call hal_device_added_cb2
517
518 2008-10-10  Alexander Sack  <asac@ubuntu.com>
519
520         Remove implementation for not used NMSystemConfigInterface callback functions
521         in ifupdown plugin
522
523         * system-settings/plugins/ifupdown/plugin.c
524                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
525                 - (SCPluginIfupdown_connection_added): removed
526
527 2008-10-08  Dan Williams  <dcbw@redhat.com>
528
529         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
530
531         * src/NetworkManagerUtils.c
532                 - (nm_utils_call_dispatcher): add a 'hostname' action
533
534         * src/NetworkManagerPolicy.c
535                 - (set_system_hostname): dispatch hostname changes
536
537         * callouts/nm-dispatcher-action.c
538                 - (nm_dispatcher_action): handle 'hostname' actions
539
540 2008-10-08  Dan Williams  <dcbw@redhat.com>
541
542         * src/NetworkManagerSystem.c
543                 - (find_route): ref the route so it doesn't get destroyed when the cache
544                         is cleared
545                 - (nm_system_device_set_priority): unref the route here after it's done
546                         being used
547
548 2008-10-08  Dan Williams  <dcbw@redhat.com>
549
550         * src/nm-serial-device.c
551                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
552
553 2008-10-08  Tambet Ingo  <tambet@gmail.com>
554
555         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
556         connection with new settings before saving it.
557
558 2008-10-06  Dan Williams  <dcbw@redhat.com>
559
560         * src/nm-ip4-config.c
561           src/nm-ip4-config.h
562                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
563
564         * src/nm-device-interface.c
565                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
566                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
567                         by using '/' for the object path
568
569         * src/nm-device.c
570                 - (src/nm-device.c): marshal missing/unexported ip4-config through
571                         dbus as '/' since dbus-glib can't handle NULL objects nor can
572                         dbus handle NULL object paths
573
574 2008-10-03  Alexander Sack  <asac@ubuntu.com>
575
576         Implement system hostname support for debian/ubuntu
577
578         * system-settings/plugins/ifupdown/plugin.c
579                 - (GObject__get_property): extend announced capabilities; add
580                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
581                 - (GObject__set_property,write_system_hostname): implement
582                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
583                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
584                    update_system_hostname, get_hostname):
585                         implement hostname property that watches and
586                         parses /etc/hostname
587
588 2008-10-03  Alexander Sack  <asac@ubuntu.com>
589
590         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
591           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
592           system-settings/plugins/ifcfg-fedora/Makefile.am
593           system-settings/src/nm-inotify-helper.c
594           system-settings/src/nm-inotify-helper.h
595           src/Makefile.am
596                 - Move ifcfg-fedora inotify helpers to the system settings service so
597                         they are available to all plugins
598
599 2008-10-03  Alexander Sack  <asac@ubuntu.com>
600
601         Implement support for wep-tx-keyidx in ifupdown system
602         config plugin.
603
604         * system-settings/plugins/ifupdown/parser.c
605                 - (update_wireless_security_setting_from_if_block): introduce
606                         free_type_mapping func table; rename a few local
607                         variables to improve readability; add wpa security mapping
608                         for wep-tx-keyidx property
609                 - (string_to_gpointerint): new function used for the auto_type_mapping
610                         of new wep-tx-keyidx property
611                 - (slist_free_all): free func used for mapped slist types
612
613 2008-10-03  Alexander Sack  <asac@ubuntu.com>
614
615         * system-settings/src/main.c:
616                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
617                         always used as the hash key; fixes a crash when removing wired
618                         devices
619
620 2008-10-02  Dan Williams  <dcbw@redhat.com>
621
622         * src/nm-gsm-device.c
623                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
624                         pass the required GSM secret along via user_data rather than keeping
625                         it around in the private data where it sometimes didn't get cleared
626                 - (real_get_ppp_name): implement using the GSM username
627
628 2008-10-02  Dan Williams  <dcbw@redhat.com>
629
630         * src/ppp-manager/nm-ppp-manager.c
631           src/ppp-manager/nm-ppp-manager.h
632                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
633                         the settings daemon for completely new ones
634                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
635                         local PPP peer name; allow PPP debuging by launching NM with
636                         the environment variable NM_PPP_DEBUG defined
637                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
638                         create_pppd_cmd_line()
639
640         * src/nm-serial-device.c
641           src/nm-serial-device.h
642                 - New 'get_ppp_name' function for subclasses to implement to return the
643                         local PPP peer name
644                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
645                         and pass that name to the PPP manager
646
647         * src/nm-device-ethernet.c
648                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
649                         the local peer name
650
651         * src/nm-cdma-device.c
652                 - (real_get_ppp_name): implement using the CDMA username
653
654 2008-10-02  Dan Williams  <dcbw@redhat.com>
655
656         Patch from Alexander Sack <asac ubuntu com>
657
658         * system-settings/plugins/ifupdown/parser.c
659                 - Implement more graceful ip4 config parsing for cases where
660                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
661                   by using default values
662
663 2008-10-02  Dan Williams  <dcbw@redhat.com>
664
665         * src/NetworkManagerPolicy.c
666                 - (device_state_changed): when marking a connection invalid, clear its
667                         secrets too so that fresh secrets get requested the next time
668
669 2008-10-01  Dan Williams  <dcbw@redhat.com>
670
671         * system-settings/src/dbus-settings.c
672                 - (nm_sysconfig_settings_init): cache system hostname on startup as
673                         a fallback if no plugin provides a hostname
674                 - (get_property): fall back to cached hostname if no plugin provides
675                         a hostname
676
677 2008-10-01  Dan Williams  <dcbw@redhat.com>
678
679         Fix setting value comparison issue that caused some settings to look the
680         same when they were really different (rh #464417)
681
682         * libnm-util/nm-param-spec-specialized.c
683                 - (type_is_fixed_size): return fundamental size of the fixed type too
684                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
685                         in the comparison so that the _entire_ fixed type collection gets
686                         compared rather than just the first 'len1' bytes
687
688 2008-09-30  Dan Williams  <dcbw@redhat.com>
689
690         * src/NetworkManagerPolicy.c
691                 - (lookup_thread_worker): don't store the idle handler ID becuase the
692                         idle handler could have already run and freed the LookupThread
693                         structure
694
695 2008-09-30  Tambet Ingo  <tambet@gmail.com>
696
697         * src/nm-device.c (nm_device_get_priority): Implement.
698         (nm_device_set_ip4_config): Send the device priority to system ip4 
699         config setter.
700
701         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
702         Add priority argument and if it's >= 0, set the priority of the network
703         route added automatically by netlink (or kernel?).
704         (nm_system_device_set_priority): Implement.
705
706         * src/NetworkManagerPolicy.c (get_best_device): Use 
707         nm_device_get_priority() instead of home-grown version. Revert the
708         meaning, best priority is the lowest one.
709
710 2008-09-29  Dan Williams  <dcbw@redhat.com>
711
712         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
713         when it returns EAGAIN (rh #362421)
714
715         * src/nm-device-wifi.c
716                 - (wireless_get_range): try GIWRANGE a few times until the card responds
717                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
718
719 2008-09-28  Dan Williams  <dcbw@redhat.com>
720
721         * src/nm-serial-device.c
722           src/nm-serial-device.h
723                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
724                         cleaned at the right times when subclasses close the serial port too
725                 - (nm_serial_device_send_command): use a default send delay; don't
726                         spin forever on EAGAIN
727                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
728                         remove, no longer used
729                 - (find_response): return the matched response if any
730                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
731                         while doing so
732                 - (wait_for_reply_done): pass the matched response to the callback
733                 - (wait_for_reply_got_data): save the matched response; simplify timeout
734                         handling
735                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
736                         const since they never get modified
737                 - (cleanup_device): split out common cleanup stuff to a new function
738                 - (real_deactivate_quickly, finalize): use cleanup_device()
739
740         * src/nm-gsm-device.c
741                 - (modem_get_reply): remove, unused
742                 - (set_apn): give the card a bit more time to respond
743                 - (manual_registration_again, schedule_manual_registration_again,
744                    manual_registration_response, manual_registration): handle manual
745                         registration timeouts better by retrying registration a few times
746                         because cards are a bit slow after CFUN=1
747                 - (automatic_registration_get_network, get_network_response): use
748                         modem_wait_for_reply() because it interacts better with the serial
749                         buffer and does more intelligent matching; need to wait for 'OK'
750                         rather than just matching terminators
751                 - (schedule_automatic_registration_again,
752                    automatic_registration_response, automatic_registration): retry
753                         registration a few times on timeout or "searching" because cards
754                         take a bit to find a network after being powered up with CFUN=1
755                 - (power_up_response, power_up, init_full_done, enter_pin,
756                    check_pin_done): power up the card with CFUN=1 before trying to
757                         register with the network
758                 - (init_modem_full, init_modem): use more standard 3G init strings
759
760         * src/nm-hso-gsm-device.c
761                 - (modem_get_reply): remove, unused
762                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
763                         modem_wait_for_reply() to match actual responses instead of single
764                         termination characters; it doesn't leave stuff in the serial buffer
765                         that might confuse later calls
766                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
767                         to ensure that the call is really disconnected and not leave extra
768                         stuff in the serial buffer
769
770         * src/nm-cdma-device.c
771                 - (power_up_response, power_up, init_done): try Sierra-style modem
772                         power up before attempting to connect
773
774 2008-09-27  Dan Williams  <dcbw@redhat.com>
775
776         * libnm-util/nm-setting-gsm.c
777                 - (verify): verify GSM network ID
778
779 2008-09-25  Dan Williams  <dcbw@redhat.com>
780
781         * libnm-util/nm-setting-gsm.c
782           libnm-util/nm-setting-gsm.h
783                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
784                         technology terms (bgo #551361)
785
786 2008-09-25  Dan Williams  <dcbw@redhat.com>
787
788         Fix bgo #549401 (inspired by patch from Alexander Sack)
789
790         * src/nm-device-ethernet.c
791                 - (finish_supplicant_task): clean up scheduled tasks and free memory
792                 - (remove_supplicant_interface_error_handler): remove the supplicant
793                         error idle callback too
794                 - (supplicant_interface_release): rename from supplicant_interface_clean
795                         to match nm-device-wifi.c; clean up supplicant interface-related
796                         state tasks when the supplicant interface is disposed of
797                 - (schedule_state_handler): add scheduled tasks to a list so they can
798                         be cleaned up later
799                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
800                    supplicant_iface_connection_state_cb_handler): use
801                         finish_supplicant_task() to clean up each completed task
802                 - (supplicant_iface_connection_error_cb_handler,
803                    supplicant_connection_timeout_cb): clear source id when the task is
804                         complete
805                 - (supplicant_iface_connection_error_cb): save scheduled task id for
806                         later cleanup
807                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
808                         tasks
809
810         * src/nm-device-wifi.c
811                 - (finish_supplicant_task): clean up scheduled tasks and free memory
812                 - (remove_supplicant_interface_error_handler): remove the supplicant
813                         error idle callback too
814                 - (supplicant_interface_release): clean up supplicant interface-related
815                         state tasks when the supplicant interface is disposed of
816                 - (schedule_state_handler): add scheduled tasks to a list so they can
817                         be cleaned up later
818                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
819                    supplicant_iface_connection_state_cb_handler): use
820                         finish_supplicant_task() to clean up each completed task
821                 - (supplicant_iface_connection_error_cb_handler): clear source id when
822                         the task is complete
823                 - (supplicant_iface_connection_error_cb): save scheduled task id for
824                         later cleanup
825                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
826
827 2008-09-24  Tambet Ingo  <tambet@gmail.com>
828
829         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
830         method and get/set hostname property.
831
832 2008-09-24  Tambet Ingo  <tambet@gmail.com>
833
834         * src/supplicant-manager/nm-supplicant-interface.c
835         (nm_supplicant_interface_disconnect): Don't increment the reference 
836         count when disconnecting. The problem is on shutdown, when the replies
837         to these commands do not arrive before NM exits, resulting on never
838         calling supplicant interface's dispose(), which removes the interface
839         from supplicant.
840
841 2008-09-24  Tambet Ingo  <tambet@gmail.com>
842
843         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
844         all the public function arguments.
845
846 2008-09-22  Tambet Ingo  <tambet@gmail.com>
847
848         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
849         "Failure" signal from VPN plugins, store the failure reason, and
850         use it when the state is changed to failure.
851
852         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
853         description.
854
855         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
856         reason to the end of the list to not break the API.
857         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
858         so it can be shared by plugins and daemon.
859
860 2008-09-18  Dan Williams  <dcbw@redhat.com>
861
862         Patch from Alexander Sack <asac@ubuntu.com>
863
864         * configure.in
865           system-settings/plugins/Makefile.am
866           system-settings/plugins/ifupdown/Makefile.am
867           system-settings/plugins/ifupdown/interface_parser.c
868           system-settings/plugins/ifupdown/interface_parser.h
869           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
870           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
871           system-settings/plugins/ifupdown/parser.c
872           system-settings/plugins/ifupdown/parser.h
873           system-settings/plugins/ifupdown/plugin.c
874           system-settings/plugins/ifupdown/plugin.h
875                 - Implement a Debian/Ubuntu legacy network configuration plugin
876                         (gnome.org #551941)
877
878 2008-09-18  Dan Williams  <dcbw@redhat.com>
879
880         Implement support for honoring configured and automatic hostnames, and for
881         setting the configured hostname.
882
883         * introspection/nm-ip4-config.xml
884           src/nm-ip4-config.c
885           src/nm-ip4-config.h
886           src/dhcp-manager/nm-dhcp-manager.c
887                 - Remove useless hostname property; it's not really part of the IPv4
888                         config
889
890         * introspection/nm-settings-system.xml
891           libnm-glib/nm-dbus-settings-system.c
892           libnm-glib/nm-dbus-settings-system.h
893                 - Add SetHostname() call to system settings D-Bus interface
894                 - Add Hostname property to system settings D-Bus interface
895                 - (nm_dbus_settings_system_save_hostname,
896                    nm_dbus_settings_system_get_hostname): implement
897
898         * src/nm-device.c
899           src/nm-device.h
900                 - (nm_device_get_dhcp4_config): implement
901
902         * src/nm-manager.c
903           src/nm-manager.h
904                 - Fetch and track system settings service hostname changes, and proxy
905                         the changes via a GObject property of the manager
906
907         * system-settings/src/nm-system-config-interface.c
908           system-settings/src/nm-system-config-interface.h
909                 - Replace nm_system_config_interface_supports_add() with a capabilities
910                         bitfield
911
912         * system-settings/src/nm-system-config-error.c
913           system-settings/src/nm-system-config-error.h
914                 - Add additional errors
915
916         * system-settings/src/dbus-settings.c
917           system-settings/src/dbus-settings.h
918                 - (get_property, nm_sysconfig_settings_class_init): add hostname
919                         property; first plugin returning a hostname wins
920                 - (impl_settings_add_connection): use plugin capabilities instead of
921                         nm_system_config_interface_supports_add()
922                 - (impl_settings_save_hostname): implement hostname saving
923
924         * src/NetworkManagerPolicy.c
925                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
926                    lookup_thread_die): implement an asynchronous hostname lookup thread
927                         which given an IPv4 address tries to look up the hostname for that
928                         address with reverse DNS
929                 - (get_best_device): split out best device code from
930                         update_routing_and_dns()
931                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
932                         to preserve the 127.0.0.1 reverse mapping that so many things require
933                 - (set_system_hostname): set a given hostname
934                 - (update_system_hostname): implement hostname policy; a configured
935                         hostname (from the system settings service) is used if available,
936                         otherwise an automatically determined hostname from DHCP, VPN, etc.
937                         If there was no automatically determined hostname, reverse DNS of
938                         the best device's IP address will be used, and as a last resort the
939                         hostname 'localhost.localdomain' is set.
940                 - (update_routing_and_dns): use get_best_device(); update the system
941                         hostname when the network config changes
942                 - (hostname_changed): update system hostname if the system settings
943                         service signals a hostname change
944                 - (nm_policy_new): list for system settings service hostname changes
945                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
946                         gets told to die
947
948         * system-settings/plugins/keyfile/plugin.c
949           system-settings/plugins/ifcfg-suse/plugin.c
950                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
951                         capabilities properties
952
953         * system-settings/plugins/ifcfg-fedora/shvar.c
954                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
955                         writes out /etc/sysconfig/network now
956
957         * system-settings/plugins/ifcfg-fedora/plugin.c
958                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
959                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
960                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
961                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
962                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
963                         hostname get/set and capabilities get
964
965 2008-09-18  Dan Williams  <dcbw@redhat.com>
966
967         * libnm-util/nm-setting-wireless.c
968                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
969                         group ciphers if the wireless-security setting explicitly specified
970                         them, effectively making the default be "all ciphers"  (idea from
971                         Alexander Sack)
972
973 2008-09-15  Dan Williams  <dcbw@redhat.com>
974
975         Patch from Alexander Sack <asac@ubuntu.com>
976
977         * src/named-manager/nm-named-manager.c
978                 - (dispatch_resolvconf): respect resolvconf exit code
979
980 2008-09-12  Tambet Ingo  <tambet@gmail.com>
981
982         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
983         again. Add some debugging.
984
985 2008-09-11  Dan Williams  <dcbw@redhat.com>
986
987         * system-settings/plugins/keyfile/plugin.c
988                 - (update_connection_settings): update connection manually, since
989                         nm_exported_connection_update() does authentication
990                 - (dir_changed): update_connection_settings() doesn't need to return
991                         an error
992
993 2008-09-09  Dan Williams  <dcbw@redhat.com>
994
995         * libnm-glib/nm-vpn-plugin-ui-interface.c
996           libnm-glib/nm-vpn-plugin-ui-interface.h
997           libnm-glib/libnm_glib_vpn.ver
998                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
999                         should clean up resources related to the connection (like keyring
1000                         secrets)
1001                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1002                         should save user-scope secrets (like to the keyring)
1003
1004 2008-09-08  Dan Williams  <dcbw@redhat.com>
1005
1006         Patch from Alexander Sack <asac@ubuntu.com>
1007
1008         * libnm-util/crypto_gnutls.c
1009           libnm-util/crypto_nss.c
1010                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1011
1012         * libnm-util/nm-utils.c
1013           libnm-util/nm-utils.h
1014           libnm-util/libnm-util.ver
1015                 - (nm_utils_init): initialize libnm-util
1016                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1017
1018         * libnm-util/nm-setting-8021x.c
1019                 - (nm_setting_802_1x_class_init): init libnm-util when needed
1020
1021 2008-09-05  Dan Williams  <dcbw@redhat.com>
1022
1023         Patch from Roy Marples <roy@marples.name> and others
1024
1025         * configure.in
1026           src/named-manager/nm-named-manager.c
1027                 - Add support for resolvconf; use --with-resolvconf at configure time
1028                         to enable it
1029
1030 2008-09-05  Dan Williams  <dcbw@redhat.com>
1031
1032         * libnm-util/crypto_nss.c
1033           libnm-util/crypto_gnutls.c
1034           libnm-util/crypto.h
1035                 - (crypto_init): return error when init fails
1036
1037 2008-09-05  Dan Williams  <dcbw@redhat.com>
1038
1039         * libnm-glib/nm-device-wifi.c
1040                 - (access_point_removed_proxy): clean up the active access point too
1041                         just in case the active ap changed signal didn't come through yet
1042                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1043
1044 2008-09-05  Dan Williams  <dcbw@redhat.com>
1045
1046         * libnm-glib/nm-client.c
1047                 - (constructor): get initial state after we know whether NM is running
1048                         or not
1049
1050 2008-09-05  Dan Williams  <dcbw@redhat.com>
1051
1052         * libnm-glib/nm-ip4-config.c
1053           libnm-glib/nm-dhcp4-config.c
1054                 - (finalize): clean up the DBusGProxy
1055
1056 2008-09-04  Dan Williams  <dcbw@redhat.com>
1057
1058         * src/nm-ip4-config.c
1059           src/nm-ip4-config.h
1060                 - (nm_ip4_config_new): don't export over D-Bus here
1061                 - (nm_ip4_config_export): new function; export the config over D-Bus
1062                 - (nm_ip4_config_is_exported): new function
1063
1064         * src/nm-device.c
1065                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1066                         objects by balancing the IP4Config constructor; the device holds
1067                         a reference to the IP4Config already
1068                 - (nm_device_set_ip4_config): export the IP4Config when needed
1069
1070 2008-09-04  Dan Williams  <dcbw@redhat.com>
1071
1072         * src/supplicant-manager/nm-supplicant-settings-verify.c
1073                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1074
1075 2008-09-04  Dan Williams  <dcbw@redhat.com>
1076
1077         * libnm-util/nm-setting-vpn.c
1078           libnm-util/nm-setting-vpn.h
1079                 - Split VPN secrets from VPN data so that settings services can actually
1080                         figure out that they are secrets and store them accordingly
1081
1082         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1083           system-settings/plugins/keyfile/reader.c
1084           system-settings/plugins/keyfile/reader.h
1085           system-settings/plugins/keyfile/writer.c
1086                 - Store VPN secrets separately from VPN data so that they can be fetched
1087                         on demand
1088                 - Implement the get_secrets() call so that (a) secrets don't leak out
1089                         to unprivileged callers, and (b) secrets can be sent to privileged
1090                         callers when needed
1091
1092         * vpn-daemons/vpnc/src/nm-vpnc-service.c
1093                 - Handle split VPN secrets
1094
1095 2008-08-27  Dan Williams  <dcbw@redhat.com>
1096
1097         * system-settings/plugins/ifcfg-fedora/reader.c
1098                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1099
1100 2008-08-27  Dan Williams  <dcbw@redhat.com>
1101
1102         Ensure zombie children get cleaned up.  To get notifications when children
1103         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1104         that requires calling waitpid() yourself if you've removed the child watch
1105         handler before the process has actually died, which NM needs to do in a few
1106         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1107         cleans up after the child when required.  Should fix problems trying to
1108         activate mobile broadband connections after a previous failure.
1109
1110         * src/dhcp-manager/nm-dhcp-dhclient.c
1111           src/dhcp-manager/nm-dhcp-dhcpcd.c
1112                 - Use G_SPAWN_DO_NOT_REAP_CHILD
1113
1114         * src/dhcp-manager/nm-dhcp-manager.c
1115                 - (nm_dhcp_device_destroy): ensure child is cleaned up
1116                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1117                         block on child quitting, since the non-blocking functionality was
1118                         never actually used
1119
1120         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1121                 - (dm_watch_cb): child is already reaped here
1122                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1123
1124         * src/nm-device.c
1125                 - (aipd_cleanup): block until child is dead
1126
1127         * src/named-manager/nm-named-manager.c
1128                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1129                         event bothering to watch the child
1130
1131         * src/ppp-manager/nm-ppp-manager.c
1132                 - (ppp_watch_cb): child is already reaped here
1133                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1134
1135         * src/vpn-manager/nm-vpn-service.c
1136                 - (vpn_service_watch_cb): child is already reaped here
1137                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1138                         status of the child is actually tracked
1139                 - (ensure_killed, finalize): block until child is dead
1140
1141 2008-08-26  Dan Williams  <dcbw@redhat.com>
1142
1143         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1144                 - (update): Update filename of the connection if the connection id
1145                         was changed
1146
1147         * system-settings/plugins/keyfile/plugin.c
1148                 - (dir_changed): first pass at handling connection renames correctly
1149
1150         * system-settings/plugins/keyfile/writer.c
1151           system-settings/plugins/keyfile/writer.h
1152                 - (write_connection): replace '/' with '*' when writing out the filename
1153                         from the connection id
1154
1155 2008-08-26  Dan Williams  <dcbw@redhat.com>
1156
1157         Add connection UUIDs, since connection names can be changed, and since
1158         old-style connection IDs could change over the life of the connection.  The
1159         UUID should be assigned at connection creation time, be stable for a given
1160         connection, and should be unique among all connections for a given settings
1161         service.
1162
1163         * configure.in
1164           libnm-util/Makefile.am
1165                 - Require libuuid
1166
1167         * introspection/nm-exported-connection.xml
1168                 - Remove "GetID" method
1169
1170         * libnm-glib/nm-dbus-connection.c
1171           libnm-glib/nm-settings.c
1172           libnm-glib/nm-settings.h
1173                 - Remove id-related stuff
1174
1175         * libnm-util/nm-utils.c
1176           libnm-util/nm-utils.h
1177           libnm-util/libnm-util.ver
1178                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1179                         utility functions to generate UUIDs
1180
1181         * libnm-util/nm-setting-connection.c
1182           libnm-util/nm-setting-connection.h
1183                 - Add 'uuid' member to the connection setting
1184                 - (verify): require valid 'uuid' for a valid connection
1185
1186         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1187           system-settings/plugins/ifcfg-fedora/reader.c
1188           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1189           system-settings/plugins/ifcfg-suse/parser.c
1190           system-settings/plugins/keyfile/nm-keyfile-connection.c
1191           system-settings/src/main.c
1192                 - Remove id-related stuff
1193                 - Give connections UUIDs where needed
1194
1195 2008-08-25  Dan Williams  <dcbw@redhat.com>
1196
1197         * libnm-util/crypto_gnutls.c
1198           libnm-util/crypto_nss.c
1199                 - (crypto_init, crypto_deinit): refcount init/deinit
1200                 - (crypto_md5_hash): allow NULL salt
1201
1202 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
1203
1204         * libnm-glib/Makefile.am
1205           libnm-util/Makefile.am
1206           libnm-glib/libnm_glib.ver
1207           libnm-glib/libnm_glib_vpn.ver
1208           libnm-util/libnm-util.ver
1209                 - Use linker version scripts to control the list of exported 
1210                 symbols. List each exported symbol explicitely.
1211         * libnm-util/Makefile.am
1212                 - Fix compilation of the test-crypto binary. The crypto
1213                 functions are no longer part of the libnm-util API. Add 
1214                 crypto_*.c to test_crypto_SOURCES and link against the correct
1215                 crypto libraries.
1216
1217 2008-08-19  Dan Williams  <dcbw@redhat.com>
1218
1219         * configure.in
1220           test/Makefile.am
1221                 - Don't build test/test-common
1222                 - Remove unused stuff
1223
1224         * test/nm-set-fallback
1225           test/nmtestdevices.c
1226           test/test-common/.cvsignore
1227           test/test-common/Makefile.am
1228           test/test-common/test-common.c
1229           test/test-common/test-common.h
1230                 - delete
1231
1232 2008-08-18  Dan Williams  <dcbw@redhat.com>
1233
1234         * libnm-util/nm-utils.c
1235           libnm-util/nm-utils.h
1236                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1237                         export anything that needs to be converted with this function
1238
1239         * src/dhcp-manager/nm-dhcp-manager.c
1240                 - (garray_to_string): convert a byte array to a UTF-8 string with
1241                         minimal validation; the DHCP client sends it in ASCII anyway
1242                 - (get_option, copy_option): use garray_to_string()
1243
1244 2008-08-18  Dan Williams  <dcbw@redhat.com>
1245
1246         * include/NetworkManager.h
1247           introspection/nm-device.xml
1248                 - Add a "missing firmware" device state reason
1249
1250         * src/NetworkManagerSystem.c
1251           src/NetworkManagerSystem.h
1252                 - (nm_system_device_set_up_down): add a no_firmware argument
1253                 - (nm_system_device_set_up_down_with_iface): if the result of setting
1254                         IFF_UP is ENOENT, that almost always means missing firmware
1255
1256         * src/backends/NetworkManagerGeneric.c
1257           src/nm-device-ethernet.c
1258           src/nm-device-private.h
1259           src/nm-device-wifi.c
1260           src/nm-device.c
1261           src/nm-device.h
1262           src/nm-hso-gsm-device.c
1263           src/vpn-manager/nm-vpn-connection.c
1264                 - Pass no_firmware along; check it where appropriate
1265
1266 2008-08-18  Dan Williams  <dcbw@redhat.com>
1267
1268         Patch from Robert Buchholz <rbu@gentoo.org>
1269
1270         * autogen.sh
1271           configure.in
1272                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1273                         1003.1-1988, allowing for file names longer than 99 characters
1274
1275 2008-08-17  Dan Williams  <dcbw@redhat.com>
1276
1277         * include/NetworkManager.h
1278           introspection/nm-device.xml
1279           src/nm-gsm-device.c
1280                 - Finer-grained GSM registration failure error codes
1281
1282 2008-08-17  Dan Williams  <dcbw@redhat.com>
1283
1284         * callouts/Makefile.am
1285           src/Makefile.am
1286                 - Move dispatcher directory creation to callouts/Makefile.am
1287
1288         * system-settings/plugins/keyfile/Makefile.am
1289                 - Create keyfile connections directory in DESTDIR (bgo #546833)
1290
1291 2008-08-15  Dan Williams  <dcbw@redhat.com>
1292
1293         Do connection sharing in a cleaner manner; all required iptables rules
1294         are now stored in the activation request and pertain only to the device
1295         which is being shared to other computers. (rh #458625)
1296
1297         * src/nm-activation-request.c
1298           src/nm-activation-request.h
1299                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1300                         the activation request which will get torn down automatically when
1301                         the activation request dies
1302                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1303                         is started, and tear them down when sharing is stopped
1304
1305         * src/nm-device.c
1306                 - (start_sharing): start up sharing by doing the required iptables magic
1307                 - (share_init): poke the right bits of the kernel and load the right
1308                         modules for NAT
1309                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1310                         connection if it's a 'shared' connection
1311
1312         * src/NetworkManagerPolicy.c
1313                 - Remove all sharing stuff; done in the device code itself
1314
1315 2008-08-15  Dan Williams  <dcbw@redhat.com>
1316
1317         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1318                 - (create_dm_cmd_line): send the right router address
1319
1320 2008-08-15  Dan Williams  <dcbw@redhat.com>
1321
1322         * src/ppp-manager/nm-ppp-manager.c
1323                 - (pppd_timed_out): ensure timeouts fail the connection
1324
1325 2008-08-14  Dan Williams  <dcbw@redhat.com>
1326
1327         * src/nm-properties-changed-signal.c
1328           src/nm-properties-changed-signal.h
1329                 - Add a property spec flag for "don't export this property" in
1330                         property changed signals
1331
1332         * src/nm-hso-gsm-device.c
1333           src/nm-gsm-device.c
1334           src/nm-cdma-device.c
1335                 - Don't export monitor interface or netdev interface properties
1336
1337 2008-08-14  Dan Williams  <dcbw@redhat.com>
1338
1339         * src/NetworkManagerPolicy.c
1340                 - (update_routing_and_dns): 'hso' devices can be default even if they
1341                         don't have a gateway
1342
1343 2008-08-14  Dan Williams  <dcbw@redhat.com>
1344
1345         * src/nm-device.c
1346                 - (nm_device_deactivate_quickly): tear down activation request after
1347                         calling device-specific deactivation
1348
1349         * src/nm-hso-gsm-device.c
1350                 - (real_deactivate_quickly): terminate connection when deactivating
1351
1352 2008-08-14  Dan Williams  <dcbw@redhat.com>
1353
1354         * src/nm-activation-request.h
1355                 - Add HSO secrets caller
1356
1357         * src/nm-gsm-device.c
1358           src/nm-gsm-device.h
1359                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1360                         something to the callback function
1361                 - (set_apn, set_apn_done): call class dial function, not a static one
1362                 - (nm_gsm_device_class_init): add a class 'dial' function
1363
1364         * src/nm-hal-manager.c
1365                 - (get_hso_netdev): find the hso-driven hardware's net device
1366                 - (modem_device_creator): recognize hso-driven hardware and create the
1367                         right type of device object for it
1368
1369         * src/Makefile.am
1370           src/nm-hso-gsm-device.c
1371           src/nm-hso-gsm-device.h
1372                 - Implement support for devices driven by the 'hso' driver as a subclass
1373                         of NMGsmDevice
1374
1375 2008-08-14  Dan Williams  <dcbw@redhat.com>
1376
1377         * src/NetworkManagerSystem.c
1378                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1379                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1380                         success if the operation really was successful
1381
1382 2008-08-14  Dan Williams  <dcbw@redhat.com>
1383
1384         * src/nm-netlink-monitor.c
1385           src/nm-netlink-monitor.h
1386           src/nm-device-ethernet.c
1387                 - (nm_netlink_monitor_request_status): return an error on failure
1388                 - (constructor): don't segfault on missing error
1389
1390 2008-08-13  Dan Williams  <dcbw@redhat.com>
1391
1392         * callouts/nm-dispatcher-action.c
1393                 - Add IP4 config info to script environment
1394
1395 2008-08-12  Dan Williams  <dcbw@redhat.com>
1396
1397         * src/nm-device.c
1398                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1399                         that want to use DHCP hostnames should use dispatcher scripts
1400                         for that
1401
1402         * src/NetworkManagerSystem.h
1403           src/backends/NetworkManagerArch.c
1404           src/backends/NetworkManagerDebian.c
1405           src/backends/NetworkManagerFrugalware.c
1406           src/backends/NetworkManagerGeneric.c
1407           src/backends/NetworkManagerGeneric.h
1408           src/backends/NetworkManagerGentoo.c
1409           src/backends/NetworkManagerMandriva.c
1410           src/backends/NetworkManagerPaldo.c
1411           src/backends/NetworkManagerRedHat.c
1412           src/backends/NetworkManagerSlackware.c
1413           src/backends/NetworkManagerSuSE.c
1414                 - Remove nm_system_set_hostname(), no longer used
1415           
1416         * src/backends/Makefile.am
1417           src/backends/shvar.c
1418           src/backends/shvar.h
1419                 - Remove shvar.*; no longer used
1420
1421 2008-08-12  Dan Williams  <dcbw@redhat.com>
1422
1423         Revert most of the 'hostname' patch.  Too much stuff still breaks when
1424         hostname is updated at runtime.  Distros or users who want hostname updates
1425         can use dispatcher scripts to update the hostname if they need it.
1426
1427 2008-08-12  Dan Williams  <dcbw@redhat.com>
1428
1429         * introspection/nm-settings-system.xml
1430           system-settings/src/dbus-settings.c
1431           system-settings/src/dbus-settings.h
1432                 - Add a 'Hostname' property (rw) which represents the configured
1433                         hostname and domain of the system, if any
1434
1435         * system-settings/src/nm-system-config-error.c
1436           system-settings/src/nm-system-config-error.h
1437           system-settings/src/nm-system-config-interface.c
1438           system-settings/src/nm-system-config-interface.h
1439                 - Add a 'hostname' property to the plugin interface
1440                 - Add a method to send updated hostname to plugins to save in their
1441                         backing configuration store
1442
1443         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1444           system-settings/plugins/keyfile/plugin.c
1445           system-settings/plugins/keyfile/writer.c
1446           system-settings/plugins/keyfile/writer.h
1447           system-settings/plugins/ifcfg-suse/plugin.c
1448                 - Add minimal hostname support
1449
1450         * system-settings/plugins/ifcfg-fedora/plugin.c
1451                 - Add support for updating system hostname in /etc/sysconfig/network
1452
1453 2008-08-12  Dan Williams  <dcbw@redhat.com>
1454
1455         * system-settings/plugins/ifcfg-fedora/shvar.c
1456           system-settings/plugins/ifcfg-fedora/shvar.c
1457                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1458
1459 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1460
1461         * Makefile.am: Fix distcheck.
1462
1463 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1464
1465         * libnm-glib/*.c. Document some more.
1466
1467 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1468
1469         Start documenting libnm-glib public API using gtk-doc.
1470
1471         * libnm-glib/nm-serial-device.c: 
1472         * libnm-glib/nm-object.c: 
1473         * libnm-glib/nm-gsm-device.c: 
1474         * libnm-glib/nm-device.c: 
1475         * libnm-glib/nm-device-wifi.c: 
1476         * libnm-glib/nm-device-ethernet.c: 
1477         * libnm-glib/nm-client.c: 
1478         * libnm-glib/nm-cdma-device.c: Document the public API.
1479
1480         * docs/libnm-glib/libnm-glib.types: Implement.
1481
1482         * docs/libnm-glib/Makefile.am: Implement.
1483
1484         * autogen.sh: 
1485         * configure.in: 
1486         * Makefile.am: Add gtk-doc support.
1487
1488 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1489
1490         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1491
1492         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1493         the composite result of all the IP4 configurations and call a distro
1494         specific update_resolv_conf().
1495         (update_resolv_conf): Implement one for directly writing to 
1496         /etc/resolv.conf and one for opensuse to call netconfig.
1497
1498 2008-08-11  Dan Williams  <dcbw@redhat.com>
1499
1500         * src/ppp-manager/nm-ppp-manager.c
1501                 - (impl_ppp_manager_need_secrets): pass interface as required
1502
1503 2008-08-11  Dan Williams  <dcbw@redhat.com>
1504
1505         Merge the vpn-properties setting with the vpn setting since it was pointless
1506         to keep both of them around.  Convert the vpn 'data' hash table to a hash
1507         of string:string (instead of string:variant) so that system settings plugins
1508         can have an easier time dealing with the arbitrary key/value pairs.
1509
1510 2008-08-11  Dan Williams  <dcbw@redhat.com>
1511
1512         * libnm-util/nm-utils.c
1513                 - (nm_utils_register_value_transformations): add value transform for
1514                         a hash table of string:string
1515
1516 2008-08-10  Dan Williams  <dcbw@redhat.com>
1517
1518         * libnm-glib/nm-vpn-plugin.c
1519                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1520                         an idle handler so the Connect reply gets delivered before the
1521                         stop StateChanged signal
1522
1523 2008-08-10  Dan Williams  <dcbw@redhat.com>
1524
1525         * src/nm-ip4-config.c
1526                 - (get_property): use common ip4 address/route conversion functions
1527                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1528                         copy the new route here, not take ownership
1529
1530 2008-08-08  Tambet Ingo  <tambet@gmail.com>
1531
1532         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1533         Update the IP4 setting's method name.
1534
1535 2008-08-07  Dan Williams  <dcbw@redhat.com>
1536
1537         * introspection/nm-ip4-config.xml
1538           libnm-glib/libnm-glib-test.c
1539           libnm-glib/nm-ip4-config.c
1540           libnm-glib/nm-ip4-config.h
1541           src/NetworkManagerSystem.h
1542           src/backends/NetworkManagerArch.c
1543           src/backends/NetworkManagerDebian.c
1544           src/backends/NetworkManagerFrugalware.c
1545           src/backends/NetworkManagerGeneric.c
1546           src/backends/NetworkManagerGeneric.h
1547           src/backends/NetworkManagerGentoo.c
1548           src/backends/NetworkManagerMandriva.c
1549           src/backends/NetworkManagerPaldo.c
1550           src/backends/NetworkManagerRedHat.c
1551           src/backends/NetworkManagerSlackware.c
1552           src/backends/NetworkManagerSuSE.c
1553           src/dhcp-manager/nm-dhcp-manager.c
1554           src/nm-device.c
1555           src/nm-ip4-config.c
1556           src/nm-ip4-config.h
1557                 - Remove NIS logic; should be done from dispatcher scripts instead
1558
1559 2008-08-07  Dan Williams  <dcbw@redhat.com>
1560
1561         * src/dhcp-manager/nm-dhcp-manager.c
1562                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1563                         mis-handling of DHCP responses that returned more than one router
1564                         (found by Grant Williamson)
1565
1566 2008-08-07  Dan Williams  <dcbw@redhat.com>
1567
1568         * callouts/nm-dispatcher-action.c
1569                 - (nm_dispatcher_action): grab device path and create the device; pass
1570                         the device's DHCP4 config to script caller
1571                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1572                         scripts
1573
1574         * libnm-glib/nm-dhcp4-config.c
1575           libnm-glib/nm-dhcp4-config.h
1576                 - (nm_dhcp4_config_get_options): expose
1577                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1578
1579 2008-08-07  Dan Williams  <dcbw@redhat.com>
1580
1581         * include/NetworkManager.h
1582                 - Add the DHCP4Config D-Bus interface
1583
1584         * libnm-glib/Makefile.am
1585           libnm-glib/nm-dhcp4-config.c
1586           libnm-glib/nm-dhcp4-config.h
1587                 - Handle DHCP4 config objects exported by NM over D-Bus
1588
1589         * libnm-glib/nm-device.c
1590           libnm-glib/nm-device.h
1591                 - Add a 'dhcp4-config' property
1592
1593         * libnm-glib/libnm-glib-test.c
1594                 - Print out DHCP4 config for devices
1595                 - Fix some crashes when no connections are active
1596
1597         * src/nm-device-interface.c
1598           src/nm-device.c
1599           src/nm-dhcp4-config.c
1600           src/nm-dhcp4-config.h
1601                 - Treat dhcp4-config object as an object path at the D-Bus interface so
1602                         that when it doesn't exist we can proxy it as "/" which dbus-glib
1603                         doesn't let us do when the property type is G_TYPE_OBJECT
1604
1605 2008-08-07  Dan Williams  <dcbw@redhat.com>
1606
1607         * src/NetworkManager.c
1608           src/NetworkManagerSystem.h
1609           src/backends/NetworkManagerArch.c
1610           src/backends/NetworkManagerDebian.c
1611           src/backends/NetworkManagerFrugalware.c
1612           src/backends/NetworkManagerGeneric.c
1613           src/backends/NetworkManagerGeneric.h
1614           src/backends/NetworkManagerGentoo.c
1615           src/backends/NetworkManagerMandriva.c
1616           src/backends/NetworkManagerPaldo.c
1617           src/backends/NetworkManagerRedHat.c
1618           src/backends/NetworkManagerSlackware.c
1619           src/backends/NetworkManagerSuSE.c
1620                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1621
1622 2008-08-06  Dan Williams  <dcbw@redhat.com>
1623
1624         * libnm-glib/nm-ip4-config.c
1625           libnm-glib/nm-ip4-config.h
1626                 - Add 'routes' property
1627
1628         * libnm-util/nm-setting-vpn.c
1629           libnm-util/nm-setting-vpn.h
1630                 - Remove 'routes' property
1631
1632         * libnm-util/nm-setting-ip4-config.c
1633           libnm-util/nm-setting-ip4-config.h
1634                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1635                 - Add 'ignore-auto-routes' property
1636                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
1637                         accomodate route metrics
1638                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1639
1640         * libnm-util/nm-utils.c
1641           libnm-util/nm-utils.h
1642                 - Add helpers for marshalling IP4 routes
1643
1644         * src/NetworkManagerUtils.c
1645                 - (nm_utils_merge_ip4_config): handle property renames and new route
1646                         structure
1647
1648         * src/NetworkManagerSystem.c
1649                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1650                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
1651
1652         * src/dhcp-manager/nm-dhcp-manager.c
1653                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1654
1655         * system-settings/plugins/ifcfg-fedora/reader.c
1656           system-settings/plugins/ifcfg-fedora/writer.c
1657                 - Handle routes separately from addresses now that routes have a different
1658                         format
1659
1660         * introspection/nm-ip4-config.xml
1661           src/nm-ip4-config.c
1662           src/nm-ip4-config.h
1663                 - Rename internal routing functions
1664                 - 'static-routes' renamed to 'routes'
1665
1666 2008-08-04  Dan Williams  <dcbw@redhat.com>
1667
1668         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1669
1670         * src/NetworkManager.c
1671           src/nm-manager.c
1672           src/nm-manager.h
1673                 - More explicitly make the NMManager a singleton
1674
1675 2008-08-04  Dan Williams  <dcbw@redhat.com>
1676
1677         * libnm-util/nm-connection.c
1678           libnm-util/nm-connection.h
1679                 - (nm_connection_verify): return error on missing 'connection' setting
1680                         (found by Sjoerd Simons)
1681
1682 2008-08-04  Dan Williams  <dcbw@redhat.com>
1683
1684         Handle multiple concurrent PPP connections.
1685
1686         * src/ppp-manager/nm-ppp-manager.c
1687           src/ppp-manager/nm-ppp-manager.h
1688                 - (constructor): only PPP Manager request bus name once; each
1689                         NMPPPManager object gets a unique object path
1690                 - (nm_ppp_manager_class_init, get_property, set_property,
1691                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1692                         at construct time
1693                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1694                         remove timeout until PPP manager gets an IP4 config
1695                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1696                         the plugin can call back to this specific PPP manager instance
1697
1698         * src/nm-device-ethernet.c
1699           src/nm-serial-device.c
1700                 - Pass parent device in nm_ppp_manager_new()
1701
1702         * src/nm-gsm-device.c
1703           src/nm-cdma-device.c
1704                 - (device_state_changed): don't close serial device on NEED_AUTH
1705                         state changed, that's not a failure case like the rest are
1706
1707         * src/ppp-manager/nm-pppd-plugin.c
1708                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1709                         binds one interface to any pppd process, thus the correct index
1710                         is always 0; send PHASE_DEAD on error to alert NM immediately of
1711                         problems; try harder to get a peer address in spite of pppd
1712                 - (plugin_init): use 'ipparam' as the object path back to our specific
1713                         PPP manager instance
1714
1715 2008-08-04  Dan Williams  <dcbw@redhat.com>
1716
1717         * src/ppp-manager/nm-ppp-manager.c
1718                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1719                         since the GSM and CDMA settings now implement need_secrets, we can
1720                         rely on them to do the right thing.  Where secrets are not required,
1721                         just pass empty strings back to the pppd plugin.
1722                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1723                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1724                         on successful IP4 config receipt
1725
1726 2008-08-04  Dan Williams  <dcbw@redhat.com>
1727
1728         * libnm-util/nm-setting-cdma.c
1729           libnm-util/nm-setting-gsm.c
1730                 - (verify): validate username & password if they exist
1731                 - (need_secrets): if username given, require a password too
1732
1733 2008-08-04  Dan Williams  <dcbw@redhat.com>
1734
1735         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1736                 - (create_dm_cmd_line): really don't listen on lo, despite what the
1737                         manpage says about --listen-address without --interface
1738                         (bgo #546033)
1739
1740 2008-08-01  Dan Williams  <dcbw@redhat.com>
1741
1742         * libnm-glib/nm-device.c
1743                 - (proxy_get_string): util function for querying a HAL property
1744                 - (get_ancestor_device): split out from get_product_and_vendor()
1745                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1746                         from PCI devices by querying subsys properties
1747                 - (nm_device_update_description): simplify
1748
1749 2008-08-01  Dan Williams  <dcbw@redhat.com>
1750
1751         * libnm-util/nm-setting-ip4-config.c
1752           libnm-util/nm-setting-ip4-config.h
1753                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1754                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
1755                         settings, and they don't necessarily use DHCP.
1756
1757         * src/NetworkManagerPolicy.c
1758           src/nm-device.c
1759           system-settings/plugins/ifcfg-fedora/reader.c
1760           system-settings/plugins/ifcfg-suse/parser.c
1761                 - Fixup for method changes
1762
1763 2008-07-31  Dan Williams  <dcbw@redhat.com>
1764
1765         * src/nm-activation-request.c
1766           src/vpn-manager/nm-vpn-connection.c
1767                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1768                         itself should be attached to the activation request or the VPN
1769                         connection, not the NMConnection object, since the call is not
1770                         expected to live as long as the NMConnection itself
1771
1772 2008-07-31  Dan Williams  <dcbw@redhat.com>
1773
1774         * src/nm-device-wifi.c
1775                 - (real_act_stage2_config): fix issue where association would continue
1776                         even though secrets were needed; 'goto out' was in wrong scope and
1777                         result of handle_auth_or_fail() should have been dumped directly to
1778                         'ret' to ensure that the association was postponed until secrets
1779                         are available
1780
1781 2008-07-31  Dan Williams  <dcbw@redhat.com>
1782
1783         * system-settings/plugins/ifcfg-fedora/plugin.c
1784           system-settings/plugins/ifcfg-fedora/reader.c
1785                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1786                         valid NM connection
1787
1788 2008-07-29  Dan Williams  <dcbw@redhat.com>
1789
1790         * src/nm-gsm-device.c
1791                 - (automatic_registration_response, automatic_registration): recognize
1792                         denied registration and reorder responses
1793
1794 2008-07-29  Dan Williams  <dcbw@redhat.com>
1795
1796         * src/nm-serial-device.c
1797                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
1798                         time(2) is used for current time, which returns seconds, we shouldn't
1799                         be multiplying by 1000.
1800
1801 2008-07-28  Dan Williams  <dcbw@redhat.com>
1802
1803         Patch from Fabrice Bellet <fabrice@bellet.info>
1804
1805         * src/NetworkManagerSystem.c
1806                 - (route_in_same_subnet): mask addresses and compare them so that the
1807                         function actually does what it says it's going to do (rh #456685)
1808
1809 2008-07-27  Dan Williams  <dcbw@redhat.com>
1810
1811         * libnm-util/nm-setting-ip6-config.c
1812                 - (set_property): add missing break that caused routes to be overwritten
1813                         with addresses
1814
1815         * libnm-util/nm-setting-ip6-config.c
1816                 - (verify): validate routes and return GError everywhere on invalid setting
1817                 - (finalize): don't leak routes
1818                 - (set_property): add missing break that caused routes to be overwritten
1819                         with addresses
1820
1821 2008-07-27  Dan Williams  <dcbw@redhat.com>
1822
1823         * libnm-util/*
1824                 - Relicense to LGPLv2+
1825
1826 2008-07-27  Dan Williams  <dcbw@redhat.com>
1827
1828         * system-settings/plugins/ifcfg-fedora/reader.c
1829                 - (make_ip4_setting): fix parsing automatic configs
1830
1831 2008-07-27  Dan Williams  <dcbw@redhat.com>
1832
1833         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1834           src/nm-device.c
1835           src/ppp-manager/nm-ppp-manager.c
1836                 - Ensure child process gets reaped.  The child watch function may be
1837                         removed from the mainloop before the child gets killed, so we have
1838                         to make sure the child is reaped when it's told to die intentionally
1839
1840 2008-07-27  Dan Williams  <dcbw@redhat.com>
1841
1842         Patch from Roy Marples <roy@marples.name>
1843
1844         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1845                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1846
1847 2008-07-27  Dan Williams  <dcbw@redhat.com>
1848
1849         * src/nm-gsm-device.c
1850                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1851                         Huawei devices turn echo back on after CPIN (rh #456770)
1852
1853 2008-07-24  Tambet Ingo  <tambet@gmail.com>
1854
1855         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1856         format argument to g_set_error() call.
1857
1858         * src/backends/interface_parser.[ch]: Remove.
1859
1860         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1861
1862 2008-07-21  Dan Williams  <dcbw@redhat.com>
1863
1864         * src/ppp-manager/nm-ppp-manager.c
1865                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1866                         to prevent pppd from picking up some random local address from an
1867                         interface that doesn't have anything to do with the one we're
1868                         interested in (rh #455348)
1869
1870 2008-07-17  Dan Williams  <dcbw@redhat.com>
1871
1872         * libnm-util/nm-utils.c
1873                 - (string_to_utf8): general function for conversion to UTF-8 assisted
1874                         by locale
1875                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
1876                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
1877
1878 2008-07-17  Dan Williams  <dcbw@redhat.com>
1879
1880         * introspection/Makefile.am
1881           introspection/nm-device.xml
1882           introspection/nm-dhcp4-config.xml
1883                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
1884                         itself
1885         * src/nm-device-interface.c
1886           src/nm-device-interface.h
1887                 - Add the DHCP4Config property
1888
1889         * src/nm-device.c
1890                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
1891                         D-Bus clients when it changes
1892
1893         * src/nm-dhcp4-config.c
1894           src/nm-dhcp4-config.h
1895                 - Simple object to store DHCP4 options, export them over D-Bus, and
1896                         notify when they change
1897
1898         * src/dhcp-manager/nm-dhcp-manager.c
1899           src/dhcp-manager/nm-dhcp-manager.h
1900                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
1901                         filter server-returned DHCP options into an NMDHCP4Config object
1902
1903 2008-07-16  Dan Williams  <dcbw@redhat.com>
1904
1905         * introspection/nm-device.xml
1906                 - Add device state reasons
1907
1908 2008-07-16  Dan Williams  <dcbw@redhat.com>
1909
1910         Patch from Roy Marples <roy@marples.name>
1911
1912         * configure.in
1913                 - Add --with-dhcp-client option
1914
1915         * src/dhcp-manager/Makefile.am
1916                 - pass DHCP_CLIENT_PATH on compile line
1917
1918         * src/dhcp-manager/nm-dhcp-manager.c
1919           src/dhcp-manager/nm-dhcp-manager.h
1920                 - Genericize for both dhcpcd and dhclient
1921
1922         * src/dhcp-manager/nm-dhcp-dhclient.c
1923                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
1924
1925         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1926                 - Implement support for dhcpcd too
1927
1928 2008-07-16  Tambet Ingo  <tambet@gmail.com>
1929
1930         * system-settings/src/nm-system-config-interface.c 
1931         (nm_system_config_interface_supports_add): Implement.
1932         (nm_system_config_interface_add_connection): Return a boolean to notify
1933         of errors.
1934
1935         * system-settings/src/nm-polkit-helpers.c: 
1936         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
1937         a separate file.
1938
1939         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
1940         Return an error when none of the plugins support add or if addition
1941         failed for some reason.
1942
1943         * system-settings/src/nm-system-config-error.h: 
1944         * system-settings/src/nm-system-config-error.c: New files, mostly moved
1945         here from nm-polkit-helpers.[ch].
1946
1947         * system-settings/src/Makefile.am: Build new files.
1948
1949         * system-settings/plugins/keyfile/reader.c 
1950         (read_array_of_array_of_uint): Make it more general so that it would
1951         work for routes as well.
1952
1953         * system-settings/plugins/keyfile/writer.c
1954         (write_array_of_array_of_uint): Ditto.
1955         Fix the netmask/prefix writing.
1956
1957         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
1958         boolean to notify errors.
1959
1960         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
1961         Return more specific error.
1962         (delete): Ditto.
1963
1964 2008-07-11  Dan Williams  <dcbw@redhat.com>
1965
1966         Modify the NMDevice::state-changed signal to include the previous state
1967         and reason. Enables the applet to provide more information why device
1968         activation failed.
1969
1970 2008-07-09  Dan Williams  <dcbw@redhat.com>
1971
1972         * callouts/Makefile.am
1973           callouts/nm-avahi-autoipd-action.c
1974           callouts/nm-avahi-autoipd.conf
1975                 - avahi-autoipd callout to send options back to NM
1976
1977         * src/autoip.c
1978           src/autoip.h
1979                 - remove
1980
1981         * src/nm-device.c
1982           src/nm-device-private.h
1983           src/nm-manager.c
1984                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
1985                         old custom stuff
1986
1987 2008-07-07  Dan Williams  <dcbw@redhat.com>
1988
1989         * system-settings/plugins/ifcfg-fedora/reader.c
1990                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
1991                         handle PREFIX too; clean up
1992
1993 2008-07-07  Dan Williams  <dcbw@redhat.com>
1994
1995         Convert to using IPv4 prefixes instead of netmasks.
1996
1997 2008-07-03  Dan Williams  <dcbw@redhat.com>
1998
1999         * libnm-util/nm-setting-ip4-config.c
2000           libnm-util/nm-setting-ip4-config.h
2001                 - Add properties for DHCP Client Identifier and DHCP Hostname
2002
2003         * src/dhcp-manager/nm-dhcp-manager.c
2004           src/dhcp-manager/nm-dhcp-manager.h
2005                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2006                         setting as an argument to pass on to the dhclient config file
2007                         creation function
2008                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2009                         DHCP is torn down
2010                 - (dhclient_run): punt config file handling to create_dhclient_config()
2011                 - (create_dhclient_config): create an interface-specific dhclient
2012                         config file since there may need to be interface-specific options
2013                         passed to dhclient
2014                 - (merge_dhclient_config): merge normal distro dhclient config file and
2015                         add options from the connection
2016                 - (nm_dhcp_device_new): generate the interface specific dhclient
2017                         config file path once
2018                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2019                         dhclient config file path
2020
2021         * src/nm-device.c
2022                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2023                         DHCP manager when starting DHCP
2024
2025 2008-07-02  Dan Williams  <dcbw@redhat.com>
2026
2027         * libnm-util/nm-setting-8021x.c
2028                 - (verify): allow forcing the PEAP label to 0
2029
2030 2008-07-02  Dan Williams  <dcbw@redhat.com>
2031
2032         * introspection/nm-active-connection.xml
2033           introspection/nm-vpn-connection.xml
2034           libnm-glib/nm-active-connection.c
2035           src/nm-activation-request.c
2036           src/nm-active-connection.h
2037           src/vpn-manager/nm-vpn-connection.c
2038                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2039                         and libnm-glib API since sharing didn't get implemented that way
2040
2041 2008-07-02  Dan Williams  <dcbw@redhat.com>
2042
2043         * src/nm-device-wifi.c
2044                 - (can_scan): don't scan when a shared connection is activated since
2045                         that makes drivers mad (causing disconnects); also NM doesn't need
2046                         to hedge against disconnects by keeping up-to-date network topology
2047                         because the connection originates from the local machine, and thus
2048                         there should be no disconnects
2049
2050 2008-07-01  Dan Williams  <dcbw@redhat.com>
2051
2052         Fix mobile broadband username/password issues.  NM was never requesting
2053         mobile broadband secrets, nor was it passing back the username and password
2054         if it had them.
2055
2056         * marshallers/nm-marshal.list
2057                 - Add some new types for activation request objects
2058
2059         * src/nm-activation-request.c
2060           src/nm-activation-request.h
2061                 - (get_secrets_cb): pass the caller type in the signal
2062                 - (nm_act_request_request_connection_secrets): take a caller type, so
2063                         that GetSecrets() reply handlers know who asked for the secrets in
2064                         the first place; use secret hints too so the settings service can
2065                         figure out exactly what NM wants (ie, PIN or the PPP password)
2066
2067         * src/ppp-manager/nm-ppp-manager.c
2068           src/ppp-manager/nm-ppp-manager.h
2069                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2070                         detect needed secrets when the secret could be blank, like GSM/CDMA
2071                         passwords.  So always ask for secrets, and send a hint as to what
2072                         secret we really want.
2073                 - (nm_ppp_manager_update_secrets): make function more generic by making
2074                         the device specific class figure out the username and password, and
2075                         accept an error argument to return back over D-Bus
2076
2077         * src/nm-device-wifi.c
2078                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2079                         nm_act_request_request_connection_secrets()
2080                 - (real_connection_secrets_updated): update for 'caller' changes
2081
2082         * src/nm-device.c
2083           src/nm-device.h
2084                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2085                         for 'caller' changes
2086
2087         * src/nm-device-ethernet.c
2088                 - (real_connection_secrets_updated): update for 'caller' changes and
2089                         move logic for getting PPPoE username and password here before
2090                         calling nm_ppp_manager_update_secrets()
2091                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2092                         nm_act_request_request_connection_secrets()
2093
2094         * src/nm-cdma-device.c
2095                 - (real_connection_secrets_updated): pass username and password back
2096                         to the PPP manager when required
2097
2098         * src/nm-gsm-device.c
2099                 - (enter_pin): send the required secret name to the settings service
2100                 - (real_connection_secrets_updated): pass username and password back
2101                         to the PPP manager when required
2102
2103 2008-06-30  Dan Williams  <dcbw@redhat.com>
2104
2105         * src/nm-device-wifi.c
2106                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2107
2108 2008-06-30  Dan Williams  <dcbw@redhat.com>
2109
2110         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
2111         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2112         priv->supplicant.iface.  When either condition is false, the device should
2113         transition back to UNAVAILABLE because it cannot be used.
2114
2115         * src/nm-device-wifi.c
2116                 - (constructor): cleanup; connect to supplicant manager here since the
2117                         supplicant manager is always around
2118                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2119                         ensure the supplicant manager is in the IDLE state
2120                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2121                         cancel any pending scans too
2122                 - (real_bring_up): don't set up the supplicnat interface here, because
2123                         we need the supplicant interface at times when the device may not
2124                         be "up"
2125                 - (real_take_down): just remove the periodic source
2126                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2127                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2128                         do anything if there's no supplicant interface
2129                 - (cleanup_association_attempt): cleanup
2130                 - (supplicant_iface_state_cb_handler): request an immediate scan when
2131                         the interface enters the READY state; transition to UNAVAILABLE
2132                         state when the interface goes down because the device can't be used
2133                         without a supplicant interface
2134                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2135                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
2136                         acquire the supplicant interface and transition to DISCONNECTED
2137                         if the radio isn't killed
2138                 - (nm_device_wifi_dispose): move most of device_cleanup() here
2139                 - (state_changed_cb): release any existing supplicant interface; if the
2140                         radio is enabled then try to acquire a new supplicant interface;
2141                         if the radio is enabled and a supplicant interface has been acquired,
2142                         we can transition to DISCONNECTED
2143                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2144                         don't enable the radio, because HAL probably lied to us about the
2145                         killswitch being off.  If bringing the hardware up worked, then
2146                         try to grab a supplicant interface, and if that was successful,
2147                         transition to DISCONNECTED
2148
2149 2008-06-30  Dan Williams  <dcbw@redhat.com>
2150
2151         * src/supplicant-manager/nm-supplicant-interface.c
2152                 - (request_scan_results, nm_supplicant_interface_dispose,
2153                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2154                         the id of the timeout, not a GSource
2155
2156 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2157
2158         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
2159         bunch of typoes introduced by "Patch from David Cantrell 
2160         <dcantrell@redhat.com> and me".
2161
2162 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2163
2164         * src/nm-serial-device.c: 
2165         * src/nm-gsm-device.c: 
2166         * src/nm-cdma-device.c: Move the pending call handling to a common location
2167         in serial device. Handle setting device state to failed in one place as well.
2168
2169 2008-06-29  Dan Williams <dcbw@redhat.com>
2170
2171         * src/nm-hal-manager.c
2172                 - Rework killswitch handling to query killswitch status immediately
2173                         when the first killswitch is added, so that rfkill state is
2174                         known as early as possible
2175                 - Also treat failure of GetPower() as rfkill when the dbus method
2176                         call times out (but not when the HAL callout returns an error)
2177
2178 2008-06-26  Dan Williams <dcbw@redhat.com>
2179
2180         Patch from David Cantrell <dcantrell@redhat.com> and me
2181
2182         * include/nm-dbus-glib-types.h
2183                 - Add IP6 address types
2184
2185         * libnm-util/Makefile.am
2186           libnm-util/nm-setting-ip6-config.c
2187           libnm-util/nm-setting-ip6-config.h
2188                 - Add IP6 settings object
2189
2190         * libnm-util/nm-connection.c
2191                 - (register_default_settings): register ip6 settings object
2192
2193         * libnm-util/nm-utils.c
2194           libnm-util/nm-utils.h
2195                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2196                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2197                         ip6 address conversion functions
2198         
2199 2008-06-26  Dan Williams <dcbw@redhat.com>
2200
2201         Patch from David Cantrell <dcantrell@redhat.com>
2202         
2203         * Use inet_ntop() and inet_pton() everwhere and check for errors
2204
2205 2008-06-26  Dan Williams <dcbw@redhat.com>
2206
2207         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2208
2209 2008-06-26  Dan Williams <dcbw@redhat.com>
2210
2211         Patch from Adel Gadllah <adel.gadllah@gmail.com>
2212
2213         * src/nm-device-wifi.c
2214                 - (link_timeout_cb): don't ignore disconnects due to scanning
2215                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2216                         a longer timeout when scanning; avoids case where supplicant can't
2217                         find the AP and just keeps scanning forever but isn't connected
2218
2219 2008-06-26  Dan Williams <dcbw@redhat.com>
2220
2221         Patch from Michael Biebl <biebl@debian.org>
2222
2223         * Clean up build system stuff
2224
2225 2008-06-23  Christian Persch  <chpe@gnome.org>
2226
2227         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2228         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2229         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2230         (impl_get_object):
2231         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2232         (impl_get_object):
2233         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2234         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2235         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2236         (impl_get_object):
2237         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2238         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2239         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2240         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2241         * vpn-daemons/pptp/properties/vpnui_opt.c:
2242         (vpnui_opt_connect_signals):
2243         * vpn-daemons/pptp/properties/vpnui_opt.h:
2244         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2245         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2246         deprecated gtk type macros. Bug #539325.
2247
2248 2008-06-20  Dan Williams  <dcbw@redhat.com>
2249
2250         * libnm-glib/nm-vpn-plugin-ui-interface.c
2251           libnm-glib/nm-vpn-plugin-ui-interface.h
2252                 - 'validity-changed' -> 'changed' to work better with the connection
2253                         editor.  Plugin UI widgets should emit 'changed' whenever their
2254                         UI values change in a meaningful way.
2255                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2256                         update_connection member now returns validity of the UI widget
2257
2258 2008-06-20  Tambet Ingo  <tambet@gmail.com>
2259
2260         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2261
2262 2008-06-17  Dan Williams  <dcbw@redhat.com>
2263
2264         * libnm-glib/nm-vpn-plugin-ui-interface.c
2265           libnm-glib/nm-vpn-plugin-ui-interface.h
2266                 - Add "desc" property for longer descriptions of the VPN plugin
2267
2268 2008-06-16  Dan Williams  <dcbw@redhat.com>
2269
2270         * configure.in
2271           libnm-glib/libnm_glib_vpn.pc.in
2272                 - add a .pc file for libnm_glib_vpn
2273
2274         * libnm-glib/nm-vpn-plugin-ui-interface.c
2275           libnm-glib/nm-vpn-plugin-ui-interface.h
2276                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2277                         rework it substantially
2278
2279 2008-06-12  Dan Williams  <dcbw@redhat.com>
2280
2281         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2282         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
2283         returns a descriptive GError when verification fails.
2284
2285 2008-06-11  Dan Williams  <dcbw@redhat.com>
2286
2287         Patch from Tambet Ingo <tambet@gmail.com>
2288
2289         * libnm-util/nm-setting-gsm.c
2290                 - (verify): validate APN
2291
2292         * src/nm-gsm-device.c
2293                 - (manual_registration_done): start setting APN if needed
2294                 - (set_apn, set_apn_done): set the APN
2295                 - (do_dial): use the APN when dialing
2296
2297 2008-06-11  Dan Williams  <dcbw@redhat.com>
2298
2299         * src/NetworkManagerSystem.c
2300                 - (nm_system_device_set_ip4_route,
2301                    nm_system_device_replace_default_ip4_route): check for the right
2302                         return value from rtnl_route_add() to know when to add a gateway
2303                         route (from Tambet)
2304
2305 2008-06-11  Dan Williams  <dcbw@redhat.com>
2306
2307         * src/NetworkManagerPolicy.c
2308                 - do_ipt_cmd -> do_cmd
2309                 - (sharing_init): use do_cmd() instead of system()
2310
2311 2008-06-10  Dan Williams  <dcbw@redhat.com>
2312
2313         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
2314         and use "wifi" everwhere instead.
2315
2316 2008-06-10  Dan Williams  <dcbw@redhat.com>
2317
2318         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
2319
2320 2008-06-10  Dan Williams  <dcbw@redhat.com>
2321
2322         Patch from Tambet Ingo <tambet@gmail.com>
2323
2324         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2325                 changes.
2326
2327         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2328                 a signal to emit these changes over dbus.
2329
2330         * src/Makefile.am: Genereate nm-serial-device-glue.
2331
2332         * libnm-glib/nm-serial-device.[ch]: Implement.
2333
2334         * libnm-glib/nm-cdma-device.[ch]
2335           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2336
2337         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2338
2339         * introspection/nm-device-serial.xml: Implement.
2340
2341         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2342
2343         * introspection/Makefile.am: Add nm-device-serial.xml.
2344
2345         * include/NetworkManager.h: Add a DBus interface for serial device.
2346
2347 2008-06-10  Dan Williams  <dcbw@redhat.com>
2348
2349         * configure.in
2350                 - Add TARGET_* define to config.h to distinguish distros
2351
2352         * src/dhcp-manager/nm-dhcp-manager.c
2353                 - (dhclient_run): use distro-specific path for dhclient config file
2354
2355 2008-06-09  Dan Williams  <dcbw@redhat.com>
2356
2357         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2358           src/dnsmasq-manager/nm-dnsmasq-manager.h
2359                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2360                         calculate the addresses passed to dnsmasq instead of hard-coding
2361                         them
2362
2363         * src/nm-device.c
2364                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2365                         IP addresses for shared connections to guard against shared
2366                         connection address collisions
2367                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2368                         error conditions
2369                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2370                         the dnsmasq manager
2371
2372 2008-06-09  Dan Williams  <dcbw@redhat.com>
2373
2374         * src/NetworkManagerPolicy.c
2375                 - (update_routing_and_dns): set the default connection _after_ unsetting
2376                         default on all non-default connections so that two connections can
2377                         never be default at the same time
2378                 - (device_state_changed): start and stop connection sharing when
2379                         needed
2380                 - (active_connection_default_changed): restart or stop sharing when
2381                         the default connection changes to keep shared connections always
2382                         NAT-ed through the default connection
2383                 - (check_sharing): handle activation/deactivation of shared connections
2384                 - (sharing_restart): atom-bomb approach to connection sharing until we
2385                         can use libnl; reinit all sharing when the default connection or
2386                         shared connections change
2387                 - (sharing_init, sharing_stop): evil functions that init and deinit
2388                         iptables
2389
2390 2008-06-09  Dan Williams  <dcbw@redhat.com>
2391
2392         * src/nm-activation-request.c
2393           src/nm-activation-request.h
2394                 - (nm_act_request_set_shared, nm_act_request_get_shared,
2395                    nm_act_request_get_device): new functions to facilitate connection
2396                         sharing
2397
2398 2008-06-09  Dan Williams  <dcbw@redhat.com>
2399
2400         * src/nm-device.c
2401                 - (clear_act_request): unset the 'default' property of the activation
2402                         request when clearing it to ensure the property changed signal gets
2403                         delivered and handled
2404
2405 2008-06-09  Dan Williams  <dcbw@redhat.com>
2406
2407         * libnm-glib/nm-device-802-11-wireless.c
2408                 - (access_point_removed_proxy): actually unref the AP after removing
2409                         it from the device's AP list.  Fixes refcounting bug for APs that
2410                         caused them to get mixed up in the applet's menu.
2411
2412 2008-06-09  Tambet Ingo  <tambet@gmail.com>
2413
2414         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2415         (nm_dhcp_device_destroy): Destroy the device options hash table.
2416
2417 2008-06-06  Dan Williams <dcbw@redhat.com>
2418
2419         * system-settings/src/nm-polkit-helpers.c
2420                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2421                         unref the context if the initialization fails; also avoid spew when
2422                         the error isn't set
2423
2424 2008-06-06  Dan Williams <dcbw@redhat.com>
2425
2426         Patch from Tambet Ingo  <tambet@gmail.com>
2427
2428         * src/NetworkManagerSystem.c
2429           src/NetworkManagerSystem.h
2430                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2431                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2432                 - (nm_system_device_set_ip4_route): clean up
2433                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2434
2435         * src/nm-device.c
2436                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2437
2438         * src/vpn-manager/nm-vpn-connection.c
2439                 - (ip_address_to_string): new function
2440                 - (print_vpn_config): use ip_address_to_string
2441                 - (merge_vpn_routes): add user-defined routes to the ip4 config
2442                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2443
2444         * include/NetworkManagerVPN.h
2445                 - Add 'routes' key
2446
2447 2008-06-05  Dan Williams <dcbw@redhat.com>
2448
2449         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2450
2451         * test/nm-tool.c
2452                 - Show which device is the default device
2453
2454 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2455
2456         Fix memory leaks.
2457
2458         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2459         Free data returned from dbus method call.
2460
2461         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2462         dbus_g_method_get_sender() returns a duplicated string, free it 
2463         when done.
2464         (check_polkit_privileges): Looks like policykit sometimes returns
2465         error and non-null return value, don't leak errors in that case.
2466
2467         * system-settings/src/main.c (find_plugin): Don't leak existing 
2468         plugin names.
2469         (load_stuff): Don't leak device list and list items.
2470         (have_connection_for_device): Don't leak connection list.
2471
2472         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2473         Free the data received from g_keyfile_get_*.
2474
2475         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2476         the key when the security object is updated.
2477
2478         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2479         Free data returned from dbus method call.
2480         (iface_state_cb): Ditto.
2481         (add_network_cb): Ditto.
2482         (nm_supplicant_interface_add_cb): Don't make another copy of already
2483         duplicated object path.
2484         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2485         when done.
2486
2487         * src/supplicant-manager/nm-supplicant-config.c 
2488         (ADD_STRING_LIST_VAL): Fix a memory leak.
2489
2490         * src/nm-manager.c (free_get_settings_info): Free the allocated
2491         memory slice.
2492         (list_connections_cb): Free data returned from dbus method call.
2493         (system_settings_get_unmanaged_devices_cb): Ditto.
2494
2495         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2496
2497         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2498         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2499         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2500         of the GList.
2501
2502         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2503         arguments after the object is created.
2504
2505 2008-06-04  Dan Williams <dcbw@redhat.com>
2506
2507         * libnm-util/Makefile.am
2508                 - Don't distribute nm-param-spec-specialized.h
2509
2510 2008-06-02  Tambet Ingo  <tambet@gmail.com>
2511
2512         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2513
2514         * src/nm-ip4-config.[ch]: Store the static routes as a list of
2515         NMIP4Address, update the getters and setters.
2516
2517         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2518         Use the updated NMIP4Config routes api.
2519
2520         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2521         static routes as well.
2522
2523         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2524         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2525         routes api.
2526
2527 2008-05-30  Dan Williams <dcbw@redhat.com>
2528
2529         * src/named-manager/nm-named-manager.c
2530           src/named-manager/nm-named-manager.h
2531                 - Remove stale/obsolete bits for controlling bind over DBus
2532
2533 2008-05-29  Dan Williams <dcbw@redhat.com>
2534
2535         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2536           src/dnsmasq-manager/nm-dnsmasq-manager.h
2537                 - (nm_dnsmasq_manager_new): move iface argument here
2538                 - (constructor): remove, not needed
2539                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2540                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2541
2542         * src/nm-device.c
2543                 - (real_act_stage4_get_ip4_config,
2544                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2545                         changes
2546
2547 2008-05-29  Dan Williams <dcbw@redhat.com>
2548
2549         * src/nm-device.c
2550                 - (dnsmasq_state_changed_cb): new function; fail the connection if
2551                         something happens to dnsmasq
2552                 - (nm_device_new_ip4_shared_config): new function; create a new
2553                         ip4-config for shared connections.  Shared connections always use a
2554                         fixed static IP address.
2555                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2556                         autoip connections by actually using the returned ip4-config and
2557                         not leaking it
2558                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2559                         connections
2560                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2561                         if its active
2562
2563 2008-05-29  Dan Williams <dcbw@redhat.com>
2564
2565         * src/nm-device-802-11-wireless.c
2566                 - (real_get_best_auto_connection): auto-activate 'shared' method
2567                         connections too
2568
2569 2008-05-29  Dan Williams <dcbw@redhat.com>
2570
2571         * libnm-util/nm-setting-ip4-config.c
2572           libnm-util/nm-setting-ip4-config.h
2573                 - Add a 'shared' method to indicate that this connection should be
2574                         brought up with a DHCP and proxy DNS server to facilitate
2575                         connection sharing.
2576                 - (verify): 'shared' method doesn't allow DNS or searches either
2577
2578 2008-05-29  Dan Williams <dcbw@redhat.com>
2579
2580         * configure.in
2581           src/Makefile.am
2582           src/dnsmasq-manager/Makefile.am
2583           src/dnsmasq-manager/nm-dnsmasq-manager.c
2584           src/dnsmasq-manager/nm-dnsmasq-manager.h
2585                 - Add a dnsmasq daemon manager to facilitate connection sharing
2586
2587 2008-05-29  Dan Williams <dcbw@redhat.com>
2588
2589         * src/nm-device-private.h
2590                 - Remove unused prototypes and clean up
2591
2592         * src/nm-device.c
2593                 - Remove anything related to system_config_data, which is no longer used
2594                 - (nm_device_new_ip4_autoip_config): make static
2595
2596 2008-05-29  Tambet Ingo  <tambet@gmail.com>
2597
2598         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2599         (file_changed): Fix a bug where suse system settings plugin didn't
2600         update the connections automatically when the files changed.
2601
2602 2008-05-28  Dan Williams  <dcbw@redhat.com>
2603
2604         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2605
2606 2008-05-28  Dan Williams  <dcbw@redhat.com>
2607
2608         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2609
2610         * src/NetworkManagerSystem.c
2611                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2612                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2613                         was causing -EINVAL errors since the libnl code actually does flush
2614                         the routes on VPN interfaces now
2615
2616         * src/backends/NetworkManagerArch.c
2617           src/backends/NetworkManagerDebian.c
2618           src/backends/NetworkManagerFrugalware.c
2619           src/backends/NetworkManagerGeneric.c
2620           src/backends/NetworkManagerGentoo.c
2621           src/backends/NetworkManagerMandriva.c
2622           src/backends/NetworkManagerPaldo.c
2623           src/backends/NetworkManagerRedHat.c
2624           src/backends/NetworkManagerSlackware.c
2625           src/backends/NetworkManagerSuSE.c
2626                 - (nm_system_device_flush_ip4_routes,
2627                    nm_system_device_flush_ip4_routes_with_iface): remove
2628
2629 2008-05-28  Dan Williams  <dcbw@redhat.com>
2630
2631         * libnm-util/nm-setting-wireless.c
2632           libnm-util/nm-setting-wireless.h
2633                 - (set_property, get_property, nm_setting_wireless_class_init): add the
2634                         'adhoc-create' property, which when TRUE indicates that NM should
2635                         create this connection as an adhoc wifi network if it's not found
2636                         as an adhoc network during scanning.  Can be used to auto-create
2637                         adhoc networks when used in combination with autoconnect.
2638
2639 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2640
2641         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2642
2643         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2644         checked, it doesn't work on some devices.
2645
2646 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2647
2648         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
2649         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2650
2651         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2652         Use inet_aton() everywhere to improve error detection.
2653         Don't fall back to 'dhcp_server_identifier' if the gateway is not
2654         provided.
2655
2656 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2657
2658         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2659         Fix a typo.
2660
2661 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2662
2663         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2664         reference counting issue.
2665
2666 2008-05-23  Dan Williams  <dcbw@redhat.com>
2667
2668         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2669
2670         * src/backends/NetworkManagerGeneric.c
2671                 - (nm_generic_enable_loopback): use libnl
2672
2673 2008-05-23  Dan Williams  <dcbw@redhat.com>
2674
2675         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2676
2677         * src/NetworkManagerSystem.h
2678           src/backends/NetworkManagerArch.c
2679           src/backends/NetworkManagerDebian.c
2680           src/backends/NetworkManagerFrugalware.c
2681           src/backends/NetworkManagerGentoo.c
2682           src/backends/NetworkManagerMandriva.c
2683           src/backends/NetworkManagerPaldo.c
2684           src/backends/NetworkManagerRedHat.c
2685           src/backends/NetworkManagerSlackware.c
2686           src/backends/NetworkManagerSuSE.c
2687                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2688                    nm_system_flush_arp_cache): remove, unused
2689
2690         * src/backends/NetworkManagerGeneric.c
2691           src/backends/NetworkManagerGeneric.h
2692                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2693                    nm_generic_flush_arp_cache): remove, unused
2694
2695 2008-05-23  Dan Williams  <dcbw@redhat.com>
2696
2697         * system-settings/plugins/ifcfg-fedora/reader.c
2698                 - (make_ip4_setting): honor PEERDNS setting
2699
2700 2008-05-23  Dan Williams  <dcbw@redhat.com>
2701
2702         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2703
2704         * src/NetworkManagerSystem.c
2705                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2706                         libnl
2707
2708         * src/backends/NetworkManagerArch.c
2709           src/backends/NetworkManagerDebian.c
2710           src/backends/NetworkManagerFrugalware.c
2711           src/backends/NetworkManagerGentoo.c
2712           src/backends/NetworkManagerMandriva.c
2713           src/backends/NetworkManagerPaldo.c
2714           src/backends/NetworkManagerRedHat.c
2715           src/backends/NetworkManagerSlackware.c
2716           src/backends/NetworkManagerSuSE.c
2717                 - (nm_system_device_flush_ip4_addresses,
2718                    nm_system_device_flush_ip4_addresses_with_iface): remove
2719
2720         * src/backends/NetworkManagerGeneric.c
2721                 - (nm_generic_device_flush_ip4_addresses,
2722                    nm_generic_device_flush_ip4_addresses_with_iface): remove
2723
2724 2008-05-23  Dan Williams  <dcbw@redhat.com>
2725
2726         * src/supplicant-manager/nm-supplicant-settings-verify.c
2727                 - Switch 'bssid' from bytes to keyword type
2728                 - (validate_type_keyword): allow NULL keyword lists
2729
2730         * src/supplicant-manager/nm-supplicant-config.c
2731                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2732                         a byte array to string form, which is what the supplicant expects
2733
2734 2008-05-23  Tambet Ingo  <tambet@gmail.com>
2735
2736         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2737         information received from DHCP.
2738
2739         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2740         to make it possible to ignore the DNS information (both servers and 
2741         searches) returned by DHCP server.
2742
2743         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2744         name servers and searches if "ignore_dhcp_dns" is set.
2745
2746         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2747         (nm_ip4_config_reset_searches): Implement.
2748
2749 2008-05-22  Dan Williams  <dcbw@redhat.com>
2750
2751         Remove anything mDNS related.  This is better done from a distro-specific
2752         dispatcher script.  Plus, any distro using avahi doesn't need to restart
2753         avahi, since avahi can handle interface changes just fine using netlink.
2754
2755         * configure.in
2756                 - Remove --with-mdns-provider
2757
2758         * src/NetworkManagerPolicy.c
2759                 - (global_state_changed): don't restart the mdns provider
2760
2761         * src/NetworkManagerSystem.h
2762           src/backends/NetworkManagerArch.c
2763           src/backends/NetworkManagerDebian.c
2764           src/backends/NetworkManagerFrugalware.c
2765           src/backends/NetworkManagerGentoo.c
2766           src/backends/NetworkManagerMandriva.c
2767           src/backends/NetworkManagerPaldo.c
2768           src/backends/NetworkManagerRedHat.c
2769           src/backends/NetworkManagerSlackware.c
2770           src/backends/NetworkManagerSuSE.c
2771                 - (nm_system_restart_mdns_responder): remove
2772
2773         * src/backends/NetworkManagerGeneric.c
2774           src/backends/NetworkManagerGeneric.h
2775                 - (nm_generic_restart_mdns_responder): remove
2776
2777 2008-05-22  Dan Williams  <dcbw@redhat.com>
2778
2779         * configure.in
2780                 - clean up crypto options; just use --with-crypto=nss or
2781                         --with-crypto=gnutls
2782
2783 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2784
2785         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2786         anymore, do it right away.
2787
2788 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2789
2790         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2791         serial device open when we're not connecting or connected.
2792
2793         * src/nm-cdma-device.c (device_state_changed): Ditto.
2794
2795 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2796
2797         Don't remove all devices on waking up, sync with HAL.
2798
2799         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2800         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2801         (hal_manager_hal_reappeared_cb): Just call sync_devices.
2802
2803 2008-05-21  Tambet Ingo  <tambet@gmail.com>
2804
2805         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2806         If the default gateway is unreachable, add a route to gateway and try
2807         again.
2808
2809 2008-05-20  Dan Williams  <dcbw@redhat.com>
2810
2811         * system-settings/plugins/ifcfg-fedora/reader.c
2812                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2813
2814 2008-05-19  Dan Williams  <dcbw@redhat.com>
2815
2816         * system-settings/plugins/ifcfg-fedora/reader.c
2817                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2818                         if the ifcfg doesn't specify one (rh #446527)
2819
2820 2008-05-19  Dan Williams  <dcbw@redhat.com>
2821
2822         Make the system settings service exit when the bus goes away.  Since it's
2823         a bus-activated service, it's lifetime is limited to the bus that activated
2824         it (rh #444976).
2825
2826         * system-settings/src/Makefile.am
2827           system-settings/src/nm-system-config-hal-manager-private.h
2828                 - Remove nm-system-config-hal-manager-private.h
2829
2830         * system-settings/src/nm-system-config-hal-manager.c
2831                 - (nm_system_config_hal_manager_reinit_dbus,
2832                    nm_system_config_hal_manager_deinit_dbus): remove
2833
2834         * system-settings/src/main.c
2835                 - (dbus_reconnect): remove
2836                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2837                 - (destroy_cb): just quit when the bus goes away
2838                 - (start_dbus_service, dbus_init): simplify
2839                 - (main): destroy the wired devices hash table after destroying
2840                         the HAL manager so we don't have to disconnect signals from the
2841                         HAL manager
2842
2843 2008-05-15  Tambet Ingo  <tambet@gmail.com>
2844
2845         Move crypto functions from nm-applet to libnm-util.
2846
2847         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2848         (nm_setting_802_1x_set_client_cert)
2849         (nm_setting_802_1x_set_phase2_ca_cert)
2850         (nm_setting_802_1x_set_phase2_client_cert)
2851         (nm_setting_802_1x_set_private_key)
2852         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2853         file (or private key and it's password), read the certificate data.
2854
2855         * libnm-util/crypto_nss.c: 
2856         * libnm-util/crypto_gnutls.c: 
2857         * libnm-util/crypto.[ch]: Move here from nm-applet.
2858
2859         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2860
2861         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2862         Imlement WPA-EAP configuration reading from sysconfig.
2863
2864 2008-05-16  Dan Williams  <dcbw@redhat.com>
2865
2866         * src/nm-device-802-11-wireless.c
2867                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2868                         wireless
2869
2870 2008-05-14  Dan Williams  <dcbw@redhat.com>
2871
2872         Fix Linus' bug in rh #134886
2873
2874         * src/nm-device-802-3-ethernet.c
2875                 - (constructor): request initial carrier state
2876
2877         * src/nm-netlink-monitor.c
2878                 - (nm_netlink_monitor_request_status): schedule emission of carrier
2879                         signals after refilling the link cache.  Because the refill is a 
2880                         synchronous operation, the normal message hander won't get called
2881                         since libnl has already consumed the messages.
2882                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
2883
2884 2008-05-14  Dan Williams  <dcbw@redhat.com>
2885
2886         * src/NetworkManagerSystem.c
2887                 - (nm_system_device_is_up_with_iface): clean up
2888
2889 2008-05-13  Dan Williams  <dcbw@redhat.com>
2890
2891         Fix refcounting issues over sleep/wake when a VPN connection was active that
2892         caused NM to try registering an object path for a device upon wake that was
2893         the same as an already registered object path.
2894
2895         * src/nm-device.c
2896                 - (nm_device_take_down): properly handle cases where the device is
2897                         no longer active but was just active, and therefore must be
2898                         deactivated.  When a device moves to unmanaged mode, this function
2899                         previously would not deactivate the device, because the state was
2900                         already unmanaged by the time this function was called.
2901
2902         * src/vpn-manager/nm-vpn-connection.c
2903                 - (device_state_changed): properly handle multiple devices states in
2904                         which the device is now deactivated.  Code previously didn't handle
2905                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
2906                         UNMANAGED states.
2907
2908 2008-05-13  Dan Williams  <dcbw@redhat.com>
2909
2910         * src/nm-device-private.h
2911           src/nm-device.c
2912                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
2913
2914         * src/nm-device-802-11-wireless.c
2915                 - (nm_device_802_11_wireless_set_enabled): take devices up
2916                         and down as appropriate for the rfkill state
2917
2918 2008-05-13  Dan Williams  <dcbw@redhat.com>
2919
2920         * marshallers/nm-marshal.list
2921                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
2922
2923         * system-settings/plugins/ifcfg-fedora/Makefile.am
2924           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
2925           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
2926                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
2927                         events.  Solely for use watching ifcfg files to pick up changes
2928                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
2929
2930         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2931                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
2932                         file contents change
2933                 - (finalize): clean up inotify watches
2934                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
2935                         and the connection ifcfg for changes on their hardlinks
2936                 - (files_changed_cb): proxy the changed signal back out to listeners
2937
2938         * system-settings/plugins/ifcfg-fedora/plugin.c
2939                 - (dir_changed): 
2940                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
2941                         changes
2942                 - (read_one_connection): connect to change signals on the new connection
2943                 - (dir_changed, connection_changed_handler,
2944                    handle_connection_remove_or_new): break out connection change
2945                         handling and connection new/remove handling so it can be used from
2946                         both the GFileMonitor callback and the NMIfcfgConnection changed
2947                         signals
2948
2949         * system-settings/plugins/ifcfg-fedora/reader.c
2950           system-settings/plugins/ifcfg-fedora/reader.h
2951                 - (connection_from_file): return the keyfile path the connection would use
2952
2953 2008-05-13  Tambet Ingo  <tambet@gmail.com>
2954
2955         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
2956         single PolKitContext which is shared by all. PolKitContext::unref leaks
2957         just about everything, including all open file descriptiors and results
2958         in 99% cpu usage when data arrives to any of the fds that don't belong
2959         to any context anymore.
2960
2961 2008-05-12  Dan Williams  <dcbw@redhat.com>
2962
2963         * gfilemonitor/glocaldirectorymonitor.c
2964           gfilemonitor/glocaldirectorymonitor.h
2965                 - (g_local_directory_monitor_constructor): actually subscribe to the
2966                         watch
2967                 - (_g_local_directory_monitor_new): ensure that inotify is started up
2968
2969         * gfilemonitor/glocalfilemonitor.c
2970           gfilemonitor/glocalfilemonitor.h
2971                 - (g_local_file_monitor_constructor): actually subscribe to the watch
2972                 - (_g_local_file_monitor_new): ensure that inotify is started up
2973
2974 2008-05-11  Dan Williams  <dcbw@redhat.com>
2975
2976         * configure.in
2977                 - record PolicyKit version
2978
2979         * system-settings/src/nm-polkit-helpers.c
2980                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
2981                         with PolicyKit <= 0.6
2982
2983 2008-05-11  Dan Williams  <dcbw@redhat.com>
2984
2985         Update Fedora system-settings plugin to support latest API and use
2986         GFileMonitor rather than home-rolled inotify code.
2987
2988         * system-settings/plugins/ifcfg-fedora/Makefile.am
2989           system-settings/plugins/ifcfg-fedora/common.h
2990           system-settings/plugins/ifcfg-fedora/plugin.c
2991                 - Update to latest system settings plugin API; use GIO instead of
2992                         custom inotify code; use NMIfcfgConnection objects instead of
2993                         ConnectionData structures tacked onto NMConnection objects
2994
2995         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2996           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
2997                 - Implement an NMExportedConnection subclass mapping ifcfg files to
2998                         connections
2999
3000         * system-settings/plugins/ifcfg-fedora/reader.c
3001           system-settings/plugins/ifcfg-fedora/reader.h
3002                 - Move ifcfg parsing bits here from parser.c
3003
3004         * system-settings/plugins/ifcfg-fedora/parser.c
3005           system-settings/plugins/ifcfg-fedora/parser.h
3006                 - Remove; most code moved to reader.c
3007
3008 2008-05-11  Dan Williams  <dcbw@redhat.com>
3009
3010         * configure.in
3011           Makefile.am
3012           gfilemonitor/*
3013                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3014                         implementation, so that the same change monitoring code can be used
3015                         on systems without glib-2.14 (like Fedora 8)
3016
3017         * system-settings/plugins/keyfile/Makefile.am
3018           system-settings/plugins/keyfile/plugin.c
3019           system-settings/plugins/ifcfg-suse/Makefile.am
3020           system-settings/plugins/ifcfg-suse/plugin.c
3021                 - Use private gfilemonitor code if GIO is not present
3022
3023 2008-05-09  Tambet Ingo  <tambet@gmail.com>
3024
3025         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3026         NMExportedConnection's 'update' and 'delete' and return error with
3027         descriptive message.
3028
3029 2008-05-08  Dan Williams  <dcbw@redhat.com>
3030
3031         Patch from Markus Becker <mab@comnets.uni-bremen.de>
3032
3033         * src/nm-gsm-device.c
3034           src/nm-cdma-device.c
3035                 - (real_get_best_auto_connection): implement; allow autoconnection
3036                         to GSM & CDMA devices
3037
3038 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3039
3040         Use PolicyKit to authorize the system settings' AddConnection method
3041         and the system settings connections' Update and Delete methods.
3042         
3043         * libnm-glib/nm-settings.c (impl_exported_connection_update)
3044         (impl_exported_connection_delete, nm_exported_connection_update)
3045         (nm_exported_connection_delete): Return boolean and fill GError
3046         to notify the callers of the reasons why it might have failed.
3047
3048         * libnm-glib/nm-dbus-settings-system.c
3049         (nm_dbus_settings_system_add_connection): Return the error from dbus
3050         call so that the callers can see why it failed.
3051
3052         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
3053         signatures.
3054
3055         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3056
3057         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3058         abstract base class that checks PolicyKit permissions.
3059
3060         * system-settings/src/dbus-settings.c:
3061         (impl_settings_add_connection): Check the policy before carring out
3062         the request.
3063
3064         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3065         Inherit from NMSysconfigConnection, check the policies before
3066         allowing updating or removing.
3067
3068         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3069         Inherit from NMSysconfigConnection.
3070
3071         * introspection/nm-exported-connection.xml: Annotate "Update" and 
3072         "Delete" methods with async flag so that the implementations can get
3073         access to DBusGMethodInvocation.
3074
3075         * system-settings/src/dbus-settings.c 
3076         (settings_add_connection_check_privileges): Implement.
3077         (impl_settings_add_connection): Check the privileges before adding a new
3078         connection. Improve error reporting.
3079
3080         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3081         async so that the implementation can access DBusGMethodInvocation.
3082
3083         * configure.in: Check for PolicyKit.
3084
3085         * policy/org.freedesktop.network-manager-settings.system.policy: 
3086         New file.
3087
3088         * policy/Makefile.am: Install the policy file.
3089
3090         * configure.in: Add 'policy' subdir.
3091
3092 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3093
3094         Rewrite the suse system settings plugin.
3095
3096         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3097
3098         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3099
3100         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3101
3102         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3103
3104         * system-settings/src/dbus-settings.c: Fix connection reference counting.
3105
3106         * system-settings/src/main.c (load_plugins): Improve error reporting.
3107
3108         * system-settings/src/sha1.[ch] Add.
3109
3110         * system-settings/src/Makefile.am: Add sha1[ch] to build.
3111
3112 2008-05-07  Dan Williams  <dcbw@redhat.com>
3113
3114         * system-settings/plugins/keyfile/reader.c
3115                 - (read_one_setting_value): handle IP address items separately
3116                 - (read_array_of_uint): read IPv4 DNS option as a string array
3117                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3118                         array
3119
3120         * system-settings/plugins/keyfile/writer.c
3121                 - (write_setting_value): handle IP address items separately
3122                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3123                         not an array of uint, so that it's user-editable
3124                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3125                         arrays, so they are user-editable
3126
3127 2008-05-07  Dan Williams  <dcbw@redhat.com>
3128
3129         * system-settings/plugins/keyfile/Makefile.am
3130                 - Change location of the keyfile plugin settings to
3131                         /etc/NetworkManager/system-connections
3132
3133 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3134
3135         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3136
3137         * system-settings/plugins/keyfile/plugin.c: Work with
3138         NMKeyfileConnections.
3139
3140         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3141         Plugins are supposed to return NMExportedConnections now and handle the
3142         updated(), removed(), and GetSecrets().
3143         Store the internal list of connections in hash table to make it easier
3144         to find duplicates.
3145
3146 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3147
3148         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3149         for multiple IP addresses.
3150
3151 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3152
3153         Patch from André Lemos.
3154
3155         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3156         corruption.
3157
3158 2008-05-06  Dan Williams  <dcbw@redhat.com>
3159
3160         * src/dhcp-manager/nm-dhcp-manager.c
3161                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3162                         NMIP4Config to support multiple IP addresses
3163
3164         * src/NetworkManagerUtils.c
3165                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3166
3167         * src/nm-ip4-config.c
3168           src/nm-ip4-config.h
3169                 - Store a list of IPv4 address/netmask/gateway tuples
3170                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3171                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3172                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3173                    nm_ip4_config_set_address): remove
3174                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3175                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3176                         new functions; handle multiple IPv4 addresses
3177
3178         * src/nm-device.c
3179           src/ppp-manager/nm-ppp-manager.c
3180           src/vpn-manager/nm-vpn-connection.c
3181           src/NetworkManagerPolicy.c
3182           test/nm-tool.c
3183           libnm-glib/libnm-glib-test.c
3184                 - update for changes to NMIP4Config for multiple IPv4 addresses
3185
3186         * src/NetworkManagerSystem.c
3187                 - (nm_system_device_set_ip4_route): don't add the route if any address
3188                         is on the same subnet as the destination
3189                 - (check_one_address): ignore the exact match, just match family and
3190                         interface index
3191                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3192                         an interface
3193                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3194                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3195
3196         * introspection/nm-ip4-config.xml
3197                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3198                 - Add 'addresses' property which is an array of (uuu) tuples of
3199                         address/netmask/gateway
3200
3201         * libnm-util/nm-setting-ip4-config.c
3202                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3203
3204         * libnm-glib/nm-ip4-config.c
3205           libnm-glib/nm-ip4-config.h
3206                 - Handle D-Bus interface changes to support multiple IP addresses
3207
3208 2008-05-06  Dan Williams  <dcbw@redhat.com>
3209
3210         * libnm-util/nm-utils.c
3211           libnm-util/nm-utils.h
3212                 - (nm_utils_ip4_addresses_from_gvalue,
3213                    nm_utils_ip4_addresses_to_gvalue): new functions
3214
3215 2008-05-06  Tambet Ingo  <tambet@gmail.com>
3216
3217         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3218         the returned connection paths.
3219
3220 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3221
3222         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
3223         "PropertiesChanged" signal signature.
3224
3225         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3226         defined in nm-dbus-glib-types.h.
3227         Don't register the connection on dbus, we're a proxy class to 
3228         communicate with an already registered connection over dbus.
3229
3230 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3231
3232         Implement new subclasses of NMSettings and NMExportedConnection to make
3233         it easier for the applet to access and modify system settings.
3234
3235         * libnm-glib/nm-dbus-connection.[ch]:
3236         * libnm-glib/nm-dbus-settings.[ch]:
3237         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3238
3239         * libnm-glib/Makefile.am: Add the new files to build, generate some more
3240         bindings and glue.
3241
3242         * include/NetworkManager.h: Define the system settings DBus interface.
3243
3244 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3245
3246         Implement additional C API for exported connections to make them identical
3247         with the DBus API. Change the (list_connections) virtual function to be
3248         more usable from C - instead of requiring implementers to return a GPtrArray
3249         of dbus paths, return a list of connections.
3250
3251         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3252         (nm_settings_list_connections):
3253         (nm_exported_connection_new):
3254         (nm_exported_connection_update):
3255         (nm_exported_connection_delete): Implement.
3256
3257         (impl_settings_list_connections):
3258         (impl_exported_connection_update):
3259         (impl_exported_connection_delete): Use the new public functions to make 
3260         sure the C and dbus interfaces stay in sync.
3261
3262         * system-settings/src/dbus-settings.c (list_connections): Return a list of
3263         connections.
3264
3265 2008-05-02  Dan Williams  <dcbw@redhat.com>
3266
3267         * system-settings/plugins/ifcfg-fedora/plugin.c
3268                 - (dispose): use right unref call on the DBusGConnection
3269
3270 2008-05-02  Dan Williams  <dcbw@redhat.com>
3271
3272         * src/nm-serial-device.c
3273                 - (find_terminator): don't compare the whole line, just the size of the
3274                         terminator, since some modems put stuff after the terminator, like
3275                         "CONNECT 9600"
3276
3277 2008-05-01  Dan Williams  <dcbw@redhat.com>
3278
3279         Patch from Michael Biebl <biebl@debian.org>
3280
3281         * callouts/Makefile.am
3282           callouts/org.freedesktop.nm_dispatcher.service.in
3283           system-settings/src/Makefile.am
3284           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3285                 - use the right install location for dbus-activated stuff
3286
3287 2008-04-30  Dan Williams  <dcbw@redhat.com>
3288
3289         * src/nm-gsm-device.c
3290                 - (enter_pin): fix setting name passed to applets when asking for a GSM
3291                         PIN or PUK
3292
3293 2008-04-30  Dan Williams  <dcbw@redhat.com>
3294
3295         * src/nm-manager.c
3296                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3297
3298 2008-04-30  Dan Williams  <dcbw@redhat.com>
3299
3300         * src/nm-device-802-3-ethernet.c
3301           src/nm-device-802-11-wireless.c
3302                 - (real_is_up): return true instead of chaining up to unimplemented
3303                         parent method
3304
3305 2008-04-30  Dan Williams  <dcbw@redhat.com>
3306
3307         * src/NetworkManagerSystem.c
3308           src/NetworkManagerSystem.h
3309                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3310                         functions to check device flags for IFF_UP
3311
3312         * src/nm-serial-device.c
3313                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3314                         implement is_up
3315
3316         * src/nm-device-802-3-ethernet.c
3317           src/nm-device-802-11-wireless.c
3318                 - (real_hw_is_up): call nm_system_device_is_up()
3319
3320         * src/nm-device.c
3321                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3322                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3323                         does not implement
3324
3325 2008-04-29  Dan Williams  <dcbw@redhat.com>
3326
3327         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3328
3329         * marshallers/nm-marshal.list
3330                 - Add marshaller
3331
3332         * src/NetworkManager.c
3333                 - (main): let the NMManager handle the NMHalManager
3334
3335         * src/nm-hal-manager.c
3336           src/nm-hal-manager.h
3337                 - convert to a GObject, and emit singals when stuff changes.  Let the
3338                         NMManager handle the signals, instead of the NMHalManager calling
3339                         into the NMManager.  
3340
3341         * src/nm-manager.c
3342           src/nm-manager.h
3343                 - (remove_one_device): consolidate device removals here
3344                 - (dispose): use remove_one_device()
3345                 - (nm_manager_get_device_by_udi): make static
3346                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3347                         manager for devices at startup or wakeup time
3348                 - (nm_manager_new): create and monitor the HAL manager
3349                 - (hal_manager_udi_added_cb): new function; do what
3350                         nm_manager_add_device() used to do when signalled by the hal manager
3351                 - (hal_manager_udi_removed_cb): new function; do what
3352                         nm_manager_remove_device() used to do when signalled by the hal
3353                         manager
3354                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3355                         hal manager
3356                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3357                         in our device list that aren't known to HAL
3358                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3359                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3360                         commits ago
3361                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3362                    nm_manager_activation_pending, nm_manager_wireless_enabled,
3363                    nm_manager_wireless_hardware_enabled,
3364                    nm_manager_set_wireless_hardware_enabled): remove, unused
3365
3366 2008-04-28  Dan Williams  <dcbw@redhat.com>
3367
3368         Fix the device up/down ambiguities.  Up/down state used to be a
3369         conglomeration of hardware state (IFF_UP) and any device-specific things
3370         (supplicant, periodic timers, etc) that the device used to indicate
3371         readiness.  Unfortunately, if the hardware was already IFF_UP for some
3372         reason, then the device specific stuff wouldn't get run, and the device
3373         would be stuck.
3374
3375         * src/nm-device.c
3376           src/nm-device.h
3377                 - Create hw_is_up, hw_bring_up, and hw_take_down
3378                 - Rename bring_down -> take_down
3379                 - (real_hw_is_up): check interface flags for IFF_UP
3380                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3381                 - (nm_device_is_up): make static; only used locally
3382                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3383                         if the device is already up; if the device isn't up, bring it up
3384                 - (nm_device_hw_take_down): just take down hardware
3385                 - (nm_device_bring_up): bring up HW first, then device specific stuff
3386                 - (nm_device_take_down): always deactivate device when called; always
3387                         try to take hardware down too
3388                 - (nm_device_state_changed): take device down when entering unmanaged
3389                         state from a higher state
3390
3391         * src/nm-device-802-11-wireless.c
3392                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3393                         check IFF_UP really
3394                 - (real_take_down, supplicant_iface_state_cb_handler, 
3395                    supplicant_iface_connection_state_cb_handler,
3396                    supplicant_mgr_state_cb_handler): fix some messages
3397
3398         * src/nm-device-802-3-ethernet.c
3399                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3400                         check IFF_UP really
3401
3402 2008-04-28  Dan Williams  <dcbw@redhat.com>
3403
3404         * src/nm-manager.c
3405           src/nm-manager.h
3406                 - (nm_manager_error_get_type): add new error
3407                 - (nm_manager_remove_device): don't bother taking down the device here,
3408                         the state change from unmanaging the device will do it
3409                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3410                         uses it; when going to sleep, just unmanage the device instead of
3411                         taking it down, because stuff will cleaned up correctly when the
3412                         device gets unmanaged
3413
3414 2008-04-28  Dan Williams  <dcbw@redhat.com>
3415
3416         * src/nm-hal-manager.c
3417                 - (add_initial_devices): convert to a GSourceFunc prototype
3418                 - (nm_manager_state_changed): when coming out of sleep, punt the
3419                         device re-addition to an idle handler to let D-Bus events go out
3420                         first, fixing a potential dbus-glib assert if the old device was
3421                         not yet disposed (due to references held while emitting the D-Bus
3422                         signals) but the new device was found, because the mainloop didn't
3423                         run between signal emission and add_initial_devices()
3424
3425 2008-04-27  Dan Williams  <dcbw@redhat.com>
3426
3427         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3428
3429         * initscript/paldo/NetworkManager.in
3430           initscript/SUSE/networkmanager.in
3431                 - Remove last bits of dhcdbd
3432
3433 2008-04-27  Dan Williams  <dcbw@redhat.com>
3434
3435         * src/nm-device-802-11-wireless.c
3436                 - (link_timeout_cb): don't ask for secrets when disconnected during
3437                         association/authentication phase, drivers are still just too crappy
3438
3439 2008-04-27  Dan Williams  <dcbw@redhat.com>
3440
3441         * Makefile.am
3442           configure.in
3443           dispatcher-daemon/Makefile.am
3444           dispatcher-daemon/NetworkManagerDispatcher.c
3445           initscript/Arch/Makefile.am
3446           initscript/Arch/networkmanager-dispatcher.in
3447           initscript/Gentoo/Makefile.am
3448           initscript/Gentoo/NetworkManagerDispatcher.in
3449           initscript/Mandriva/Makefile.am
3450           initscript/Mandriva/networkmanagerdispatcher.in
3451           initscript/RedHat/Makefile.am
3452           initscript/RedHat/NetworkManagerDispatcher.in
3453           initscript/SUSE/Makefile.am
3454           initscript/SUSE/networkmanager-dispatcher.in
3455           initscript/Slackware/Makefile.am
3456           initscript/Slackware/rc.networkmanager-dispatcher.in
3457           initscript/paldo/Makefile.am
3458           initscript/paldo/NetworkManagerDispatcher.in
3459           man/Makefile.am
3460           man/NetworkManagerDispatcher.8.in
3461                 - Remove the dispatcher daemon
3462
3463 2008-04-27  Dan Williams  <dcbw@redhat.com>
3464
3465         * callouts/Makefile.am
3466           callouts/nm-dispatcher-action.c
3467           callouts/nm-dispatcher-action.h
3468           callouts/nm-dispatcher.conf
3469           callouts/nm-dispatcher.xml
3470           callouts/org.freedesktop.nm_dispatcher.service
3471                 - Re-implement the dispatcher as a system-bus activated service that
3472                         NM calls on-demand, rather than an always running daemon
3473
3474         * src/Makefile.am
3475                 - Add callouts dir to includes to pick up dispatcher defines
3476
3477         * src/nm-device.c
3478                 - (nm_device_state_changed): call dispatcher on device activated/
3479                         deactivated
3480
3481         * src/vpn-manager/nm-vpn-connection.c
3482                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3483                         go up and down
3484
3485         * src/NetworkManagerUtils.c
3486           src/NetworkManagerUtils.h
3487                 - (nm_utils_call_dispatcher): helper to call dispatcher
3488
3489 2008-04-27  Dan Williams  <dcbw@redhat.com>
3490
3491         * src/NetworkManagerUtils.c
3492           src/NetworkManagerUtils.h
3493                 - remove unneeded includes
3494                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3495                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3496                    nm_timeval_cmp, nm_timeval_add): remove, unused
3497                 - clean up formatting
3498                 - (nm_spawn_process): de-uglify
3499
3500         * src/nm-device-802-11-wireless.c
3501                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3502
3503 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
3504
3505         * initscript/Gentoo/NetworkManager.in:
3506                 Fix for starting the daemon.
3507
3508 2008-04-25  Dan Williams  <dcbw@redhat.com>
3509
3510         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3511
3512         * src/NetworkManagerSystem.c
3513                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3514
3515 2008-04-25  Dan Williams  <dcbw@redhat.com>
3516
3517         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3518
3519         * src/NetworkManagerSystem.c
3520                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3521                         implementation of nm_system_device_replace_default_route()
3522
3523         * src/NetworkManagerPolicy.c
3524                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3525
3526         * src/backends/NetworkManagerArch.c
3527           src/backends/NetworkManagerDebian.c
3528           src/backends/NetworkManagerFrugalware.c
3529           src/backends/NetworkManagerGeneric.c
3530           src/backends/NetworkManagerGeneric.h
3531           src/backends/NetworkManagerGentoo.c
3532           src/backends/NetworkManagerMandriva.c
3533           src/backends/NetworkManagerPaldo.c
3534           src/backends/NetworkManagerRedHat.c
3535           src/backends/NetworkManagerSlackware.c
3536           src/backends/NetworkManagerSuSE.c
3537                 - (nm_system_device_replace_default_route): remove
3538
3539 2008-04-25  Dan Williams  <dcbw@redhat.com>
3540
3541         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3542
3543         * src/NetworkManagerSystem.c
3544                 - (validate_ip4_route): remove; use nl_addr_parse() instead
3545                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3546                         replace nm_system_device_add_route_via_device_with_iface() in the
3547                         backends
3548
3549         * src/backends/NetworkManagerArch.c
3550           src/backends/NetworkManagerDebian.c
3551           src/backends/NetworkManagerFrugalware.c
3552           src/backends/NetworkManagerGeneric.c
3553           src/backends/NetworkManagerGeneric.h
3554           src/backends/NetworkManagerGentoo.c
3555           src/backends/NetworkManagerMandriva.c
3556           src/backends/NetworkManagerPaldo.c
3557           src/backends/NetworkManagerRedHat.c
3558           src/backends/NetworkManagerSlackware.c
3559           src/backends/NetworkManagerSuSE.c
3560                 - Remove nm_system_device_add_route_via_device_with_iface()
3561
3562 2008-04-25  Dan Williams  <dcbw@redhat.com>
3563
3564         * system-settings/plugins/ifcfg-fedora/parser.c
3565                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3566
3567 2008-04-24  Dan Williams  <dcbw@redhat.com>
3568
3569         * dispatcher-daemon/NetworkManagerDispatcher.c
3570                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3571
3572 2008-04-24  Dan Williams  <dcbw@redhat.com>
3573
3574         * initscript/RedHat/NetworkManager.in
3575           initscript/RedHat/NetworkManagerDispatcher.in
3576                 - Be active at runlevel 2
3577                 - Adjust priorities earlier
3578
3579 2008-04-22  Dan Williams  <dcbw@redhat.com>
3580
3581         * src/NetworkManagerPolicy.c
3582                 - (update_routing_and_dns): when checking for a gateway, look at the
3583                         composite IP4 config, not the connection's ip4-config setting, which
3584                         doesn't include DHCP-returned information
3585
3586 2008-04-22  Tambet Ingo  <tambet@gmail.com>
3587
3588         Implement GKeyFile system settings plugin.
3589         Implement writing system settings (currently supported only by GKeyFile plugin).
3590
3591         * system-settings/src/main.c: 
3592         * system-settings/src/dbus-settings.c: Move the communication with plugins
3593         from main.c to dbus-settings.c. Makes it possible to talk to all registered
3594         plugins for adding/updating/removing connections.
3595
3596         * system-settings/src/nm-system-config-interface.c
3597         (nm_system_config_interface_add_connection): Implement
3598         (nm_system_config_interface_update_connection): Implement.
3599         (nm_system_config_interface_remove_connection): Implement.
3600
3601         * system-settings/plugins/keyfile/Makefile.am:
3602         * system-settings/plugins/keyfile/plugin.[ch]:
3603         * system-settings/plugins/keyfile/writer.[ch]:
3604         * system-settings/plugins/keyfile/reader.[ch]: Implement.
3605
3606         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3607
3608         * configure.in: Generate GKeyFile Makefile.
3609
3610         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3611         corruption, need to duplicate the returned string.
3612         (impl_exported_connection_update): Implement.
3613         (impl_exported_connection_delete): Implement.
3614
3615         * introspection/nm-settings-system.xml: Add "AddConnection" method.
3616
3617         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3618
3619 2008-04-22  Dan Williams  <dcbw@redhat.com>
3620
3621         Patch from Charles R. Anderson (cra@wpi.edu)
3622
3623         * src/NetworkManagerPolicy.c
3624                 - (update_routing_and_dns): don't select devices without a gateway
3625                         as having the default route (rh #437338)
3626
3627 2008-04-21  Dan Williams  <dcbw@redhat.com>
3628
3629         * src/nm-activation-request.c
3630           src/nm-activation-request.h
3631                 - (dispose): ensure to disconnect from the device's state-changed signal
3632                         when appropriate so the signal doesn't get handled by an already
3633                         disposed NMActRequest
3634                 - (device_state_changed): update is_default here too just to make sure
3635                         default is only True when the child device is activated
3636                 - (nm_act_request_set_default): new function
3637
3638         * src/NetworkManagerPolicy.c
3639                 - (update_routing_and_dns): set 'default' on the active connection which
3640                         has the default route and DNS
3641
3642 2008-04-21  Dan Williams  <dcbw@redhat.com>
3643
3644         * src/NetworkManagerPolicy.c
3645                 - (device_state_changed): update routing and DNS when a device goes
3646                         into unmanaged or unavailable states too (like rfkill or carrier loss)
3647
3648 2008-04-21  Dan Williams  <dcbw@redhat.com>
3649
3650         * include/NetworkManager.h
3651                 - Add NMActiveConnectionState enum
3652
3653         * introspection/nm-active-connection.xml
3654           introspection/nm-vpn-connection.xml
3655                 - Add 'State' property for overall active connection state
3656                 - Add 'Default' property, when True means this active connection
3657                         has the default route
3658                 - Add PropertyChanged signals so changes actually go out over the bus
3659
3660         * src/nm-active-connection.h
3661                 - Add defines for State & Default properties
3662
3663         * src/nm-activation-request.c
3664                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3665                         signal to determine active connection state
3666
3667         * src/vpn-manager/nm-vpn-connection.c
3668           src/vpn-manager/nm-vpn-connection.h
3669           src/vpn-manager/nm-vpn-manager.c
3670           src/vpn-manager/nm-vpn-service.c
3671                 - Rename old 'state' to 'vpn-state'
3672                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3673                 - Add 'state' and 'default' properties, hook up to the vpn connection's
3674                         'vpn-state-changed' signal
3675
3676         * libnm-glib/nm-active-connection.c
3677           libnm-glib/nm-active-connection.h
3678                 - Add new 'state' and 'default' properties and accessors
3679
3680         * libnm-glib/nm-vpn-connection.c
3681           libnm-glib/nm-vpn-connection.h
3682                 - Rename old 'state' property to 'vpn-state'
3683                 - Add new 'state' and 'default' properties and accessors
3684
3685 2008-04-21  Dan Williams  <dcbw@redhat.com>
3686
3687         * src/nm-ip4-config.c
3688                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3689                         not specified (rh #443474)
3690
3691 2008-04-20  Dan Williams  <dcbw@redhat.com>
3692
3693         * src/NetworkManagerUtils.c
3694           src/NetworkManagerUtils.h
3695                 - (nm_utils_merge_ip4_config): new function; merge settings from an
3696                         NMSettingIP4Config to an NMIP4Config object
3697
3698         * src/nm-device.c
3699                 - (merge_ip4_config): move to NetworkManagerUtils.c
3700
3701         * src/vpn-manager/nm-vpn-connection.c
3702                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3703                         too
3704
3705 2008-04-18  Dan Williams  <dcbw@redhat.com>
3706
3707         * libnm-util/nm-setting-ppp.c
3708           libnm-util/nm-setting-ppp.h
3709                 - Add 'no-vj-comp' option for TCP header compression
3710                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3711                         uint32
3712
3713 2008-04-18  Dan Williams  <dcbw@redhat.com>
3714
3715         * libnm-util/nm-setting-ppp.c
3716           libnm-util/nm-setting-ppp.h
3717           src/ppp-manager/nm-ppp-manager.c
3718                 - Add 'refuse-pap' and 'refuse-mschapv2' options
3719
3720 2008-04-18  Dan Williams  <dcbw@redhat.com>
3721
3722         * libnm-util/nm-setting-ppp.c
3723           libnm-util/nm-setting-ppp.h
3724           src/ppp-manager/nm-ppp-manager.c
3725                 - Remove the 'usepeerdns' option and always request DNS servers from
3726                         the PPP server; the connection chooses to use/override/ignore the
3727                         DNS servers returned from the PPP server
3728
3729 2008-04-18  Dan Williams  <dcbw@redhat.com>
3730
3731         * libnm-util/nm-setting-ppp.c
3732           libnm-util/nm-setting-ppp.h
3733           src/ppp-manager/nm-ppp-manager.c
3734                 - Remove the 'require-mppc' option, because pppd doesn't support it and
3735                         it seems to have been an erroneous addition to the PPTP plugin in
3736                         the first place (from which the ppp-manager is derived)
3737
3738 2008-04-17  Dan Williams  <dcbw@redhat.com>
3739
3740         * libnm-util/nm-setting-pppoe.c
3741                 - (verify): require a PPP setting too
3742
3743         * src/ppp-manager/nm-ppp-manager.c
3744                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3745                         segfaulting
3746
3747 2008-04-17  Dan Williams  <dcbw@redhat.com>
3748
3749         * src/nm-device.c
3750                 - (nm_device_state_changed): do deactivation and and promotion to
3751                         unavailable here, so that the device gets cleaned up before the
3752                         manager runs and starts emitting signals; do the
3753                         FAILED->DISCONNECTED transition from an idle handler rather than
3754                         immediately to guard against recursion
3755                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3756                         FAILED->DISCONNECTED handler if it's scheduled
3757
3758 2008-04-17  Dan Williams  <dcbw@redhat.com>
3759
3760         * src/nm-device-802-11-wireless.c
3761                 - (state_changed_cb): clear AP list when device transitions to
3762                         unavailable or unmanaged
3763                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3764                         since this is already done in device_cleanup()
3765                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3766                         isn't available or managed
3767                 - (device_cleanup): use remove_all_aps()
3768                 - (remove_all_aps): consolidate code removing all APs
3769
3770 2008-04-17  Dan Williams  <dcbw@redhat.com>
3771
3772         * src/nm-serial-device.c
3773           src/nm-serial-device.h
3774                 - (wait_for_reply_got_data): break input into lines, and search each
3775                         line for responses _and_ terminator strings; also make sure that
3776                         the read loop doesn't continue after the timeout is supposed to fire
3777                 - (nm_serial_device_wait_for_reply): take an array of terminators too
3778
3779         * src/nm-gsm-device.c
3780           src/nm-cdma-device.c
3781                 - Send terminators to nm_serial_device_wait_for_reply()
3782
3783 2008-04-16  Dan Williams  <dcbw@redhat.com>
3784
3785         Patch from 陈鑫 <znscnchen@gmail.com>
3786
3787         * src/ppp-manager/nm-pppd-plugin.c
3788                 - (get_credentials): return correct value for success; handle case where
3789                         pppd just does some checking but doesn't want a password
3790                 - (plugin_init): make CHAP work too
3791
3792 2008-04-16  Dan Williams  <dcbw@redhat.com>
3793
3794         Patch from 陈鑫 <znscnchen@gmail.com>
3795
3796         * src/ppp-manager/nm-ppp-manager.c
3797                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3798
3799 2008-04-16  Dan Williams  <dcbw@redhat.com>
3800
3801         Patch from 陈鑫 <znscnchen@gmail.com>
3802
3803         * src/nm-device-802-3-ethernet.c
3804                 - (real_deactivate_quickly): clear the IP interface name on
3805                         deactivation, otherwise the wrong interface might get used later
3806                         for routing and IP management
3807
3808 2008-04-15  Dan Williams  <dcbw@redhat.com>
3809
3810         * libnm-glib/nm-device.c
3811                 - (get_product_and_vendor): handle serial devices correctly
3812                 - (nm_device_update_description): pass device to get_product_and_vendor()
3813
3814 2008-04-15  Dan Williams  <dcbw@redhat.com>
3815
3816         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3817
3818         * src/NetworkManagerSystem.h
3819           src/backends/NetworkManagerArch.c
3820           src/backends/NetworkManagerDebian.c
3821           src/backends/NetworkManagerFrugalware.c
3822           src/backends/NetworkManagerGeneric.c
3823           src/backends/NetworkManagerGeneric.h
3824           src/backends/NetworkManagerGentoo.c
3825           src/backends/NetworkManagerMandriva.c
3826           src/backends/NetworkManagerPaldo.c
3827           src/backends/NetworkManagerRedHat.c
3828           src/backends/NetworkManagerSlackware.c
3829           src/backends/NetworkManagerSuSE.c
3830           src/nm-device.c
3831                 - (nm_generic_device_add_ip6_link_address,
3832                    nm_system_device_add_ip6_link_address): remove
3833
3834 2008-04-15  Dan Williams  <dcbw@redhat.com>
3835
3836         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3837
3838         * src/backends/NetworkManagerArch.c
3839           src/backends/NetworkManagerDebian.c
3840           src/backends/NetworkManagerFrugalware.c
3841           src/backends/NetworkManagerGeneric.c
3842           src/backends/NetworkManagerGeneric.h
3843           src/backends/NetworkManagerGentoo.c
3844           src/backends/NetworkManagerMandriva.c
3845           src/backends/NetworkManagerPaldo.c
3846           src/backends/NetworkManagerRedHat.c
3847           src/backends/NetworkManagerSlackware.c
3848           src/backends/NetworkManagerSuSE.c
3849           src/NetworkManagerSystem.h
3850                 - flush_routes -> flush_ip4_routes
3851                 - flush_addresses -> flush_ip4_addresses
3852
3853         * src/NetworkManagerSystem.c
3854           src/nm-device.c
3855           src/vpn-manager/nm-vpn-connection.c
3856                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3857
3858 2008-04-15  Dan Williams  <dcbw@redhat.com>
3859
3860         Remove exposure of wireless-tools mode types in the API.
3861
3862         * include/NetworkManager.h
3863                 - Define NM80211Mode enum
3864
3865         * introspection/generic-types.xml
3866                 - Describe NM_802_11_MODE enum
3867                 - Remove IW_MODE_* enum
3868
3869         * introspection/nm-access-point.xml
3870           libnm-glib/nm-access-point.c
3871           libnm-glib/nm-access-point.h
3872                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3873
3874         * introspection/nm-device-802-11-wireless.xml
3875           libnm-glib/nm-device-802-11-wireless.c
3876           libnm-glib/nm-device-802-11-wireless.h
3877                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3878
3879         * libnm-util/nm-setting-wireless.c
3880           src/NetworkManagerAP.c
3881           src/NetworkManagerAP.h
3882           src/nm-device-802-11-wireless.c
3883           src/nm-device-802-11-wireless.h
3884           test/nm-tool.c
3885                 - Use NM80211Mode not IW_MODE_*
3886
3887 2008-04-15  Dan Williams  <dcbw@redhat.com>
3888
3889         Enhance nm-online based on a patch from Bill Nottingham.
3890
3891         * test/nm-online.c
3892                 - Add a '-q' option
3893                 - Add help messages and option summary
3894                 - Add long-format options
3895                 - Add a '-x' option to exit if NM isn't running or isn't connecting
3896
3897 2008-04-15  Tambet Ingo  <tambet@gmail.com>
3898
3899         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
3900
3901         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
3902
3903 2008-04-15  Dan Williams  <dcbw@redhat.com>
3904
3905         * nm-setting-ip4-config.c
3906                 - (ip4_addresses_from_gvalue): handle NULL address array
3907
3908         * nm-setting-8021x.c
3909                 - (verify_tls, verify_ttls): warn on failed verification
3910
3911 2008-04-10  Dan Williams  <dcbw@redhat.com>
3912
3913         * src/nm-gsm-device.c
3914                 - (automatic_registration): accept "+CREG: 0,0"
3915                 - (automatic_registration_response): fail on "+CREG: 0,0"
3916
3917 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3918
3919         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
3920
3921 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3922
3923         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
3924         Make it compile again by commenting out broken code that at first didn't work and
3925         now didn't compile either.
3926
3927 2008-04-08  Dan Williams  <dcbw@redhat.com>
3928
3929         * libnm-glib/nm-object-cache.c
3930           libnm-glib/nm-settings.c
3931           src/dhcp-manager/nm-dhcp-manager.c
3932           system-settings/plugins/ifcfg-fedora/plugin.c
3933           system-settings/plugins/ifcfg-suse/plugin.c
3934           system-settings/src/nm-system-config-hal-manager.c
3935           libnm-util/nm-utils.c
3936                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
3937                         not threadsafe anyway
3938
3939 2008-04-08  Dan Williams  <dcbw@redhat.com>
3940
3941         * system-settings/src/main.c
3942                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
3943                         callbacks take a device type too
3944
3945 2008-04-08  Dan Williams  <dcbw@redhat.com>
3946
3947         The system settings service will now create a new default DHCP connection
3948         for wired devices that have no existing applicable connection.
3949
3950         * system-settings/src/nm-system-config-hal-manager.c
3951           system-settings/src/nm-system-config-hal-manager.h
3952                 - (nm_system_config_hal_manager_get_type_for_udi): new function
3953
3954         * system-settings/src/dbus-settings.c
3955           system-settings/src/dbus-settings.h
3956                 - (nm_sysconfig_settings_get_connections): new function
3957                 - (nm_sysconfig_settings_is_device_managed): new function
3958
3959         * system-settings/src/main.c
3960                 - (load_stuff): check for wired devices that need a default connection
3961                 - (get_details_for_udi): get interface and MAC address from HAL
3962                 - (add_default_dhcp_connection): add a default connection for a wired
3963                         device if needed
3964                 - (device_added_cb, device_removed_cb): do the right thing with
3965                         wired devices and their default connections on HAL device events
3966
3967 2008-04-07  Dan Williams  <dcbw@redhat.com>
3968
3969         * libnm-glib/nm-device.c
3970           libnm-glib/nm-device.h
3971                 - Proxy the 'managed' property
3972
3973 2008-04-07  Dan Williams  <dcbw@redhat.com>
3974
3975         * src/nm-gsm-device.c
3976           src/nm-cdma-device.c
3977                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3978                         handler to transition to DISCONNECTED
3979
3980 2008-04-07  Dan Williams  <dcbw@redhat.com>
3981
3982         Patch from Bill Nottingham
3983
3984         * dispatcher-daemon/NetworkManagerDispatcher.c
3985                 - ignore backup/packaging crufy (rh #440143)
3986
3987 2008-04-07  Dan Williams  <dcbw@redhat.com>
3988
3989         * include/NetworkManager.h
3990                 - Remove the DOWN and CANCELLED device states
3991                 - Add UNMANAGED and UNAVAILABLE device states
3992                 - Document the device states
3993
3994         * introspection/nm-device.xml
3995           src/nm-device-interface.c
3996           src/nm-device-interface.h
3997                 - Add the 'managed' property
3998
3999         * test/nm-tool.c
4000                 - (detail_device): print out device state
4001
4002         * src/NetworkManagerSystem.h
4003           src/backends/NetworkManagerArch.c
4004           src/backends/NetworkManagerDebian.c
4005           src/backends/NetworkManagerFrugalware.c
4006           src/backends/NetworkManagerGentoo.c
4007           src/backends/NetworkManagerMandriva.c
4008           src/backends/NetworkManagerPaldo.c
4009           src/backends/NetworkManagerRedHat.c
4010           src/backends/NetworkManagerSlackware.c
4011           src/backends/NetworkManagerSuSE.c
4012                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4013                    nm_system_device_free_system_config): remove; they were unused and
4014                         their functionality should be re-implemented in each distro's
4015                         system settings service plugin 
4016
4017         * src/nm-gsm-device.c
4018           src/nm-gsm-device.h
4019           src/nm-cdma-device.c
4020           src/nm-cdma-device.h
4021                 - (*_new): take the 'managed' argument
4022
4023         * src/nm-device.c
4024                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4025                 - (nm_device_init): start in unmanaged state, not disconnected
4026                 - (constructor): don't start device until the system settings service
4027                         has had a chance to figure out if the device is managed or not
4028                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4029                         don't set device state here, let callers handle that as appropriate
4030                 - (nm_device_dispose): don't touch the device if it's not managed
4031                 - (set_property, get_property, nm_device_class_init): implement the
4032                         'managed' property
4033                 - (nm_device_state_changed): bring the device up if its now managed,
4034                         and deactivate it if it used to be active
4035                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4036                         with the managed state
4037
4038         * src/nm-hal-manager.c
4039                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4040                         take initial managed state and pass it along to device constructors
4041                 - (create_device_and_add_to_list): get managed state and pass to
4042                         type creators
4043
4044         * src/nm-device-802-11-wireless.c
4045                 - (real_can_activate): fold in most of
4046                         nm_device_802_11_wireless_can_activate()
4047                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4048                 - (link_timeout_cb): instead of deactivating, change device state and
4049                         let the device state handler to it
4050                 - (real_update_hw_address): clean up
4051                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4052                         handler to transition to DISCONNECTED if the device isn't rfkilled
4053
4054         * src/nm-device-802-3-ethernet.c
4055                 - (set_carrier): move above callers and get rid of prototype
4056                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4057                         idle handler to transition to DISCONNECTED if the device has a
4058                         carrier
4059                 - (real_update_hw_address): clean up
4060                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4061                         deactivation directly as deactivation doesn't change state anymore
4062
4063         * src/NetworkManagerPolicy.c
4064                 - (schedule_activate_check): yay, remove wireless_enabled hack since
4065                         the NMManager and wireless devices work that out themselves now
4066                 - (device_state_changed): change to a switch and update for new device
4067                         states
4068                 - (device_carrier_changed): remove; device handles this now through
4069                         state changes
4070                 - (device_added): don't care about carrier any more; the initial
4071                         activation check will happen when the device transitions to
4072                         DISCONNECTED
4073
4074         * src/nm-manager.c
4075                 - (dispose): clear unmanaged devices
4076                 - (handle_unmanaged_devices): update unmanaged device list and toggle
4077                         the managed property on each device when needed
4078                 - (system_settings_properties_changed_cb): handle signals from the
4079                         system settings service
4080                 - (system_settings_get_unmanaged_devices_cb): handle callback from
4081                         getting the unmanaged device list method call
4082                 - (query_unmanaged_devices): ask the system settings service for its
4083                         list of unmanaged devices
4084                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4085                         devices
4086                 - (manager_set_wireless_enabled): push rfkill state down to wireless
4087                         devices directly and let them handle the necessary state transitions
4088                 - (manager_device_state_changed): update for new device states
4089                 - (nm_manager_add_device): set initial rfkill state on wireless devices
4090                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4091                 - (nm_manager_activate_connection): return error if the device is
4092                         unmanaged
4093                 - (nm_manager_sleep): handle new device states correctly; don't change
4094                         the state of unavailable/unmanaged devices
4095
4096         * libnm-glib/nm-device-802-11-wireless.c
4097                 - (state_changed_cb): update for new device states
4098
4099 2008-04-07  Dan Williams  <dcbw@redhat.com>
4100
4101         * marshallers/nm-marshal.list
4102                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4103
4104 2008-04-07  Dan Williams  <dcbw@redhat.com>
4105
4106         * system-settings/src/main.c
4107                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4108                         plugins to the dbus settings object
4109                 - (load_stuff): start the dbus service after grabbing unmanaged devices
4110                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4111                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4112                 - (main): switch default logging to syslog with a 'debug' option to
4113                         output to console; start up the HAL manager
4114
4115 2008-04-07  Dan Williams  <dcbw@redhat.com>
4116
4117         * introspection/nm-settings-system.xml
4118           introspection/Makefile.am
4119                 - Define the unmanaged devices interface for the system settings service
4120
4121         * system-settings/src/nm-system-config-hal-manager.c
4122           system-settings/src/nm-system-config-hal-manager.h
4123           system-settings/src/nm-system-config-hal-manager-private.h
4124           system-settings/src/Makefile.am
4125                 - Add a lightweight HAL manager object for tracking network devices for
4126                         the purpose of determining unmanaged devices and which devices need
4127                         the default DHCP connections
4128
4129         * system-settings/src/nm-system-config-interface.c
4130           system-settings/src/nm-system-config-interface.h
4131                 - (nm_system_config_interface_init): add the HAL manager as an argument
4132                 - (nm_system_config_interface_get_unmanaged_devices): implement
4133                 - Define 'unmanaged-devices-changed' signal
4134
4135         * system-settings/src/dbus-settings.c
4136           system-settings/src/dbus-settings.h
4137                 - Implement the unmanaged devices interface; some cleanups
4138
4139         * system-settings/plugins/ifcfg-suse/plugin.c
4140                 - Fixup for plugin interface changes
4141
4142         * system-settings/plugins/ifcfg-fedora/plugin.c
4143                 - (get_ether_device_udi): new function; find the device that has
4144                         a specified MAC address and return its UDI
4145                 - (get_udi_for_connection): new function; try to find the specific
4146                         device a connection is locked to, if any
4147                 - (device_added_cb, device_removed_cb): update unmanaged device list in
4148                         response to HAL events
4149                 - (get_unmanaged_devices): new function; return unmanaged device list
4150                 - (build_one_connection): set the connection's locked device, if any
4151                 - (write_auto_wired_connection): remove
4152                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4153                 - (handle_connection_changed): alert listeners that the unmanaged device
4154                         list has changed
4155                 - (init): fixup for plugin interface changes, implement unmanaged devices
4156
4157         * system-settings/plugins/ifcfg-fedora/parser.c
4158           system-settings/plugins/ifcfg-fedora/parser.h
4159                 - (connection_data_free): clean up connection UDI
4160
4161 2008-04-07  Dan Williams  <dcbw@redhat.com>
4162
4163         * system-settings/plugins/ifcfg-fedora/parser.c
4164                 - (make_ip4_setting): fix parsing of DNS servers
4165
4166 2008-04-05  Dan Williams  <dcbw@redhat.com>
4167
4168         * Makefile.am
4169           configure.in
4170           marshallers/Makefile.am
4171           marshallers/nm-marshal-main.c
4172           marshallers/nm-marshal.list
4173                 - Consolidate marshallers
4174
4175         * libnm-glib/nm-marshal-main.c
4176           libnm-glib/nm-marshal.list
4177           src/marshallers/Makefile.am
4178           src/marshallers/nm-marshal-main.c
4179           src/marshallers/nm-marshal.list
4180                 - Remove
4181
4182         * libnm-glib/Makefile.am
4183           src/Makefile.am
4184           src/dhcp-manager/Makefile.am
4185           src/ppp-manager/Makefile.am
4186           src/supplicant-manager/Makefile.am
4187           src/vpn-manager/Makefile.am
4188                 - Use consolidated marshallers
4189
4190 2008-04-04  Dan Williams  <dcbw@redhat.com>
4191
4192         * src/nm-hal-manager.c
4193           src/nm-hal-manager.h
4194                 - (hal_init): don't look for hardware here
4195                 - (nm_hal_manager_start): new function; look for hardware here instead,
4196                         which can be done at a later time than hal_init()
4197
4198         * src/NetworkManager.c
4199                 - (main): start HAL manager after entering the main loop
4200
4201 2008-04-03  Dan Williams  <dcbw@redhat.com>
4202
4203         * libnm-glib/nm-settings.c
4204           libnm-glib/nm-settings.h
4205             - (nm_exported_connection_get_id): new function
4206                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4207
4208 2008-04-02  Dan Williams  <dcbw@redhat.com>
4209
4210         * src/nm-device-interface.c
4211           src/nm-device-interface.h
4212           src/nm-device.c
4213           src/nm-device.h
4214                 - Rename check_connection_conflicts() to check_connection_compatible()
4215
4216         * src/nm-device-802-11-wireless.c
4217                 - (real_check_connection_conflicts): remove
4218                 - (real_check_connection_compatible): implement; match MAC address
4219
4220         * src/nm-device-802-3-ethernet.c
4221                 - (real_check_connection_conflicts): remove
4222                 - (real_check_connection_compatible): implement; match MAC address
4223                 - (real_get_best_auto_connection): correctly handle PPPoE cases
4224
4225         * src/nm-manager.c
4226                 - (check_connection_allowed): remove; unused until PolicyKit integration
4227                 - (internal_activate_device): check whether the connection is compatible
4228                         with the device before trying to activate it
4229
4230 2008-04-02  Dan Williams  <dcbw@redhat.com>
4231
4232         * system-settings/plugins/ifcfg-fedora/parser.c
4233                 - (read_mac_address): new function; read in MAC address and stuff it
4234                         into the connection
4235                 - (add_one_wep_key): remove debug spew
4236                 - (make_wireless_security_setting): validate the default TX key; don't
4237                         add the wireless-security setting if the connection doesn't need
4238                         security; don't leak the keys shvarFile on error cases
4239                 - (make_wireless_setting, make_wired_setting): populate device's MAC
4240                         address
4241
4242 2008-04-02  Dan Williams  <dcbw@redhat.com>
4243
4244         * libnm-util/nm-setting-connection.c
4245           libnm-util/nm-setting-connection.h
4246                 - (set_property, get_property, nm_setting_connection_class_init): remove
4247                         the 'lockdown' property; it's functionality will be replaced by
4248                         PolicyKit instead
4249
4250 2008-04-01  Dan Williams  <dcbw@redhat.com>
4251
4252         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4253
4254         * configure.in
4255           initscript/Makefile.am
4256           initscript/Mandriva/Makefile.am
4257           initscript/Mandriva/networkmanager.in
4258           initscript/Mandriva/networkmanagerdispatcher.in
4259           src/backends/Makefile.am
4260           src/backends/NetworkManagerMandriva.c
4261           system-settings/plugins/Makefile.am
4262                 - Add Mandriva support
4263
4264 2008-03-31  Dan Williams  <dcbw@redhat.com>
4265
4266         * src/vpn-manager/nm-vpn-service.c
4267                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4268                         errors can be passed back to the caller; also no longer scheduled
4269                         as an idle handler, but called directly; and bump up VPN service
4270                         spawn timeout, 2s is really short
4271                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4272                         but call it directly so that errors are reported on return from
4273                         ActivateConnection() and don't get lost.  If scheduled as an idle
4274                         handler, clients don't have the time to query NM for the new VPN
4275                         connection's properties before the VPN connection is torn down again
4276                         if the service couldn't be launched, and therefore launch errors
4277                         get lost.
4278
4279 2008-03-31  Dan Williams  <dcbw@redhat.com>
4280
4281         * src/vpn-manager/nm-vpn-connection.c
4282                 - (device_state_changed): send correct state on device failure too
4283                 - (plugin_state_changed): failed state means unexpected disconnection,
4284                         thus if the service goes away while the VPN connection is activated
4285                         that's a failure too
4286
4287 2008-03-31  Dan Williams  <dcbw@redhat.com>
4288
4289         * src/vpn-manager/nm-vpn-manager.c
4290           src/vpn-manager/nm-vpn-manager.h
4291                 - Make VPNManager errors more available; add a service-start-failed error
4292
4293 2008-03-31  Dan Williams  <dcbw@redhat.com>
4294
4295         * libnm-glib/nm-client.c
4296           libnm-glib/nm-client.h
4297                 - (activate_cb): pass the new active connection to callback; fix
4298                         message when no callback is specified
4299
4300 2008-03-30  Dan Williams  <dcbw@redhat.com>
4301
4302         * libnm-util/nm-setting-wireless-security.c
4303                 - (need_secrets): only require key0 if the transmit key index is also
4304                         0
4305                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4306
4307 2008-03-29  Dan Williams  <dcbw@redhat.com>
4308
4309         * libnm-util/nm-setting-8021x.c
4310           libnm-util/nm-setting-ip4-config.c
4311           libnm-util/nm-setting-vpn-properties.c
4312           libnm-util/nm-setting-vpn.c
4313           libnm-util/nm-setting-wireless-security.c
4314           libnm-util/nm-setting-wireless.c
4315           libnm-util/nm-utils.c
4316           src/dhcp-manager/nm-dhcp-manager.c
4317           src/nm-activation-request.c
4318           src/nm-ip4-config.c
4319           src/nm-manager.c
4320           src/nm-properties-changed-signal.c
4321           src/ppp-manager/nm-pppd-plugin.c
4322           src/supplicant-manager/nm-supplicant-interface.c
4323           src/vpn-manager/nm-vpn-connection.c
4324                 - consistently use nm-dbus-glib-types.h
4325
4326 2008-03-29  Dan Williams  <dcbw@redhat.com>
4327
4328         * src/vpn-manager/nm-vpn-connection.c
4329                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4330                         not string
4331
4332         * src/nm-activation-request.c
4333                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4334                         not string
4335
4336 2008-03-29  Dan Williams  <dcbw@redhat.com>
4337
4338         * libnm-glib/nm-device-802-11-wireless.c
4339                 - (access_point_added_proxy): create new APs if not found
4340
4341 2008-03-29  Dan Williams  <dcbw@redhat.com>
4342
4343         * libnm-glib/nm-client.c
4344                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4345                         before freeing them
4346
4347 2008-03-29  Dan Williams  <dcbw@redhat.com>
4348
4349         * system-settings/plugins/ifcfg-fedora/parser.c
4350                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4351                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4352
4353 2008-03-29  Dan Williams  <dcbw@redhat.com>
4354
4355         * system-settings/plugins/ifcfg-fedora/parser.c
4356                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4357
4358 2008-03-27  Dan Williams  <dcbw@redhat.com>
4359
4360         * nm-object.c
4361                 - (nm_object_queue_notify): don't notify multiple times for the same
4362                         property
4363
4364         * nm-object-private.h
4365                 - (handle_ptr_array_return): return NULL if the given array is NULL or
4366                         if it has zero elements
4367
4368         * nm-ip4-config.c
4369                 - (finalize): use g_ptr_array_foreach() when freeing domains
4370                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4371
4372         * nm-active-connection.c
4373                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4374
4375         * nm-device-802-11-wireless.c
4376           nm-device-802-11-wireless.h
4377                 - (nm_device_802_11_wireless_get_access_points): return const; use
4378                         handle_ptr_array_return()
4379
4380         * nm-types.c
4381                 - (nm_object_array_demarshal): always create an array, even of length
4382                         zero, to distinguish between "NM returned no items" and "haven't
4383                         asked NM yet"
4384
4385         * nm-client.c
4386                 - (dispose): free active connections too
4387                 - (proxy_name_owner_changed): free active connections too when NM goes
4388                         away
4389                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4390                 - (nm_client_get_active_connections): use handle_ptr_array_return()
4391
4392 2008-03-26  Dan Williams  <dcbw@redhat.com>
4393
4394         Rework VPN connection handling for a more consistent D-Bus API.  The
4395         VPNManager object has been removed, and active VPN connections are now the
4396         same as any other active connection.  The Manager object's ActivateConnection
4397         and DeactivateConnection methods are used to start and stop a VPN connection,
4398         and the VPNConnection objects are subclasses of the ActiveConnection objects.
4399         When activating a VPN connection, pass the path of the active connection
4400         to which the VPN connection is tied in the 'specific_object' argument.
4401
4402         Consequently, the libnm-glib API has been reworked to match this arrangement,
4403         with the VPNManager object removed, and the NMVPNConnection objects now
4404         being subclasses of NMActiveConnection.
4405
4406 2008-03-25  Dan Williams  <dcbw@redhat.com>
4407
4408         Patch from Björn Martensen <bjoern.martensen@gmail.com>
4409
4410         * initscript/Arch/networkmanager.in
4411           initscript/Arch/networkmanager-dispatcher.in
4412                 - Updates for Arch Linux (gnome.org #523701)
4413
4414 2008-03-25  Dan Williams  <dcbw@redhat.com>
4415
4416         * libnm-glib/nm-ip4-config.c
4417           libnm-glib/nm-active-connection.c
4418           libnm-glib/nm-access-point.c
4419                 - Use nm_object_queue_notify() instead of g_object_notify()
4420
4421         * libnm-glib/nm-device.c
4422                 - (demarshal_ip4_config): distinguish between successful but missing
4423                         ip4-config request, and unsuccessful and missing ip4-config request
4424                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4425                         path
4426                 - Use nm_object_queue_notify() instead of g_object_notify()
4427
4428         * libnm-glib/nm-device-802-11-wireless.c
4429                 - (demarshal_active_ap): distinguish between successfull but missing
4430                         active-ap request, and unsuccessful and missing active-ap request
4431                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4432                         code
4433                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4434                         for the NMClient to notify the device that wireless is disabled,
4435                         and therefore to clear the AP list and active AP
4436                 - Use nm_object_queue_notify() instead of g_object_notify()
4437
4438         * libnm-glib/nm-client.c
4439                 - (poke_wireless_devices_with_rf_status): new function
4440                 - (update_wireless_status): notify wireless devices of the rfkill status
4441                         so they can clean up if needed
4442                 - Use nm_object_queue_notify() instead of g_object_notify()
4443
4444 2008-03-25  Dan Williams  <dcbw@redhat.com>
4445
4446         * libnm-glib/nm-object.c
4447           libnm-glib/nm-object-private.h
4448                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4449                         signals to an idle handler
4450                 - (nm_object_get_property): add a timeout to the D-Bus method call
4451
4452 2008-03-25  Dan Williams  <dcbw@redhat.com>
4453
4454         * introspection/nm-device-cdma.xml
4455           introspection/nm-device-gsm.xml
4456           introspection/Makefile.am
4457           introspection/all.xml
4458                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4459
4460         * src/nm-gsm-device.h
4461           src/nm-gsm-device.c
4462           src/nm-cdma-device.h
4463           src/nm-cdma-device.c
4464           src/Makefile.am
4465                 - Implement PropertiesChanged signals
4466
4467         * libnm-glib/nm-cdma-device.c
4468           libnm-glib/nm-cdma-device.c
4469                 - Attach to PropertiesChanged signals
4470
4471 2008-03-24  Dan Williams  <dcbw@redhat.com>
4472
4473         * libnm-glib/nm-client.c
4474                 - (client_device_added_proxy): add new devices to the internal device
4475                         list so they appear to clients
4476
4477 2008-03-24  Dan Williams  <dcbw@redhat.com>
4478
4479         Massive fixup of libnm-glib to:
4480         a) have all objects (with the exception of VPN) cache their properties and
4481                 update them asynchronously on PropertiesChanged signals from NM
4482         b) return internal const data for most attributes/properties instead of
4483                 allocated values that the caller must free
4484         c) cache wrapped objects such that a given D-Bus path will always map to the
4485                 same GObject returned by libnm-glib
4486         d) remove a few signals and move them to GObject property notifications
4487         e) match recent NM D-Bus API changes for activation/deactivation
4488         f) remove some private functions from libnm-glib headers
4489
4490 2008-03-20  Dan Williams  <dcbw@redhat.com>
4491
4492         * src/nm-manager.c
4493                 - (nm_manager_update_state, manager_device_state_changed,
4494                    nm_manager_activate_device, connection_added_default_handler,
4495                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4496                         queue PropertyChanged singals when the active connections change
4497
4498 2008-03-20  Dan Williams  <dcbw@redhat.com>
4499
4500         * introspection/nm-manager.xml
4501           introspection/nm-manager-client.xml
4502                 - (ActivateConnection): return the object path of the active connection
4503                         on success
4504                 - (GetActiveConnections): remove
4505                 - (DeactivateConnection): new function; deactivate a currently active
4506                         connection
4507                 - Add an ActiveConnections property which returns an array of
4508                         active connection object paths
4509
4510         * introspection/nm-device.xml
4511                 - (Deactivate): remove
4512
4513         * introspection/all.xml
4514                 - Add ActiveConnection introspection
4515
4516         * introspection/nm-active-connection.xml
4517                 - Add the ActiveConnection object
4518
4519         * include/NetworkManager.h
4520                 - Add the Connection.Active D-Bus interface
4521
4522         * src/nm-device-interface.c
4523                 - (impl_device_deactivate): remove
4524
4525         * src/nm-activation-request.c
4526           src/nm-activation-request.c
4527           src/Makefile.am
4528                 - Implement the Connection.Active D-Bus interface
4529
4530         * src/nm-manager.c
4531                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4532                 - (nm_manager_activate_device): return the active connection path
4533                 - (connection_added_default_handler, impl_manager_activate_connection):
4534                         return the active connection to the caller
4535                 - (add_one_connection_element, impl_manager_get_active_connections):
4536                         remove
4537                 - (impl_manager_deactivate_connection): new function; deactivate an
4538                         active connection
4539
4540         * libnm-glib/nm-device.c
4541           libnm-glib/nm-device.h
4542                 - Remove Deactivate() function
4543
4544 2008-03-19  Dan Williams  <dcbw@redhat.com>
4545
4546         * introspection/nm-manager.xml
4547           introspection/nm-manager-client.xml
4548                 - Rename the ActivateDevice method to ActivateConnection to better
4549                         reflect it's usage; it's arguments get reordered a bit too
4550                 - Convert GetActiveConnections method return from a struct to a dict
4551
4552         * include/NetworkManager.h
4553                 - Define the dict keys for return value of GetActiveConnections
4554
4555         * src/nm-manager.c
4556                 - impl_manager_activate_device -> impl_manager_activate_connection
4557                 - (add_one_connection_element): return a populated hash table, not
4558                         a structure
4559
4560         * libnm-glib/nm-client.c
4561           libnm-glib/nm-client.h
4562                 - nm_client_activate_device -> nm_client_activate_connection
4563                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4564                 - (nm_client_get_active_connections): return a GSList of GHashTables,
4565                         instead of the custom structures.  Each element of the returned list
4566                         must be freed with nm_client_free_active_connections_element()
4567
4568 2008-03-18  Dan Williams  <dcbw@redhat.com>
4569
4570         * system-settings/plugins/ifcfg-fedora/parser.c
4571           system-settings/plugins/ifcfg-fedora/parser.h
4572           system-settings/plugins/ifcfg-fedora/plugin.c
4573                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4574                         profiles.  DNS servers and searches must now be stored in the ifcfg
4575                         files themselves
4576
4577 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4578
4579         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4580         print out username and password, it's supposed to be a secret.
4581
4582         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
4583         request and set the device state accordingly.
4584
4585 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4586
4587         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4588
4589         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4590
4591 2008-03-18  Dan Williams  <dcbw@redhat.com>
4592
4593         * src/vpn-manager/nm-vpn-connection.c
4594                 - (get_secrets_cb): handle new GetSecrets return format
4595
4596 2008-03-18  Dan Williams  <dcbw@redhat.com>
4597
4598         Adapt system settings service for split 802.1x.
4599
4600         * system-settings/src/nm-system-config-interface.h
4601                 - clarify return value of get_secrets()
4602
4603         * system-settings/src/dbus-settings.c
4604                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4605                 - (check_for_secrets): check if there actually secrets returned by a
4606                         plugin
4607                 - (exported_connection_get_secrets): just return the plugin-returned
4608                         hash of settings' secrets if it looks valid
4609
4610         * system-settings/plugins/ifcfg-fedora/plugin.c
4611                 - (get_secrets): add split secrets with correct format to reply hash
4612
4613         * system-settings/plugins/ifcfg-fedora/parser.c
4614           system-settings/plugins/ifcfg-fedora/parser.h
4615                 - (copy_one_cdata_secret, connection_data_copy_secrets,
4616                    connection_data_free, connection_data_add): keep secrets for
4617                         different settings in different hashes
4618
4619 2008-03-17  Tambet Ingo  <tambet@gmail.com>
4620
4621         Clean up activating device deactivation.
4622
4623         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4624         should be done whether the device activation gets cancelled or the device
4625         is just getting deactivated.
4626         (nm_device_activation_cancel): Remove.
4627         (nm_device_deactivate_quickly): Handle the case where device is activating.
4628
4629         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4630         It does the exact same thing as real_deactivate_quickly().
4631
4632 2008-03-17  Dan Williams  <dcbw@redhat.com>
4633
4634         Split the 802.1x bits out of the wireless-security setting so they are
4635         generalized enough for wired 802.1x to use too.
4636
4637         * introspection/nm-exported-connection.xml
4638                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4639                         of just a hash of the secrets for one setting
4640
4641         * libnm-util/nm-setting-wireless-security.c
4642           libnm-util/nm-setting-wireless-security.h
4643                 - Remove 802.1x-specific stuff
4644                 - Added leap-username and leap-password properties for old-school LEAP
4645
4646         * src/nm-device.c
4647           src/nm-device.h
4648                 - (connection_secrets_updated_cb): take a list of updated settings names,
4649                         not just one
4650
4651         * src/supplicant-manager/nm-supplicant-config.c
4652           src/supplicant-manager/nm-supplicant-config.h
4653                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4654                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4655                         to nm_supplicant_config_add_setting_8021x()
4656                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4657                         the supplicant config
4658
4659         * src/nm-device-802-11-wireless.c
4660                 - (build_supplicant_config): pass in the 802.1x setting too, if any
4661                 - (real_connection_secrets_updated): take a list of updated settings
4662                         names, not just one
4663
4664         * src/nm-device-802-3-ethernet.c
4665           src/nm-cdma-device.c
4666           src/nm-gsm-device.c
4667                 - (real_connection_secrets_updated_cb): take a list of updated settings
4668                         names, not just one
4669
4670         * src/nm-activation-request.c
4671           src/nm-activation-request.h
4672                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4673                         now passes a list of updated settings names, not just one
4674                 - (update_one_setting): new function; handle one updated setting
4675                 - (get_secrets_cb): handle multiple settings returned from the
4676                         settings service; have to be careful of ordering here as there are
4677                         some dependencies between settings (ex. wireless-security and 802.1x
4678                         in some cases)
4679
4680         * src/marshallers/nm-marshal.list
4681                 - new marshaller for connection-secrets-updated signal
4682
4683         * libnm-util/nm-setting-8021x.c
4684                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4685                         methods
4686                 - (verify): a valid 'eap' property is now required
4687
4688         * libnm-util/nm-connection.c
4689                 - (register_default_settings): add priorities to settings; there are
4690                         some dependencies between settings, and during the need_secrets
4691                         calls this priority needs to be respected.  For example, only the
4692                         wireless-security setting knows whether or not the connection is
4693                         going to use 802.1x or now, so it must be asked for secrets before
4694                         any existing 802.1x setting is
4695                 - (nm_connection_lookup_setting_type): expose
4696
4697         * libnm-util/nm-setting-wireless.c
4698                 - (verify): should verify even if all_settings is NULL; otherwise won't
4699                         catch the case where there is missing security
4700
4701         * libnm-util/nm-setting-wireless-security.c
4702                 - Remove everything to do with 802.1x
4703                 - Add old-school LEAP specific properties for username and password
4704                 - (need_secrets): rework LEAP secrets checking
4705                 - (verify): rework for LEAP and 802.1x verification
4706
4707 2008-03-17  Dan Williams  <dcbw@redhat.com>
4708
4709         * src/NetworkManagerPolicy.c
4710                 - (auto_activate_device): always remove the current activation check
4711                         from the pending activation list, otherwise when the policy gets
4712                         destroyed on NM exit it will attempt to free the already freed
4713                         activation check
4714
4715 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4716
4717         * src/backends/NetworkManagerSlackware.c 
4718         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4719
4720         * src/backends/NetworkManagerSuSE.c: Add missing includes.
4721
4722 2008-03-14  Dan Williams  <dcbw@redhat.com>
4723
4724         * src/nm-manager.c
4725                 - (nm_device_interface_get_iface): g_object_get() will return an
4726                         allocated value, so this function must not return const
4727                 - (nm_device_interface_activate): free returned iface
4728
4729 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4730
4731         * libnm-util/Makefile.am: Add new files to build.
4732
4733         * libnm-util/nm-connection.c: Register NMSetting8021x.
4734
4735         * libnm-util/nm-setting-8021x.c
4736         * libnm-util/nm-setting-8021x.h: Implement.
4737
4738 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4739
4740         * libnm-util/Makefile.am: Add new files to build.
4741
4742         * libnm-util/nm-connection.c: Register NMSetting8021x.
4743
4744         * libnm-util/nm-setting-8021x.c
4745         * libnm-util/nm-setting-8021x.h: Implement.
4746
4747 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4748
4749         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4750         data.
4751
4752 2008-03-14  Dan Williams  <dcbw@redhat.com>
4753
4754         * include/wireless-helper.h
4755           include/Makefile.am
4756                 - One place for all the junk needed for #including wireless.h
4757
4758         * test/nm-tool.c
4759           src/NetworkManagerAP.c
4760           src/wpa.c
4761           src/Makefile.am
4762           libnm-util/nm-utils.c
4763           libnm-util/nm-setting-wireless.c
4764           libnm-glib/nm-device-802-11-wireless.c
4765           libnm-glib/nm-access-point.c
4766           libnm-glib/libnm-glib-test.c
4767                 - include wireless-helper.h, not iwlib.h
4768
4769         * configure.in
4770                 - Don't need libiw really, just need to check for wireless.h
4771
4772         * src/kernel-types.h
4773                 - Remove; used types moved into wpa.c
4774
4775         * src/nm-device-802-11-wireless.c
4776                 - (nm_device_802_11_wireless_update_signal_strength,
4777                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4778                    nm_device_802_11_wireless_set_mode,
4779                    nm_device_802_11_wireless_get_frequency,
4780                    nm_device_802_11_wireless_get_ssid,
4781                    nm_device_802_11_wireless_set_ssid,
4782                    nm_device_802_11_wireless_get_bitrate,
4783                    nm_device_802_11_wireless_get_bssid,
4784                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4785                         instead of iwlib functions
4786
4787 2008-03-14  Dan Williams  <dcbw@redhat.com>
4788
4789         * src/ppp-manager/nm-ppp-manager.c
4790                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4791                         should only take the DBusGMethodInvocation argument, not user/pass
4792                         too.  With dbus-glib, async functions only take 2 C arguments since
4793                         the real dbus method arguments get passed back with
4794                         dbus_g_method_return()
4795
4796 2008-03-13  Tambet Ingo  <tambet@gmail.com>
4797
4798         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
4799         Adapt the changes of NMSettingIP4Config.
4800
4801 2008-03-13  Dan Williams  <dcbw@redhat.com>
4802
4803         * src/NetworkManagerUtils.c
4804           src/NetworkManagerUtils.h
4805                 - (nm_ether_ntop): replacement for iw_ether_ntop()
4806
4807         * src/NetworkManagerAP.c
4808           src/nm-device-802-11-wireless.c
4809           src/nm-device-802-3-ethernet.c
4810                 - s/iw_ether_ntop/nm_ether_ntop/g
4811
4812 2008-03-13  Dan Williams  <dcbw@redhat.com>
4813
4814         * src/NetworkManagerPolicy.c
4815                 - (update_routing_and_dns): never set the default route through an
4816                         IPv4LL addressed device
4817
4818 2008-03-13  Dan Williams  <dcbw@redhat.com>
4819
4820         * NetworkManagerUtils.c
4821           NetworkManagerUtils.h
4822                 - Remove NMSock stuff
4823                 - Remove the completion stuff
4824
4825         * nm-device.c
4826           nm-device.h
4827           NetworkManager.c
4828           NetworkManagerSystem.c
4829           autoip.c
4830           nm-device-802-11-wireless.c
4831           nm-device-802-3-ethernet.c
4832                 - Remove NMSock and completion stuff
4833                 - Remove nm_ioctl_info()
4834
4835 2008-03-12  Dan Williams  <dcbw@redhat.com>
4836
4837         * src/nm-device.c
4838                 - (merge_ip4_config): avoid duplicates
4839
4840 2008-03-12  Dan Williams  <dcbw@redhat.com>
4841
4842         * libnm-util/nm-setting-ip4-config.c
4843           libnm-util/nm-setting-ip4-config.h
4844                 - Remove 'manual' and 'autoip' properties
4845                 - Add 'method' property
4846                 - (verify): fix verification with 'method'
4847                 - (finalize): free 'method'
4848                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4849                         up for 'method'
4850
4851         * src/nm-device.c
4852                 - (real_act_stage3_ip_config_start): check IP4Config method
4853                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4854                         the future
4855                 - (merge_ip4_config): IP settings are valid with DHCP too
4856                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4857                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4858
4859         * src/nm-device-802-11-wireless.c
4860                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4861                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4862                         only on demand
4863
4864         * system-settings/plugins/ifcfg-fedora/parser.c
4865           system-settings/plugins/ifcfg-suse/parser.c
4866                 - (make_ip4_setting): fix up for 'method'
4867
4868 2008-03-12  Dan Williams  <dcbw@redhat.com>
4869
4870         * system-settings/plugins/ifcfg-fedora/parser.c
4871           system-settings/plugins/ifcfg-fedora/parser.h
4872                 - (get_ifcfg_name): ignore more file suffixes
4873                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
4874
4875 2008-03-12  Dan Williams  <dcbw@redhat.com>
4876
4877         * configure.in
4878                 - Bring in the bits of gnome-common we actually use (all 15 lines)
4879
4880 2008-03-12  Dan Williams  <dcbw@redhat.com>
4881
4882         * system-settings/plugins/ifcfg-fedora/plugin.c
4883                 - (write_auto_wired_connection): new function; write out an auto
4884                         wired connection file since the applet isn't doing it any more
4885                 - (reload_all_connections): write out the auto wired connection file
4886                         if there aren't any wired connections already
4887                 - (init): don't leak a GError
4888
4889 2008-03-12  Dan Williams  <dcbw@redhat.com>
4890
4891         * src/nm-device-interface.c
4892                 - (nm_device_interface_activate): print the ID of the connection
4893                         that's about to be activated
4894
4895 2008-03-12  Dan Williams  <dcbw@redhat.com>
4896
4897         Harmonize the 802.11 bitrate API
4898
4899         * introspection/nm-access-point.xml
4900                 - 'Rate' -> 'MaxBitrate'; clarify units
4901
4902         * introspection/nm-device-802-11-wireless.xml
4903                 - Clarify units of 'Bitrate'
4904
4905         * src/NetworkManagerAP.c
4906           src/NetworkManagerAP.h
4907                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
4908                         property to 'max-bitrate'
4909                 - (foreach_property_cb): convert rate to Kb/s
4910
4911         * src/nm-device-802-11-wireless.c
4912                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
4913
4914         * libnm-glib/nm-access-point.c
4915           libnm-glib/nm-access-point.h
4916                 - 'rate' -> 'max-bitrate'
4917
4918         * test/nm-tool.c
4919           libnm-glib/libnm-glib-test.c
4920                 - Fix up for these changes
4921
4922 2008-03-12  Dan Williams  <dcbw@redhat.com>
4923
4924         * src/nm-device.c
4925                 - (nm_device_set_ip4_config): don't send property notifications when
4926                         the ip4 config is set to NULL; it causes a PropertyChanged signal
4927                         which dbus-glib can't parse because the value is NULL, which isn't
4928                         a legal object path.  Setting the IP4 config to NULL is only
4929                         valid when deactivating a device anyway, so the device state change
4930                         will alert listeners that the ip4 config is invalid.
4931
4932 2008-03-12  Dan Williams  <dcbw@redhat.com>
4933
4934         * src/nm-properties-changed-signal.c
4935                 - (add_to_string): better handling of NULL objects
4936
4937 2008-03-12  Dan Williams  <dcbw@redhat.com>
4938
4939         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
4940         convert the libnm-glib NMDevice8023Ethernet to cached properties
4941
4942         * introspection/nm-device-802-3-ethernet.xml
4943                 - New 'Carrier' property
4944                 - New 'PropertiesChanged' signal
4945
4946         * introspection/nm-device.xml
4947                 - Remove 'Carrier' property
4948                 - Remove 'CarrierChanged' signal
4949
4950         * src/nm-device-interface.c
4951           src/nm-device-interface.h
4952                 - (nm_device_interface_init): remove 'carrier' property and
4953                         'carrier-changed' signal
4954
4955         * src/nm-device.c
4956           src/nm-device.h
4957                 - (nm_device_get_carrier, nm_device_set_carrier): remove
4958                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
4959                         the link here; wired device will handle that
4960                 - (handle_dhcp_lease_change): don't bother updating link here
4961                 - (get_property, nm_device_class_init): remove carrier property
4962
4963         * src/nm-device-802-11-wireless.c
4964                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
4965                         real_update_link(); wireless devices don't use carrier at all
4966                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
4967                    supplicant_iface_connection_state_cb_handler,
4968                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
4969
4970         * src/nm-device-802-3-ethernet.c
4971           src/nm-device-802-3-ethernet.h
4972                 - (nm_device_802_3_ethernet_carrier_on,
4973                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
4974                         instead of nm_device_set_carrier()
4975                 - (device_state_changed): update link from sysfs on activation;
4976                         replaces real_update_link()
4977                 - (real_update_link): remove, replaced by device_state_changed()
4978                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
4979                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
4980                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
4981                         new get_carrier function
4982                 - (get_property): add 'carrier' property
4983                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
4984                         hook into property-changed signal helper
4985
4986         * src/NetworkManagerPolicy.c
4987                 - (device_carrier_changed): will only ever be called with a wired device
4988                 - (device_added): only hook up to carrier-changed for wired devices
4989
4990         * libnm-glib/nm-device.c
4991           libnm-glib/nm-device.h
4992                 - (constructor, nm_device_class_init): remove carrier-changed signal
4993                 - (device_carrier_changed_proxy): remove; unused
4994                 - (nm_device_get_carrier): remove; carrier a property of wired devices
4995
4996         * libnm-glib/nm-device-802-3-ethernet.c
4997           libnm-glib/nm-device-802-3-ethernet.h
4998                 - Convert to cached properties like AP and Wireless objects
4999                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5000                         instead of a 'char *', return value should not be freed
5001                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5002                 - (constructor): hook into properties-changed helper
5003                 - (set_property, get_property): new functions
5004                 - (nm_device_802_3_ethernet_class_init): export GObject properties
5005
5006         * test/nm-tool.c
5007                 - (detail_device): strdup the wired hardware address too since it's
5008                         cached now
5009
5010         * libnm-glib/libnm-glib-test.c
5011                 - (dump_wired): strdup the wired hardware address too since it's
5012                         cached now
5013
5014 2008-03-12  Dan Williams  <dcbw@redhat.com>
5015
5016         * libnm-util/nm-setting-ip4-config.c
5017           libnm-util/nm-setting-ip4-config.h
5018                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5019                         the 'autoip' property from the spec
5020
5021 2008-03-11  Dan Williams  <dcbw@redhat.com>
5022
5023         * src/backends/NetworkManagerGeneric.c
5024           src/backends/NetworkManagerGeneric.h
5025                 - (nm_generic_device_get_use_dhcp): remove
5026
5027 2008-03-11  Dan Williams  <dcbw@redhat.com>
5028
5029         * src/nm-device.c
5030                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5031                         already in nm_device_set_ip4_config()
5032                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5033                         due to a DHCP rebind fails
5034                 - (nm_device_set_ip4_config): send property notifications when the
5035                         ip4 config changes
5036                 - (get_property): only report IP4Config property during valid states
5037
5038         * src/NetworkManagerPolicy.c
5039                 - (update_routing_and_dns): ignore devices that don't have an ip4
5040                         config; add parameter 'force_update' to allow callers to specify
5041                         that changes should be made even if the default device doesn't change
5042                 - (device_ip4_config_changed): update DNS and routing when the device's
5043                         IP4Config changes, like for DHCP updates
5044                 - (device_added): listen for ip4-config property changes
5045
5046 2008-03-11  Dan Williams  <dcbw@redhat.com>
5047
5048         Fix address handling as a result of DHCP rebind/renew/reboot.
5049
5050         * src/NetworkManagerSystem.c
5051                 - (check_one_address): delete an address if it doesn't match a given
5052                         one for the same interface
5053                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5054                         be smarter about flushing addresses (only flush ones that don't
5055                         match the one we're about to apply)
5056
5057         * src/backends/NetworkManagerDebian.c
5058           src/backends/NetworkManagerSuSE.c
5059           src/backends/NetworkManagerArch.c
5060           src/backends/NetworkManagerSlackware.c
5061           src/backends/NetworkManagerRedHat.c
5062           src/backends/NetworkManagerPaldo.c
5063           src/backends/NetworkManagerFrugalware.c
5064           src/backends/NetworkManagerGentoo.c
5065                 - (nm_system_delete_default_route): remove
5066
5067         * src/backends/NetworkManagerGeneric.c
5068           src/backends/NetworkManagerGeneric.h
5069                 - (nm_generic_enable_loopback): fix the loopback device label
5070                 - (nm_generic_delete_default_route): remove; no longer used
5071
5072 2008-03-11  Dan Williams  <dcbw@redhat.com>
5073
5074         * src/nm-device-interface.h
5075                 - Delimit property name words with '-', otherwise g_object_notify()
5076                         doesn't work the way we expect
5077
5078 2008-03-11  Tambet Ingo  <tambet@gmail.com>
5079
5080         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5081
5082 2008-03-11  Dan Williams  <dcbw@redhat.com>
5083
5084         * src/NetworkManagerPolicy.c
5085                 - (update_routing_and_dns): don't change anything if the default device
5086                         hasn't changed; print something out when switching the default route
5087                         and DNS
5088
5089 2008-03-10  Tambet Ingo  <tambet@gmail.com>
5090
5091         Implement PPPoE.
5092
5093         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5094         setting. Use "nic-$eth".
5095
5096         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5097         the device is activating here to fix a race condition.
5098
5099         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5100
5101         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5102         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5103         (nm_ppp_manager_start): Take activation request instead of connection, we might
5104         need it for asking secrets.
5105         (nm_ppp_manager_update_secrets): Implement.
5106
5107         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5108         ppp manager start. It might be needed for asking secrets.
5109
5110         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5111         (ppp_state_changed): Handle pppd daemon disappearing.
5112         (pppoe_stage2_config): Send activation request to ppp manager start.
5113
5114         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5115
5116         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5117         username and password.
5118         
5119 2008-03-10  Dan Williams  <dcbw@redhat.com>
5120
5121         * src/nm-device.c
5122                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5123                         response to a DHCP lease change
5124                 - (dhcp_state_changed): handle DHCP lease changes while activated
5125                 - (nm_device_set_ip4_config): remove a previously set named config
5126                         when setting an ip4 config
5127
5128 2008-03-10  Dan Williams  <dcbw@redhat.com>
5129
5130         * src/nm-serial-device.c
5131                 - (nm_serial_device_send_command): report errno on error
5132                 - (get_reply_got_data): limit the size of the overall buffer
5133                 - (wait_for_reply_info_destroy): destroy result string
5134                 - (wait_for_reply_got_data): append received data to an overall buffer
5135                         until timeout, filled buffer, or error instead of keeping a per-call
5136                         buffer.  Some devices send data slowly enough that this function
5137                         gets called multiple times for the same command stream.
5138                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5139                         wait_for_reply_got_data() here
5140
5141 2008-03-10  Dan Williams  <dcbw@redhat.com>
5142
5143         * src/nm-cdma-device.c
5144                 - (do_dial, init_modem): handle errors from
5145                         nm_serial_device_send_command_string()
5146
5147         * src/nm-gsm-device.c
5148                 - (do_dial, manual_registration, automatic_registration_get_network,
5149                    automatic_registration, enter_pin, check_pin, init_modem): handle
5150                         errors from nm_serial_device_send_command_string()
5151
5152 2008-03-10  Dan Williams  <dcbw@redhat.com>
5153
5154         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5155
5156         * src/named-manager/nm-named-manager.c
5157                 - (compute_searches): prefer searches before domains
5158                 - (compute_domain): new function
5159                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5160                 - (merge_one_ip4_config): if there are no searches in the source config,
5161                         merge domains of the source config into the target config
5162                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5163
5164 2008-03-10  Dan Williams  <dcbw@redhat.com>
5165
5166         * src/nm-serial-device.c
5167                 - (get_reply_got_data): clean up indentation, shrink serial buffer
5168                 - (wait_for_reply_got_data): try to handle slower serial devices where
5169                         the reply is broken up into multiple reads by concatenating replies
5170                         together until either an error is received or the search string is
5171                         found
5172
5173 2008-03-10  Dan Williams  <dcbw@redhat.com>
5174
5175         * src/nm-device.c
5176                 - (nm_device_bring_down): deactivate the device if it's activating too,
5177                         not just if it's already activated.  This makes sure that everything
5178                         from an association attempt is cleaned up (like DHCP for example)
5179
5180 2008-03-10  Dan Williams  <dcbw@redhat.com>
5181
5182         * src/nm-serial-device.c
5183                 - (config_fd): report error from TCSETA
5184                 - (nm_serial_device_open): fail when config_fd() fails
5185
5186 2008-03-10  Dan Williams  <dcbw@redhat.com>
5187
5188         * src/nm-ip4-config.c
5189                 - (nm_ip4_config_init): allocate searches list
5190                 - (finalize): free searches list
5191
5192 2008-03-09  Dan Williams  <dcbw@redhat.com>
5193
5194         Patch from Bas Zoetekouw <bas@debian.org>
5195
5196         * src/dhcp-manager/nm-dhcp-manager.c
5197                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5198
5199 2008-03-09  Dan Williams  <dcbw@redhat.com>
5200
5201         Patch from Bas Zoetekouw <bas@debian.org>
5202
5203         * src/nm-ip4-config.c
5204           src/nm-ip4-config.h
5205                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5206                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
5207                         domains.  'searches' is the correct way to store multiple search
5208                         domains, whereas 'domains' is really just supposed to store one
5209                         domain.  Some sites abuse the DHCP 'domain-name' option to push
5210                         search domains to the client.
5211                 - (nm_ip4_config_add_domain): group with related functions (my patch)
5212
5213 2008-03-09  Dan Williams  <dcbw@redhat.com>
5214
5215         * src/dhcp-manager/nm-dhcp-manager.c
5216                 - (dhclient_run): send interface-specific config files to dhclient
5217
5218 2008-03-07  Dan Williams  <dcbw@redhat.com>
5219
5220         * system-settings/plugins/ifcfg-fedora/parser.c
5221                 - (is_wireless_device): new function; test a device for wireless
5222                         extensions
5223                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5224                         test the device for wireless extensions to determine the type
5225
5226 2008-03-07  Dan Williams  <dcbw@redhat.com>
5227
5228         Change manager's StateChange signal to StateChanged for consistency.
5229
5230         * introspection/nm-manager.xml
5231                 - Add 'StateChanged' signal
5232                 - Move 'StateChange' down to the deprecated section
5233
5234         * src/nm-hal-manager.c
5235                 - (nm_hal_manager_new): connect to 'state-changed' instead
5236
5237         * src/NetworkManagerPolicy.c
5238                 - (nm_policy_new): connect to 'state-changed' instead
5239
5240         * src/nm-manager.c
5241           src/nm-manager.h
5242                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5243                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5244                         of 'state-change'
5245
5246         * libnm-glib/nm-client.c
5247           libnm-glib/nm-client.h
5248                 - (constructor, nm_client_class_init, client_state_changed_proxy):
5249                         track and proxy 'state-changed' instead of 'state-change'
5250
5251 2008-03-07  Dan Williams  <dcbw@redhat.com>
5252
5253         First pass of multiple active device support.  Expect bugs.
5254
5255         * src/nm-ip4-config.c
5256           src/nm-ip4-config.h
5257                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5258                         there are better ways to do this in the named manager
5259
5260         * src/nm-device.c
5261           src/nm-device.h
5262                 - (nm_device_can_activate): return whether the device can activate a
5263                         connection right now; taking into account things like carrier state
5264                         and rfkill state
5265                 - (nm_device_get_best_auto_connection): renamed from
5266                         nm_device_get_best_connection
5267                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5268                         device subclasses themselves, so that each device can override the
5269                         MTU from it's NMSetting subclass if needed
5270                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5271                         in NetworkManagerSystem.c, not here
5272
5273         * src/named-manager/nm-named-manager.c
5274           src/named-manager/nm-named-manager.h
5275                 - (nm_named_manager_name_owner_changed,
5276                    nm_named_manager_dbus_connection_changed): fix for changes to
5277                         rewrite_resolv_conf()
5278                 - (compute_nameservers): don't need the NMNamedManager at all, remove
5279                         from parameter list
5280                 - (merge_one_ip4_config): new function; merge ip4 configs together
5281                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5282                         ip4 configs; the VPN config takes precedence, then the best
5283                         device config, then the rest of the configs
5284                 - (get_domain_for_config): take the NMNamedManager as an argument
5285                         to check whether the config is the VPN config
5286                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5287                         attribute from ip4 configs
5288                 - (add_all_ip4_configs_to_named): add all the configs in priority order
5289                 - (remove_ip4_config_from_named): fix for changes to
5290                         get_domain_for_config()
5291                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5292                         based on its type; callers must pass in the type now
5293                 - (get_last_default_domain): remove, unused
5294                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5295
5296         * src/nm-device-802-11-wireless.c
5297                 - (real_can_activate): new function
5298                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5299                 - (real_act_stage4_get_ip4_config): handle MTU override
5300
5301         * src/nm-device-802-3-ethernet.c
5302                 - (real_can_activate): new function
5303                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5304                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5305
5306         * src/vpn-manager/nm-vpn-connection.c
5307                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5308                         attribute on the ip4 config
5309
5310         * src/NetworkManagerPolicy.c
5311                 - (nm_policy_auto_get_best_device): remove
5312                 - (nm_policy_device_change_check): remove
5313                 - (update_default_route): new function; set the default route via
5314                         the specified device
5315                 - (get_device_priority): new function; return the priority number of
5316                         a device type WRT which one should have the default route.  Order is
5317                         (highest to lowest)  wired, wireless, GSM, CDMA.
5318                 - (update_routing_and_dns): new function; determine which device should
5319                         have the default route, then update the routing table and DNS
5320                 - (maybe_auto_activate_device): new function; if a device is now
5321                         available for activation, find out what connection it would like to
5322                         activate and do it
5323                 - (schedule_activate_check): new function; if a device can be activated
5324                         now, schedule the activation.  Each device may have only one
5325                         pending activation at a given time.
5326                 - (device_state_changed): if activation was canceled, try again,
5327                         possibly with another connection; if the device was activated,
5328                         update routing and DNS; if the device was deactivated, try again
5329                         with another connection
5330                 - (device_carrier_changed): if there is no carrier, deactivate the
5331                         device; otherwise schedule an activation check for the device
5332                 - (wireless_networks_changed): schedule an activation check for the
5333                         device
5334                 - (device_added): keep track of the signal handler IDs so they can
5335                         be removed when the device goes away
5336                 - (device_removed): remove any signal handlers that might be attached
5337                         to the device; update routing and DNS
5338                 - (schedule_activate_all): new function
5339                 - (connections_added, connection_added, connection_updated): when
5340                         connections change, schedule all devices for an activation check
5341                 - (connection_removed): when a device is deactivated because its
5342                         connection was removed, schedule another activation check for it
5343                 - (nm_policy_destroy): destroy pending activations and disconnect
5344                         all device signal handlers
5345
5346         * src/nm-manager.c
5347                 - (nm_manager_activate_device): if the device was already actived,
5348                         deactivate it
5349                 - (deactivate_old_device): remove
5350                 - (connection_added_default_handler, impl_manager_activate_device):
5351                         don't deactivate other devices when activating this one
5352
5353         * src/backends/NetworkManagerGentoo.c
5354           src/backends/NetworkManagerFrugalware.c
5355           src/backends/NetworkManagerPaldo.c
5356           src/backends/NetworkManagerRedHat.c
5357           src/backends/NetworkManagerSlackware.c
5358           src/backends/NetworkManagerArch.c
5359           src/backends/NetworkManagerSuSE.c
5360           src/backends/NetworkManagerDebian.c
5361                 - (nm_system_get_mtu): remove; MTU should be provided through the
5362                         distro's system settings service plugin instead
5363                 - (nm_system_device_add_default_route_via_device): remove
5364                 - (nm_system_device_add_default_route_via_device_with_iface): remove
5365                 - (nm_system_device_replace_default_route): new function; call
5366                         generic implementation
5367
5368         * src/backends/NetworkManagerGeneric.c
5369           src/backends/NetworkManagerGeneric.h
5370                 - (nm_generic_device_add_default_route_via_device,
5371                    nm_generic_device_add_default_route_via_device_with_iface): remove
5372                 - (nm_generic_device_replace_default_route): replace the default route
5373                         with the given route via some gateway
5374
5375         * src/NetworkManagerSystem.c
5376           src/NetworkManagerSystem.h
5377                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5378                         to routing and DNS; but set the MTU here
5379                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5380                         ip_iface of the active device; use the standard MTU setting function
5381                 - (nm_system_set_mtu): remove
5382                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5383
5384 2008-03-07  Tambet Ingo  <tambet@gmail.com>
5385
5386         Rework the interaction between ppp manager and pppd plugin. Register a well
5387         known DBUS service in manager and let the plugin call it's methods instead
5388         of listening plugin's signals.
5389
5390         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5391         of emitting signals.
5392
5393         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5394
5395         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5396
5397         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5398         nm_ppp_manager_start().
5399
5400         * introspection/nm-ppp-manager.xml: New file.
5401
5402         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5403         the case correctly where driver is trying to send -1 for the speed, which gets
5404         casted to u16 and thus is always > 0.
5405
5406 2008-03-07  Dan Williams  <dcbw@redhat.com>
5407
5408         * src/nm-hal-manager.c
5409                 - (nm_get_device_driver_name): use net.originating_device first, fall
5410                         back to physical device.  HAL has deprecated physical_device.
5411
5412         * libnm-glib/nm-device.c
5413                 - (get_product_and_vendor): use net.originating_device first, fall
5414                         back to physical device.  HAL has deprecated physical_device.
5415                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5416
5417 2008-03-07  Dan Williams  <dcbw@redhat.com>
5418
5419         * src/nm-netlink.c
5420                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5421                         last commit; fix that
5422                 - (get_link_cache): print error string
5423
5424 2008-03-07  Dan Williams  <dcbw@redhat.com>
5425
5426         * src/nm-netlink.c
5427                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5428                         don't need this hack any more (Benoit Boissinot)
5429
5430 2008-03-06  Dan Williams  <dcbw@redhat.com>
5431
5432         * autogen.sh
5433                 - Die gnome-common, die
5434
5435 2008-03-04  Dan Williams  <dcbw@redhat.com>
5436
5437         Patch from Michael Biebl <biebl@debian.org>
5438
5439         * NetworkManager.pc.in
5440                 - doesn't actually depend on dbus-1
5441
5442         * libnm-util/nm-utils.h
5443                 - remove unused #include <dbus/dbus.h>
5444
5445         * libnm-glib/libnm_glib.pc.in
5446                 - depends on glib and dbus-glib
5447
5448 2008-03-02  Dan Williams  <dcbw@redhat.com>
5449
5450         * src/NetworkManagerPolicy.c
5451                 - s/device_state_changed_idle_id/update_state_id/
5452
5453 2008-03-02  Dan Williams  <dcbw@redhat.com>
5454
5455         * src/nm-device.c
5456           src/nm-device.h
5457           src/nm-device-802-11-wireless.c
5458           src/nm-device-802-3-ethernet.c
5459           src/NetworkManagerPolicy.c
5460                 - s/link_active/carrier
5461                 - nm_device_set_active_link() -> nm_device_set_carrier()
5462                 - nm_device_has_active_link() -> nm_device_get_carrier()
5463
5464 2008-03-02  Dan Williams  <dcbw@redhat.com>
5465
5466         * system-settings/plugins/ifcfg-fedora/parser.c
5467                 - (make_wireless_setting): fail connection creation on missing SSID
5468
5469 2008-02-29  Dan Williams  <dcbw@redhat.com>
5470
5471         * src/NetworkManagerPolicy.c
5472                 - (nm_policy_device_change_check): ensure that a previously active
5473                         device with a system connection has a link before denying a switch
5474                         to a user connection
5475
5476 2008-02-29  Dan Williams  <dcbw@redhat.com>
5477
5478         * src/nm-device-802-11-wireless.c
5479                 - (link_timeout_cb): try again if scanning; deactivate the device when
5480                         activated if the link dies
5481                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5482                         15 seconds
5483
5484 2008-02-29  Dan Williams  <dcbw@redhat.com>
5485
5486         * src/nm-device-802-11-wireless.c
5487           src/nm-device-802-11-wireless.h
5488                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5489                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5490                 - (device_cleanup): reset the scan interval lower when the device
5491                         deactivates
5492                 - (can_scan): base decision mostly off device state, not supplicant
5493                         interface state since the supplicant interface state isn't a
5494                         great indicator of whether the device is active or not
5495                 - (request_wireless_scan): clean up; schedule the next scan here
5496                 - (schedule_scan): only back the scan interval off if a new scan
5497                         actually gets scheduled; and make scan intervals tighter when the
5498                         device is disconnected
5499                 - (supplicant_iface_state_cb_handler): fold in the bits of
5500                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5501                         interval to minimum
5502                 - (activation_success_handler): reset scan interval to something
5503                         reasonable 
5504
5505 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
5506
5507         reviewed by: Steev <steev@steev.net>
5508
5509         * configure.in:
5510         * src/backends/NetworkManagerGentoo.c:
5511         (nm_system_restart_mdns_responder):
5512                 Howl is no longer a supported mDNS provider
5513
5514 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5515
5516         Get rid of a bunch of unused distro specific functions.
5517
5518 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5519
5520         Implement suse plugin for system settings daemon.
5521
5522         * system-settings/plugins/ifcfg-suse/*: Implement.
5523
5524         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5525         suse.
5526
5527         * configure.in: Check (without failing) for gio.
5528         Create ifcfg-suse plugin's Makefile.
5529
5530 2008-02-20  Dan Williams  <dcbw@redhat.com>
5531
5532         * libnm-util/nm-connection.c
5533           libnm-util/nm-connection.h
5534                 - (nm_connection_compare): accept compare flags and pass them to the
5535                         setting compare function
5536
5537         * libnm-util/nm-setting.c
5538           libnm-util/nm-setting.h
5539                 - (nm_setting_compare): accept compare flags; ignore properties that are
5540                         marked fuzzy
5541
5542         * libnm-util/nm-setting-connection.c
5543           libnm-util/nm-setting-wireless.c
5544           libnm-util/nm-setting-ppp.c
5545           libnm-util/nm-setting-wired.c
5546                 - Mark some setting properties as ignorable when doing a fuzzy compare
5547
5548         * src/nm-device.c
5549                 - (device_activation_precheck): use exact compare
5550
5551 2008-02-20  Dan Williams  <dcbw@redhat.com>
5552
5553         * src/NetworkManagerPolicy.c
5554                 - (nm_policy_device_change_check): get scope off the connection, not
5555                         using the manager helper
5556
5557         * src/nm-manager.c
5558           src/nm-manager.h
5559                 - (get_scope_for_proxy): rename from get_type_for_proxy()
5560                 - (connection_get_settings_cb): set scope and path on connection, not
5561                         using GObject data items
5562                 - (get_connection_for_proxy): don't need to return path, since that
5563                         can be gotten from the connection
5564                 - (get_connection_for_proxy): get path off the connection, not from
5565                         parameters
5566                 - (connection_removed_cb, connection_updated_cb): don't need to get
5567                         path from get_connection_for_proxy(); get scope off the connection
5568                         instead of using GObject data items
5569                 - (connection_added_default_handler, add_one_connection_element): use
5570                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5571                 - (nm_manager_get_connection_dbus_path): remove
5572                 - (nm_manager_get_connection_scope): remove
5573
5574 2008-02-20  Dan Williams  <dcbw@redhat.com>
5575
5576         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5577                 on confusing names
5578
5579         * Add 'path' and 'scope' properties to NMConnection since both NM and the
5580                 applet were having to hack this in anyway.  Remove the 'path' stuff from
5581                 NMExportedConnection
5582
5583         * Internally rename NMConnectionType -> NMConnectionScope
5584
5585         * Provide default implementations of the 'get_id' and 'get_settings' methods
5586                 of NMExportedConnection
5587
5588 2008-02-15  Dan Williams  <dcbw@redhat.com>
5589
5590         * src/nm-device-802-11-wireless.c
5591                 - (device_cleanup): release the AP list here too so that the AP list
5592                         doesn't survive across suspend/resume and up/down.  There is some
5593                         room for optimization, for example blow the list away when the card
5594                         brought back up, but only if the device has only been down for a
5595                         minute or more.
5596
5597 2008-02-15  Dan Williams  <dcbw@redhat.com>
5598
5599         * src/nm-hal-manager.c
5600                 - (modem_device_creator): recognize new HAL modem capabilities
5601
5602 2008-02-12  Dan Williams  <dcbw@redhat.com>
5603
5604         * system-settings/plugins/ifcfg-fedora/plugin.c
5605                 - (watch_path): handle IN_DELETE_SELF too
5606                 - (handle_connection_changed): notify when removing a connection
5607                 - (stuff_changed): don't warn on unknown inotify watches; handle the
5608                         case of a file moving out of the profile directory
5609
5610 2008-02-12  Dan Williams  <dcbw@redhat.com>
5611
5612         * system-settings/plugins/ifcfg-fedora/parser.c
5613                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5614
5615 2008-02-12  Dan Williams  <dcbw@redhat.com>
5616
5617         * libnm-util/nm-utils.c
5618                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5619                         just any empty array
5620
5621 2008-02-12  Dan Williams  <dcbw@redhat.com>
5622
5623         * system-settings/src/nm-system-config-interface.c
5624           system-settings/src/nm-system-config-interface.h
5625                 - (load_connections): get_connections() should now return an allocated
5626                         GSList that the system settings service will free
5627
5628         * system-settings/plugins/ifcfg-fedora/plugin.c
5629           system-settings/plugins/ifcfg-fedora/parser.h
5630           system-settings/plugins/ifcfg-fedora/parser.c
5631                 - Fix up inotify issues; handle keys-* files, handle new files appearing
5632                         in the profile directory, handle resolv.conf file changes
5633
5634 2008-02-10  Dan Williams  <dcbw@redhat.com>
5635
5636         * src/nm-device-802-3-ethernet.c
5637                 - (real_bring_up): save the supplicant interface state signal id
5638                 - (real_bring_down): disconnect from the supplicant interface state
5639                         signal
5640
5641 2008-02-07  Dan Williams  <dcbw@redhat.com>
5642
5643         * initscript/RedHat/NetworkManager.in
5644           initscript/RedHat/NetworkManagerDispatcher.in
5645                 - Add new-style LSB init headers
5646
5647 2008-02-07  Dan Williams  <dcbw@redhat.com>
5648
5649         * system-settings/src/dbus-settings.c
5650           system-settings/src/dbus-settings.h
5651                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5652                         table of secrets
5653                 - (connection_settings_get_secrets): consolidate error returns into
5654                         one place; use the new get_secrets() plugin interface function to
5655                         get secrets from the plugin itself rather than using GObject data
5656                         magic
5657
5658         * system-settings/src/main.c
5659                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5660                    load_connections): keep a private list of the plugin-returned
5661                         connections, don't use the plugin's GSList
5662
5663         * system-settings/plugins/ifcfg-fedora/plugin.c
5664                 - (watch_path): watch the path, not the filename (duh)
5665                 - (reload_all_connections): use the direct hash/equal functions; the
5666                         ones for int aren't appropriate here
5667                 - (get_secrets, system_config_interface_init): implement the
5668                         get_secrets() function
5669                 - (build_one_connection, find_connection_by_path): ifcfg file path is
5670                         now in the connection's ConnectionData instead of being a GObject
5671                         data property
5672                 - (handle_profile_item_changed): ifcfg file path is now in the
5673                         connection's ConnectionData instead of being a GObject data property;
5674                         be sure to copy secrets over from the new connection to the existing
5675                         connection when updating the connection's settings
5676                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5677                         file descriptor
5678
5679         * system-settings/plugins/ifcfg-fedora/parser.c
5680           system-settings/plugins/ifcfg-fedora/parser.h
5681                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5682                    connection_data_copy_secrets, connection_data_free,
5683                    connection_data_add): new functions; connection data manipulation
5684                 - (make_wireless_security_setting): stuff secrets into the
5685                         connection data, not as GObject data items; make sure to close
5686                         the keys ifcfg file
5687                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5688                         connection data to the connection
5689
5690 2008-02-07  Dan Williams  <dcbw@redhat.com>
5691
5692         * system-settings/src/nm-system-config-interface.c
5693           system-settings/src/nm-system-config-interface.h
5694                 - Add a get_secrets() interface function to retrieve secrets for a
5695                         specific setting of a specific connection.  Document the interface
5696                         a bit more too.
5697
5698 2008-02-07  Dan Williams  <dcbw@redhat.com>
5699
5700         * src/nm-device-802-11-wireless.c
5701                 - (handle_auth_or_fail): new function; consolidate device activation
5702                         failure check after a certain number of failures getting secrets
5703                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5704                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5705                         the connection if secrets were requested more than a few times
5706                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5707                         tries here; otherwise they are cleared before the IP configure
5708                         timeout, which happens with open system WEP when key is wrong
5709                 - (activation_success_handler): clear wireless secrets tries here too
5710
5711 2008-02-07  Dan Williams  <dcbw@redhat.com>
5712
5713         * src/NetworkManagerPolicy.c
5714                 - (connection_updated): clear invalid tag when connection gets updated
5715                         to allow that connection to be tried again
5716                 - (nm_policy_new): save signal ids so they can be disconnected when
5717                         the policy is destroyed
5718                 - (nm_policy_destroy): stop any in-progress state change idle handler,
5719                         and disconnect all signals from the manager object so that none
5720                         of the policy functions gets called after the policy is destroyed
5721
5722 2008-02-06  Dan Williams  <dcbw@redhat.com>
5723
5724         * src/nm-manager.c
5725                 - (finalize): remove devices a bit earlier; clean up system settings
5726                         poke
5727                 - (nm_manager_name_owner_changed): clean up system settings poke when
5728                         the service appears, and try to restart it if it fails
5729                 - (poke_system_settings_daemon_cb): try to get the system settings
5730                         service started through D-Bus service activation
5731                 - (initial_get_connections): start the system settings daemon if it's
5732                         not already running
5733
5734 2008-02-05  Dan Williams  <dcbw@redhat.com>
5735
5736         * src/supplicant-manager/nm-supplicant-config.c
5737                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5738                         broadcast networks too
5739
5740 2008-02-04  Dan Williams  <dcbw@redhat.com>
5741
5742         * system-settings/plugins/ifcfg-fedora/parser.c
5743                 - (make_wireless_security_setting): fix spelling; unencrypted networks
5744                         need key_mgmt set too
5745                 - (parser_parse_file): validate ifcfg file name and don't try to parse
5746                         .bak files; ensure that an error is set whenever NULL gets returned
5747
5748 2008-02-04  Dan Williams  <dcbw@redhat.com>
5749
5750         * system-settings/src/Makefile.am
5751                 - Install D-Bus service activation file for the system settings
5752                         service
5753
5754         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5755                 - D-Bus service activation file for system settings service
5756
5757 2008-02-04  Dan Williams  <dcbw@redhat.com>
5758
5759         * system-settings/src/main.c
5760                 - (parse_config_file): parse a config file
5761                 - (main): accept --config option and read plugins from config file
5762
5763 2008-02-04  Dan Williams  <dcbw@redhat.com>
5764
5765         * system-settings/plugins/ifcfg-fedora/plugin.c
5766                 - Change reported name to 'ifcfg-fedora'
5767                 - Use IFCFG_PLUGIN_NAME
5768
5769         * system-settings/plugins/ifcfg-fedora/plugin.c
5770                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5771
5772 2008-02-04  Dan Williams  <dcbw@redhat.com>
5773
5774         * system-settings/plugins/ifcfg-fedora/parser.c
5775                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5776                 - (make_connection_setting): use get_ifcfg_name()
5777                 - (make_wireless_security_setting): handle shadow key files
5778                 - (get_one_wep_key): treat empty string as NULL
5779
5780 2008-02-04  Dan Williams  <dcbw@redhat.com>
5781
5782         * src/supplicant-manager/nm-supplicant-manager.c
5783                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5784                         glib automatically reschedule
5785                 - (nm_supplicant_manager_init): immediately try to start the supplicant
5786                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5787                         the supplicant
5788
5789 2008-02-01  Dan Williams  <dcbw@redhat.com>
5790
5791         * src/NetworkManagerPolicy.c
5792                 - (device_state_changed): schedule a change check when a device gets
5793                         deactivated so something happens if you disconnect GSM/CDMA
5794
5795 2008-01-31  Dan Williams  <dcbw@redhat.com>
5796
5797         * src/nm-device-802-11-wireless.h
5798           src/nm-device-802-11-wireless.c
5799                 - (ap_list_get_ap_by_ssid, is_associated,
5800                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5801                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5802                 - (nm_device_802_11_wireless_get_activation_ap): collapse
5803                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5804                         function
5805
5806 2008-01-30  Dan Williams  <dcbw@redhat.com>
5807
5808         * system-settings/plugins/ifcfg
5809         * system-settings/plugins/ifcfg-fedora
5810                 - Move the ifcfg plugin to ifcfg-fedora
5811
5812 2008-01-24  Dan Williams  <dcbw@redhat.com>
5813
5814         * libnm-glib/nm-device-802-11-wireless.c
5815                 - (get_access_point): move the "/" check here; check for invalid path
5816                         too
5817                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5818                         to get_access_point()
5819                 - (access_point_added_proxy, access_point_removed_proxy): don't try
5820                         to send signals for non-existent access points
5821
5822 2008-01-24  Dan Williams  <dcbw@redhat.com>
5823
5824         * libnm-glib/nm-device-802-11-wireless.c
5825                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5826
5827 2008-01-23  Dan Williams  <dcbw@redhat.com>
5828
5829         * libnm-glib/libnm_glib.c
5830                 - (libnm_glib_init): make thread joinable
5831                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5832
5833 2008-01-23  Dan Williams  <dcbw@redhat.com>
5834
5835         * test/libnm_glib_test.c
5836                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5837                 - (main): set up signal handlers; call libnm_glib_shutdown
5838
5839 2008-01-21  Dan Williams  <dcbw@redhat.com>
5840
5841         * include/NetworkManager.h
5842                 - Add CDMA mobile broadband card device type
5843
5844         * src/nm-hal-manager.c
5845                 - (modem_device_creator): handle both CDMA and GSM modems; the device
5846                         must now be tagged with 'cdma' or 'gsm' capability
5847
5848         * src/nm-cdma-device.c
5849           src/nm-cdma-device.h
5850           src/Makefile.am
5851                 - Add the CDMA mobile broadband card device class
5852
5853         * libnm-util/nm-connection.c
5854                 - (register_default_settings): add NMSettingCdma
5855
5856         * libnm-util/nm-setting-cdma.c
5857           libnm-util/nm-setting-cdma.h
5858           libnm-util/Makefile.am
5859                 - Add the CDMA mobile broadband card setting class
5860
5861         * libnm-glib/nm-cdma-device.c
5862           libnm-glib/nm-cdma-device.h
5863           libnm-glib/Makefile.am
5864                 - Add the CDMA mobile broadband card GLib proxy class
5865
5866         * libnm-glib/nm-client.c
5867                 - (get_device): handle CDMA devices too
5868
5869 2008-01-21  Dan Williams  <dcbw@redhat.com>
5870
5871         * src/ppp-manager/nm-ppp-manager.c
5872                 - (ip4_config_get): set peer address too
5873
5874         * src/ppp-manager/nm-pppd-plugin.c
5875                 - (nm_ip_up): try harder to get the peer's address
5876
5877         * src/NetworkManagerSystem.c
5878                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
5879                         address, use that too.  Otherwise, some PPP connections won't work.
5880
5881 2008-01-19  Dan Williams  <dcbw@redhat.com>
5882
5883         * src/NetworkManagerPolicy.c
5884                 - (nm_policy_device_change_check): system connections override user
5885                         connections; don't activate a user connection if there's a currently
5886                         active system connection, and new, better system connections always
5887                         interrupt user connections
5888
5889 2008-01-19  Dan Williams  <dcbw@redhat.com>
5890
5891         * src/nm-manager.h
5892                 - (nm_manager_get_connection_type): new function
5893
5894 2008-01-19  Dan Williams  <dcbw@redhat.com>
5895
5896         * src/nm-device-802-11-wireless.c
5897                 - (real_get_best_connection): collapse find_best_connection() into this
5898                         function
5899
5900 2008-01-19  Dan Williams  <dcbw@redhat.com>
5901
5902         * src/nm-device-802-3-ethernet.c
5903                 - (real_get_best_connection): collapse find_best_connection() into this
5904                         function
5905
5906 2008-01-18  Dan Williams  <dcbw@redhat.com>
5907
5908         * src/nm-device-802-3-ethernet.c
5909                 - (find_best_connection): check MAC address too
5910                 - (real_get_best_connection): let autoconnect=True connections activate
5911                         for devices that don't have carrier detection
5912
5913         * src/nm-device-802-11-wireless.c
5914                 - (find_best_connection): check MAC address too
5915
5916 2008-01-18  Dan Williams  <dcbw@redhat.com>
5917
5918         * system-settings/plugins/ifcfg/parser.c
5919                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
5920
5921 2008-01-17  Dan Williams  <dcbw@redhat.com>
5922
5923         * src/nm-device-802-3-ethernet.c
5924                 - (nm_device_802_3_ethernet_carrier_on,
5925                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
5926                         carrier events that might come in for devices that don't support
5927                         carrier detect
5928
5929 2008-01-17  Dan Williams  <dcbw@redhat.com>
5930
5931         * src/nm-device-interface.c
5932                 - (nm_device_interface_check_connection_conflicts): need to actually
5933                         get the interface, not cast to the object
5934
5935         * src/nm-device.c
5936                 - (nm_device_check_connection_conflicts): need to get the device class,
5937                         not cast the device to the device class
5938
5939 2008-01-17  Dan Williams  <dcbw@redhat.com>
5940
5941         * src/nm-device-802-11-wireless.c
5942                 - (real_check_connection_conflicts): ignore connections that aren't
5943                         wireless connections
5944
5945 2008-01-17  Dan Williams  <dcbw@redhat.com>
5946
5947         * src/NetworkManagerPolicy.c
5948                 - (nm_policy_device_change_check): clear change check idle here
5949                 - (device_change_check_done): remove
5950                 - (schedule_change_check): simplify
5951
5952 2008-01-17  Dan Williams  <dcbw@redhat.com>
5953
5954         * src/nm-manager.c
5955                 - (check_connection_allowed): take an NMDeviceInterface instead of
5956                         an NMDevice object as an argument
5957                 - (nm_manager_activate_device): pass an NMDeviceInterface to
5958                         check_connection_allowed()
5959
5960 2008-01-13  Dan Williams  <dcbw@redhat.com>
5961
5962         * libnm-glib/nm-device-802-11-wireless.c
5963                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
5964
5965 2008-01-12  Dan Williams  <dcbw@redhat.com>
5966
5967         * src/nm-device-802-11-wireless.c
5968                 - (activation_success_handler): if a match was found in the scan list
5969                         and that match is a hidden AP, update that AP's SSID
5970
5971 2008-01-11  Dan Williams  <dcbw@redhat.com>
5972
5973         * src/NetworkManagerAP.c
5974                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
5975
5976         * src/nm-device-802-11-wireless.c
5977                 - (get_active_ap): do two passes over the scan list if the caller
5978                         requests that hidden APs get matched too; during the second pass
5979                         when matching hidden APs, ignore the SSID since hidden APs in the
5980                         scan list don't have an SSID yet
5981                 - (periodic_update): move some checks to
5982                         nm_device_802_11_periodic_update() because not all callers need them
5983                 - (nm_device_802_11_periodic_update): move some checks here from
5984                         perodic_update()
5985                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
5986                         matching on incoming scan results, because the fake AP's flags
5987                         might be slightly different (yet still compatible) with the incoming
5988                         scan result's flags and they might actually be the same AP; update
5989                         the rate on merged APs too
5990                 - (activation_success_handler): update the frequency of the fake AP
5991                         on successful connection; match hidden APs too since if the
5992                         current AP is fake, there might already be a scan result in the
5993                         scan list for the desired AP, just without it's SSID filled in yet
5994
5995 2008-01-10  Dan Williams  <dcbw@redhat.com>
5996
5997         * src/NetworkManagerAP.c
5998                 - (foreach_property_cb): catch more hidden SSID formats
5999
6000 2008-01-10  Dan Williams  <dcbw@redhat.com>
6001
6002         Fix gnome.org #464215.  Requires the kernel patch titled
6003         "Introduce WEXT scan capabilities" but will handle the patch not being
6004         present, you'll just continue to have problems with hidden SSIDs when
6005         using mac80211-based drivers.
6006
6007         * src/supplicant-manager/nm-supplicant-config.h
6008           src/supplicant-manager/nm-supplicant-config.c
6009                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6010                         whether the driver supports SSID scans or not.  If it does, and if
6011                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
6012
6013         * src/nm-device-802-11-wireless.c
6014                 - (constructor): check whether or not the driver supports SSID scans
6015                 - (build_supplicant_config): pass driver SSID scan capability when
6016                         building the wireless bits of the supplicant config
6017
6018 2008-01-09  Dan Williams  <dcbw@redhat.com>
6019
6020         * src/nm-device.c
6021           src/nm-device.h
6022                 - (device_activation_precheck, check_connection_complete): remove this
6023                         virtual function; incomplete connections should be invalid by
6024                         definition, complete-ness should be checked in the setting's
6025                         verify function
6026
6027         * src/nm-serial-device.c
6028           src/nm-gsm-device.c
6029                 - (real_check_connection_complete): remove
6030
6031         * libnm-util/nm-setting-serial.c
6032                 - (verify): new function; ensure there is a PPP setting too
6033
6034         * libnm-util/nm-setting-gsm.c
6035                 - (verify): ensure there is a serial setting too
6036
6037 2008-01-06  Dan Williams  <dcbw@redhat.com>
6038
6039         * src/dhcp-manager/nm-dhcp-manager.c
6040                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6041                         (gnome.org #332953)
6042
6043 2008-01-04  Dan Williams  <dcbw@redhat.com>
6044
6045         * src/named-manager/nm-named-manager.c
6046                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6047                         nameservers if the secondary config doesn't have any
6048                         (gnome.org #346833)
6049
6050 2008-01-02  Tambet Ingo  <tambet@gmail.com>
6051
6052         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6053         with G_PARAM_CONSTRUCT so that they get the default values.
6054
6055         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6056         the monitoring device and prints out the output for now. Or more precicely, doesn't
6057         do absolutely anything right now since the montoring device argument is never set.
6058
6059         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6060         requires it's own knob to turn it on.
6061         (config_fd): Add NMSettingSerial to the arguments list.
6062         (nm_serial_device_open): Ditto.
6063         (get_reply_got_data): Ignore the terminators at the beginning of the output.
6064         (nm_serial_device_get_io_channel): Implement.
6065
6066         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6067         a new reference every time (and forgetting to release it sometimes) is a pain and
6068         it's not like NMManager could work without dbus.
6069         (nm_manager_add_device): Register the added device on dbus here.
6070
6071         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6072         device.
6073
6074         * src/nm-device.c (constructor): Don't export the device here, instead export
6075         it when it's added to the NMManager's device list.
6076
6077 2007-12-31  Dan Williams  <dcbw@redhat.com>
6078
6079         * src/nm-device-interface.c
6080           src/nm-device-interface.h
6081                 - (nm_device_interface_check_connection_conflicts): new function
6082
6083         * src/nm-device.c
6084           src/nm-device.h
6085                 - (nm_device_check_connection_conflicts): new function
6086                 - (device_activation_precheck): don't require subclasses to implement
6087                         check_connection_complete()
6088                 - check_connection() -> check_connection_complete()
6089
6090         * src/nm-device-802-11-wireless.c
6091                 - (real_check_connection): remove; unused
6092                 - (real_check_connection_conflicts): implement, handle lockdown for
6093                         system connections
6094
6095         * src/nm-device-802-3-ethernet.c
6096                 - (real_check_connection): remove; unused
6097
6098         * src/nm-manager.c
6099                 - (check_connection_allowed): new function
6100                 - (nm_manager_activate_device): ensure the connection being requested
6101                         is allowed to be activated
6102
6103         * src/nm-serial-device.c
6104           src/nm-gsm-device.c
6105                 - real_check_connection() -> real_check_connection_complete()
6106
6107 2007-12-27  Dan Williams  <dcbw@redhat.com>
6108
6109         * src/nm-device-interface.c
6110           src/nm-device-interface.h
6111                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6112                         normalize and expand errors
6113                 - (nm_device_interface_init): register errors so they can be marshalled
6114                         through dbus-glib
6115                 - (nm_device_interface_activate): ensure that failure of activation
6116                         returns an error
6117
6118         * src/nm-device.c
6119           src/nm-device.h
6120                 - (device_activation_precheck): implementations of check_connection()
6121                         now take a GError and must fill it in if the check fails.  Return
6122                         more descriptive error if the requested connection is already
6123                         activating
6124                 - (nm_device_activate): actually try to return descriptive errors on
6125                         failures
6126
6127         * src/nm-device-802-11-wireless.c
6128           src/nm-device-802-3-ethernet.c
6129           src/nm-serial-device.c
6130           src/nm-gsm-device.c
6131                 - (real_check_connection): return more descriptive errors on failure
6132
6133         * src/NetworkManagerPolicy.c
6134                 - (nm_policy_device_change_check): print activation errors in the logs
6135
6136         * src/nm-manager.c
6137                 - (nm_manager_error_quark, nm_manager_error_get_type,
6138                    nm_manager_class_init): new errors
6139                 - (nm_manager_activate_device): handle errors
6140                 - (nm_manager_error_new): removed
6141                 - (wait_for_connection_expired, connection_added_default_handler,
6142                    impl_manager_activate_device): better error handling
6143
6144 2007-12-27  Dan Williams  <dcbw@redhat.com>
6145
6146         Fixes gnome.org #466954
6147
6148         * src/supplicant-manager/nm-supplicant-settings-verify.c
6149                 - Allow 'frequency' network property
6150
6151         * src/supplicant-manager/nm-supplicant-config.c
6152           src/supplicant-manager/nm-supplicant-config.h
6153                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6154                         for callers to specify the frequency an Ad-Hoc network should operate
6155                         on.  Some drivers require this to successfully create an Ad-Hoc
6156                         network.
6157
6158         * src/nm-device-802-11-wireless.c
6159                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6160                         guint32 value in MHz
6161                 - (constructor, nm_device_802_11_wireless_get_frequency): use
6162                         iw_freq_to_uint32()
6163                 - (find_supported_frequency): new function; find a free supported
6164                         frequency for a user-created Ad-Hoc network
6165                 - (build_supplicant_config): if no frequency was specified for a user-
6166                         created Ad-Hoc network, find a free one to use
6167                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6168                         a specific object as user-created
6169
6170 2007-12-27  Dan Williams  <dcbw@redhat.com>
6171
6172         * libnm-util/nm-utils.c
6173           libnm-util/nm-utils.h
6174                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6175                         for adhoc networks
6176
6177 2007-12-24  Dan Williams  <dcbw@redhat.com>
6178
6179         * libnm-util/nm-setting-wireless.c
6180                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6181                         185, 187, 188, 192, and 196
6182
6183 2007-12-24  Dan Williams  <dcbw@redhat.com>
6184
6185         * src/nm-device-802-11-wireless.c
6186                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6187                         a channel # instead of a frequency
6188
6189 2007-12-24  Dan Williams  <dcbw@redhat.com>
6190
6191         * src/NetworkManagerAP.c
6192           src/NetworkManagerAP.h
6193                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6194                 - (freq_to_channel): handle split band tables
6195                 - (channel_to_freq): handle split band tables, take a band argument
6196
6197 2007-12-24  Dan Williams  <dcbw@redhat.com>
6198
6199         * libnm-util/nm-setting-connection.h
6200           libnm-util/nm-setting-connection.c
6201                 - Add 'lockdown' member
6202
6203 2007-12-22  Dan Williams  <dcbw@redhat.com>
6204
6205         * libnm-util/nm-setting-wireless.c
6206                 - (nm_setting_wireless_class_init): add missing 'rate' property
6207                         specification
6208
6209 2007-12-18  Dan Williams  <dcbw@redhat.com>
6210
6211         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6212
6213         * src/nm-netlink-monitor.c
6214           src/nm-netlink-monitor.h
6215                 - Remove handrolled netlink, use libnl instead
6216
6217         * src/nm-device-802-3-ethernet.c
6218                 - (constructor, nm_device_802_3_ethernet_carrier_off,
6219                    nm_device_802_3_ethernet_carrier_on): use new names
6220
6221 2007-12-17  Dan Williams  <dcbw@redhat.com>
6222
6223         * configure.in
6224                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6225                         and fixes memory leaks)
6226
6227         * src/nm-netlink.c
6228                 - (nm_netlink_get_default_handle): handle new versions of libnl that
6229                         automatically handle the netlink PID
6230
6231 2007-12-17  Dan Williams  <dcbw@redhat.com>
6232
6233         Patch from Michael Biebl <biebl@debian.org>
6234
6235         * configure.in
6236           src/ppp-manager/Makefile.am
6237                 - fix up install dir of pppd plugin
6238                 - clean up configure.in a bit
6239
6240 2007-12-12  Dan Williams  <dcbw@redhat.com>
6241
6242         * system-settings/src/nm-system-settings.conf
6243                 - Allow non-root clients (like the applet) to read settings
6244
6245 2007-12-10  Tambet Ingo  <tambet@gmail.com>
6246
6247         * Replace all occurences of 'UMTS' with 'GSM'.
6248
6249 2007-12-07  Dan Williams  <dcbw@redhat.com>
6250
6251         * src/nm-serial-device.c
6252                 - (real_is_up): serial devices are always "up"
6253
6254 2007-12-07  Dan Williams  <dcbw@redhat.com>
6255
6256         * src/nm-netlink.c
6257           src/NetworkManagerSystem.c
6258                 - (new_nl_handle): ensure that the same netlink pid is never chosen
6259                         twice (gnome.org #491047)
6260                 - Make more robust against allocation-related failures should they occur
6261
6262 2007-12-07  Dan Williams  <dcbw@redhat.com>
6263
6264         Noticed by Christian Persch <chpe@gnome.org>
6265
6266         Always chain up to parent object in dispose and finalize handlers.
6267                 (gnome.org #433112)
6268
6269 2007-12-07  Dan Williams  <dcbw@redhat.com>
6270
6271         * src/nm-device-802-11-wireless.c
6272                 - Wrap #include of linux/mii.h to fix redefined structures due to
6273                         incorrect kernel headers (gnome.org #350061)
6274
6275 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6276
6277         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6278         before doing anything else.
6279         (init_modem): Move modem initialization here.
6280
6281         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6282         (nm_serial_device_flash): Implement.
6283
6284         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6285         changes signal is "StateChanged" and not "Status".
6286         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6287
6288 2007-12-06  Dan Williams  <dcbw@redhat.com>
6289
6290         * src/supplicant-manager/nm-supplicant-config.c
6291                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6292                         to only send some options when they make sense; also send phase2
6293                         option to the supplicant (possible fix for rh #399631)
6294
6295 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6296
6297         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6298         arguments: This whole file shouldn't really know anything about NMDevices, it
6299         should deal only with device interfaces. Devices might have different ifaces for
6300         different stuff and this place shouldn't know anything about it.
6301
6302         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6303         (global_state_changed): Implement. In the current NM it's not really important,
6304         but will be required in the case of multiple active devices. (Or even better,
6305         if stuff like that gets moved out from NM).
6306
6307         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6308         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
6309         instead.
6310
6311         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6312         devices like serial devices (ttyS0 and ppp0 for example).
6313         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6314         set.
6315         (nm_device_set_ip_iface): Implement.
6316         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6317         after setting ip4_config from here ...
6318         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6319         than this function should call nm_system_device_set_from_ip4_config() because no
6320         other code has enough information on which arguments to use. So instead, other code
6321         could just set the new ip4 config using this function and everyone is happy.
6322
6323         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6324         if we happen to get deactivated while something is pending.
6325         (automatic_registration): Handle the response that indicates pending network
6326         registration and wait until the pending registration is done.
6327         (real_deactivate_quickly): If there's a pending operation, cancel it.
6328
6329         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6330         (real_deactivate_quickly): ... and remove it when it's down.
6331         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6332         it if needed.
6333         (nm_serial_device_wait_for_reply): Ditto.
6334
6335 2007-12-05  Tambet Ingo  <tambet@gmail.com>
6336
6337         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6338         (get_network_done): Remove newline, nm_info() does it already.
6339         (real_act_stage1_prepare): Turn the modem echo off.
6340
6341         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6342         device, set the route to the device interface. This is a hack.
6343
6344         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
6345         return, no need for a new-line.
6346         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6347         Change the device iface here (ugh).
6348         (real_act_stage4_get_ip4_config): Implement.
6349         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6350         Restore the device iface.
6351
6352         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6353         device is not wired or wireless (eg, automatically upped) device.
6354
6355         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6356         it isn't.
6357         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6358
6359         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6360         before calling it's is_device_fn().
6361
6362 2007-12-05  Dan Williams  <dcbw@redhat.com>
6363
6364         * libnm-util/nm-utils.c
6365                 - (nm_utils_register_value_transformations,
6366                    nm_utils_convert_gvalue_hash_to_string): better debug output of
6367                         GHashTables of GValues too
6368
6369 2007-12-04  Dan Williams  <dcbw@redhat.com>
6370
6371         * initscript/RedHat/NetworkManager.in
6372                 - No longer start named; it's D-Bus interface is going away
6373
6374 2007-12-04  Dan Williams  <dcbw@redhat.com>
6375
6376         Patch from Michael Biebl <biebl@debian.org>
6377
6378         * system-settings/plugins/ifcfg/Makefile.am
6379           system-settings/src/main.c
6380           system-settings/src/Makefile.am
6381                 - Put system settings plugins in NM plugins dir
6382
6383         * src/ppp-manager/Makefile.am
6384           src/ppp-manager/nm-ppp-manager.c
6385                 - Move pppd plugin to NM plugins dir
6386
6387 2007-12-04  Dan Williams  <dcbw@redhat.com>
6388
6389         * libnm-util/nm-setting-vpn-properties.h
6390                 - Clarify usage of the 'data' member of the setting
6391
6392         * libnm-util/nm-setting-vpn-properties.c
6393                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6394                 - (set_property): just remove all the settings; don't recreate the has
6395                 - (update_one_secret): don't need to create the hash table here since
6396                         it should always be present
6397
6398 2007-12-03  Tambet Ingo  <tambet@gmail.com>
6399
6400         Implement PIN and PUK requesting.
6401
6402         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6403         (enter_pin): Handle PIN and PUK requests.
6404         (real_act_stage1_prepare): Clear the secret type.
6405         (real_connection_secrets_updated): Implement this class method to get
6406         notified when new secrets arrive.
6407         (nm_umts_device_class_init): Add private data back to the umts device class
6408         to store the required secret type.
6409
6410 2007-12-01  Dan Williams  <dcbw@redhat.com>
6411
6412         * system-settings/plugins/ifcfg/parser.c
6413                 - (parser_parse_file): don't try to verify NULL connections
6414
6415 2007-12-01  Dan Williams  <dcbw@redhat.com>
6416
6417         * system-settings/src/main.c
6418                 - (load_connections, add_connection_to_settings): actually export
6419                         plugin-provided connections over D-Bus so NM can get them
6420
6421 2007-12-01  Dan Williams  <dcbw@redhat.com>
6422
6423         * system-settings/plugins/ifcfg/parser.c
6424           system-settings/plugins/ifcfg/parser.h
6425           system-settings/plugins/ifcfg/plugin.c
6426                 - Hook up more inotify bits (untested)
6427
6428 2007-11-29  Dan Williams  <dcbw@redhat.com>
6429
6430         * system-settings/src/nm-system-config-interface.h
6431           system-settings/src/nm-system-config-interface.c
6432                 - (nm_system_config_interface_init,
6433                    nm_system_config_interface_get_connections): add
6434
6435         * system-settings/src/main.c
6436                 - (load_plugins, load_connections, main): use a GSList for plugins
6437                         to ensure priority ordering
6438
6439         * system-settings/plugins/ifcfg/parser.c
6440                 - (ifcfg_error_quark): move to plugin.c, and rename
6441
6442         * system-settings/plugins/ifcfg/plugin.h
6443           system-settings/plugins/ifcfg/plugin.c
6444                 - (ifcfg_plugin_error_quark): move here from parser.c
6445                 - rework connection loading and initialization
6446                 - Add preliminary inotify support for network profile config file
6447
6448 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6449
6450         Merge the beginnings of the new GSM card support.
6451
6452         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6453         ppp watch source before killing pppd - If this happens from g_object_unref()
6454         then the ppp manager is already destroyed by the time the watch callback runs.
6455
6456         * src/nm-hal-manager.c: Add a device_type_name string to the device
6457         creators, so that we can print a nice human readable string when a
6458         device is added.
6459
6460         * src/nm-umts-device.c (automatic_registration_get_network): Query
6461         for the activated network, not much is done with the result thought.
6462
6463         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6464         (ppp_ip4_config): Change the device state to activated here for now.
6465         (real_check_connection): Make sure the connection includes ppp setting.
6466
6467         * libnm-glib/nm-client.c (get_device): Handle umts devices.
6468
6469         * libnm-glib/Makefile.am: Add the new files to build.
6470
6471         * libnm-glib/nm-umts-device.c: 
6472         * libnm-glib/nm-umts-device.h: Implement.
6473
6474 2007-11-26  Tambet Ingo  <tambet@gmail.com>
6475
6476         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6477         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6478
6479         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6480         the timeout source - this function is only called when the timeout source has
6481         been removed.
6482         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6483         to be big enough to contain the terminating zero element as well.
6484         The timeout argument is meant to be in seconds now.
6485         (real_deactivate_quickly): Implement.
6486
6487         * src/NetworkManager.conf: Allow root to own 
6488         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6489
6490         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6491         (not unsigned ints).
6492
6493         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6494         small issue with parity bounds - capital letters have lower ascii codes
6495         than lower case letters.
6496
6497         * libnm-util/nm-connection.c (register_default_settings): Register serial
6498         and umts settings.
6499
6500 2007-11-22  Tambet Ingo  <tambet@gmail.com>
6501
6502         Remove the "index" property from devices as not all device types have this.
6503
6504         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6505
6506         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6507         (wired_device_creator): Get the device interface from hal to create the device.
6508         (wireless_device_creator): Ditto.
6509
6510         * src/nm-device.c (nm_device_init): Remove the index member.
6511         (constructor): Remove the checks for index property, make interface property
6512         a require constructor property.
6513         Use the HAL udi for DBus path for devices.
6514         (nm_device_get_index): Remove.
6515         (set_property): Remove index handling.
6516         (get_property): Ditto.
6517         (nm_device_get_dbus_path): Remove.
6518
6519         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6520         property.
6521
6522         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6523         Access the device index through it's interface.
6524         (nm_device_802_3_ethernet_link_deactivated): Ditto.
6525         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6526         index argument. Add interface argument.
6527
6528         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6529         the useless test_dev argument. Remove index argument. Add interface arugment.
6530
6531         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6532         device index through interface.
6533         (nm_system_set_mtu): Ditto.
6534
6535         * introspection/nm-device.xml: Remove the "Index" property.
6536
6537 2007-11-21  Tambet Ingo  <tambet@gmail.com>
6538
6539         * src/nm-serial-device.c: 
6540         * src/nm-serial-device.c: 
6541         * src/nm-umts-device.c:
6542         * src/nm-umts-device.h: Implement.
6543
6544         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
6545         allocated by libhal.
6546         (modem_device_creator): Implement.
6547         (register_built_in_creators): Register the modem creator.
6548
6549         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
6550         Remove the unused test_dev argument.
6551
6552         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6553
6554         * src/Makefile.am: Add new files to build.
6555         Link in ppp-manager.
6556
6557         * libnm-util/nm-setting-umts.c: 
6558         * libnm-util/nm-setting-umts.h: 
6559         * libnm-util/nm-setting-serial.c: 
6560         * libnm-util/nm-setting-serial.h: Implement.
6561
6562         * libnm-util/Makefile.am: Add new files to build.
6563
6564 2007-11-28  Dan Williams  <dcbw@redhat.com>
6565
6566         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6567
6568         Support DHCP-provided static routes.
6569
6570         * src/nm-ip4-config.h
6571           src/nm-ip4-config.c
6572                 - Add get/set functions for static routes
6573
6574         * src/dhcp-manager/nm-dhcp-manager.c
6575                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6576                         DHCP response
6577
6578         * src/NetworkManagerSystem.c
6579                 - (nm_system_device_set_from_ip4_config): set any static routes on the
6580                         interface when applying the IP4Config
6581
6582 2007-11-28  Dan Williams  <dcbw@redhat.com>
6583
6584         * src/nm-device-802-11-wireless.c
6585                 - (real_act_stage1_prepare): mark APs created for hidden networks
6586                         as non-broadcasting
6587
6588 2007-11-27  Dan Williams  <dcbw@redhat.com>
6589
6590         * system-settings/src/nm-system-config-interface.h
6591                 - Note how to store secrets on NMSetting objects
6592
6593         * system-settings/src/dbus-settings.c
6594                 - (connection_settings_get_secrets): implement
6595
6596 2007-11-27  Dan Williams  <dcbw@redhat.com>
6597
6598         * system-settings/plugins/ifcfg/Makefile.am
6599           system-settings/plugins/ifcfg/parser.c
6600           system-settings/plugins/ifcfg/parser.h
6601           system-settings/plugins/ifcfg/plugin.c
6602                 - Parse wireless connections too
6603
6604         * system-settings/src/dbus-settings.c
6605           system-settings/src/dbus-settings.h
6606           system-settings/src/main.c
6607                 - Handle connection update/removal if the plugin supports it
6608
6609 2007-11-27  Dan Williams  <dcbw@redhat.com>
6610
6611         * src/nm-dbus-manager.h
6612           src/nm-hal-manager.c
6613                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6614                         do it for them
6615
6616         * src/Makefile.am
6617           src/NetworkManagerDbusUtils.c
6618           src/NetworkManagerDbusUtils.h
6619                 - Remove these two source files; they are unused
6620
6621 2007-11-27  Dan Williams  <dcbw@redhat.com>
6622
6623         * src/vpn-manager/nm-vpn-manager.c
6624                 - (impl_vpn_manager_connect): fix system settings check (found by
6625                         James M. Leddy)
6626
6627 2007-11-26  Dan Williams  <dcbw@redhat.com>
6628
6629         * Fix warnings so everything compiles with --enable-more-warnings
6630
6631 2007-11-25  Dan Williams  <dcbw@redhat.com>
6632
6633         * system-settings/*
6634                 - Rework structure and code to use GModule-loaded plugins and a plugin
6635                         interface that plugins export to the system settings service
6636
6637 2007-11-21  Dan Williams  <dcbw@redhat.com>
6638
6639         * system-settings/*
6640                 - Add Soren's system settings service.  Needs work for distros other
6641                         than Fedora; the backends from NM should mostly migrate to here
6642                         and be converted to GObjects
6643
6644 2007-11-21  Dan Williams  <dcbw@redhat.com>
6645
6646         * libnm-util/nm-setting-vpn-properties.c
6647                 - (set_property): must deep-copy the given settings hash, otherwise
6648                         double-free errors occur when the setting is disposed of
6649
6650 2007-11-21  Dan Williams  <dcbw@redhat.com>
6651
6652         * src/vpn-manager/nm-vpn-act-request.h
6653           src/vpn-manager/nm-vpn-act-request.c
6654                 - Remove; unused
6655
6656 2007-11-20  Dan Williams  <dcbw@redhat.com>
6657
6658         * libnm-util/nm-utils.c
6659                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6660                    nm_utils_convert_ip4_addr_struct_array_to_string,
6661                    nm_utils_register_value_transformations): print out the readable
6662                         values of more types of properties of NMSettings subclasses
6663
6664 2007-11-20  Dan Williams  <dcbw@redhat.com>
6665
6666         * libnm-util/nm-setting-ip4-config.c
6667                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6668                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
6669                         marshal GValueArrays inside collections, so switch to types that it
6670                         can actually marshal/demarshal
6671
6672 2007-11-16  Dan Williams  <dcbw@redhat.com>
6673
6674         * libnm-util/nm-setting-wireless-security.c
6675                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6676                         minimal verification of EAP methods too
6677                 - (verify): verify phase1 eap methods too
6678
6679 2007-11-15  Dan Williams  <dcbw@redhat.com>
6680
6681         * libnm-glib/nm-device.h
6682           libnm-glib/nm-device.c
6683                 - (nm_device_get_product, nm_device_get_vendor): should be returning
6684                         const char *
6685
6686 2007-11-15  Dan Williams  <dcbw@redhat.com>
6687
6688         * libnm-glib/nm-device.c
6689                 - (get_product_and_vendor): don't try to free things that should be
6690                         freed
6691
6692 2007-11-15  Dan Williams  <dcbw@redhat.com>
6693
6694         * src/NetworkManagerUtils.c
6695                 - (nm_ethernet_address_is_valid): unbreak previous fix
6696
6697 2007-11-15  Dan Williams  <dcbw@redhat.com>
6698
6699         * src/supplicant-manager/nm-supplicant-config.c
6700                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6701                         options
6702
6703 2007-11-15  Dan Williams  <dcbw@redhat.com>
6704
6705         * src/NetworkManagerUtils.c
6706                 - (nm_ethernet_address_is_valid): fix style, clarify
6707                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6708
6709         * src/nm-device-802-11-wireless.c
6710                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6711                 - (nm_device_802_11_wireless_get_ssid,
6712                    nm_device_802_11_wireless_get_bssid,
6713                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6714                         before calling the ioctl; fixes valgrind-reported jump depends on
6715                         uninitialized value errors
6716
6717 2007-11-15  Dan Williams  <dcbw@redhat.com>
6718
6719         * libnm-util/nm-setting.c
6720                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6721                         unecessary to serialize 'name'
6722
6723         * src/nm-activation-request.c
6724                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6725                         the GetSecrets call
6726
6727 2007-11-15  Dan Williams  <dcbw@redhat.com>
6728
6729         * libnm-util/nm-setting-connection.h
6730           libnm-util/nm-setting-connection.c
6731                 - Rename the 'name' property to 'id', because it conflicted with the
6732                         NMSetting superclass' 'name' property.
6733
6734         * libnm-util/nm-setting.c
6735                 - (nm_setting_to_hash): serialize the 'name' property
6736                 - (one_property_cb): ignore 'name' on deserialization of a connection
6737
6738         * src/nm-device-802-11-wireless.c
6739           src/vpn-manager/nm-vpn-connection.c
6740           src/NetworkManagerPolicy.c
6741                 - Fix up for NMSettingConnection 'name'->'id' changes
6742
6743 2007-11-13  Dan Williams  <dcbw@redhat.com>
6744
6745         * libnm-glib/nm-device-802-11-wireless.h
6746           libnm-glib/nm-device-802-11-wireless.c
6747                 - (nm_device_802_11_wireless_get_hw_address): return should be const
6748
6749         * test/nm-tool.c
6750           libnm-glib/libnm-glib-test.c
6751                 - Fixes for above change
6752
6753 2007-11-12  Dan Williams  <dcbw@redhat.com>
6754
6755         * src/supplicant-manager/nm-supplicant-settings-verify.c
6756                 - Allow fragment_size option
6757
6758         * src/supplicant-manager/nm-supplicant-settings-verify.c
6759                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6760                         EAP fragment size than the default to help some TLS connections
6761
6762 2007-11-12  Dan Williams  <dcbw@redhat.com>
6763
6764         Make certs actually work.  The private key is now a secret, and should be
6765         decrypted when requested by NM.  The private key and phase2 private key
6766         passwords are no longer interesting to NM because they should be used by
6767         the settings service to decrypt the private key itself before passing it
6768         to NM, and hence have been removed as fields.
6769
6770         * libnm-util/nm-setting-wireless-security.h
6771           libnm-util/nm-setting-wireless-security.c
6772                 - Remove private-key-passwd and phase2-private-key-passwd from
6773                         properties
6774                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6775                    need_secrets): use property #defines instead strings to keep things
6776                         consistent
6777                 - (need_secrets_tls): if a client certificate is present but no
6778                         private key, request the private key
6779                 - (set_property, get_property, nm_setting_wireless_security_class_init):
6780                         remove private key password stuff, mark private keys as secret
6781
6782         * src/supplicant-manager/nm-supplicant-settings-verify.c
6783                 - Remove private_key_passwd and private_key2_passwd from opt_table
6784
6785 2007-11-09  Dan Williams  <dcbw@redhat.com>
6786
6787         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6788         Since the vpn-properties are managed and known by the VPN daemons themselves,
6789         libnm-util doesn't know what's secret and what's in the setting's 'data'
6790         member.
6791
6792         * libnm-util/nm-setting.h
6793           libnm-util/nm-setting.c
6794                 - Add the ability for subclasses to override update_one_secret
6795
6796         * libnm-util/nm-setting-vpn-properties.c
6797                 - Override update_one_secret and just copy the values into the
6798                         internal table
6799
6800 2007-11-09  Dan Williams  <dcbw@redhat.com>
6801
6802         * libnm-glib/nm-settings.h
6803           libnm-glib/nm-settings.c
6804                 - (nm_settings_new_error): remove
6805                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6806                         clients should use g_set_error() with NM_SETTINGS_ERROR
6807
6808 2007-11-09  Dan Williams  <dcbw@redhat.com>
6809
6810         * src/supplicant-manager/nm-supplicant-config.c
6811                 - (nm_supplicant_config_add_setting_wireless_security): private key
6812                         passwords are never sent to wpa_supplicant, because the supplicant
6813                         should never be reading random files from the disk.  Clients like
6814                         the applet are required to decrypt the private keys and send NM
6815                         the decrypted blobs.
6816
6817 2007-11-08  Dan Williams  <dcbw@redhat.com>
6818
6819         * libnm-util/nm-setting-wireless-security.h
6820           libnm-util/nm-setting-wireless-security.c
6821                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6822                         members to 802-11-wireless-security structure.  This should be used
6823                         to indicate that the values in private-key and phase2-private-key
6824                         are already decrypted by the user agent, and that no
6825                         private-key-passwd or phase2-private-key-passwd should be expected.
6826                         It is not meant to be a stored configuration value, but meant to
6827                         be set when the conneciton is sent to NM over dbus.
6828
6829 2007-11-08  Dan Williams  <dcbw@redhat.com>
6830
6831         * libnm-util/nm-connection.h
6832           libnm-util/nm-connection.c
6833                 - (nm_connection_need_secrets): add argument to return hints
6834
6835         * src/nm-device-802-11-wireless.c
6836                 - (link_timeout_cb, supplicant_connection_timeout_cb,
6837                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6838                         nm_connection_need_secrets() change
6839
6840 2007-11-07  Tambet Ingo  <tambet@gmail.com>
6841
6842         Rework NMSetting structures: Move each setting to it's own file.
6843         Convert to GObject. Remove home grown setting types and use GTypes.
6844         Use GObject property introspection for hash conversion, enumerating
6845         properties, etc.
6846
6847         * libnm-util/nm-setting-connection.[ch]
6848         * libnm-util/nm-setting-ip4-config.[ch]
6849         * libnm-util/nm-setting-ppp.[ch]
6850         * libnm-util/nm-setting-vpn.[ch]
6851         * libnm-util/nm-setting-vpn-properties.[ch]
6852         * libnm-util/nm-setting-wired.[ch]
6853         * libnm-util/nm-setting-wireless.[ch]
6854         * libnm-util/nm-setting-wireless-security.[ch]
6855
6856         New files, each containing a setting.
6857
6858         * libnm-util/nm-setting-template.[ch]: A template for creating new
6859         settings. To use it, just replace 'template' with the new setting
6860         name, and you're half-way done.
6861
6862         * libnm-util/nm-setting.c: Convert to GObject and use GObject
6863         introspection instead of internal types and tables.
6864
6865         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6866
6867         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6868         GValue types defined by dbus-glib for composed types like collections,
6869         structures and maps.
6870
6871         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6872         a setting from connection takes the setting type now. Also, since
6873         the settings are in multiple files, include relevant settings.
6874
6875 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
6876
6877         * configure.in:
6878         * src/backends/NetworkManagerGentoo.c:
6879         (nm_system_restart_mdns_responder): Implement restarts for other mdns
6880         providers in Gentoo.
6881
6882 2007-10-31  Dan Williams  <dcbw@redhat.com>
6883
6884         * libnm-util/nm-connection.c
6885                 - (gvalue_to_string): handle UINT32 arrays
6886
6887 2007-10-31  Dan Williams  <dcbw@redhat.com>
6888
6889         * libnm-glib/nm-device.h
6890           libnm-glib/nm-device.c
6891                 - (nm_device_get_description): remove
6892                 - (nm_device_get_product, nm_device_get_vendor): add
6893                 - (nm_device_update_description): new function (private); walk HAL
6894                         devices to get product and vendor IDs for a specific device
6895
6896 2007-10-31  Dan Williams  <dcbw@redhat.com>
6897
6898         * src/nm-device-802-11-wireless.c
6899                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
6900
6901 2007-10-29  Dan Williams  <dcbw@redhat.com>
6902
6903         * src/nm-hal-manager.c
6904                 - (device_added, device_new_capability): ignore device additions while
6905                         asleep.  Fixes crash caused when NM goes to sleep, a network device
6906                         kernel module is unloaded and reloaded and recognized by NM again.
6907
6908 2007-10-26  Dan Williams  <dcbw@redhat.com>
6909
6910         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
6911
6912         * src/NetworkManagerAP.c
6913           src/NetworkManagerAP.h
6914           libnm-glib/nm-access-point.c
6915           libnm-glib/nm-access-point.h
6916                 - Make 'rate' property a guint32 to better match with WEXT and
6917                         wpa_supplicant and to allow representation of higher bitrates
6918
6919         * src/nm-device-802-11-wireless.c
6920           introspection/nm-device-802-11-wireless.xml
6921           libnm-glib/nm-device-802-11-wireless.c
6922           libnm-glib/nm-device-802-11-wireless.h
6923                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
6924
6925         * src/nm-device-802-3-ethernet.c
6926           src/nm-device-802-3-ethernet.h
6927           introspection/nm-device-802-3-ethernet.xml
6928           libnm-glib/nm-device-802-3-ethernet.c
6929           libnm-glib/nm-device-802-3-ethernet.h
6930                 - Make 'speed' property a guint32 to match other speed/rate types
6931                 - Make nm_device_802_3_ethernet_get_speed() static
6932
6933         * test/nm-tool.c
6934                 - Update for the changes above
6935
6936 2007-10-26  Dan Williams  <dcbw@redhat.com>
6937
6938         * src/named-manager/nm-named-manager.c
6939                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
6940                     not calling fclose() twice on some error conditions
6941
6942 2007-10-26  Dan Williams  <dcbw@redhat.com>
6943
6944         * src/nm-activation-request.c
6945                 - (dispose): clean up indentation; get the right DBusGProxy object to
6946                         cancel the GetSecrets pending call on.  Need to use the Secrets
6947                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
6948                         pending call doesn't get canceled, and pressing Cancel in the
6949                         applet's password dialog could cause get_secrets_cb() to be called
6950                         after the activation request has already been destroyed
6951
6952 2007-10-24  Dan Williams  <dcbw@redhat.com>
6953
6954         * src/supplicant-manager/nm-supplicant-config.c
6955                 - (nm_supplicant_config_add_blob): pass blob data and length for
6956                         verification
6957                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
6958
6959 2007-10-24  Dan Williams  <dcbw@redhat.com>
6960
6961         * src/supplicant-manager/nm-supplicant-settings-verify.c
6962                 - (opt_table): max length for certificates should be 65536
6963
6964 2007-10-24  Dan Williams  <dcbw@redhat.com>
6965
6966         * src/supplicant-manager/nm-supplicant-interface.c
6967                 - (blob_free): correctly free blob data after use
6968                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
6969
6970 2007-10-24  Dan Williams  <dcbw@redhat.com>
6971
6972         * libnm-util/nm-setting.c
6973                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
6974                         EAP method need secrets
6975
6976 2007-10-24  Dan Williams  <dcbw@redhat.com>
6977
6978         * src/backends/NetworkManagerRedHat.c
6979                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
6980
6981 2007-10-23  Dan Williams  <dcbw@redhat.com>
6982
6983         * libnm-util/nm-setting.c
6984           libnm-util/nm-setting.c
6985                 - (nm_setting_compare): implement
6986                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
6987                    compare_one_hash_gvalue): compare the contents of a setting
6988
6989         * libnm-util/nm-connection.c
6990                 - (nm_connection_compare): implement
6991
6992 2007-10-23  Dan Williams  <dcbw@redhat.com>
6993
6994         * src/nm-activation-request.c
6995                 - (get_secrets_cb): handle getting a setting back that is more than
6996                         just secrets (ie, user changed auth or EAP method or something)
6997
6998 2007-10-23  Dan Williams  <dcbw@redhat.com>
6999
7000         * libnm-util/nm-setting.c
7001           libnm-util/nm-setting.h
7002                 - (nm_setting_verify): new function; verify one setting
7003                 - (nm_settings_verify_all): rename from nm_settings_verify()
7004                 - (setting_connection_verify, setting_wireless_verify): allow NULL
7005                         all_settings
7006
7007         * libnm-util/nm-connection.c
7008                 - (nm_connection_replace_settings, nm_connection_verify,
7009                    nm_connection_new_from_hash): handle nm_settings_verify() rename
7010
7011 2007-10-23  Dan Williams  <dcbw@redhat.com>
7012
7013         * src/nm-device-802-11-wireless.c
7014                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7015                         desired behavior
7016
7017 2007-10-23  Dan Williams  <dcbw@redhat.com>
7018
7019         * src/supplicant-manager/nm-supplicant-settings-verify.c
7020                 - eap_allowed, phase2_allowed: harmonize with allowed values from
7021                         nm-settings.c
7022
7023 2007-10-23  Dan Williams  <dcbw@redhat.com>
7024
7025         * src/nm-device-802-11-wireless.c
7026                 - (real_act_stage2_config): after the first association failure,
7027                         if the connection still needs secrets ask the user for them
7028                         explicitly.  After the fourth association failure due to bad
7029                         secrets, fail the connection entirely.  Handles the GetSecrets
7030                         loop that NM gets into when the provided secrets don't match up
7031                         with the connection details.
7032
7033 2007-10-23  Dan Williams  <dcbw@redhat.com>
7034
7035         * src/supplicant-manager/nm-supplicant-config.c
7036                 - (nm_supplicant_config_add_setting_wireless_security): only add
7037                         WPA-specific options when WPA is in use
7038
7039 2007-10-23  Dan Williams  <dcbw@redhat.com>
7040
7041         * src/supplicant-manager/nm-supplicant-config.c
7042                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7043                         secret doesn't need to be unhexified
7044
7045 2007-10-23  Dan Williams  <dcbw@redhat.com>
7046
7047         * libnm-util/nm-setting.c
7048                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7049                         before trying to do something with it
7050
7051 2007-10-23  Dan Williams  <dcbw@redhat.com>
7052
7053         * src/nm-device-802-11-wireless.c
7054                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7055
7056 2007-10-23  Dan Williams  <dcbw@redhat.com>
7057
7058         * src/nm-device-802-11-wireless.c
7059                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7060                         non-SSID-broadcasting APs
7061
7062 2007-10-23  Dan Williams  <dcbw@redhat.com>
7063
7064         * src/NetworkManagerAP.c
7065                 - (match_cipher, security_compatible): remove
7066                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7067                         libnm-util instead
7068
7069 2007-10-23  Dan Williams  <dcbw@redhat.com>
7070
7071         * libnm-util/nm-utils.c
7072           libnm-util/nm-utils.h
7073                 - (nm_utils_ap_security_compatible): common function for checking
7074                         whether a specific AP is compatible with an NMConnection
7075
7076 2007-10-23  Dan Williams  <dcbw@redhat.com>
7077
7078         * libnm-util/nm-setting.c
7079                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7080                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7081                    need_secrets_password, setting_wireless_security_verify): fix
7082                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7083                         secrets logic for each supported EAP method
7084
7085 2007-10-23  Dan Williams  <dcbw@redhat.com>
7086
7087         * src/supplicant-manager/nm-supplicant-config.c
7088                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7089                         config option name, should be "private_key2_passwd"
7090
7091 2007-10-22  Tambet Ingo  <tambet@gmail.com>
7092
7093         Implement support for static IP addresses, additional/overridden DNS and
7094         DNS domain search lists.
7095
7096         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7097         (ip4_addresses_to_gvalue): Implement.
7098         (convert_array_to_byte_array): Implement.
7099         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7100         NM_S_TYPE_IP4_ADDRESSES.
7101         (nm_setting_hash): Ditto.
7102         (default_setting_clear_secrets): Add a default case for the switch: IP address
7103         shouldn't be secret, ever.
7104         (setting_ip4_config_verify): Update, requires addresses in case of manual
7105         configurations.
7106         (setting_ip4_config_destroy): Free stuff.
7107
7108         * src/nm-device.c (merge_ip4_config): Implement.
7109         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7110
7111 2007-10-22  Dan Williams  <dcbw@redhat.com>
7112
7113         * libnm-util/nm-setting.c
7114                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7115                         pairwise cipher options for Dynamic WEP
7116
7117 2007-10-21  Dan Williams  <dcbw@redhat.com>
7118
7119         * src/NetworkManagerAP.c
7120           src/NetworkManagerAP.h
7121                 - Rename 'articifical' -> 'fake' since that's what they are until
7122                         noticed in scans
7123                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7124                         from the attributes in an NMConnection object
7125                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7126                         WPA Enterprise
7127                 - (nm_ap_match_in_list): find a matching AP in a scan list
7128
7129         * src/nm-device-802-11-wireless.c
7130                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7131                         AP when searching the scan list; match on frequency and mode too
7132                 - (nm_device_802_11_wireless_get_frequency): implement
7133                 - (merge_scanned_ap): replace duplicate matching logic with
7134                         nm_ap_match_in_list()
7135                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7136                         the user is trying to connect to a hidden network that is not yet
7137                         known from the scan list
7138                 - (activation_success_handler): now that the card knows the AP's BSSID,
7139                         there may already be a scanned AP in the scan list that is what
7140                         we really wanted to connect to, but didn't know at the time.  Use
7141                         that instead of the 'fake' AP created at activation start and get
7142                         rid of the 'fake' AP 
7143                 - (cull_scan_list): don't remove fake APs
7144
7145 2007-10-21  Dan Williams  <dcbw@redhat.com>
7146
7147         * src/nm-activation-request.h
7148           src/nm-activation-request.c
7149                 - (nm_act_request_set_specific_object): new function; allow setting the
7150                         specific object if one isn't set yet
7151
7152 2007-10-20  Dan Williams  <dcbw@redhat.com>
7153
7154         * src/supplicant-manager/nm-supplicant-config.h
7155           src/supplicant-manager/nm-supplicant-config.c
7156                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7157                         table to store blobs
7158                 - (nm_supplicant_config_add_blob): new function; add blob to internal
7159                         blob hash table
7160                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7161                 - (nm_supplicant_config_add_setting_wireless_security): handle
7162                         options that use certificates (ie, blobs)
7163
7164         * src/nm-device-802-11-wireless.c
7165                 - (build_supplicant_config): pass a UID (just use the connection path)
7166                         to the supplicant config as now required
7167
7168         * src/supplicant-manager/nm-supplicant-interface.c
7169                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7170                         there are any blobs to send to wpa_supplicant, send those first
7171                         before sending the network configuration
7172
7173 2007-10-19  Dan Williams  <dcbw@redhat.com>
7174
7175         Split the GetSecrets() call off to a separate D-Bus interface so that it
7176         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
7177         should be able to call GetSecrets().
7178
7179         * include/NetworkManager.h
7180                 - Define the connection secrets D-Bus interface
7181
7182         * src/vpn-manager/nm-vpn-connection.c
7183                 - (clear_need_auth): get the right proxy object for the connection
7184                         secrets interface
7185                 - (get_connection_secrets): use the connection secrets proxy; send
7186                         empty hints in get secrets request
7187
7188         * src/nm-activation-request.c
7189                 - (nm_act_request_request_connection_secrets): use the connection
7190                         secrets proxy; send empty hints in get secrets request
7191
7192         * src/nm-manager.c
7193           src/nm-manager.h
7194                 - (connection_get_settings_cb): set the connection secrets proxy on
7195                         the connection object too
7196                 - (internal_new_connection_cb): create the connection secrets proxy
7197
7198         * introspection/nm-settings-connection.xml
7199                 - Define Connection.Secrets interface and move GetSecrets there
7200                 - Add a 'hints' argument to GetSecrets
7201
7202         * libnm-glib/nm-settings.c
7203           libnm-glib/nm-settings.h
7204                 - (impl_connection_settings_get_secrets): add 'hints' argument
7205
7206 2007-10-19  Dan Williams  <dcbw@redhat.com>
7207
7208         * src/nm-device.c
7209                 - (constructor): add message about what path a device is exported as
7210                         to help in debugging rh #339011
7211
7212 2007-10-17  Dan Williams  <dcbw@redhat.com>
7213
7214         * libnm-util/nm-utils.h
7215           libnm-util/nm-utils.c
7216                 - (nm_utils_security_valid): common function to help find the intersection
7217                         of capabilities of devices and (optionally) access points
7218
7219 2007-10-17  Dan Williams  <dcbw@redhat.com>
7220
7221         * src/nm-device-802-11-wireless.c
7222                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7223                         don't get erroneously cleared
7224
7225 2007-10-17  Dan Williams  <dcbw@redhat.com>
7226
7227         * src/nm-manager.h
7228           src/nm-manager.c
7229           src/nm-hal-manager.c
7230                 - (device_removed, finalize, nm_manager_remove_device,
7231                    nm_manager_sleep): add a 'deactivate' argument to 
7232                    nm_manager_remove_device() to fully deactivate devices when necessary
7233                    (ie, always except when waking up)
7234
7235 2007-10-16  Dan Williams  <dcbw@redhat.com>
7236
7237         * libnm-util/nm-setting.c
7238                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7239                         also isn't valid phase2 autheap method
7240
7241 2007-10-16  Dan Williams  <dcbw@redhat.com>
7242
7243         * libnm-glib/nm-client.c
7244                 - (update_wireless_status): consolidate updates of wireless status
7245                 - (constructor): use update_wireless_status()
7246                 - (manager_running): set wireless status off when NM goes away; requery
7247                         the wireless status when NM comes back
7248
7249 2007-10-16  Dan Williams  <dcbw@redhat.com>
7250
7251         * libnm-glib/nm-client.c
7252                 - (nm_client_activate_device): actually use the fixed-up specific
7253                         object path
7254
7255 2007-10-16  Dan Williams  <dcbw@redhat.com>
7256
7257         * src/nm-hal-manager.c
7258                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7259                         killswitch error messages once
7260
7261 2007-10-16  Dan Williams  <dcbw@redhat.com>
7262
7263         * src/nm-manager.c
7264                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7265                         if it's disabled in hardware; don't touch network devices while
7266                         NM is asleep
7267
7268 2007-10-16  Dan Williams  <dcbw@redhat.com>
7269
7270         * libnm-util/nm-client.c
7271                 - (nm_client_activate_device): convert NULL specific_object to "/",
7272                         which is used in place of NULL
7273
7274         * src/nm-manager.c
7275                 - (impl_manager_activate_device): convert "/" specific_object back into
7276                         NULL
7277
7278 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7279
7280         Implement a generic NMSetting creator from setting name.
7281         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7282         add a virtual function 'populate_fn'.
7283
7284         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7285         (register_default_creators): Register setting creators instead of functions
7286         that create and then populate.
7287         (parse_one_setting): Use the common setting creator and then setting specific
7288         poplulation function.
7289
7290         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7291         they all looked exactly the same.
7292         Add a 'populate_fn' virtual function to NMSetting.
7293         Use default virtual functions in case they are not overriden.
7294         (nm_setting_populate_from_hash): Implement.
7295
7296         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7297         name, use a defined string.
7298         (real_act_stage4_get_ip4_config): Ditto.
7299
7300 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7301
7302         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7303         HAL is int, not uint.
7304
7305 2007-10-15  Tambet Ingo  <tambet@gmail.com>
7306
7307         Implement killswitch polling through HAL.
7308
7309         * src/nm-manager.c: Add wireless hardware status property. Add 
7310         'properties-changed' signal for changes in wireless and wireless hardware
7311         state changes.
7312
7313         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7314         and update NMManager's wireless hardware state when it has changed.
7315         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7316         already does that.
7317
7318         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7319         values of wireless state and wireless hardware state. Listen for the
7320         'properties-changed' signals, update the cached values and emit notify.
7321
7322         * include/NetworkManager.h: Fix a typo in a comment.
7323
7324 2007-10-14  Dan Williams  <dcbw@redhat.com>
7325
7326         * libnm-util/nm-setting.c
7327                 - (setting_wireless_security_need_secrets): handle LEAP secrets
7328
7329 2007-10-13  Dan Williams  <dcbw@redhat.com>
7330
7331         * libnm-util/nm-setting.h
7332           libnm-util/nm-setting.c
7333           src/supplicant-manager/nm-supplicant-config.c
7334                 - Make the 'proto' field of the 802-11-wireless-security field a
7335                         string list
7336
7337 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7338
7339         Rework the "properties-changed" signal listening implementation.
7340         Add a generic implementation to NMObject class that listens for
7341         the signal and calls property setters of the target NMObject.
7342
7343         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7344
7345         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7346         code to the end of file so that all the static functions are available
7347         without extra declarations.
7348         Remove the "properties-changed" signal handling and use the framework from
7349         NMObject.
7350         Implement property setters for properties that change with 
7351         "properties-changed" signal.
7352
7353         * libnm-glib/nm-access-point.c: Ditto.
7354
7355 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7356
7357         Rework the "properties-changed" signal implementation.
7358         In classes that need to use it, just emit "GObject::notify" and the new
7359         framework takes care of the rest to make the signal available on dbus.
7360         The framework queues the notifications and tries to send as many together
7361         in one signal as possible.
7362
7363         * src/nm-properties-changed-signal.c:
7364         * src/nm-properties-changed-signal.h: Implement.
7365
7366         * src/Makefile.am: Add new files to build.
7367
7368         * src/NetworkManagerAP.c: Use the general framework for properties-changed
7369         signal.
7370
7371         * src/nm-device-802-11-wireless.c: Ditto.
7372
7373 2007-10-10  Dan Williams  <dcbw@redhat.com>
7374
7375         * src/nm-manager.c
7376                 - (wait_for_connection_expired): ensure info is valid
7377                 - (connection_added_default_handler): Should only remove pending
7378                         connection info when the manager has the connection that it's
7379                         waiting for.  Fixes segfault in wait_for_connection_info().  
7380
7381 2007-10-10  Dan Williams  <dcbw@redhat.com>
7382
7383         * libnm-util/nm-setting.c
7384           libnm-util/nm-setting.h
7385                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7386                         can use if they choose.  Should be filled in by the settings service
7387                         on-the-fly with the currently logged in user's username
7388
7389 2007-10-10  Dan Williams  <dcbw@redhat.com>
7390
7391         * src/nm-device-802-11-wireless.c
7392                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7393                         as such, because even if the manager fills in the SSID, NM still
7394                         has to indicate to wpa_supplicant that the AP isn't broadcasting
7395                         its SSID
7396
7397 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7398
7399         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7400         code that used NM's own version of dbus signal handling and custom dictionary
7401         marshalling/unmarshalling. With this change, all that obsolete code can disappear
7402         and we get to maintain over 2000 lines less code.
7403
7404         * libnm-util/dbus-dict-helpers.c:
7405         * libnm-util/dbus-dict-helpers.h: Remove.
7406
7407         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7408
7409         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7410
7411         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7412         handlers.
7413
7414         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7415
7416         * configure.in: Remove test/libnm-util/Makefile creation.
7417
7418         * test/Makefile.am: Remove libnm-util from SUBDIRS.
7419
7420         * test/libnm-util/: Remove the whole directory.
7421
7422 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7423
7424         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
7425         device_state_changed_idle_id variable or it would contain some random value and the
7426         schedule_change_check calls would not do anything.
7427
7428 2007-10-09  Dan Williams  <dcbw@redhat.com>
7429
7430         * src/nm-device-802-11-wireless.c
7431                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7432                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7433                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
7434                         merging of non-SSID-broadcasting APs
7435
7436 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7437
7438         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7439         "guint8 *" since it's usually used with GByteArray->data.
7440         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7441
7442 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7443
7444         * src/NetworkManagerUtils.c
7445         (nm_utils_is_empty_ssid):
7446         (nm_utils_escape_ssid):
7447         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
7448         lot of places, so they belong to libnm-utils instead.
7449
7450         Now with 100% less compiler warnings:
7451
7452         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7453         (nm_dbus_unescape_object_path): Ditto.
7454         (nm_utils_ssid_to_utf8): Ditto.
7455         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7456         (nm_utils_escape_ssid): Ditto.
7457         (nm_utils_same_ssid): Ditto.
7458
7459         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7460         (add_one_connection_element): Remove an unused variable.
7461         (impl_manager_get_active_connections): Ditto.
7462
7463         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7464         variable.
7465
7466         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7467         from the previous commit.
7468
7469         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7470         (real_act_stage1_prepare): Ditto.
7471         (activation_success_handler): Ditto.
7472         (get_property): Ditto.
7473
7474         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7475         variable.
7476
7477         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7478         it's always set.
7479
7480         * src/supplicant-manager/nm-supplicant-config.c 
7481         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7482         to expected "char *".
7483         (nm_supplicant_config_add_setting_wireless): Ditto.
7484         (nm_supplicant_config_remove_option): Remove, not used.
7485
7486         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7487         not double.
7488         (test_wireless_enabled): Ifdef out unused function.
7489         (device_deactivate): Ditto.
7490         (device_state_changed): Ditto.
7491         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7492         (nm_utils_escape_ssid): Ditto.
7493
7494         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7495         (nm_utils_is_empty_ssid): Ditto.
7496
7497         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7498         unused variable.
7499
7500         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7501         (setting_vpn_properties_update_secrets): Ditto.
7502         (int_to_gvalue): Ifdef out for now, not used.
7503         (byte_to_gvalue): Ditto.
7504
7505         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
7506         Unused, remove.
7507
7508 2007-10-08  Tambet Ingo  <tambet@gmail.com>
7509
7510         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7511         about dbus manager, not named manager.
7512         Make sure hal_manager and dbus_mgr are created before trying to unreference.
7513
7514         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7515         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7516         However, the same signal is emitted when we destroy it and there's 
7517         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7518
7519         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7520         releasing the DBusGConnection, since proxy needs a conneciton.
7521         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7522
7523 2007-10-08  Dan Williams  <dcbw@redhat.com>
7524
7525         * src/NetworkManager.c
7526                 - (main): error on unknown command-line options
7527
7528 2007-10-08  Dan Williams  <dcbw@redhat.com>
7529
7530         Reimplement the invalid connection list.  Don't try to re-activate a
7531         connection that just failed or was canceled.
7532
7533         * src/nm-device.c
7534                 - (connection_secrets_failed_cb): fail device activation, don't just
7535                         deactivate the device.  Listeners have to know about the failure.
7536
7537         * src/NetworkManagerPolicy.c
7538                 - (nm_policy_auto_get_best_device): exclude invalid connections from
7539                         the connection list given to a device's get_best_connection()
7540                         method
7541                 - (device_state_changed): tag failed connections as invalid; clear the
7542                         tag from successful connections
7543
7544 2007-10-08  Dan Williams  <dcbw@redhat.com>
7545
7546         Fix problems with interrupted activation.  Previously, choosing an AP
7547         from the menu, then choosing another one before the first connection was
7548         successful wouldn't deactivate the device before starting the new connection
7549         on that same device.
7550
7551         * src/NetworkManagerPolicy.c
7552                 - (deactivate_old_device, device_state_changed, state_changed,
7553                    nm_policy_new): wrong place to deactivate old devices
7554
7555         * src/nm-manager.c
7556                 - (pending_connection_info_destroy, finalize,
7557                    wait_for_connection_expired): decouple destruction of the pending
7558                         connection info from the manager device
7559                 - (connection_added_default_handler): deactivate any active or
7560                         activating device before starting a new activation
7561                 - (impl_manager_activate_device): deactivate any active or activating
7562                         device before starting a new activation; be sure not to leak
7563                         pending connection info if a new activation request arrives but
7564                         there's already a pending one in-process
7565
7566 2007-10-08  Dan Williams  <dcbw@redhat.com>
7567
7568         * src/NetworkManagerAP.h
7569           src/NetworkManagerAP.c
7570                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
7571                         should handle default SSIDs and whether or not to autoconnect
7572                         to them
7573
7574 2007-10-08  Dan Williams  <dcbw@redhat.com>
7575
7576         * src/NetworkManagerPolicy.c
7577                 - (nm_policy_device_change_check): print out connection name where
7578                         possible
7579
7580 2007-10-08  Dan Williams  <dcbw@redhat.com>
7581
7582         * src/nm-device-802-11-wireless.c
7583           src/nm-device-802-11-wireless.h
7584                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7585                         'hidden-ap-found' signal (for internal use only) that allows the
7586                         NMManager to fill in the AP's SSID if a connection has that AP's
7587                         BSSID in its seen-bssids list
7588
7589         * src/nm-manager.c
7590                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7591                         wireless device's hidden-ap-found signal and fill in the APs SSID
7592                         if possible
7593
7594 2007-10-07  Dan Williams  <dcbw@redhat.com>
7595
7596         * src/nm-manager.c
7597           src/nm-manager.h
7598                 - Add a 'connections-added' signal to batch together updates of large
7599                         numbers of connections, like when reading from a settings service
7600                         the first time.  Otherwise, the policy would just activate the first
7601                         suitable connection it saw rather than waiting for the full list
7602                         to arrive.
7603                 - (nm_manager_class_init): register new signal
7604                 - (get_type_for_proxy, connection_get_settings_cb,
7605                    get_connection_for_proxy): centralize places where a proxy's setting
7606                         service is determined
7607                 - (free_get_settings_info): if the call being freed is the last call
7608                         in a pending call group, fire off the connections-added signal
7609                 - (internal_new_connection_cb): add call to a pending call group if
7610                         requested
7611                 - (list_connections_cb): always create a call group here, because this
7612                         call results in a batch of new connections
7613                 - (initial_get_connections): start getting system connections first
7614                 - (nm_manager_connections_destroy, emit_removed): actually emit the
7615                         removed signal when destroying connections
7616
7617         * src/NetworkManagerPolicy.c
7618                 - (nm_policy_new, connections_added): handle connections-added signal
7619                         from the manager
7620
7621 2007-10-06  Dan Williams  <dcbw@redhat.com>
7622
7623         * src/nm-device-802-11-wireless.c
7624                 - (constructor): fix leaked socket
7625
7626 2007-10-06  Dan Williams  <dcbw@redhat.com>
7627
7628         * src/NetworkManagerPolicy.c
7629                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
7630                         connection in the list returned by nm_manager_get_connections() is
7631                         reffed, but they weren't getting unreffed before returning
7632
7633 2007-10-06  Dan Williams  <dcbw@redhat.com>
7634
7635         * src/nm-manager.c
7636                 - (connections_to_slist): sort connections first on autoconnect, then
7637                         on timestamp
7638
7639 2007-10-06  Dan Williams  <dcbw@redhat.com>
7640
7641         * libnm-util/nm-connection.c
7642                 - (gvalue_to_string): handle UINT64
7643
7644 2007-10-06  Dan Williams  <dcbw@redhat.com>
7645
7646         * src/NetworkManagerPolicy.c
7647                 - (connection_updated, nm_policy_new): recheck state when a connection
7648                         gets updated
7649
7650 2007-10-06  Dan Williams  <dcbw@redhat.com>
7651
7652         * src/nm-manager.c
7653           src/nm-manager.h
7654                 - (nm_manager_get_connection_dbus_path): make static
7655                 - (nm_manager_update_connections): remove; unused
7656                 - Add a connection-updated signal
7657                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7658                         handle connection object updates
7659
7660 2007-10-06  Dan Williams  <dcbw@redhat.com>
7661
7662         * src/NetworkManagerPolicy.c
7663                 - (connection_removed): deactivate removed connections
7664
7665 2007-10-06  Dan Williams  <dcbw@redhat.com>
7666
7667         * libnm-util/nm-connection.c
7668           libnm-util/nm-connection.h
7669                 - (nm_connection_replace_settings): new function
7670
7671 2007-10-06  Dan Williams  <dcbw@redhat.com>
7672
7673         * libnm-glib/nm-device-802-11-wireless.c
7674                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7675                         on error when getting the active access point over D-Bus from NM
7676
7677 2007-10-05  Dan Williams  <dcbw@redhat.com>
7678
7679         * libnm-util/nm-setting.c
7680                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7681                         to the NMSettingWireless table; it's now a string array not an array
7682                         of byte arrays
7683
7684 2007-10-05  Dan Williams  <dcbw@redhat.com>
7685
7686         * libnm-glib/nm-device-802-11-wireless.c
7687                 - Cache properties and update cached properties on D-Bus signals from NM
7688
7689 2007-10-05  Dan Williams  <dcbw@redhat.com>
7690
7691         * src/nm-device-802-11-wireless.c
7692                 - (set_current_ap): consolidate current_ap handling code into one place
7693                         to ensure that PropertiesChanged signals are emitted in all cases
7694                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7695                    nm_device_802_11_wireless_dispose): use set_current_ap()
7696
7697 2007-10-05  Dan Williams  <dcbw@redhat.com>
7698
7699         * libnm-glib/nm-access-point.c
7700           libnm-glib/nm-access-point.h
7701                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7702                         because the value is cached internally now.  Callers should not
7703                         free the internal value.
7704                 - Make signal name defines private
7705
7706         * test/nm-tool.c
7707           libnm-glib/libnm-glib-test.c
7708                 - Don't free value returned from nm_access_point_get_hw_address()
7709
7710 2007-10-04  Dan Williams  <dcbw@redhat.com>
7711
7712         * introspection/nm-device-802-11-wireless.xml
7713           src/nm-device-802-11-wireless.h
7714           src/nm-device-802-11-wireless.c
7715                 - Add a PropertiesChanged signal for wireless device
7716                 - Store currently associated access point
7717                 - (periodic_update): generalize; update rate here too and emit the
7718                         correct PropertiesChanged signal when stuff changes
7719                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7720                    real_activation_cancel_handler): clear current_ap when device is
7721                         deactivated
7722                 - (link_to_specific_ap, get_ap_blacklisted,
7723                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7724                         code
7725                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7726                         outside this file
7727                 - (real_set_hw_address): emit property changed signal if the card's
7728                         MAC address changes
7729                 - (real_act_stage1_prepare): set the initial current_ap to the AP
7730                         the card is supposed to be connecting to
7731                 - (activation_success_handler): send out property updates on successful
7732                         activation
7733                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7734                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
7735                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7736                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7737                         is now boxed; add PropertiesChanged signal
7738
7739 2007-10-04  Dan Williams  <dcbw@redhat.com>
7740
7741         * libnm-util/nm-connection.c
7742           libnm-util/nm-connection.h
7743                 - (nm_connection_verify): new function
7744
7745 2007-10-04  Dan Williams  <dcbw@redhat.com>
7746
7747         * libnm-util/nm-setting.c
7748                 - (nm_settings_verify): use #defines when possible rather than strings
7749                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7750                 - (setting_vpn_verify): tighter validity check on 'service_type'
7751
7752 2007-10-04  Dan Williams  <dcbw@redhat.com>
7753
7754         * libnm-glib/nm-settings.c
7755                 - (nm_connection_settings_class_init): provide correct type for argument
7756                         to the Updated signal so that dbus-glib knows how to marshal it
7757
7758 2007-10-03  Dan Williams  <dcbw@redhat.com>
7759
7760         * src/nm-device-802-3-ethernet.c
7761                 - (real_get_best_connection): don't create automatic connections
7762                         internally; clients should provide a setting that applies to
7763                         the device with 'autoconnect: True'.  Problem was that these
7764                         internally auto-created connections don't have a proxy or service
7765                         name becuase they weren't created by a settings daemon, and therefore
7766                         clients have no idea what to do with them.
7767
7768 2007-10-03  Dan Williams  <dcbw@redhat.com>
7769
7770         * src/nm-device-802-11-wireless.c
7771           src/nm-device-802-11-wireless.h
7772           introspection/nm-device-802-11-wireless.xml
7773                 - GetActiveNetworks -> GetAccessPoints
7774                 - ActiveNetwork -> ActiveAccessPoint
7775                 - NetworkAdded -> AccessPointAdded
7776                 - NetowrkRemoved -> AccessPointRemoved
7777
7778         * libnm-glib/nm-device-802-11-wireless.c
7779           libnm-glib/nm-device-802-11-wireless.h
7780                 - network-added signal -> access-point-added
7781                 - network-removed signal -> access-point-removed
7782                 - nm_device_802_11_wireless_get_active_network() ->
7783                         nm_device_802_11_wireless_get_active_access_point()
7784                 - nm_device_802_11_wireless_get_network_by_path() ->
7785                         nm_device_802_11_wireless_get_access_point_by_path()
7786                 - nm_device_802_11_wireless_get_networks() ->
7787                         nm_device_802_11_wireless_get_access_points()
7788
7789         * libnm-glib/libnm-glib-test.c
7790           test/nm-tool.c
7791           src/NetworkManagerPolicy.c
7792                 - Fixups for Network -> AccessPoint
7793
7794 2007-10-03  Dan Williams  <dcbw@redhat.com>
7795
7796         Add a GetActiveConnections() method on the Manager object.
7797
7798         * src/nm-manager.c
7799           src/nm-manager.h
7800           introspection/nm-manager.xml
7801                 - (connection_get_settings_cb): keep connection type around too
7802                 - (impl_manager_get_active_connections, add_one_connection_element):
7803                         implement; returns all active connections and what devices they
7804                         apply to
7805
7806         * libnm-glib/nm-client.c
7807           libnm-glib/nm-client.h
7808           introspection/nm-manager-client.xml
7809                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7810                         by the caller; free here to avoid memory leak
7811                 - (nm_client_get_active_connections): implement; return the list of
7812                         active connections
7813                 - (nm_client_free_active_connection_element): implement; free an element
7814                         of the GSList returned by nm_client_get_active_connections()
7815
7816 2007-10-03  Dan Williams  <dcbw@redhat.com>
7817
7818         * src/nm-device-802-11-wireless.c
7819                 - (nm_device_802_11_wireless_update_bssid): remove
7820                 - (get_active_ap): new function; find the AP in the scan list which
7821                         matches the current BSSID and SSID of the wireless device
7822                 - (nm_device_802_11_periodic_update): get current AP using
7823                         get_active_ap() and print AP roam messages
7824
7825 2007-10-01  Dan Williams  <dcbw@redhat.com>
7826
7827         * libnm-util/nm-setting.h
7828                 - Add a 'timestamp' option to NMSettingConnection
7829                 - Add a UINT64 type
7830
7831         * libnm-util/nm-setting.c
7832                 - (uint64_to_gvalue): new function
7833                 - (nm_setting_populate_from_hash, nm_setting_hash,
7834                    default_setting_clear_secrets): handle UINT64 type
7835                 - con_table: add 'timestamp' member
7836
7837 2007-10-01  Dan Williams  <dcbw@redhat.com>
7838
7839         * src/nm-manager.c
7840                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7841                         value when the connection can be activated immediately
7842
7843 2007-10-01  Dan Williams  <dcbw@redhat.com>
7844
7845         * libnm-glib/nm-device.c
7846                 - (nm_device_class_init): actually tell glib about the carrier-changed
7847                         signal
7848
7849 2007-10-01  Dan Williams  <dcbw@redhat.com>
7850
7851         * configure.in
7852           src/marshallers/Makefile.am
7853           src/marshallers/nm-marshal.list
7854           src/marshallers/nm-marshal-main.c
7855                 - Consolidate glib marshallers into one place
7856
7857         * src/dhcp-manager/Makefile.am
7858           src/dhcp-manager/nm-dhcp-manager.c
7859           src/supplicant-manager/Makefile.am
7860           src/supplicant-manager/nm-supplicant-manager.c
7861           src/supplicant-manager/nm-supplicant-interface.c
7862           src/ppp-manager/Makefile.am
7863           src/ppp-manager/nm-ppp-manager.c
7864           src/vpn-manager/Makefile.am
7865           src/vpn-manager/nm-vpn-connection.c
7866           src/Makefile.am
7867                 - Use consolidated marshallers
7868
7869         * src/dhcp-manager/nm-dhcp-marshal.list
7870           src/dhcp-manager/nm-dhcp-marshal-main.c
7871           src/supplicant-manager/nm-supplicant-marshal-main.c
7872           src/supplicant-manager/nm-supplicant-marshal.list
7873           src/nm-marshal-main.c
7874           src/nm-marshal.list
7875           src/ppp-manager/nm-ppp-marshal-main.c
7876           src/ppp-manager/nm-ppp-marshal.list
7877           src/vpn-manager/nm-vpn-marshal-main.c
7878           src/vpn-manager/nm-vpn-marshal.list
7879                 - Remove
7880
7881 2007-10-01  Dan Williams  <dcbw@redhat.com>
7882
7883         * include/NetworkManagerVPN.h
7884                 - define VPN connection state change reason codes
7885
7886         * src/vpn-manager/Makefile.am
7887           src/vpn-manager/nm-vpn-marshal.list
7888           src/vpn-manager/nm-vpn-marshal-main.c
7889                 - Add marshallers for StateChanged signal
7890
7891         * introspection/nm-vpn-connection.xml
7892                 - New Banner property
7893                 - StateChanged signal now includes a 'reason' argument
7894
7895         * src/vpn-manager/nm-vpn-connection.c
7896           src/vpn-manager/nm-vpn-connection.h
7897                 - Add a "Banner" property that contains the returned VPN server login
7898                         banner (if any); valid only in the ACTIVATED state
7899                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
7900                         a 'reason' argument and emits that reason along with the
7901                         state-changed signal
7902                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
7903                 - (nm_vpn_connection_ip4_config_get): save banner for later
7904                 - (nm_vpn_connection_get_banner, get_property,
7905                    nm_vpn_connection_class_init): implement Banner property
7906
7907         * src/vpn-manager/nm-vpn-service.c
7908                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
7909                         connection list because elements may get added/removed from it
7910                         while iterating over the list
7911                 - (connection_state_changed): signal now includes the 'reason' argument
7912
7913         * libnm-glib/nm-vpn-connection.c
7914           libnm-glib/nm-vpn-connection.h
7915                 - (nm_vpn_connection_get_banner): new function
7916                 - (state_changed_proxy): handle reason argument
7917
7918 2007-09-28  Tambet Ingo  <tambet@gmail.com>
7919
7920         * src/nm-manager.c:
7921         * src/nm-manager.h:
7922         Implement device activation through NMManager.
7923         Implement "pending device activation" here - If the connection isn't found,
7924         we try to wait for up to 5 seconds for the connection to be provided.
7925         Add NMConnectionType argument to "connection-added" and "connection-removed"
7926         signals.
7927         (nm_manager_get): Remove. Finally.
7928
7929         * src/nm-activation-request.c: 
7930         * src/nm-activation-request.h: 
7931         Remove all the deferred activation code.
7932
7933         * src/nm-device.c: Remove all the deferred activation code. Once the device
7934         activation is started, it's started. Update the activation virtual function
7935         signature.
7936
7937         * src/nm-device-interface.c:
7938         * src/nm-device-interface.h:
7939         Device activation now takes only NMActRequest argument.
7940         Don't expose device activation directly on dbus, it's supposed to go through
7941         NMManager now.
7942
7943         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
7944         a bit more compact.
7945         Use the new device activation methods through NMManager.
7946
7947         * introspection/nm-manager-client.xml: 
7948         * introspection/nm-manager.xml: 
7949         * libnm-glib/nm-client.c:
7950         * libnm-glib/nm-client.h:
7951         Add device activation method.
7952         
7953         * libnm-glib/nm-device.c: 
7954         * libnm-glib/nm-device.h: 
7955         * introspection/nm-device.xml: 
7956         Remove device activation method. It's done through NMManager now.
7957
7958         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
7959         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
7960
7961 2007-09-28  Dan Williams  <dcbw@redhat.com>
7962
7963         * libnm-glib/nm-vpn-connection.c
7964                 - (nm_vpn_connection_get_state): try to update state if the current
7965                         state is UNKNOWN
7966
7967 2007-09-27  Dan Williams  <dcbw@redhat.com>
7968
7969         Patch from Bill Nottingham
7970
7971         * src/supplicant-manager/nm-supplicant-config.c
7972                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
7973                         data to the supplicant
7974
7975 2007-09-27  Dan Williams  <dcbw@redhat.com>
7976
7977         * src/NetworkManagerSystem.c
7978                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
7979                         and all address manipulation here should be happening on the
7980                         _VPN_ device, not the active device
7981
7982 2007-09-26  Dan Williams  <dcbw@redhat.com>
7983
7984         * src/nm-manager.c
7985           src/nm-manager.h
7986           src/nm-activation-request.c
7987           src/nm-activation-request.h
7988                 - Move the GetSecrets stuff out of the NMManager instance because it
7989                         doesn't really need to be there and complicates things
7990
7991         * src/nm-device.c
7992                 - (connection_secrets_failed_cb, device_activation_go): connect to the
7993                         connection-secrets-failed signal and deactivate the device if
7994                         the GetSecrets call fails
7995
7996         * src/nm-device-802-11-wireless.c
7997                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7998                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
7999                         secrets and give correct hints about whether new secrets should be
8000                         asked for by the client or not
8001
8002 2007-09-26  Dan Williams  <dcbw@redhat.com>
8003
8004         * src/vpn-manager/nm-vpn-connection.c
8005                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8006                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8007                         to the secrets-updated signal of the NMConnection since updating
8008                         the secrets is done within the scope of the NMVPNConnection object
8009                         already
8010                 - (get_connection_secrets): fix an uninialized variable usage error
8011
8012 2007-09-26  Dan Williams  <dcbw@redhat.com>
8013
8014         * libnm-util/nm-setting.c
8015                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8016                         actually get updated when the user enters them
8017
8018 2007-09-26  Dan Williams  <dcbw@redhat.com>
8019
8020         * libnm-glib/nm-vpn-plugin.c
8021                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8022
8023 2007-09-26  Dan Williams  <dcbw@redhat.com>
8024
8025         * include/NetworkManagerVPN.h
8026                 - Add a NEED_AUTH state
8027
8028         * src/vpn-manager/nm-vpn-connection.c
8029                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
8030                         the connection needs secrets, and if so, then ask the settings
8031                         service to fill in the secrets.  Then start the connection.
8032
8033 2007-09-26  Dan Williams  <dcbw@redhat.com>
8034
8035         * src/vpn-manager/nm-vpn-manager.c
8036                 - (new_vpn_error, impl_vpn_manager_connect): set errors
8037
8038 2007-09-26  Dan Williams  <dcbw@redhat.com>
8039
8040         * introspection/nm-vpn-plugin.xml
8041           libnm-glib/nm-vpn-plugin.c
8042           libnm-glib/nm-vpn-plugin.h
8043                 - (impl_vpn_plugin_need_secrets): implement a call that should return
8044                         the name of the NMSetting in an NMConnection that may require
8045                         secrets specific to that VPN plugin
8046
8047 2007-09-26  Dan Williams  <dcbw@redhat.com>
8048
8049         * src/nm-manager.c
8050           src/nm-manager.h
8051                 - (nm_manager_get_connection_secrets): make static, unused outside
8052                         the file
8053                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8054
8055 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8056
8057         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8058         method.
8059         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8060         unreference the connection.
8061
8062         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8063         passing properties hash and routes string list, pass NMConnection (in hashed form).
8064
8065         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8066         as GSList, no need to copy stuff around anymore.
8067         (nm_vpn_connection_activate): Update the plugin activation method.
8068
8069         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8070         routes argument to GSList.
8071
8072 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8073
8074         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8075         state and try to get the secrets.
8076
8077         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8078         connections from NMManager and let the device to choose the best from the list.
8079         Since the connection list is sorted by system ones first and user ones later,
8080         the devices still prefer system connections like they did before.
8081         (deactivate_old_device): Implement. When a device starts activation, we have a
8082         policy (for now at least) to deactivate any other device that might be either
8083         active or still activating.
8084
8085         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8086         It's set on construction, there will be no other way to access it.
8087
8088         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8089         device events and drive the device, not the other way around.
8090
8091         * src/nm-device-802-3-ethernet.c: Ditto.
8092
8093         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8094         sent along, pass it on to virtual functions.
8095
8096         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8097         for now, but should really be public instead of nm_device_get_iface() since iface
8098         is a property of the DeviceInterface, not Device.
8099         (impl_device_activate): Don't touch NMManager!
8100
8101 2007-09-26  Jürg Billeter  <j@bitron.ch>
8102
8103         * initscript/paldo/NetworkManager.in:
8104         * initscript/paldo/NetworkManagerDispatcher.in:
8105         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8106         (nm_system_flush_loopback_routes): update paldo backend
8107
8108 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8109
8110         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8111         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8112         which means none of the devices get brought down properly, which in turn leaves
8113         DHCP client running.
8114
8115         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8116         (supplicant_connection_timeout_cb): Ditto.
8117
8118 2007-09-25  Dan Williams  <dcbw@redhat.com>
8119
8120         * src/nm-device.c
8121                 - (device_activation_go): small hack to work around race when
8122                         activating deferred connections; should solve this in a better way
8123
8124 2007-09-25  Dan Williams  <dcbw@redhat.com>
8125
8126         * introspection/nm-device.xml
8127           libnm-glib/nm-device.c
8128           libnm-glib/nm-device.h
8129                 - Add 'Carrier' property to exported NMDevice objects
8130
8131         * src/nm-device-interface.h
8132           src/nm-device-interface.c
8133           src/nm-device.c
8134                 - Add a 'carrier' property to internal NMDevice objects
8135
8136 2007-09-25  Dan Williams  <dcbw@redhat.com>
8137
8138         * src/nm-device-802-11-wireless.c
8139                 - (ap_auth_enforced): also return the encryption status of the AP so
8140                         that callers can differentiate easily between unencrypted APs
8141                         and encrypted ones, in addition to whether the AP has an
8142                         authenticator
8143                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8144                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8145                         previously would request secrets from unencrypted APs at times
8146
8147 2007-09-25  Dan Williams  <dcbw@redhat.com>
8148
8149         * src/nm-manager.c
8150                 - (nm_manager_update_state): new function; updates state and emits
8151                         appropriate signals ensuring a state-change signal for the same state
8152                         never gets emitted twice in a row.
8153                 - (manager_device_state_changed): handle more device state to get a
8154                         better picture of the overall NM state
8155
8156 2007-09-25  Dan Williams  <dcbw@redhat.com>
8157
8158         * libnm-glib/nm-settings.c
8159           libnm-glib/nm-settings.h
8160                 - (new_error -> nm_settings_new_error): make public so that subclasses
8161                         can use the same error domain.  Also pass a valid error code to
8162                         g_error_new_literal() so that libdbus doesn't assert when converting
8163                         the GError into a DBusError
8164                 - (impl_settings_list_connections, impl_connection_settings_get_id,
8165                    impl_connection_settings_get_settings,
8166                    impl_connection_settings_get_secrets): use new error creator
8167                         function
8168
8169 2007-09-25  Dan Williams  <dcbw@redhat.com>
8170
8171         * src/NetworkManager.c
8172                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8173
8174 2007-09-25  Dan Williams  <dcbw@redhat.com>
8175
8176         * src/supplicant-manager/nm-supplicant-manager.c
8177                 - (poke_supplicant_cb, nm_supplicant_manager_init,
8178                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8179                    nm_supplicant_manager_startup): when the supplicant isn't running,
8180                         try to start it periodically via system bus activation.  Fixes
8181                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
8182                         for the supplicant to come back
8183
8184 2007-09-25  Dan Williams  <dcbw@redhat.com>
8185
8186         Ensure that old activation requests are forgotten about; previously
8187         hitting Cancel in the password dialog would deactivate whatever device
8188         that password was requested for, even if that wasn't the currently
8189         activating connection.
8190
8191         * src/nm-manager.c
8192           src/nm-manager.h
8193                 - (nm_manager_get_connection_secrets): track the pending call
8194                         object so it can be canceled later if needed
8195                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8196                         GetSecrets call for a particular connection
8197
8198         * src/nm-activation-request.c
8199                 - (dispose): cancel any outstanding GetSecrets calls on the
8200                         connection
8201
8202 2007-09-25  Dan Williams  <dcbw@redhat.com>
8203
8204         * src/NetworkManagerPolicy.c
8205                 - (nm_policy_device_change_check): handle devices that have a
8206                         deferred activation.  These devices are not really active _yet_,
8207                         but need to be treated as such here.  Don't interrupt them
8208                         automatically.
8209
8210         * src/nm-device-interface.c
8211                 - (impl_device_activate): handle devices that have a deferred activation
8212                         like activating or active devices.  When multiple active devices
8213                         get committed, the device shouldn't be deactivated until the
8214                         connection details are available to avoid DoS and such.  Currently,
8215                         any active, activating, or deferred activation device is deactivated
8216                         here before starting the new activation request.
8217
8218 2007-09-25  Dan Williams  <dcbw@redhat.com>
8219
8220         Properly re-query secrets from the settings daemon when stuff fails.
8221
8222         * src/nm-device-802-11-wireless.c
8223                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8224                         between Shared Key and Open System auth modes
8225                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8226                    real_act_stage4_ip_config_timeout): clear existing secrets and
8227                         request new ones when something fails due to a suspected wrong key
8228                 - (real_act_stage2_config): fix for new request_new argument to
8229                         nm_manager_get_connection_secrets()
8230
8231         * src/nm-manager.c
8232           src/nm-manager.h
8233                 - (nm_manager_get_connection_secrets): return error status; pass
8234                         new request_new argument on to the settings daemon
8235
8236         * introspection/nm-settings-connection.xml
8237                 - New 'request_new' argument to the GetSecrets call that hints to the
8238                         settings daemon to ask the user for completely new secrets
8239
8240         * libnm-glib/nm-settings.c
8241           libnm-glib/nm-settings.h
8242                 - (impl_connection_settings_get_secrets): handle new 'request_new'
8243                         argument
8244
8245 2007-09-25  Dan Williams  <dcbw@redhat.com>
8246
8247         * libnm-util/nm-connection.c
8248           libnm-util/nm-connection.h
8249                 - (nm_connection_clear_secrets): new function; clear secrets out of
8250                         each NMSetting in an NMConnection
8251
8252         * libnm-util/nm-setting.h
8253           libnm-util/nm-setting.c
8254                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
8255                         secrets out of an NMSetting
8256                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
8257                    nm_setting_wired_new, nm_setting_wireless_new,
8258                    nm_setting_wireless_security_new, nm_setting_ppp_new,
8259                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8260                         to default handler default_setting_clear_secrets()
8261
8262 2007-09-25  Dan Williams  <dcbw@redhat.com>
8263
8264         * src/nm-activation-request.c
8265           src/nm-activation-request.h
8266                 - (nm_act_request_is_deferred): new function
8267
8268 2007-09-24  Dan Williams  <dcbw@redhat.com>
8269
8270         * src/nm-device-802-11-wireless.c
8271                 - (activation_success_handler): update signal strength immediately
8272                         after activation
8273
8274 2007-09-24  Dan Williams  <dcbw@redhat.com>
8275
8276         * libnm-util/nm-setting.c
8277                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8278
8279 2007-09-24  Dan Williams  <dcbw@redhat.com>
8280
8281         * src/NetworkManagerPolicy.c
8282                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8283                         device by deactivating it because it doesn't have a "best connection".
8284                         Since autoconnect=False connections aren't automatically chosen,
8285                         NM would interrupt activation of such a connection because it
8286                         would never be "best" due to autoconnect=False.
8287
8288 2007-09-24  Dan Williams  <dcbw@redhat.com>
8289
8290         * src/nm-manager.c
8291                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8292                         actually has some time to enter a key before the GetSecrets call
8293                         times out
8294
8295 2007-09-24  Dan Williams  <dcbw@redhat.com>
8296
8297         * introspection/nm-manager.xml
8298           src/nm-manager.c
8299                 - (impl_manager_legacy_state): fix 'state' method call return value
8300
8301 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
8302
8303         * test/Makefile.am: Install nm-tool
8304
8305 2007-09-24  Dan Williams  <dcbw@redhat.com>
8306
8307         Patch from Ross Burton <ross@burtonini.com>
8308
8309         * test/nm-tool.c
8310           callouts/nm-dhcp-client-action.c
8311           src/nm-netlink.c
8312           src/vpn-manager/nm-vpn-connection.c
8313           libnm-glib/libnm-glib-test.c
8314                 - warning fixes
8315
8316 2007-09-24  Dan Williams  <dcbw@redhat.com>
8317
8318         * libnm-util/nm-utils.h
8319           libnm-util/nm-utils.c
8320                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8321                         remove, unused
8322
8323 2007-09-23  Dan Williams  <dcbw@redhat.com>
8324
8325         * vpn-daemons/vpnc/properties/nm-vpnc.c
8326                 - Update for new VPN properties API bits; instead of passing around
8327                         a lot of random things, everything goes into the NMConnection
8328                         object.
8329
8330 2007-09-23  Dan Williams  <dcbw@redhat.com>
8331
8332         * libnm-util/nm-setting.c
8333                 - Correctly dispose of settings objects if creating them from a hash
8334                         table fails
8335
8336 2007-09-23  Dan Williams  <dcbw@redhat.com>
8337
8338         * libnm-util/nm-setting.c
8339                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8340                         the hash table in a standard manner.  Clients of libnm-util should
8341                         only call g_hash_table_remove_all(), never destroy the hash table
8342                         and recreate it.
8343
8344 2007-09-22  Dan Williams  <dcbw@redhat.com>
8345
8346         * src/nm-device-802-11-wireless.c
8347                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
8348                         real reason to do it so often, and reduces wakeups for clients.
8349
8350 2007-09-21  Dan Williams  <dcbw@redhat.com>
8351
8352         * src/nm-device-802-11-wireless.c
8353                 - (build_supplicant_config): wpa_supplicant requires the option
8354                         key_mgmt=NONE for unencrypted networks
8355                 - (real_act_stage2_config): clarify log message on activation
8356
8357 2007-09-21  Dan Williams  <dcbw@redhat.com>
8358
8359         * test/nm-supplicant-test.c
8360           test/Makefile.am
8361                 - Remove supplicant test binary; no longer applicable
8362
8363 2007-09-21  Dan Williams  <dcbw@redhat.com>
8364
8365         * src/supplicant-manager/nm-supplicant-manager.c
8366                 - (nm_supplicant_manager_init): poke the supplicant at startup to
8367                         activate it on the system bus
8368
8369 2007-09-20  Dan Williams  <dcbw@redhat.com>
8370
8371         * initscript/RedHat/NetworkManager.in
8372                 - dhcdbd is no longer used, so don't try to start it from the initscripts
8373
8374 2007-09-20  Dan Williams  <dcbw@redhat.com>
8375
8376         * src/nm-device.c
8377                 - (nm_device_is_activating): work around a race between auto-activation
8378                         and the user activating the same device that is being auto-activated
8379
8380 2007-09-20  Dan Williams  <dcbw@redhat.com>
8381
8382         * src/nm-device-interface.c
8383                 - (impl_device_activate): until multiple active device support lands,
8384                         ensure only one device can be active at a time
8385
8386 2007-09-20  Dan Williams  <dcbw@redhat.com>
8387
8388         * src/supplicant-manager/nm-supplicant-config.c
8389           src/supplicant-manager/nm-supplicant-config.h
8390                 - (nm_supplicant_config_add_option): hide secrets from system logs
8391
8392 2007-09-20  Dan Williams  <dcbw@redhat.com>
8393
8394         * src/NetworkManagerPolicy.c
8395                 - (nm_policy_device_change_check): re-enable the wireless device change
8396                         checking code; insted of checking for SSIDs, check for the same
8397                         connection instead
8398
8399 2007-09-20  Dan Williams  <dcbw@redhat.com>
8400
8401         * src/nm-device-802-11-wireless.c
8402                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8403                         composite link state when determining when to start the disconnection
8404                         timer; that link state is already based on the supplicant interface's
8405                         status which is exactly what's already being examined, plus the link
8406                         state is a conglomeration of various things that we don't want here
8407
8408 2007-09-20  Dan Williams  <dcbw@redhat.com>
8409
8410         * libnm-glib/nm-access-point.c
8411                 - (handle_property_changed): strength is a UCHAR
8412
8413 2007-09-20  Dan Williams  <dcbw@redhat.com>
8414
8415         * src/supplicant-manager/nm-supplicant-config.c
8416                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8417                         string list keywords too since that's what wpa_supplicant wants
8418
8419 2007-09-20  Dan Williams  <dcbw@redhat.com>
8420
8421         * libnm-util/nm-setting.c
8422                 - (convert_strv_to_slist): dupe the values in the list because since
8423                         the list is a boxed value, it'll get destroyed when it's container
8424                         (like a hash table or whatever) gets destroyed
8425
8426 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8427
8428         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8429         GSList.
8430
8431         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8432
8433         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8434         just use (g_object_set_data_full).
8435
8436         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8437         that NMSettingVPN->routes is a GSList, convert it to char **.
8438         (nm_vpn_connection_ip4_config_get): Free routes when done.
8439         (nm_vpn_connection_activate): Ditto.
8440
8441         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8442         (real_act_stage2_config): Use defined setting names.
8443
8444 2007-09-20  Dan Williams  <dcbw@redhat.com>
8445
8446         * src/nm-device-802-11-wireless.c
8447           src/nm-manager.c
8448           src/nm-manager.h
8449                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8450                         so that the device can be deactivated if secrets are wrong
8451
8452 2007-09-20  Dan Williams  <dcbw@redhat.com>
8453
8454         * introspection/nm-settings-connection.xml
8455           libnm-glib/nm-settings.c
8456           libnm-glib/nm-settings.h
8457                 - Make GetSecrets asynchronous on the server side
8458
8459 2007-09-20  Dan Williams  <dcbw@redhat.com>
8460
8461         * src/nm-manager.h
8462           src/nm-device.c
8463                 - (nm_device_activate): actually check if a given connection
8464                         exists before assuming it doesn't
8465
8466 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8467
8468         * libnm-util/nm-connection.c (register_default_creators): Use defined
8469         setting names. Register NMSettingVPN and NMSettingVPNProperties.
8470
8471         * libnm-util/nm-setting.c: Define property name strings, use them.
8472         Implement NMSettingVPN and NMSettingVPNProperties settings.
8473         Implement NM_S_TYPE_GVALUE_HASH.
8474         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8475         (setting_connection_verify): Rename 'devtype' property to 'type'.
8476
8477         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8478         properties.
8479
8480         * src/vpn-manager/nm-vpn-service.c: Ditto.
8481
8482         * src/vpn-manager/nm-vpn-connection.c: Ditto.
8483
8484         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8485         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8486
8487         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8488         names. NMSettingConnection->devtype got renamed to 'type'.
8489
8490         * src/nm-device-802-3-ethernet.c (find_best_connection):
8491         (real_get_best_connection): Ditto.
8492
8493         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8494
8495         * libnm-glib/nm-vpn-manager.[ch]: Update.
8496
8497 2007-09-19  Dan Williams  <dcbw@redhat.com>
8498
8499         * src/NetworkManagerAP.c
8500           src/NetworkManagerAP.h
8501           introspection/nm-access-point.xml
8502                 - Change strength-changed signal into a properties-changed signal
8503                         for all properties, not just strength.  Export that signal over dbus
8504                         so listeners don't have to poll NM for changes.
8505                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8506                         get exported over D-Bus, so break up the logic and let other bits
8507                         decided when to export the AP
8508                 - (nm_ap_new_from_ap): remove, unused
8509
8510         * src/nm-device-802-11-wireless.c
8511                 - (merge_scanned_ap): only export APs that are actually on the device
8512                         list, not every AP created internally
8513
8514         * libnm-glib/nm-access-point.c
8515           libnm-glib/nm-access-point.h
8516                 - Cache properties internally and only hit DBus when needed.  Get
8517                         property updates from NM signals
8518
8519 2007-09-16  Dan Williams  <dcbw@redhat.com>
8520
8521         * libnm-util/nm-connection.c
8522           libnm-util/nm-connection.h
8523                 - (nm_connection_for_each_setting_value): new function; iterate over
8524                         each setting's value and call a user-provided function with details
8525                         about that value
8526
8527         * libnm-util/nm-setting.c
8528           libnm-util/nm-setting.h
8529                 - (nm_setting_enumerate_values): new function; enumerate the values
8530                         of a specific NMSetting subclass for a user-provided function with
8531                         details about that value
8532                 - Change wep_tx_keyidx to a uint32
8533                 - Create settings value tables for each setting defining their type,
8534                         key name, offset into the NMSetting subclass' structure, and whether
8535                         they are required and/or a secret
8536                 - (nm_setting_populate_from_hash): generic function to populate an
8537                         NMSetting from a GHash table, make all settings use it
8538                 - (nm_setting_hash): generic function to derive a GHashTable from
8539                         an NMSetting object, make all settings use it
8540
8541 2007-09-14  Dan Williams  <dcbw@redhat.com>
8542
8543         Remove unused stuff in libnm-util
8544
8545         * configure.in
8546           libnm-util/Makefile.am
8547           libnm-util/cipher-private.h
8548           libnm-util/cipher-wep-ascii.c
8549           libnm-util/cipher-wep-ascii.h
8550           libnm-util/cipher-wep-hex.c
8551           libnm-util/cipher-wep-hex.h
8552           libnm-util/cipher-wep-passphrase.c
8553           libnm-util/cipher-wep-passphrase.h
8554           libnm-util/cipher-wpa-psk-hex.c
8555           libnm-util/cipher-wpa-psk-hex.h
8556           libnm-util/cipher-wpa-psk-passphrase.c
8557           libnm-util/cipher-wpa-psk-passphrase.h
8558           libnm-util/cipher.c
8559           libnm-util/cipher.h
8560           libnm-util/dbus-helpers.c
8561           libnm-util/dbus-helpers.h
8562           libnm-util/gnome-keyring-md5.c
8563           libnm-util/gnome-keyring-md5.h
8564           libnm-util/sha1.c
8565           libnm-util/sha1.h
8566           src/nm-device-802-11-wireless.c
8567           test/libnm-util/Makefile.am
8568           test/libnm-util/test-ciphers.c
8569           test/libnm-util/test-dbus-helpers.c
8570           test/libnm-util/test-inputs.h
8571                 - Removed
8572
8573 2007-09-14  Dan Williams  <dcbw@redhat.com>
8574
8575         * libnm-util/dbus-method-dispatcher.c
8576           libnm-util/dbus-method-dispatcher.h
8577                 - Remove, unused
8578
8579 2007-09-14  Dan Williams  <dcbw@redhat.com>
8580
8581         Implement deferred activation support in the device class.
8582
8583         * src/nm-device-interface.c
8584           src/nm-device-interface.h
8585                 - (nm_device_interface_activate): take more arguments to support
8586                         deferred activation; callers must pass one of (connection) OR
8587                         (service_name, connection_path)
8588                 - (impl_device_activate): connection validation is punted to the device
8589                         to be able to handle deferred activation.  Yes, this means errors
8590                         don't get returned from the Activate() dbus call, and yes, that
8591                         should be fixed somehow later.
8592
8593         * src/nm-device.c
8594           src/nm-device.h
8595                 - (clear_act_request): clear additional deferred activation stuff too
8596                 - (deferred_activation_timeout_cb): new function; clean up when
8597                         deferred activation times out.
8598                 - (deferred_activation_start_cb): new function; when the connection
8599                         finally becomes available, start device activation
8600                 - (nm_device_activate): attach to the right signals of the activation
8601                         request if we need to defer activation until the connection is valid
8602
8603         * src/NetworkManagerPolicy.c
8604                 - (nm_policy_device_change_check): update for additional arguments
8605                         required for nm_device_interface_activate().  Pass NULL for these
8606                         though because this function already knows exactly which
8607                         NMConnection to use
8608
8609 2007-09-14  Dan Williams  <dcbw@redhat.com>
8610
8611         Implement deferred activation handling in the NMActRequest class.  When a
8612         client wants to activate a device but must create the NMConnection details
8613         on the fly, there likely hasn't been enough time yet for NM to receive the
8614         new connection signal and grab all the connection details.  So the
8615         activation is deferred (and bounded by a timer) for a while, and if the
8616         connection appears within the window, it is activated.
8617
8618         * src/nm-activation-request.c
8619           src/nm-activation-request.h
8620                 - (nm_act_request_class_init): two new signals to support deferred
8621                         activation, to allow the listener to handle both timeout and success
8622                 - (nm_act_request_new_deferred): new function, starts the deferred
8623                         activation timeout handler and listens to the NMManager for
8624                         new-connection signals to notice when the connection comes in
8625
8626 2007-09-14  Dan Williams  <dcbw@redhat.com>
8627
8628         * src/nm-manager.h
8629           src/nm-manager.c
8630                 - (nm_manager_get_connection_service_name,
8631                    nm_manager_get_connection_dbus_path): get details about a connection
8632                         known internally by the NMManager
8633                 - (nm_manager_class_init): fix connection add/remove signal marshalers
8634                         because NMConnection is now a GObject subclass
8635                 - Use constant for the gobject data tag used on NMConnection objects for
8636                         storing the associated DBusGProxy
8637
8638 2007-09-14  Dan Williams  <dcbw@redhat.com>
8639
8640         * utils/Makefile.am
8641           utils/nm-utils.c
8642           utils/nm-utils.h
8643           src/supplicant-manager/Makefile.am
8644           src/dhcp-manager/Makefile.am
8645           src/backends/Makefile.am
8646           src/named-manager/Makefile.am
8647           src/ppp-manager/Makefile.am
8648           src/vpn-manager/Makefile.am
8649           test/libnm-util/Makefile.am
8650           test/test-common/Makefile.am
8651                 - Remove utils/; it was unused
8652
8653 2007-09-13  Dan Williams  <dcbw@redhat.com>
8654
8655         * libnm-glib/nm-vpn-manager.h
8656           libnm-glib/nm-vpn-manager.c
8657                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8658
8659 2007-09-13  Dan Williams  <dcbw@redhat.com>
8660
8661         * src/nm-device-802-3-ethernet.c
8662                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8663                         netlink monitor carrier signals on dispose, not bring down.  The
8664                         carrier signals should be handled over the entire lifetime of the
8665                         device anyway, not created/destroyed on up or down.
8666
8667 2007-09-13  Dan Williams  <dcbw@redhat.com>
8668
8669         * libnm-glib/nm-device.c
8670           libnm-glib/nm-device.h
8671                 - (nm_device_activate): take a connection object path rather than an
8672                         NMConnection because NMConnection isn't exported over D-Bus and
8673                         therefore it dbus-glib can't automatically get an object path from it
8674
8675 2007-09-13  Dan Williams  <dcbw@redhat.com>
8676
8677         * libnm-util/nm-setting.c
8678                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8679
8680 2007-09-13  Tambet Ingo  <tambet@gmail.com>
8681
8682         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8683
8684 2007-09-12  Tambet Ingo  <tambet@gmail.com>
8685
8686         * src/vpn-manager/nm-vpn-connection.[ch]: 
8687         * src/vpn-manager/nm-vpn-manager.[ch]:
8688         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
8689         dbus-glib, GObjects, signals etc.
8690
8691         * libnm-glib/nm-vpn-manager.[ch]: 
8692         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8693         so much, rewrite these too.
8694
8695         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8696         the new introspection files.
8697
8698         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8699
8700         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8701         the header with the same name from libnm-utils.
8702
8703         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8704
8705         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8706
8707         * introspection/nm-vpn-plugin.xml: Implement.
8708
8709         * introspection/nm-vpn-connection.xml: Implement.
8710
8711         * introspection/nm-vpn-manager.xml: Implement.
8712
8713         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8714         the named manager argument, it can just as easily get it as the caller.
8715         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8716
8717         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8718
8719         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8720
8721         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8722         libnm-utils.
8723
8724         * libnm-util/nm-connection.c: Ditto.
8725
8726         * src/NetworkManagerMain.h: Remove, it's finally empty.
8727
8728         * configure.in: Remove utils/ from build.
8729
8730         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8731         of hard-coded strings.
8732
8733         * utils/: Move it over to libnm-util.
8734
8735         * test/Makefile.am: Link against libnm-util now that util/ is gone.
8736
8737         * dispatcher-daemon/Makefile.am: Ditto.
8738
8739         * src/Makefile.am: Ditto.
8740
8741 2007-09-12  Dan Williams  <dcbw@redhat.com>
8742
8743         Wireless connections can be made with config data from the applet now.
8744         
8745         Yay.
8746
8747         * src/supplicant-manager/nm-supplicant-config.h
8748           src/supplicant-manager/nm-supplicant-config.c
8749                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8750                 - (nm_supplicant_config_add_setting_wireless,
8751                    nm_supplicant_config_add_setting_wireless_security): new functions;
8752                         add key/value pairs from the settings objects to the supplicant
8753                         config
8754
8755         * src/nm-device-802-11-wireless.c
8756                 - (cull_scan_list): fix check to not prune currently associated AP
8757                 - (build_supplicant_config, real_act_stage2_config): call the functions
8758                         of the NMSupplicantConfig that parse settings objects rather than
8759                         doing it manually here
8760
8761 2007-09-12  Dan Williams  <dcbw@redhat.com>
8762
8763         * src/supplicant-manager/nm-supplicant-interface.c
8764           src/supplicant-manager/nm-supplicant-marshal.list
8765                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8766                         "connection-error" signal arguments should be STRING not CHAR
8767
8768 2007-09-12  Dan Williams  <dcbw@redhat.com>
8769
8770         * src/NetworkManagerUtils.c
8771           src/NetworkManagerUtils.h
8772                 - (nm_utils_hexstr2bin): new function
8773
8774 2007-09-11  Dan Williams  <dcbw@redhat.com>
8775
8776         * src/nm-manager.c
8777                 - (connection_get_settings_cb): emit connection-added signal
8778                 - (connection_removed_cb): uncomment bits for system settings service,
8779                         send connection-removed when appropriate
8780                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8781                         the stack by trying to g_object_set_data() on something that's
8782                         not a GObject; handle case where settings service returns
8783                         empty settings hash table
8784
8785 2007-09-11  Dan Williams  <dcbw@redhat.com>
8786
8787         * src/NetworkManagerPolicy.c
8788                 - (connection_added, connection_removed): trigger device change checks
8789                         on connection changes
8790
8791 2007-09-11  Dan Williams  <dcbw@redhat.com>
8792
8793         * src/nm-activation-request.c
8794                 - (connection_secrets_updated_cb): fix c&p error in signal emission
8795
8796 2007-09-11  Dan Williams  <dcbw@redhat.com>
8797
8798         * src/nm-device-802-11-wireless.c
8799                 - (real_connection_secrets_updated): fix erroneous check
8800
8801 2007-09-11  Dan Williams  <dcbw@redhat.com>
8802
8803         * introspection/nm-device.xml
8804           libnm-glib/nm-device.c
8805           libnm-glib/nm-device.c
8806                 - Fix Activate call argument borkage; Activate takes 3 arguments
8807
8808 2007-09-11  Dan Williams  <dcbw@redhat.com>
8809
8810         * libnm-glib/nm-access-point.c
8811           libnm-glib/nm-access-point.c
8812                 - (nm_access_point_get_frequency): now returns guint32 to match
8813                         property change on 2007-09-10
8814
8815 2007-09-11  Dan Williams  <dcbw@redhat.com>
8816
8817         * src/nm-device-802-11-wireless.c
8818                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8819                         somewhere defines 'index' and I missed this one when I fixed the
8820                         shadow declaration errors earlier
8821
8822 2007-09-11  Dan Williams  <dcbw@redhat.com>
8823
8824         * libnm-util/nm-connection.c
8825                 - (nm_connection_update_secrets, need_secrets_check): move
8826                         802-11-wireless-security need_secrets checks to the setting object
8827                         itself, where it belongs
8828
8829         * libnm-util/nm-setting.c
8830           libnm-util/nm-setting.h
8831                 - (nm_setting_need_secrets): new function
8832                 - (setting_wireless_security_verify,
8833                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8834                 - (setting_wireless_security_need_secrets): mostly copy code over
8835                         from nm-connection.c
8836
8837 2007-09-11  Dan Williams  <dcbw@redhat.com>
8838
8839         * libnm-util/nm-setting.c
8840           libnm-util/nm-setting.h
8841                 - (nm_setting_update_secrets): new function; add a virtual function that
8842                         subclasses can implement to update their secrets
8843                 - (setting_wireless_security_update_secrets): implement that function
8844                         for the 802-11-wireless-security subclass
8845
8846         * libnm-util/nm-connection.c
8847           libnm-util/nm-connection.h
8848                 - (nm_connection_update_secrets): update secrets for a Setting and
8849                         emit a signal on success
8850
8851         * src/nm-manager.c
8852           src/nm-manager.h
8853           src/nm-marshal.list
8854                 - (connection_get_settings_cb): enable system settings bits
8855                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8856                         to request secrets from the settings dbus service and to
8857                         push those secrets to the NMConnection itself
8858
8859         * src/nm-activation-request.c
8860           src/nm-activation-request.h
8861                 - Attach to the 'secrets-updated' signal of the NMConnection that's
8862                         currently being activated, and proxy that signal to other listeners.
8863                         Goes through the activation request because the activation request
8864                         is the thing that manages the lifetime of the NMConnection that's
8865                         being activated.
8866
8867         * src/nm-device-802-11-wireless.c
8868                 - (real_connection_secrets_updated): implement the connection secrets
8869                         updated notification and restart activation when secrets are
8870                         received
8871                 - (real_act_stage2_config): request secrets from the settings dbus
8872                         service if secrets are needed
8873
8874         * src/nm-device.c
8875           src/nm-device.h
8876                 - (clear_act_request, nm_device_activation_cancel,
8877                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
8878                         where the activation request is cleared
8879                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
8880                         updated secrets signal of activation request and add a function
8881                         that subclasses can override to handle it easily
8882
8883 2007-09-11  Tambet Ingo  <tambet@gmail.com>
8884
8885         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
8886         removal of NetworkManagerAPList.
8887
8888 2007-09-10  Dan Williams  <dcbw@redhat.com>
8889
8890         * src/NetworkManagerAP.c
8891           src/NetworkManagerAP.h
8892           introspection/nm-access-point.xml
8893                 - Change 'freq' property to a guint32 instead of a double since we
8894                         weren't using the floating point bits anyway
8895
8896 2007-09-10  Dan Williams  <dcbw@redhat.com>
8897
8898         * NetworkManagerAP.c
8899           NetworkManagerAP.h
8900           NetworkManagerPolicy.c
8901           NetworkManagerSystem.c
8902           NetworkManagerUtils.c
8903           NetworkManagerUtils.h
8904           nm-device-802-11-wireless.c
8905           nm-device-802-3-ethernet.c
8906           nm-hal-manager.c
8907           nm-manager.c
8908           vpn-manager/nm-dbus-vpn.c
8909                 - Warning fixes; casts and removal of unused variables
8910
8911 2007-09-10  Dan Williams  <dcbw@redhat.com>
8912
8913         * include/NetworkManager.h
8914                 - Kill NMNetworkType; AP types don't matter any more
8915
8916         * src/NetworkManagerAPList.c
8917           src/NetworkManagerAPList.h
8918           src/Makefile.am
8919                 - Kill; NMAccessPointList has outlived it's usefulness
8920
8921         * src/NetworkManagerAP.c
8922           src/NetworkManagerAP.h
8923                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
8924                         functions; check if an NMConnection object is compatible with the
8925                         settings of this AP
8926                 - (freq_to_channel, channel_to_freq): utility functions for
8927                         channel <-> frequency conversion
8928
8929         * src/nm-device.c
8930           src/nm-device.h
8931                 - (nm_device_get_best_connection): pass the specific object around
8932                          (which might be the object path of a specific AP to connect to).
8933                          The get_best_connection() call should populate this on return
8934                          if needed (wireless does).
8935
8936         * src/nm-device-802-3-ethernet.c
8937                 - (real_get_best_connection): handle specific_object argument
8938
8939         * src/NetworkManager.c
8940           src/NetworkManagerMain.h
8941                 - Remove unused includes
8942
8943         * src/nm-device-802-11-wireless.c
8944           src/nm-device-802-11-wireless.h
8945                 - Convert the ap_list into a GSList from an NMAccessPointList
8946                 - No need for caching the 'activation_ap' since this is now determined
8947                         from the specific_object of the activation request, which is
8948                         populated from the get_best_connection() call or from a user request
8949                 - (nm_device_802_11_wireless_update_bssid): fix warning
8950                 - (get_wireless_capabilities): fix error message format arguments
8951                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
8952                 - (find_best_connection, real_get_best_connection): implement
8953                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
8954                         move here from NetworkManagerAPList
8955                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
8956                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
8957                         already verified earlier
8958                 - (real_act_stage2_config): use nm_connection_need_secrets()
8959
8960         * src/NetworkManagerPolicy.c
8961                 - (nm_policy_auto_get_best_device): handle specific objects
8962                 - (create_connection): remove; automatic connection creation functionality
8963                         is handled by the Connection objects
8964                 - (nm_policy_device_change_check): handle specific_object
8965
8966         * libnm-util/nm-connection.c
8967                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
8968
8969 2007-09-10  Dan Williams  <dcbw@redhat.com>
8970
8971         * src/nm-manager.c
8972                 - (query_connections): fix uninitialized variable problem that caused
8973                         segfault
8974                 - (nm_manager_add_device): take devices down on startup so that we can
8975                         be assured that nm_device_is_up() won't short-circuit the init
8976                         process.  Hack until the is_up check gets split into two pieces
8977                         that aren't behaviorally confusing.
8978
8979 2007-09-09  Dan Williams  <dcbw@redhat.com>
8980
8981         * introspection/nm-device.xml
8982                 - The 'Activate' method now takes 3 arguments, a service name for the
8983                 settings service (user or system), the object path of the connection
8984                 to activate, and the specific object to activate, if any
8985
8986         * src/nm-device-interface.c
8987                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
8988                 Add error bits
8989                 - (impl_device_activate): adapt to new Activate arguments; validate
8990                 the service name and get the Connection object from the NMManager
8991                 before starting to activate the device with the specified connection
8992
8993         * src/nm-device-802-3-ethernet.c
8994                 - (real_get_best_connection): find the best connection, or create a
8995                 default one if no existing connections can be used
8996
8997         * src/NetworkManagerPolicy.c
8998                 - (nm_policy_auto_get_best_device): Get the device's best connection
8999                 and only pick the device if it has one
9000                 - (nm_policy_device_change_check): disable wireless bits for now until
9001                 wireless get_best_connection() can be implemented (replacing "best_ap");
9002                 don't create a default connection here as the device subclass will do
9003                 that if needed
9004
9005         * src/nm-manager.h
9006           src/nm-manager.c
9007                 - (nm_manager_get): make NMManager a singleton and expose the getter
9008                 internally
9009                 - Rework internal NMManager connection handling to use the same
9010                 routines for both the system and user settings services.  Most calls
9011                 take a new NMConnectionType argument specifying either system or user
9012                 connections
9013                 - (nm_manager_get_connection_by_object_path): new function; get a
9014                 connection keyed on its object path
9015
9016         * src/NetworkManager.c
9017                 - (main): use nm_manager_get()
9018
9019 2007-09-09  Dan Williams  <dcbw@redhat.com>
9020
9021         * src/nm-device.h
9022           src/nm-device.c
9023                 - (nm_device_get_best_connection): new function; get best connection
9024                         for the device at that time
9025
9026 2007-09-09  Dan Williams  <dcbw@redhat.com>
9027
9028         * src/nm-device-interface.h
9029                 - Add NMDeviceInterfaceError with an UnknownConnection error
9030
9031 2007-09-09  Dan Williams  <dcbw@redhat.com>
9032
9033         Stupid mistake on my part; object path and interface for settings service
9034         and connection objects can be the same, only the service name must be
9035         different for the system and user settings services.
9036
9037         * include/NetworkManager.h
9038           src/nm-manager.c
9039           introspection/nm-settings-connection.xml
9040           introspection/nm-settings.xml
9041           libnm-glib/nm-settings.c
9042                 - (nm_connection_settings_init, query_user_connections,
9043                    new_connection_cb): Unify NetworkManagerSettings and Connection
9044                    interface name and object path
9045
9046 2007-09-06  Dan Williams  <dcbw@redhat.com>
9047
9048         * libnm-glib/nm-object.c
9049                 - (nm_object_get_string_property, nm_object_get_object_path_property,
9050                    nm_object_get_int_property, nm_object_get_uint_property,
9051                    nm_object_get_boolean_property, nm_object_get_byte_property,
9052                    nm_object_get_double_property, nm_object_get_byte_array_property):
9053                         clear GValues after copying their contents, fixes memory leaks
9054                         after every property access because dbus-glib copies the values
9055                         from the DBusMessage into the GValue already.
9056
9057 2007-09-06  Dan Williams  <dcbw@redhat.com>
9058
9059         * introspection/nm-access-point.xml
9060                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9061                         them to be.  There's some magic property name parsing going on in
9062                         dbus-glib that breaks up property names based on studly-caps and
9063                         puts - between words.
9064
9065         * libnm-glib/nm-access-point.c
9066                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9067                         Fix property names
9068
9069 2007-09-06  Dan Williams  <dcbw@redhat.com>
9070
9071         * src/nm-manager.c
9072                 - (nm_manager_user_connections_destroy): clear the user connections hash
9073                         table, don't destroy it
9074                 - (finalize): only destroy the hash table on NMManager finalization
9075
9076 2007-09-02  Dan Williams  <dcbw@redhat.com>
9077
9078         * include/NetworkManager.h
9079           libnm-glib/nm-settings.c
9080                 - defines for the user settings daemon D-Bus bits
9081
9082         * src/NetworkManager.c
9083                 - Remove stuff that referred to the old NetworkManagerInfo service
9084
9085         * src/vpn-manager/nm-dbus-vpn.h
9086                 - Move old NMI defines to the only place they are used still
9087
9088         * libnm-util/nm-connection.c
9089           libnm-util/nm-connection.h
9090           src/nm-activation-request.c
9091                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9092
9093         * src/nm-manager.c
9094           src/nm-manager.h
9095                 - Get connections and their settings from the user settings daemon
9096                         at the appropriate times
9097
9098 2007-09-02  Dan Williams  <dcbw@redhat.com>
9099
9100         * libnm-util/nm-setting.c
9101                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9102                 - (setting_wireless_hash): set the right value on the item
9103
9104 2007-09-02  Dan Williams  <dcbw@redhat.com>
9105
9106         * test/Makefile.am
9107           test/nminfotest.c
9108                 - Remove, no longer useful
9109
9110 2007-08-30  Dan Williams  <dcbw@redhat.com>
9111
9112         * src/Makefile.am
9113           src/NetworkManagerDbus.c
9114           src/NetworkManagerDbus.h
9115           src/vpn-manager/nm-dbus-vpn.c
9116                 - Remove, no longer necessary.  Move last bits to the only place its
9117                 used, in nm-dbus-vpn.c
9118
9119         * src/NetworkManagerAPList.c
9120           src/nm-device.c
9121           src/NetworkManager.c
9122           src/nm-device-802-11-wireless.c
9123           src/vpn-manager/nm-vpn-manager.c
9124           src/vpn-manager/nm-vpn-service.c
9125           src/NetworkManagerPolicy.c
9126           src/nm-manager.c
9127                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9128                 that was message_is_error()
9129
9130 2007-08-30  Dan Williams  <dcbw@redhat.com>
9131
9132         * libnm-util/sha1.c
9133                 - Include config.h to get defines for endiannes (gnome.org #420216)
9134
9135 2007-08-30  Dan Williams  <dcbw@redhat.com>
9136
9137         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9138
9139         * src/ppp-manager/Makefile.am
9140                 - use -fPIC (gnome.org #471825)
9141
9142 2007-08-29  Dan Williams  <dcbw@redhat.com>
9143
9144         * include/NetworkManager.h
9145                 - Keep NMConnection object path in sync
9146
9147         * libnm-glib/nm-settings.c
9148           libnm-glib/nm-settings.h
9149                 - Break D-Bus object registration out of the init function, because
9150                 every object that's exported over D-Bus needs to use the _same_
9151                 DBusConnection.  Otherwise, each object would get a different object
9152                 path tree and wouldn't be callable.
9153
9154 2007-08-29  Dan Williams  <dcbw@redhat.com>
9155
9156         * libnm-util/nm-setting.h
9157           libnm-util/nm-setting.c
9158           libnm-util/nm-connection.c
9159           src/NetworkManagerPolicy.c
9160                 - 'info' settings object should be 'connection' says the spec
9161                 at NetworkManagerConfigurationSpecification
9162
9163 2007-08-29  Dan Williams  <dcbw@redhat.com>
9164
9165         * libnm-glib/nm-settings.c
9166           libnm-glib/nm-settings.h
9167                 - make the dbus path a property of the object, and autogenerate it.
9168                 It can't be composed of the 'id' field becuase that's not available
9169                 yet during the GObject creation in nm_connection_settings_init()
9170
9171 2007-08-29  Dan Williams  <dcbw@redhat.com>
9172
9173         * introspection/nm-settings-connection.xml
9174           introspection/nm-settings.xml
9175                 - Service name -> NetworkManagerUserSettings because two services
9176                 can't share part of the same path.  I'm not really sure how we'll use
9177                 the same code with the system-settings daemon...
9178
9179 2007-08-28  Dan Williams  <dcbw@redhat.com>
9180
9181         * src/nm-device-interface.c
9182           src/nm-device-interface.h
9183                 - Kill one more bit of NMData
9184
9185 2007-08-28  Dan Williams  <dcbw@redhat.com>
9186
9187         * src/NetworkManagerSystem.h
9188           src/nm-device.c
9189           src/nm-device.h
9190           src/nm-hal-manager.c
9191           src/NetworkManager.c
9192           src/nm-device-802-11-wireless.c
9193           src/nm-hal-manager.h
9194           src/nm-device-802-3-ethernet.c
9195           src/vpn-manager/nm-vpn-service.h
9196           src/vpn-manager/nm-vpn-manager.c
9197           src/vpn-manager/nm-vpn-manager.h
9198           src/vpn-manager/nm-vpn-service.c
9199           src/nm-device-802-11-wireless.h
9200           src/NetworkManagerMain.h
9201           src/nm-device-802-3-ethernet.h
9202           src/backends/NetworkManagerGentoo.c
9203           src/backends/NetworkManagerPaldo.c
9204           src/backends/NetworkManagerFrugalware.c
9205           src/backends/NetworkManagerRedHat.c
9206           src/backends/NetworkManagerSlackware.c
9207           src/backends/NetworkManagerGeneric.c
9208           src/backends/NetworkManagerArch.c
9209           src/backends/NetworkManagerSuSE.c
9210           src/backends/NetworkManagerGeneric.h
9211           src/backends/NetworkManagerDebian.c
9212                 - Kill NMData
9213
9214 2007-08-28  Dan Williams  <dcbw@redhat.com>
9215
9216         * src/NetworkManagerMain.h
9217           src/nm-device-802-11-wireless.c
9218           src/NetworkManager.c
9219                 - Remove invalid AP list from NMData; need to rework this somewhat, but
9220                 for now we should set the 'invalid' property on individual APs, and when
9221                 we need to invalidate a whole ESS, set the 'invalid' on every member of
9222                 that ESS
9223
9224 2007-08-28  Dan Williams  <dcbw@redhat.com>
9225
9226         * src/NetworkManagerAP.c
9227           src/NetworkManagerAP.h
9228                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9229                         'autoconnect' property instead
9230
9231         * src/NetworkManager.c
9232           src/NetworkManagerMain.h
9233           src/NetworkManagerPolicy.c
9234           src/NetworkManagerPolicy.h
9235                 - Remove the 'allowed_ap_list', which should be replaced by 
9236                         NMConnection/NMSettings instead, since _those_ are the allowed
9237                         things that NM can connect to
9238
9239         * src/nm-device-802-11-wireless.c
9240                 - Remove both allowed_ap_list usage and 'fallback' checking
9241
9242 2007-08-28  Dan Williams  <dcbw@redhat.com>
9243
9244         * src/nm-device.c
9245           src/named-manager/nm-named-manager.c
9246           src/named-manager/nm-named-manager.h
9247           src/NetworkManager.c
9248           src/vpn-manager/nm-vpn-manager.c
9249           src/NetworkManagerMain.h
9250           src/NetworkManagerSystem.c
9251                 - Remove the named-manager object from NMData structure in preparation
9252                 for NMData's timely death.  Make the NMNamedManager the singleton that
9253                 it really is
9254
9255 2007-08-28  Dan Williams  <dcbw@redhat.com>
9256
9257         Remove NMAPSecurity objects, they are replaced with flags on the APs for
9258         each AP's capabilities, and by NMConnection/NMSettings objects for user
9259         defined connections.
9260
9261         * include/NetworkManager.h
9262                 - Redefine 802.11 security properties.  There are now device capabilities
9263                         and AP flags and AP security flags.  It was way to unclear before.
9264
9265         * src/Makefile.am
9266           src/nm-ap-security-leap.h
9267           src/nm-ap-security-leap.c
9268           src/nm-ap-security-wpa-eap.c
9269           src/nm-ap-security-wpa-eap.h
9270           src/nm-ap-security-private.h
9271           src/nm-ap-security-wpa-psk.c
9272           src/nm-ap-security-wpa-psk.h
9273           src/nm-ap-security-wep.c
9274           src/nm-ap-security-wep.h
9275           src/nm-ap-security.c
9276           src/nm-ap-security.h
9277                 - Removed, to be replaced with NMConnection/NMSettings objects
9278
9279         * src/nm-dbus-nmi.c
9280           src/nm-dbus-nmi.h
9281                 - Removed, to be replaced by code that talks to the new info daemon
9282                         interface and gets NMConnection/NMSettings objects
9283
9284         * src/backends/NetworkManagerSuSE.c
9285                 - Remove usage of NMAPSecurity; should be replaced by a system-level
9286                         info-daemon that does the same thing but talks the new info-daemon
9287                         D-Bus interface
9288
9289         * src/NetworkManagerAP.h
9290           src/NetworkManagerAP.c
9291           src/NetworkManagerAPList.c
9292           libnm-glib/libnm-glib-test.c
9293                 - Remove usage of NMAPSecurity objects and adjust to new flags for
9294                         WPA/RSN
9295
9296         * libnm-glib/nm-access-point.c
9297           libnm-glib/nm-access-point.h
9298           introspection/nm-access-point.xml
9299           test/nm-tool.c
9300                 - Adjust to new flags for AP security
9301
9302         * utils/nm-utils.c
9303           utils/nm-utils.h
9304           src/vpn-manager/nm-dbus-vpn.c
9305                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9306                         stuff which is the only place it's used
9307
9308         * src/nm-device-interface.c
9309           src/nm-device-interface.h
9310           introspection/nm-device.xml
9311           src/nm-activation-request.c
9312           src/nm-activation-request.h
9313           src/nm-device.c
9314                 - Add a new 'specific_object' argument that hints to NM what actual
9315                         AP or other device-specific thing the connection should apply to.
9316                         NMConnection objects can apply to more than one actual device/AP.
9317
9318         * libnm-util/nm-connection.c
9319         * libnm-util/nm-connection.h
9320                 - Add 'have_secrets" call stubs
9321
9322         * libnm-util/cipher.h
9323                 - Move NM_AUTH_TYPE_* defines here for now
9324
9325         * src/nm-device-802-11-wireless.c
9326                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9327                         NMSettings objects
9328
9329         * src/NetworkManagerDbus.c
9330         * src/NetworkManagerPolicy.c
9331                 - Remove usage of update_allowed_networks, should be pushing data in
9332                         a different manner
9333
9334 2007-08-27  Tambet Ingo  <tambet@gmail.com>
9335
9336         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
9337         dbus-glib frees it when the call is done.
9338
9339 2007-08-26  Dan Williams  <dcbw@redhat.com>
9340
9341         * introspection/nm-device.xml
9342                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9343
9344 2007-08-26  Dan Williams  <dcbw@redhat.com>
9345
9346         * src/nm-device-802-3-ethernet.c
9347                 - (constructor): move connection of interface-connected/disconnected
9348                         signals here from real_bring_up().  Should be listening to netlink
9349                         for carrier events no matter what the initial state of the device
9350                         is.
9351
9352 2007-08-26  Dan Williams  <dcbw@redhat.com>
9353
9354         * src/nm-netlink-monitor.c
9355                 - (nm_netlink_monitor_class_init): fix marshalling types for
9356                         interface-connected/interface-disconnected
9357                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9358                         check
9359
9360 2007-08-26  Dan Williams  <dcbw@redhat.com>
9361
9362         Convert to using interface indexes as the primary method of identifying
9363         devices inside NetworkManager.  Indexes are (?) stable, but devices can
9364         be renamed at any time.  Device object paths now refer to the device
9365         index rather than the name, and you can map those two manually if you like
9366         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
9367         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9368         to use interface indexes rather than names.
9369
9370 2007-08-26  Dan Williams  <dcbw@redhat.com>
9371
9372         * src/nm-netlink-monitor.h
9373                 - Remove one last bit of wireless-event signal
9374
9375 2007-08-26  Dan Williams  <dcbw@redhat.com>
9376
9377         * src/nm-netlink-monitor.c
9378                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9379                         don't need the 'wireless-event' signal anymore since that's all
9380                         handled by wpa_supplicant
9381
9382 2007-08-25  Dan Williams  <dcbw@redhat.com>
9383
9384         It's 2007. Remove support for drivers that don't support wireless scanning.
9385
9386         * test/nm-tool.c
9387           include/NetworkManager.h
9388           src/NetworkManagerUtils.c
9389           src/NetworkManagerPolicy.c
9390           src/nm-device-802-11-wireless.c
9391                 - Remove special handling for non-scanning devices and mark them
9392                         as unsupported/unhandled
9393
9394 2007-08-20  Dan Williams  <dcbw@redhat.com>
9395
9396         * src/nm-device-802-11-wireless.c
9397           src/nm-device-802-3-ethernet.c
9398                 - (real_is_up): move device-specific tests before generic IFF_UP test,
9399                         because when the card is pulled or the module removed, the device
9400                         is already !IFF_UP and then device-specific cleanup (removing
9401                         the supplicant interface, periodic checks, etc) never gets done
9402
9403 2007-08-20  Dan Williams  <dcbw@redhat.com>
9404
9405         * src/nm-manager.c
9406                 - (nm_manager_remove_device): bring device down before disconnecting
9407                         signal handlers, so that the 'state' signal will get broadcast when
9408                         the device enters the DOWN state
9409                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9410                         of states that cause the NMManager to recheck its state
9411
9412 2007-08-20  Dan Williams  <dcbw@redhat.com>
9413
9414         * src/supplicant-manager/nm-supplicant-interface.c
9415                 - (interface_disconnect_done): don't try to dispose of the net proxy
9416                         when it may already have been disposed of
9417
9418 2007-08-20  Dan Williams  <dcbw@redhat.com>
9419
9420         * src/nm-device-802-11-wireless.c
9421                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9422                         the SSID isn't available; this can happen when the card is pulled
9423                         or the module unloaded, during the post-removal deactivation
9424                         paths, when the ioctl returns ENODEV
9425
9426 2007-08-20  Dan Williams  <dcbw@redhat.com>
9427
9428         * src/nm-device-802-11-wireless.c
9429                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9430                         frequency, and mode match.  Applets are now responsible for grouping
9431                         access points
9432
9433 2007-08-20  Dan Williams  <dcbw@redhat.com>
9434
9435         * src/NetworkManagerAP.c
9436         * src/NetworkManagerAP.h
9437                 - (nm_ap_print_self): new function
9438
9439         * src/NetworkManagerAPList.c
9440                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9441                         to do it all here
9442         
9443 2007-08-17  Dan Williams  <dcbw@redhat.com>
9444
9445         * src/nm-device-802-3-ethernet.c
9446                 - (real_bring_down): don't try to dispose of stuff that might not
9447                         exist
9448
9449 2007-08-17  Dan Williams  <dcbw@redhat.com>
9450
9451         * src/NetworkManagerAP.c
9452                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9453                         applet.  This ensures that the case between the seen-bssids and
9454                         the bssids reported by the driver match.
9455
9456 2007-08-17  Dan Williams  <dcbw@redhat.com>
9457
9458         * src/nm-device-802-11-wireless.c
9459                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9460                         we dispose of the interface proxy in NM
9461
9462 2007-08-16  Dan Williams  <dcbw@redhat.com>
9463
9464         * libnm-glib/nm-client.c
9465                 - (nm_client_init): create VPN connections hash table with key free
9466                         function
9467                 - (proxy_vpn_connection_added): VPN connections hash table key should
9468                         be a duplicated value, not the same memory address as the VPN
9469                         connection name.  This is because the VPN connection name could
9470                         potentially be freed and set to something else during the lifetime
9471                         of the NMVPNConnection object.
9472
9473 2007-08-16  Tambet Ingo  <tambet@gmail.com>
9474
9475         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9476         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9477         with the file descriptors. Send a child setup function to change the pppd
9478         progress group.
9479
9480 2007-08-15  Dan Williams  <dcbw@redhat.com>
9481
9482         * src/supplicant-manager/nm-supplicant-interface.c
9483                 - (try_remove_iface): new function, ask wpa_supplicant to remove
9484                         an interface
9485                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9486                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
9487                         happens on hotplug if wpa_supplicant doesn't tear down and readd
9488                         the interface internally
9489
9490 2007-08-15  Dan Williams  <dcbw@redhat.com>
9491
9492         * src/nm-device-802-11-wireless.c
9493                 - (real_bring_down): move most of this function into device_cleanup()
9494                         so that it can be called from elsewhere
9495                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9496                         and stuff on dispose.  These would normally get cleaned up when
9497                         the device is marked down and deactivated, but when the device is
9498                         hot-unplugged, it's already down and real_down() never gets run
9499
9500 2007-08-15  Dan Williams  <dcbw@redhat.com>
9501
9502         * src/nm-dbus-nmi.c
9503                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9504                         caused a reference leak on device for which NM requested a key
9505
9506 2007-08-15  Dan Williams  <dcbw@redhat.com>
9507
9508         * libnm-glib/nm-client.c
9509                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9510
9511 2007-08-15  Tambet Ingo  <tambet@gmail.com>
9512
9513         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9514         nothing is using it at the moment, but it'll be all useful and stuff later on.
9515
9516         * libnm-util/nm-setting.h: Define NMSettingPPP.
9517
9518         * libnm-util/nm-setting.c: Implement NMSettingPPP.
9519
9520         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9521
9522         * src/Makefile.am: Add ppp-manager to SUBDIRS.
9523
9524         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9525
9526         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9527
9528 2007-08-14  Tambet Ingo  <tambet@gmail.com>
9529
9530         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9531
9532         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9533         an issue with dbus-glib bindings generator. The issue is, the generated C caller
9534         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9535         name and different arguments and it won't compile anymore. To fix this, we now have
9536         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9537         that is new API + compatibility API and used by the daemon. The other, 
9538         nm-manager-client.xml is only the new API without compatibility bits and is used
9539         by libnm-glib to make it compile.
9540
9541         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9542
9543         * src/nm-manager.c (impl_manager_legacy_sleep)
9544         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9545         interface functions for 0.6 branch.
9546
9547 2007-08-14  Dan Williams  <dcbw@redhat.com>
9548
9549         * src/NetworkManagerAP.c
9550                 - (nm_ap_new_from_properties): fix mistaken check of return value
9551                         from memcmp (should expect 0)
9552
9553 2007-08-14  Dan Williams  <dcbw@redhat.com>
9554
9555         (force-commit to fix wrong comment and partial commit of r2685; this
9556          commit actually applies to r2685)
9557
9558         * src/NetworkManagerUtils.c
9559                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9560                         ignores trailing nulls in the SSID to work around mismatches in
9561                         expectations between WEXT and what the info-daemon passes back.  The
9562                         info-daemon would pass back the correct length, but due to the
9563                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9564                         the device would always have an SSID + 1 depending on what versions
9565                         of wpa_supplicant, the kernel, and NM you have.  This was most often
9566                         visible by just quitting the applet and relaunching, which caused
9567                         NM to reassociated to the same network over again when reloading
9568                         the save networks.
9569
9570         * src/NetworkManagerPolicy.c
9571           src/NetworkManagerUtils.h
9572           src/nm-device-802-11-wireless.c
9573                 - Update for new parameter to nm_utils_same_ssid()
9574
9575 2007-08-14  Dan Williams  <dcbw@redhat.com>
9576
9577         * src/NetworkManagerAP.c
9578                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
9579                         I encountered a BSS that wasn't just hiding it's ESSID, it was
9580                         setting the BSSID to all 0s.  That confused the heck out of NM,
9581                         plus it's useless and probably out-of-spec.
9582
9583 2007-08-14  Dan Williams  <dcbw@redhat.com>
9584
9585         * callouts/Makefile.am
9586           src/dhcp-manager/nm-dhcp-manager.c
9587           src/dhcp-manager/nm-dhcp-manager.h
9588           src/dhcp-manager/Makefile.am
9589                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9590
9591 2007-08-14  Dan Williams  <dcbw@redhat.com>
9592
9593         * src/dhcp-manager/nm-dhcp-manager.c
9594                 - (dhclient_run): don't pass -x to dhclient until we figure out if
9595                         it's really needed, get rid of unused xtra_args parameter
9596
9597 2007-08-14  Dan Williams  <dcbw@redhat.com>
9598
9599         * include/NetworkManagerVPN.h
9600           src/vpn-manager/nm-dbus-vpn.c
9601           src/vpn-manager/nm-dbus-vpn.h
9602           src/vpn-manager/nm-vpn-act-request.c
9603           src/vpn-manager/nm-vpn-act-request.h
9604           src/vpn-manager/nm-vpn-service.c
9605           src/vpn-manager/nm-vpn-service.h
9606           libnm-glib/nm-vpn-connection.c
9607           libnm-glib/nm-vpn-connection.h
9608           libnm-glib/nm-client.h
9609                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
9610                         NMVPNServiceState to clarify what they apply to
9611                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9612                         NMVPNActStage -> NMVPNConnectionState for the same reason
9613
9614         * libnm-glib/nm-client.c
9615                 - Constant + type renames from above
9616                 - Properly handle NameOwnerChanged/manager_running signals
9617                         for NM service; only emit when state really changes
9618                 - Use hash tables correctly so that the key (which was previously owned
9619                         by the D-Bus message) now has the same lifetime as the value, since
9620                         the key is now taken from the the NMVPNConnection itself.  This
9621                         really fixes the double-VPN names in the applet
9622
9623 2007-08-13  Dan Williams  <dcbw@redhat.com>
9624
9625         Patch from Michael Biebl <biebl@debian.org>
9626
9627         * po/POTFILES.in
9628           po/POTFILES.skip
9629                 - Update for vpn-properties move
9630
9631 2007-08-13  Dan Williams  <dcbw@redhat.com>
9632
9633         * libnm-glib/nm-client.c
9634                 - Convert internal VPN connection tracking from a list to a hash table
9635                         to easily avoid duplicates
9636                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9637                         must be freed by the caller, like nm_client_get_devices()
9638                 - (nm_client_remove_vpn_connection): don't let the removal signal
9639                         leak through for NMVPNConnection objects that aren't actually
9640                         tracked.
9641                 - (manager_running): throw away VPN connection list when NM goes away,
9642                         like with the device list
9643
9644 2007-08-13  Dan Williams  <dcbw@redhat.com>
9645
9646         * src/dhcp-manager/nm-dhcp-manager.c
9647                 - Stop any dhclient instance that might be already running for a
9648                         particular interface before starting an NM spawned dhclient.  Fixes
9649                         dhclient processes left over if NM crashes, stuff like that.
9650
9651 2007-08-13  Dan Williams  <dcbw@redhat.com>
9652
9653         * src/NetworkManagerAP.c
9654                 - (finalize): don't try to g_array_free (NULL, ...), which happened
9655                         when the AP wasn't broadcasting it's SSID
9656
9657 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
9658
9659         * include/NetworkManager.h: added DBus path for connection settings.
9660
9661         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9662         nm_connection_settings_signal_updated,
9663         nm_connection_settings_signal_removed): new functions to wrap the
9664         objects' signals.
9665         (nm_connection_settings_init): register GObject with DBus.
9666         (nm_connection_settings_get_dbus_object_path): new function.
9667
9668         * libnm-glib/Makefile.am: added libnmutil to link flags.
9669
9670 2007-08-13  Tambet Ingo  <tambet@gmail.com>
9671
9672         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9673
9674         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9675         libnm_glib directory got merged with libnm-glib/.
9676
9677         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9678
9679         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9680         Rename the library from libnm-glib to libnm_glib to maintain the library API
9681         compatibility with 0.6 branch.
9682
9683         * Makefile.am: Remove gnome/ SUBDIR.
9684
9685         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9686
9687         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9688
9689         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9690
9691         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9692         anymore.
9693         Remove checks for wpa_supplicant binary, it's used over dbus.
9694         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9695
9696         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9697         Link the binaries with libnm_glib.la.
9698
9699 2007-08-12  Dan Williams  <dcbw@redhat.com>
9700
9701         * src/NetworkManagerPolicy.c
9702                 - (nm_policy_device_change_check): fix policy to deactivate old device
9703                         before activating new one, at least until the multiple active
9704                         device support lands
9705
9706 2007-08-12  Dan Williams  <dcbw@redhat.com>
9707
9708         * src/NetworkManagerPolicy.c
9709                 - (nm_policy_new): hook up to connection-added / connection-removed
9710                         signals instead of connections-changed
9711
9712 2007-08-12  Dan Williams  <dcbw@redhat.com>
9713
9714         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
9715         Robert Frank <rfrank@redhat.com>
9716
9717         * src/dhcp-manager/nm-dhcp-manager.c
9718           src/dhcp-manager/nm-dhcp-manager.c
9719           src/nm-device.c
9720                 - Spawn and communicate with dhclient directly, through means of a
9721                 custom dhclient callout script.  Process callout D-Bus signals
9722                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
9723                 sent via gobject signals rather than being driven by the dhcp manager
9724                 directly.
9725
9726 2007-08-12  Dan Williams  <dcbw@redhat.com>
9727
9728         * callouts/nm-dhcp-client-action.c
9729                 - (build_message): ignore non-DHCP-related environment variables
9730
9731 2007-08-12  Dan Williams  <dcbw@redhat.com>
9732
9733         * Makefile.am
9734           configure.in
9735           callouts/Makefile.am
9736           callouts/nm-dhcp-client-action.c
9737           callouts/nm-dhcp-client.conf
9738                 - Add dhclient-executed callout that takes the place of dhclient-script
9739                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9740                 NM then listens for
9741
9742 2007-08-09  Tambet Ingo  <tambet@gmail.com>
9743
9744         [Based on patch by Helmut Schaa <hschaa@suse.de>]
9745
9746         * libnm-glib/nm-client.h:
9747         * libnm-glib/nm-object.h:
9748         * libnm-glib/nm-vpn-connection.h:
9749         * libnm-glib/nm-settings.h:
9750         * libnm-glib/nm-device.h:
9751         * libnm-glib/nm-ip4-config.h:
9752         * libnm-glib/nm-access-point.h:
9753         * libnm-glib/nm-device-802-3-ethernet.h:
9754         * libnm-util/nm-setting.h: 
9755         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9756
9757         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9758
9759         * libnm-glib/nm-access-point.c: Strength has type char.
9760
9761         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9762         to fix build. GnomeDruid is deprecated in recent libgnomeui.
9763
9764         * introspection/nm-access-point.xml: Strength property is char, not int.
9765
9766         * src/NetworkManagerAP.c (set_property): Set strength from char.
9767         (get_property): Handle hidden APs (with empty SSID).
9768         Get strength value from char.
9769         (nm_ap_class_init): Strength property has char type.
9770
9771 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
9772
9773         * introspection/Makefile.am:
9774         * introspection/nm-settings.xml:
9775         * introspection/nm-settings-connection.xml: added Settings interfaces.
9776
9777         * libnm-glib/nm-settings.[ch]:
9778         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9779         containing the DBus implementation.
9780
9781 2007-07-26  Dan Williams  <dcbw@redhat.com>
9782
9783         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9784
9785         * src/NetworkManagerSystem.c
9786                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9787                         same subnet (#437396)
9788
9789 2007-07-26  Dan Williams  <dcbw@redhat.com>
9790
9791         Patch from Kelemen Gábor <kelemeng@gnome.hu>
9792
9793         * gnome/vpn-properties/nm-vpn-properties.c
9794                 - Fix translatable strings (#445865)
9795
9796 2007-07-26  Dan Williams  <dcbw@redhat.com>
9797
9798         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9799
9800         * configure.in
9801                 - Remove useless junk (#412530)
9802
9803 2007-07-10  Christopher Aillon  <caillon@redhat.com>
9804
9805         Patch from Robert Buchholz <rbu@gentoo.org>:
9806
9807         * configure.in:
9808         * Makefile.am:
9809         * introspection/Makefile.am:
9810         Make make distcheck work again.
9811
9812 2007-06-27  Dan Williams  <dcbw@redhat.com>
9813
9814         * Make SSIDs GByteArrays everywhere
9815         * Rename "essid" -> "ssid" everywhere that's appropriate
9816         * Refcount activation_ap member of the 802.11 wireless device class
9817
9818 2007-06-27  Tambet Ingo  <tambet@ximian.com>
9819
9820         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9821
9822 2007-06-22  Tambet Ingo  <tambet@ximian.com>
9823
9824         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9825         that we got a new AP when we just update existing AP properties.
9826
9827 2007-06-21  Tambet Ingo  <tambet@ximian.com>
9828
9829         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9830
9831         * nm-utils.[ch]: Remove.
9832
9833         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9834         objects for easy property access and dbus connection handling.
9835
9836         * libnm-glib/nm-client.c: Derive from NMObject.
9837
9838         * libnm-glib/nm-device.c: Ditto.
9839
9840         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9841
9842         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9843
9844         * libnm-glib/nm-ip4-config.c: Ditto.
9845
9846         * libnm-glib/nm-access-point.c: Ditto.
9847
9848         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9849         comparision. Currently used by the device activation code to determine if the new
9850         activation is the same as the old one.
9851
9852         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9853         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9854         able to ask password for the AP.
9855
9856         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9857         up if the device is already connected, tear down it's connection (if it isn't the
9858         same as new one) and start the activation.
9859
9860         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9861
9862         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9863         the issue where all APs are always listed as encrypted.
9864
9865         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9866         their own registered paths.
9867
9868         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9869         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9870
9871 2007-06-13  Tambet Ingo  <tambet@ximian.com>
9872
9873         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
9874         (0 & 0 == 0, doh)
9875
9876         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
9877         because the handling code will cause the next state change and signal listeners
9878         get the signals in wrong order.
9879
9880         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
9881         correctly in case of pending activation.
9882
9883         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9884         Convert the essid byte array to string correctly, including the terminating NULL.
9885
9886         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
9887         mode with correct types.
9888
9889         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
9890         constructed info to dbus call instead of the activation request.
9891
9892 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9893
9894         Patch from Christian Persch <chpe@gnome.org>
9895
9896         * libnm-glib/Makefile.am:
9897         * dispatcher-daemon/Makefile.am:
9898         Use the correct variables, the correct paths, and correct ordering. (446315)
9899
9900 2007-06-11  Tambet Ingo  <tambet@ximian.com>
9901
9902         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
9903         argument. The activation request is easy to retrieve.
9904
9905         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
9906         just to be a convenient location for devices to store random stuff.
9907
9908 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9909
9910         Patch from Alex Smith <alex@alex-smith.me.uk>
9911
9912         * src/backends/NetworkManagerFrugalware.c:
9913         Update the FrugalWare backend to fix a few segfaults. (#392642)
9914
9915 2007-06-08  Tambet Ingo  <tambet@ximian.com>
9916
9917         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
9918
9919         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
9920         setting.
9921         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
9922
9923 2007-06-06  Tambet Ingo  <tambet@ximian.com>
9924
9925         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
9926         automagically.
9927         Implement NMSettingIP4Config.
9928         Finish NMSettingWired by adding all known members.
9929         (setting_wired_verify): Implement.
9930         Finish NMSettingWireless by adding all known members.
9931         (setting_wireless_verify): Implement.
9932
9933         * libnm-util/nm-connection.c: Register "ipv4" setting.
9934         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
9935         dump function, we can introspect the GHashTable which is used for sending connections
9936         over dbus.
9937
9938         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9939         Take GByteArray for essid, it's really not a string.
9940
9941         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
9942         Start DHCP request if setting is not passed or if it states that DHCP should be used.
9943         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
9944         means overriding the values we got from DHCP.
9945         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
9946         (nm_device_deactivate_quickly): Ditto.
9947
9948         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
9949         for debugging.
9950
9951 2007-05-07  Tambet Ingo  <tambet@ximian.com>
9952
9953         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
9954         NMConnection.
9955
9956         * libnm-glib/nm-device-802-11-wireless.c:
9957         (nm_device_802_3_ethernet_activate): Remove.
9958
9959         * libnm-glib/nm-device-802-3-ethernet.c
9960         (nm_device_802_3_ethernet_activate): Remove.
9961
9962         * libnm-glib/nm-device.c (nm_device_activate): Implement.
9963
9964         * src/nm-device-802-3-ethernet.c: Implement the new activation using
9965         NMConnection.
9966
9967         * src/nm-device-802-11-wireless.c: Store an activation AP once the
9968         activation has started.
9969         Implement the new activation using NMConnection.
9970
9971         * src/nm-activation-request.c: Store a generic connection object instead
9972         of a wireless-specific AP.
9973
9974         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
9975         on device type, create a device specific connection object suitable for
9976         device activation.
9977
9978         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
9979         specific check to validate the connection and on success start the
9980         activation.
9981
9982         * src/nm-device-interface.h: Add a activate virtual function to the
9983         interface definition.
9984
9985         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
9986         (impl_device_activate): Implement.
9987
9988         * introspection/nm-device.xml: Add a generic device activation interface
9989         that accepts an abstract NMConnection structure that has device-specific
9990         information in it.
9991
9992         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
9993         activation interface.
9994
9995         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
9996         activation interface.
9997
9998         * libnm-util/nm-connection.c: 
9999         * libnm-util/nm-connection.h: 
10000         * libnm-util/nm-setting.c:
10001         * libnm-util/nm-setting.h: Add.
10002
10003         * libnm-util/Makefile.am: Build the added files.
10004
10005         * src/nm-dbus-manager.c
10006         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10007         DbusConnection argument from 'name-owner-changed' signal. The manager
10008         is already passed as a first argument to the signal and the connection
10009         is easy enough to get from it.
10010
10011         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10012         Update the signature of the function.
10013
10014         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10015         Ditto.
10016
10017         * src/NetworkManager.c: Ditto.
10018
10019         * src/named-manager/nm-named-manager.c
10020         (nm_named_manager_name_owner_changed): Ditto.
10021
10022         * src/supplicant-manager/nm-supplicant-manager.c
10023         (nm_supplicant_manager_name_owner_changed): Ditto.
10024
10025         * src/nm-hal-manager.c (name_owner_changed): Ditto.
10026
10027         * src/dhcp-manager/nm-dhcp-manager.c
10028         (nm_dhcp_manager_name_owner_changed): Ditto.
10029
10030         * src/nm-hal-manager.c: Add a list of device detectors and creators
10031         to make it easier to add new devices. Each device type has it's own
10032         entry in the table so adding new device types is only a matter of
10033         implementing a couple of functions, one for device detection and the
10034         other for device creation.
10035
10036 2007-04-25  Dan Williams  <dcbw@redhat.com>
10037
10038         * initscript/RedHat/NetworkManager.in: remove trailing backslash
10039                 (gnome.org #432401)
10040
10041 2007-03-30  Dan Williams  <dcbw@redhat.com>
10042
10043         * src/NetworkManagerSystem.c
10044                 - (nm_system_device_set_ip4_route): clean up and fix argument
10045                         to nm_dev_sock_open()
10046
10047 2007-03-28  Tambet Ingo  <tambet@ximian.com>
10048
10049         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10050         data to correct types instead of always using string.
10051
10052         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10053         _not_ have NM_802_11_CAP_PROTO_NONE.
10054         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10055         is not set.
10056
10057 2007-03-27  Tambet Ingo  <tambet@ximian.com>
10058
10059         * libnm-glib/Makefile.am: Fix the build issue.
10060
10061 2007-03-26  Tambet Ingo  <tambet@ximian.com>
10062
10063         * libnm-glib/nm-vpn-connection.h: 
10064         * libnm-glib/nm-vpn-connection.c: Implement.
10065
10066         * libnm-glib/nm-client.c: Add VPN support.
10067
10068         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10069         handler for VPN.
10070
10071         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10072         on DBUS again.
10073
10074 2007-03-26  Dan Williams  <dcbw@redhat.com>
10075
10076         * src/NetworkManagerAPList.c
10077         * src/nm-device-802-11-wireless.c
10078         * src/NetworkManagerAP.c:
10079                 - Store last seen as glong instead of GTimeVal.
10080                 - Fix the upper bound of capabilities, it's a bitfield.
10081
10082 2007-03-16  Tambet Ingo  <tambet@ximian.com>
10083
10084         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10085
10086         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10087         "manager-running" signal that notifies the appearance/disappearance of NM.
10088         (nm_client_sleep): Implement.
10089
10090         * libnm-glib/nm-device.c:
10091         * libnm-glib/nm-device-802-11-wireless.c: 
10092         * libnm-glib/nm-device-802-3-ethernet.c: 
10093
10094         Don't inherit from DBusGProxy, add a proxy to private
10095         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10096         for anything but their own dbus interface. DBusGProxy objects support only one
10097         interfaces and to work around this, NMDevice has spearate proxy for each dbus
10098         interface. The nice side effect of this change is that we do not create a new
10099         DBusGProxy object for each property access.
10100
10101 2007-03-15  Tambet Ingo  <tambet@ximian.com>
10102
10103         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10104         with zeroes before passing them to functions - the functions never do that and
10105         reading the values back may produce wrong values.
10106         (real_bring_up): Store the signal handler id ...
10107         (real_bring_down): ... So that it can be removed here.
10108         Disconnect the supplicant interface here as well.
10109         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10110         from the access point instead of old $device/Networks/$essid.
10111
10112         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10113         device state is connected (instead of just having link/carrier).
10114
10115         * src/nm-activation-request.c: Don't store NMData in activation request, it's
10116         already easily accessible through the device.
10117
10118         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10119         store it within the object.
10120         (nm_ap_get_dbus_path): Export it to public as well.
10121
10122         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10123         of the singleton.
10124
10125 2007-03-12  Dan Williams  <dcbw@redhat.com>
10126
10127         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
10128         for non-carrier-detect capable devices, and useless for carrier-detect
10129         devices since we get notifications from netlink about carrier status anyway.
10130
10131         * src/nm-device-802-3-ethernet.c
10132                 - remove 'link_source_id' member from private data
10133                 - (probe_link): remove and collapse into real_update_link()
10134                 - (nm_device_802_3_periodic_update): remove
10135                 - (real_is_up): check for sup_iface rather than link_source_id
10136                 - (real_bring_up): return gboolean for success/fail; require that
10137                         sup_iface be valid for device bringup to succeed
10138                 - (real_bring_down): zero out link signal ids
10139
10140         * src/nm-device.c
10141                 - (nm_device_activate_stage2_device_config): fail activation if device
10142                         bringup fails
10143                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10144                         fails
10145                 - (nm_device_bring_up): return success/fail
10146
10147         * src/nm-device.h
10148                 - bring_up now returns success/fail
10149
10150         * src/nm-device-802-11-wireless.c
10151                 - (real_bring_up): return success from bringup
10152
10153 2007-03-07  Dan Williams  <dcbw@redhat.com>
10154
10155         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
10156         * src/nm-ap-security-wpa-psk.c
10157                 - (real_write_supplicant_config): work with PSKs that may contain
10158                         zeros in the binary format rather than treating it as a string
10159
10160 2007-03-02  Tambet Ingo  <tambet@ximian.com>
10161
10162         * libnm-glib/nm-device-802-11-wireless.c
10163         (nm_device_802_11_wireless_get_capabilities): Implement.
10164
10165         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10166
10167         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10168
10169         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10170         reply only if it's not NULL. Not sure why this started happening right now.
10171
10172         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10173         code paths for when devices get removed on shutdown or when a device is just
10174         removed.
10175         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10176         gets freed so any signal from a device (disconnected for instance) would invoke
10177         NMState update which would crash.
10178         (nm_manager_remove_device): Bring the device down when it gets removed.
10179
10180         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10181         the unused dev_type.
10182
10183         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10184         reference to the added device, NMManager will own it (if it wants).
10185
10186         * test/nm-tool.c: Rewrite using libnm-glib.
10187
10188         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10189         We get signalled when it changes.
10190
10191         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10192         when it changes.
10193
10194         * libnm-glib/nm-device.c: Cache the device state property.
10195
10196         * libnm-glib/nm-access-point.c: Cache the strength property.
10197
10198         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10199         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10200         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10201         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10202         the device is down, activating, or activated (in case of A/B/G cards).
10203         Remove some old dead ifdef'ed out code that used to configure wireless devices,
10204         it's all done through supplicant now.
10205
10206         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10207         counting issues with pending calls which caused leaks and crashes when
10208         interface was removed (now that the interface actually gets removed).
10209
10210         * src/nm-call-store.c: Make a copy of data before running a foreach
10211         with user callback on it - The most common usage pattern is to cancel
10212         (and thus remove) all pending calls with foreach which would modify
10213         the hash table we're iterating over.
10214
10215         * src/nm-manager.c: When a device is added, make sure it is "up". When
10216         it's removed or disabled due to disabling wireless or networking, bring
10217         it down.
10218
10219         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10220
10221         * src/nm-device-802-11-wireless.c: 
10222         * src/nm-device-802-3-ethernet.c: 
10223         * src/nm-device.c:
10224                 - Remove "init" virtual function, all gobjects have a place for that
10225                   already (constructor).
10226                 - Replace "start" virtual function with "bring_up", devices can be
10227                   brought up and down more than just on startup now.
10228                 - Add "is_up" virtual function.
10229                 - Implement one way to bring a device down instead of previous 4 different
10230                   ways, each of witch did something different.
10231
10232         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10233         all it needs is the device interface.
10234
10235         Get rid of NMData.dev_list (3 members to go).
10236         Get rif of NMData in a lot of places.
10237
10238         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10239
10240 2007-02-23  Dan Williams  <dcbw@redhat.com>
10241
10242         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10243
10244         * src/NetworkManagerAP.c
10245                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10246                         OR-ing rather than AND-ing
10247
10248 2007-02-20  Tambet Ingo  <tambet@ximian.com>
10249
10250         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10251         "network-removed" signals.
10252
10253         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10254
10255         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10256         when receiving the signal from dbus.
10257
10258         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10259         property.
10260
10261         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10262         deactivation of the previously activated device working again.
10263
10264         * src/nm-activation-request.c: Remove NMActStage property and it's getter
10265         and setter.
10266
10267         * src/nm-device.c (nm_device_is_activated): Remove.
10268         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10269
10270         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10271         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10272         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10273         NM_DBUS_SIGNAL_STATE_CHANGE signal.
10274         Remove NMNetworkStatus and NMActStage enums.
10275
10276 2007-02-19  Tambet Ingo  <tambet@ximian.com>
10277
10278         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10279         Handle device state changes and disconnect VPN if it's device deactivates.
10280
10281         * src/nm-dbus-nm.c: 
10282         * src/nm-dbus-nm.h: 
10283         * src/nm-dbus-device.c: 
10284         * src/nm-dbus-device.c: 
10285         * src/nm-dbus-net.c: 
10286         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10287
10288         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10289
10290         * src/nm-device.c (nm_device_get_by_udi):
10291         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10292         implemented in the correct location (NMManager).
10293         Rip out all the test_device stuff.
10294
10295         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10296         failure handlers, it's all done by NMDevice already.
10297
10298         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10299         Remove the iochannel hack to route the unix signals to the main thread since
10300         we're not threaded anymore.
10301
10302         * src/NetworkManagerAP.c: Implement HWAddress property.
10303
10304         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10305         automatically with dbus-glib.
10306
10307         * src/nm-netlink-monitor.c: 
10308         * src/nm-netlink-monitor.h:
10309                 - Move it low in the class hierarchy, don't reference any NM types.
10310                 - Remove private data from the header.
10311                 - Use type safe checks in public API methods.
10312                 - Make it a singleton so we don't have to pass the single reference around.
10313
10314 2007-02-16  Tambet Ingo  <tambet@ximian.com>
10315
10316         * introspection/nm-ip4-config.xml: Implement.
10317
10318         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10319
10320         * libnm-glib/nm-ip4-config.c:
10321         * libnm-glib/nm-ip4-config.c: Implement.
10322
10323         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10324         securities. APs reference security.
10325
10326         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10327         be exported over DBUS.
10328
10329         * src/nm-device-802-3-ethernet.c: Ditto.
10330
10331         * src/NetworkManagerAP.c:
10332         * src/NetworkManagerAP.h:
10333                 - Convert to GObject, export over DBUS.
10334
10335         * src/nm-ip4-config.h:
10336         * src/nm-ip4-config.h:
10337                 - Convert to GObject, export over DBUS.
10338
10339 2007-02-12  Dan Williams  <dcbw@redhat.com>
10340
10341         Patch from Helmut Schaa <hschaa@suse.de>
10342
10343         * vpn-daemons/pptp/configure.in
10344           vpn-daemons/pptp/Makefile.am
10345           vpn-daemons/openvpn/configure.in
10346           vpn-daemons/openvpn/Makefile.am
10347           vpn-daemons/vpnc/configure.in
10348           vpn-daemons/vpnc/Makefile.am
10349                 - Add --without-gnome switch which disables building gnome bits
10350
10351 2007-02-12  Tambet Ingo  <tambet@ximian.com>
10352
10353         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10354
10355         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10356
10357         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10358         'HwAddress'.
10359
10360         * introspection/nm-device.xml: Remove 'UseDhcp' property.
10361
10362         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10363
10364         Totally break NetworkManager. Please use 0.6 branch until futher notice.
10365
10366         * src/:
10367                 - Remove old low-level dbus interface implementations and replace them
10368                   with dbus-glib one.
10369
10370         * configure.in:
10371                 - Require dbus-glib >= 0.72.
10372                 - Plug in new sources to build.
10373
10374         * libnm-glib/:
10375                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10376                   to make it more convenient to use from GObject based programs.
10377
10378         * introspection/:
10379                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10380
10381 2007-02-09  Tambet Ingo  <tambet@ximian.com>
10382
10383         * src/nm-device-802-11-wireless.c:
10384                 - Add "network-added" and "network-removed" signals.
10385                 - Use gobject boilerplate macros to define the GObject.
10386                 - Implement wireless device activation.
10387                 - Remove activation_failure_handler and activation_success_handler
10388                   and instead listen on state-changed signals and run the same code
10389                   from there.
10390
10391         * src/nm-device.c:
10392                 - Implment NMDeviceInterface::deactivate.
10393                 - Remove activation_failure_handler and activation_success_handler
10394                   virtual methods. Each device which is interested in these events
10395                   can just listen on it's state changed signals.
10396
10397         * src/NetworkManagerPolicy.c:
10398                 - Move a bit more NMData usage to NMManager.
10399                 - Remove activation scheduling bits.
10400                 - Add listeners for wireless device's "network-added" and
10401                   "network-removed" signals.
10402                 - Listen device changed signals and deactivate currently activated
10403                   device when another device start activating (for now).
10404                 - Remove (nm_policy_schedule_device_change_check): There's never a need
10405                   for calling this, the policy code knows exactly when this should happen,
10406                   by listening on events from NMManager and NMDevices.
10407
10408         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10409         Implement.
10410
10411         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10412         method on the specific device instead of going to through policy code
10413         and determining the device type by passed in AP's existance.
10414
10415         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10416         abstract NMDevice deactivation.
10417
10418 2007-02-08  Tambet Ingo  <tambet@ximian.com>
10419
10420         * src/NetworkManager.c:
10421                 - Set up all the shiny new managers.
10422
10423         * src/NetworkManagerPolicy.c:
10424                 - Add the beginnings of new NMPolicy code. Instead of requireing all
10425                   classes to call into policy code, make the policy code kind of like
10426                   a supervisor that monitors what's going on and drives the whole NM.
10427
10428         * src/nm-hal-manager.c: 
10429         * src/nm-hal-manager.h:
10430                 - Collect all libhal code scattered around NM to this one class.
10431                 - Listen libhal and NMManager events and add/remove devices to
10432                   NMManager.
10433
10434         * src/nm-manager.c:
10435         * src/nm-manager.h:
10436                 - Implment a replacement for NMData. NMData is now officially
10437                 deprecated.
10438
10439 2007-02-05  Tambet Ingo  <tambet@ximian.com>
10440
10441         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
10442         * src/supplicant-manager/nm-supplicant-interface.h
10443         * src/supplicant-manager/nm-supplicant-interface.c
10444         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10445         argument to boolean from enum.
10446
10447         Make NMDevice abstract class, remove almost all references to it's
10448         subclasses (the last place gets removed with new policy manager). Add
10449         NMDeviceInterface (which NMDevice implements) so that when we have
10450         NMDevice exported over DBUS, there's a common NMDevice interface which
10451         all instances have, plus there's a device specific interface for each
10452         specific type.
10453         Remove functions (nm_device_is_802_3_ethernet) and
10454         (nm_device_is_802_11_wireless). There are already standard GObject macros
10455         for type safe checks.
10456         Use the updated supplican manager API.
10457
10458         * src/nm-device-interface.h: 
10459         * src/nm-device-interface.c: 
10460         * src/nm-call-store.h: 
10461         * src/nm-call-store.c: Implement.
10462
10463         * src/supplicant-manager/nm-supplicant-interface.c:
10464         * src/supplicant-manager/nm-supplicant-interface.h:
10465         * src/supplicant-manager/nm-supplicant-manager.c:
10466         * src/supplicant-manager/nm-supplicant-manager.h:
10467                 - Remove all private data type references from public header files.
10468                 - Remove all references to other NM classes, this class is just a
10469                   proxy between wpa_supplicant and NM so it doesn't have to know
10470                   any internals.
10471                 - Convert to dbus-glib bindings.
10472                 - Type safe checks for public methods' arguments.
10473                 - Store pending DBUS call ids to NMCallStore.
10474
10475         * src/supplicant-manager/nm-supplicant-config.c:
10476                 - Store config values in a GHashTable instead of GSList.
10477
10478         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10479
10480         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10481         singleton now.
10482
10483         * src/nm-device.c: Use the new DHCP manager API.
10484
10485         * src/nm-activation-request.c:
10486         * src/nm-activation-request.h:
10487                 - Remove all dhcp related properties and methods.
10488
10489         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10490
10491         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10492
10493         * src/dhcp-manager/nm-dhcp-manager.c:
10494         * src/dhcp-manager/nm-dhcp-manager.h:
10495                 - Convert it to GObject since we need to signal state changes.
10496                 - Remove all references to other NM classes, this class is one
10497                   of the lowest classes in our hierarchy.
10498                 - One less class to use NMActRequest.
10499                 - Make it singleton, one less user of NMData.
10500                 - Remove a couple of sleep() calls.
10501                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10502                   One less class to use the NM's custom tailored signal handlig.
10503
10504         * Makefile.am: Generate marshallers, add them to build.
10505
10506 2007-02-02  Dan Williams  <dcbw@redhat.com>
10507
10508         * configure.in
10509           gnome/Makefile.am
10510           nm-applet.desktop
10511           Makefile.am
10512                 - Remove last bits referencing gnome applet
10513
10514 2007-02-02  Dan Williams  <dcbw@redhat.com>
10515
10516         * src/vpn-manager/nm-vpn-service.c
10517                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10518                         and NBNS server addresses
10519
10520 2007-02-02  Tambet Ingo  <tambet@ximian.com>
10521
10522         * src/nm-dbus-manager.c:
10523         * src/nm-dbus-manager.h:
10524                 - Convert all internal DBUS code to use dbus-glib bindings.
10525                 - Remove GObject properties, we don't need them here.
10526                 - Don't explicitly set things to NULL after freeing, glib is
10527                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
10528                 - Make public API argument checks type safe.
10529                 - Remove unnecessary (and wrong) cast to GObject for the first
10530                   argument to g_signal_* calls - The first argument is a gpointer.
10531                 - Export DBusGConnection to other cool classes that (are going to)
10532                   use dbus-glib.
10533
10534 2007-01-26  Dan Williams  <dcbw@redhat.com>
10535
10536         * libnm-util/dbus-dict-helpers.c
10537           libnm-util/dbus-dict-helpers.h
10538                 - Coordinate style with wpa_supplicant version to minimize diff
10539                 - Add uint32 array support
10540                 - (nmu_dbus_dict_append_uint32_array): new function
10541                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10542                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10543                         version; allow adding string array elements individually
10544
10545         * test/libnm-util/test-dbus-dict-helpers.c
10546                 - Test uint32 arrays
10547
10548 2007-01-27  Jürg Billeter  <j@bitron.ch>
10549
10550         * src/backends/NetworkManagerPaldo.c
10551                 - (nm_system_update_dns): clear nscd hosts cache
10552
10553 2007-01-04  Dan Williams  <dcbw@redhat.com>
10554
10555         Threading removal related cleanups:
10556
10557         - Use the glib default main context.  Remove the device main context
10558                 member from NMDevice, and the main_context member from NMData.  Change
10559                 all the idle and timeout scheduler functions to use plain
10560                 g_idle_add() and g_timeout_add().
10561
10562         - As a side-effect of the first change, nm_dbus_manager_get() no longer
10563                 takes an argument; fix that up too.
10564
10565         - Remove all locking, which is useless since we no longer use threads.  For
10566                 example, nm_get_device_by_iface_locked() has been removed.  The global
10567                 device list lock, the AP List lock, and all static locks in
10568                 NetworkManagerPolicy.c have been removed.  The locking utility functions
10569                 in NetworkManagerUtils.c have also been removed.
10570
10571         - Other cleanups in spacing and code style
10572
10573 2007-01-01  Dan Williams  <dcbw@redhat.com>
10574
10575         Found by Bill Moss:
10576
10577         * src/supplicant-manager/nm-supplicant-interface.c
10578                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10579                         the supplicant interface wasn't already disconnected.  Always
10580                         call removeNetwork and disconnect unless the supplicant interface
10581                         is in the DISCONNECTED or INACTIVE state.
10582
10583 2006-12-28  Dan Williams  <dcbw@redhat.com>
10584
10585         Use a single thread for everything.  With the move to wpa_supplicant
10586         and communication over D-Bus, there's no reason for multiple threads.
10587         Almost all of the blocking code has been removed, with one exception in
10588         the DHCP manager and a few in the VPN manager.  This commit removes the
10589         per-device worker thread and fixes activation cancellation in the absence
10590         of threads.  Further removal of thread-related code would be removing
10591         any locking code (like the device list lock) and simplification of logic
10592         around areas of code or data structures that are currently locked.
10593
10594         * autoip.c
10595           dhcp-manager/nm-dhcp-manager.c 
10596           nm-device-802-11-wireless.c
10597           nm-device-802-3-ethernet.c
10598           nm-device.c
10599           nm-device.h
10600                 - Remove usage of multiple threads
10601
10602 2006-12-19  Dan Williams  <dcbw@redhat.com>
10603
10604         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10605         plus a few other patches from wpa_supplicant bugzilla.
10606
10607         * src/Makefile.am
10608           src/NetworkManagerPolicy.c
10609           src/NetworkManagerUtils.c
10610           src/NetworkManagerUtils.h
10611           src/nm-ap-security-leap.c
10612           src/nm-ap-security-wep.c
10613           src/nm-ap-security-wpa-eap.c
10614           src/nm-ap-security-wpa-psk.c
10615           src/nm-ap-security.c
10616           src/nm-ap-security.h
10617           src/nm-device-802-11-wireless.c
10618           src/nm-device-802-11-wireless.h
10619           src/supplicant-manager/nm-supplicant-config.c
10620           src/supplicant-manager/nm-supplicant-config.h
10621           src/supplicant-manager/nm-supplicant-interface.c
10622           src/supplicant-manager/nm-supplicant-interface.h
10623           src/supplicant-manager/nm-supplicant-marshal.list
10624           src/supplicant-manager/nm-supplicant-settings-verify.c
10625           src/supplicant-manager/nm-supplicant-settings-verify.h
10626                 - Move all connection management and association handling to
10627                         wpa_supplicant over dbus, rather than spawning a private copy
10628
10629 2006-12-19  Dan Williams  <dcbw@redhat.com>
10630
10631         * src/NetworkManagerPolicy.c
10632                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10633                         better locking of the device change check handler ID.  Incorrect
10634                         locking was causing lost device change requests
10635
10636 2006-12-18  Dan Williams  <dcbw@redhat.com>
10637
10638         * libnm-util/dbus-dict-helpers.c
10639                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10640                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
10641                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
10642
10643 2006-12-18  Dan Williams  <dcbw@redhat.com>
10644
10645         * gnome/libnm_glib/libnm_glib.c
10646                 - Change dbus_connection_close() -> dbus_connection_unref()
10647
10648 2006-12-11  Dan Williams  <dcbw@redhat.com>
10649
10650         * src/supplicant-manager/nm-supplicant-interface.c
10651                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10652                         wpa_supplicant interface state
10653                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10654                         state before transitioning to READY state
10655
10656 2006-12-04  Dan Williams  <dcbw@redhat.com>
10657
10658         * src/nm-device-802-11-wireless.c
10659                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10660                         odd length of ESSID returned from ieee80211 stack-based drivers
10661
10662 2006-12-04  Dan Williams  <dcbw@redhat.com>
10663
10664         * src/nm-device-802-11-wireless.c
10665                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10666                         IE handling blocks that cause mis-parsing of the IE
10667
10668 2006-12-04  Dan Williams  <dcbw@redhat.com>
10669
10670         * src/nm-device-802-11-wireless.c
10671                 - (init_supplicant_interface): new function; pull supplicant interface
10672                         setup code out into standalone function since it must be called from
10673                         two different places
10674                 - (real_init): sup_mgr is now in private object data; get and track
10675                         the supplicant manager object over the NMDevice subclass' lifetime
10676                         and register a signal handler for its state signals; only try to
10677                         initialize the supplicant interface if the supplicant manager is in
10678                         the IDLE state (and therefore is ready for requests)
10679                 - (request_wireless_scan): reschedule the scan request if (a) there is
10680                         no supplicant interface yet (meaning wpa_supplicant isn't running
10681                         or isn't ready yet), or (b) if the supplicant interface isn't ready
10682                         for requests yet
10683                 - (supplicant_iface_connection_state_cb): new function; stub for
10684                         handling supplicant interface connection state signals
10685                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10686                         comes and goes
10687                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10688                         supplicant manager object that's being tracked starting with this
10689                         commit
10690
10691 2006-12-04  Dan Williams  <dcbw@redhat.com>
10692
10693         * src/supplicant-manager/nm-supplicant-interface.c
10694                 - (nm_supplicant_interface_set_property): track signal handler ID
10695                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10696
10697 2006-12-04  Dan Williams  <dcbw@redhat.com>
10698
10699         * src/supplicant-manager/nm-supplicant-interface.[ch]
10700                 - (nm_supplicant_interface_get_state): new function
10701
10702 2006-12-04  Dan Williams  <dcbw@redhat.com>
10703
10704         * src/supplicant-manager/nm-supplicant-interface.c
10705                 - (bssid_properties_cb): don't treat DBus errors as valid
10706                         scanned AP messages
10707
10708 2006-12-04  Dan Williams  <dcbw@redhat.com>
10709
10710         * src/supplicant-manager/nm-supplicant-interface.[ch]
10711                 - (nm_supplicant_interface_get_connection_state): new function
10712                 - define new supplicant connection states
10713                 - send a signal when the supplicant connection state changes
10714
10715 2006-12-03  Dan Williams  <dcbw@redhat.com>
10716
10717         * src/supplicant-manager/Makefile.am
10718           src/supplicant-manager/nm-supplicant-connection.h
10719           src/supplicant-manager/nm-supplicant-connection.c
10720           src/supplicant-manager/nm-supplicant-config.h
10721           src/supplicant-manager/nm-supplicant-config.c
10722           src/supplicant-manager/nm-supplicant-types.h
10723           src/supplicant-manager/nm-supplicant-interface.h
10724           src/supplicant-manager/nm-supplicant-interface.c
10725                 - Rename NMSupplicantConnection -> NMSupplicantConfig
10726
10727 2006-12-03  Dan Williams  <dcbw@redhat.com>
10728
10729         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
10730
10731         * po/POTFILES.in
10732           po/POTFILES.skip
10733                 - Move VPN-related translatables to .skip
10734
10735         * vpn-daemons/pptp/po/POTFILES.in
10736                 - Update with new translatables
10737
10738 2006-12-02  Dan Williams  <dcbw@redhat.com>
10739
10740         Patch from Christian Persch <chpe@gnome.org>
10741
10742         * gnome/applet/Makefile.am
10743           gnome/applet/applet-dbus-devices.c
10744           gnome/applet/applet-notifications.c
10745           gnome/applet/applet.c
10746           gnome/applet/applet.h
10747           gnome/applet/main.c
10748                 - Be a GtkStatusIcon on GTK+ >= 2.10
10749
10750 2006-12-02  Dan Williams  <dcbw@redhat.com>
10751
10752         * gnome/applet/applet.c
10753                 - (nma_update_info): fix two unecessary allocations
10754
10755 2006-12-02  Dan Williams  <dcbw@redhat.com>
10756
10757         Patch from Michael Biebl <biebl@teco.edu>
10758         * configure.in
10759           man/NetworkManager.1.in
10760           man/NetworkManagerDispatcher.1.in
10761           man/NetworkManager.8.in
10762           man/NetworkManagerDispatcher.8.in
10763                 - Add .SH NAME stanzas
10764                 - Move NM & NM Dispatcher manpages to section 8 (admin)
10765
10766 2006-12-02  Dan Williams  <dcbw@redhat.com>
10767
10768         Patch from Christian Persch <chpe@gnome.org>
10769
10770         * configure.in
10771                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10772
10773 2006-11-29  Tambet Ingo  <tambet@ximian.com>
10774
10775         Patch by Timo Hoenig <thoenig@suse.de>:
10776         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10777         DBUS-1.0.
10778
10779         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10780         we can't use the one from the main source directory.
10781
10782 2006-11-27  Dan Williams  <dcbw@redhat.com>
10783
10784         Patch from Christian Persch <chpe@gnome.org>
10785
10786         * gnome/applet/applet-dbus-devices.c
10787                 - (hal_info_product_cb): fix memleak; free duped string.
10788                         Gnome.org #379908
10789
10790 2006-11-27  Dan Williams  <dcbw@redhat.com>
10791
10792         Patch from Christian Persch <chpe@gnome.org>
10793
10794         * gnome/applet/menu-items.c
10795                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10796                         as gtk_progress_set_percentage is deprecated.  Should
10797                         work as far back as GTK+ 2.4.  Gnome.org #379780
10798
10799 2006-11-26  Dan Williams  <dcbw@redhat.com>
10800
10801         Scan using wpa_supplicant over DBus.
10802
10803         * src/nm-device-802-11-wireless.c
10804                 - remove wireless extensions netlink event handler bits
10805                         (wireless_event_helper, nm_device_802_11_wireless_event)
10806                 - remove wireless extensions scan event handler bits
10807                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10808                         hex2byte, hex2num, request_and_convert_scan_results,
10809                         free_process_scan_cb_data, scan_results_timeout,
10810                         schedule_scan_results_timeout, cancel_scan_results_timeout)
10811                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10812                         and request scans from the supplicant interface rather than directly
10813                 - Move functionality of convert_scan_results() to cull_scan_list() and
10814                         supplicant_iface_scanned_ap_cb()
10815                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10816                         at the scan interval when the current scan has finished
10817                 - (supplicant_iface_state_cb): start scanning when the supplicant
10818                         interface enters the READY state, and stop scanning when it
10819                         enters the DOWN state
10820                 - (cull_scan_list): weed out old access points from the scan list
10821                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10822                         point into an NMAccessPoint and merge it into the device's scan list
10823
10824         * src/supplicant-manager/nm-supplicant-interface.c
10825           src/supplicant-manager/nm-supplicant-interface.h
10826                 - Add a new signal "scan-result" which is issued when the supplicant
10827                         notifies NM that a scan has completed
10828                 - Add a new signal "scanned-ap" that notifies listeners of a new access
10829                         point found in the scan.  Called once for each access point that
10830                         the supplicant interface object receives from the supplicant as a
10831                         result of the "scanResults" method call
10832                 - (wpas_iface_query_scan_results): don't wait 4s before querying
10833                         for the initial scan results
10834                 - (scan_request_cb): new function; send listeners the result
10835                         (success, error) of a wireless scan request
10836                 - (nm_supplicant_interface_request_scan): new function; ask the
10837                         supplicant to perform an immediate wireless scan
10838
10839 2006-11-25  Dan Williams  <dcbw@redhat.com>
10840
10841         * src/supplicant-manager/Makefile.am
10842                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10843                         add HAL cflags/includes and named-manager includes directory
10844
10845         * src/supplicant-manager/nm-supplicant-interface.h
10846                 - New state STARTING to handle transition from INIT to READY where
10847                         the addInterface pending call is still outstanding
10848
10849         * src/supplicant-manager/nm-supplicant-interface.c
10850                 - track pending calls differently since we may have more than one
10851                         going on at any given time
10852                 - request scan results from wpa_supplicant; but don't do it more often
10853                         than every 4 seconds.  Drivers that do background scanning
10854                         (like the 'ipw' drivers) send a continuous stream of scan completion
10855                         notifications, so we don't want to hammer the supplicant or dbus
10856                         with requests for all scan results every time we get a completion
10857                         notification.
10858
10859 2006-11-25  Dan Williams  <dcbw@redhat.com>
10860
10861         * src/supplicant-manager/nm-supplicant-types.h
10862                 - new file; move all supplicant manager object typedefs here for
10863                         #include sanity
10864
10865         * src/supplicant-manager/nm-supplicant-interface.c
10866           src/supplicant-manager/nm-supplicant-interface.h
10867                 - new file; an object that interfaces an NMDevice object to the
10868                         supplicant and handles signals from the supplicant.  This object
10869                         does all necessary DBus communication with wpa_supplicant.
10870
10871         * src/supplicant-manager/nm-supplicant-manager.c
10872           src/supplicant-manager/nm-supplicant-manager.h
10873                 - Actually do something.  Track the state of the wpa_supplicant service
10874                         and deal with its comings & goings.  Handle life events of
10875                         supplicant interfaces too.
10876                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
10877
10878         * src/supplicant-manager/nm-supplicant-connection.h
10879                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
10880
10881         * src/supplicant-manager/Makefile.am
10882                 - Add new files to build, and add libnm-util to includes
10883
10884         * src/nm-marshal.list
10885                 - New marshaler type: VOID:UINT,UINT
10886
10887         * src/nm-device-802-3-ethernet.c
10888                 - (real_init): grab a supplicant interface
10889                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
10890                 - (supplicant_iface_state_cb): new function, stub for handling
10891                         supplicant interface state changes
10892
10893         * src/nm-device-802-11-wireless.c
10894                 - (real_init): grab a supplicant interface
10895                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
10896                 - (supplicant_iface_state_cb): new function, stub for handling
10897                         supplicant interface state changes
10898
10899         * src/NetworkManager.c
10900                 - (main): create and keep the supplicant manager around for the lifetime
10901                         of NetworkManager
10902
10903         * src/Makefile.am
10904                 - Link to the supplicant manager sub-library and use the supplicant
10905                         manager includes
10906
10907 2006-11-25  Dan Williams  <dcbw@redhat.com>
10908
10909         Rework DBus manager signal handling to be more flexible.  Previously,
10910         only one signal handler could be registered for a particular interface.
10911         The DBus manager now reference counts DBus bus matches and allows multiple
10912         clients to register signal handlers for the same interface and sender.
10913
10914         * src/NetworkManager.c
10915                 - (main): track NMI signal handler ID and remove it when we quit
10916
10917         * src/NetworkManagerMain.h
10918                 - Keep track of NMI signal handler ID
10919
10920         * src/nm-dbus-manager.c
10921           src/nm-dbus-manager.h
10922                 - rework signal handling; each signal handler references one signal
10923                         match, but a signal match may be referenced by one or more
10924                         signal handlers.  Matches are refcounted and are destroyed when the
10925                         last signal handler that references the match is removed.  This is
10926                         necessary because two signal handlers may end up requiring the same
10927                         dbus bus match, so the match must live until the last signal handler
10928                         is destroyed (for example, with the wpa_supplicant network interface
10929                         dbus interface).
10930
10931         * src/dhcp-manager/nm-dhcp-manager.c
10932                 - (nm_dhcp_manager_new): track DHCP signal handler id
10933                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
10934
10935         * src/vpn-manager/nm-vpn-service.c
10936                 - (nm_vpn_service_add_watch): track VPN service signal handler id
10937                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
10938
10939 2006-11-25  Dan Williams  <dcbw@redhat.com>
10940
10941         Suggested by Helmut Schaa <hschaa@suse.de>
10942
10943         * src/vpn-daemons/nm-vpn-service.c
10944                 - (supplicant_child_setup): new function
10945                 - (supplicant_exec): make child process use a new process group id
10946
10947         * src/nm-device-802-11-wireless.c
10948                 - (nm_vpn_service_child_setup): new function
10949                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
10950                         process group id
10951
10952 2006-11-19  Dan Williams  <dcbw@redhat.com>
10953
10954         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
10955         * gnome/vpn-properties/nm-vpn-properties.c
10956                 - clean up after renamed VPN connection
10957
10958 2006-11-19  Dan Williams  <dcbw@redhat.com>
10959
10960         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
10961         * gnome/applet/applet-dbus-vpn.c
10962                 - (nma_dbus_vpn_properties_cb): sort VPN connections
10963
10964         * gnome/vpn-properties/nm-vpn-properties.c
10965                 - (init_app): sort VPN connections
10966
10967 2006-11-09  Dan Williams  <dcbw@redhat.com>
10968
10969         * src/NetworkManagerAPList.c
10970                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
10971                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
10972                 from the nm_ap_list_get_ap_by_address() call was incorrect and
10973                 broke hidden SSID matching.  Found by Bill Moss.
10974
10975 2006-10-25  Dan Williams  <dcbw@redhat.com>
10976
10977         * src/nm-dbus-nm.c
10978                 - (nm_dbus_nm_set_active_device): return an empty success message on
10979                         success, rather than falling through to the error case.
10980
10981 2006-10-25  Dan Williams  <dcbw@redhat.com>
10982
10983         * src/NetworkManagerUtils.c
10984                 - (nm_utils_supplicant_request_with_check): suppress messages for the
10985                         "SCAN" command
10986
10987 2006-10-24  Dan Williams  <dcbw@redhat.com>
10988
10989         Reduce the number of times the Gnome applet wakes up, especially when
10990         it's doing absolutely nothing and is hidden.  Initial patch by
10991         Chris Aillon.
10992
10993         * gnome/applet/applet-dbus.c
10994                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
10995                         kill the redraw timeout.  When NM starts up, start the redraw
10996                         timeout.  Also, if we get kicked off the bus for some reason,
10997                         start the reconnection timeout if one's not already running.
10998                 - (nma_dbus_init): better handling of error conditions, don't leak
10999                         a half-initialized dbus connection
11000                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11001                         the applet's data, just call nm_dbus_init_helper()
11002                 - (nma_start_dbus_connection_watch): new function, starts a periodic
11003                         timeout that calls nma_dbus_connection_watcher()
11004                 - (nma_dbus_init_helper): if we get a successful connection, kill the
11005                         reconnection timeout, and don't start the reconnection timeout
11006                         unconditionally anymore
11007
11008         * gnome/applet/applet-dbus.h
11009                 - Expose nma_start_dbus_connection_watch()
11010
11011         * gnome/applet/applet.c
11012                 - (nma_update_state): no longer static, called from applet-dbus.c for
11013                         immediate UI updates on certain events
11014                 - (nma_set_running): new function; take over setting applet->running,
11015                         when not running (ie, NM is not active), don't activate the redraw
11016                         timeout because we're not showing the applet anyway.  When we are
11017                         running (ie, NM is active), and only when we're running, start the
11018                         redraw timeout.
11019                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11020                         kill any reconnection timeout
11021                 - (nma_get_instance): move one-off dbus initialization code here since
11022                         nm_dbus_init_helper() gets called more than once, possibly by the
11023                         reconnection timeout function too.  And, when we start up, if we
11024                         can't get a connection to the bus, start the reconnection timeout.
11025                         But don't start the redraw timeout yet, only do that when we get
11026                         NM's state and find out if it's running or not.
11027
11028         * gnome/applet/applet.h
11029                 - Add the reconnection GSource ID
11030                 - Add prototypes for nma_set_running() and the no-longer-static
11031                         nma_update_state()
11032
11033 2006-10-24  Dan Williams  <dcbw@redhat.com>
11034
11035         * src/vpn-daemons/nm-dbus-vpnc.c
11036                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11037                         pending call tracker
11038                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11039                         pending call tracker; register one-vpn-connection update pending
11040                         call in pending call tracker
11041                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11042                         update pending call in pending call tracker
11043                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11044                         update pending call in pending call tracker; don't block waiting
11045                         for call to return
11046
11047 2006-10-19  Robert Love  <rml@novell.com>
11048
11049         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11050           refresh the cache.
11051
11052 2006-10-14  Dan Williams  <dcbw@redhat.com>
11053
11054         * src/dhcp-manager/nm-dhcp-manager.c
11055                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11056                 the dbus connection and the device object path rather than
11057                 constructing it inside both functions.  Saves a bit of memory
11058                 and clarifies a failure path.
11059                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11060                 and allocate device path here rather than each of the two
11061                 functions above.
11062
11063 2006-10-13  Dan Williams  <dcbw@redhat.com>
11064
11065         * src/NetworkManager.c
11066                 - (nm_name_owner_changed_handler): handle NMI coming and going,
11067                 this somehow droppout in the refactor
11068
11069 2006-10-13  Dan Williams  <dcbw@redhat.com>
11070
11071         * Huge DBus refactor:
11072                 - Create a "DBus Manager" object which manages the connection and
11073                 sends signals on NameOwnerChanged and connection/disconnection events,
11074                 handles reconnection to the bus if NM gets kicked off, and abstracts
11075                 signal handling
11076                 - Remove DBusConnection members from places where they are no
11077                 longer needed due to the refactor, like the dbus-connection
11078                 property of the named manager, and from NMData
11079                 - Reformats a bunch of the code to gnome style
11080                 (8-space tabs, braces on same line as statement, 80-col width).
11081                 Consider it open season to reformat any bits to gnome style.
11082                 style that aren't already.
11083
11084 2006-10-13  Dan Williams  <dcbw@redhat.com>
11085
11086         * src/supplicant-manager/Makefile.am
11087                 - Add new files
11088
11089         * src/supplicant-manager/nm-supplicant-manager.[ch]:
11090                 - Make it a minimal GObject
11091
11092         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
11093                 - Verify settings destined for wpa_supplicant
11094
11095         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
11096                 - Minimal GObject to track wpa_supplicant controlled device
11097                 connections
11098
11099 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
11100
11101         * gnome/applet/applet.c: (nma_update_info),
11102         (nma_act_stage_to_pixbuf), (nma_update_state):
11103         Mark missing strings for translation. Fixes bug #343306.
11104
11105 2006-10-01  Dan Williams  <dcbw@redhat.com>
11106
11107         * src/vpn-manager/nm-vpn-manager.c
11108                 - (nm_vpn_manager_load_services): split and clean up
11109                 for readability and correctness.  Restrict VPN service
11110                 files to ending in ".name", as was meant from the
11111                 beginning (but not coded in).  Better error reporting.
11112
11113 2006-10-01  Dan Williams  <dcbw@redhat.com>
11114
11115         * utils/nm-utils.h
11116                 - Clean up formatting of debug/info/warning log messages
11117
11118 2006-09-27  Robert Love  <rml@novell.com>
11119
11120         Patch by Tambet Ingo <tambet@ximian.com>:
11121         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11122           actually work.
11123
11124 2006-09-07  Dan Williams <dcbw@redhat.com>
11125
11126         * test/Makefile.am
11127           test/libnm-util/Makefile.am
11128           test/nm-supplicant-test.c
11129                 - Add test program emulating the way NM drives wpa_supplicant
11130                 to help debug supplicant issues
11131
11132 2006-08-24  Dan Williams <dcbw@redhat.com>
11133
11134         * configure.in
11135           src/Makefile.am
11136           src/supplicant-manager/Makefile.am
11137           src/supplicant-manager/nm-supplicant-manager.c
11138           src/supplicant-manager/nm-supplicant-manager.h
11139                 - Add skeleton bits of the wpa_supplicant manager
11140
11141 2006-08-24  Dan Williams <dcbw@redhat.com>
11142
11143         Patch from Ed Catmur:
11144         * src/NetworkManagerUtils.c
11145                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11146                 if netmask is 0 (Gnome #352634)
11147
11148 2006-08-17  Robert Love  <rml@novell.com>
11149
11150         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11151           package is now DBUS-enabled and listens for the NM signals.
11152
11153 2006-08-14  Dan Williams  <dcbw@redhat.com>
11154
11155         * Patch from Christian Persch <chpe gnome org>
11156         * configure.in
11157           po/LINGUAS
11158           vpn-daemons/openvpn/po/LINGUAS
11159           vpn-daemons/openvpn/configure.in
11160           vpn-daemons/pptp/po/LINGUAS
11161           vpn-daemons/pptp/configure.in
11162           vpn-daemons/vpnc/po/LINGUAS
11163           vpn-daemons/vpnc/configure.in
11164                 - Convert to LINGUAS method so translators don't have to modify
11165                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
11166                 0.35 or higher
11167
11168 2006-08-14  Dan Williams  <dcbw@redhat.com>
11169
11170         Patch from Alex Smith <alex.extreme2@gmail.com>
11171         * configure.in
11172           src/backends/Makefile.am
11173           src/backends/NetworkManagerFrugalware.c
11174                 - Add support for Frugalware
11175
11176 2006-08-13  Dan Williams  <dcbw@redhat.com>
11177
11178         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11179         * src/nm-device-802-11-wireless.c
11180                 - (supplicant_exec): spawn wpa_supplicant without debug spew
11181                 Gnome #346875
11182
11183 2006-08-13  Dan Williams  <dcbw@redhat.com>
11184
11185         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11186         * src/nm-ap-security.c
11187           src/nm-ap-security.h
11188                 - Add authentication_required bits for subclasses to specify whether
11189                 or not real authentication is required for connections, i.e. whether
11190                 the AP rejects us when an encryption key is wrong or not.
11191
11192         * src/nm-ap-security-wep.c
11193           src/nm-ap-security-wpa-eap.c
11194           src/nm-ap-security-wpa-psk.c
11195           src/nm-ap-security-leap.c
11196                 - Implement authentication_required appropriately for each method
11197
11198         * src/nm-device-802-11-wireless.c
11199                 - Be smarter about when to request a key; for example, using a wrong key
11200                 in WEP shared key mode previously just timed out and did not request
11201                 a new key
11202
11203 2006-08-13  Dan Williams  <dcbw@redhat.com>
11204
11205         * gnome/libnm_glib/libnm_glib.c
11206                 - dbus_connection_disconnect() -> dbus_connection_close() for
11207                 dbus >= 0.90
11208
11209 2006-08-07  Dan Williams  <dcbw@redhat.com>
11210
11211         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11212         * src/NetworkManagerSystem.c
11213                 - Respect specified MTU.  Gnome #344967
11214
11215 2006-08-07  Dan Williams  <dcbw@redhat.com>
11216
11217         * src/vpn-manager/nm-vpn-service.c
11218                 - Simplify print_vpn_config() arguments
11219
11220         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11221         * src/vpn-manager/Makefile.am
11222           src/vpn-manager/nm-vpn-service.c
11223                 - Add new API for passing VPN config options as a dict. Gnome #344967
11224
11225 2006-08-06  Dan Williams  <dcbw@redhat.com>
11226
11227         * gnome/applet/applet-dbus-devices.c
11228           gnome/applet/applet-dbus-vpn.c
11229           gnome/applet/applet-dbus.c
11230           gnome/applet/applet-dbus.h
11231           src/nm-dbus-nmi.c
11232           utils/nm-utils.c
11233           utils/nm-utils.h
11234                 - Make pending call tracking code generic,
11235                 so we can use it in NM as well as the applet
11236
11237 2006-08-06  Dan Williams  <dcbw@redhat.com>
11238
11239         * src/nm-activation-request.c
11240                 - Refcount pending call objects
11241
11242 2006-08-06  Dan Williams  <dcbw@redhat.com>
11243
11244         Patch from Christan Chiesa <christanc@gmail.com>
11245         * configure.in
11246                 - Tell sha1.c to use bigendian mode on PPC
11247
11248 2006-08-04  Robert Love  <rml@novell.com>
11249
11250         Glib Memory Slices!
11251         * configure.in: Require glib 2.10 or later.
11252         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11253           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11254           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11255           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11256           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
11257           Memory Slices are the greatest thing since bread slices.
11258         * src/NetworkManagerAP.c: Also, fix memory leak.
11259
11260 2006-08-01  Robert Love  <rml@novell.com>
11261
11262         * gnome/applet/main.c: Shutdown all VPN connections on logout.
11263
11264 2006-07-31  Robert Love  <rml@novell.com>
11265
11266         * src/backends/interface_parser.c: Declarations must begin the block.
11267
11268 2006-07-24  Dan Williams  <dcbw@redhat.com>
11269
11270         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11271         * src/backends/Makefile.am
11272           src/backends/NetworkManagerArch.c
11273           src/backends/NetworkManagerDebian.c
11274           src/backends/NetworkManagerGeneric.c
11275           src/backends/NetworkManagerGeneric.h
11276           src/backends/NetworkManagerGentoo.c
11277           src/backends/NetworkManagerPaldo.c
11278           src/backends/NetworkManagerRedHat.c
11279           src/backends/NetworkManagerSlackware.c
11280           src/backends/NetworkManagerSuSE.c
11281                 - Genericize common backend functions
11282
11283 2006-07-18  Robert Love  <rml@novell.com>
11284
11285         * configure.in: Add "--with-notify" option to allow disabling of
11286           libnotify support.
11287
11288 2006-07-13  Dan Williams  <dcbw@redhat.com>
11289
11290         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11291         * gnome/applet/applet.glade
11292           gnome/applet/Makefile.am
11293           gnome/applet/nm-gconf-wso.c
11294           gnome/applet/nm-gconf-wso-leap.c
11295           gnome/applet/nm-gconf-wso-leap.h
11296           gnome/applet/wireless-security-manager.c
11297           gnome/applet/wso-leap.c
11298           gnome/applet/wso-leap.h
11299           include/NetworkManager.h
11300           libnm-util/dbus-helpers.c
11301           libnm-util/dbus-helpers.h
11302           src/Makefile.am
11303           src/NetworkManagerAP.c
11304           src/nm-ap-security.c
11305           src/nm-ap-security-leap.c
11306           src/nm-ap-security-leap.h
11307                 - Add LEAP authentication support
11308
11309 2006-07-13  Dan Williams  <dcbw@redhat.com>
11310
11311         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11312         * configure.in
11313           src/backends/NetworkManagerArch.c
11314           src/backends/NetworkManagerDebian.c
11315           src/backends/NetworkManagerGentoo.c
11316           src/backends/NetworkManagerPaldo.c
11317           src/backends/NetworkManagerRedHat.c
11318           src/backends/NetworkManagerSlackware.c
11319           src/backends/NetworkManagerSuSE.c
11320                 - Convert hardcoding of 'ip' path to configure-time
11321                         detected one
11322
11323 2006-07-12  Leonid Kanter <leon@asplinux.ru>
11324
11325         * configure.in: added ru to ALL_LINGUAS
11326
11327 2006-07-10  Dan Williams  <dcbw@redhat.com>
11328
11329         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11330         * src/nm-device.c
11331                 - (real_act_stage3_ip_config_start): don't infinite loop when
11332                         dhcdbd isn't running (Gnome #346845)
11333
11334 2006-07-09  Dan Williams  <dcbw@redhat.com>
11335
11336         * gnome/applet/applet.c
11337                 - (nma_destroy): don't pass NULL to notify_notification_close
11338                         (RH #197917)
11339
11340 2006-07-09  Dan Williams  <dcbw@redhat.com>
11341
11342         * gnome/applet/applet.c
11343                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11344
11345 2006-07-04  Tor Krill  <tor@krill.nu>
11346
11347         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11348         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11349         (nm_system_restart_mdns_responder), (ArchReadConfig),
11350         (nm_system_device_get_system_config):
11351                 - Explicitly check for DHCP configuration
11352                 - Check if daemons are running before starting them
11353
11354 2006-06-25  Dan Williams  <dcbw@redhat.com>
11355
11356         * libnm-util/dbus-dict-helpers.[ch]
11357           test/libnm-util/test-dbus-dict-helpers.c
11358                 - Add string array support
11359
11360 2006-06-24  Dan Williams  <dcbw@redhat.com>
11361
11362         * src/dhcp-manager/nm-dhcp-manager.c
11363                 - (nm_dhcp_manager_process_signal): clean up spacing
11364
11365 2006-06-21  Dan Williams  <dcbw@redhat.com>
11366
11367         * src/nm-dbus-device.c
11368                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11369                         through dbus
11370
11371 2006-06-21  Raivis Dejus  <orvils@gmail.com>
11372
11373         * configure.in: Added 'lv' to ALL_LINGUAS
11374
11375 2006-06-19  Dan Williams  <dcbw@redhat.com>
11376
11377         * src/NetworkManagerAP.c
11378                 - Clarify usage of user_created
11379
11380         * src/nm-ap-security-wep.c
11381           src/nm-ap-security-wpa-eap.c
11382           src/nm-ap-security-wpa-psk.c
11383           src/nm-ap-security.c
11384           src/nm-ap-security.h
11385                 - s/user_created/adhoc, because we really do mean adhoc
11386
11387         Patch from Bernard Blackham <bernard@blackham.com.au>
11388         * src/nm-device-802-11-wireless.c         
11389                 - (supplicant_send_network_config): instead of user_created,
11390                         use adhoc, and do AP_SCAN 2 for adhoc networks
11391
11392 2006-06-18  Robert Love  <rml@novell.com>
11393
11394         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11395           we have a value to set.  Gconf generates a warning if `val' is NULL.
11396         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11397           unless we actually received a valid private key file passphrase or
11398           password.  Otherwise, we don't know to later ask the applet to pull
11399           the key from the keyring.
11400
11401 2006-06-17  Dan Williams  <dcbw@redhat.com>
11402
11403         * libnm-util/dbus-dict-helpers.[ch]
11404           test/libnm-util/test-dbus-dict-helpers.c
11405                 - Fixes for zero-length byte arrays
11406                 - Replace return values of 0 with FALSE for clarity
11407                 - Test zero-length byte arrays
11408
11409 2006-06-17  Dan Williams  <dcbw@redhat.com>
11410
11411         * libnm-util/dbus-dict-helpers.[ch]
11412           test/libnm-util/test-dbus-dict-helpers.c
11413                 - Add helpers for byte arrays
11414                 - Rework bits of the testcase
11415
11416 2006-06-16  Dan Williams  <dcbw@redhat.com>
11417
11418         * libnm-util/Makefile.am
11419         * libnm-util/dbus-dict-helpers.[ch]
11420                 - Add some helpers to take the pain out of using dict types in
11421                         dbus.
11422
11423         * test/libnm-util/Makefile.am
11424         * test/libnm-util/test-dbus-dict-helpers.c
11425                 - Test cases for the dict helper functions
11426
11427 2006-06-15  Robert Love  <rml@novell.com>
11428
11429         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11430           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
11431           if there is no key to pass.
11432         * libnm-util/dbus-helpers.c: Given the above, we can trust always
11433           receiving a non-NULL key.
11434
11435 2006-06-14  Robert Love  <rml@novell.com>
11436
11437         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11438           copy the strings.
11439
11440
11441 2006-06-14  Dan Williams  <dcbw@redhat.com>
11442
11443         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
11444         * src/nm-device-802-11-wireless.c
11445                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11446                         or ones where the driver is unknown
11447                 - (supplicant_exec): don't wait for supplicant startup here
11448                 - (supplicant_interface_init): finer grained polling for supplicant
11449                         startup
11450
11451 2006-06-13  Robert Love  <rml@novell.com>
11452
11453         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11454           if it is currently set to TRUE.  Otherwise, we will reset the value
11455           when we connect normally.
11456         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11457           the old BSSID is valid, too.  The recently added ESSID check may not be
11458           sufficient (we can remove it?).  What we really want to catch is the
11459           case of going from all-zeros to the BSSID of some other network, which
11460           happens on failure.
11461
11462 2006-06-09  Dan Williams  <dcbw@redhat.com>
11463
11464         * src/NetworkManagerSystem.[ch]
11465                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11466                         it was unused and pointless
11467                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11468                         fix for set_up_down_with_iface change
11469
11470         * src/vpn-manager/nm-vpn-connection.c
11471                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11472
11473         * src/backends/NetworkManagerPaldo.c
11474           src/backends/NetworkManagerRedHat.c
11475           src/backends/NetworkManagerSuSE.c
11476           src/backends/NetworkManagerArch.c
11477           src/backends/NetworkManagerDebian.c
11478           src/backends/NetworkManagerGentoo.c
11479                 - (nm_system_enable_loopback): use set_up_down_with_iface where
11480                         appropriate
11481                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11482                         where appropriate
11483
11484 2006-06-09  Dan Williams  <dcbw@redhat.com>
11485
11486         Patch from Peter Jones:
11487         * src/nm-device-802-11-wireless.c
11488                 - (nm_device_802_11_wireless_update_bssid): make sure that the
11489                         SSID hasn't changed from what we expect before automatically
11490                         updating the saved BSSID from a new AP
11491
11492 2006-06-08  Robert Love  <rml@novell.com>
11493
11494         Add 'fallback' support.  NetworkManager will attempt to brute-force
11495         connect to networks marked as fallback if there are no better wireless
11496         connections available.  This is useful as a method of last resort, to
11497         work around driver problems, and for use with hidden networks.
11498         * gnome/applet/applet-dbus-devices.c,
11499           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11500         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11501           pass it on via DBUS.
11502         * gnome/applet/applet.c: No fallback by default.
11503         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11504           Update other-network-dialog to add UI checkbox toggling fallback.
11505         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11506           propery from AP object.  Add "fallback" property to AP object.
11507         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11508         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11509         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11510           separate function.  Add get_best_fallback_ap() for returning an AP
11511           on which to attempt fallback.
11512         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11513         * test/nm-set-fallback: New file.  Sets a given network as fallback.
11514
11515 2006-06-07  Robert Love  <rml@novell.com>
11516
11517         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11518           checked that the return type was GCONF_VALUE_STRING, not the correct
11519           GCONF_VALUE_BOOL, and thus it never worked.
11520         * src/NetworkManagerAPList.c: Before concluding that two networks are
11521           identical based on their BSSID, make sure that the BSSID in question
11522           is actually valid.  Specifically, an empty or all zero BSSID does not
11523           cut it.
11524         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11525           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11526           similar invariant clean up.
11527
11528 2006-06-02  Robert Love  <rml@novell.com>
11529
11530         * gnome/applet/applet.c: Update copyright years.  Add Novell.
11531
11532 2006-05-28  Dan Williams  <dcbw@redhat.com>
11533
11534         * gnome/applet/applet.glade
11535           gnome/vpn-properties/nm-vpn-properties.glade
11536                 - Set window icons on dialogs  (Gnome.org #333420)
11537
11538 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
11539
11540         * gnome/vpn-properties/nm-vpn-properties.glade:
11541         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11542         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11543         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11544                 - Make the VPN properties pages prettier and more HIG
11545                   compliant. Gnome Bug #336913.
11546
11547 2006-05-28  Dan Williams  <dcbw@redhat.com>
11548
11549         Patch from Christian Persch <chpe@gnome.org>
11550         * gnome/vpn-properties/nm-vpn-properties.c
11551         * gnome/vpn-properties/nm-vpn-properties.glade
11552                 - HIG-ification love  (Gnome.org #336846)
11553
11554 2006-05-28  Dan Williams  <dcbw@redhat.com>
11555
11556         Patch from Christian Persch <chpe@gnome.org>
11557         * configure.in
11558           gnome/vpn-properties/nm-vpn-properties.c
11559                 - (main): Fix option parsing.  Gnome.org #336847
11560
11561 2006-05-28  Dan Williams  <dcbw@redhat.com>
11562
11563         * gnome/vpn-properties/nm-vpn-properties.c
11564                 - (find_vpn_ui_by_service_name): protect against NULL service names
11565                 - (update_edit_del_sensitivity): protect against NULL service names
11566                         Gnome.org #341306
11567
11568 2006-05-28  Dan Williams  <dcbw@redhat.com>
11569
11570         Patch from Chris Fuller <crf@grandecom.net>:
11571         * src/nm-device-802-11-wireless.c
11572                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11573                         don't dispose of wireless-specific stuff unless it is actually
11574                         initialized.  Gnome.org #341263
11575
11576 2006-05-28  Dan Williams  <dcbw@redhat.com>
11577
11578         * src/NetworkManagerPolicy.c
11579                 - (nm_policy_device_change_check): don't switch devices if the "best"
11580                         AP is essentially the same as the current activation request, but
11581                         the current activation request isn't done activating yet.  Fixes
11582                         multiple requests for keyring password on startup for Gnome applet.
11583                         Gnome.org #341297
11584
11585 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
11586
11587         * src/NetworkManager.c: use GOptions instead of getopt
11588         * configure.in: bump glib required version to >= 2.6 for GOption
11589           support
11590
11591 2006-05-25  Robert Love  <rml@novell.com>
11592
11593         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11594           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
11595           instead of dumping ifdef's throughout the code.
11596         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11597           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11598           use nm_ioctl_info() in lieu.
11599
11600 2006-05-25  Robert Love  <rml@novell.com>
11601
11602         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11603         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11604           not using gcrypt.  Otherwise, we get a linker error.
11605
11606 2006-05-25  Robert Love  <rml@novell.com>
11607
11608         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11609         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11610           configure flag to disable building of the GNOME-based applet.
11611
11612 2006-05-25  Robert Love  <rml@novell.com>
11613
11614         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11615           parameter from link, because it shadows a global variable with some
11616           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
11617           should never have exported to the entire system a common four letter
11618           word.  But we here at NetworkManager are team players.  Fixes
11619           GNOME bug #336532.
11620
11621 2006-05-25  Arangel Angov <ufo@linux.net.mk>
11622
11623         * configure.in: Added mk.po, Macedonian translation.
11624
11625 2006-05-24  Robert Love  <rml@novell.com>
11626
11627         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11628           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11629           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11630
11631 2006-05-24  Robert Love  <rml@novell.com>
11632
11633         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11634           libnm-util/Makefile.am, src/Makefile.am,
11635           vpn-daemons/openvpn/auth-dialog/Makefile.am,
11636           vpn-daemons/openvpn/properties/Makefile.am,
11637           vpn-daemons/pptp/auth-dialog/Makefile.am,
11638           vpn-daemons/pptp/properties/Makefile.am,
11639           vpn-daemons/vpnc/auth-dialog/Makefile.am,
11640           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11641           user passed for --datadir, if anything, when setting the GNOME locale
11642           directory.  It should be a function of the specified datadir and not
11643           the prefix.
11644
11645 2006-05-24  Robert Love  <rml@novell.com>
11646
11647         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11648           src/NetworkManager.c: Take care to call bindtextdomain with the
11649           location of msgid files.
11650         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11651           files.
11652
11653 2006-05-22  Robert Love  <rml@novell.com>
11654
11655         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11656           stage4_timeout on failure unless the wireless network is Ad-Hoc.
11657           99% of the time there is a real problem with wireless, and a
11658           seemingly successful connection via Zeroconf just confuses the user.
11659           And that 1% of the time the network is probably Ad-Hoc, anyhow.
11660
11661 2006-05-22  Robert Love  <rml@novell.com>
11662
11663         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11664           autofs on interface up if NIS is configured.  On interface down, do
11665           nothing.
11666
11667 2006-05-22  Robert Love  <rml@novell.com>
11668
11669         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11670           to avoid calling g_object_unref() on stale pointers on error in
11671           nma_icons_free().  This happens because we short-circuit loaded the
11672           icons on the first failure but then free all icons.  Normally we have
11673           no issue because the icons were zero'ed out malloc, but we have stale
11674           pointer data after nma_icon_theme_changed().
11675         * gnome/applet/main.c: Return error code if nma_new() failed.
11676
11677 2060-05-21  Dan Williams  <dcbw@redhat.com>
11678
11679         * initscript/NetworkManager.in
11680                 - Ensure both dhcdbd and named are started before NM
11681
11682 2006-05-21  Dan Williams  <dcbw@redhat.com>
11683
11684         * configure.in
11685                 - Bump version to 0.7 to signify we are in 0.7 development
11686
11687 2006-05-21  Dan Williams  <dcbw@redhat.com>
11688
11689         Patch from Adam Schreiber <sadam@clemson.edu>
11690         * gnome/vpn-properties/nm-vpn-properties.c
11691                 - (main): correct Gnome program name  (gnome.org #342498)
11692
11693 2006-05-21  Dan Williams  <dcbw@redhat.com>
11694
11695         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11696
11697         * src/NetworkManagerDbus.[ch]
11698                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11699                         clarify that function's argument should be an escaped dbus object
11700                         path, and look for path segment end before returning a match
11701         * src/nm-dbus-nm.c:
11702                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11703
11704 2006-05-17  Robert Love  <rml@novell.com>
11705
11706         Functionality to differentiate Ad-Hoc networks from infrastructure
11707         networks in the applet, by displaying a special icon:
11708         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11709         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11710         * gnome/applet/menu-items.c: Set a special icon in the scan list for
11711           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
11712           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
11713           networks, encrypted or not.
11714         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11715           accessor functions to get and set the mode of a given network,
11716           wireless_network_get_mode() and wireless_network_set_mode().
11717
11718 2006-05-17  Robert Love  <rml@novell.com>
11719
11720         Functionality to automatically add BSSIDs to the allowed-MAC list as
11721         one roams from access point to access point on a given network:
11722         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11723           helper function to compare two ether_addr structures and return TRUE
11724           if they contain the same MAC address.
11725         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11726           prototype.
11727         * src/nm-device-802-11-wireless.c: New function to update the BSSID
11728           stored with the current AP.  If the BSSID has indeed changed, we
11729           send it out to the applet, allowing the allowed-MAC list to grow
11730           automatically in response to roaming.
11731
11732 2006-05-16  Robert Love  <rml@novell.com>
11733
11734         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11735           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11736
11737 2006-05-13  Dan Williams  <dcbw@redhat.com>
11738
11739         * src/nm-device-802-3-ethernet.c
11740                 - (real_get_generic_capabilities): Don't ignore devices that can't do
11741                         carrier detect (Debian bug #366373)
11742
11743 2006-05-11  Dan Williams  <dcbw@redhat.com>
11744
11745         Patch from Michael Biebl <biebl@teco.edu>
11746         * src/backends/NetworkManagerDebian.c
11747                 - Debian backend fixups
11748
11749 2006-05-10  Robert Love  <rml@novell.com>
11750
11751         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11752
11753 2006-05-09  Robert Love  <rml@novell.com>
11754
11755         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11756           private certificate passphrase, if any, in the GNOME Keyring.
11757         * libnm-utils/dbus-helpers.c: Update.
11758
11759 2006-05-05  Dan Williams  <dcbw@redhat.com>
11760
11761         * src/nm-device-802-11-wireless.c
11762                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11763                         nm_device_802_11_wireless_disable_encryption() since that's all
11764                         we use it for anymore; we don't ever set WEP keys ourselves.
11765                 - (real_deactivate_quickly): reset SSID and encryption keys
11766                 - (real_deactivate): move SSID and encryption key reset to
11767                         real_deactivate_quickly(), which gets run before us anyway
11768
11769 2006-05-05  Robert Love  <rml@novell.com>
11770
11771         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11772           root has a wacky default of its own (or, more common, a user has a
11773           bad umask and uses su/sudo to restart NetworkManager).  Anything
11774           other than 0022 does not do what we want with, for example,
11775           resolv.conf.  This problem is amplified by our judicious use of
11776           fopen(), which uses mode 0666 -- implying that the only way to get
11777           the permissions we want is with a umask of 0022.
11778
11779 2006-05-05  Dan Williams  <dcbw@redhat.com>
11780
11781         * gnome/libnm_glib/libnm_glib.c
11782                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11783                         to reconnect; instead wait a bit more with each reconnect attempt
11784                         up to a max of one minute.
11785
11786 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
11787
11788         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11789           the WirelessNetwork structure using the proper function instead of
11790           just casting it directly to (const char *) (gnome.org #336991)
11791
11792 2006-05-03  Robert Love  <rml@novell.com>
11793
11794         * src/backends/NetworkManagerSuSE.c: Respect the variable
11795           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11796           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11797           to dynamically update /etc/resolv.conf.
11798
11799 2006-05-02  Peter Jones  <pjones@redhat.com>
11800
11801         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11802
11803 2006-05-02  Robert Love  <rml@novell.com>
11804
11805         Patch by Timo Hoenig;
11806         * tests/nm-online.c: Print pretty status indicator as timeout winds
11807           down.  Also fix possible race between DBUS startup and failure
11808           return.
11809
11810 2006-05-01  Robert Love  <rml@novell.com>
11811
11812         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11813           empty, too.
11814
11815 2006-04-27  Jeremy Katz  <katzj@redhat.com>
11816
11817         * src/nm-device.c (discover_device_type): Actually use the hal
11818         device type instead of ioctl poking
11819
11820 2006-04-26  Robert Love  <rml@novell.com>
11821
11822         * tests/nm-online.c: New file.  Simple utility that returns exit status
11823           noting whether the connection is offline or online.  If offline on
11824           start, it waits 30 seconds (or a command-line given value) for an
11825           online signal.  If it times out, it again returns offline.  This is
11826           useful for scripts that want to wait for network connections.
11827
11828 2006-04-25  Robert Love  <rml@novell.com>
11829
11830         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11831           key mode (the authentication algorithm), e.g. open or shared, when we
11832           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
11833           only shared was broken.  If the user specified a shared key, set it
11834           explicitly, otherwise let wpa_supplicant go with the default.
11835
11836 2006-04-24  Dan Williams  <dcbw@redhat.com>
11837
11838         * src/nm-device-802-11-wireless.c
11839                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11840
11841 2006-04-24  Dan Williams  <dcbw@redhat.com>
11842
11843         Commit the async scanning patch
11844
11845         * src/nm-device-802-11-wireless.c
11846                 - get rid of scan_mutex
11847                 - (wireless_event_helper): act on wireless scan events
11848                 - (real_start): schedule a pending scan
11849                 - (link_to_specific_ap): fake the link to the AP during a scan
11850                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11851                         strength during scans
11852                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11853                         nm_device_set_bitrate): unused with new scanning code, disable
11854                 - (nm_device_wireless_schedule_scan): removed
11855                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11856                 - (request_and_convert_scan_results): new function; retrieve scan
11857                         results from the driver and schedule the processing function
11858                 - (scan_results_timeout): timeout triggered when card doesn't send
11859                         a scan results wireless event during a certain interval
11860                 - (schedule_scan_results_timeout): new function; schedule the scan
11861                         results timeout
11862                 - (cancel_scan_results_timeout): new function; cancel the scan
11863                         results timeout
11864                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11865                         to do the scanning.  Otherwise, just request a scan but don't
11866                         grab results here; instead schedule a timeout for scan results and
11867                         let netlink notify us of scan completion events
11868                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11869                 - (cancel_pending_scan): new function; cancel a pending wireless scan
11870                 - (supplicant_status_cb): ignore disconnect events while scanning
11871                 - (supplicant_exec): wait a bit longer for the supplicant to start up
11872                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
11873                         timeouts
11874                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
11875
11876 2006-04-24  Dan Williams  <dcbw@redhat.com>
11877
11878         * gnome/applet/applet-dbus.c
11879                 - Disable the pending call debug stuff, seems under control now
11880
11881 2006-04-20  Robert Love  <rml@novell.com>
11882
11883         Fix bug where hidden ESSID's would not show up in the applet, even
11884         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
11885         because nm_policy_device_list_update_from_allowed_list() would merge
11886         the data, putting a name to the hidden networks, but never notify NMI
11887         of the changes.  Simple fix is to invoke the function
11888         nm_dbus_signal_wireless_network_change() if we make a mapping.
11889         * src/NetworkManagerAPList.c: Call the function
11890           nm_dbus_signal_wireless_network_change() if we made a successful
11891           BSSID to ESSID mapping, notifying the applet of the "new" network.
11892         * src/NetworkManagerAPList.h: Update the prototypes for both
11893           nm_ap_list_copy_essids_by_address() and
11894           nm_ap_list_copy_one_essid_by_address().
11895
11896 2006-04-20  Robert Love  <rml@novell.com>
11897
11898         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
11899           not set.  Just return zero.
11900
11901 2006-04-20  Robert Love  <rml@novell.com>
11902
11903         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
11904           only one copy of nm-vpn-properties is running at a time via the 'ol
11905           X selection trick.  This prevents the user from opening two "VPN
11906           Connections" windows from within the applet, which leads to mass
11907           hysteria.
11908         * clipboard.c: New file, implementing simple X selection logic.
11909         * clipboard.h: New file.
11910         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
11911
11912 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
11913
11914         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
11915         * configure.in
11916           initscript/Gentoo/Makefile.am
11917           initscript/Gentoo/NetworkManagerDispatcher.in
11918                 - New script
11919         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
11920           Gentopia
11921
11922 2006-04-16  Dan Williams  <dcbw@redhat.com>
11923
11924         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
11925         * configure.in
11926           initscript/Slackware/Makefile.am
11927           initscript/Slackware/rc.networkmanager-dispatcher.in
11928           initscript/Slackware/rc.networkmanager.in
11929                 - Update slackware initscripts
11930
11931 2006-04-10  Robert Love  <rml@novell.com>
11932
11933         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
11934           the "delete_event" signal on the druid's parent window and handle it
11935           our way, lest using the WM to close the druid results in a series of
11936           bloody and ultimately lethal errors.
11937
11938 2006-04-10  Robert Love  <rml@novell.com>
11939
11940         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
11941           'Back' too or else the 'Forward' option is initially disabled despite
11942           valid input.
11943
11944 2006-04-06  Robert Love  <rml@novell.com>
11945
11946         Fix bad but simple bug where an active modem connection did not update
11947         NM's connection state, breaking any app that did online/offline:
11948         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
11949           represented whether a dial up connection is active, or not.
11950         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
11951           to modem activation and deactivation.
11952         * src/NetworkManagerDbus.c: When asked our state, do not return
11953           disconnected if the modem is active.
11954
11955 2006-04-04  Robert Love  <rml@novell.com>
11956
11957         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
11958           applet.  It just confuses the crap out of people and does not make a
11959           lot of sense, as the daemon still runs.
11960
11961 2006-04-02  Tor Krill  <tor@krill.nu>
11962
11963         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
11964           in start of service.
11965         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
11966           get Archlinux backend up to date.
11967
11968 2006-03-29  Robert Love  <rml@novell.com>
11969
11970         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
11971         to add support for per-route MSS and improve support for per-interface
11972         MTU:
11973         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
11974           optionally take an MSS parameter and set it for the given route.
11975           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
11976           NMIP4Config's stored MSS, if any.
11977         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
11978           the interface's MTU and the route's MSS, respectively.  Add functions
11979           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
11980           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
11981           MSS.
11982         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
11983           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
11984           nm_ip4_config_set_mss.
11985         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
11986           VPN daemon.
11987         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
11988           Change the retval of nm_system_get_mtu to guint32.
11989         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
11990           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
11991           servers can specify MTU's, we should set it here if the MTU was not
11992           provided.
11993
11994 2006-03-27  Jürg Billeter  <j@bitron.ch>
11995
11996         * configure.in:
11997         * initscript/Makefile.am:
11998         * initscript/paldo/Makefile.am:
11999         * initscript/paldo/NetworkManager.in:
12000         * initscript/paldo/NetworkManagerDispatcher.in:
12001         * src/backends/Makefile.am:
12002         * src/backends/NetworkManagerPaldo.c:
12003                 - Add paldo support
12004
12005 2006-03-27  Dan Williams  <dcbw@redhat.com>
12006
12007         Patch from Christian Persch <chpe@gnome.org>
12008         * gnome/applet/applet.glade
12009                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12010
12011 2006-03-27  Dan Williams  <dcbw@redhat.com>
12012
12013         Patch from Diffe <diffie@blazebox.homeip.net>
12014         * src/backends/NetworkManagerSlackware.c
12015                 - Don't restart howl, since it's been replaced by Avahi
12016                         in most distributions
12017
12018 2006-03-27  Dan Williams  <dcbw@redhat.com>
12019
12020         Patch from Tor Krill <bugzilla@krill.nu>
12021         * configure.in
12022           initscript/Makefile.am
12023           src/backends/Makefile.am
12024           src/backends/NetworkManagerArch.c
12025           initscript/Arch/Makefile.am
12026           initscript/Arch/networkmanager-dispatcher.in
12027           initscript/Arch/networkmanager.in
12028                 - Add Arch Linux support, fixes gnome.org #335147
12029
12030 2006-03-27  Dan Williams  <dcbw@redhat.com>
12031
12032         Patch from Diffe <diffie@blazebox.homeip.net>
12033      * initscript/Slackware/rc.networkmanager
12034         - update, fixed gnome.org #333368
12035
12036 2006-03-27  Robert Love  <rml@novell.com>
12037
12038         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12039           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12040
12041 2006-03-27  Robert Love  <rml@novell.com>
12042
12043         Patch by Jürg Billeter <j@bitron.ch>:
12044         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12045           systems.
12046         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12047           as we prefer glibc over kernel headers, if possible.
12048
12049 2006-03-27  Robert Love  <rml@novell.com>
12050
12051         Patch by Jon Escombe <list@dresco.co.uk>:
12052         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12053         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12054           fail, don't bail out.  We don't expect all of the various WPA-EAP
12055           values to be present.
12056         * src/nm-ap-security.c: We need to match all capabilities for each
12057           encryption type, not any one of them.
12058
12059 2006-03-27  Robert Love  <rml@novell.com>
12060
12061         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12062           restart, not reload, ypbind.  Unfortunately there is no superior
12063           solution.
12064
12065 2006-03-24  Christopher Aillon  <caillon@redhat.com>
12066
12067         * gnome/applet/applet-notifications.c:
12068         When displaying a notification, make sure to get rid of the
12069         previous notification so as to not have competing bubbles,
12070         and stop leaking the old one.
12071
12072         * gnome/applet/applet.c:
12073         * gnome/applet/applet.h:
12074         Add a new 'notification' member to the applet, and zero it out
12075         and free it appropriately.
12076
12077 2006-03-23  Robert Love  <rml@novell.com>
12078
12079         Patch by j <j@bootlab.org>:
12080         * gnome/applet/applet.glade: Don't set the invisible_char property,
12081           which simply overrides the GTK default.  By and by, this behavior
12082           ought to be fixed in Glade.
12083
12084 2006-03-22  Robert Love  <rml@novell.com>
12085
12086         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12087
12088 2006-03-22  Robert Love  <rml@novell.com>
12089
12090         Bug fix by Timo Hoenig <thoenig@suse.de>:
12091         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12092           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
12093           and the applet going AWOL.
12094
12095 2006-03-22  Robert Love  <rml@novell.com>
12096
12097         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12098           preprocessor define and use it instead of open-coded the DHCP
12099           timeout, which is currently 25 seconds, everywhere.
12100
12101 2006-03-22  Robert Love  <rml@novell.com>
12102
12103         Implement "Dynamic WEP", which is basically WPA authentication and WEP
12104         key exchange via WPA, ostensibly providing good security without
12105         requiring hardware that supports full WPA.  Also, add UI elements to
12106         allow the user to select the pairwise & group cipher for WPA Enterprise
12107         networks, too:
12108         * gnome/applet/applet.glade: Update glade file.
12109         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12110           key type, too, to and from gconf.
12111         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12112           wso_wpa_create_key_type_model(), noting whether we are handling PSK
12113           or EAP configuration, and in the latter case add in "Dynamic WEP" if
12114           the capabilities match.
12115         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12116           prototype.
12117         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12118           serialize from UI to DBUS.
12119         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12120           one element.
12121         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12122           nmu_security_serialize_wpa_eap_with_cipher(), and
12123           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12124           serialize/deserialize the key type via DBUS as the new third DBUS
12125           parameter.
12126         * libnm-util/dbus-helpers.h: Update prototypes.
12127         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12128           too.  If the key type is WEP104, do Dynamic WEP, which means
12129           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
12130           pairwise and group ciphers (fixes a FIXME).
12131
12132 2006-03-21  Robert Love  <rml@novell.com>
12133
12134         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12135           nm_system_get_mtu(), which returns a user-provided or system-mandated
12136           MTU value for a given device, if any, or zero if no such value
12137           exists.  Add nm_system_set_mtu() to set the MTU for a given device
12138           if we have a provided value.
12139         * src/nm-device.c: Set the MTU of devices.
12140         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12141         * src/backends/NetworkManagerDebian.c,
12142           src/backends/NetworkManagerGentoo.c,
12143           src/backends/NetworkManagerRedHat.c,
12144           src/backends/NetworkManagerSlackware.c: Implement stub functions.
12145
12146 2006-03-21  Robert Love  <rml@novell.com>
12147
12148         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12149           configuration file.
12150
12151 2006-03-17  Robert Love  <rml@novell.com>
12152
12153         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12154           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12155           it, in case it is not running in the first place.  We just want its
12156           configuration reloaded.  Also, do not "rcypbind stop" on device down.
12157
12158 2006-03-15  Robert Love  <rml@novell.com>
12159
12160         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12161           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12162           label "WEP 40/128-bit" is inconsistent because the physical key size
12163           is 40 or 104-bits, to which a 24-bit initialisation vector is
12164           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
12165           to read "40/104" or "64/128".  I do not care much which, but most
12166           users think of "silver" and "gold" encryption as 64 and 128-bits, so
12167           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
12168           WEP passphrase support only handles 128-bit keys, and any future
12169           64-bit passphrase support will require a new option (no way to auto-
12170           detect the target key size), explicitly label our passphrase support
12171           "WEP 128-bit Passphrase".
12172
12173 2006-03-15  Robert Love  <rml@novell.com>
12174
12175         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12176           the system init scripts (or some other mechanism) starting it (or a
12177           compatible DBUS service) before NetworkManager runs.  This means that
12178           distributions might need to update their init scripts.  This fixes
12179           possible races and is quite a bit cleaner.
12180         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12181           starting the NetworkManager daemon.
12182
12183
12184 2006-03-14  Robert Love  <rml@novell.com>
12185
12186         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12187           before adding anything.
12188
12189 2006-03-13  Robert Love  <rml@novell.com>
12190
12191         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12192           widgets, too, if they exist, in case the user hit the back button.
12193           Fixes a bug where the details page contains the widgets of multiple
12194           VPN modules (Novell bug #157048).
12195
12196 2006-03-13  Robert Love  <rml@novell.com>
12197
12198         Patch by Timo Hoenig <thoenig@suse.de>:
12199         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12200           daemon survive DBUS restarts, too.
12201
12202 2006-03-10  Robert Love  <rml@novell.com>
12203
12204         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12205           passphrase or key.
12206         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12207           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12208           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12209           in response to "toggled" signal on new toggle.
12210
12211 2006-03-10  Robert Love  <rml@novell.com>
12212
12213         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12214           serialization if strings are NULL, lest DBUS get angry.
12215
12216 2006-03-10  Robert Love  <rml@novell.com>
12217
12218         * src/nm-ap-security-wpa-eap.c: Don't log the password.
12219
12220 2006-03-09  Robert Love  <rml@novell.com>
12221
12222         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12223           configurations.
12224
12225 2006-03-09  Dan Williams  <dcbw@redhat.com>
12226
12227         Track pending call requests in the applet, and report how many are
12228         outstanding, and how long each completed one takes.
12229         
12230         * gnome/applet/applet-dbus-devices.c
12231           gnome/applet/applet-dbus-vpn.c
12232                 - Track pending calls
12233
12234         * gnome/applet/applet-dbus.[ch]
12235                 - Remove some unused enums
12236                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12237                         new functions to track dbus pending calls and spit out some
12238                         statistics about them
12239
12240 2006-03-09  Robert Love  <rml@novell.com>
12241
12242         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12243           nm_ap_set_timestamp() take the second and micro-second parameters as
12244           direct arguments, which avoids both a dynamic memory allocation and a
12245           structure-to-structure copy!  Add a new interface, the aptly named
12246           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12247           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12248           the return from nm_ap_get_timestamp().  New users should use the new
12249           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12250           the extreme benefit to performance.
12251         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12252           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12253
12254 2006-03-08  Robert Love  <rml@novell.com>
12255
12256         * gnome/applet/applet.glade: Hide the password entry text with
12257           asterisks.
12258
12259 2006-03-08  Robert Love  <rml@novell.com>
12260
12261         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12262           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12263           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12264           a second argument, NMData.
12265         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12266         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12267           config files as trusted.
12268
12269 2006-03-06  Robert Love  <rml@novell.com>
12270
12271         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12272         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12273           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
12274           Rivera, detect if the applet was auto-started.  If so, ask the user
12275           if he or she would like to stop automatically running the applet on
12276           login.  If so, disable autostart.
12277
12278 2006-03-06  Robert Love  <rml@novell.com>
12279
12280         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
12281           directory in CFLAGS so developers can actually use NetworkManager.h.
12282
12283 2006-03-06  Robert Love  <rml@novell.com>
12284
12285         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12286           open-coded integer constants.  Add state_to_string() to map a given
12287           state to a textual description, and provide that when notifying of
12288           state change.
12289         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12290           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
12291           this header directly, but it is currently not installed on most
12292           systems.
12293
12294 2006-03-05  Dan Williams  <dcbw@redhat.com>
12295
12296         Process netlink messages in device subclasses rather than in
12297         NetworkManager.c.  Also add support for recognizing Wireless Events.
12298         
12299         * configure.in
12300                 - Find GLIB_GENMARSHAL
12301
12302         * src/Makefile.am
12303                 - Since we're marshalling custom types for wireless event signals,
12304                         we get to create our own marshallers using GLIB_GENMARSHAL
12305
12306         * src/NetworkManager.c
12307                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12308                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12309                         cut down somewhat.  We no longer process signals here.
12310                 - (nm_data_new): create the netlink monitor here, and remove a
12311                         useless call to nm_policy_schedule_device_change_check()
12312                 - (nm_data_free): get rid of the netlink monitor here
12313                 - (nm_device_link_activated, nm_device_link_deactivated): removed
12314                 - (main): don't create the netlink monitor here, let nm_data_new
12315                         do that.  Call nm_policy_schedule_device_change_check() right
12316                         before we jump to the mainloop to figure out which device
12317                         to use first
12318
12319         * src/NetworkManagerSystem.[ch]
12320                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12321                         convert back and forth from interface names to interface
12322                         indexes
12323
12324         * src/nm-device-802-11-wireless.c
12325                 - (real_init): connect to wireless-event signals from the netlink
12326                         monitor object
12327                 - (nm_device_802_11_wireless_event): new function, schedule handler
12328                         for wireless event signals from the netlink monitor object.  We
12329                         want the handler to run in the device's context
12330                 - (wireless_event_helper): handle wireless-event signals from netlink
12331                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12332                         signal handler
12333
12334         * src/nm-device-802-11-wireless.h
12335                 - remove unused prototype for nm_device_802_11_wireless_new
12336
12337         * src/nm-device-802-3-ethernet.c
12338                 - (real_init): new function; set up signal handlers for link events
12339                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12340                         handler for netlink link activated events on device's main loop
12341                 - (link_activated_helper): when we get a link activated event, set
12342                         the device's link to be active
12343                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12344                         handler for netlink link deactivated events on device's main loop
12345                 - (link_deactivated_helper): when we get a link deactivated event, set
12346                         the device's link to be inactive
12347                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12348                         dispose
12349
12350         * src/nm-device-802-3-ethernet.h
12351                 - remove unused prototype for nm_device_802_3_ethernet_new
12352
12353         * src/nm-device.[ch]
12354                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12355                         but locks the device list
12356                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12357
12358         * src/nm-netlink-monitor.[ch]
12359                 - (nm_netlink_monitor_class_install_signals): New signal
12360                         "wireless-event"
12361                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12362                         at the device list
12363                 - (nm_netlink_monitor_event_handler): expand for wireless events too
12364
12365         * src/nm-marshal-main.c
12366                 - Include generated nm-marshal.c and nm-marshal.h
12367
12368         * src/nm-marshal.list
12369                 - List of custom marshal functions
12370
12371 2006-03-05  Dan Williams  <dcbw@redhat.com>
12372
12373         * gnome/applet/applet-notifications.h
12374                 - Protect prototype of nma_send_event_notification() because it
12375                         includes libnotify-specific types
12376                 - Include libnotify/libnotify.h too, since we technically need it
12377
12378         * gnome/applet/applet.c
12379                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12380                 - (nma_show_vpn_login_banner_dialog): add some error checking
12381
12382 2006-03-04  Dan Williams  <dcbw@redhat.com>
12383
12384         Clean up activation cancellation.  Should be a lot faster now.  Observed
12385         an issue with wireless devices between stage 2 and 3 of activation, where
12386         activation would be cancelled, but the device thread wouldn't notice until
12387         the supplicant association timed out.  Reorganize activation such that
12388         a cancellation handler gets immediately scheduled in the device's thread,
12389         and devices have a chance to perform any custom cleanup too.
12390
12391         * src/nm-device.[ch]
12392                 - (activation_cancel_handler): new device-type-specific function
12393                         for cleaning up device-type-specific stuff on cancellation
12394                 - (cancel_activation): removed
12395                 - (nm_device_activation_cancel): subsume functionality of
12396                         real_cancel_activation, but instead of doing anything, punt
12397                         operation to a handler that's run in device-thread context
12398                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12399                         a warning message
12400                 - (activation_handle_cancel_helper): cancellation handler run in
12401                         device-thread context, calls device-type-specific cancelation,
12402                         then tears down the activation request
12403                 - (real_activation_cancel_handler): generic cancellation handler,
12404                         deals with cancelling any in-process DHCP request
12405                 - (nm_device_activate_stage1_device_prepare,
12406                    nm_device_activate_stage2_device_config,
12407                    nm_device_activate_stage3_ip_config_start,
12408                    nm_device_activate_stage4_ip_config_get,
12409                    nm_device_activate_stage4_ip_config_timeout,
12410                    nm_device_activate_stage5_ip_commit): don't call
12411                         nm_device_schedule_activation_handle_cancel() any more, since
12412                         cancellation will have been already scheduled for us by
12413                         nm_device_activation_cancel().  Just exit the function and
12414                         assume that the cancel handler will be called next.
12415
12416         * src/nm-device-802-3-ethernet.c
12417                 - (real_act_stage2_config): remove; didn't do anything anyway
12418
12419         * src/nm-device-802-11-wireless.c
12420                 - (supplicant_status_cb): ensure we don't do anything if the activation
12421                         got cancelled
12422                 - (real_activation_cancel_handler): implement; cancel user key request
12423                         on activation cancellation
12424
12425 2006-03-04  Dan Williams  <dcbw@redhat.com>
12426
12427         * src/nm-device-802-11-wireless.c
12428                 - (supplicant_send_network_config): assume that drivers that don't
12429                         support WPA pretty much suck, and can't handle NM scanning
12430                         along with wpa_supplicant.
12431
12432 2006-03-03  Robert Love  <rml@novell.com>
12433
12434         * configure.in: Bump version to 0.6.0.
12435         * NEWS: Update.
12436
12437 2006-03-03  Robert Love  <rml@novell.com>
12438
12439         * configure.in: Require DBUS 0.60 or later.
12440
12441 2006-03-03  Dan Williams  <dcbw@redhat.com>
12442
12443         Fix a crash if an "Other wireless network" was chosen, failed, then
12444         chosen again from the applet's menu.  If the other network wasn't
12445         noticed in a scan, it wouldn't have any capabilities, but would still
12446         be listed because the user forced the network.  To fix this, we set
12447         sensible capabilities on the forced network, which will get overwritten
12448         with the correct ones if the network shows up later in a scan.
12449         
12450         * src/nm-ap-security.h
12451                 - Add a new "get_default_capabilities_func" member to the
12452                         NMAPSecurity class
12453
12454         * src/nm-ap-security.c
12455                 - (nm_ap_security_get_default_capabilities): new function
12456
12457         * src/nm-ap-security.c
12458           src/nm-ap-security-wep.c
12459           src/nm-ap-security-wpa-psk.c
12460           src/nm-ap-security-wpa-eap.c
12461                 - Implement get_default_capabilities_func() for all, which
12462                         uses the information contained in a specific NMAPSecurity
12463                         object to determine default AP capabilites necessary
12464                         to support that object
12465
12466         As a secondary measure, we now prune artificial access points that fail
12467         to be activated right away.  The thing failed, and we have no scan data for
12468         it, so it's pretty much useless since security information is only saved
12469         in the applets when a connection is successful.
12470
12471         * src/NetworkManagerAPList.c
12472                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12473                         not artificial.  If we see it, it's no longer a figment of the
12474                         user's imagination :)
12475
12476         * src/NetworkManagerPolicy.c
12477                 - (nm_policy_activation_failed): send along the failed AP if we
12478                         have it
12479
12480         * src/nm-device-802-11-wireless.c
12481                 - (real_activation_failure_handler): remove artificial APs from
12482                         the device list, because activation failed
12483
12484 2006-03-02  Robert Love  <rml@novell.com>
12485
12486         Add support for retrieving both the per-device speed and the
12487         per-network maximum supported rate.  Then change the getProperties
12488         DBUS API for both networks and devices to report this informaiton.
12489         Finally, display the information via both nm-applet and nm-tool:
12490         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12491           and set it.
12492         * gnome/applet/applet.c: Display the device's speed in the 'Connection
12493           Information' dialog.
12494         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12495         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12496           network_device_get_speed() and network_device_set_speed() for
12497           retrieving and setting, respectively, a network device's current
12498           speed.
12499         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12500         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12501           in the function nm_device_802_11_wireless_get_bitrate() -- it does
12502           not matter (yet) what the units are, because we only feed it its own
12503           output.  Implement SIOCGIRATE and set the per-network maximum
12504           supported rate during scanning.
12505         * src/nm-device-802-11-wireless.h: Export the function
12506           nm_device_802_11_wireless_get_bitrate().
12507         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12508           function nm_device_802_3_ethernet_get_speed() for returning an
12509           802.3's current speed, in Mb/s.
12510         * test/nm-tool.c: Display the per-device current speed, if available,
12511           and the per-network maximum rate.
12512
12513 2006-03-02  Dan Williams  <dcbw@redhat.com>
12514
12515         * src/nm-device-802-11-wireless.c
12516                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12517                         card when it gets initialized.  Since devices don't get added to
12518                         the scan list until they are initialized, this function wasn't
12519                         setting the intitial scan interval correctly, and was leaving
12520                         it at 0.  This caused cards to get many scan requests in a short
12521                         amount of time when they were initialized
12522
12523 2006-03-02  Robert Love  <rml@novell.com>
12524
12525         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12526           active device.  But do not do what we used to do and override the
12527           state, which caused the dreaded icon race of '05.
12528
12529 2006-03-02  Robert Love  <rml@novell.com>
12530
12531         Commit Dan's update of my previous commit:
12532         * src/nm-device-802-11-wireless.c: Always set the mode, because the
12533           set_mode() function itself does the check.  But do only set the
12534           frequency if in Ad-Hoc mode.
12535
12536 2006-03-02  Robert Love  <rml@novell.com>
12537
12538         Patch by Brian Magnuson <magnuson@rcn.com>:
12539         * src/nm-device-802-11-wireless.c: During scanning, only set the
12540           wireless mode to infrastructure if it is not currently in
12541           infrastructure mode.  For some driver, setting the mode is a costly
12542           operation, apparently.
12543
12544 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
12545
12546         * Makefile.am: use the correct dir for autostart mechanism.
12547
12548 2006-02-28  Dan Williams  <dcbw@redhat.com>
12549
12550         Patch from Brian Magnuson <magnuson@rcn.com>
12551         * gnome/applet/applet.c
12552                 - (nma_show_vpn_failure_dialog): fix errors left over from
12553                         libnotify support changes
12554
12555 2006-02-28  Dan Williams  <dcbw@redhat.com>
12556
12557         * src/vpn-manager/nm-vpn-act-request.[ch]
12558                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12559                         just one value
12560                 - (nm_vpn_act_request_is_failed): new function; return whether or
12561                         not the vpn activation request has failed
12562
12563         * src/vpn-manager/nm-vpn-manager.c 
12564                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12565                         daemon to kill the connection when the activation request fails.
12566                         Fixes issue where NM would get confused if the VPN activation
12567                         request timed out, and would not allow further VPN connections
12568                         on that service.
12569
12570 2006-02-28  Dan Williams  <dcbw@redhat.com>
12571
12572         * gnome/applet/applet.c
12573                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12574                         overlapping connection requests, disable all VPN menu items
12575                         but the active VPN connection
12576
12577 2006-02-28  Dan Williams  <dcbw@redhat.com>
12578
12579         * src/vpn-manager/nm-vpn-connection.c
12580                 - (nm_vpn_connection_set_parent_device): fix C&P error which
12581                         called g_object_unref() on the connection's parent device
12582                         when it should have been ref-ed instead.  Fixes crash with
12583                         repeated vpn connect requests
12584
12585 2006-02-28  Christopher Aillon  <caillon@redhat.com>
12586
12587         * gnome/applet/applet.glade:
12588         Mark a few strings non-translatable, since they shouldn't be.
12589
12590 2006-02-28  Dan Williams  <dcbw@redhat.com>
12591
12592         * src/vpn-manager/nm-vpn-service.c
12593                 - (nm_vpn_service_start_connection): if the vpn service daemon is
12594                         already running, don't blindly ask it to connect, but wait until
12595                         it's in the STOPPED state first.  Fixes an assertion when user
12596                         starts a second vpn connection without stopping the first.
12597                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12598                         dbus service exists before continuing with the connection
12599                         process, and reduce latency while waiting for it to become
12600                         available
12601                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12602                         waiting for the vpn service daemon to become available
12603                 - General log message cleanups; show progress via "Stage x of 4"
12604                         rather than not telling anyone how many stages there are
12605
12606 2006-02-28  Robert Love  <rml@novell.com>
12607
12608         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12609         * src/backends/NetworkManagerSuSE.c: Implement the interface
12610           nm_system_should_modify_resolv_conf() for SUSE.
12611         * src/backends/NetworkManagerDebian.c,
12612           src/backends/NetworkManagerGentoo.c,
12613           src/backends/NetworkManagerRedHat.c,
12614           src/backends/NetworkManagerSlackware.c: Add stub.
12615         * src/named-manager/Makefile.am: Grab includes from src.
12616         * src/named-manager/nm-named-manager.c: Allow backends to disable the
12617           automatic updating of resolv.conf.  This is useful for testing,
12618           broken static configurations, and administrator lock-down.
12619
12620 2006-02-28  Dan Williams  <dcbw@redhat.com>
12621
12622         * src/nm-device-802-11-wireless.c
12623                 - Move all the wpa_supplicant-related management stuff into its
12624                         own struct, just for oranization's sake
12625                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12626                         to a GIOChannel/GSource
12627                 - (supplicant_log_stdout): new function; grab output from the
12628                         wpa_supplicant stdout pipe and write it to our logs.
12629
12630 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12631
12632         * src/nm-device-802-11-wireless.c:
12633         Err, fix thinko in my previous commit.
12634
12635 2006-02-28  Robert Love  <rml@novell.com>
12636
12637         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12638
12639 2006-02-28  Robert Love  <rml@novell.com>
12640
12641         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12642           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12643           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12644           deserializers are responsible for freeing the returned DBUS strings.
12645
12646 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12647
12648         * src/nm-device-802-11-wireless.c:
12649         The scan list is being pruned prematurely.  We should prune after
12650         the device has gone MIA for three scans, not one.  Split out the
12651         interval to realtime seconds function to better serve this.
12652
12653 2006-02-27  Robert Love  <rml@novell.com>
12654
12655         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12656           Open the pid file O_TRUNC, so if it already exists we truncate it to
12657           zero length.  Also, be more verbose about warnings generated during
12658           writing out the pid file.  Finally, always write out the pid file if
12659           in daemon mode.  Use "--pid-file" to override the default.
12660
12661 2006-02-27  Robert Love  <rml@novell.com>
12662
12663         Patch by R. Vinay <rvinay@novell.com>:
12664         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12665           'last_attempt_success' when removing a VPN connection, too.  (Fixes
12666           Novell bug #153628).
12667           
12668 2006-02-27  Robert Love  <rml@novell.com>
12669
12670         * gnome/applet/applet.glade: Set "activates_default" on passphrase
12671           entry so user can hit <ENTER> after entering passphrase (Novell bug
12672           #153738).
12673
12674 2006-02-27  Dan Williams  <dcbw@redhat.com>
12675
12676         * gnome/applet/*
12677                 - Mass search/replace of:
12678                         nmwa -> nma
12679                         NMWirelessApplet -> NMApplet
12680                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
12681                    (it ain't just for wireless anymore, ma!)
12682                 - Fix duplicate function name printing when using nm_warning
12683                 - wireless-applet.glade -> applet.glade
12684
12685 2006-02-27  Dan Williams  <dcbw@redhat.com>
12686
12687         * dispatcher-daemon/NetworkManagerDispatcher.c
12688                 - Accept --pid-file with a path to a pidfile, write it out on
12689                         startup, and delete it on shutdown
12690
12691         * src/NetworkManager.c
12692                 - Accept --pid-file with a path to a pidfile, write it out on
12693                         startup, and delete it on shutdown
12694                 - Move nm_print_usage() lower
12695
12696         * initscripts/RedHat/NetworkManager.in
12697                 - Use new --pid-file option
12698                 - Fix service stopping to wait a bit for NM to quit
12699
12700         * initscripts/RedHat/NetworkManagerDispatcher.in
12701                 - Use new --pid-file option
12702
12703 2006-02-26  Dan Williams  <dcbw@redhat.com>
12704
12705         * src/Makefile.am
12706                 - make and install nm-crash-logger
12707
12708         * src/nm-logging.[ch]
12709                 - New files; consolidate logging and crash handling
12710
12711         * src/nm-crash-logger.c
12712           src/gdb-cmd
12713                 - Standalong crashlogger for NM, grab a backtrace
12714                         using GDB
12715
12716         * src/NetworkManager.[ch]
12717                 - Remove signal handling and put it into nm-logging.c
12718
12719 2006-02-26  Dan Williams  <dcbw@redhat.com>
12720
12721         * configure.in
12722           gnome/applet/Makefile.am
12723                 - Conditionalize all the notify stuff
12724
12725         Merge most of Chris Aillon's notification patch:
12726         
12727         * gnome/applet/applet-notifications.[ch]
12728                 - New files; show a notification
12729         
12730         * gnome/applet/applet-dbus-devices.[ch]
12731                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12732                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12733                         new functions, do the right thing when a device change occurs
12734
12735         * gnome/applet/applet-dbus.c
12736                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12737                         signals, so we can handle them specially
12738
12739         * gnome/applet/applet.[ch]
12740                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12741                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12742                 - (nmwa_notify_state): remove
12743                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12744                         notification work is now done when the appropriate dbus signals
12745                         are received.
12746                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12747                         defer execution of the notification/dialog stuff.  That was an
12748                         artifact of the previous multi-threaded nature of the applet
12749                         and is now pointless.
12750                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12751                         no longer needed.  Function folded into applet-notifications.c
12752
12753         * src/NetworkManagerPolicy.c
12754                 - (nm_policy_activation_finish): send the AP along with the device
12755                         status change signal, if the connection is wireless.  Should
12756                         fix the race where applet would show a connection to "unknown"
12757
12758 2006-02-25  Robert Love  <rml@novell.com>
12759
12760         Add WPA Enterprise support:
12761         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12762           nm-gconf-wso-wpa-eap.h.
12763         * gnome/applet/nm-gconf-wso-wpa-eap.c,
12764           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
12765           serialization and deserialization.
12766         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12767           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12768           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12769         * gnome/applet/wireless-applet.glade: Add UI for configurating security
12770           settings related to WPA Enterprise.
12771         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12772           instantiate WPA Enterprise wireless-security-option.
12773         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12774           Implement WPA Enterprise wireless-security-option object.
12775         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12776           defines.  Cleanup.
12777         * libnm-util/cipher-wpa-psk-hex.c,
12778           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12779         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12780           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12781           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12782           including the cipher to DBUS method, and
12783           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12784           to output.
12785         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12786           nm-ap-security-wpa-eap.h
12787         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12788           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12789         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12790           files.  Implement NMAPSecurityWPA_EAP object.
12791         * src/nm-ap-security-wpa-psk.c: Cleanup.
12792         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12793           an NMAPSecurityWPA_EAP object via the method
12794           nm_ap_security_wpa_eap_new_deserialize().
12795         * src/nm-dbus-nm.c: Cleanup.
12796         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12797           WPA Enterprise support.
12798
12799 2006-02-24  Robert Love  <rml@novell.com>
12800
12801         Patch from Timo Hoenig <thoenig@suse.de>:
12802         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12803
12804 2006-02-24  Robert Love  <rml@novell.com>
12805
12806         Patch from Dan Winship <danw@novell.com>:
12807         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
12808           area to transparent.
12809
12810 2006-02-21  Dan Williams  <dcbw@redhat.com>
12811
12812         * gnome/applet/applet.[ch]
12813           gnome/applet/applet-dbus.c
12814                 - Implement notification support for VPN messages too
12815
12816 2006-02-21  Dan Williams  <dcbw@redhat.com>
12817
12818         * gnome/applet/applet-dbus-info.c
12819                 - Clean up warning messages to not double-print the function
12820
12821 2006-02-21  Dan Williams  <dcbw@redhat.com>
12822
12823         * gnome/applet/applet-compat.c
12824                 - (convert_one_entry): accept entries without a key_type and
12825                         convert them to unencrypted networks
12826
12827 2006-02-21  Dan Williams  <dcbw@redhat.com>
12828
12829         * gnome/libnm_glib/libnm_glib.c
12830                 - Use __func__ everywhere we can
12831                 - Code cleanups
12832                 - Use dbus pending calls rather than blocking
12833                 - Reduce busywaits for our thread to start and stop
12834                         (gnome.org #330562)
12835                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12836                         stomp on others using the default shared dbus connection.
12837                         Fixes #rh177546# and gnome.org #326572
12838
12839 2006-02-21  Dan Williams  <dcbw@redhat.com>
12840
12841         Patch from Rodney Dawes <dobey@novell.com>
12842         * configure.in
12843           gnome/applet/Makefile.am
12844           gnome/applet/applet.c
12845                 - Add libnotify support if '--enable-notify=yes' is passed
12846                   at configure time
12847
12848 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
12849
12850         * configure.in (ALL_LINGUAS): ko added. (Korean)
12851
12852 2006-02-15  Robert Love  <rml@novell.com>
12853
12854         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12855           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12856           and WPA_SUPPLICANT_CONTROL_SOCKET.
12857         
12858 2006-02-15  Robert Love  <rml@novell.com>
12859
12860         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12861           information about what connection stage we are at, provide the total
12862           number of stages, e.g. "Stage 2 of 5", so users know how far along
12863           they are if they experience problems.
12864
12865 2006-02-15  Robert Love  <rml@novell.com>
12866
12867         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12868           define to $sysconfdir.
12869         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12870           editing dialog, vpn_edit_widget, which fixes a bug where editing one
12871           type of VPN and then editing another results in a mangled dialog
12872           box containing the widgets from both VPNs (fixes Novell #150854).
12873           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
12874
12875 2006-02-14  Robert Love  <rml@novell.com>
12876
12877         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
12878           syslog's file descriptor.
12879
12880 2006-02-14  Robert Love  <rml@novell.com>
12881
12882         Fix bug around since the change to "deal with APs changing settings on
12883         us," checked in on the fifth of February in the year of the dog, 
12884         wherein connecting to non-broadcast encrypted networks always fails
12885         because nm_ap_get_encrypted() always returns FALSE, even when the user
12886         provided a key, because the newly-created fake AP does not have any
12887         capabilities set, which is a sypmtom of security settings not matching
12888         capabilities (Novell bug #150784):
12889         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
12890           nm_ap_add_capabilities_from_security(), which sets the given AP's
12891           capabilities off the given security settings.  Also improve our
12892           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
12893           NM_AUTH_CIPHER_AUTO.
12894         * src/nm-device-802-11-wireless.c: Call the function
12895           nm_ap_add_capabilities_from_security() to ensure that capabilities
12896           match newly updated security settings.
12897
12898 2006-02-14  Robert Love  <rml@novell.com>
12899
12900         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
12901           error as a string, not an integer, if possible; do not print the
12902           function name twice; always give the interface, if possible; misc.
12903           cleanup.
12904
12905 2006-02-12  Dan Williams  <dcbw@redhat.com>
12906
12907         Patch from Tom Parker <palfrey@tevp.net>
12908         * src/NetworkManagerSystem.h
12909                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
12910                         no longer used
12911
12912         * src/backends/NetworkManagerDebian.c
12913                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
12914                         unused variables
12915
12916 2006-02-12  Dan Williams  <dcbw@redhat.com>
12917
12918         * vpn-daemons/openvpn/intltool-extract.in
12919           vpn-daemons/openvpn/intltool-merge.in
12920           vpn-daemons/openvpn/intltool-update.in
12921           vpn-daemons/pptp/intltool-extract.in
12922           vpn-daemons/pptp/intltool-merge.in
12923           vpn-daemons/pptp/intltool-update.in
12924                 - Remove from CVS, they should get created by intltoolize,
12925                         shouldn't they?
12926
12927 2006-02-12  Dan Williams  <dcbw@redhat.com>
12928
12929         * vpn-daemons/pptp/src/pppd/patchlevel.h
12930         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
12931                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
12932                         Makefile-defined VERSION
12933
12934 2006-02-09  Dan Williams  <dcbw@redhat.com>
12935
12936         Patch from: Vinay A R <rvinay@novell.com>
12937         * src/vpn-manager/nm-vpn-act-request.[ch]
12938                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
12939                         IPSec VPNs require them for std gateway.
12940                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
12941                         and 'user_routes_count'
12942                 - (nm_vpn_act_request_get_user_routes): new function; gets user
12943                         defined routes  from NMVPNActRequest object, returns the string
12944                         array of routes.
12945
12946         * src/vpn-manager/nm-vpn-manager.[ch]
12947                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
12948                         for 'user_routes' and 'user_routes_count'
12949         
12950         * src/vpn-manager/nm-dbus-vpn.c
12951                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
12952                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
12953         
12954         * src/vpn-manager/nm-vpn-service.c
12955                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
12956                         the vpn daemon
12957
12958         Modifications by Dan:
12959         * src/vpn-manager/nm-vpn-service.c
12960                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
12961                         arrays into dbus
12962
12963         * vpn-daemons/vpnc/src/nm-vpnc-service.c
12964         * vpn-daemons/pptp/src/nm-pptp-service.c
12965         * vpn-daemons/openvpn/src/nm-openvpn-service.c
12966                 - Grab user routes from dbus message
12967                 - Free all string arrays we got from dbus
12968
12969 2006-02-07  Robert Love  <rml@novell.com>
12970
12971         Patch by Stefan Seyfried <seife@suse.de>:
12972         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
12973
12974 2006-02-06  Robert Love  <rml@novell.com>
12975
12976         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
12977
12978 2006-02-06  Robert Love  <rml@novell.com>
12979
12980         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
12981           test ">=" is never false.  If no newline is found, we loop forever.
12982           We can just check for ">" because the following if() will see the
12983           zero-th argument if the while() gets that far.
12984
12985 2006-02-05  Dan Williams  <dcbw@redhat.com>
12986
12987         Refine handling of non-broadcast networks.
12988
12989         * src/NetworkManagerAPList.c
12990                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
12991                         property from scanned AP to the AP from the device list
12992
12993         * src/nm-device-802-11-wireless.c
12994                 - (supplicant_send_network_config): use ap_scan=1 for all networks
12995                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
12996                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
12997                         networks since those don't have APs.
12998                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
12999                         AP as non-SSID-broadcasting
13000                 - (process_scan_results): don't handle non-SSID-broadcasting here
13001
13002 2006-02-05  Dan Williams  <dcbw@redhat.com>
13003
13004         * src/nm-device-802-11-wireless.c
13005                 - (get_supplicant_timeout): new function; return
13006                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13007                         14 channels.  These are likely a/b/g cards, like Atheros, and
13008                         slow as hell to scan.
13009                 - (supplicant_timeout_cb, supplicant_monitor_start): use
13010                         get_supplicant_timeout()
13011
13012 2006-02-05  Dan Williams  <dcbw@redhat.com>
13013
13014         * src/dhcp-manager/nm-dhcp-manager.c
13015                 - Loose a commit race with Robert; make sure size check
13016                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
13017
13018 2006-02-05  Robert Love  <rml@novell.com>
13019
13020         Patch by Christoph Brill <chrisbrill@gmx.net>:
13021         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13022           with DHCP_SERVICE_NAME.
13023
13024 2006-02-05  Dan Williams  <dcbw@redhat.com>
13025
13026         Remove anything having to do with device_setup_func from the
13027         AP security objects, since it's no longer used.
13028
13029         * src/nm-ap-security.h
13030                 - Kill device_setup_func and nm_ap_security_device_setup()
13031
13032         * src/nm-ap-security-wep.c
13033           src/nm-ap-security-wpa-psk.c
13034                 - (real_device_setup): remove
13035
13036         * src/nm-ap-security.c
13037                 - (real_device_setup): remove
13038                 - (nm_ap_security_device_setup): remove
13039
13040         * src/nm-device-802-11-wireless.[ch]
13041                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13042                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13043                         and done by wpa_supplicant now anyway
13044
13045 2006-02-05  Dan Williams  <dcbw@redhat.com>
13046
13047         * src/nm-device-802-11-wireless.c
13048                 - (ap_need_key, real_act_stage2_config): deal with APs changing
13049                         settings on us.  Previously NM would loop asking for the
13050                         key but getting the same one back.  Now, if the NMI-supplied
13051                         cipher doesn't overlap with the scanned AP capabilities,
13052                         we request a completely new key from the user.
13053
13054 2006-02-05  Dan Williams  <dcbw@redhat.com>
13055
13056         * src/NetworkManagerUtils.c
13057                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13058                         Handle newline killing better
13059
13060 2006-02-05  Dan Williams  <dcbw@redhat.com>
13061
13062         * gnome/applet/nm-gconf-wso.c
13063                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
13064                         of unencrypted access point security info.
13065
13066 2006-02-03  Robert Love  <rml@novell.com>
13067
13068         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13069           user's encryption key, so we print the err_msg_cmd not the command,
13070           if available.  So long as SUPPLICANT_DEBUG is default, this makes
13071           sense.
13072
13073 2006-02-03  Christopher Aillon  <caillon@redhat.com>
13074
13075         * initscript/RedHat/NetworkManagerDispatcher.in:
13076         * initscript/RedHat/NetworkManager.in: modify the pidfile location
13077         Patch from Dan Walsh <dwalsh@redhat.com>
13078
13079 2006-02-03  Robert Love  <rml@novell.com>
13080
13081         * dispatcher-daemon/NetworkManagerDispatcher.c,
13082           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13083           but use the sysconfdir.
13084
13085 2006-02-03  Robert Love  <rml@novell.com>
13086
13087         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13088           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13089           'char *'.
13090         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13091           nm_ip4_config_get_hostname() and
13092           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13093         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
13094           leak g_strdup() result.
13095
13096 2006-02-03  Robert Love  <rml@novell.com>
13097
13098         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13099           broadcast == TRUE.  Also, copy broadcast and artificial properties
13100           from source network to destination in nm_ap_copy().
13101         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13102           since we now default new networks to non-hidden.
13103
13104 2006-02-03  Dan Williams  <dcbw@redhat.com>
13105
13106         * gnome/applet/main.c
13107                 - (main): change the NEVER->ALWAYS so we start at the
13108                         beginning of the session, if being session-managed
13109
13110 2006-02-03  Dan Williams  <dcbw@redhat.com>
13111
13112         * gnome/applet/main.c
13113                 - (main): in a variation on Robert's patch, change
13114                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
13115                         he wants.
13116
13117 2006-02-02  Robert Love  <rml@novell.com>
13118
13119         * src/Makefile.am: If we aren't going to create the run directory at,
13120           uh, run-time, create it during install.  Then users just doing
13121           'make install' are cool, too.  While we are here, create the
13122           dispatcher.d directory, too.
13123         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13124           the exact run directory.
13125         * Makefile.am: Install nm-applet.desktop.
13126
13127 2006-02-02  Robert Love  <rml@novell.com>
13128
13129         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13130           structure, which denotes whether or not the AP is hidden.  This is a
13131           superset of 'artificial' -- we need 'broadcast' because a hidden AP
13132           can show up in the scan list.  Add nm_ap_get_broadcast() and
13133           nm_ap_set_broadcast() accessor interfaces.
13134         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13135           nm_ap_set_broadcast().
13136         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13137           "getProperties" method, which denotes whether or not the given
13138           network is hidden.
13139         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13140           an artificial network.  Set broadcast to TRUE when scanning returns
13141           an ESSID and FALSE when not.
13142         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13143           from "getProperties" method on a network.  Possible TODO is to
13144           somehow display this.
13145         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13146
13147 2006-02-02  Dan Williams  <dcbw@redhat.com>
13148
13149         * src/nm-device-802-11-wireless.c
13150                 - (supplicant_interface_init): don't try to create
13151                         /var/run/NetworkManager, since that should be done by
13152                         the distro package.  Causes problems for stuff like SELinux
13153
13154 2006-02-02  Robert Love  <rml@novell.com>
13155
13156         Patch by Sureshkumar T <tsureshkumar@novell.com>:
13157         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13158           Check for and handle empty string for iface.
13159
13160 2006-02-01  Robert Love  <rml@novell.com>
13161
13162         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13163           manpage.
13164
13165 2006-01-31  Dan Williams  <dcbw@redhat.com>
13166
13167         * nm-applet.desktop
13168                 - Add --sm-disable to Exec arguments, presuming that when
13169                         using autostart, we don't want session management
13170
13171 2006-01-31  Robert Love  <rml@novell.com>
13172
13173         * src/NetworkManagerAP.c: Add two new manufacturer default network
13174           names: linksys-a and linksys-g.  These are found (at least) on the
13175           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13176           own ESSID.
13177
13178 2006-01-31  Robert Love  <rml@novell.com>
13179
13180         * src/NetworkManagerAP.c: Optimize the function
13181           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
13182           machine code.  This is the first in a series of code tweaks aiming to
13183           generate better machine code and make NetworkManager all the better.
13184           Just kidding.  Who has time to go through the assembly generated for
13185           every function?  I certainly don't.  I have a wife, a kid, a job,
13186           a mortgage, a mistress.  But this function was so bad, I was called
13187           to arms.  Like the book.
13188
13189 2006-01-31  Robert Love  <rml@novell.com>
13190
13191         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13192           AP is not broadcasting, to scan with probe request frames.  Required
13193           for non-broadcast networks.
13194
13195 2006-01-31  Robert Love  <rml@novell.com>
13196
13197         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13198           preprocessor define (still 20s).  Fix message text in nm_info()
13199           s/too too/took too/.
13200
13201 2006-01-30  Dan Williams  <dcbw@redhat.com>
13202
13203         * src/nm-device-802-11-wireless.c
13204                 - (supplicant_monitor_start): increase connect/auth timeout to
13205                         20 seconds from 10 seconds
13206
13207 2006-01-30  Dan Williams  <dcbw@redhat.com>
13208
13209         * src/Makefile.am
13210                 - Define LOCALSTATEDIR
13211
13212         * src/nm-device-802-11-wireless.c
13213                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13214                         socket where we want it to
13215
13216         * src/wpa_ctrl.[ch]
13217                 - (wpa_ctrl_open): accept location to put local control socket
13218
13219 2006-01-30  Robert Love  <rml@novell.com>
13220
13221         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13222           get_ip4_string() for "domain_name".
13223
13224 2006-01-30  Robert Love  <rml@novell.com>
13225
13226         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13227           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13228           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13229           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13230           support for "Automatic" pairwise and group cipher configuration by
13231           letting wpa_supplicant handle the details.  Add UI elements, new
13232           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
13233           charm.  Note this does more than add a nice feature, it fixes a bug.
13234           Apparently, some people have AP's where the pairwise cipher does not
13235           match the group cipher.  Insane, but true.
13236
13237 2006-01-30  Dan Williams  <dcbw@redhat.com>
13238
13239         * gnome/applet/applet-dbus-devices.c
13240                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13241                         functions, grab device driver name from NetworkManager
13242                 - (nmwa_dbus_device_properties_cb): call functions to get driver
13243
13244         * gnome/applet/applet.c
13245                 - (nmwa_update_info): show driver name in Connection Information
13246                         dialog
13247
13248         * gnome/applet/nm-device.[ch]
13249                 - (network_device_get_driver, network_device_set_driver): add
13250                         accessors for driver name
13251
13252         * gnome/applet/wireless-applet.glade
13253                 - Add line for driver name to Connection Information dialog
13254
13255         * src/nm-dbus-device.c
13256                 - (nm_dbus_device_get_driver): new function to return driver name
13257                 - (nm_dbus_device_methods): hook up driver name function to dbus
13258
13259         * test/nm-tool.c
13260                 - (get_driver_name): new function
13261                 - (detail_device): grab and show driver name
13262
13263 2006-01-30  Robert Love  <rml@novell.com>
13264
13265         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13266           does not parse the markup if it is not part of the format.
13267
13268 2006-01-30  Robert Love  <rml@novell.com>
13269
13270         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13271           FALSE, we have no security options for this dialog, so we throw up
13272           an error dialog instead of a broken passphrase dialog.  Fixes
13273           Novell #138404.
13274         * gnome/applet/wireless-security-manager.c,
13275           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13276           does not add any security options, not even NONE, print a warning
13277           and return FALSE.  This let's functions constructing a dialog bail
13278           out if the device's capabilities and the network's requirements have
13279           zero overlap.
13280
13281 2006-01-27  Robert Love  <rml@novell.com>
13282
13283         * configure.in: Require wpa_supplicant.  Detect location of binary and
13284           use it.  Override with "--with-wpa_supplicant=foo".
13285         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13286           path to wpa_supplicant but use the auto-detected or user-provided
13287           value from configure.
13288
13289 2006-01-27  Robert Love  <rml@novell.com>
13290
13291         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13292           but the DHCP server did not return a hostname, try to look up our
13293           name via DNS and set the system hostname to that.
13294
13295 2006-01-27  Dan Williams  <dcbw@redhat.com>
13296
13297         * src/backends/NetworkManagerRedHat.c
13298                 - Add NM_CONTROLLED system network script support for RH/Fedora
13299
13300 2006-01-27  Dan Williams  <dcbw@redhat.com>
13301
13302         * src/backends/NetworkManagerGentoo.c
13303                 - (nm_system_device_get_disabled): add missing function.
13304                         Gnome BZ #328780
13305
13306 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
13307
13308         * configure.in: Added vi in ALL_LINGUAS line.
13309         
13310 2006-01-26  Robert Love  <rml@novell.com>
13311
13312         * src/Makefile.am, src/kernel-types.h: Now that two different source
13313           files are feeling the crack-addled leakage of kernel types such as
13314           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13315           types in user-space -- define a header and include it as needed.
13316         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13317         * src/nm-device-802-3-ethernet.h: Remove defines.
13318         * src/wpa.c: Remove defines and include kernel-types.h.
13319
13320 2006-01-26  Robert Love  <rml@novell.com>
13321
13322         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
13323           work.
13324
13325 2006-01-26  Robert Love  <rml@novell.com>
13326
13327         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13328         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13329           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13330           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13331           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13332           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13333           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13334           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13335           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13336           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13337           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13338           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13339           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13340           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13341           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13342           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13343           Kill unused variables, labels, and static functions.  Don't pass
13344           string literals as the format string for printf-like functions.
13345
13346 2006-01-25  Dan Williams  <dcbw@redhat.com>
13347
13348         * gnome/applet/wireless-applet.glade
13349                 - Remove WPA2 Checkbox
13350
13351         * gnome/applet/wireless-security-manager.c
13352                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13353                         This means the Wireless Security menu now has two WPA options,
13354                         one for "WPA Personal" and one for "WPA2 Personal"
13355
13356         * gnome/applet/wso-wpa-psk.[ch]
13357                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13358                         'wpa2' argument to determine WPA version to use
13359                 - (append_dbus_params_func): pass stored WPA version to cipher
13360                         rather than using the (removed) checkbox
13361
13362 2006-01-24  Robert Love  <rml@novell.com>
13363
13364         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13365           before we g_strdup(), not the ultimate string.
13366
13367 2006-01-23  Dan Williams  <dcbw@redhat.com>
13368
13369         * src/NetworkManagerAP.[ch]
13370                 - (nm_ap_new_from_ap): copy original essid too
13371                 - (nm_ap_unref): free original essid
13372                 - (nm_ap_get_orig_essid): new function
13373                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13374                         but keep original essid around too
13375
13376         * src/nm-device-802-11-wireless.c
13377                 - (supplicant_send_network_config): send wpa_supplicant the
13378                         _original_ essid, and not as a string, but in hex.  Should
13379                         allow us to connect to more APs that use wierd character
13380                         encodings for their essids
13381
13382         * utils/nm-utils.[ch]
13383                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13384                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
13385                         use the current locale as a hint for what encoding the essid
13386                         might be in.  Obviously not 100% accurate, but the idea here is
13387                         that if a user's locale is ex. ja_JP, they are more likely than
13388                         not to be in Japan, where access points will likely be in some
13389                         Japanese encoding.
13390
13391 2006-01-23  Dan Williams  <dcbw@redhat.com>
13392
13393         * libnm-util/cipher-private.h
13394           libnm-util/cipher.c
13395           libnm-util/cipher.h
13396                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13397
13398 2006-01-23  Robert Love  <rml@novell.com>
13399
13400         Patch by Timo Hoenig <thoenig@suse.de>:
13401         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13402           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13403           by DHCP and pass it to the backends, allowing distribution-specific
13404           behavior with respect to the DHCP-supplied hostname (if nothing else,
13405           some distributions might not want to set the hostname).
13406         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13407           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13408           Also update our NIS behavior.
13409         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13410           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13411           Add stub functions.
13412
13413 2006-01-23  Robert Love  <rml@novell.com>
13414
13415         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13416           gnome-session does autostart.  TODO: We need to install this to
13417           $prefix/share/autostart/.
13418
13419 2006-01-22  Dan Williams  <dcbw@redhat.com>
13420
13421         * src/NetworkManagerAP.[ch]
13422           src/nm-dbus-nmi.c
13423           src/nm-device-802-11-wireless.c         
13424                 - Make nm_ap_get_essid return "const char *"
13425
13426 2006-01-22  Dan Williams  <dcbw@redhat.com>
13427
13428         * src/NetworkManagerAP.[ch]
13429                 - (nm_ap_get_matched, nm_ap_set_matched): remove
13430
13431         * src/NetworkManagerAPList.[ch]
13432                 - (nm_ap_list_diff): removed
13433                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13434                         deal with access points changing essids on us
13435
13436         * src/nm-device-802-11-wireless.c
13437                 - (add_new_ap_to_device_list): move AP dbus signal logic to
13438                         src/NetworkManagerAPList.c
13439                 - (real_can_interrupt_activation): new function; allow interruption
13440                         of device activation if we are waiting for a network key
13441
13442         * src/NetworkManagerPolicy.c
13443                 - (nm_policy_device_change_check): allow interruption of currently
13444                         activating devices if the device allows it.  Previous behavior
13445                         would refuse to activate a just-plugged wired device if a
13446                         wireless device was waiting for a key.
13447
13448         * src/nm-device.[ch]
13449                 - (nm_device_can_interrupt_activation): new function; ask devices
13450                         whether their activation can be interrupted
13451
13452 2006-01-20  Robert Love  <rml@novell.com>
13453
13454         * Makefile.am, configure.in: Add new man subdirectory.
13455         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13456           man/Makefile.am: Add man pages for NetworkManager and its
13457           crime-solving bumbling buddy, NetworkManagerDispatcher.
13458         * man/.cvsignore: Add.
13459         * initscript/Debian/NetworkManager,
13460           initscript/Gentoo/NetworkManager.in,
13461           initscript/RedHat/NetworkManager.in,
13462           initscript/RedHat/NetworkManagerDispatcher.in,
13463           initscript/SUSE/networkmanager-dispatcher.in,
13464           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13465
13466 2006-01-20  Robert Love  <rml@novell.com>
13467
13468         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13469           instead of queuing.  This prevents the running of multiple NM
13470           daemons concurrently, which does not work whatsoever and results in
13471           neither daemon working correctly.  Also, we don't handle queuing and
13472           name-owner-changes, anyhow.
13473
13474 2006-01-20  Robert Love  <rml@novell.com>
13475
13476         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13477         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13478           to sbin, not bin.
13479
13480 2006-01-19  Robert Love  <rml@novell.com>
13481
13482         * configure.in: Require hal 0.5.0 or later.
13483
13484 2006-01-18  Robert Love  <rml@novell.com>
13485
13486         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13487           Allow backends to flag a device (in whatever distro-dependent way
13488           they so desire) as disabled.  NM will ignore any such device.
13489         * src/backends/NetworkManagerDebian.c,
13490           src/backends/NetworkManagerRedHat.c,
13491           src/backends/NetworkManagerSlackware.c: Add stub function
13492           nm_system_device_get_disabled() that always returns FALSE (enabled).
13493         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13494           SUSE-specific configuration structure.  Fill it in from the
13495           NM_CONTROLLED variable in the system networking scripts.  If this var
13496           exists and is "no", we ignore the device.
13497
13498 2006-01-17  Robert Love  <rml@novell.com>
13499
13500         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
13501           identical for NM.  For a full discussion, see the thread at
13502           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13503
13504 2006-01-17  Dan Williams  <dcbw@redhat.com>
13505
13506         * src/nm-device.c
13507                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13508                         function.  Fixes crash when wired DHCP fails.
13509
13510 2006-01-16  Robert Love  <rml@novell.com>
13511
13512         * src/Makefile.am: Don't install NMLoadModules
13513         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13514           from src/ to test/ as no one uses it anymore.  Note that I would be
13515           fine with removing it altogether.
13516
13517 2006-01-16  Robert Love  <rml@novell.com>
13518
13519         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13520           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13521           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13522           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13523           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13524           src/nm-netlink-monitor.c: Don't miss any initializers on structure
13525           declarations, ever.
13526         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13527           NM_STATE_DISCONNECTED is zero).
13528
13529 2006-01-16  Robert Love  <rml@novell.com>
13530
13531         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
13532           uninitialized parameter and buffer overflow.  Novell #143496.
13533
13534 2006-01-16  Dan Williams  <dcbw@redhat.com>
13535
13536         Apply the PtP Address bits of a patch from Tim Niemueller
13537
13538         * src/nm-ip4-config.[ch]
13539                 - Add ip4_ptp_address member to object
13540                 - (nm_ip4_config_copy): copy ptp address too
13541                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13542                         new functions
13543                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13544                         rather than local tunnel ip address
13545
13546         * src/vpn-manager/nm-vpn-service.c
13547                 - (print_vpn_config): update for PtP address
13548                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13549                         DBusMessageIters in preparation for getting routes from the VPN
13550                         service daemons too
13551
13552         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13553                 - (send_config_info): update for PtP address, clean up code
13554                 - (main): update for PtP address, clean up code, fix typo
13555
13556         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13557                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13558
13559         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13560                 - (pptp_ip_up): update for PtP address
13561
13562         * vpn-daemons/pptp/src/nm-pptp-service.c
13563                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13564
13565         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13566                 - (print_vpn_config): update for PtP address
13567                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13568
13569 2006-01-16  Dan Williams  <dcbw@redhat.com>
13570
13571         * gnome/applet/applet.c
13572                 - (nmwa_add_networks_helper): don't indicate an active network
13573                         if NM is disconnected or asleep
13574
13575 2006-01-16  Dan Williams  <dcbw@redhat.com>
13576
13577         * src/NetworkManagerPolicy.c
13578                 - (nm_policy_device_change_check): switch devices if we lose the link
13579                         on an ethernet device. 
13580
13581 2006-01-16  Dan Williams  <dcbw@redhat.com>
13582
13583         * gnome/applet/wso-wpa-psk-hex.[ch]
13584                 - Renamed -> wso-wpa-psk.[ch]
13585
13586         * gnome/applet/wso-wpa-psk.[ch]
13587                 - New files
13588
13589         * gnome/applet/wso-wpa-psk-passphrase.[ch]
13590                 - Removed, rolled into wso-wpa-psk.[ch]
13591
13592         * gnome/applet/Makefile.am
13593                 - Updated for above changes
13594
13595         * gnome/applet/wireless-applet.glade
13596                 - Consolidate WPA-PSK options into one notebook
13597                         widget, and make dialogs invisible by default
13598                         to fix screen oddities
13599
13600         * gnome/applet/wireless-security-manager.c
13601                 - (wsm_set_capabilities): create the new wpa-psk widget rather
13602                         than both the old hex & passphrase ones
13603
13604 2006-01-16  Dan Williams  <dcbw@redhat.com>
13605
13606         * gnome/applet/other-network-dialog.c
13607                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13608
13609 2006-01-16  Dan Williams  <dcbw@redhat.com>
13610
13611         * gnome/applet/applet.c
13612                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13613                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13614                         prevention to realize window before trying to get server
13615                         time
13616
13617         * gnome/applet/other-network-dialog.c
13618                 - (nmwa_other_network_dialog_run): fix up focus-stealing
13619                         prevention to realize window before trying to get server
13620                         time
13621
13622         * gnome/applet/passphrase-dialog.c
13623                 - (nmi_passphrase_dialog_new): fix up focus-stealing
13624                         prevention to realize window before trying to get server
13625                         time
13626
13627 2006-01-16  Robert Love  <rml@novell.com>
13628
13629         Patch from Timo Hoenig  <thoenig@suse.de:
13630         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13631           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13632           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13633           libnm-util/dbus-helpers.h: add checks whether headers are used
13634           within a C++ build.
13635
13636 2006-01-16  Dan Williams  <dcbw@redhat.com>
13637
13638         * gnome/applet/wireless-security-option.c
13639                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13640
13641 2006-01-16  Dan Williams  <dcbw@redhat.com>
13642
13643         * libnm-util/cipher-wpa-psk-passphrase.c
13644                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13645                         be 8 - 63 characters inclusive
13646
13647 2006-01-16  Dan Williams  <dcbw@redhat.com>
13648
13649         * src/nm-dbus-nm.c
13650                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13651
13652 2006-01-13  Robert Love  <rml@novell.com>
13653
13654         Patch by T Sureshkumar <tsureshkuman@novell.com>:
13655         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13656           modules that do not use an interface.
13657
13658 2006-01-13  Dan Williams  <dcbw@redhat.com>
13659
13660         * src/nm-device.c
13661           src/nm-device.h
13662                 - Allow subclasses to implement deactivate_quickly()
13663                 - (nm_device_deactivate_quickly): call subclass
13664                         deactivate_quickly() methods
13665                 - (nm_device_set_active_link): small cleanups, and don't
13666                         deactivate the device right away because we risk a deadlock
13667                         when called from device thread, waiting for the device
13668                         thread to cancel activation
13669
13670         * src/nm-device-802-11-wireless.c
13671                 - (real_deactivate_quickly): new function
13672                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13673                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13674                         so that we kill the supplicant when we sleep too
13675                 - (supplicant_interface_init): work around naive naming attempts of
13676                         wpa_ctrl when naming sockets
13677
13678 2006-01-13  Dan Williams  <dcbw@redhat.com>
13679
13680         * src/nm-device-802-11-wireless.c
13681                 - (supplicant_cleanup): delete old device control sockets too
13682                 - (supplicant_get_device_socket_path): new function to consolidate
13683                         locations that need a path to a device's control socket
13684
13685 2006-01-12  Robert Love  <rml@novell.com>
13686
13687         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13688           description so that the description is unique for each
13689           pair (device,provider).  Fixes Novell #142773.
13690
13691 2006-01-12  Dan Williams  <dcbw@redhat.com>
13692
13693         * src/nm-device-802-11-wireless.c
13694                 - (supplicant_exec): ensure GError is correctly initialized
13695                         Reported by Diego González (gnome.org #326708)
13696
13697 2006-01-11  Robert Love  <rml@novell.com>
13698
13699         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13700           define if_mii(), open code the same results, and do so without any
13701           type punning.
13702
13703 2006-01-11  Robert Love  <rml@novell.com>
13704
13705         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13706           that wso_foo_new() returned non-NULL.  Instead, only append the new
13707           wso to wsm->options if the wso is non-NULL.  The crux is that we
13708           assume that the relevant key types are implied by WEP and WPA as
13709           appropriate.  To be sure, they should be, but we should not expect
13710           drivers to not be oozing piles of wolf fecal matter.
13711
13712 2006-01-11  Robert Love  <rml@novell.com>
13713
13714         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13715         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13716           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13717           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13718           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13719           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13720           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13721         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13722           comparing values within DBL_EPSILON.  Also fix shadowed variable
13723           usage.
13724
13725 2006-01-11  Dan Williams  <dcbw@redhat.com>
13726
13727         Add options for WPA2 and WPA1+CCMP (AES).
13728
13729         * gnome/applet/wireless-applet.glade
13730                 - Add UI bits for WPA+CCMP
13731
13732         * gnome/applet/other-network-dialog.c
13733                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13734                         and don't allow creation of WPA2 Ad-Hoc networks since
13735                         wpa_supplicant doesn't support them
13736
13737         * gnome/applet/wireless-security-manager.c
13738                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13739                         on to the specific wireless security option being created
13740
13741         * gnome/applet/wireless-security-option.[ch]
13742                 - (wso_wpa_create_key_type_model): new utility function to create
13743                         the model required for WPA Key Type combo box
13744
13745         * gnome/applet/wso-private.h
13746           gnome/applet/wireless-security-option.h
13747                 - Move private function prototypes into wso-private.h
13748
13749         * gnome/applet/wso-wpa-psk-hex.[ch]
13750           gnome/applet/wso-wpa-psk-passphrase.[ch]
13751                 - (append_dbus_params_func): get WPA version from checkbox and pass
13752                         it to the dbus serialization helper
13753                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13754                         key type combo changes
13755                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13756                         model and options
13757
13758         * libnm-util/cipher-wpa-psk-hex.c
13759           libnm-util/cipher-wpa-psk-passphrase.c
13760                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13761                         new function; allow the cipher to be changed after object creation
13762
13763         * src/nm-ap-security-wpa-psk.c
13764                 - (set_description): Do WPA2 descriptions too
13765
13766         * src/nm-ap-security.c
13767                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13768
13769 2006-01-11  Robert Love  <rml@novell.com>
13770
13771         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13772           is defined in <linux/mii.h> to return the mii_ioctl_data structure
13773           from the ifreq structure in lieu of an open coded solution.  Removes
13774           a life-threatening type-punning.
13775         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13776           types, ever, whatsoever, baby.
13777
13778 2006-01-11  Robert Love  <rml@novell.com>
13779
13780         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13781           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13782           assignments to applet->nm_state into a new nmwa_set_state() function
13783           for both cleanliness and to help debugging.
13784
13785 2006-01-10  Robert Love  <rml@novell.com>
13786
13787         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
13788           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13789           seconds, exclusive.  That is, we want to sleep x seconds such that
13790           1 < x < 2.
13791
13792 2006-01-10  Robert Love  <rml@novell.com>
13793
13794         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13795           the attr fields according to the example in the email available at
13796           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13797           Conversely, we do have to free 'name', so we do so, fixing a leak.
13798
13799 2006-01-10  Robert Love  <rml@novell.com>
13800
13801         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13802           sure that we close the socket!
13803
13804 2006-01-10  Robert Love  <rml@novell.com>
13805
13806         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13807           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13808           src/nm-device.c: Fix a FIXME!  Reimplement the function
13809           nm_device_update_hw_address() in device subclass variants,
13810           nm_device_802_3_ethernet_set_address() and
13811           nm_device_802_11_wireless_set_address(), hook them up, and use them.
13812           This fixes the existing bug where MAC addresses are all zeros.
13813
13814 2006-01-10  Robert Love  <rml@novell.com>
13815
13816         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13817           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13818           option to give users ability to globally disconnect and put NM to
13819           sleep.  This is useful as a 'lockdown mode' for flying, security, and
13820           clean disconnect.
13821
13822 2006-01-09  Robert Love  <rml@novell.com>
13823
13824         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
13825           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13826           User-space does not supply these types, so we have to define them
13827           ourselves.  The relevant kernel maintainer refused to accept a patch
13828           switching these headers to the proper C99 types.
13829
13830 2006-01-09  Dan Williams  <dcbw@redhat.com>
13831
13832         Apply Robert's 'tray icon redo' patch with fixes
13833         * gnome/applet/applet.c
13834           gnome/applet/applet.h
13835                 - Instead of using a menu bar + menu item, simulate menu
13836                         behavior using a popup menu.  Highlight the area around
13837                         the icon more like a menu too, by playing with the
13838                         applet's size requisition
13839
13840 2006-01-09  Timo Hoenig   <thoenig@suse.de>
13841         * libnm-util/dbus-helpers.c
13842           libnm-util/dbus-helpers.h
13843                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13844                         to 'exception_namespace' (:namespace is a keyword in
13845                         C++)
13846
13847 2006-01-09  Dan Williams  <dcbw@redhat.com>
13848
13849         * src/NetworkManagerPolicy.c
13850                 - (nm_policy_device_change_check): don't autoswitch away from
13851                         Ad-Hoc networks, since there's really no concept of
13852                         "link"
13853
13854         * src/nm-dbus-nm.c
13855                 - (nm_dbus_nm_create_wireless_network): mark created networks
13856                         as Ad-Hoc networks
13857
13858         * src/nm-device-802-11-wireless.c
13859                 - (real_activation_success_handler): add user-created Ad-Hoc
13860                         networks to the device's scan list
13861
13862 2006-01-08  Dan Williams  <dcbw@redhat.com>
13863
13864         We now require a patch for wpa_supplicant to support Ad-Hoc
13865         networks:
13866           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13867
13868         * src/nm-device-802-11-wireless.c
13869                 - (supplicant_send_network_config): turn off wpa_supplicant's
13870                         scanning.  Fixes Ad-Hoc networks.
13871
13872 2006-01-08  Dan Williams  <dcbw@redhat.com>
13873
13874         * src/nm-ap-security.c
13875           src/nm-ap-security.h
13876                 - Add a user_created argument to the write_supplicant_config
13877                         functions
13878
13879         * src/nm-ap-security-wep.c
13880           src/nm-ap-security-wpa-psk.c
13881           src/nm-device-802-11-wireless.c
13882                 - Make Ad-Hoc mode somewhat work, at least write the
13883                         correct options to wpa_supplicant
13884
13885 2006-01-08  Dan Williams  <dcbw@redhat.com>
13886
13887         * src/nm-device-802-11-wireless.c
13888                 - Remove unused code from the old device activation path
13889
13890 2006-01-08  Dan Williams  <dcbw@redhat.com>
13891
13892         * libnm-util/dbus-helpers.c
13893                 - (nmu_security_serialize_wpa_psk): pass a blank key through
13894                         dbus when key == NULL
13895
13896 2006-01-08  Dan Williams  <dcbw@redhat.com>
13897
13898         * gnome/applet/nm-gconf-wso-wpa-psk.c
13899                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
13900                         correct arguments to nmu_security_deserialize_wpa_psk()
13901
13902         * src/nm-ap-security-wpa-psk.c
13903                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
13904                         arguments to nmu_security_deserialize_wpa_psk()
13905
13906 2006-01-08  Dan Williams  <dcbw@redhat.com>
13907
13908         * gnome/applet/wso-wpa-psk-hex.c
13909           gnome/applet/wso-wpa-psk-passphrase.c
13910                 - Hook up the append_dbus_params_func() function
13911
13912 2006-01-08  Dan Williams  <dcbw@redhat.com>
13913
13914         * src/nm-device-802-11-wireless.c
13915                 - (get_wireless_capabilities): correctly detect driver WPA
13916                         capabilities
13917
13918 2006-01-08  Dan Williams  <dcbw@redhat.com>
13919
13920         * gnome/applet/Makefile.am
13921           gnome/applet/wso-wpa-psk-hex.c
13922           gnome/applet/wso-wpa-psk-hex.h
13923                 - New files, implement WPA-PSK Hex key input
13924
13925         * gnome/applet/wireless-applet.glade
13926                 - Change existing wpa-psk stuff to wpa-psk-hex
13927                 - Add new widgets for wpa-psk-passphrase
13928
13929         * gnome/applet/wireless-security-manager.c
13930                 - (wsm_set_capabilities): enable WPA options
13931
13932         * gnome/applet/wso-wpa-psk-passphrase.c
13933                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
13934                         for WPA-PSK passphrase
13935
13936 2006-01-08  Dan Williams  <dcbw@redhat.com>
13937
13938         * include/NetworkManager.h
13939                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
13940                         applet/info-daemons
13941
13942         * gnome/applet/passphrase-dialog.c
13943                 - Use the constant.  Fixes a bug where the arguments to
13944                         dbus_message_new_error() were incorrect
13945
13946         * src/nm-dbus-nmi.c
13947                 - Use the constant
13948
13949 2006-01-07  Dan Williams  <dcbw@redhat.com>
13950
13951         * src/nm-device-802-11-wireless.c
13952                 - Add a link timeout so we allow the supplicant time to
13953                         reassociate if it can, before we deactivate the card
13954                 - Fix up link status and link updating so things work better
13955
13956 2006-01-07  Dan Williams  <dcbw@redhat.com>
13957
13958         * src/nm-device-802-11-wireless.c
13959                 - Switch over to using wpa_supplicant
13960                 - Add a timeout of 10s for association of the supplicant
13961                 - Start the monitor callback of the supplicant
13962
13963 2006-01-07  Dan Williams  <dcbw@redhat.com>
13964
13965         * src/NetworkManagerUtils.c
13966                 - (nm_utils_supplicant_request,
13967                   nm_utils_supplicant_request_with_check):
13968                         pass correct buffer length to wpa_ctrl_request()
13969
13970 2006-01-07  Dan Williams  <dcbw@redhat.com>
13971
13972         * src/nm-device-private.h
13973           src/nm-device.c
13974                 - (nm_device_activate_schedule_stage3_ip_config_start): make
13975                         this function available to subclasses
13976
13977 2006-01-06  Robert Love  <rml@novell.com>
13978
13979         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
13980           user plugging in a network cable signals their preference for to
13981           switch, unless the user explicitly selected a wireless network and
13982           therefore signaled their preference for said wireless network over
13983           wired.  In other words, do exactly what makes sense.
13984
13985 2006-01-06  Robert Love  <rml@novell.com>
13986
13987         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
13988           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
13989           src/NetworkManagerWireless.h: Remove, no longer used and they keep
13990           showing up in my greps.
13991
13992 2006-01-06  Robert Love  <rml@novell.com>
13993
13994         * gnome/applet/applet-dbus-devices.c,
13995           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
13996           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
13997           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
13998           New Network' both failed in the non-encrypted case because we were
13999           not appending the security options to the DBUS message.  And
14000           'Connect to Other' was also failing in the encrypted case because
14001           we were not incrementing to the next DBUS parameter.  All fixed.
14002           Thanks to dcdw for some debugging help.
14003
14004 2006-01-06  Robert Love  <rml@novell.com>
14005
14006         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14007           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14008           hangup code and add per-device hangup.  Tie last commit into the
14009           GNOME applet.  TODO:  Save, understand, and respond to the state of
14010           each dialup device.
14011
14012 2006-01-06  Robert Love  <rml@novell.com>
14013
14014         Patch by Timo Hoenig <thoenig@suse.de>:
14015         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14016           hangup specific dialup devices.
14017         * src/backends/NetworkManagerDebian.c,
14018           src/backends/NetworkManagerGentoo.c,
14019           src/backends/NetworkManagerRedHat.c,
14020           src/backends/NetworkManagerSlackware.c: Add stub backend.
14021         * src/backends/NetworkManagerRedHat.c,
14022           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14023           hangup specific dialup devices.
14024
14025 2006-01-04  Robert Love  <rml@novell.com>
14026
14027         * gnome/applet/applet-dbus-devices.c,
14028           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14029           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14030           connections.
14031
14032 2006-01-04  Dan Williams  <dcbw@redhat.com>
14033
14034         First dump of wpa_supplicant-related code.  It's not hooked up to
14035         anything yet though.  Thanks to Kay Sievers for
14036         wpa_supplicant_wrapper.c, which formed the basis for this work,
14037         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14038
14039         * src/Makefile.am
14040           src/wpa_ctrl.[ch]
14041                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14042
14043         * src/NetworkManagerUtils.[ch]
14044                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14045                         Add convenience functions for talking to wpa_supplicant
14046
14047         * src/nm-ap-security.[ch]
14048           src/nm-ap-security-wep.c
14049           src/nm-ap-security-wpa-psk.[ch]
14050                 - Update and implement real_write_supplicant_config functions
14051                         in all security types
14052                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14053                         nm-ap-security-wpa-psk.c
14054
14055         * src/nm-device-802-11-wireless.c
14056                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14057                    wpa_supplicant_start, wpa_supplicant_interface_init,
14058                    wpa_supplicant_send_network_config): add functions to talk to
14059                         wpa_supplicant and write network config to it
14060
14061 2006-01-04  Robert Love  <rml@novell.com>
14062
14063         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14064           values so that distribution-backends can differentiate between the
14065           various types (modem, ISDN, et cetera) of dialup device that they
14066           support.
14067         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14068           needed.
14069
14070 2006-01-03  Dan Williams  <dcbw@redhat.com>
14071
14072         * src/NetworkManagerPolicy.c
14073           src/nm-device.[ch]
14074           src/nm-device-802-11-wireless.c
14075                 - Move wireless-specific activation failure and success code
14076                         into wireless device class
14077
14078 2006-01-03  Robert Love  <rml@novell.com>
14079
14080         Patch by Preggna S:
14081         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14082           IPsec does not require that a VPN client be bound to an interface,
14083           due to the use of the in-kernel IPSec bits.  So make the tunnel
14084           device optional.
14085
14086 2006-01-03  Dan Williams  <dcbw@redhat.com>
14087
14088         * src/NetworkManagerAP.c
14089                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14090                         the WPA IE specifies that WEP is supported
14091
14092         * src/nm-device-802-11-wireless.c
14093                 - (process_scan_results): don't mark an AP as supporting WEP
14094                         if there's already other encryption capability info
14095
14096 2006-01-03  Dan Williams  <dcbw@redhat.com>
14097
14098         * src/dhcp-manager/nm-dhcp-manager.c
14099                 - Recognize activation cancellation when waiting for DHCP
14100                         configuration from dhcdbd
14101                 - Ignore non-dhcdbd messages
14102
14103         * src/nm-device.c
14104                 - (real_act_stage3_ip_config_start): return to correct behavior
14105                         of letting the dhcp-manager notify us of failure or
14106                         success rather than incorrectly doing that ourselves
14107                 - (nm_device_activate_stage4_ip_config_get): deal with
14108                         activation cancellation a bit earlier
14109
14110 2006-01-03  Dan Williams  <dcbw@redhat.com>
14111
14112         * src/nm-device-802-11-wireless.c
14113           src/nm-device.[ch]
14114                 - Add hooks to subclasses for stage3_ip_config_start and
14115                         stage4_ip_config_timeout
14116
14117         * src/nm-device-802-3-ethernet.c
14118                 - (real_get_generic_capabilities): make devices NM-supported
14119                         by default
14120
14121 2006-01-03  Robert Love  <rml@novell.com>
14122
14123         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14124           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14125           latter cannot differentiate between error and the address -1; misc.
14126           clean up.
14127
14128 2006-01-03  Dan Williams  <dcbw@redhat.com>
14129
14130         * src/NetworkManager.c
14131                 - Move link-checking/probing into the device subclasses
14132                         themselves
14133
14134         * src/nm-device.[ch]
14135           src/nm-device-802-11-wireless.c
14136           src/nm-device-802-3-ethernet.c
14137                 - Do periodic link checking in device subclasses rather
14138                         than being triggered from NetworkManager.c
14139                 - discover_wireless_capabilities -> get_wireless_capabilities
14140                 - discover_generic_capabilities -> get_generic_capabilities
14141                 - Device subclass activation routines now return a value of type
14142                         NMActStageReturn to indicate what step to perform next
14143                 - Devices now override stage4_get_ip4_config if they choose
14144
14145 2006-01-01  Dan Williams  <dcbw@redhat.com>
14146
14147         * src/nm-device-802-11-wireless.c
14148                 - (real_init): don't chain up to parent init because we don't
14149                         need to do that anymore
14150
14151         * src/nm-device.c
14152                 - (discover_device_type): fix arguments to ioctl() to correctly
14153                         pass interface name
14154                 - (nm_device_new): consolidate generic device initialization into
14155                         nm_device_new()
14156                 - (real_init): remove, consolidated to nm_device_new()
14157                 - (nm_device_deactivate, real_deactivate): consolidate
14158
14159 2006-01-01  Dan Williams  <dcbw@redhat.com>
14160
14161         * src/nm-activation-request.c
14162                 - Change dhcp_state member of the NMActRequest structure
14163                         from guint8 to guint32
14164
14165         * src/dhcp-manager/nm-dhcp-manager.[ch]
14166                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14167                         than guint8 to match the dbus argument.  Turns out we were
14168                         overwriting memory since we were passing in only a guint8
14169
14170 2005-12-31  Dan Williams  <dcbw@redhat.com>
14171
14172         * refactor NMDevice into a GObject-based framework with separate
14173                 objects for wired and wireless.  The following files are no
14174                 longer used but should stick around for a bit so we don't
14175                 loose code through the cracks:
14176                         NetworkManagerDevice.c
14177                         NetworkManagerDevice.h
14178                         NetworkManagerWireless.c
14179                         NetworkManagerWireless.h
14180
14181         The intent here is to allow each device type to manage its own
14182         connection & activation life-cycle, ie to allow wireless devices
14183         to interface with wpa_supplicant, etc.  There's a fair bit of
14184         encapsulation breakage right now that should gradually get pulled
14185         back into each device, along with things like periodic property
14186         updates and link probing.
14187
14188 2005-12-29  Dan Williams  <dcbw@redhat.com>
14189
14190         * include/NetworkManager.h
14191                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14192                         between networks that don't have any encryption at all
14193
14194 2005-12-29  Dan Williams  <dcbw@redhat.com>
14195
14196         * test/test-common.c
14197           test/test-common.h
14198           test/Makefile.am
14199                 - Move to a test-common subdirectory
14200
14201         * test/libnm-util/test-ciphers.c
14202                 - Move test data to test-inputs.h
14203                 - Test WPA ciphers too
14204
14205         * test/libnm-util/test-dbus-helpers.c
14206                 - Test serialization/deserialization of ciphers
14207
14208 2005-12-29  Dan Williams  <dcbw@redhat.com>
14209
14210         * gnome/applet/applet-dbus-devices.c
14211                 - Replace 'enc' parameter with 'capabilities' for wireless networks
14212                         in dbus calls to NM
14213                 - Set capabilities on WirelessNetwork objects
14214                 - Receive and save type-specific device capabilities too
14215
14216         * gnome/applet/applet-dbus-info.c
14217           gnome/applet/applet-dbus.c
14218                 - Passphrase dialog no longer a singleton; new instance gets created
14219                         on each request.  Updates to deal with that.
14220
14221         * gnome/applet/applet.c
14222                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14223                         than single 'encrypted' flag
14224                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14225                         menu items
14226                 - Passphrase dialog updates per above
14227
14228         * gnome/applet/menu-items.c
14229                 - (network_menu_item_update): use AP capabilities to determine
14230                         encryption
14231
14232         * gnome/applet/nm-device.[ch]
14233                 - Add accessors for type-specific device capabilities
14234
14235         * gnome/applet/other-network-dialog.c
14236                 - Rework to respect device capabilities.  i.e., if the device doesn't
14237                         support WPA, remove that option from the security dropdown
14238
14239         * gnome/applet/passphrase-dialog.c
14240                 - Massive rework so that a new instance is created each time
14241                         it's used, to support wireless network capabilities
14242
14243         * gnome/applet/wireless-network.[ch]
14244                 - Add accessors and members for wireless network capabilities
14245
14246         * gnome/applet/wireless-security-manager.[ch]
14247                 - (wsm_set_capabilities): called after creation to set which
14248                         security options get shown to the user
14249
14250 2005-12-29  Dan Williams  <dcbw@redhat.com>
14251
14252         * libnm-util/cipher-wpa-psk-passphrase.c
14253                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14254                         like other ciphers
14255
14256 2005-12-23  Dan Williams  <dcbw@redhat.com>
14257
14258         * gnome/applet/applet-dbus-info.c
14259                 - (nmi_dbus_get_key_for_network): if there's no entry in
14260                         GConf for a network, assume we want a new key
14261                 - (nmi_save_network_info): serialize wireless security info
14262                         into GConf so its saved
14263
14264         * src/nm-dbus-nm.c
14265                 - Fix warning as we may not be passed security info when
14266                         connecting to a wireless network
14267
14268 2005-12-23  Dan Williams  <dcbw@redhat.com>
14269
14270         * gnome/applet/applet-compat.c
14271                 - Fix bugs in GConf entry conversion
14272
14273         * gnome/applet/applet-dbus-info.c
14274                 - (nmi_dbus_get_network_properties): handle case of the BSSID
14275                         list being zero-length
14276
14277         * libnm-util/cipher-*
14278           libnm-util/dbus-helpers.c
14279                 - All ciphers must now return hashed keys as UTF-8 valid
14280                         hexadecimal strings, ie "8f3dae4023".  They are pushed
14281                         through dbus as strings too.
14282                 - Consolidate various functions that do bin->hex and hex->bin
14283                         conversion into cipher.c
14284
14285         * src/nm-ap-security-wep.c
14286           src/nm-ap-security-wpa-psk.c
14287                 - Handle NULL keys since we may not know keys right away
14288
14289         * src/nm-dbus-nmi.c
14290                 - (nm_dbus_get_network_data_cb): actually advance to the start
14291                         of the wireless security info before we try to deserialize it
14292
14293         * libnm-util/test-ciphers.c
14294                 - Update cipher tests for the change to UTF-8 hexadecimal strings
14295
14296 2005-12-22  Dan Williams  <dcbw@redhat.com>
14297
14298         * gnome/applet/applet-compat.[ch]
14299                 - Convert old-format GConf and keyring entries
14300                         when the applet starts up.
14301
14302         * gnome/applet/applet.c
14303                 - (nmwa_get_instance): Call the conversion function
14304                         on startup before dbus is initialized
14305
14306 2005-12-22  Dan Williams  <dcbw@redhat.com>
14307
14308         * gnome/applet/applet-dbus-info.c
14309                 - Remove nmi_dbus_create_error_message() in favor of
14310                         nmu_create_dbus_error_message()
14311                 - (nmi_dbus_get_network_properties): Error message cleanups
14312                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14313                         gconf key rather than 'addresses', since they really are BSSIDs
14314                 - (nmi_dbus_get_network_properties): Dispose of the security
14315                         object when we're done with it
14316
14317 2005-12-21  Dan Williams  <dcbw@redhat.com>
14318
14319         * Consolidate the info-daemon's "updateNetworkInfo" and
14320                 "addNetworkAddress" calls into just "updateNetworkInfo"
14321
14322 2005-12-21  Dan Williams  <dcbw@redhat.com>
14323
14324         * Make connection after key retrieval work again
14325
14326 2005-12-21  Dan Williams  <dcbw@redhat.com>
14327
14328         * gnome/applet/nm-gconf-wso*
14329                 - Make the serialize functions return gboolean
14330                         rather than int
14331
14332         * gnome/applet/nm-gconf-wso.c
14333                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14334                         parent class handling so we don't segfault
14335
14336         * src/NetworkManagerAP.[ch]
14337                 - (nm_ap_get_capabilities): new function, return capabilities
14338                         now that something can use them
14339                 - (nm_ap_set_encrypted): assume that an access point supports
14340                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
14341                         we even tell whether it just supports WEP40?
14342
14343         * src/NetworkManagerDevice.c
14344                 - (ap_need_key): resurrect and update for the New World Order
14345                 - (nm_device_wireless_get_activation_ap): if we're not given
14346                         security info to use, create some based on access point
14347                         capabilities
14348
14349         * src/nm-ap-security-wep.c
14350                 - (nm_ap_security_wep_new_from_ap): create a new object
14351                         based on a certain access point's capabilities
14352
14353         * src/nm-ap-security.c
14354                 - (nm_ap_security_new_from_ap): delegate creation of a new
14355                         object based on access point capabilities to a subclass
14356                 - (nm_ap_security_copy_properties): don't segfault if we
14357                         don't have a key yet
14358
14359         * src/nm-dbus-nm.c
14360                 - (nm_dbus_nm_set_active_device): provide more informative
14361                         output when errors occur.  Also construct security info
14362                         for a given access point if we weren't given any
14363
14364 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
14365
14366         * configure.in: Added Lithuanian to ALL_LINGUAS.
14367
14368 2005-12-21  Dan Williams  <dcbw@redhat.com>
14369
14370         * test/libnm-util
14371                 - Add some testcases for WEP ciphers
14372
14373 2005-12-17  Dan Williams  <dcbw@redhat.com>
14374
14375         * Fix bugs
14376
14377 2005-12-17  Dan Williams  <dcbw@redhat.com>
14378
14379         * include/NetworkManager.h
14380                 - Finally kill NMEncKeyType
14381
14382         * gnome/applet/applet-dbus-info.c
14383                 - (nmi_save_network_info): convert to NMGConfWSO
14384
14385         * gnome/applet/nm-gconf-wso-*.c
14386                 - Implement gconf serialization functions
14387
14388         * src/NetworkManagerPolicy.c
14389                 - (nm_policy_activation_finish): fix up meaning of
14390                         automatic/user_requested
14391
14392 2005-12-17  Dan Williams  <dcbw@redhat.com>
14393
14394         * gnome/applet/*
14395                 - More applet cleanups
14396                 - Use the dbus-method-dispatcher
14397
14398         * libnm-util/dbus-method-dispatcher.[ch]
14399                 - Generalize the implementation from NM in
14400                         NetworkManagerUtils.c
14401
14402 2005-12-16  Dan Williams  <dcbw@redhat.com>
14403
14404         * gnome/applet/*
14405                 - Fix up the passphrase dialog to use all the
14406                         WirelessSecurityOption stuff (untested)
14407
14408 2005-12-16  Dan Williams  <dcbw@redhat.com>
14409
14410         * Move nm_gconf_get_*_helper() functions to separate files,
14411                 gconf-helpers.c & gconf-helpers.h
14412
14413         * New NMGConfWSO objects for managing the gconf side of things.
14414                 Eventually these should be merged with the
14415                 WirelessSecurityOption objects and a common base (that can
14416                 serialize/deserialize from dbus & gconf) should be
14417                 refactored out, but for now they are separate.
14418
14419 2005-12-16  Robert Love  <rml@novell.com>
14420
14421         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14422           binaries unless they exist (nm_spawn_process() emits a warning if
14423           asked to spawn a non-existant process).
14424
14425 2005-12-16  Dan Williams  <dcbw@redhat.com>
14426
14427         * gnome/applet/applet-dbus-info.c
14428                 - Clean up lots of gconf-related code
14429
14430 2005-12-16  Robert Love  <rml@novell.com>
14431
14432         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14433
14434 2005-12-16  Dan Williams  <dcbw@redhat.com>
14435
14436         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14437
14438         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14439                 bits still to be done)
14440
14441 2005-12-16  Dan Williams  <dcbw@redhat.com>
14442
14443         * Finally move info-daemon related stuff out of
14444                 NetworkManagerDbus.c to nm-dbus-nmi.c
14445
14446 2005-12-16  Dan Williams  <dcbw@redhat.com>
14447
14448         * Kill auth_method for access points, since that's now done
14449                 by NMAPSecurity objects
14450
14451         * Add a copy-constructor of sorts to NMAPSecurity
14452                 (how do you do this properly in glib???)
14453
14454 2005-12-15  Dan Williams  <dcbw@redhat.com>
14455
14456         * Exorcise encryption key hashing on APs
14457         * Use libnm-util's serialization/deserialization in both the
14458                 applet and NM
14459         * Random other stuff
14460
14461 2005-12-15  Robert Love  <rml@novell.com>
14462
14463         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14464           is being added to the icon naming spec, so let's use that (Tango CVS
14465           has the icon).  Because it is new, however, we fall back to the
14466           current "gnome-lockscreen" if the new icon is not around, thus
14467           behavior is the same.
14468         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
14469           factory junk.
14470
14471 2005-12-15  Robert Love  <rml@novell.com>
14472
14473         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14474           well, help to give.  Couple other misc. bits.
14475
14476 2005-12-15  Dan Williams  <dcbw@redhat.com>
14477
14478         * libnm-util/dbus-helpers.[ch]
14479                 - Make this the one-stop-shop for serializing/deserializing
14480                         AP & connection security settings over dbus.  Both NM
14481                         and applets should use this to ensure consistent dbus
14482                         API going forwared.
14483
14484 2005-12-15  Robert Love  <rml@novell.com>
14485
14486         Patch by Timo Hoenig  <thoenig@suse.de>:
14487         * src/NetworkManagerDbus.c
14488                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14489                         if HAL jumps off the system bus.  Otherwise libdbus
14490                         (dbus_connection_dispatch) will try to run the filter
14491                         function of our libhal context which is already freed.
14492
14493 2005-12-15  Alexander Shopov  <ash@contact.bg>
14494
14495         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14496
14497 2005-12-14  Dan Williams  <dcbw@redhat.com>
14498
14499         * include/NetworkManager.h
14500           src/NetworkManagerWireless.c
14501                 - Rearrange 802.11 wireless-specific capabilities again
14502
14503         * src/Makefile.am
14504                 - Forgot to add wpa.c/wpa.h to the makefiles
14505
14506         * src/NetworkManagerAP.[ch]
14507                 - Implement access point capabilities and parse the
14508                         WPA/RSN IEs into the capability bitfield
14509                 - Switch the "encrypted" attribute to utilize the bitfield
14510                         and capabilities rather than being independent
14511
14512         * src/NetworkManagerDevice.c
14513                 - (nm_device_wireless_get_activation_ap): break it horribly
14514                         until we can push NMAPSecurity objects into access point
14515                         objects and through the activation chain
14516                 - Stuff WPA & RSN IEs into AP capabilities
14517
14518         * src/nm-dbus-nm.c
14519                 - Take a shot at actually making setActiveDevice work
14520
14521         * src/wpa.[ch]
14522                 - Make the API a bit saner
14523
14524 2005-12-14  Dan Williams  <dcbw@redhat.com>
14525
14526         * include/NetworkManager.h
14527                 - Add 802.11-specific capability for 802.1x key
14528                         management
14529
14530         * src/wpa.[ch]
14531                 - Pull in WPA IE and RSN IE parsing code from
14532                         wpa_supplicant so we can determine access point
14533                         capabilities
14534                 - Move WPA-related constants here from NetworkManagerAP.h
14535                         and NetworkManagerDevice.c
14536
14537         * src/NetworkManagerDevice.c
14538           src/NetworkManagerAP.[ch]
14539                 - Use WPA-related constants from wpa.h
14540
14541 2005-12-14  Dan Williams  <dcbw@redhat.com>
14542
14543         * include/NetworkManager.h
14544                 - Update and split 802.11 wireless-specific capabilities from
14545                         generic device capabilities
14546
14547         * src/NetworkManagerDevice.c
14548           src/NetworkManagerDevicePrivate.h
14549                 - (nm_device_wireless_discover_capabilities): Move 802.11
14550                         wireless-specific capability checks to
14551                         NetworkManagerWireless.c
14552                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14553                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14554
14555         * src/NetworkManagerWireless.[ch]
14556                 - (nm_802_11_wireless_discover_capabilities): Check extended
14557                         802.11 wireless-specific capabilities of the driver
14558
14559 2005-12-14  Robert Love  <rml@novell.com>
14560
14561         Patch from Stefan Scheler <sscheler@suse.de>:
14562         * src/NetworkManagerDevice.c: call backend code to activate and
14563           deactivate NIS.
14564         * src/NetworkManagerSystem.h: add new NIS interfaces.
14565         * src/backends/NetworkManagerDebian.c,
14566           src/backends/NetworkManagerGentoo.c,
14567           src/backends/NetworkManagerRedHat.c,
14568           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14569           support.
14570         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14571
14572 2005-12-14  Dan Williams  <dcbw@redhat.com>
14573
14574         * src/nm-ap-security*.[ch]
14575                 - Add AP security abstractions to NetworkManager
14576
14577         * src/nm-dbus-device.c
14578                 - Begin to parse new format dbus messages from the applet
14579                         and construct an AP security object from the message
14580
14581         * libnm-util/dbus-helpers.c
14582                 - Use message iters so we can append the key as a fixed
14583                         array of bytes, which actually works rather than
14584                         using dbus_message_append_args() as we were before
14585
14586 2005-12-14  Dan Williams  <dcbw@redhat.com>
14587
14588         * src/NetworkManagerDbus.c
14589           gnome/applet/applet-dbus.c
14590                 - Fix up dbus service replacement options.  The applet
14591                         should allow replacement, NM itself should not.
14592
14593 2005-12-13  Robert Love  <rml@novell.com>
14594
14595         * src/named-manager/nm-named-manager.c: Revert earlier commit.
14596           Instead, fail silently if config is NULL by not asserting and not
14597           returning FALSE.  Also, make sure we always fclose() the file.
14598
14599 2005-12-13  Robert Love  <rml@novell.com>
14600
14601         Patch by Stefan Scheler <sscheler@suse.de>:
14602         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
14603            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14604            via DHCP.  Still need the backends to commit the NIS domain name and
14605            and servers to yp.conf as needed.
14606
14607 2005-12-13  Robert Love  <rml@novell.com>
14608
14609         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14610           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14611
14612 2005-12-13  Robert Love  <rml@novell.com>
14613
14614         * src/named-manager/nm-named-manager.c: Don't unref the config until
14615           after we call rewrite_resolv_conf(), because get_last_default_domain()
14616           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
14617           `config != NULL' failed" assertion failures and "Could not commit DNS
14618           changes" warnings.
14619
14620 2005-12-12  Dan Williams  <dcbw@redhat.com>
14621
14622         * libnm-util/dbus-helpers.[ch]
14623           libnm-util/Makefile.am
14624                 - new helper calls to consolidate locations where
14625                         NM's setDevice method is called
14626
14627         * gnome/applet/applet-dbus-devices.c
14628           gnome/applet/wireless-security-option.c
14629           gnome/applet/wso-*
14630                 - Implement dbus message param append function for
14631                         all wireless security options
14632
14633 2005-12-12  Robert Love  <rml@novell.com>
14634
14635         * libnm-util/cipher-wep-passphrase.c,
14636           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14637           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14638           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14639           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14640           When handling keys, we don't care what the sign is.  The compiler
14641           guarantees us that we get our 8-bits, which is all we care about.
14642         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
14643
14644 2005-12-12  Dan Williams  <dcbw@redhat.com>
14645
14646         * gnome/applet/applet-dbus-devices.[ch]
14647           gnome/applet/applet.c
14648           gnome/applet/other-network-dialog.c
14649           gnome/applet/wireless-security-manager.[ch]
14650           gnome/applet/wireless-security-option.[ch]
14651           gnome/applet/wso-*
14652                 - Push the wireless security options further into the applet
14653
14654 2005-12-12  Robert Love  <rml@novell.com>
14655
14656         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14657           return any name servers.  That is perfectly valid.  (Novell #134369).
14658
14659 2005-12-11  Dan Williams  <dcbw@redhat.com>
14660
14661         * gnome/applet/wso-*
14662           gnome/applet/wireless-security-option.*
14663           gnome/applet/Makefile.am
14664                 - split each security option out so we can eventually
14665                         have each one build up their own dbus message
14666                         arguments to send to NM
14667
14668 2005-12-11  Dan Williams  <dcbw@redhat.com>
14669
14670         * Make validation of the key work correctly
14671
14672 2005-12-11  Dan Williams  <dcbw@redhat.com>
14673
14674         * Hook more bits of the Other Network Dialog up to the
14675                 wireless security manager stuff, and restructure
14676                 bits of the dialog so there's less code.
14677
14678 2005-12-10  Dan Williams  <dcbw@redhat.com>
14679
14680         * gnome/applet/Makefile.am
14681                 - Add libnm-util to includes
14682                 - Add libnm-util to link list
14683                 - Add wireless-security-common.* to compile list
14684
14685         * gnome/applet/other-network-dialog.c
14686                 - Convert to using the WirelessSecurityManager code and
14687                         widgets
14688
14689         * gnome/applet/passphrase-dialog.c
14690                 - Comment out references to stuff in the glade file that
14691                         cause runtime errors until it can be fixed up
14692                         to use the WirelessSecurityManager code
14693
14694         * gnome/applet/wireless-applet.glade
14695                 - Rename some widgets
14696                 - Add widgets for the WirelessSecurityManager code
14697                 - Remove passphrase-related stuff since that's now
14698                         handled by the WirelessSecurityManager code
14699
14700 2005-12-10  Dan Williams  <dcbw@redhat.com>
14701
14702         * gnome/applet/applet-dbus-devices.c
14703                 - Print out error message details for dbus pending call callbacks
14704                 - Move nmwa_dbus_update_devices() up
14705
14706         * gnome/applet/applet-dbus-vpn.c
14707                 - Print out error message details for dbus pending call callbacks
14708
14709 2005-12-10  Dan Williams  <dcbw@redhat.com>
14710
14711         * libnm-util/*
14712                 - More fixups
14713                 - Remove cipher-manager.* because we don't need it
14714                 - Forgot to add gnome-keyring-md5 files to compile list
14715
14716 2005-12-09  Dan Williams  <dcbw@redhat.com>
14717
14718         * libnm-util/*
14719           configure.in
14720           Makefile.am
14721                 - Add a utility library for clients of NetworkManager.  It's
14722                         only targetted at applets for the moment, and contains
14723                         a generalized 802.11 cipher framework for different
14724                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
14725
14726 2005-12-09  Robert Love  <rml@novell.com>
14727
14728         * src/NetworkManagerDevice.c: handle error better in
14729           nm_device_set_mode().
14730
14731 2005-12-08  Robert Love  <rml@novell.com>
14732
14733         * include/NetworkManager.h: add WPA capabilities constants
14734         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14735           or WPA2 and add the capabilities bits as appropriate.
14736
14737 2005-12-08  Robert Love  <rml@novell.com>
14738
14739         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14740           NetworkManagerDispatcher.
14741         * configure.in, initscript/SUSE/.cvsignore,
14742           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14743           initscript.
14744
14745 2005-12-08  Robert Love  <rml@novell.com>
14746
14747         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14748
14749 2005-12-08  Robert Love  <rml@novell.com>
14750
14751         * src/NetworkManagerDevice.c: We want to fall back on and default to
14752           IW_MODE_AUTO, not -1, which is more in line with our previous
14753           behavior.  Otherwise, we try to set the wireless mode to -1 in
14754           nm_device_set_mode().
14755
14756 2005-12-07  Robert Love  <rml@novell.com>
14757
14758         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14759           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14760           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14761           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14762           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14763           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
14764           zero.
14765
14766 2005-12-07  Robert Love  <rml@novell.com>
14767
14768         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14769           supplied IP is invalid, fall back to DHCP.
14770
14771 2005-12-07  Dan Williams  <dcbw@redhat.com>
14772
14773         * Convert NETWORK_MODE_* constants to IW_MODE_*
14774         * Make all the get_mode/set_mode functions take and return 'int'
14775         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14776
14777 2005-12-07  Robert Love  <rml@novell.com>
14778
14779         * src/NetworkManagerDevice.c: strncpy() buffer check.
14780         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14781
14782 2005-12-06  Dan Williams  <dcbw@redhat.com>
14783
14784         * gnome/applet/applet-dbus.c
14785                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14786
14787         * gnome/applet/applet-dbus-vpn.c
14788                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14789                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14790                         to TRUE here if stage was ACTIVATED
14791
14792 2005-12-06  Dan Williams  <dcbw@redhat.com>
14793
14794         * Change nm_device_is_* functions to better names:
14795                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14796                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14797
14798 2005-12-06  Dan Williams  <dcbw@redhat.com>
14799
14800         * Change naming of NMDeviceType to something more sensible:
14801                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14802                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14803                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14804
14805 2005-12-06  Dan Williams  <dcbw@redhat.com>
14806
14807         * Move NetworkManager.h -> include/NetworkManager.h
14808         * Split out VPN stuff into include/NetworkManagerVPN.h
14809         * Fix up makefiles to include new location
14810         * Fix up sources to include NetworkManagerVPN.h
14811
14812 2005-12-06  Dan Williams  <dcbw@redhat.com>
14813
14814         Various changes in the applet to move VPN connection "state" -> "stage",
14815         which it actually is.  I'd like to change the signal as well when we
14816         break compat in the near future.
14817
14818 2005-12-06  Dan Williams  <dcbw@redhat.com>
14819
14820         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14821         * initscript/Slackware/rc.networkmanager
14822                 - Cosmetic fix
14823
14824         * src/backends/NetworkManagerSlackware.c
14825                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14826                         interfaces
14827
14828 2005-12-05  Robert Love  <rml@novell.com>
14829
14830         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14831           to free, particularly here as it just barfs.
14832
14833 2005-12-05  Dan Williams  <dcbw@redhat.com>
14834
14835         * gnome/applet/applet-dbus.c
14836                 - Work with dbus 0.6 too
14837
14838 2005-12-03  Dan Williams  <dcbw@redhat.com>
14839
14840         * src/NetworkManagerUtils.[ch]
14841           src/nm-ip4-config.c
14842                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14843                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14844
14845 2005-12-01  Robert Love  <rml@novell.com>
14846
14847         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14848           need a NULL for the '...' parameter, too, to fill the so-called
14849           sentinel.
14850
14851 2005-12-01  Robert Love  <rml@novell.com>
14852
14853         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14854           interface is already gone, so don't call rtnl_link_change() to down
14855           it (which will segfault, anyhow).
14856
14857 2005-11-22  Robert Love  <rml@novell.com>
14858
14859         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14860           gateway is not set, just print a little note.  Configurations without
14861           gateways are valid.
14862
14863 2005-11-22  Robert Love  <rml@novell.com>
14864
14865         * README: update
14866
14867 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
14868
14869         * configure.in: Added Finnish translation to ALL_LINGUAS
14870
14871 2005-11-14  Robert Love  <rml@novell.com>
14872
14873         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
14874           Niemueller <tim@niemueller.de>.
14875
14876 2005-11-08  Dan Williams  <dcbw@redhat.com>
14877
14878         Patch from Bill Moss <bmoss@clemson.edu>
14879         * src/NetworkManagerDevice.c
14880                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
14881                         of nm_policy_schedule_activation_finish() to prevent a
14882                         race condition that causes the link to be dropped
14883
14884 2005-11-08  Dan Williams  <dcbw@redhat.com>
14885
14886         Patch from Bill Moss <bmoss@clemson.edu>
14887         * src/NetworkManagerAPList.c
14888           src/NetworkManagerDevice.c
14889           src/NetworkManagerDbus.c
14890                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
14891                         we get more readable ether/mac addresses
14892
14893 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14894
14895         * gnome/applet/main.c: Don't set the restart command.  This fixes
14896         the issue where the restart command was getting copies of all its
14897         arguments for each time the applet was restarted.
14898
14899 2005-11-02  Robert Love  <rml@novell.com>
14900
14901         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
14902           if the widget state differs from our saved state.  This ensures we
14903           do not enter an endless loop of death and destruction.  Also, this
14904           guarantees us that we enforce the widget state.
14905
14906 2005-11-02  Robert Love  <rml@novell.com>
14907
14908         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
14909         * gnome/applet/applet-dbus-devices.c: invoke the new function
14910           nmwa_enable_wireless_set_active() to ensure that the state of the
14911           'Enable Wireless' checkbox matches the daemon's state.  This is a
14912           concern because the daemon remembers the state.
14913
14914 2005-11-02  Robert Love  <rml@novell.com>
14915
14916         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
14917           Enabled", as checkboxes should be actions/commands not positive
14918           statements, otherwise they are confusing in the unselected case.  See
14919           examples in GNOME HIG, Chapter 6.
14920
14921 2005-11-02  Robert Love  <rml@novell.com>
14922
14923         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
14924           show a list of wireless networks or the wireless devices or the
14925           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
14926           a bad bug: If wireless is disabled and the user picks a wireless
14927           network, NM will switch to the network, only to immediately switch
14928           back, as wireless is disabled.  This also reassures people that NM
14929           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
14930
14931 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14932
14933         * gnome/applet/applet.c:
14934         * gnome/applet/applet.h:
14935         Partial backout of Dan's timeout animation patch.
14936         Timeout IDs cannot legally be 0, so revert the code in place to handle
14937         a timeout ID of 0 to denote the timeout isn't running.
14938
14939 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14940
14941         * src/NetworkManagerPolicy.c:
14942         (nm_policy_device_change_check) Clarify wireless switch nm_info text
14943
14944 2005-10-28  Robert Love  <rml@novell.com>
14945
14946         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
14947           "Import Saved Configuration..." to make it clear that importing is
14948           not the next step, but an option.  As an aside, a nice TODO would be
14949           to move Importing out of the vpn-specific dialog and into the main
14950           property editor, as Importing goes with Adding, but that will require
14951           some rearchitecting of the VPN stuff I suspect.
14952
14953 2005-10-27  Dan Williams  <dcbw@redhat.com>
14954
14955         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
14956         we should replace most of the distro-specific backend code
14957         with libnl stuff.
14958
14959         Get it here:  http://people.suug.ch/~tgr/libnl/
14960
14961         * configure.in
14962           src/Makefile.am
14963                 - Add checks for libnl pkgconfig file
14964                 - Use LIBNL_LIBS & LIBNL_CFLAGS
14965
14966         * src/NetworkManagerSystem.c
14967           src/nm-ip4-config.[ch]
14968                 - Use libnl rather than ioctl() for most things
14969                 - Remove unused functions
14970
14971 2005-10-27  Robert Love  <rml@novell.com>
14972
14973         * src/backends/NetworkManagerSuSE.c: fix warning message text
14974
14975 2005-10-27  Christopher Aillon  <caillon@redhat.com>
14976
14977         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
14978
14979 2005-10-27  Christopher Aillon  <caillon@redhat.com>
14980
14981         * gnome/applet/applet.c: The applet's about dialog can advertise our 
14982         project page <http://www.gnome.org/projects/NetworkManager/>
14983
14984 2005-10-26  Christopher Aillon  <caillon@redhat.com>
14985
14986         * gnome/applet.c: Also use translator credits if we don't have
14987         the new GtkAboutDialog (older versions of GTK+)
14988
14989 2005-10-26  Robert Love  <rml@novell.com>
14990
14991         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
14992           failure; correct usage text for "--no-daemon"
14993
14994 2005-10-25  Dan Williams  <dcbw@redhat.com>
14995
14996         * src/NetworkManagerDevice.c
14997                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
14998                         no scan results
14999                 - (free_process_scan_cb_data): unref the device when freeing results
15000                 - (nm_device_wireless_process_scan_results): free scan results a bit later
15001                         so we don't unref the device underneath ourselves
15002
15003 2005-10-25  Dan Williams  <dcbw@redhat.com>
15004
15005         * Back out 2005-10-24 commit from Tor Krill.  Patch
15006                 causes nameservers never to be removed from named.
15007
15008 2005-10-24  Dan Williams  <dcbw@redhat.com>
15009
15010         Clean up wireless scanning and wireless link probing.
15011
15012         * src/NetworkManagerDevice.c
15013                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15014                         just see if there's an activation request on the device, and check the
15015                         current link against the activation request access point's ESSID.
15016                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15017                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15018                         don't call process_scan_results() on zero-length data
15019                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
15020                         15 seconds (from 10)
15021
15022 2005-10-24  Dan Williams  <dcbw@redhat.com>
15023
15024         Cleanup some applet stuff:
15025
15026         - Animation timeouts.  If NM died while the applet was animating,
15027                 the applet would not hide itself.  This is now fixed.
15028
15029         - Remove some dead code
15030
15031         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15032                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15033
15034         - Track animation timeout using a gboolean rather than the timeout's
15035                 ID, since timeout IDs can legally be 0.
15036
15037 2005-10-24  Dan Williams  <dcbw@redhat.com>
15038
15039         * src/backends/interface_parser.c
15040                 - Add void to function declarations that need it
15041                         to match patch from Engin AYDOGAN
15042
15043         * src/backends/interface_parser.h
15044                 - Remove unused prototype for ifparser_interfaces()
15045
15046         Patch from Engin AYDOGAN <engin@bzzzt.biz>
15047         * src/backends/interface_parser.h:
15048                 - Compile fixes for gcc 4.0.2 (add void)
15049
15050 2005-10-24  Dan Williams  <dcbw@redhat.com>
15051
15052         Patch from Tor Krill <tor@krill.nu>
15053         * src/named-manager/nm-named-manager.c
15054                 - Write more than just the first nameserver to /etc/resolv.conf
15055                 - Write out valid /etc/resolv.conf on exit
15056
15057 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15058
15059         * gnome/applet/applet-dbus-vpn.c:
15060         Get rid of spurious newlines in debug console output
15061
15062 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15063
15064         * src/backends/NetworkManagerGentoo.c:
15065         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
15066
15067 2005-10-20  Robert Love  <rml@novell.com>
15068
15069         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15070           direct comparison of floating point values, which is never correct.
15071           Also some misc. cleanup.
15072
15073 2005-10-19  Robert Love  <rml@novell.com>
15074
15075         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15076
15077 2005-10-19  Robert Love  <rml@novell.com>
15078
15079         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15080           sensitivity of the buttons.  Specificaly, do the right thing if
15081           there are no entries.
15082
15083 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15084
15085         * configure.in: Update check for adequate wireless-tools
15086         with an AC_TRY_COMPILE for the new symbols we use.
15087
15088 2005-10-19  Dan Williams  <dcbw@redhat.com>
15089
15090         * src/NetworkManagerDevice.c
15091                 - (process_scan_results): don't drop the last (or only)
15092                         access point we see
15093
15094 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15095
15096         * src/backends/NetworkManagerSlackware.c:
15097         Patch from Nico <lordllucifer@gmail.com>
15098                 - Update the Slackware backend.
15099
15100 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15101
15102         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15103         if we've got GLib 2.8.0
15104
15105 2005-10-18  Robert Love  <rml@novell.com>
15106
15107         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15108           function nm_schedule_state_change_signal_broadcast() when we
15109           deactivate a device, too.
15110
15111 2005-10-18  Robert Love  <rml@novell.com>
15112
15113         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15114           be used uninitialized.
15115
15116 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15117
15118         * test/libnm_glib_test.c: Test unregistering, too.
15119
15120 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15121
15122         * configure.in: Bump to 0.5.0
15123
15124 2005-10-17  Dan Williams  <dcbw@redhat.com>
15125
15126         * NetworkManager.h
15127                 - Remove WPA-related constants so they aren't part of the
15128                         upcoming release.
15129
15130 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15131
15132         * gnome/applet/applet.c:
15133         * gnome/applet/applet.h:
15134         Desensitize the 'Connection Information' menu item when there is
15135         no active connection.
15136
15137 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15138
15139         * gnome/libnm_glib/libnm_glib.c:
15140         Make libnm_glib_unregister_callback () actually unregister the callback
15141
15142 2005-10-17  Robert Love  <rml@novell.com>
15143
15144         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15145           two seconds -- tries is updated every 1/10 of a second, not every
15146           second..
15147
15148 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15149
15150         * gnome/applet/applet-dbus-info.c:
15151         Let D-BUS know that we haven't handled a message when we haven't.
15152
15153 2005-10-17  Robert Love  <rml@novell.com>
15154
15155         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15156           in order to remain 64-bit clean.
15157
15158 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15159
15160         * gnome/applet/applet-dbus-info.c:
15161         Find network encryption keys asynchronously
15162
15163 2005-10-17  Robert Love  <rml@novell.com>
15164
15165         * src/backends/NetworkManagerDebian.c,
15166           src/backends/NetworkManagerRedHat,
15167           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15168           comment delimiter.
15169
15170 2005-10-17  Robert Love  <rml@novell.com>
15171
15172         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15173           "/etc"
15174
15175 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15176
15177         * src/NetworkManagerDevice.c: (process_scan_results)
15178         Fix logic that checks to see whether we have an ESSID.
15179
15180 2005-10-15  Dan Williams  <dcbw@redhat.com>
15181
15182         Move scanning code into NetworkManager rather than use iwlib's
15183         iw_scan() function, so that we can figure out AP capabilities.
15184
15185         * NetworkManager.h
15186                 - Add AP capability bits
15187
15188         * src/NetworkManagerAP.[ch]
15189                 - Add capability field to NMAccessPoint structure
15190                 - Add WPA & RSN Information Element fields and accessor
15191                         functions to NMAccessPoint
15192
15193         * src/NetworkManagerDevice.c
15194                 - Remove usage of iw_scan
15195                 - Add scanning code to NetworkManager rather than use
15196                         iw_scan() from iwlib
15197
15198         * src/NetworkManagerUtils.[ch]
15199                 - (nm_dispose_scan_results): remove, unused
15200
15201 2005-10-14  Christopher Aillon  <caillon@redhat.com>
15202
15203         * gnome/libnm_glib/libnm_glib.c:
15204         * gnome/libnm_glib/libnm_glib.h:
15205         Use guint instead of gint for callback IDs.
15206
15207 2005-10-12  Christopher Aillon  <caillon@redhat.com>
15208
15209         * gnome/applet/applet.c:
15210         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
15211         every 1000ms.  It will unconditionally call nmwa_update_state which
15212         kills the existing animation timeout and registers a new one with a
15213         callback to draw a new frame every 100ms.  There are 11 connecting
15214         icon frames, so the last 2 frames kept getting dropped.  Only reset
15215         the animation timeout if we aren't animating.
15216
15217 2005-10-11  Dan Williams  <dcbw@redhat.com>
15218
15219         * gnome/applet/applet-dbus-devices.c
15220                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15221                         We want to grab the product & vendor from net.physical_dev
15222                         rather than info.parent.
15223
15224 2005-10-11  Dan Williams  <dcbw@redhat.com>
15225
15226         * src/NetworkManagerDevice.c
15227                 - Use the driver's WE version for scanning rather than
15228                         the WE version NM was compiled with.  Fixes random
15229                         crashes in iw_scan () in iwlib.
15230
15231 2005-10-10  Dan Williams  <dcbw@redhat.com>
15232
15233         * Remove nm_system_load_device_modules() from backend files
15234                 and from NetworkManager.c
15235
15236 2005-10-10  Dan Williams  <dcbw@redhat.com>
15237
15238         * src/NetworkManagerPolicy.c
15239                 - Fix some bugs introduced by the capabilities patch
15240
15241 2005-10-10  Dan Williams  <dcbw@redhat.com>
15242
15243         * gnome/applet/applet-dbus-info.c
15244                 - (nmi_dbus_get_network_key): hide the menu when putting up
15245                         the keyring dialog.  (not sure if the code is right...)
15246
15247 2005-10-09  Dan Williams  <dcbw@redhat.com>
15248
15249         Patch from Bill Moss <bmoss@clemson.edu>
15250         * src/NetworkManagerDevice.c
15251                 - (nm_device_set_user_key_for_network): don't try to set auth
15252                         mode on the AP from the allowed list if it's NULL
15253
15254 2005-10-09  Dan Williams  <dcbw@redhat.com>
15255
15256         * Replace the "driver support level" stuff with capabilities.  The
15257                 capability field is a bitfield that is more flexible than the
15258                 old driver support level thing.  It's mostly so we can easily
15259                 figure out what supports WPA and what doesn't, but should be
15260                 quite useful later.
15261
15262 2005-10-09  Dan Williams  <dcbw@redhat.com>
15263
15264         * test/nmtest.c
15265                 - Removed
15266
15267         * test/nm-tool.c
15268           test/Makefile.am
15269                 - Added new "nm-tool" tool that gives quite a bit more
15270                         information
15271
15272 2005-10-07  Robert Love  <rml@novell.com>
15273
15274         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15275           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15276           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15277           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15278           appropriate
15279
15280 2005-10-07  Robert Love  <rml@novell.com>
15281
15282         * configure.in: Change our compile flags for the betterment of mankind.
15283           Add "-Wstrict-prototypes" because we comply anyhow and missing a
15284           prototype is very bad on 64-bit platforms as types default to int but
15285           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15286           "-Wmissing-declarations" to warn if we define an exported function
15287           but fail to put it in a header.
15288
15289 2005-10-07  Robert Love  <rml@novell.com>
15290
15291         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15292           by the name nm_update_device_wireless_timeouts() and once tried,
15293           without success, to steal my pet turtle.
15294
15295 2005-10-07  Robert Love  <rml@novell.com>
15296
15297         * Cleanup prototypes: put some functions in header files and mark
15298           others as 'static' -- feel free to invert
15299         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15300           nm_vpn_manager_vpn_connection_list_copy()
15301         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15302           nm_vpn_service_get_dbus_connection()
15303         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15304           nm_vpn_manager_vpn_connection_list_copy()
15305         * src/vpn-manager/nm-vpn-service.c: make
15306           nm_vpn_service_act_request_failed() and
15307           nm_vpn_service_stage2_daemon_wait() static
15308         * src/vpn-manager/nm-vpn-service.h: add prototype for
15309           nm_vpn_service_get_dbus_connection()
15310
15311 2005-10-06  Christopher Aillon  <caillon@redhat.com>
15312
15313         * gnome/applet/applet.c:
15314         * gnome/applet/applet.h:
15315         * gnome/applet/icons/Makefile.am:
15316         Convey information about the current connection stage in the
15317         icons themselves instead of creating a separate progress bar.
15318
15319 2005-10-04  Robert Love  <rml@novell.com>
15320
15321         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15322           convert an ether_addr structure's MAC into a string, because the
15323           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15324           versus 07:3B:04, while the former will not.
15325
15326 2005-10-04  Robert Love  <rml@novell.com>
15327
15328         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15329           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15330           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15331           default route in the 'Connection Information' dialog, send primary
15332           and secondary name servers in in "getProperties" DBUS method, add
15333           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
15334           secondary domain name servers are crucial pieces of information
15335           that a user might need in debugging a network problem.
15336
15337 2005-10-04  Robert Love  <rml@novell.com>
15338
15339         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15340           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15341           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15342           default route in the 'Connection Information' dialog, send default
15343           route in "getProperties" DBUS method, add network_device_set_route(),
15344           and network_device_get_route().  The Gateway is a crucial piece of
15345           connection-related information that a user might need in debugging a
15346           network problem.
15347
15348 2005-10-03  Robert Love  <rml@novell.com>
15349
15350         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15351           NULL.
15352
15353 2005-10-02  Dan Williams  <dcbw@redhat.com>
15354
15355         * Shorten time taken to sleep by fastpathing bits of device deactivation
15356                 necessary for sleep.
15357
15358         * Fix issue where deactivating a device might deactivate the active
15359                 VPN connection, even if the VPN was not using the device.
15360
15361 2005-10-02  Dan Williams  <dcbw@redhat.com>
15362
15363         * gnome/applet/applet.c
15364                 - Adjust signal strength -> icon mapping values slightly
15365                         (so that 51% signal doesn't show a 75% icon) by adding
15366                         5% to the values. ex: > 5% now shows 25% icon, > 30%
15367                         shows 50% icon, etc.
15368
15369 2005-09-29  Robert Love  <rml@novell.com>
15370
15371         * src/NetworkManager.c: removed unused variable.
15372
15373 2005-09-28  Dan Williams  <dcbw@redhat.com>
15374
15375         Support for named + DBus, using Red Hat DBus patches for named.  You
15376         can find those patches here, with "dbus" in the patch's filename:
15377
15378                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15379
15380         Don't forget the named dbus service file either.
15381
15382         Instead of writing a config file and spawing a named process, NM will
15383         use an already-running dbus-enabled named if it finds one.  NM will
15384         update named's forwarder configuration on the fly using dbus.
15385
15386         If there is no dbus-enabled named running, NM will automatically fall
15387         back to writing the most-recent DNS server information to /etc/resolv.conf
15388         and calling nm_system_update_dns() to kick the system's resolver.
15389
15390         Accordingly, all named-related configure-time options have been removed.
15391
15392 2005-09-26  Robert Love  <rml@novell.com>
15393
15394         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15395           ISDN support!
15396         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15397           bug in error path if "ASKPASSWORD" is "no".
15398
15399 2005-09-26  Robert Love  <rml@novell.com>
15400
15401         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15402           comment in /etc/resolv.conf -- ';' is not.
15403
15404 2005-09-19  Dan Williams  <dcbw@redhat.com>
15405
15406         * src/backends/NetworkManagerRedHat.c:
15407         * src/backends/NetworkManagerDebian.c:
15408         * src/backends/NetworkManagerSlackware.c:
15409         * src/backends/NetworkManagerGentoo.c:
15410         * src/backends/NetworkManagerSUSE.c:
15411         Fix invocations of "/sbin/ip address" to use short form instead
15412
15413 2005-09-19  Christopher Aillon  <caillon@redhat.com>
15414
15415         * src/nm-dbus-device.c: Don't assert when getting
15416         addresses of a not yet connected interface.
15417
15418         * gnome/applet/applet.c: Free icons if loading fails.
15419         Use translator-credits so translators can make themselves known.
15420
15421 2005-09-15  Christopher Aillon  <caillon@redhat.com>
15422
15423         * src/NetworkManagerAP.c:
15424         * src/NetworkManagerAP.h:
15425         * src/NetworkManagerDevice.c:
15426         Set a blacklist for certain common manufacturer default ESSIDs:
15427         APs with these ESSIDs are extremely likely to be completely
15428         different networks: connecting to one should not make NM
15429         auto-connect to every other AP with the same default ESSID.
15430
15431 2005-09-12  Christopher Aillon  <caillon@redhat.com>
15432
15433         * gnome/applet/wireless-applet.glade:
15434         The passphrase entry should also activate the default
15435
15436         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15437
15438         * gnome/applet/applet-dbus-devices.c:
15439         * gnome/applet/applet.c:
15440         * gnome/applet/nm-device.c:
15441         * gnome/applet/nm-device.h:
15442         * src/NetworkManagerUtils.c:
15443         * src/NetworkManagerUtils.h:
15444         * src/nm-dbus-device.c:
15445         I've got a fever, and the only cure for it is less ioctl.
15446         Make NM push IP data rather than make the applet open a socket
15447         to the device.
15448
15449 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15450
15451         * gnome/applet/applet.c:
15452         * gnome/applet/applet-dbus-devices.c:
15453         * gnome/applet/applet-dbus-info.c:
15454         * gnome/applet/passphrase-dialog.c:
15455         * gnome/libnm_glib/libnm_glib.c:
15456         * gnome/vpn-properties/nm-vpn-properties.c:
15457         * src/autoip.c:
15458         * src/backends/NetworkManagerRedHat.c:
15459         * src/named-manager/nm-named-manager.c:
15460         * src/NetworkManagerAPList.c:
15461         * src/NetworkManager.c:
15462         * src/NetworkManagerDbus.c:
15463         * src/NetworkManagerDevice.c:
15464         * src/NetworkManagerPolicy.c:
15465         * src/NetworkManagerSystem.c:
15466         * src/nm-dbus-device.c:
15467         * src/nm-dbus-nm.c:
15468         * src/vpn-manager/nm-vpn-manager.c:
15469         * src/vpn-manager/nm-vpn-service.c:
15470         * test/libnm_glib_test.c:
15471         * test/nminfotest.c:
15472         * test/nmtestdevices.c:
15473         Fix a bunch of 'unused variable' compiler warnings
15474
15475         * NetworkManager.h:
15476         * gnome/applet/applet-dbus-info.c:
15477         * gnome/applet/applet-dbus-info.h:
15478         * gnome/applet/applet.c:
15479         * gnome/applet/applet.h:
15480         * src/NetworkManager.c:
15481         * src/NetworkManagerDbus.c:
15482         * src/NetworkManagerDbus.h:
15483         * src/NetworkManagerDevice.c:
15484         * src/NetworkManagerDevice.h:
15485         * src/NetworkManagerMain.h:
15486         * src/NetworkManagerWireless.c:
15487         * src/NetworkManagerWireless.h:
15488         * src/nm-dbus-nm.c:
15489         Make NetworkManager be smart about how frequently to scan
15490         based on its current state.  Remove the UI for choosing when
15491         to scan.  Scanning still may disabled completely by the user
15492         via the "Wireless Enabled" menu item.
15493
15494 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15495
15496         * gnome/applet/applet.c:
15497         Also overlay the vpn connecting icons onto the wired icon,
15498         when appropriate.
15499
15500         * gnome/vpn-properties/nm-vpn-properties.glade:
15501         Clean up a few strings to use better grammar and proper casing.
15502
15503 2005-09-08  Christopher Aillon  <caillon@redhat.com>
15504
15505         * gnome/applet/vpn-connection.c:
15506         * gnome/applet/vpn-connection.h:
15507         Add nmwa_vpn_connection_is_activating ()
15508
15509         * gnome/applet/applet.c:
15510         * gnome/applet/applet.h:
15511         * gnome/applet/icons/nm-vpn-connecting*.png:
15512         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15513         the user know something's happening between clicking the VPN item and it
15514         actually being connected.
15515
15516 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15517
15518         * gnome/applet/applet-dbus-info.c: need to free attributes in the
15519         failure case as well.
15520
15521 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
15522
15523         * gnome/panel/eggtrayicon.[ch]:
15524         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15525
15526 2005-09-07  Dan Williams  <dcbw@redhat.com>
15527
15528         Patch from Bill Moss <bmoss@clemson.edu>
15529         * src/applet-dbus.c
15530                 - (nmwa_dbus_filter): strip whitespace from beginning
15531                         and end of VPN login banner
15532
15533 2005-09-07  Dan Williams  <dcbw@redhat.com>
15534
15535         * The great VPN Manager rewrite of 2005
15536
15537 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15538
15539         * gnome/applet/menu-items.c:
15540         * gnome/applet/nm-device.c:
15541         * gnome/applet/wireless-network.c:
15542         * gnome/libnm_glib/libnm_glib.c:
15543         * src/NetworkManagerDbusUtils.c:
15544         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15545         g_malloc0 doesn't return NULL
15546
15547 2005-09-06  Dan Williams  <dcbw@redhat.com>
15548
15549         Patch from Tomislav Vujec <tvujec@redhat.com>
15550         * src/NetworkManagerDevice.c
15551                 - (nm_get_device_by_udi): don't return a device when we
15552                         actually didn't find what we were looking for
15553
15554 2005-09-06  Christopher Aillon  <caillon@redhat.com>
15555
15556         * gnome/applet/applet-dbus-devices.c:
15557         * gnome/applet/applet-dbus-devices.h:
15558         * gnome/applet/applet-dbus.c:
15559         * src/NetworkManagerDbus.c:
15560         * src/NetworkManagerDbus.h:
15561         * src/NetworkManagerDevice.c:
15562         * src/nm-dbus-device.c:
15563         Make NM push updates about active device strength when it changes,
15564         rather than having the applet poll every 2s.
15565
15566 2005-09-05  Christopher Aillon  <caillon@redhat.com>
15567
15568         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15569         network_device_set_strength
15570
15571 2005-09-04  Dan Williams  <dcbw@redhat.com>
15572
15573         Patch from Bill Nottingham <notting@redhat.com>
15574         * src/NetworkManagerDevice.c
15575                 - (nm_device_activation_cancel): reset the quit_activation flag
15576
15577 2005-09-04  Dan Williams  <dcbw@redhat.com>
15578
15579         * src/nm-activation-request.c
15580                 - (nm_act_request_unref): actually free the structure,
15581                         which we didn't seem to be doing before
15582
15583 2005-09-04  Dan Williams  <dcbw@redhat.com>
15584
15585         Patch from John Palmieri <johnp@redhat.com>
15586         * gnome/applet/applet-dbus-devices.c
15587                 - Fix up unreffing of DBusMessage objects
15588
15589 2005-09-04  Dan Williams  <dcbw@redhat.com>
15590
15591         Patch from John Palmieri <johnp@redhat.com>
15592         * gnome/applet/nm-device.c
15593                 - (nm_device_unref): clear network_device's memory _before_ freeing it
15594
15595 2005-09-02  Christopher Aillon  <caillon@redhat.com>
15596
15597         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15598
15599 2005-09-02  Bill Nottingham  <notting@redhat.com>
15600
15601         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15602
15603 2005-09-01  Dan Williams  <dcbw@redhat.com>
15604
15605         * src/NetworkManager.c
15606                 - (nm_remove_device_from_list): rename to nm_remove_device
15607                 - (nm_hal_device_removed): call nm_remove_device()
15608
15609         * src/NetworkManagerDevice.c
15610                 - Change the NMWirelessScanCB member 'reschedule' which
15611                         wasn't used to 'force' to indicate that we need to
15612                         force a scan when adding a device
15613
15614         * src/nm-dbus-nm.c
15615                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15616                         from the device list
15617                 - (nm_dbus_nm_wake): Re-add all devices to the device list
15618
15619 2005-09-01  Robert Love  <rml@novell.com>
15620
15621         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15622           and the check "!iface" in the error case is probably never true.
15623
15624 2005-09-01  Dan Williams  <dcbw@redhat.com>
15625
15626         Patch from Bill Nottingham <notting@redhat.com>
15627         * src/backends/NetworkManagerRedHat.c
15628                 - Add initial dialup support to Red Hat/Fedora backend
15629
15630 2005-09-01  Dan Williams  <dcbw@redhat.com>
15631
15632         * gnome/applet/applet-dbus-devices.c
15633                 - Sort both wireless networks and devices again, which got
15634                         broken when removing threading
15635
15636 2005-09-01  Christopher Aillon  <caillon@redhat.com>
15637
15638         * gnome/applet/applet.c:
15639         Only show the "Stop/Start All Wireless Devices" menuitem
15640         if we actually have wireless devices.
15641
15642         * gnome/applet/applet-dbus-info.c:
15643         * gnome/applet/applet.c:
15644         * gnome/applet/other-network-dialog.c:
15645         * gnome/applet/vpn-password-dialog.c:
15646         Drop the gtk_dialog_run () calls in favor of connecting to
15647         "response" signals, needed now that the applet is not threaded.
15648
15649 2005-08-31  Dan Williams  <dcbw@redhat.com>
15650
15651         Patch from Bill Moss <bmoss@clemson.edu>
15652         * src/NetworkManagerDevice.c
15653                 - (nm_device_wireless_scan): fix scan timeout values
15654
15655 2005-08-30  Dan Williams  <dcbw@redhat.com>
15656
15657         * gnome/applet/wireless-applet.glade
15658                 - HIG-ify the Other Wireless Networks dialog a bit more
15659                 - Fix some potential segfaults in the info dialog
15660
15661 2005-08-30  Dan Williams  <dcbw@redhat.com>
15662
15663         * gnome/applet/applet-dbus-devices.c
15664                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15665
15666 2005-08-30  Dan Williams  <dcbw@redhat.com>
15667
15668         * gnome/applet/applet-dbus.[ch]
15669                 - Remove all the nmwa_dbus_call_method_xxxx functions since
15670                         they weren't being used anyway
15671
15672 2005-08-30  Bastien Nocera  <hadess@hadess.net>
15673
15674         * test/nmtestdevices.c: (print_usage), (main):
15675         Check the number of arguments, and fix a typo
15676
15677 2005-08-29  Dan Williams  <dcbw@redhat.com>
15678
15679         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15680         * gnome/applet/applet.c
15681                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15682
15683 2005-08-29  Dan Williams  <dcbw@redhat.com>
15684
15685         * gnome/applet/*
15686                 - Don't use threads any more.  Anything that blocks
15687                         (like gtk_dialog_run()) will  have to get fixed up which
15688                         should happen quickly.  We really only had threads to make
15689                         the animation smooth, and when everything got converted over
15690                         to DBus Pending Calls, the need for threads kind of went away
15691
15692 2005-08-29  Christopher Aillon  <caillon@redhat.com>
15693
15694         * gnome/applet/applet.c: Draw VPN connections as radio items
15695         since we don't yet support multiple VPNs.
15696         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15697         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15698
15699 2005-08-29  Dan Williams  <dcbw@redhat.com>
15700
15701         Patch from j@bootlab.org
15702         - Make --without-named work
15703         - Make --with-dhcdbd work correctly
15704
15705 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
15706
15707         * configure.in: Added "ca" to ALL_LINGUAS.
15708
15709 2005-08-26  Christopher Aillon  <caillon@redhat.com>
15710
15711         * Fix up VPN state handling between the applet and NetworkManager,
15712                 so that the applet doesn't show a VPN as connected when one
15713                 really is not
15714                         - The applet no longer has a pointer to the active VPN's
15715                                 name, but tracks each VPNs state individually
15716                         - NM no longer has a "getActiveVPNConnection" method
15717                         - NM no longer broadcasts the "VPNConnectionChange" signal
15718                         - NM now broadcasts a "VPNConnectionStateChange" signal
15719                                 whenever the state of a VPN changes
15720
15721 2005-08-26  Dan Williams <dcbw@redhat.com>
15722
15723         * gnome/applet/applet-dbus-devices.c
15724           gnome/applet/applet-dbus-vpn.c
15725                 - Remove calls to dbus_pending_call_ref() because we already
15726                         "own" the pending call
15727                 - Remove calls to dbus_pending_call_get_completed() because
15728                         when we are in the callback, the pending call is completed
15729                         by definition
15730
15731 2005-08-22  Dan Williams <dcbw@redhat.com>
15732
15733         Patch by Bill Moss <bmoss@clemson.edu>
15734         * src/dhcp-manager/nm-dhcp-manager.c
15735                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15736                         some time to send out a RELEASE if they like
15737
15738 2005-08-22  Dan Williams <dcbw@redhat.com>
15739
15740         Noticed by Bill Moss <bmoss@clemson.edu>
15741         * src/NetworkManagerDbus.c
15742                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15743                         instead of just cancelling its activation
15744
15745         * src/NetworkManagerDevice.c
15746                 - (nm_device_deactivate): some small cleanups
15747                 - (nm_device_set_user_key_for_network): deactivate the device
15748                         instead of just cancelling its activation
15749
15750 2005-08-22  Dan Williams <dcbw@redhat.com>
15751
15752         Noticed by Bill Moss <bmoss@clemson.edu>
15753         * src/NetworkManagerDevice.c
15754                 - (nm_device_wireless_scan): fix scan timeout, we were
15755                         waiting way too long for scans to complete
15756
15757 2005-08-22  Dan Williams <dcbw@redhat.com>
15758
15759         Patch from j@bootlab.org:
15760         * src/backends/NetworkManagerDebian.c
15761                 - Make the Debian backend work for static IP again
15762
15763 2005-08-20  Christopher Aillon  <caillon@redhat.com>
15764
15765         * gnome/applet/other-network-dialog.c:
15766         The "Create New Network" and "Connect to Other Network"
15767         dialogs share alot of code, but shouldn't share a window
15768         title.  Give them different ones.
15769
15770         * gnome/applet/wireless-applet.glade:
15771         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15772         Some more minor UI tweaks.
15773
15774 2005-08-19  Christopher Aillon  <caillon@redhat.com>
15775
15776         * gnome/applet/other-network-dialog.c:
15777         * gnome/applet/wireless-applet.glade:
15778         Also need mnemonic widgets, and underline enabled.
15779
15780 2005-08-19  Dan Williams <dcbw@redhat.com>
15781
15782         * vpn-daemons/vpnc/nm-vpnc-service.c
15783                 - (vpnc_watch_cb): remove no-longer-relevant comment
15784                 - (write_config_option): new function, helper to write
15785                         config options to vpnc's stdin
15786                 - (nm_vpnc_config_write): use the new helper, make the
15787                         code shorter
15788
15789 2005-08-19  Christopher Aillon <caillon@redhat.com>
15790
15791         * gnome/applet/passphrase-dialog.c:
15792         * gnome/applet/wireless-applet.glade:
15793         Make the passphrase dialog response based, and treat
15794         responses other than OK (such as Esc, [X]) as a cancel.
15795
15796 2005-08-18  Christopher Aillon <caillon@redhat.com>
15797
15798         * initscript/Gentoo/NetworkManager:
15799         * initscript/RedHat/NetworkManager:
15800         * initscript/RedHat/NetworkManagerDispatcher:
15801         * initscript/SUSE/networkmanager:
15802         CVS remove these in place of .in replacements
15803
15804         * configure.in:
15805         * initscript/Gentoo/NetworkManager.in:
15806         * initscript/RedHat/NetworkManager.in:
15807         * initscript/RedHat/NetworkManagerDispatcher.in:
15808         * initscript/SUSE/networkmanager.in:
15809         These scripts now are generated so they work still when
15810         NM is built using a bindir other than /usr/bin
15811
15812 2005-08-18  Dan Williams <dcbw@redhat.com>
15813
15814         * gnome/applet/main.c
15815                 - Revert previous change for --no-session since
15816                         --sm-disable does the same thing
15817
15818 2005-08-18  Dan Williams <dcbw@redhat.com>
15819
15820         * gnome/applet/applet-dbus-info.c
15821                 - (nmi_dbus_create_error_message): new function
15822                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15823                         functions.  Also don't check for both device _and_ network before
15824                         asking for a user's key, because we may not have gotten all our
15825                         networks back from NM quite yet (due to the dbus pending calls
15826                         coming in later).  Fixes a hang in NM/nm-applet.
15827
15828         * src/NetworkManagerDbus.c
15829                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15830                         slightly more sane manner, even though we are still broken for
15831                         certain other error conditions.
15832                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15833                         to the info-daemon too
15834
15835         * src/NetworkManagerDevice.c
15836                 - Fix some debug messages to be info messages instead
15837
15838 2005-08-18  Dan Williams <dcbw@redhat.com>
15839
15840         * gnome/applet/main.c
15841                 - Add new "--no-session" parameter that disables applet
15842                         session management, ie for testing
15843
15844 2005-08-18  Christopher Aillon <caillon@redhat.com>
15845
15846         * gnome/applet/other-network-dialog.c:
15847         * gnome/applet/wireless-applet.glade: More mnemonics
15848
15849 2005-08-17  Robert Love  <rml@novell.com>
15850
15851         * initscript/SUSE/networkmanager: update
15852
15853 2005-08-17  Dan Williams  <dcbw@redhat.com>
15854
15855         * Tag NM_0_4_1_RELEASE
15856
15857 2005-08-17  Christopher Aillon  <caillon@redhat.com>
15858
15859         * gnome/applet/applet.c: More translatable string cleanup
15860
15861
15862 2005-08-17  Dan Williams  <dcbw@redhat.com>
15863
15864         * gnome/applet/applet-dbus-info.c
15865                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15866                         from the dbus message, which tells us to unconditionally
15867                         ask the user for a new key.  Otherwise, we pull the key from
15868                         the keyring and return it.  If we fail to get the key from the
15869                         keyring, we ask the user for a new key.
15870                 - (nmi_dbus_get_network_key): new function to grab the key for
15871                         an essid from the keyring.
15872                 - (nmi_dbus_get_network_properties): don't access the keyring here.
15873                         Also, don't return any key in the dbus message.
15874
15875         * src/NetworkManagerDbus.[ch]
15876                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
15877                         indicate that we unconditionally want a new key.  This function
15878                         is now also used to get keys from the info-daemon which are
15879                         pre-stored, not just for asking the user for a new key.  The
15880                         "new_key" parameter indicates whether or not we wish to ask the
15881                         user for a new key.
15882                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
15883                         info-daemon in the return message, so use NULL instead.  The
15884                         key will be filled in at connect time by calling
15885                         nm_dbus_get_user_key_for_network()
15886
15887         * src/NetworkManagerDevice.c
15888                 - (nm_device_wireless_configure): update for "new_key" param to
15889                         nm_dbus_get_user_key_for_network().  We initially set new_key
15890                         to FALSE to see if we have a stored key in the info-daemon, but
15891                         if the connection is unsuccessful at this stage we request a
15892                         new one
15893
15894 2005-08-17  Dan Williams  <dcbw@redhat.com>
15895
15896         * gnome/applet/icons/nm-no-connection.png
15897           gnome/applet/icons/nm-device-wired.png
15898                 - Use Diana's new RJ45 connector icons
15899
15900 2005-08-17  Dan Williams  <dcbw@redhat.com>
15901
15902         * src/NetworkManagerPolicy.c
15903                 - (nm_policy_device_change_check): clarify switching rules if
15904                         both new and old devices are valid; mainly, don't switch
15905                         away from user-requested wireless connection back to a wired
15906                         one
15907
15908 2005-08-17  Dan Williams  <dcbw@redhat.com>
15909
15910         * gnome/applet/Makefile.am
15911                 - Relocate the applet to /usr/bin since it is no longer
15912                         executed by anything, but directly by the user
15913
15914 2005-08-17  Dan Williams  <dcbw@redhat.com>
15915
15916         Patch from Bill Moss <bmoss@clemson.edu>
15917
15918         * gnome/applet/applet-dbus-info.[ch]
15919                 - (nmi_save_network_info): save timestamp for network if it
15920                         was a change requested by the user
15921                 - (nmi_dbus_update_network_info): get user_requested from dbus
15922                         message and pass to nmi_save_network_info()
15923
15924         * gnome/applet/applet.c
15925                 - (nmwa_update_network_timestamp): remove
15926                 - (nmwa_menu_item_activate): don't set timestamp on networks
15927                         here, only after a successful connect in nmi_save_network_info()
15928
15929         * src/NetworkManagerDbus.[ch]
15930                 - (nm_dbus_update_network_info): pass user_requested into the 
15931                         dbus message
15932
15933         * src/NetworkManagerPolicy.c
15934                 - (nm_policy_activation_finish): pass user_requested to
15935                         nm_dbus_update_network_info()
15936
15937 2005-08-16  Robert Love  <rml@novell.com>
15938
15939         * gnome/applet/applet.c: Better "Dial Up" menu item.
15940
15941 2005-08-16  Robert Love  <rml@novell.com>
15942
15943         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
15944           "Connection Information" menu item.
15945
15946 2005-08-16  Dan Williams  <dcbw@redhat.com>
15947
15948         Patch from j@bootlab.org
15949         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
15950
15951         * configure.in: allow specifying the path to dhcdbd
15952
15953 2005-08-16  Robert Love  <rml@novell.com>
15954
15955         Patch from j@bootlab.org
15956         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
15957           src/backends/interface_parser.h: Debian dialup support.
15958
15959 2005-08-16  Christopher Aillon  <caillon@redhat.com>
15960
15961         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
15962         * gnome/applet/applet.c: Add some mnemonics for VPNC
15963
15964         * vpn-daemons/.cvsignore: fix this up a little bit
15965
15966 2005-08-16  Robert Love  <rml@novell.com>
15967
15968         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
15969           support.
15970
15971 2005-08-16  Christopher Aillon  <caillon@redhat.com>
15972
15973         * gnome/applet/applet.c: Split markup out of translatable strings
15974         and clean up logic a little bit.  (fixes #309012)
15975
15976 2005-08-15  Christopher Aillon  <caillon@redhat.com>
15977
15978         * gnome/vpn-properties/nm-vpn-properties.c:
15979         * gnome/vpn-properties/nm-vpn-ui-interface.h:
15980         * vpn-daemons/vpnc/properties/nm-vpnc.c:
15981         Makeshift fix to remove newlines from translatable strings.
15982         Note that we now return an allocated string, so callers of
15983         get_confirmation_details () must now call g_free () on the
15984         result. (fixes #309033).
15985
15986 2005-08-12  Robert Love  <rml@novell.com>
15987
15988         * gnome/applet/applet-dbus.c: remove newlines from translatable
15989           strings--not needed here anyway. (fix b.g.o #309011)
15990         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
15991
15992 2005-08-11  Robert Love  <rml@novell.com>
15993
15994         * gnome/applet/applet.c: mark string as translatable.
15995
15996 2005-08-11  Robert Love  <rml@novell.com>
15997
15998         * initscript/SUSE/networkmanager: update.
15999
16000 2005-08-11  Dan Williams  <dcbw@redhat.com>
16001
16002         * src/nm-dhcp-manager.c
16003                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16004                         an gateway returned from DHCP, try to use the address of the DHCP
16005                         server as the gateway instead.  Found by Ralf Ertzinger.
16006
16007 2005-08-10  Robert Love  <rml@novell.com>
16008
16009         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16010           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16011
16012 2005-08-10  Dan Williams  <dcbw@redhat.com>
16013
16014         Patch from Bill Moss <bmoss@clemson.edu>
16015         * Consolidate writes of access point information updates to the info daemon
16016                 so that we only do it when the connection to the access point was
16017                 successful.  Also consolidates updates to GConf in the Gnome applet.
16018
16019         * src/nm-netlink-monitor.c
16020                 - Silence compile warning when calling g_object_new()
16021
16022 2005-08-08  Dan Williams  <dcbw@redhat.com>
16023
16024         Patch from Steev <steev@steev.net>:
16025         * src/backends/NetworkManagerGentoo.c
16026                 - Stub new dialup backend functions
16027
16028 2005-08-08  Dan Williams  <dcbw@redhat.com>
16029
16030         Patch from Colin Slater:
16031         * src/backends/NetworkManagerGentoo.c
16032                 - (nm_system_update_dns): Fix exit status check for restarting
16033                         nscd
16034
16035 2005-08-05  Robert Love  <rml@novell.com>
16036
16037         * NetworkManager.h,
16038           gnome/applet/applet-dbus-devices.c,
16039           gnome/applet/applet-dbus-devices.h,
16040           gnome/applet/applet-dbus.c,
16041           gnome/applet/applet.c,
16042           gnome/applet/applet.h,
16043           src/NetworkManager.c,
16044           src/NetworkManagerMain.h,
16045           src/NetworkManagerSystem.h,
16046           src/backends/NetworkManagerRedHat.c,
16047           src/backends/NetworkManagerSuSE.c,
16048           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16049
16050 2005-08-05  Robert Love  <rml@novell.com>
16051
16052         * gnome/applet/other-network-dialog.c: default the adhoc network to the
16053           machine's hostname to make adhoc creation idiot-proof.
16054
16055 2005-08-04  Robert Love  <rml@novell.com>
16056
16057         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16058           freed.
16059
16060 2005-08-04  Dan Williams  <dcbw@redhat.com>
16061
16062         * gnome/applet/applet-dbus-info.c
16063           gnome/applet/applet-dbus-info.h
16064                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16065                         to store key, key type, and auth method rather than just auth method
16066                 - (nmi_dbus_update_network_info): new function
16067                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16068
16069         * gnome/applet/passphrase-dialog.c
16070                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16071                         of saving the info ourselves
16072
16073         * gnome/libnm_glib/libnm_glib.c
16074                 - Remove the stupid version check for dbus
16075
16076         * src/NetworkManagerAP.c
16077           src/NetworkManagerAP.h
16078                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16079
16080         * src/NetworkManagerDbus.c
16081           src/NetworkManagerDbus.h
16082                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16083                         more than just the auth method
16084
16085         * src/NetworkManagerDevice.c
16086                 - Update network info at the appropriate times
16087
16088 2005-07-29  Ray Strode  <rstrode@redhat.com>
16089
16090         * src/NetworkManager.c (nm_info_handler): don't use input as format
16091         string (Spotted by Ian Jackson).
16092
16093 2005-07-27  Dan Williams  <dcbw@redhat.com>
16094
16095         * src/nm-dbus-nm.c
16096           src/nm-dbus-net.c
16097                 - Random cleanups of spacing
16098
16099         * gnome/applet/applet.h
16100           gnome/applet/other-network-dialog.c
16101           gnome/applet/passphrase-dialog.c
16102                 - Conslidate usage of NMWAEncryptionKeyTypes enum
16103
16104         Patch from Bill Moss:
16105                 - Make Other Wireless Networks work again with encryption keys
16106
16107 2005-07-26  Dan Williams  <dcbw@redhat.com>
16108
16109         Patch from Steev <steev@steev.net>:
16110         * src/backends/NetworkManagerGentoo.c
16111           src/backends/Makefile.am
16112                 - Fix up Gentoo backend
16113
16114 2005-07-26  Robert Love  <rml@novell.com>
16115
16116         * src/backends/NetworkManagerSuSE.c: misc. cleanup
16117
16118 2005-07-25  Robert Love  <rml@novell.com>
16119
16120         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16121           in the same group as the wireless networks, since they are all
16122           mutually exclusive.
16123
16124 2005-07-24  Ray Strode  <rstrode@redhat.com>
16125
16126         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
16127         remove unneeded NULL arg from g_object_new().  Any
16128         warnings caused by not having the extra NULL are just a
16129         result of a bug in glib 2.7.0 - 2.7.2.
16130
16131 2005-07-22  Robert Love  <rml@novell.com>
16132
16133         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16134
16135 2005-07-22  Robert Love  <rml@novell.com>
16136
16137         * src/nm-netlink-monitor.c: g_object_new() needs at least three
16138           parameters (gcc 4.0.2 warning fix).
16139
16140 2005-07-18  Robert Love  <rml@novell.com>
16141
16142         Suggested by Aaron Bockover (abockover@novell.com)
16143         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16144           s/Ascii/ASCII
16145         * gnome/applet/passphrase-dialog.c: ditto
16146         * gnome/applet/wireless-applet.glade: ditto
16147
16148 2005-07-13  Dan Williams  <dcbw@redhat.com>
16149
16150         Patch from Ray Strode <halfline@gmail.com>
16151         * vpn-daemons/vpnc/nm-vpnc-service.c
16152                 - Don't let vpnc daemonize, fixes some races with PID file reading
16153
16154 2005-07-13  Dan Williams  <dcbw@redhat.com>
16155
16156         Patch from Ray Strode <halfline@gmail.com>
16157         * Random cleanups for strict CFLAGS
16158
16159 2005-07-07  Dan Williams  <dcbw@redhat.com>
16160
16161         Patch from Derek Atkins <warlord@MIT.EDU>
16162         * src/nm-dbus-net.c:
16163                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16164
16165 2005-07-07  Dan Williams  <dcbw@redhat.com>
16166
16167         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16168         * src/backends/NetworkManagerGentoo.c
16169                 - Gentoo backend Static IP nameserver fixes
16170                 - General Gentoo backend goodness
16171
16172 2005-07-07  Dan Williams  <dcbw@redhat.com>
16173
16174         Patch from Bastien Nocera:
16175         * gnome/applet/applet.c
16176                 - Fix up error reporting when icons or glade files are missing
16177
16178 2005-07-07  Robert Love  <rml@novell.com>
16179
16180         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16181           are not any VPN connections above it.
16182
16183 2005-07-07  Robert Love  <rml@novell.com>
16184
16185         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16186
16187 2005-07-05  Robert Love  <rml@novell.com>
16188
16189         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16190           zero.
16191
16192 2005-07-05  Robert Love  <rml@novell.com>
16193
16194         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16195           on wired or unencrypted wireless.
16196
16197 2005-07-01  Robert Love  <rml@novell.com>
16198
16199         * src/NetworkManagerSystem.c: Print the error via strerror().
16200
16201 2005-06-30  Robert Love  <rml@novell.com>
16202
16203         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16204           then exit if the glade file is not found.  currently the application
16205           just hangs.
16206
16207 2005-06-30  Robert Love  <rml@novell.com>
16208
16209         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16210           explicitly up all interfaces on wake from sleep.
16211
16212 2005-06-30  Robert Love  <rml@novell.com>
16213
16214         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16215           with information about the currently active connection.
16216         * gnome/applet/applet.h: (ditto)
16217         * gnome/applet/wireless-applet.glade: (ditto), new file
16218
16219 2005-06-30  Robert Love  <rml@novell.com>
16220
16221         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16222         * src/nm-dbus-nm.c: print when we sleep and wake up.
16223         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16224         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16225           in /sbin unless D-BUS is, folks).
16226         * README: update to reflect nm-applet replacing NetworkManagerInfo.
16227
16228 2005-06-27  Robert Love  <rml@novell.com>
16229
16230         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16231           case.
16232
16233 2005-06-27  Robert Love  <rml@novell.com>
16234
16235         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16236           items radios.
16237
16238 2005-06-26  Robert Love  <rml@novell.com>
16239
16240         * src/NetworkManagerDevice.c: be specific about which device in
16241           nm_info() message.
16242
16243 2005-06-23  Adam Weinberger  <adamw@gnome.org>
16244
16245         * src/nm-netlink-monitor.c: correct spelling error.
16246
16247 2005-06-23  Robert Love  <rml@novell.com>
16248
16249         * gnome/applet/applet-dbus-info.c: gnome keyring support!
16250         * gnome/applet/passphrase-dialog.c: more of that keyring!
16251
16252 2005-06-23  Robert Love  <rml@novell.com>
16253
16254         * configure.in: remove extraneous GNOMEKEYRING directives.
16255         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16256         * gnome/applet/applet.c: nmwa_icons_init: make style local.
16257         * gnome/applet/passphrase-dialog.c: whitespace.
16258
16259 2005-06-23  Robert Love  <rml@novell.com>
16260
16261         * src/NetworkManagerDevice.c: division in assignment was flipped.
16262
16263 2005-06-23  David Zeuthen  <david@fubar.dk>
16264
16265         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16266         signal to the child to indicate that we got what we wanted when we
16267         see two new-lines right after each other.
16268         (nmwa_vpn_request_password): Pass a structure with several members
16269         instead of just the passwords
16270
16271 2005-06-23  Dan Williams <dcbw@redhat.com>
16272
16273         * src/NetworkManager.c
16274           src/NetworkManagerMain.h
16275                 - (nm_get_hal_ctx): new function, move Hal initialization code here
16276                 - (nm_hal_init): new function, init libhal context then add devices
16277                 - (nm_hal_deinit): new function, clean up libhal context
16278                 - (nm_data_free): Move Hal cleanup here
16279                 - (main): check whether Hal is running, and if so, get a list of
16280                         network devices from it
16281
16282         * src/NetworkManagerDbus.c
16283                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16284                         and when it appears, get a list of network devices from it.  If
16285                         Hal goes away, clean up the libhal context
16286
16287 2005-06-22  Robert Love  <rml@novell.com>
16288
16289         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16290           permissions of scripts before executing.
16291
16292 2005-06-21  Robert Love  <rml@novell.com>
16293
16294         * initscript/SUSE/networkmanager: update.
16295         * src/backends/NetworkManagerSuSE.c: cleanup.
16296
16297 2005-06-21  Robert Love <rml@novell.com>
16298
16299         * gnome/applet/applet.c: use menu mnemonics.
16300         * gnome/applet/menu-items.c: (ditto)
16301
16302 2005-06-21  Robert Love  <rml@novell.com>
16303
16304         * applet/applet-dbus-devices.c: mark non-static functions static.
16305         * applet/applet-dbus-vpn.c: (ditto)
16306         * applet/applet.c: (ditto)
16307         * applet/nm-device.h: (ditto)
16308         * applet/other-network-dialog.c: (ditto)
16309         * applet/passphrase-dialog.c: (ditto)
16310         * NetworkManager.c: (ditto)
16311         * NetworkManagerDbus.c: (ditto)
16312         * NetworkManagerDevice.c: (ditto)
16313         * NetworkManagerPolicy.c: (ditto)
16314         * NetworkManagerUtils.c: (ditto)
16315         * NetworkManagerWireless.c: (ditto)
16316         * NetworkManagerWireless.h: (ditto)
16317         * nm-netlink-monitor.c: (ditto)
16318         * applet/applet-dbus-info.c: (ditto), add FIXME's.
16319         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16320         * autoip.c: include autoip.h.
16321         * autoip.h: new file.  define get_autoip().
16322         * nm-netlink-monitor.h: define nm_netlink_close_connection().
16323         * NetworkManagerDbus.h: remove duplicate definitions.
16324
16325 2005-06-20  Robert Love  <rml@novell.com>
16326
16327         * Makefile.am: Add missing intltool-foo.in generated files to
16328           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
16329           with the start of stuff to cleanup on 'distclea'.
16330         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16331           stuff right and 'distcheck' works.
16332         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
16333           we keep it, we need to add all of examples/* to EXTRA_DIST and do
16334           Makefile.am for each.  And systray/Makefile needs to be redone.
16335
16336 2005-06-19  Dan Williams <dcbw@redhat.com>
16337
16338         * src/NetworkManagerDevice.c
16339         - (nm_device_wireless_process_scan_results): scan every 20s when
16340           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16341
16342 2005-06-19  Dan Williams <dcbw@redhat.com>
16343
16344         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16345
16346 2005-06-18  Ray Strode <rstrode@redhat.com>
16347
16348         * src/nm-netlink-monitor.c 
16349         (nm_netlink_monitor_event_handler): check for the presence
16350         of either error condition not both. 
16351         
16352         (nm_netlink_monitor_error_handler): emit error signal if
16353         error occurs.
16354
16355         (nm_netlink_monitor_event_handler),
16356         (nm_netlink_monitor_error_handler),
16357         (nm_netlink_monitor_disconnect_handler): if an 
16358         assertion fails disconnect the event handler to prevent 
16359         infinite loops.
16360
16361         * src/nm-netlink-monitor.h: add new error condition
16362         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16363
16364 2005-06-18  Ray Strode <rstrode@redhat.com>
16365
16366         * src/nm-netlink-monitor.c 
16367         (nm_netlink_monitor_event_handler): remove bogus < 0
16368         check on unsigned value and return early if the kernel
16369         didn't send any bytes.
16370
16371 2005-06-17  Robert Love  <rml@novell.com>
16372
16373         * initscript/SUSE/networkmanager: Change the Provides and default
16374         run levels
16375
16376 2005-06-16  Dan Williams <dcbw@redhat.com>
16377
16378         Patch from Robert Love:
16379         * gnome/applet/applet.c
16380                 - Beautify some applet menu item names
16381
16382 2005-06-17  David Zeuthen  <davidz@redhat.com>
16383
16384         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16385         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16386         Also add new methods can_export, import_file and export.
16387
16388         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16389         to the main UI
16390
16391         * gnome/vpn-properties/nm-vpn-properties.c:
16392         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16393         nm-vpn-ui-interface.h.
16394         (update_edit_del_sensitivity): Also update "Export" sensitivity
16395         (add_vpn_connection): Also add new SVC_NAME column
16396         (import_settings): New function
16397         (retrieve_data_from_selected_connection): New function
16398         (edit_cb): Use retrieve_data_from_selected_connection to simplify
16399         this function
16400         (export_cb): New function
16401         (init_app): Also setup the "export" widget
16402         (main): Support the --import-service and --import-file commandline
16403         arguments
16404
16405         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16406         D-BUS 0.34
16407
16408 2005-06-16  Dan Williams <dcbw@redhat.com>
16409
16410         Patch from Robert Love:
16411         * gnome/applet/menu-items.c
16412                 - (network_menu_item_new): pass -1 as wireless network
16413                         menu items height size request rather than ascent / 2
16414
16415 2005-06-16  Dan Williams <dcbw@redhat.com>
16416
16417         * Clean up wording in Wireless Scan Methods menu items and constants
16418
16419 2005-06-16  Robert Love  <rml@novell.com>
16420
16421         * po/POTFILES.in
16422                 - remove gtkcell* files
16423
16424 2005-06-15  Dan Williams <dcbw@redhat.com>
16425
16426         Patch from Robert Love: make the applet stetic
16427
16428         * gnome/applet/Makefile.am
16429                 - Don't compile the gtkcellview and gtkcellrendererprogress files
16430
16431         * gnome/applet/gtkcellview.h
16432           gnome/applet/gtkcellview.c
16433           gnome/applet/gtkcellrendererprogress.h
16434           gnome/applet/gtkcellrendererprogress.c
16435                 - Removed
16436
16437         * gnome/applet/menu-items.c
16438                 - Progress bars are 5:1 size ratio
16439                 - Use GTK progress bars rather than internal ones
16440
16441 2005-06-15  Dan Williams <dcbw@redhat.com>
16442
16443         Patch from Robert Love:
16444         * initscript/SUSE/networkmanager
16445                 - Fix typo
16446
16447 2005-06-15  Dan Williams <dcbw@redhat.com>
16448
16449         * src/backends/NetworkManagerSuSE.c
16450           src/backends/NetworkManagerRedHat.c
16451           src/backends/NetworkManagerDebian.c
16452                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16453
16454 2005-06-15  Dan Williams <dcbw@redhat.com>
16455
16456         * src/backends/NetworkManagerDebian.c
16457                 - Add nm_system_device_get_use_dhcp() to debian backend
16458
16459         Patch from Kay Sievers:
16460         * src/backends/NetworkManagerSuSE.c
16461                 - Update debian backend for static IP nameservers
16462
16463         * src/NetworkManagerDevice.c
16464                 - Actually set the device to use static IP or DHCP rather
16465                         than always DHCP
16466
16467 2005-06-15  Dan Williams <dcbw@redhat.com>
16468
16469         Patch from Thom May:
16470         * src/backends/NetworkManagerDebian.c
16471                 - Update debian backend for static IP nameservers
16472
16473 2005-06-15  Dan Williams <dcbw@redhat.com>
16474
16475         Patches from Robert Love:
16476         * gnome/applet/wireless-applet.glade
16477                 - Tighten up wording
16478
16479         * src/NetworkManagerDevice.c
16480                 - Remove misplaced ';'
16481
16482         * configure.in
16483           initscript/Makefile.am
16484           initscript/SUSE/Makefile.am
16485           initscript/SUSE/networkmanager
16486                 - Add SUSE initscript
16487
16488 2005-06-12  David Zeuthen  <davidz@redhat.com>
16489
16490         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16491
16492         * gnome/vpn-properties/nm-vpn-properties.glade: New file
16493
16494         * gnome/vpn-properties/nm-vpn-properties.c: New file
16495
16496         * gnome/vpn-properties/Makefile.am: New file
16497
16498         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16499         array of passwords
16500
16501         * src/vpn-manager/nm-vpn-manager.c
16502         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16503         instead of just a single one
16504
16505         * src/vpn-manager/nm-dbus-vpn.c:
16506         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16507         here
16508         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16509
16510         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
16511         Change the interface here to give a list of passwords. Also, don't
16512         require username, but do require service
16513
16514         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16515         the binary for the auth-dialog and use that instead of putting up a
16516         dialog asking for a single password
16517
16518         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16519         however do remember the service
16520
16521         * gnome/applet/main.c (main): Setup i18n
16522
16523         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16524         connection to '%s'" to the tooltip if we are connected using VPN
16525         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16526         key to determine whether we the auth-dialog needs to
16527         reprompt. Also cope with the fact that the auth-dialog now returns
16528         an array of passwords.
16529         (nmwa_menu_configure_vpn_item_activate): New handler for
16530         "Configure VPN..." menu item
16531         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16532         (is_vpn_available): New function to determine if we got any
16533         NM-compatible VPN software installed
16534         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16535         items only if we have NM-compatible VPN software installed
16536         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16537         logic for detecting when VPN connections are removed
16538
16539         * gnome/applet/applet-dbus.h: Removed the prototypes for 
16540         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16541         since these are defined elsewhere
16542
16543         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16544         function used to keep track of whether the last attempt succeded
16545         (nmwa_dbus_filter): Update last_attempt according to whether the
16546         VPN connection could be established or not
16547
16548         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
16549         Change prototype to take an array of passwords, not just a single
16550         password
16551
16552         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16553         update service, not user
16554         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16555         dbus_active_vpn_name is not NULL before using it
16556         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16557         string array instead of assuming a single password
16558
16559         * gnome/applet/applet-dbus-info.c:
16560         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16561         user name; don't read from gconf
16562
16563         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
16564         VPN_NAME_FILES_DIR
16565
16566         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16567
16568         * configure.in: Add checks for gmodule-2.0.
16569         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16570         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16571         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
16572         for details
16573
16574         * vpn-daemons/Makefile.am: Removed
16575
16576         * vpn-daemons/README: New file to describe extensions points for VPN
16577         software
16578
16579 2005-06-10  Dan Williams <dcbw@redhat.com>
16580
16581         * src/backends/NetworkManagerRedHat.c
16582                 - (get_current_profile_name): new function, grab current network profile name from
16583                         /etc/sysconfig/network
16584                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16585                         update an IP4 Config structure's settings from it
16586                 - (nm_system_device_get_system_config): if we're using static IP on this device,
16587                         get DNS info from current network profile
16588
16589 2005-06-09  Dan Williams <dcbw@redhat.com>
16590
16591         Patch from Robert Love:
16592         * src/NetworkManagerDevice.c
16593           src/NetworkManagerUtils.c
16594                 - 64-bit build fixes
16595
16596 2005-06-09  Dan Williams <dcbw@redhat.com>
16597
16598         Patch from Kay Sievers and Robert Love:
16599         * configure.in
16600           src/backends/Makefile.am
16601           src/backends/NetworkManagerSuSE.c
16602                 - Add SuSE support
16603
16604 2005-06-09  Dan Williams <dcbw@redhat.com>
16605
16606         * NetworkManager.h
16607                 - Add NMWirelessScanMethod enum for scan methods
16608
16609         * gnome/applet/applet-dbus-devices.c
16610                 - (nmwa_dbus_update_scanning_enabled_cb): remove
16611                 - (nmwa_dbus_update_scanning_enabled): remove
16612                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16613                         since it got removed
16614                 - (nmwa_dbus_enable_scanning): remove
16615
16616         * gnome/applet/applet-dbus-info.c
16617                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16618                         update the wireless scanning method from NMI
16619                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16620                         method value to NetworkManager
16621                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16622
16623         * gnome/applet/applet-dbus-info.h
16624                 - Add prototype for nmi_dbus_signal_update_scan_method
16625
16626         * gnome/applet/applet.c
16627                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16628                         Wireless Scanning menu based on current wireless scan method
16629                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16630                         signal for Wireless Scanning menu items, tell NetworkManager the new method
16631                         and update our menu items to make sure the right one is checked
16632                 - (nmwa_set_scanning_enabled_cb): remove
16633                 - (nmwa_context_menu_update): remove references to pause_scanning_item
16634                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16635                         Scanning menu item
16636                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16637                         from GConf
16638                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16639                         so we get notified of preference values too
16640                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16641
16642         * gnome/applet/applet.h
16643                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16644                 - Add wireless scan method member to applet data
16645                 - Remove pause_scanning_item, add Wireless Scanning submenu
16646
16647         * src/NetworkManager.c
16648                 - (nm_data_new): default to NM_SCAN_METHOD_ON
16649                 - (main): grab scanning method from NMI if we can
16650
16651         * src/NetworkManagerDbus.c
16652                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16653                         nm_dbus_update_wireless_scan_method()
16654                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16655                         from NMI
16656                 - (nm_dbus_nmi_is_running): redundant function, removed
16657                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16658                         when NMI comes back
16659
16660         * src/NetworkManagerDevice.c
16661                 - (nm_device_is_activated): return TRUE if the device is activated
16662                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16663                         and we are activated
16664
16665         * src/nm-dbus-nm.c
16666                 - (nm_dbus_nm_set_scanning_enabled): removed
16667                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16668                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16669
16670 2005-06-09  Dan Williams <dcbw@redhat.com>
16671
16672         * NetworkManager.h
16673           src/vpn-manager/nm-vpn-service.c
16674                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16675
16676 2005-05-27  Dan Williams <dcbw@redhat.com>
16677
16678         * vpn-daemons/vpnc/nm-vpnc-service.c
16679                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16680                         Should fix the bug where the VPN connection terminates the first time.
16681
16682 2005-05-20  Dan Williams <dcbw@redhat.com>
16683
16684         * NetworkManager.h
16685                 - Differentiate VPN config signals between bad VPN config options
16686                         and bad IP config
16687
16688         * gnome/applet/applet-dbus-info.h
16689                 - Add prototypes for wireless network and vpn connection update functions
16690
16691         * gnome/applet/applet-dbus.c
16692                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16693
16694         * gnome/applet/applet.c
16695                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16696                         error signals
16697                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16698                         propogation to NetworkManager
16699                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16700                         notify propogation to NetworkManager
16701
16702         * src/NetworkManagerDbus.c
16703                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16704                         are updating so a network can be removed from it if necessary
16705
16706         * src/vpn-manager/nm-vpn-manager.c
16707                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16708
16709         * vpn-daemons/vpnc/nm-vpnc-service.c
16710                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16711                 - (nm_vpnc_dbus_signal_launch_failed): remove
16712                 - (nm_vpnc_dbus_signal_connect_failed): remove
16713                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16714                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16715                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16716                         for new generalized error signal function, remove config file stuff
16717                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16718                         we can write configuration options to it
16719                 - (nm_vpnc_config_file_generate): removed
16720                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16721                 - (nm_vpnc_config_options_validate): validate the config options we receive
16722                         from NetworkManager to block potential exploits
16723                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16724                         starting vpnc
16725                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16726                         to NetworkManager
16727
16728 2005-05-16  Dan Williams  <dcbw@redhat.com>
16729
16730         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16731                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16732                         is not "connect"
16733
16734 2005-05-16  Dan Williams  <dcbw@redhat.com>
16735
16736         Patch from Tomislav Vujec <tvujec@redhat.com>
16737         * gnome/applet/applet-dbus-info.c
16738                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16739                         GConf and pass them to NetworkManager.  New key is 'routes' under
16740                         the VPN connection, and should be a string list
16741
16742         * src/NetworkManagerSystem.c
16743                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16744                         set them on the device when we set the rest of the VPN config.  Ensure
16745                         they are in the correct format since they are passed directly to the
16746                         command line.
16747
16748         * src/backends/NetworkManagerRedHat.c
16749           src/backends/NetworkManagerDebian.c
16750                 - (nm_system_device_add_route_via_device_with_iface): new function
16751
16752         * src/vpn-manager/nm-dbus-vpn.c
16753                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16754
16755         * src/vpn-manager/nm-vpn-manager.c
16756                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16757                         them into the IP4 config functions
16758
16759 2005-05-15  Dan Williams  <dcbw@redhat.com>
16760
16761         From Filip Miletic:
16762         * po/sr.po
16763           po/sr@Latn.po
16764           configure.in
16765                 - Serbian translation added
16766
16767 2005-05-15  Dan Williams  <dcbw@redhat.com>
16768
16769         * dispatcher-daemon/NetworkManagerDispatcher.c
16770                 - (main): sync arguments with NetworkManager and the applet, now use
16771                         "--no-daemon" rather than "daemon=no"
16772                 - (nmd_print_usage): Fix script path in usage message
16773
16774 2005-05-15  Dan Williams  <dcbw@redhat.com>
16775
16776         * src/NetworkManagerDevice.[ch]
16777           src/NetworkManagerPolicy.c
16778           src/NetworkManager.c
16779           src/nm-dbus-nm.c
16780                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
16781                         longer send the DeviceNoLongerActive signal unconditionally, but only
16782                         when the device is actually active.
16783
16784         * dispatcher-daemon/NetworkManagerDispatcher.c
16785                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16786                         and simplify the logic
16787                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16788                         we free it later on
16789
16790         * initscript/RedHat/Makefile.am
16791           initscript/RedHat/NetworkManagerDispatcher
16792                 - Add initscript for NetworkManagerDispatcher
16793
16794
16795         Patch from Bill Moss:
16796         * dispatcher-daemon/NetworkManagerDispatcher.c
16797                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16798
16799         * src/NetworkManagerDbus.c
16800                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
16801                         and DeviceNowActive gets signaled, then the device has a new IP address
16802                         anyway.  There's no need for a separate signal.
16803
16804         * src/NetworkManagerDevice.c
16805                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16806
16807         * src/NetworkManagerPolicy.c
16808                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16809                         activates successfully.  This kind of went missing when I reworked the
16810                         activation code.
16811
16812 2005-05-15  Dan Williams  <dcbw@redhat.com>
16813
16814         * configure.in
16815                 - Check for dhcdbd and error if its not found
16816
16817         * src/dhcp-manager/Makefile.am
16818           src/dhcp-manager/nm-dhcp-manager.c
16819                 - Use path to dhcdbd that configure found
16820
16821 2005-05-14  Dan Williams  <dcbw@redhat.com>
16822
16823         * gnome/applet/nm-device.c
16824                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16825                         sort wireless networks alphabetically
16826
16827         * gnome/applet/applet-dbus-devices.c
16828                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16829                         before copying them over to the GUI
16830
16831 2005-05-14  Dan Williams  <dcbw@redhat.com>
16832
16833         * src/NetworkManager.c
16834                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16835                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
16836                         the device list, as does nm_get_active_device() which is called from
16837                         nm_vpn_manager_deactivate_vpn_connection().
16838
16839 2005-05-14  Dan Williams  <dcbw@redhat.com>
16840
16841         * NetworkManager.h
16842                 - Add signals for VPN Launch and Connect failures
16843
16844         * gnome/applet/applet-dbus.c
16845                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16846
16847         * gnome/applet/applet.c
16848                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16849                         function to handle all VPN failure messages
16850                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
16851                         function to hanlde all VPN failure  messages
16852                 - (show_warning_dialog): work around focus-stealing prevention
16853
16854         * gnome/applet/other-network-dialog.c
16855           gnome/applet/passphrase-dialog.c
16856                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16857                         problem where it never enabled for ASCII Key and Hex Key types
16858
16859         * gnome/applet/wireless-applet.glade
16860                 - Add window title to Other Wireless Network Dialog
16861
16862         * src/vpn-manager/nm-dbus-vpn.c
16863                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16864                         function to handle all VPN failure messages
16865
16866         * src/vpn-manager/nm-vpn-manager.c
16867                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16868
16869         * vpn-daemons/vpnc/nm-vpnc-service.c
16870                 - (nm_vpnc_dbus_signal_launch_failed): new function
16871                 - (nm_vpnc_dbus_signal_connect_failed): new function
16872                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16873                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
16874                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
16875                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
16876
16877 2005-05-11  Dan Williams  <dcbw@redhat.com>
16878
16879         * vpn-daemons/vpnc/nm-vpnc-service.c
16880                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
16881                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
16882                         file exists before trying to write it out.
16883
16884 2005-05-10  Dan Williams  <dcbw@redhat.com>
16885
16886     * gnome/applet/applet-dbus-device.c
16887         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
16888             prevented just entering ESSID and leaving key and key type up to
16889             NetworkManager (which should have them already cached)
16890
16891 2005-05-08  Dan Williams  <dcbw@redhat.com>
16892
16893         * src/NetworkManagerPolicy.c
16894                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
16895                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
16896                         fix a situation where NM is told to terminate and the device stops activation,
16897                         but the main thread isn't aware of that because it would never have run
16898                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
16899                         had already quit.
16900
16901         * src/NetworkManagerDevice.c
16902                 - (nm_device_probe_wired_link_state): cosmetic fixes
16903                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
16904                         we've failed to activate or been canceled.
16905                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
16906
16907 2005-05-08  Dan Williams  <dcbw@redhat.com>
16908
16909         * src/NetworkManagerWireless.c
16910                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
16911                         value of WEXT quality structures, and add a debug message when we cannot
16912                         determine any quality % at all
16913
16914 2005-05-08  Dan Williams  <dcbw@redhat.com>
16915
16916         * src/dhcp-manager/nm-dhcp-manager.c
16917                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
16918                         it goes down.
16919
16920 2005-05-06  Dan Williams  <dcbw@redhat.com>
16921
16922         * gnome/applet/applet-dbus-device.c
16923           gnome/applet/applet-dbus-info.c
16924           gnome/applet/applet-dbus.c
16925           gnome/applet/applet.c
16926           gnome/applet/applet.h
16927                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
16928
16929         * gnome/applet/applet-dbus.c
16930                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
16931                         so we notice when wired device's carriers come back on.  Should
16932                         fix issue with wired devices being grayed out even if the cable
16933                         is in, for devices that support carrier detection.
16934
16935         * gnome/applet/applet.c
16936                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
16937                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
16938                         tooltip message
16939                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
16940                         Fix situation where applet wouldn't respond to menu selections
16941
16942         * src/NetworkManager.c
16943           src/NetworkManagerDevice.c
16944           src/NetworkManagerDbus.c
16945           src/NetworkManagerDbus.h
16946                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
16947
16948         * src/NetworkManagerDbus.c
16949                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
16950                         Remove, no longer used or relevant
16951                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
16952                 - (nm_dbus_schedule_device_status_change_signal): add
16953
16954         * src/NetworkManagerDevice.c
16955                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
16956                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
16957                         ie don't deactivate them unless explicitly told to by the user.  Also send
16958                         CARRIER_OFF / CARRIER_ON signals when link changes
16959                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
16960                         Don't print error message when device is no longer around
16961                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
16962                         not just during activation
16963
16964         * src/NetworkManagerPolicy.c
16965                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
16966                         auto-device-selection.
16967                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
16968
16969         * src/NetworkManagerSystem.c
16970                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
16971                         is no longer present (Bill Moss)
16972
16973         * src/backends/shvar.c
16974                 - (svOpenFile): Open read-only to make SELinux happy
16975
16976         * src/backends/NetworkManagerRedHat.c
16977                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
16978                         the path to the ifcfg-* files
16979
16980 2005-05-05  Dan Williams  <dcbw@redhat.com>
16981
16982         * Expose activation stages to NetworkManager clients, like the applet
16983         * Add Diana's progress icons to the applet, cued off NM activation stage
16984         * Use more descriptive tooltips, cued off NM activation stage
16985
16986 2005-05-05  Ray Strode  <rstrode@redhat.com>
16987
16988         * src/nm-netlink-monitor.c:
16989                 - Use clear_event_source instead of g_nullify_pointer() again.
16990
16991 2005-05-05  Dan Williams  <dcbw@redhat.com>
16992
16993         * gnome/applet/main.c
16994                 - Fix session management so the applet is actually managed now
16995
16996         * gnome/applet/passphrase-dialog.c
16997                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
16998
16999 2005-05-05  Dan Williams  <dcbw@redhat.com>
17000
17001         Patch from Bill Moss:
17002         * gnome/libnm_glib/libnm_glib.c
17003                 - Fix for dbus-0.33
17004
17005 2005-05-05  Dan Williams  <dcbw@redhat.com>
17006
17007         Suggestion from Bill Moss:
17008         * src/NetworkManagerSystem.c
17009                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17010
17011
17012         * src/NetworkManager.c
17013                 - (nm_data_free): move destruction of the various managers after
17014                         release of device list, because deactivating and freeing a device
17015                         requires at least the named manager
17016                 - (nm_poll_and_update_wireless_link_state):
17017                   (nm_device_link_activated):
17018                   (nm_device_link_deactivated):
17019                         don't grab the device list lock when actually updating device
17020                         link status or strength, since nm_device_set_link_active()
17021                         needs to call nm_get_active_device(), which also locks the device list.
17022
17023         * src/NetworkManagerDevice.c
17024                 - (nm_device_set_link_active): if a device's link switches from off->on,
17025                         and it's wired, and the active device is wireless (or there is no
17026                         active device), activate the new device whose link just came on
17027                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17028                         my only calling the link to the current ap "failed" when more than 2
17029                         consecutive link checks have failed
17030
17031 2005-05-04  Dan Williams  <dcbw@redhat.com>
17032
17033         * src/NetworkManagerDevice.c
17034                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17035                         but let link_to_specific_ap() do the locking where it needs
17036
17037         Patch from Bill Moss:
17038         * src/NetworkManagerSystem.c
17039                 - Set MTU of VPN devices to 1412
17040
17041 2005-05-04  Dan Williams  <dcbw@redhat.com>
17042
17043         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17044
17045         * Fix some holes in device activation and retaining the currently connected
17046                 access point
17047
17048 2005-05-03  Dan Williams  <dcbw@redhat.com>
17049
17050         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
17051           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
17052           means you need dhcdbd, which you can get here (get the latest one):
17053
17054                 http://people.redhat.com/jvdias/dhcdbd/
17055
17056           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17057           interface as dhcdbd.
17058
17059         * Rewrite device activation to facilitate the new DHCP infrastructure and
17060           future improvements.  Its now "activation request" based, ie there is a single
17061           activation request composed of the device, access point, and other info which
17062           follows the entire activation process.  There are 5 stages of the activation
17063           process which correspond to:
17064
17065                 1) Device preparation
17066                 2) Device configuration (bring it up, set ESSID/Key/etc)
17067                 3) IP Config Start (fire off DHCP if we're using it)
17068                 4) IP Config Get (grab config from DHCP or static config files)
17069                 5) IP Config Commit (set device's IP address, DNS, etc)
17070
17071           Note that there is no longer a "scanning" step, since the access point must
17072           be known _before_ activation starts.  If the access point drops out or does
17073           not exist for some reason, the entire activation process fails and must be
17074           restarted for a different access point or device.
17075
17076         Patch from Bill Moss:
17077         * gnome/applet/applet.c
17078                 - Fix type of vpn_failure dialog -> vpn_banner dialog
17079
17080 2005-04-27  Dan Williams  <dcbw@redhat.com>
17081
17082         * gnome/applet/applet-dbus-vpn.c
17083           gnome/applet/applet.c
17084           gnome/applet/applet.h
17085                 - Fix up active VPN handling so that we reliably know when a VPN
17086                         connection has been deactivated
17087
17088         * src/vpn-manager/nm-vpn-manager.c
17089                 - Remove duplicate VPNConnectionChange signal
17090
17091 2005-04-27  Dan Williams  <dcbw@redhat.com>
17092
17093         Patch from Peter Jones:
17094         * Remove usage of varargs to fix crashes on PPC (RH #154336)
17095
17096         Patch from Bill Moss:
17097         * src/NetworkManagerSystem.c
17098                 - Fix checking of return value from ioctl()
17099
17100 2005-04-27  Dan Williams  <dcbw@redhat.com>
17101
17102         * Fix choosing of wireless networks and "Other wireless network..." from the applet
17103         * Warn and exit if icons cannot be found
17104
17105 2005-04-27  Dan Williams  <dcbw@redhat.com>
17106
17107         Patch from Tom Parker:
17108         * Update debian backend
17109
17110 2005-04-27  Dan Williams  <dcbw@redhat.com>
17111
17112         * Merge the applet and the info-daemon, and move the converged
17113                 applet under gnome/applet
17114         * Move libnm_glib to gnome/libnm_glib
17115         * Convert most dbus calls between the applet, info-daemon, and NM
17116                 into async calls
17117         * Fix a few things valgrind noticed
17118         * Make NM broadcast state more reliably
17119
17120 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
17121
17122         * configure.in: Added ne in ALL_LINGUAS
17123
17124 2005-04-15  Dan Williams  <dcbw@redhat.com>
17125
17126         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17127                 code for dbus 0.2x versions
17128
17129 2005-04-15  Dan Williams  <dcbw@redhat.com>
17130
17131         Patches from Tom Parker:
17132         - Fix memleaks
17133         - Join with worker thread rather than polling for its exit
17134
17135         Patch from Bill Moss:
17136         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17137
17138 2005-04-15  Dan Williams  <dcbw@redhat.com>
17139
17140         - Fixes to pass 'make distcheck'
17141
17142 2005-04-15  Dan Williams  <dcbw@redhat.com>
17143
17144         Initial VPN Support
17145                 - supports 'vpnc'
17146                 - reworks device IP configuration, backend files have changed and will need
17147                         to be updated for all distributions.  I will try to do what I can for
17148                         them, but I cannot test them.
17149
17150         - Move named directory to src/named-manager
17151         - Make backends directory self-contained
17152
17153 2005-04-06  Dan Williams  <dcbw@redhat.com>
17154
17155         Add debug code for socket/file descriptor leaks.  We register every socket
17156         that we open (except for stuff in dhcpcd/) for tracking, and print out the
17157         list of sockets that we forgot to close on shutdown.  This also consolidates
17158         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17159
17160 2005-04-06  Dan Williams  <dcbw@redhat.com>
17161
17162         * dhcpcd/dhcpcd.c
17163                 - (dhcp_interface_free): fix a file descriptor leak that may have
17164                         caused network drivers to not unload due to refcounts > 0
17165
17166 2005-04-04  Dan Williams  <dcbw@redhat.com>
17167
17168         * panel-applet/NMWirelessAppletDbus.c
17169                 - (nmwa_dbus_call_nm_method): remove some commented code
17170
17171         * src/NetworkManagerAPList.[ch]
17172                 - (nm_ap_list_remove_ap_by_essid): new function
17173
17174         * src/NetworkManagerDevice.c
17175                 - (nm_device_wireless_force_use): remove access points from the ignore list
17176                         when the user forces them
17177
17178         * src/nm-dbus-device.c
17179                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17180
17181 2005-04-04  Dan Williams  <dcbw@redhat.com>
17182
17183         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17184
17185 2005-04-04  Dan Williams  <dcbw@redhat.com>
17186
17187         * src/NetworkManagerDevice.c:
17188                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17189                         of only erroring after the second consecutive scan times out.  Also
17190                         don't exit when the card requires more time than we can give it, just
17191                         log the event and continue.
17192
17193 2005-04-01  Steve Murphy  <murf@e-tools.com>
17194
17195         * configure.in: Added "rw" to ALL_LINGUAS.
17196
17197 2005-04-01  Dan Williams <dcbw@redhat.com>
17198
17199         Perform scans during device activation, if needed.  Both activation 
17200         and scans run in the same GMainContext.  Therefore, if an access point
17201         is not found by the time the device starts activation, it will not
17202         be available until after activation.  We now try to scan during
17203         activation (in nm_wa_test) every 15s so that all available access
17204         points are more likely to be found and available for the activation
17205         procedure.
17206
17207         Also change nm_wireless_link_state_handle() to only update the "best"
17208         AP if we are not forcing a device and if we are not about to change
17209         state.  This attempts to work around a race when forcing a device,
17210         where the forced AP would get cleared out too soon by the link state
17211         checking timeout in the main thread, and the activation attempt with
17212         that AP would fail.
17213
17214 2005-04-01  Dan Williams <dcbw@redhat.com>
17215
17216         * po/POTFILES.in
17217                 - Update with new translatables
17218
17219 2005-03-31  Dan Williams <dcbw@redhat.com>
17220
17221         * panel-applet/NMWirelessAppletDbus.c
17222                 - Fix device names now that hal has changed device parenting for
17223                         network devices.
17224
17225 2005-03-31  Dan Williams <dcbw@redhat.com>
17226
17227         Tighten up handling of wireless devices that don't support wireless
17228         scanning (ie, Orinoco).  Due to restructuring of code, these devices
17229         hadn't been doing pseudo-scanning for a while either and would just
17230         spin waiting for an access point.  They are now manual devices where
17231         the user must choose the access point from the menu every time.  All
17232         "allowed" access points are listed in the applet's menu regardless
17233         of whether or not they can be seen by the card, since it can't scan
17234         anyway.
17235
17236         * src/NetworkManager.c
17237                 - (nm_wireless_link_state_handle): new function, but only update
17238                         the "best" ap for non-scanning devices when its not activating,
17239                         and when no device is being forced on the card
17240                 - (nm_link_state_monitor): split wireless link state handling out
17241                         into separate function
17242
17243         * src/NetworkManagerDevice.c
17244                 - (nm_device_copy_allowed_to_dev_list): new function
17245                 - (nm_device_new): populate non-scanning cards' AP lists with
17246                         access points from the "allowed" list
17247                 - (nm_device_new): don't start a scanning timeout for devices that
17248                         can't scan
17249                 - (nm_device_activation_schedule_finish): new parameter, should be
17250                         the AP that failed to be connected to, pass it on to the
17251                         activation finish function in NetworkManagerPolicy.c
17252                 - (nm_device_activate_wireless): don't ever try to get a new AP
17253                         for non-scanning devices, just fail.  The user must choose
17254                         a new access point manually.
17255                 - (nm_device_activate): grab the AP that failed connection and
17256                         pass it on
17257                 - (nm_device_update_best_ap): Clear the best AP if we don't have
17258                         a link to it, user must manually choose a new one
17259                 - (nm_device_do_pseudo_scan): remove function
17260                 - (nm_device_wireless_process_scan_results): remove bits for non-
17261                         scanning cards since they never get here
17262                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17263                         and fake the scan list for test devices a bit earlier
17264
17265         * src/NetworkManagerPolicy.c
17266                 - (nm_policy_activation_finish): use the failed_ap that we get
17267                         passed rather than getting the best_ap from the card, which
17268                         may have changed since we were scheduled
17269                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17270                         update their scan list directly from the allowed list when
17271                         we get updates to the allowed list from NetworkManagerInfo
17272
17273         * src/NetworkManagerPolicy.h
17274                 - New member for failed access point in NMActivationResult
17275
17276   -------------------------------------
17277
17278         Driver Notification patch: notifies the user when their driver
17279                 sucks.  Gives them the option to ignore further insertions
17280                 of the card that has the sucky driver.
17281
17282         * NetworkManager.h
17283                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17284                         enum and replace it with NO_CARRIER_DETECT and
17285                         NO_WIRELESS_SCAN
17286
17287         * panel-applet/NMWirelessApplet.[ch]
17288                 - Merge essid.glade -> wireless-applet.glade
17289                 - Implement the "Your driver sucks" notification dialog
17290
17291         * panel-applet/NMWirelessAppletDbus.c
17292                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17293                 - Grab hardware address for each device from NM too
17294                 - Check whether the driver for each device sucks or not whenever
17295                         a new device is noticed
17296
17297         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17298                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17299
17300         * src/NetworkManager.c
17301                 - Fix a double-unref on device removal
17302
17303         * src/NetworkManagerUtils.c
17304                 - Set appropriate driver support level on a device that doesn't
17305                         support scanning or carrier detection
17306
17307         * src/nm-dbus-device.c
17308                 - New "getHWAddress" dbus method on devices
17309                 - getSupportsCarrierDetect -> getDriverSupportLevel
17310
17311 2005-03-31  Dan Williams <dcbw@redhat.com>
17312
17313         * src/NetworkManagerDevice.c
17314                 - (nm_device_wireless_scan): Fix leak of scan results in some
17315                         instances
17316
17317 2005-03-29  Dan Williams <dcbw@redhat.com>
17318
17319         * src/NetworkManager.c
17320                 - (nm_poll_and_update_wireless_link_state): make code less indented
17321
17322         Patch from Bill Moss:
17323         * src/NetworkManager.c
17324                 - (nm_device_update_link_state): Update signal strength on wireless
17325                         devices every time we update link state too.
17326
17327 2005-03-29  Dan Williams <dcbw@redhat.com>
17328
17329         * src/NetworkManagerDevice.c
17330                 - (nm_device_set_essid): Work around Orinoco cards which need
17331                         extra time after setting the ESSID
17332
17333 2005-03-29  Dan Williams <dcbw@redhat.com>
17334
17335         * src/NetworkManagerDevice.c
17336                 - Merge one more bit of Peter Jones' completion patch
17337
17338 2005-03-29  Dan Williams <dcbw@redhat.com>
17339
17340         * src/NetworkManagerDevice.c
17341                 - (nm_device_force_use): Fix possible segfault
17342
17343 2005-03-29  Dan Williams <dcbw@redhat.com>
17344
17345         * src/NetworkManagerDevice.c
17346                 - Use iw_get_ext() where we should rather than iw_set_ext()
17347
17348 2005-03-29  Dan Williams <dcbw@redhat.com>
17349
17350         * src/NetworkManagerDevice.c
17351                 - (nm_device_set_up_down): remove check for unsupported devices
17352                         that caused NM to not bring devices up when they were
17353                         added to the device list.
17354
17355 2005-03-28  Dan Williams <dcbw@redhat.com>
17356
17357         * src/NetworkManagerDevice.c
17358                 - (mdio_read): Fix two bugs that caused all devices to fail
17359                         the MII carrier detection support checks
17360
17361 2005-03-26  Dan Williams <dcbw@redhat.com>
17362
17363         * src/NetworkManagerDevice.c
17364                 - (nm_device_wireless_scan): Remove duplicated scanning code
17365
17366 2005-03-25  Dan Williams <dcbw@redhat.com>
17367
17368         * panel-applet/NMWirelessApplet.c
17369                 - (nmwa_about_cb): Add some more contributors
17370                 - (nmwa_update_state): show the applet when there's no connection
17371                 - Enable the "Stop/Resume all wireless devices" option in the
17372                         context menu
17373                 - New "no connection" icon
17374
17375         * src/NetworkManager.c
17376                 - (nm_poll_and_update_wireless_link_state): don't do anything if
17377                         wireless is disabled or we're asleep
17378
17379         * src/NetworkManagerDHCP.c
17380                 - Remove trailing "\n" on debug messages
17381
17382         * src/NetworkManagerDbus.c
17383                 - (nm_dbus_network_status_from_data): new state "asleep"
17384
17385         * src/NetworkManagerDevice.c
17386                 - Merge most of Peter Jones' "completion" patch that greatly reduces
17387                         latency and wait times for most operations
17388                 - (nm_device_wireless_scan): Don't scan when asleep
17389
17390         * src/NetworkManagerPolicy.c
17391                 - (nm_policy_get_best_device): return no device when asleep
17392                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17393                         for all wireless devices on update, not just active device
17394
17395         * src/NetworkManagerUtils.c
17396                 - Merge Peter Jones' "completion" patch
17397
17398         * src/nm-dbus-nm.c
17399                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17400                         we're told to disable them
17401                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17402
17403         * utils/nm-utils.h
17404                 - New variants of the warn/info/error/debug print functions that can take
17405                         variables rather than static strings
17406
17407 2005-03-24  Dan Williams <dcbw@redhat.com>
17408
17409         * src/NetworkManagerUtils.c
17410                 - (nm_get_device_driver_name): driver names are now on the parents of
17411                         "Network Interface" objects, so look for them there
17412
17413 2005-03-24  Dan Williams <dcbw@redhat.com>
17414
17415         * test/nmtest.c
17416                 - Escape some forgotten object paths before we shove them through dbus
17417
17418 2005-03-24  Dan Williams <dcbw@redhat.com>
17419
17420         * dhcpcd/dhcpcd.[ch]
17421           src/NetworkManagerDHCP.c
17422                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17423                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
17424
17425         * src/NetworkManagerDbus.c
17426                 - spacing cleanups
17427
17428         * src/nm-dbus-dhcp.c
17429                 - Make the API suck less.  There is now only 1 type of each function,
17430                         ie only "getInteger" and no longer also "getIntegerv".  All types
17431                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17432                         that will never have more than 1 element.  This should simplify
17433                         things greatly.
17434
17435         * test/nm-dhcp-opt-test.c
17436                 - Make the tool not segfault
17437                 - adapt to new DHCP Options API
17438
17439 2005-03-22  Dan Williams <dcbw@redhat.com>
17440
17441         * src/NetworkManager.c
17442                 - (nm_wired_link_deactivated): actually ignore netlink events from
17443                         wireless devices.
17444
17445 2005-03-22  Dan Williams <dcbw@redhat.com>
17446
17447         * src/NetworkManager.c
17448                 - (nm_wired_link_activated): actually ignore netlink events from
17449                         wireless devices.
17450
17451 2005-03-17  Dan Williams <dcbw@redhat.com>
17452
17453         Patch from Tom Parker:
17454         * src/nm-netlink-monitor.c
17455                 - Include unistd.h
17456         * info-daemon/NetworkManagerInfoDbus.c
17457                 - (nmi_dbus_update_network_auth_method): free GConf values
17458
17459         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17460         * src/NetworkManagerDevice.c
17461                 - (nm_device_set_wireless_config): wait for successful
17462                         association longer for some cards (Atheros a/b/g)
17463
17464 2005-03-15  Ray Strode  <rstrode@redhat.com>
17465
17466         * src/NetworkManager.c:
17467         (sigterm_pipe_handler):
17468         remove bogus FIXME
17469
17470 2005-03-15  Ray Strode  <rstrode@redhat.com>
17471
17472         * src/NetworkManagerDbus.c:
17473         Fix some sign weirdness that gcc4 doesn't like,
17474         and add a header file so PPC can hopefully find
17475         SIGTRAP
17476
17477 2005-03-14  Ray Strode  <rstrode@redhat.com>
17478         
17479         Fourth (probably working) cut at porting to
17480         dbus 0.30 api and new hal. This cut adds
17481         some new logging macros to make debugging
17482         easier.
17483
17484         * dispatcher-daemon/NetworkManagerDispatcher.c:
17485         * info-daemon/NetworkmanagerInfo.c:
17486         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17487         * info-daemon/NetworkManagerInfoVPN.c:
17488         * src/NetworkManager.c:
17489         * src/NetworkManagerAP.c:
17490         * src/NetworkManagerAPList.c:
17491         * src/NetworkManagerDHCP.c:
17492         * src/NetworkManagerDbus.c:
17493         * src/NetworkManagerDevice.c:
17494         * src/NetworkManagerPolicy.c:
17495         * src/NetworkManagerSystem.c:
17496         * src/NetworkManagerUtils.c:
17497         * src/NetworkManagerWireless.c:
17498         * src/autoip.c:
17499         * src/nm-dbus-nm.c:
17500         * src/backends/NetworkManagerDebian.c:
17501         * src/backends/NetworkManagerGentoo.c:
17502         * src/backends/NetworkManagerRedHat.c:
17503         * src/backends/NetworkManagerSlackware.c:
17504         use new logging macros.
17505
17506         * dispatcher-daemon/NetworkManagerDispatcher.c:
17507         (nmd_dbus_filter): s/dbus_free/g_free/
17508
17509         * info-daemon/Makefile.am: link in utils library.
17510         * info-daemon/NetworkmanagerInfo.c: use new logging 
17511         macros.
17512         (nmi_dbus_get_network): don't assume enumerations
17513         are 32-bit.
17514         (nmi_dbus_nmi_message_handler): don't free what 
17515         doesn't belong to us.
17516
17517         * libnm_glib/libnm_glib.c:
17518         (libnm_glib_get_nm_status): 
17519         (libnm_glib_init): don't free what doesn't
17520         belong to us.
17521         (libnm_glib_dbus): strdup result, so it doesn't get
17522         lost when message is unref'd.
17523
17524         * panel-applet/NMWirelessAppletDbus.c:
17525         (nmwa_dbus_update_devices): s/dbus_free/g_free/
17526
17527         * src/NetworkManager.c:
17528         (nm_monitor_wired_link_state): request initial status 
17529         dump of all cards when we start up, instead of relying
17530         on /sys/.../carrier.
17531         (nm_info_handler), (nm_set_up_log_handlers): 
17532         log handlers to specify what syslog priorites 
17533         the logging macros default to.
17534
17535         * src/NetworkManagerAPList.c: 
17536         (nm_ap_list_populate_from_nmi):
17537         s/dbus_free_string_array/g_strfreev/
17538
17539         * src/NetworkManagerDbus.c:
17540         (nm_dbus_get_network_object):
17541         validate d-bus message argument types.
17542         Advance message iterator after reading argument,
17543         prepend instead of append to GSList.
17544
17545         * src/NetworkManagerDevice.c:
17546         (nm_device_probe_wired_link_status):
17547         remove redundant /sys in /sys path. remove wrong
17548         contents == NULL means has carrier assumption.
17549
17550         * src/nm-netlink-monitor.c 
17551         (nm_netlink_monitor_request_status): implement
17552         function to ask kernel to dump interface link
17553         status over netlink socket.
17554
17555         * test/*.c: s/dbus_free/g_free/
17556
17557         * utils/nm-utils.h:
17558         (nm_print_backtrace): new macro to print backtrace.
17559         (nm_get_timestamp): new macro to get sub-second precise
17560         unix timestamp.
17561         (nm_info), (nm_debug), (nm_warning), (nm_error):
17562         new logging functions. nm_info just prints,
17563         nm_debug includes timestamp and function,
17564         nm_warning includes function, nm_error includes
17565         backtrace and sigtrap.
17566
17567 2005-03-11  Ray Strode  <rstrode@redhat.com>
17568
17569         Third (unfinished, partially working) cut at porting to 
17570         dbus 0.30 api and new hal.
17571
17572         * info-daemon/NetworkManagerInfoDbus.c:
17573                 don't free null arrays.
17574
17575         * panel-applet/NMWirelessAppletDbus.c: 
17576         * src/nm-dbus-device.c:
17577         * src/nm-dbus-net.c: 
17578         * src/NetworkManagerDbus.c: more 
17579         STRING -> OBJECT_PATH fun
17580         * src/NetworkManagerDevice.c:
17581         * src/NetworkManagerDevice.h:
17582         (rename nm_device_get_link_active): rename to 
17583         nm_device_has_active_link
17584         (nm_device_wireless_link_active): rename to
17585         nm_device_probe_wireless_link_state
17586         (nm_device_wired_link_active): rename to
17587         nm_device_probe_wired_link_state.  Rewrite to
17588         use carrier file since hal doesn't maintain
17589         link state anymore.
17590         (nm_device_update_link_active): rename to
17591         nm_device_update_link_state
17592         * src/NetworkManagerPolicy.c 
17593           (nm_policy_activation_finish): check for NULL
17594           MAC address.
17595
17596         * src/Makefile.am:
17597         * src/NetworkManagerMain.h: 
17598         * src/NetworkManager.c:
17599         * src/nm-netlink-monitor.c:
17600         * src/nm-netlink-monitor.h: New class to support
17601         monitoring wired ethernet link status, since HAL
17602         doesn't export that information anymore.
17603
17604 2005-03-09  Ray Strode  <rstrode@redhat.com>
17605
17606         Second (unfinished, unworking) cut at porting to 
17607         dbus 0.30 api.
17608
17609         * dispatcher-daemon/NetworkManagerDispatcher.c:
17610         * info-daemon/NetworkManagerInfoDbus.c:
17611         * panel-applet/NMWirelessAppletDbus.c:
17612         * src/NetworkManagerDbusUtils.c:
17613         * src/NetworkManagerDbusUtils.h:
17614         * src/nm-dbus-device.c:
17615         * src/nm-dbus-nm.c:
17616         * test/nmtest.c: support dbus "object path" type
17617
17618         * configure.in: 
17619         * Makefile.am:
17620         * info-daemon/Makefile.am:
17621         * libnm_glib/Makefile.am:
17622         * panel-applet/Makefile.am:
17623         * dispatcher-daemon/Makefile.am
17624         * src/Makefile.am:
17625         * test/Makefile.am:
17626         * utils/Makefile.am: 
17627         * utils/nm-utils.c: 
17628         * utils/nm-utils.h: new utils static lib
17629
17630 2005-03-07  Ray Strode  <rstrode@redhat.com>
17631
17632         * info-daemon/NetworkManagerInfoDbus.c:
17633         * libnm_glib/libnm_glib.c:
17634         * panel-applet/NMWirelessAppletDbus.c:
17635         * src/NetworkManager.c:
17636         * src/NetworkManagerDbus.c:
17637         * src/NetworkManagerDevice.c:
17638         * src/NetworkManagerUtils.c:
17639         * src/nm-dbus-device.c:
17640         * src/nm-dbus-dhcp.c:
17641         * src/nm-dbus-net.c:
17642         * src/nm-dbus-nm.c:
17643         * test/nminfotest.c:
17644         First (unfinished, unworking) cut at porting to dbus 0.30 api.
17645
17646 2005-03-04  Dan Williams  <dcbw@redhat.com>
17647
17648         * configure.in
17649                 - Mark HEAD as 0.4
17650
17651 2005-03-04  Dan Williams  <dcbw@redhat.com>
17652
17653         Patch from Peter Jones:
17654         - Make stuff work with gcc 4.0
17655
17656 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
17657
17658         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17659
17660 2005-02-27  Jim Huang  <jserv@kaffe.org>
17661
17662         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17663
17664 2005-02-27  Dan Williams  <dcbw@redhat.com>
17665
17666         Patch from Bill Moss:
17667         * panel-applet/NMWirelessAppletDbus.c
17668                 - Make sure strength for current access point is up-to-date when we
17669                         update the gui data model
17670
17671 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
17672
17673         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17674
17675 2005-02-27  Dan Williams  <dcbw@redhat.com>
17676
17677         * src/backends/NetworkManagerRedHat.c
17678                 - (nm_system_init): Kill any dhclient processes lying around as well
17679                         as stopping 'nifd' if its already been started.  NetworkManager
17680                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
17681
17682 2005-02-27  Dan Williams  <dcbw@redhat.com>
17683
17684         * panel-applet/NMWirelessApplet.c
17685                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17686                         dbus data model, not the GUI data model twice.
17687
17688 2005-02-27  Dan Williams  <dcbw@redhat.com>
17689
17690         * panel-applet/NMWirelessApplet.[ch]
17691           panel-applet/NMWirelessAppletDbus.[ch]
17692                 - Move to incremental network updates.  Instead of blowing away our list
17693                         of devices every time we get a signal from NetworkManager, we now
17694                         incrementally add/remove networks when NetworkManager notifies us that
17695                         a new network has appeared or disappered.  Strength updates now happen
17696                         on-the-fly for each access point as well.  There are now two copies of
17697                         data from NetworkManager: one for the dbus side, and one for the gui side.
17698                         When the dbus side data is modified, it is copied over to the gui side
17699                         so we don't have to hold the data_mutex for long periods of time (and
17700                         therefore block animation of the applet's icon).
17701                 - Clean up some memleaks too
17702
17703         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17704                 - Minor code beautification
17705
17706         * src/NetworkManagerAPList.c
17707                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17708                         completely new and whether or not an existing one's strength was updated.
17709                         Try to fix multiple access points and signal strength by using the highest
17710                         signal strength in each scan for any given ESSID.
17711
17712         * src/NetworkManagerDbus.[ch]
17713                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17714                         wireless networks; now we have only WirelessNetworkUpdate which includes
17715                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17716                 - Kill usage of DbusMessageIter
17717
17718         * src/NetworkManagerDevice.c
17719                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17720                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
17721                         AP rather than all-at-once.  Also don't ever remove the AP a card is
17722                         currently associated with from the network list.
17723                 - Update for new signals during scan, send out Appeared, Disappeared, or
17724                         StrengthChanged when necessary.
17725
17726 2005-02-25  Dan Williams  <dcbw@redhat.com>
17727
17728         * README
17729                 - Line break the README
17730
17731 2005-02-25  Dan Williams  <dcbw@redhat.com>
17732
17733         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17734                 - Remove usage of gtk_window_set_default_size()
17735
17736         * panel-applet/essid.glade
17737                 - Stick default size here
17738                 - Add in random crap that current glade wants to add in now
17739
17740 2005-02-25  Dan Williams  <dcbw@redhat.com>
17741
17742         * src/backends/NetworkManagerRedHat.c
17743                 - For non-caching-nameserver/non-named case, ensure that nscd is running
17744                         and that we actually tell nscd to reload the hosts cache when it changes
17745
17746 2005-02-25  Dan Williams  <dcbw@redhat.com>
17747
17748         * info-daemon/NetworkManagerInfoDbus.c
17749                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17750
17751         * test/nminfotest.c
17752                 - Whack usage of DbusMessageIter
17753                 - Clean up DbusError and DbusMessage handling and freeing
17754                 - Remove unused unregister handler
17755
17756         * test/nmtest.c
17757                 - Whack usage of DbusMessageIter
17758
17759         * test/nmtestdevices.c
17760                 - Whack usage of DbusMessageIter
17761
17762 2005-02-25  Dan Williams  <dcbw@redhat.com>
17763
17764         * NetworkManager.h
17765                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17766                         signal
17767
17768 2005-02-25  Dan Williams  <dcbw@redhat.com>
17769
17770         * named/nm-named-manager.c
17771                 - Ensure that pid and watch variables for child named process get cleared out
17772                         when the child goes away.
17773
17774 2005-02-22  Dan Williams  <dcbw@redhat.com>
17775
17776         * src/NetworkManagerPolicy.c
17777                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17778                         and NULL out data->active_device so that we have to choose another one.
17779                         This may make NetworkManager keep attempting to connect to a wired network
17780                         if it fails, but if it keeps failing the wired network has more problems than
17781                         just NetworkManager.
17782
17783         * src/backends/NetworkManagerRedHat.c
17784                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17785                         is already running
17786
17787         * named/nm-named-manager.c
17788                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17789                         named so that the distro can flush whatever name service caching
17790                         daemon it uses
17791
17792 2005-02-21  Dan Williams  <dcbw@redhat.com>
17793
17794         * src/NetworkManagerDHCP.[ch]
17795                 - (nm_device_dhcp_remove_timeouts): new function
17796
17797         * src/NetworkManagerDevice.c
17798                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17799                         remove the DHCP timeouts.
17800
17801 2005-02-21  Dan Williams  <dcbw@redhat.com>
17802
17803         * panel-applet/NMWirelessApplet.[ch]
17804           panel-applet/menu-info.[ch]
17805                 - Give the panel applet some major love: menu items are no longer
17806                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17807                         This allows the applet to actually reflect theme changes correctly,
17808                         since themeing of subclassed items in GTK _sucks_.
17809
17810 2005-02-18  Dan Williams  <dcbw@redhat.com>
17811
17812         * libnm_glib/libnm_glib.[ch]
17813           test/libnm_glib_test.c
17814                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17815                         and its data, and doesn't have to free the callback data anymore
17816
17817 2005-02-18  Dan Williams  <dcbw@redhat.com>
17818
17819         * panel-applet/NMWirelessApplet.c
17820                 - Revert 2005-02-18 William Jon McCann fix for standard
17821                         copyright string until it passes 'make distcheck'.
17822                         With standard copyright string, xgettext complains
17823                         about "Non-ASCII string at ...".
17824
17825 2005-02-18  Dan Williams  <dcbw@redhat.com>
17826
17827         * panel-applet/essid.glade
17828           panel-applet/NMWirelessAppletOtherNetworksDialog.c
17829                 - Correct spelling of "adaptor"->"adapter"
17830
17831 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17832
17833         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17834         (nmwa_about_cb): Use standard copyright string.  Update comment
17835         text to reflect that it is a notification area applet.  Remove
17836         leading newline in authors list.
17837         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17838         instead of on parent menu item activation.  Fixes #167550.
17839
17840 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17841
17842         * panel-applet/essid.glade: Capitalize items as per HIG.
17843           Fixes #167632
17844
17845 2005-02-16  William Jon McCann  <mccann@jhu.edu>
17846
17847         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17848         files for GTK 2.4 or lower, since now public in GTK 2.6.
17849
17850         * panel-applet/essid.glade: Don't specify window size.
17851         
17852 2005-02-17  Dan Williams  <dcbw@redhat.com>
17853
17854         Caught by Bill Moss:
17855         * dhcpcd/client.c
17856                 - Time remaining for DHCP transaction calculation was incorrectly
17857                         inside a #ifdef DEBUG
17858
17859 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
17860
17861         * configure.in: Added fr (French) to ALL_LINGUAS.
17862
17863 2005-02-14  Dan Williams  <dcbw@redhat.com>
17864
17865         * src/NetworkManagerDHCP.c
17866                 - (set_domain_searches): Fix free of invalid pointer
17867
17868 2005-02-14  Dan Williams  <dcbw@redhat.com>
17869
17870         Patch from Peter Jones:
17871         * dhcpcd/client.c
17872                 - Ensure we return RET_DHCP_CEASED everywhere we should
17873         * dhcpcd/udpipgen.c
17874                 - Use faster TOS for IP packets
17875                 - Don't set ip_id since we're UDP
17876
17877         Patch from Tomislav Vujec:
17878         * src/nm-dbus-dhcp.c
17879           test/nm-dhcp-opt-test.c
17880                 - Clean up warnings to enable cvs tree compilation.
17881
17882 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
17883
17884         * configure.in
17885           po/hr.po
17886                 - Add the Croatian locale.
17887
17888 2005-02-14  Colin Walters  <walters@verbum.org>
17889
17890         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
17891         list of domains to search.
17892         
17893         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
17894
17895 2005-02-13  Dan Williams  <dcbw@redhat.com>
17896
17897         * dhcpcd/client.c
17898                 - Debug output cleanups of DHCP option printing and parsing.
17899
17900 2005-02-13  Dan Williams  <dcbw@redhat.com>
17901
17902         Patch from Dan Reed:  DHCP options D-BUS API
17903                 Exposes the DHCP options that a device receives to clients over D-BUS.
17904
17905         * configure.in
17906                 - A few cleanups
17907
17908         * dhcpcd/client.h
17909                 - Correct names, option length, and types for DHCP options
17910
17911         * dhcpcd/dhcpcd.[ch]
17912                 - Clarify function names that access DHCP options & data
17913
17914         * src/NetworkManagerDHCP.c
17915                 - Use new DHCP data access functions
17916
17917         * src/NetworkManagerDbus.c
17918                 - Message handler for DHCP functions
17919
17920         * src/nm-dbus-dhcp.[ch] (new)
17921                 - DHCP dbus methods
17922
17923         * test/nm-dhcp-opt-test.c
17924                 - Test DHCP D-BUS API and return all present DHCP options
17925
17926 2005-02-12  Dan Williams  <dcbw@redhat.com>
17927
17928         * test/Makefile.am
17929           test/nmclienttest.c
17930           test/nmtest.c
17931                 - Move nmclienttest.c -> nmtest.c
17932
17933 2005-02-12  Dan Williams  <dcbw@redhat.com>
17934
17935         * dhcpcd/buildmsg.c
17936                 - Pad DHCP packets until they are at least 300 bytes in size.
17937
17938 2005-02-11  Dan Williams  <dcbw@redhat.com>
17939
17940         * dhcpcd/client.c
17941                 - (dhcp_init): only print out client ID and class ID if they are specified
17942
17943         * src/NetworkManagerDbus.[ch]
17944           src/nm-dbus-nm.[ch]
17945           src/nm-dbus-device.[ch]
17946           src/nm-dbus-net.[ch]
17947                 - Move NM, Device, and Net functions to separate files and use the
17948                         dbus method list stuff in NetworkManagerDbusUtils.c to do
17949                         method dispatching
17950
17951         * src/NetworkManagerDbusUtils.c
17952                 - Add new validate_method called before each dispatch (if present)
17953                         that can validate the method call
17954
17955         * src/NetworkManagerWireless.c
17956                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
17957                         levels never to be evaluated
17958
17959         Patch from j@bootlab.org
17960         * src/NetworkManagerDevice.c
17961                 - Add typedef for "u64"
17962
17963         * src/backends/NetworkManagerDebian.c
17964                 - Copy in Dave Woodhouse's fixes for IPv6
17965
17966 2005-02-11  Dan Williams  <dcbw@redhat.com>
17967
17968         Patch from Dave Woodhouse for IPv6:
17969         * src/NetworkManagerUtils.c
17970                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
17971                         and multicast addresses
17972
17973         * src/NetworkManagerDevice.c
17974                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
17975                         after bringing up a card.
17976
17977 2005-02-10  Dan Williams  <dcbw@redhat.com>
17978
17979         Patch from Dave Woodhouse:
17980         * src/NetworkManagerSystem.h
17981           src/backends/NetworkManagerDebian.c
17982           src/backends/NetworkManagerGentoo.c
17983           src/backends/NetworkManagerSlackware.c
17984                 - New nm_system_device_add_ip6_link_address() function to add link-local
17985                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
17986
17987         * src/backends/NetworkManagerRedHat.c
17988                 - (nm_system_device_add_ip6_link_address): implement
17989                 - (nm_system_device_flush_addresses): revert to previous behavior of
17990                         flushing all addresses
17991
17992 2005-02-10  Dan Williams  <dcbw@redhat.com>
17993
17994         Patch from Tom Parker:
17995         * src/NetworkManagerDevice.c
17996                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
17997                         mii.h headers are broken, and instead use our own typedefs
17998
17999 2005-02-10  Dan Williams  <dcbw@redhat.com>
18000
18001         * dhcpcd/buildmsg.c
18002                 - (fill_host_and_class_id): only fill in client and class IDs if
18003                         they are set by callers.
18004
18005         * dhcpcd/client.c
18006                 - (class_id_setup): don't autogenerate a class ID, only use one
18007                         we're given, if any.
18008                 - (client_id_setup): don't autogenerate a client ID, only use one
18009                         we're given, if any.
18010
18011         * dhcpcd/dhcpcd.c
18012                 - (dhcp_interface_init): ensure that client options are correctly
18013                         NULL terminated
18014
18015         * src/NetworkManagerDHCP.c
18016                 - (nm_device_dhcp_request): pass hostname to dhcp library
18017
18018 2005-02-10  Dan Williams  <dcbw@redhat.com>
18019
18020         * dhcpcd/client.c
18021                 - #rh147661# Don't send kernel version in DHCP requests
18022
18023         * src/NetworkManagerSystem.h
18024           src/backends/NetworkManagerDebian.c
18025           src/backends/NetworkManagerGentoo.c
18026           src/backends/NetworkManagerRedHat.c
18027           src/backends/NetworkManagerSlackware.c
18028                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18029                         functions, they are no longer used anyway
18030
18031         * src/backends/NetworkManagerRedHat.c
18032                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18033                         addresses in an attempt to keep IPv6 local-scope addresses around
18034
18035 2005-02-10  Dan Williams  <dcbw@redhat.com>
18036
18037         * src/NetworkManager.c
18038                 - (nm_create_device_and_add_to_list): change the add message slightly
18039
18040         * src/NetworkManagerUtils.c
18041                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18042                         Return driver name to calling function
18043                 - (nm_get_driver_support_level): print out the driver a device is using
18044                         during the support check
18045
18046         Patch from Dave Woodhouse:
18047         * dhcpcd/udpipgen.c
18048                 - (in_cksum): copy last byte of odd-sized packets into a
18049                         'u_short' rather than a 'u_char', should fix wrong checksums
18050                         on big-endian platforms
18051
18052 2005-02-09  Dan Williams  <dcbw@redhat.com>
18053
18054         * Clean up usage of GSList objects and looping through their members
18055         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18056                 now.
18057         * Fix problem where even if scanning was turned off, card would still
18058                 cycle through frequencies.
18059
18060 2005-02-08  Dan Williams  <dcbw@redhat.com>
18061
18062         * panel-applet/NMWirelessApplet.c
18063                 - Fix for gtk 2.4
18064
18065 2005-02-08  Dan Williams  <dcbw@redhat.com>
18066
18067         Patch from Bill Moss
18068         * panel-applet/NMWirelessApplet.c
18069                 - Restore correct ESSID in tooltips
18070
18071 2005-02-07  Dan Williams  <dcbw@redhat.com>
18072
18073         * panel-applet/NMWirelessApplet.[ch]
18074                 - Add a context menu that contains:
18075                         Pause/Resume Wireless Scanning
18076                         Stop/Start All Wireless Devices
18077                         About...
18078                 - Grab active device strength off active device,
18079                         not its network
18080
18081         * panel-applet/NMWirelessAppletDbus.[ch]
18082                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18083                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18084                 - Update active device strength every 2 seconds, not every 1 second
18085
18086         * panel-applet/menu-info.c
18087                 - Only disable wired devices in the menu when they support carrier detection,
18088                         and don't currently have a link.  Non-carrier-detect devices will always
18089                         remain choosable
18090
18091         * src/Makefile.am
18092           src/NetworkManagerDbusUtils.[ch]
18093                 - Add new new dbus utils sources
18094
18095         * src/NetworkManager.c
18096                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18097                         with the boolean parameter
18098                 - Set scanning_enabled & wireless_enabled to TRUE
18099
18100         * src/NetworkManagerDbus.c
18101                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18102                 - Implement scanning & wireless enable/disable calls
18103                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18104
18105         * src/NetworkManagerDevice.c
18106                 - New link detection stuff again...
18107                         o  Create device's mainloop earlier (but don't run it earlier)
18108                         o  Hook up new carrier-detect support stuff
18109                         o  Add in the ethtool & mii support detection code
18110                 - Don't scan if scanning is disabled
18111
18112         * src/NetworkManagerPolicy.c
18113                 - Never automatically choose a device that doesn't support carrier detection
18114                 - Don't automatically choose a wireless device if wireless is disabled
18115
18116 2005-02-07  Dan Williams  <dcbw@redhat.com>
18117
18118         * libnm_glib/libnm_glib.c
18119                 - Small cleanup in element list iteration
18120
18121 2005-02-07  Dan Williams  <dcbw@redhat.com>
18122
18123         * src/NetworkManagerWireless.c
18124                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18125                         to be in line with the WEXT quality specification
18126
18127 2005-02-02  Dan Williams  <dcbw@redhat.com>
18128
18129         Patch from Nathan Fredrickson <nathan@silverorange.com>
18130         * Fix up compile for deprecation of libgnomeui
18131                 - Switch to <glib/gi18n.h> from <libintl.h>
18132                 - Remove <libgnomeui/libgnomeui.h> includes
18133                 - Use gtk_window_set_default_icon_from_file() rather than
18134                         gnome_window_set_default_icon_from_file()
18135
18136         * named/nm-named-manager.c
18137                 - (generate_named_conf): Fix return-nothing in non-void
18138                         function
18139
18140 2005-02-02  Dan Williams  <dcbw@redhat.com>
18141
18142         * Clean up unused variables and the like
18143
18144 2005-02-02  Dan Williams  <dcbw@redhat.com>
18145
18146         * src/NetworkManagerAPList.c
18147                 - (nm_ap_list_merge_scanned_ap): merge strength too
18148
18149         * src/NetworkManagerUtils.c
18150                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18151                         of locking issues by printing out prettier information than g_mutex_lock
18152                 - Print out names of mutexes registered with nm_register_mutex_desc()
18153                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18154                         us to seemingly block here for too long
18155
18156         * src/NetworkManager.c
18157           src/NetworkManagerAPList.c
18158           src/NetworkManagerDevice.c
18159                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18160                         so we get better debug information printed
18161
18162         * src/NetworkManagerDbus.c
18163                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18164                         since it sometimes has locking side effects
18165                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18166                         from 10s
18167                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18168                         we don't need a switch.  This gets called often enough that we can't block
18169                         until the scan mutex is acquired, because we'll block on device activation
18170                         and a few other things, which hangs main thread for too long.
18171
18172         * src/NetworkManagerPolicy.c
18173                 - (nm_policy_auto_get_best_device): reduce the possiblity that
18174                         nm_device_need_ap_switch() will be called               
18175
18176 2005-02-02  Dan Williams  <dcbw@redhat.com>
18177
18178         * panel-applet/NMWirelessApplet.c
18179                 - Display name of wireless network we are connecting to or connected to
18180                         in the tooltip of the applet
18181
18182 2005-02-02  Dan Williams  <dcbw@redhat.com>
18183
18184         * src/NetworkManagerDHCP.c
18185                 - Hopefully fix double-default-route problem by cleaning up the default
18186                         route added by DHCP code right before the DHCP transaction begins
18187
18188 2005-02-02  Dan Williams  <dcbw@redhat.com>
18189
18190         * named/nm-named-manager.c
18191                 - Write out valid resolv.conf when we exit
18192
18193 2005-02-01  Dan Williams  <dcbw@redhat.com>
18194
18195         Patch from Colin Walters:
18196         * named/nm-named-manager.c
18197                 - Make multi-domain search options work
18198
18199 2005-01-31  Dan Williams  <dcbw@redhat.com>
18200
18201         * info-daemon/NetworkManagerInfoDbus.c
18202                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18203
18204         * src/NetworkManagerDevice.c
18205                 - (nm_device_new): Don't store the entire range struct, use only what we need
18206                         (which is currently avg_quality, max_quality, and frequencies).  Also
18207                         zero device structure when we've free'd it to maybe expose errors down
18208                         the line.
18209                 - (nm_device_update_signal_strength): grab the scan mutex before getting
18210                         quality data from the card since quality will be useless during a scan.
18211                         Call updated wireless qual-to-percent function with values stored in
18212                         nm_device_new() earlier.
18213                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18214                         nm_device_get_bad_crypt_packets())
18215                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18216                         nm_device_new()
18217                 - (get_initial_auth_method): always use the Auth method that's in the allowed
18218                         list if available.  Problem was this: when the WEP key is wrong, NM will
18219                         try OS then SK modes, and then get stuck in SK mode after that.  This
18220                         should reset it.
18221                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18222                         function
18223
18224         * src/NetworkManagerWireless.c
18225                 - (nm_wireless_qual_to_percent): try to make this function actually work and
18226                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
18227                         if that's all present, otherwise fall back to signal-to-noise ratios.
18228
18229 2005-01-29  Dan Williams  <dcbw@redhat.com>
18230
18231         * initscript/RedHat/NetworkManager
18232                 - Don't spit out sysctl stuff to console
18233
18234         * libnm_glib/libnm_glib.c
18235                 - (libnm_glib_init): call dbus_g_thread_init()
18236
18237         * panel-applet/NMWirelessAppletDbus.c
18238                 - (nmwa_dbus_worker): call dbus_g_thread_init()
18239
18240         * src/NetworkManager.c
18241                 - (main): call dbus_g_thread_init()
18242
18243         * src/NetworkManagerAPList.c
18244                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18245                         so we can actually see what's there in a normal syslog
18246
18247         * src/NetworkManagerDevice.c
18248                 - (nm_device_activate_wireless): print out the "waiting for access point"
18249                         message only once, then say what access point we actually got after
18250                         the wait.
18251                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18252                         function, wait until the scan is done.  Scans may change the ESSID of
18253                         the card, making this function think we need to switch access points
18254                 - (nm_device_wireless_process_scan_results): for artificial access points
18255                         don't check against the card's ESSID, but the best_ap's ESSID.  This
18256                         prevents collisions with the scanning code, which may change the card's
18257                         ESSID and cause the access point to get dropped from the device's AP
18258                         list.  Also increase the keep-around time to 2m from 60s since the max
18259                         scan interval could be 60s in some cases.
18260
18261         * src/NetworkManagerPolicy.c
18262                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18263                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18264                         the new properties and ESSIDs to the device's AP list.  Fixes some races
18265                         between NM and NMI.
18266
18267 2005-01-27  Dan Williams  <dcbw@redhat.com>
18268
18269         * info-daemon/NetworkManagerInfoDbus.c
18270                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18271                         GConf, make a minimal entry for it (essid & timestamp)
18272
18273         * src/NetworkManagerAPList.c
18274                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18275                         NetworkManagerInfo isn't running
18276
18277         * src/NetworkManagerDbus.[ch]
18278                 - (nm_dbus_nmi_is_running): new function
18279
18280         * src/NetworkManagerDevice.c
18281                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18282                         address to garbage.
18283
18284         * src/NetworkManagerPolicy.c
18285                 - (nm_policy_activation_finish): On successful activation, make sure
18286                         the "best" AP has a MAC address, and don't tell NMI to add the
18287                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18288                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18289                         access point after refreshing our allowed list if it doesn't already
18290                         have a "best" access point.
18291
18292 2005-01-25  Dan Williams  <dcbw@redhat.com>
18293
18294         * panel-applet/NMWirelessAppletDbus.c
18295                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18296                         so we check for NM_DBUS_SERVICE rather than not for it
18297
18298         * libnm_glib/libnm_glib.c
18299                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18300                         ServiceOwnerChanged signal
18301
18302 2005-01-25  Dan Williams  <dcbw@redhat.com>
18303
18304         * configure.in
18305                 - Check DBUS version in configure, and set the C macros
18306                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
18307
18308         * info-daemon/NetworkManagerInfoDbus.c
18309                 - Remove #if 0-d section of code that quit NMI if NM went away.
18310
18311         * panel-applet/NMWirelessAppletDbus.c
18312                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18313
18314         * src/NetworkManager.c
18315           src/NetworkManagerMain.h
18316           src/NetworkManagerDbus.c
18317                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18318                 - Make updating of our Allowed Wireless Network lists from NMI
18319                         an idle function in the main thread now, with a high priority.
18320
18321 2005-01-24  Dan Williams  <dcbw@redhat.com>
18322
18323         * panel-applet/gtkcellview.[ch]
18324           panel-applet/menu-info.c
18325                 - Fix GTK version checks to be <= rather than <
18326
18327         * test/Makefile.am
18328                 - Include the libtool archive of libnm_glib rather than
18329                         trying to pull in the .so
18330
18331 2005-01-24  Dan Williams  <dcbw@redhat.com>
18332
18333         * src/NetworkManagerDevice.c
18334           src/NetworkManagerDevicePrivate.h
18335                 - Block nm_device_new() until our device's worker thread has had a
18336                         chance to start up.  Fixes a race between main thread and worker
18337                         thread starting that caused activation requests to get lost.
18338
18339 2005-01-24  Dan Williams  <dcbw@redhat.com>
18340
18341         * initscript/RedHat/NetworkManager
18342                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18343                         to add the NM startup script at priority 50, which was
18344                         way too early
18345
18346 2005-01-24  Colin Walters  <walters@redhat.com>
18347
18348         * named/named.conf: Use any port for query source instead of
18349         restricting to port 53.
18350
18351 2005-01-24  Dan Williams  <dcbw@redhat.com>
18352
18353         * initscript/RedHat/NetworkManager
18354                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18355                         to add the NM startup script at priority 50, which was
18356                         way too early
18357
18358 2005-01-24  Dan Williams  <dcbw@redhat.com>
18359
18360         Patch from Tom Parker <palfrey@tevp.net>
18361         * Fix up compile warnings & errors in the wireless applet
18362
18363 2005-01-24  Dan Williams  <dcbw@redhat.com>
18364
18365         * panel-applet/NMWirelessApplet.c
18366                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18367
18368 2005-01-24  Dan Williams  <dcbw@redhat.com>
18369
18370         * panel-applet/gtkcellview.[ch]
18371                 - Only compile these files for GTK 2.4 or lower, since 
18372                         GtkCellView is now public in GTK 2.6.  Fixes crasher
18373                         when choosing "Other Wireless Networks" from the panel
18374                         applet menu
18375
18376 2005-01-21  Dan Williams  <dcbw@redhat.com>
18377
18378         * src/NetworkManager.c
18379                 - Daemonize earlier so that glib doesn't get confused (?)
18380
18381 2005-01-21  Dan Williams  <dcbw@redhat.com>
18382
18383         * panel-applet/NMWirelessApplet.[ch]
18384           panel-applet/NMWirelessAppletDbus.c
18385           panel-applet/menu-info.c
18386           src/NetworkManagerDevice.c
18387                 - Disable wired devices in the menu when they have no link.
18388
18389 2005-01-21  Dan Williams  <dcbw@redhat.com>
18390
18391         * Cache last-known-good wireless authentication method in
18392                 NetworkManagerInfo, and use that method first during
18393                 wireless device activation.  Should speed up devices that
18394                 need Shared Key authentication method since Open System is
18395                 now the default.
18396
18397         * Remove the hack to not do full activation on wired connections
18398                 that are active when we launch, it causes too many problems
18399                 with name resolution and was a hack in the first place.
18400
18401         * Re-work wireless device activation again somewhat to have a
18402                 clearer chain of events and to use last-known-good
18403                 authentication method of the access point.  Also provide
18404                 better status throughout activation to ensure the applet
18405                 can tell the user exactly what's going on.
18406
18407         * Remove the "find wireless network" code and now simply attempt
18408                 to activate with that access point.  This reduces the delay
18409                 between selecting "Other wireless Network" and actually
18410                 connecting to that network.
18411
18412         * Correctly stop the device's worker thread when its removed.
18413
18414 2005-01-21  Dan Williams  <dcbw@redhat.com>
18415
18416         * dhcpcd/client.c
18417                 - Clean up some of the debug messages
18418
18419 2005-01-21  Dan Williams  <dcbw@redhat.com>
18420
18421         * Add new icons, more frames of animation
18422         * Remove some hacks to get the panel applet to display correct
18423                 status, an NM update will soon follow that will fix the
18424                 real issue.
18425
18426 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
18427
18428         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18429         the first include for working i18n. Also, don't include it in .h files
18430         * panel-applet/NMWirelessApplet.h: Same
18431         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18432         * panel-applet/menu-info.c: Same
18433
18434 2005-01-18  Dan Williams <dcbw@redhat.com>
18435
18436         * dhcpcd/client.c
18437                 - Remove some debug messages
18438                 - Wrap others in #ifdef DEBUG/#endif
18439
18440         * src/NetworkManager.c
18441                 - Remove some debug messages
18442                 - Clarify some debug messages
18443                 - Remove code related to old single-thread wireless scanning
18444
18445         * src/NetworkManagerAP.[ch]
18446                 - New AP property "last_seen" to track how recently an AP was
18447                         found in a scan
18448                 - Start using 'const' more in function arguments
18449
18450         * src/NetworkManagerAPList.[ch]
18451                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18452                         of an AP found in an AP list from a source AP, or if not found
18453                         in the list add the source AP
18454                 - (nm_ap_list_combine): remove, no longer needed
18455
18456         * src/NetworkManagerDevice.c
18457                 - Each device now has a "worker" thread from start to end of its life.
18458                         Scanning for wireless devices now happens in that thread,
18459                         not in a single "wireless scanning thread" for all devices as
18460                         previously.  Activation consists of adding an idle handler to the
18461                         thread's main loop/context, which gets run at the next available
18462                         opportunity.
18463                 - Wireless scanning is also simplified, there is now only one list of
18464                         access points per wireless device, and APs older than 60s are
18465                         removed from the list.  Previously, we kept results for the last
18466                         3 scans and merged whole lists, which was complicated.
18467                 - Cleaned up activation debug messages.
18468                 - Wireless activation and access-point search routines now use Open System
18469                         authentication before trying Shared Key.
18470                 - Removed some code in nm_device_update_best_ap() that could cause cards
18471                         to loose their link to the access point.
18472                 - Scanning now uses a backoff algorithm, where the inverval becomes
18473                         progressively longer between scans when the list of scanned access
18474                         points doesn't change.  A change will revert to the shortest scan
18475                         interval (20s).
18476
18477         * src/NetworkManagerWireless.[ch]
18478                 - Remove code related to old single-thread wireless scanning
18479
18480 2005-01-18  Colin Walters  <walters@redhat.com>
18481
18482         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18483         of older nameservers.
18484
18485 2005-01-18  Colin Walters  <walters@redhat.com>
18486
18487         * named/nm-named-manager.c (generate_named_conf): Many fixes
18488         to config file generation.
18489         (safer_kill): Remove, was too much trouble for little gain.
18490         (nm_named_manager_start): Run named as NM_NAMED_USER.
18491
18492         * configure.in: Add option --with-named-user.
18493
18494 2005-01-14  Colin Walters  <walters@redhat.com>
18495
18496         Patch from ed@catmur.co.uk (Ed Catmur)
18497
18498         * named/nm-named-manager.c: Add "context" property.
18499         Use it to add child watch source in specific GMainContext.
18500
18501         * src/NetworkManager.c (nm_data_new): Initialize
18502         named with correct main context.  Start named only
18503         after forking.
18504
18505 2005-01-14  Colin Walters  <walters@redhat.com>
18506
18507         * named/nm-named-manager.c (generate_named_conf): Write config
18508         and pid files into NM_NAMED_DATA_DIR; this allows things to
18509         work better with FC3 named SELinux policy.  Also fix up silly
18510         format error.
18511
18512         * configure.in: Add --with-named-dir option.
18513
18514 2005-01-14  Colin Walters  <walters@redhat.com>
18515
18516         * configure.in: Make named support require passing --with-named.
18517
18518         * named/nm-named-manager.c: Support writing resolv.conf directly
18519         without running named.
18520
18521 2005-01-13  Dan Williams <dcbw@redhat.com>
18522
18523         * named/nm-named-manager.c
18524                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18525
18526         * src/NetworkManagerDevice.c
18527                 - Rework wireless link detection code to be more reliable
18528
18529 2005-01-12  Dan Williams <dcbw@redhat.com>
18530
18531         * initscripts/RedHat/NetworkManager
18532                 - Change initial level to "-" rather than "345" so that
18533                         we don't activate ourselves by default on install
18534
18535 2005-01-12  Dan Williams <dcbw@redhat.com>
18536
18537         * libnm_glib/
18538                 - Client library for applications using glib
18539
18540         * configure.in
18541           various Makefiles
18542                 - Split NM_CFLAGS and NM_LIBS into separate variables
18543                         like DBUS_*, HAL_* and GLIB_*
18544
18545         * src/NetworkManager.c
18546           src/NetworkManagerMain.h
18547                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18548                         broadcast a status changed signal over DBUS from the main thread.
18549                         Still unused anywhere for the moment.
18550
18551         Patch from j@bootlab.org
18552         * panel_applet/NMWirelessAppletDbus.c
18553           src/NetworkManagerDbus.c
18554                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18555                         for the "getMode" method call
18556
18557 2005-01-10  Dan Williams <dcbw@redhat.com>
18558
18559         * src/NetworkManagerDevice.c
18560                 - Minor fixups & corrections to "auto" frequency mode, make it
18561                         less chatty with syslog
18562
18563 2005-01-10  Dan Williams <dcbw@redhat.com>
18564
18565         * src/NetworkManagerDevice.c
18566                 - Implement "auto" frequency/channel support, since cards like Atheros
18567                         can't use other frequencies at all when you've told it to use a
18568                         specific one, even for scanning.
18569                 - Grab the scan mutex around places where we can't tolerate wireless
18570                         settings changing underneath us, like nm_device_wireless_network_exists()
18571                         and nm_device_activate_wireless()
18572
18573         * src/NetworkManagerWireless.c
18574                 - Back scan interval off to 20s instead of 14s
18575
18576 2005-01-09  Dan Williams <dcbw@redhat.com>
18577
18578         * src/NetworkManagerDevice.c
18579                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18580                         already set.  Stops some drivers like Atmel from continually
18581                         reloading the firmware, which they do upon every configuration
18582                         change.
18583
18584 2005-01-09  Dan Williams <dcbw@redhat.com>
18585
18586         * dhcpcd/client.c
18587                 - Use correct timeout value
18588
18589         * info-daemon/NetworkManagerInfoDbus.c
18590           src/NetworkManagerDbus.c
18591                 - Consolidate communication between NM and NMI by doing only 1 dbus
18592                         method call to get Wireless Network info from NMI instead of 6
18593
18594         * src/NetworkManager.c
18595                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18596                         when we didn't have an AP to use, we'd wait for one forever without
18597                         quitting
18598
18599         * src/NetworkManagerDevice.c
18600                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18601                         activation, dhcp might not have started yet but we don't quit activation
18602                         before starting it, so the quit signal gets lost
18603
18604 2005-01-07  Dan Williams <dcbw@redhat.com>
18605
18606         * dhcpcd/client.c
18607                 - Rework the DHCP client code to be much less chatty when
18608                         it receives non-DHCP UDP packets during the DHCP run
18609                         (reported by and preliminary patches from Bill Moss)
18610
18611         * Move wireless scanning to a separate thread.  This thread forwards the
18612                 results to the main thread when done where they are integrated into
18613                 the device's access point lists.  This keeps the main thread (which
18614                 does all the DBUS communication) from being blocked for long periods
18615                 of time by wireless scanning.
18616
18617         * Make state modification an idle routine in the main loop, and trigger
18618                 state changes rather than polling for them.
18619
18620         * src/backends/NetworkManagerGentoo.c
18621                 - Fix up invalid C90 code (reported by Christoph Ruessler)
18622
18623         * src/NetworkManagerDevice.c
18624                 - Revert IPv6 patch for wired devices from 2004-12-22 for
18625                         router advertisements, causing problems and infinite loop
18626                         during "best" device determination due to link going up/down
18627                         (reported by Bill Moss)
18628
18629         Apply patch from Peter Jones
18630         * src/NetworkManagerDevice.c
18631                 - Shortcut for link-checking for ipw2x00 cards
18632                 - Split out association check into separate routine
18633
18634 2004-01-05  Colin Walters  <walters@redhat.com>
18635
18636         * named/named.conf: Add PID_FILE.
18637
18638         * named/nm-named-manager.c: Always generate a pid
18639         file, since older BIND versions don't support
18640         "pid-file none".
18641
18642 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
18643
18644         * configure.in (ALL_LINGUAS): Added ja (Japanese).
18645
18646 2004-12-22  Dan Williams <dcbw@redhat.com>
18647
18648         * src/NetworkManagerDevice.c
18649                 - Silently fail when setting bitrate doesn't work
18650
18651
18652         Patches from j@bootlab.org:
18653         * src/backends/NetworkManagerDebian
18654                 - Update backend to match functionality in RedHat backend
18655         * src/NetworkManagerDevice.c
18656                 - Take down then bring up wired devices after connection so
18657                 they send out ipv6 router advertisements
18658
18659 2004-12-21  Colin Walters  <walters@verbum.org>
18660
18661         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18662         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18663
18664 2004-12-21  Colin Walters  <walters@redhat.com>
18665
18666         * configure.in: Correct named detection.
18667
18668 2004-12-21  Colin Walters  <walters@redhat.com>
18669
18670         * src/NetworkManager.c (nm_data_new): Initialize named.
18671         Also, set up a signal handler for SIGINT/SIGTERM, and exit
18672         the mainloop when these signals are received.
18673         (nm_data_free): Unref named.
18674         (sigterm_handler, sigterm_pipe_handler): New functions for
18675         exiting mainloop.
18676         
18677         * src/NetworkManagerMain.h (NMData): Add signal handling and
18678         nameserver bits.
18679
18680         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18681         unref.
18682
18683         * src/NetworkManagerDHCP.c (set_nameservers): New function;
18684         set nameservers from DHCP response data.
18685         (set_domain_search): Set domain search from DHCP response.
18686         (nm_device_dhcp_configure): Invoke them.
18687
18688         * src/NetworkManagerSystem.c
18689         (nm_system_device_update_resolv_conf): Delete.  Deleting
18690         code is totally sweet.
18691
18692         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18693
18694         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18695         implements an object which controls a nameserver.  Currently
18696         uses bind 9.
18697
18698         * configure.in: Check for named.
18699
18700         * Makefile.am (SUBDIRS): Add named dir.
18701
18702         * named/named.conf: New template config file.
18703
18704 2004-12-20  Colin Walters  <walters@redhat.com>
18705
18706         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18707         instead of '='.
18708
18709 2004-12-17  Dan Williams  <dcbw@redhat.com>
18710
18711         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
18712                 link-local addresses instead of doing DHCP.
18713
18714         * In the panel applet, there's a new "Create new Wireless Network..." item
18715
18716         * The panel applet also sticks around now even if NetworkManager dies, but
18717                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
18718                 a bug, I'll fix that later.
18719
18720         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18721                 lookups after a switch rather than actually doing them.
18722
18723         * Clean up some of those warnings in nm_ap_list_* functions
18724
18725         * Delay between scans changed to 15s instead of 10s
18726
18727 2004-12-15  Dan Williams  <dcbw@redhat.com>
18728
18729         Patch from Tom Parker
18730         * Add autoip/Link Local Addressing support when we fail to get a DHCP
18731                 address
18732
18733         * Longer pause after setting ESSID on cards that support a larger number
18734                 of channels to give the card time to find the right channel
18735
18736         * Add system hook to restart mDNSResponder (or whatever the local implementation
18737                 of Multicast DNS is) when we activate interfaces
18738
18739 2004-12-15  Dan Williams  <dcbw@redhat.com>
18740
18741         * Rework the DHCP code again to revert to sending full ethernet frames
18742                 rather then relying on the kernel to do the right thing with our
18743                 packets.
18744
18745 2004-12-06  Dan Williams  <dcbw@redhat.com>
18746
18747         * dhcpcd/client.c
18748                 - Fix some minor errors in dhcp_handle_transaction() that caused
18749                         unexpected early timeouts of DHCP transactions
18750
18751         * dhcpcd/client.h
18752                 - DHCP retransmit time from 4s -> 5s
18753
18754 2004-12-05  Dan Williams  <dcbw@redhat.com>
18755
18756         * Major rework of the DHCP code, taking some cues from pump.  We don't
18757                 write raw Ethernet packets anymore, which simplifies the code quite
18758                 a bit.  The new code should be more robust, not hang in recvfrom()
18759                 as much, and generally work better.  This also means that we need
18760                 to force HAL/dbus to use a created GMainContext rather than the
18761                 default context, since having the DHCP renew/rebind thread using
18762                 its own GMainContext seemed to give dbus a fit.  There is also more
18763                 debugging information printed from the DHCP loop to help with future
18764                 problems.
18765
18766         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18767                 assume that the default gateway should be the DHCP server.
18768
18769         Patch from Matthew Schick <matt oss-institute org>
18770         * src/backends/NetworkManagerGentoo.c
18771                 - Fix compilation error due to missing "ip4_broadcast"
18772
18773 2004-12-03  Dan Williams  <dcbw@redhat.com>
18774
18775         * initscript/Makefile.am
18776         * initscript/Debian/NetworkManager
18777         * initscript/Gentoo/NetworkManager
18778         * initscript/RedHat/NetworkManager
18779         * initscript/NMLaunchHelper.c
18780                 - Remove NMLaunchHelper, if you need to wait until the network
18781                         comes up, use the dead code from CVS.
18782
18783 2004-12-01  Colin Walters  <walters@redhat.com>
18784         
18785         * configure.in: Suck in gcc warnings code from Rhythmbox,
18786         but use fewer default flags, and in particular add -Wno-unused,
18787         since the codebase has a lot of unused variables.
18788
18789         * test/nmtestdevices.c (create_device): 
18790         * test/nminfotest.c (get_network_string_property) 
18791         (get_networks_of_type): 
18792         * test/nmclienttest.c (main): 
18793         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
18794         * initscript/NMLaunchHelper.c (get_nm_status): 
18795         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
18796         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
18797         Fix declarations after statements.
18798
18799 2004-12-01  Colin Walters  <walters@redhat.com>
18800
18801         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18802         (nmi_dbus_get_vpn_userpass): New method.
18803         (nmi_dbus_nmi_message_handler): Invoke it.
18804
18805         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18806
18807         * info-daemon/NetworkManagerInfoVPN.h,
18808         info-daemon/NetworkManagerInfoVPN.c: New files; responds
18809         to requests for VPN passwords.
18810
18811         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18812
18813 2004-12-01  Colin Walters  <walters@redhat.com>
18814
18815         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18816         includes.
18817
18818 2004-12-01  Colin Walters  <walters@redhat.com>
18819
18820         * panel-applet/NMWirelessAppletDbus.c
18821         (nmwa_dbus_update_active_device_strength): Fix missing
18822         return value.
18823
18824 2004-12-01  Colin Walters  <walters@redhat.com>
18825
18826         * panel-applet/NMWirelessApplet.c: Add missing include.
18827
18828 2004-12-01  Colin Walters  <walters@redhat.com>
18829
18830         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18831         Remove useless CLAMP (); the value is unsigned, and the case tests
18832         qual->qual < 100, so the value must always be between 0 and 100.
18833
18834 2004-12-01  Colin Walters  <walters@redhat.com>
18835
18836         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18837
18838 2004-11-22  Colin Walters  <walters@verbum.org>
18839
18840         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18841         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18842         which is essentially a noop since nscd caches hosts on disk too.
18843         
18844 2004-11-22  Colin Walters  <walters@redhat.com>
18845
18846         * src/Makefile.am (NetworkManager_SOURCES): Add
18847         NetworkManagerDevicePrivate.h.
18848
18849 2004-11-22  Dan Williams <dcbw@redhat.com>
18850
18851         * src/NetworkManagerDevicePrivate.h
18852                 - Split out the NMDevice struct to a different file so that stuff like
18853                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18854
18855         * dhcpcd/client.c
18856                 - fprintf->syslog
18857                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18858                         need to cancel the dhcp request during the send and recv
18859
18860         * dhcpcd/client.h
18861                 - Move the DHCP option enum to dhcpcd.h
18862
18863         * src/NetworkManagerDHCP.c
18864                 - Split out the actual IP/netmask/etc setting code
18865                 - New Renew/Rebind functions
18866                 - New timer setup function for renew/rebind operations
18867
18868         * src/NetworkManagerDevice.c
18869                 - For device activation, if we are using DHCP then keep the activation thread
18870                         alive until device deactivation.  We need to renew/rebind the DHCP address
18871                         after the T1 (renew) and T2 (rebind) times have expired.
18872                 - Increase some timeouts after bringing wireless cards up/down
18873
18874 2004-11-17  Dan Williams <dcbw@redhat.com>
18875
18876         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
18877                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
18878                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
18879                 show known access points that don't broadcast their ESSID in the menus without
18880                 any user intervention whatsoever.
18881
18882         * info-daemon/NetworkManagerInfoDbus.c
18883                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
18884                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
18885
18886         * src/NetworkManagerAP.[ch]
18887                 - Add a "user_addresses" data member to the NMAccessPoint structure
18888                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
18889                         the user_addresses data member
18890
18891         * src/NetworkManagerAPList.c
18892                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
18893                         the AP's reported address
18894                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
18895
18896         * src/NetworkManagerDHCP.c
18897                 - Increase DHCP timeout from 25s -> 30s
18898
18899         * src/NetworkManagerDbus.[ch]
18900                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
18901                         user addresses
18902
18903         * src/NetworkManagerDevice.c
18904                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
18905                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
18906                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
18907                         So, we take the card down to clear it out.
18908                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
18909                         too, since that's where the user_addresses are
18910
18911         * src/NetworkManagerPolicy.c
18912                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
18913                         that wireless networks' user_addresses list upon successful activation
18914
18915 2004-11-16  Dan Williams <dcbw@redhat.com>
18916
18917         * src/NetworkManagerDevice.[ch]
18918                 - (nm_device_clear_activation_fail): new function
18919
18920         * src/NetworkManagerPolicy.c
18921                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
18922                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
18923
18924 2004-11-16  Dan Williams <dcbw@redhat.com>
18925
18926         * src/NetworkManagerDevice.c
18927                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
18928                         leak the structure, better updating of now_scanning status
18929                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
18930
18931 2004-11-15  Dan Williams <dcbw@redhat.com>
18932
18933         Major rework of link detection code.  We now use DHCP
18934         as part of the link detection which proves to be much more robust,
18935         and also supports Open System authentication for wireless networks.
18936
18937         We no longer use external DHCP client programs.  Instead, we use 
18938         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
18939         which was written by:
18940                 Yoichi Hariguchi <yoichi@fore.com>
18941                 Sergei Viznyuk <sv@phystech.com>
18942                 http://www.phystech.com/download/
18943         It resides in the "dhcpcd" directory and was refactored into a general
18944         purpose DHCP client library by me.
18945
18946         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
18947         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
18948
18949 2004-11-15  Dan Williams <dcbw@redhat.com>
18950
18951         Patch from Tom Parker <palfrey@tevp.net>:
18952
18953         * src/NetworkManagerDevice.c
18954                 - Less output to console when no access
18955                         points are found during a scan
18956
18957 2004-11-15  Dan Williams <dcbw@redhat.com>
18958
18959         Patch from Tom Parker <palfrey@tevp.net>:
18960
18961         * src/backends/interface_parser.c
18962                 - Use g_strdup ()
18963                 - Check for inp == NULL
18964                 - use syslog ()
18965
18966 2004-11-13  Colin Walters  <walters@redhat.com>
18967
18968         Patch from Tom Parker <palfrey@tevp.net>:
18969
18970         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
18971         
18972         * src/backends/NetworkManagerRedHat.c: Switch to
18973         including shvar.h instead of shvar.c.
18974
18975         * src/backends/NetworkManagerDebian.c: Don't include
18976         interface_parser.c in source file.
18977
18978         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
18979         and interface_parser.[ch].
18980         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
18981         Include shvar.c and shvar.h here.
18982         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
18983         interface_parser.c and interface_parser.h here.
18984
18985 2004-11-12  Colin Walters  <walters@redhat.com>
18986
18987         * configure.in: Strip out TARGET_DISTRO and
18988         SYSTEM_BACKEND_FILE variables.  Switch to Automake
18989         conditionals.
18990
18991         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
18992         (libnmbackend_la_SOURCES): Use Automake conditionals
18993         to add distro-specific files.
18994
18995         * initscript/Makefile.am (SUBDIRS): Update to
18996         use conditionals.
18997
18998 2004-11-12  Colin Walters  <walters@redhat.com>
18999
19000         Patches from j bootlab org
19001
19002         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
19003         Add interface_parser.[ch].
19004
19005         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19006         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19007
19008 2004-11-12  Colin Walters  <walters@redhat.com>
19009
19010         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19011         call to nmi_dbus_is_running too, not necessary anymore.
19012         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19013         pick up exit().
19014
19015 2004-11-11  Colin Walters  <walters@verbum.org>
19016
19017         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19018         Delete.
19019         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19020         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19021         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19022         This avoids a race condition that made it pretty easily
19023         possible to get two NetworkManagerInfo daemons running.
19024
19025 2004-11-11  Colin Walters  <walters@verbum.org>
19026         
19027         * src/NetworkManager.c (main): Use daemon(3).
19028
19029         * info-daemon/NetworkManagerInfo.c (main): Ditto.
19030
19031         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19032
19033 2004-11-10 Dan Williams <dcbw@redhat.com>
19034
19035         Patches from j bootlab org
19036         * src/NetworkManagerDevice.c
19037                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19038                         whether the card has a link or not, some cards are slow
19039                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19040
19041         * info-daemon/NetworkManagerInfoPassphraseDialog.c
19042                 - Disable the "Login" button on the passphrase dialog until the user
19043                         enters a valid passphrase or key
19044
19045         Patches from Tom Parker <palfrey tevp net>
19046         * src/backends/NetworkManagerDebian.c
19047                 - Add static IP support to the debian backend
19048
19049         * src/backends/interface_parser.[ch]
19050                 - Parse debian interface config files
19051
19052 2004-11-08 Dan Williams <dcbw@redhat.com>
19053
19054         * src/NetworkManagerDevice.c
19055                 - Some random fprintf->syslog conversions
19056                 - (nm_device_wireless_network_exists): double-check for network
19057                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19058
19059         * src/NetworkManagerWireless.[ch]
19060                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19061                         so that the binary->ascii conversion works (if unsigned, the bitshift
19062                         will fill with zeros, which is what's required).  Also mask bitshift
19063                         result with 0xF for futher assurance.
19064
19065 2004-11-06 Dan Williams <dcbw@redhat.com>
19066
19067         * src/NetworkManagerUtils.c
19068                 - (nm_get_wireless_driver_support_level): default to
19069                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19070                         flip this when changing from whitelist->blacklist of
19071                         wireless drivers
19072
19073 2004-11-05 Dan Williams <dcbw@redhat.com>
19074
19075         Patch from Robert Paskowitz:
19076         * src/backends/NetworkManagerGentoo.c
19077                 - Update static IP config code
19078
19079 2004-11-05 Dan Williams <dcbw@redhat.com>
19080
19081         * info-daemon/NetworkManagerInfoDbus.c
19082           src/NetworkManagerDbus.[ch]
19083           src/NetworkManagerDevice.c
19084                 - Keep track of the # of attempts to get the WEP key
19085                         from the user and pass that along to the info daemon
19086
19087 2004-11-05 Dan Williams <dcbw@redhat.com>
19088
19089         * src/NetworkManagerUtils.c
19090                 - Blacklist wireless cards rather than whitelisting them.
19091                 - Grab driver name from HAL rather than trying to find it
19092                         ourselves.
19093
19094 2004-11-03 Dan Williams <dcbw@redhat.com>
19095
19096         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19097                 - Disable OK button until valid data is entered
19098                         for encryption stuff too
19099
19100         * panel-applet/NMWirelessApplet.c
19101                 - Report card strength for current AP if the card
19102                         doesn't report strength data for scanned access
19103                         points
19104
19105         * src/NetworkManagerDevice.c
19106                 - Smooth out cards reported quality, Atmel card was
19107                         intermittently reporting no quality data but soon
19108                         recovers
19109
19110         * src/NetworkManagerWireless.c
19111                 - Better quality data percentage calculation.  Atmel
19112                         cards (mine at least) seem to report the quality
19113                         in percentage format already, so honor that
19114
19115         Patch from <j@bootlab.org>
19116         * NetworkManager.h
19117           info-daemon/NetworkManagerInfoPassphraseDialog.c
19118           info-daemon/passphrase.glade
19119           panel-applet/NMWirelessAppletOtherNetworkDialog.c
19120           panel-applet/essid.glade
19121           src/NetworkManagerAP.c
19122           src/NetworkManagerDevice.c
19123           src/NetworkManagerWireless.[ch]
19124                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19125
19126 2004-11-03 Dan Williams <dcbw@redhat.com>
19127
19128         * src/NetworkManagerDevice.[ch]
19129                 - (nm_device_set_enc_key): Add parameter to set Authentication
19130                         Mode (Open System, Shared Key, or None).  We're still using
19131                         Shared Key for now though.
19132
19133 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
19134
19135         * panel-applet/menu-info.c: change from bold text to light
19136         colored, may cause problems with some themes, i've tested a lot
19137         and they seem fine. 
19138
19139         * panel-applet/NMWirelessApplet.c: fix strength tooltip
19140
19141 2004-11-01  Colin Walters  <walters@verbum.org>
19142
19143         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19144         (nm_wireless_128bit_key_from_passphrase): Add const.
19145
19146         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19147         (nm_ap_set_enc_key_source): Add const.
19148         
19149 2004-11-01  Colin Walters  <walters@verbum.org>
19150
19151         * .cvsignore: Update.
19152
19153 2004-10-29 Dan Williams <dcbw@redhat.com>
19154
19155         * src/NetworkManagerDevice.c
19156                 - (nm_device_wireless_network_exists): Actually use the encryption
19157                         key we got from the applet when attempting to find a wireless network
19158                 - Don't bring devices down so much since on some cards it triggers
19159                         firmware hotplugs each time
19160
19161         * src/NetworkManagerDbus.c
19162                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19163                         from the caller
19164
19165 2004-10-29 Dan Williams <dcbw@redhat.com>
19166
19167         * src/NetworkManager.c
19168                 - (nm_hal_device_property_modified): unlock a locked active
19169                         wireless device when a wired connection gets a link.
19170                         (Means you'll switch to wired whenever you plug in no
19171                         matter what).
19172
19173 2004-10-29 Dan Williams <dcbw@redhat.com>
19174
19175         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19176                 - New files, implement the "Other wireless network" dialog
19177
19178         * panel-applet/NMWirelessApplet.c
19179                 - Move "other wireless network" dialog to separate file
19180
19181         * panel-applet/NMWirelessAppletDbus.[ch]
19182                 - Take key and key_type paramaters for the set_device function
19183
19184         * panel-applet/essid.glade
19185                 - Add UI bits for encryption settings
19186
19187         * src/NetworkManagerDbus.c
19188                 - Retrieve key and key_type params for "setActiveDevice" method call
19189                         and pass them on
19190                 - unref AP returned from nm_device_get_best_ap() when needed
19191
19192         * src/NetworkManagerDevice.c
19193                 - (nm_device_get_best_ap): ref the ap before returning it
19194                 - unref AP returned from nm_device_get_best_ap() when needed
19195                 - (nm_device_activate_wireless): add "ap" parameter so we don't
19196                         need to call nm_device_get_best_ap() here, it was pretty much
19197                         redundant anyway
19198                 - (AP_NEED_KEY): break second link check condition out into separate
19199                         function, and fix segfault when ap->enc_key_source was NULL
19200                 - (nm_device_find_and_use_essid): take key and key_type parameters and
19201                         pass them along to nm_device_wireless_network_exists().  If the
19202                         network does exist, set the passed-in key+key_type on the AP
19203
19204         * src/NetworkManagerPolicy.c
19205                 - unref AP returned from nm_device_get_best_ap() when needed
19206
19207 2004-10-28 Dan Williams <dcbw@redhat.com>
19208
19209         * src/NetworkManagerUtils.c
19210                 - (nm_spawn_process): Fix a potential dereference of NULL
19211
19212         Patches from Peter Jones:
19213
19214         * src/NetworkManagerDevice.c
19215                 - (nm_device_test_wireless_extensions): Better check for
19216                         wireless devices
19217
19218         * src/NetworkManagerUtils.c
19219                 - (nm_spawn_process): Pass in valid stdout and stderr so
19220                         executed programs don't randomly SIGPIPE and fail
19221                 - (nm_get_wired_driver_support_level): quash hal warning
19222                         when checking for USB ethernet device
19223
19224 2004-10-27 Dan Williams <dcbw@redhat.com>
19225
19226         * info-daemon/NetworkManagerInfo.c
19227           info-daemon/NetworkManagerInfoDbus.c
19228           info-daemon/NetworkManagerInfoPassphraseDialog.c
19229           panel-applet/NMWirelessApplet.c
19230                 - Properly escape gconf keys
19231
19232         * src/NetworkManager.c
19233                 - remove unused variables
19234
19235         * src/NetworkManagerAP.c
19236                 - (nm_ap_new_from_ap): Don't redundantly set new APs
19237                         refcount since it got set in nm_ap_new()
19238
19239         * src/NetworkManagerAPList.c
19240                 - (nm_ap_list_combine): Give up ownership of newly created
19241                         access points to the ap list, fixes memleak
19242
19243         * src/NetworkManagerDevice.c
19244                 - Remove cached_ap_list4 member since its not really needed
19245                 - (nm_device_wireless_network_exists): Try to get correct
19246                         encryption status of a found AP if its already in our
19247                         device list
19248                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19249                         memory allocs/deallocs a bit clearer and shorter-lived
19250
19251 2004-10-26 Ray Strode <rstrode@redhat.com>
19252
19253         * panel-applet/NMWirelessApplet.c:
19254           (custom_essid_item_selected):  kill some compiler
19255         warnings 
19256
19257 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19258
19259         * info-daemon/NetworkManagerInfoDbus.c
19260                 - (nmi_dbus_is_running): New function for determining if nmi is already running
19261                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19262
19263 2004-10-23 Dan Williams <dcbw@redhat.com>
19264
19265         * info-daemon/NetworkManagerInfoDbus.c
19266                 - Trap the "DeviceActivationFailed" signal
19267
19268         * docs/NetworkManager DBUS API.txt
19269                 - Add "DeviceActivationFailed" signal
19270
19271         * panel-applet/NMWirelessAppletDbus.c
19272                 - Quash the "NetworkManager service not available" message
19273
19274         * src/NetworkManagerDbus.[ch]
19275                 - Add the "DeviceActivationFailed" signal
19276
19277         * src/NetworkManagerDevice.c
19278                 - Add support for activation_failed flag
19279                 - Fix deadlock where activation thread didn't clean itself up, making
19280                         main thread still believe it was alive forever (didn't reset activation
19281                         flags like activating, just_activated, etc when IP configuration
19282                         failed)
19283
19284         * src/NetworkManagerPolicy.c
19285                 - Implement logic for DeviceActivationFailed signal, and when activation fails
19286                         for wireless networks, try to fall back to some other access point
19287
19288 2004-10-23 Dan Williams <dcbw@redhat.com>
19289
19290         * panel-applet/NMWirelessApplet.[ch]
19291                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19292                         to the applet object, so we can get tooltips
19293                 - Add tooltips (RH #136866)
19294
19295         * src/NetworkManagerDevice.c
19296                 - When trying to find a wireless network, try to connect with encryption
19297                         turned on first, so that we can more accurately detect whether or not
19298                         we need to use encryption for the actual association later on
19299
19300 2004-10-21 Dan Williams <dcbw@redhat.com>
19301
19302         * Add some support for telling NetworkManagerInfo to tell the user
19303                 that they are using a device that's not fully supported
19304
19305         * Fix some assertions in debug messages due to null access point args
19306
19307 2004-10-21 Dan Williams <dcbw@redhat.com>
19308
19309         * src/NetworkManagerDevice.c
19310                 - Don't try to activate/bring up/down unsupported
19311                         devices
19312
19313         * src/NetworkManagerUtils.c
19314                 - Fix case of PCI ID checks for driver support levels
19315
19316 2004-10-21 Dan Williams <dcbw@redhat.com>
19317
19318         * NetworkManager.h
19319                 - New file, now contains commonly used structures and bits
19320                         for the dbus API of NetworkManager
19321
19322         * Makefile.am
19323                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19324
19325         * src/NetworkManager.h
19326                 - Rename -> src/NetworkManagerMain.c
19327
19328         * Various fixups all around to use NetworkManager.h and new
19329                 src/NetworkManagerMain.h, remove redundant bits that got
19330                 moved into NetworkManager.h
19331
19332         * src/NetworkManagerDevice.[ch]
19333           src/NetworkManagerUtils.[ch]
19334           src/NetworkManagerPolicy.c
19335           src/NetworkManagerDbus.c
19336                 - Whitelist wireless drivers, and blacklist some wired
19337                         drivers.  Also blacklist cipsec and ethernet-over-usb
19338                         devices at this time (RH #135722, RH #135648)
19339                 - Don't leak unsupported devices out over dbus, or allow
19340                         them to be set as the active device.  Skip over them
19341                         during automatic device picking
19342
19343         * test/nmclienttest.c
19344                 - Clean up the dbus code a lot
19345
19346 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
19347
19348         * configure.in: post release bump.
19349
19350 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
19351
19352         * configure.in:
19353         * NEWS: Released NetworkManager-0.3.1
19354
19355 2004-10-18 Dan Williams <dcbw@redhat.com>
19356
19357         Patches from Thom May:
19358         * test/nmtestdevices.c
19359                 - Include <string.h>
19360         * src/backends/NetworkManagerDebian.c:
19361                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19362                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19363                         Move to using g_strdup_printf rather than arbitrary buffers
19364                 - (nm_system_device_setup_static_ip4_config) Implement function.
19365                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19366
19367 2004-10-17 Dan Williams <dcbw@redhat.com>
19368
19369         * info-daemon/NetworkManagerInfoDbus.c
19370                 - Display name of network in the "network not found" dialog
19371
19372         * panel-applet/NMWirelessAppletDbus.c
19373                 - (nmwa_dbus_call_nm_method): new function replaces all other
19374                         nmwa_dbus_get_[string|string_array|int|boolean] methods
19375                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19376                         consolidated into nmwa_dbus_get_object_name()
19377
19378 2004-10-15 Dan Williams <dcbw@redhat.com>
19379
19380         * src/NetworkManagerDbus.c
19381           info-daemon/NetworkManagerInfoDbus.c
19382                 - Display an error dialog when the user tries to use an
19383                         "Other wireless network" that's not found.
19384
19385 2004-10-15 Dan Williams <dcbw@redhat.com>
19386
19387         * panel-applet/NMWirelessApplet.[ch]
19388                 - Fix up corner cases in applet state, making it
19389                         look more responsive.  Change state to "connecting" when
19390                         the user is forcing a device too.
19391
19392 2004-10-15 Dan Williams <dcbw@redhat.com>
19393
19394         * src/NetworkManagerAPList.c
19395                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19396
19397         * src/NetworkManagerDbus.c
19398                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19399
19400         * src/NetworkManagerDevice.c
19401                 - Disown APs after the device's AP list takes ownership
19402
19403 2004-10-15 Dan Williams <dcbw@redhat.com>
19404
19405         * panel-applet/NMWirelessApplet.c
19406                 - Update our applet state from the GUI thread
19407
19408         * panel-applet/NMWirelessAppletDbus.c
19409                 - Greatly simplify the locking to make the GUI thread
19410                         smoother.  Update a private copy of the device list
19411                         and active device and only when done talking to
19412                         NetworkManager turn it over to the GUI thread.
19413
19414 2004-10-15 Dan Williams <dcbw@redhat.com>
19415
19416         * src/NetworkManagerAP.[ch]
19417                 - Add "artificial" get/set functions, set for APs that
19418                         aren't discovered as part of a scan but instead
19419                         discovered by force-setting the ESSID
19420
19421         * src/NetworkManagerDevice.[ch]
19422                 - (nm_device_wireless_network_exists): pass back whether
19423                         or not the discovered AP was encrypted.  Also, try
19424                         falling back to encrypted mode on the card if unencrypted
19425                         association doesn't work
19426                 - (nm_device_find_and_use_essid): If the network requested
19427                         did in fact exists, but it wasn't in our scan list, add
19428                         an "artificial" entry for it.  Some Cisco cards don't
19429                         see non-ESSID-broadcasting APs in their scan but can still
19430                         associate with them if you know the ESSID, this works around
19431                         that behavior
19432                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19433                         to scan if the card is currently associated with that AP
19434
19435 2004-10-15 Dan Williams <dcbw@redhat.com>
19436
19437         ---- We have a website ----
19438         http://people.redhat.com/dcbw/NetworkManager
19439
19440         Patch from Robert Paskowitz:
19441         * src/NetworkManager.c
19442                 - (main): Make sure we are run as root
19443         * src/NetworkManagerDevice.c
19444                 - Fix type in ad-hoc setting function
19445
19446         Patch from Thom May:
19447         * src/backends/NetworkManagerDebian.c
19448                 - Make Debian backend compile again
19449
19450 2004-10-14 Dan Williams <dcbw@redhat.com>
19451
19452         * Tagged NetworkManager-0_3
19453
19454 2004-10-14 Dan Williams <dcbw@redhat.com>
19455
19456         Patch from Robert Paskowitz:
19457         * NEWS
19458           src/NetworkManagerDevice.[ch]
19459           src/backends/NetworkManagerDebian.c
19460           src/backends/NetworkManagerGentoo.c
19461           src/backends/NetworkManagerRedHat.c
19462           src/backends/NetworkManagerSlackware.c
19463                 - Add support for grabbing and using a broadcast address
19464                         from system config files
19465                 - Some Gentoo backend fixes for grabbing network config
19466                 - Fix LOG_WARN->LOG_WARNING
19467
19468 2004-10-14 Dan Williams <dcbw@redhat.com>
19469
19470         * NEWS: a few small fixes in the credits
19471
19472 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
19473
19474         * NEWS: prep for release.
19475
19476 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
19477
19478         * panel-applet/NMWirelessAppletDbus.c
19479         (nmwa_dbus_update_device_wireless_networks): remove warnings.
19480
19481 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
19482
19483         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19484         applet->state == APPLET_STATE_NO_NM animation.
19485
19486         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19487         set the text correctly.
19488
19489 2004-10-14 Dan Williams <dcbw@redhat.com>
19490
19491         * src/NetworkManager.c
19492                 - Only accept and manager 802.3 and 802.11 devices
19493
19494         * src/NetworkManagerDbus.[ch]
19495                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19496                         logic into NetworkManagerDevice.c
19497                 - (nm_dbus_network_status_from_data): new function
19498                 - (nm_dbus_signal_network_status_change): new function, unused for now
19499                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19500
19501         * src/NetworkManagerDevice.[ch]
19502                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
19503                         a random ESSID.
19504
19505 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19506
19507         * info-daemon/NetworkManagerInfo.c 
19508                 - (main): Added session management
19509
19510 2004-10-14 Dan Williams <dcbw@redhat.com>
19511
19512         * panel-applet/NMWirelessAppletDbus.[ch]
19513                 - Expose network_device_[un]ref()
19514                 - Expose wireless_network_[un]ref()
19515                 - (wireless_network_new_with_essid): new function, create and return
19516                         a wireless network with a particular essid
19517
19518         * panel-applet/NMWirelessApplet.c
19519                 - Hook up the "other network" dialog to do something
19520
19521 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
19522
19523         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
19524         doesn't work yet, but it looks okay.
19525
19526         * panel-applet/icons/*png: Resize to 22x22 and install in the
19527         right place.
19528
19529 2004-10-13 Dan Williams <dcbw@redhat.com>
19530
19531         * panel-applet/NMWirelessApplet.c
19532                 - Add function to print out applet_state in a readable
19533                         manner
19534
19535         * src/NetworkManager.c
19536                 - (main): Don't segfault when nm_dbus_init() fails, we had
19537                         a left-over call to hal_shutdown() into which we passed NULL
19538
19539         * src/NetworkManagerAP.c
19540                 - (nm_ap_set_essid): Allow NULL essids
19541
19542         * src/NetworkManagerAPList.[ch]
19543                 - More use of nm_ap_list_[un]lock ()
19544                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19545                         network/essid, just return nothing.  Also skip over NULL
19546                         essid access points in the list when searching
19547                 - (nm_ap_list_get_ap_by_address): new function
19548                 - (nm_ap_list_update_network): set the access point's key source to
19549                         NULL when the key returned from NetworkManagerInfo is NULL or
19550                         of 0 length
19551                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19552                         copy timestamp over too
19553                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19554                         find the correct ESSID for a blank-essid access point by searching
19555                         through another list and matching access point MAC addresses
19556                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19557
19558         * src/NetworkManagerDbus.c
19559                 - (nm_dbus_nm_set_active_device): deal with random networks the user
19560                         may specify.  This is mainly for access points that don't
19561                         broadcast their essid.  So if the user tells us to associate with
19562                         some random ESSID that's not in our access point list, we find
19563                         out if the access point does in fact exist (by attempting association
19564                         and then matching that access point's MAC address with the essid the
19565                         user gave us) and then we switch to it.
19566                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19567                         to the returned list of networks for the "getNetworks" method
19568
19569         * src/NetworkManagerDevice.[ch]
19570                 - Extra debugging info for link detection
19571                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19572                         based on MAC address
19573                 - (nm_device_get_path_for_ap): ignore blank-essid access points
19574                 - (nm_device_wireless_network_exists): new function, find out whether
19575                         a random ESSID exists by attempting to associate with it
19576                 - (nm_device_do_normal_scan): allow blank-essid access points in our
19577                         device list as long as they have an AP MAC address we can use.
19578                         Also send WirelessNetwork[Dis]Appeared signals for non-active
19579                         devices too.  Lets the applet update more frequently.
19580
19581         * src/backends/NetworkManagerGentoo.c
19582                 - Patch from: Robert Paskowitz
19583                         - Update backend code for Gentoo
19584                         - Implement nm_system_device_update_config_info ()
19585
19586         * test/nmclienttest.c
19587                 - (set_network_device): new function, takes a command-line argument
19588                         and tells NetworkManager to use that wireless network
19589
19590 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19591
19592         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19593         if the notification icon crashes 5 times within 5 seconds of each respawn 
19594
19595 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
19596
19597         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19598         g_print.
19599
19600 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
19601
19602         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19603
19604         * panel-applet/NMWirelessApplet.c: (animation_timeout),
19605         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19606         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19607         Change the name of the icons.
19608
19609         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19610         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19611         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19612         (nm_menu_wireless_expose_event): Really bad hack to get the style
19613         to draw in the right color.
19614
19615 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19616
19617         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
19618         Notification if it crashes
19619
19620 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
19621
19622         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
19623         (nmwa_dbus_get_string): remove unused functions
19624
19625         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19626         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19627         remove unused functions
19628
19629         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19630
19631 2004-10-12 Dan Williams <dcbw@redhat.com>
19632
19633         * panel-applet/NMWirelessAppletDbus.c
19634                 - New functions:
19635                         wireless_network_new
19636                         wireless_network_copy
19637                         network_device_new
19638                         network_device_copy
19639
19640         * src/NetworkManagerDevice.[ch]
19641                 - New functions:
19642                         nm_device_set_mode_managed
19643                         nm_device_set_mode_adhoc
19644                 - Use these functions where appropriate
19645                 - When creating a new wireless device, force the card
19646                         to managed/Infrastructure mode as soon as possible
19647
19648 2004-10-12 Dan Williams <dcbw@redhat.com>
19649
19650         * src/NetworkManagerDevice.c
19651                 - Force wireless cards into Infrastructure mode before we use them
19652
19653 2004-10-12 Dan Williams <dcbw@redhat.com>
19654
19655         * TODO
19656                 - Remove bit about static IP address support
19657
19658         * src/NetworkManagerUtils.c
19659                 - (nm_spawn_process): Add some error reporting
19660
19661         * src/NetworkManagerDevice.c
19662                 - (nm_device_activation_configure_ip): hook up to the static config
19663                         routines in the backends
19664
19665         * src/backends/NetworkManagerRedHat.c
19666                 - (nm_system_device_update_config_info): use shvar.c routines to
19667                         parse the config file iformation, not our own
19668                 - (nm_system_device_setup_static_ip4_config): new function, based
19669                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
19670                         with a static IP address and gateway
19671
19672         * src/backends/shvar.[ch]
19673                 - Parser (filched from initscripts package) for ifcfg-* files
19674
19675         * src/backends/NetworkManagerSystem.h
19676           src/backends/NetworkManagerGentoo.c
19677           src/backends/NetworkManagerDebian.c
19678           src/backends/NetworkManagerSlackware.c
19679                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19680
19681 2004-10-11 Dan Williams <dcbw@redhat.com>
19682
19683         * TODO
19684                 - Remove bit about more robust AP diffing since I just implemented it
19685
19686 2004-10-11 Dan Williams <dcbw@redhat.com>
19687
19688         * src/NetworkManagerAP.c
19689                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19690                         enough RAM to allocate new AP structures, but return NULL instead
19691
19692         * src/NetworkManagerAPList.[ch]
19693                 - (nm_ap_list_is_empty): new function
19694                 - (nm_ap_list_combine): new function, combine two access point lists
19695                 - (nm_ap_list_copy_keys): new function, copy keys from one list
19696                         into another
19697
19698         * src/NetworkManagerDevice.[ch]
19699                 - Rename some functions to be clearer:
19700                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19701                         nm_device_just_activated     -> nm_device_is_just_activated
19702                         nm_device_activating         -> nm_device_is_activating
19703                         nm_device_now_scanning       -> nm_device_is_scanning
19704                 - Cache the last 4 scans so that the access point list is more stable.
19705                         We combine the lastest two scans and use that as the AP list,
19706                         and diff that combined list against the combination of the earliest
19707                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19708
19709 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19710
19711         * info-daemon/NWManagerInfo.h
19712                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19713
19714         * info-daemon/NWManagerInfoDbus.c
19715                 - (shutdown_callback): new function
19716                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19717                         if NetworkManager goes away.  Kill the timeout
19718                         if NetworkManager restarts before the 30 seconds
19719                         are up.
19720                 - (nmi_dbus_service_init): 
19721                         - call gtk_main_quit if NetworkManager is not running
19722                         - add filters to monitor dbus service creations and
19723                                 deletions
19724         
19725 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19726
19727         * panel-applet/NMWirelessApplet.c
19728                 - (nmwa_update_state): Hide notification icon if we are only
19729                         showing one wired card and no wireless interfaces 
19730                         (Red Hat Bug #134895)
19731
19732         * panel-applet/NMWirelessAppletDbus.c
19733                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19734
19735         * info-daemon/NWManagerInfo.c
19736                 - (main): Terminated the notification_icon_cmd array with a NULL
19737
19738 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
19739
19740         * configure.in (ALL_LINGUAS): Added de (German).
19741
19742 2004-10-08 Dan Williams <dcbw@redaht.com>
19743
19744         * src/NetworkManagerDevice.c
19745                 - Be a bit more robust about link checking, ie make sure that
19746                         the WEP key we were given actually has some data in it
19747
19748 2004-10-08 Dan Williams <dcbw@redhat.com>
19749
19750         * info-daemon/NetworkManagerInfo.c (main):
19751                 - Initialize GError object to NULL
19752
19753 2004-10-08 Dan Williams <dcbw@redhat.com>
19754
19755         * panel-applet/NMWirelessAppletDbus.c
19756                 - Die if NetworkManagerInfo dies, since it manages our lifetime
19757
19758 2004-10-08 Dan Williams <dcbw@redhat.com>
19759
19760         * info-daemon/NetworkManagerInfo.[ch]
19761           info-dameon/NetworkManagerInfoDbus.[ch]
19762           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19763                 - Preserve original label text in the passphrase dialog so that
19764                         it actually gets updated with the new network name the next
19765                         time around.  Previously, we were overwriting it so you'd get
19766                         the wrong network name to enter a key for
19767                 - Add a "Key Type" combo to the passphrase dialog, user selects
19768                         encryption key type now, type is stored in GConf too
19769                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19770
19771         * src/NetworkManagerAP.[ch]
19772                 - Remove all the encyption method magic.  It's now set by the user
19773                         and NetworkManager retrieves the type of encryption key from
19774                         NetworkManagerInfo
19775
19776         * src/NetworkManagerAPList.[ch]
19777           src/NetworkManagerDbus.[ch]
19778                 - Adjust to new way of setting encryption key and method
19779                 - Pull encryption method down from NMI along with key
19780
19781         * src/NetworkManagerDevice.[ch]
19782                 - Removed encryption method fallback magic as the method is now
19783                         determined by the user.  This greatly simplifies the connection
19784                         logic.
19785                 - More robust connection/link logic.  Besides removing the encryption
19786                         method fallback magic, check whether or not the card is receiving
19787                         invalidly encrypted packets, which usually indicates that we have
19788                         a bad WEP key set.
19789                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19790
19791         * test/nminfotest.c
19792                 - Test out new "Key Type" stuff in the NMI passphrase dialog
19793
19794 2004-10-07 Dan Williams <dcbw@redhat.com>
19795
19796         * info-daemon/NetworkManagerInfo.conf
19797                 - Allow root user to run NMI too
19798
19799 2004-10-06 Dan Williams <dcbw@redhat.com>
19800
19801         * src/NetworkManagerDevice.[ch]
19802           src/NetworkManagerDbus.c
19803           doc/NetworkManager DBUS API.txt
19804                 - Add a new status tag "scanning", which is set when there
19805                         is no active network connection, but NetworkManager is
19806                         looking for an access point to associate with
19807
19808         * panel-applet/main.c
19809                 - Cast the applet appropriately for gtk_widget_show_all ()
19810
19811 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
19812
19813         * panel-applet/eggtrayicon.[ch]:
19814         * panel-applet/main.c: Add missing file
19815
19816 2004-10-04 Dan Williams <dcbw@redhat.com>
19817
19818         * src/NetworkManagerDevice.[ch]
19819                 - Add a slightly more robust method of determining if the WEP key
19820                         is correct or not, by checking the WEP-discarded packet count
19821                         on the card
19822
19823         * info-daemon/NetworkManagerInfo.c
19824                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19825                         un-escape values we pull out rather than escaping them
19826
19827 2004-10-03  Marcel Telka  <marcel@telka.sk>
19828
19829         * configure.in (ALL_LINGUAS): Added sk.
19830
19831 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
19832
19833         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19834         and feel.  We should be back to working, and have a good, clean
19835         look.
19836
19837 2004-09-30 Dan Williams <dcbw@redhat.com>
19838
19839         * info-daemon/NetworkManagerInfo.c
19840           info-daemon/NetworkManagerInfoDbus.c
19841           test/nminfotest.c
19842                 - Escape ESSIDs in gconf
19843
19844         * src/NetworkManagerDevice.c
19845                 - Fix pseudo-scanning to use netowrk list from info daemon
19846
19847 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
19848
19849         * configure.in: Add a temporary --enable-notification-icon.  This
19850         will prolly go away.
19851
19852         * info-daemon/Makefile.am:
19853         * info-daemon/NetworkManagerInfo.c:
19854         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19855
19856         * panel-applet/Makefile.am:
19857         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19858         * panel-applet/NMWirelessApplet.h:
19859
19860 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
19861
19862         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
19863         before 'select custom ESSID'.
19864
19865         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
19866         fully complete, but syncing in prep for merge.
19867
19868         * panel-applet/icons/*png: New images
19869
19870 2004-09-28 Dan Williams <dcbw@redhat.com>
19871
19872         * src/NetworkManager.c
19873           src/NetworkManagerDevice.c
19874           src/NetworkManagerPolicy.c
19875                 - Don't blow away an active wired connection on startup
19876
19877 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
19878
19879         Changes from J5
19880         
19881         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
19882
19883         * info-daemon/NetworkManagerInfoDbus.c: added service name to
19884         syslog output
19885
19886 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
19887
19888         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
19889         have a wireless card.
19890
19891 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
19892
19893         * panel-applet/NMWirelessApplet.c: move the custom essid item.
19894         Also, get the right device strings.
19895
19896 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
19897
19898         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
19899         the logic to make this right.
19900
19901         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
19902         devices so that wired networks are always first.
19903
19904 2004-09-22    <clarkbw@cvs.gnome.org>
19905
19906         * initscript/Debian/.cvsignore:
19907         * initscript/Slackware/.cvsignore:
19908         Added new cvsignores for Makefile, Makefile.in
19909         
19910         * test/.cvsignore:
19911         Added nmtestdevices
19912         
19913         * src/NetworkManagerDevice.c: 
19914         * src/NetworkManager.c: 
19915         Updated the wireless/wired HAL device strings from net.ethernet to
19916         net.80203 or net.80211 depending on wired or wireless respectively
19917         
19918         * examples/python/NetworkManager.py: 
19919         s/Quality/Strength/
19920
19921         * examples/python/systray/network_tray.py:
19922         Lots of little changes and fixes.  been rotting for a while so I
19923         figured I'd finally sync them all with CVS
19924
19925 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
19926
19927         * configure.in: Add graphics
19928
19929         * panel-applet/Makefile.am: Add graphics
19930
19931         * panel-applet/icons/*: Add graphics
19932
19933         * panel-applet/NMWirelessApplet.c: Use new menu times to display
19934         the icons fully lined up.
19935
19936         * panel-applet/menu-info.c: 
19937         * panel-applet/menu-info.h: Add another menu type.
19938
19939 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
19940
19941         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
19942
19943         * panel-applet/menu-item.[ch]: Wireless menu item.
19944
19945 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
19946
19947         * info-daemon/NetworkManagerInfo.conf
19948                 - Created a more robust security policy for the DBus service
19949                         - everything is denied by default
19950                         - root can own and send to the service
19951                         - users logged in at the console can send to the service
19952
19953 2004-09-13  Dan Williams <dcbw@redhat.com>
19954
19955         * src/NetworkManagerDevice.c
19956                 - (nm_device_get_essid): use iw_get_basic_config() rather than
19957                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
19958                         the latter
19959
19960 2004-09-13  Dan Williams <dcbw@redhat.com>
19961
19962         * TODO: fix typo
19963
19964         * docs/NetworkManager DBUS API.txt
19965                 - Update for new signal strength changes
19966
19967         * panel-applet/NMWirelessApplet.c
19968                 - Make panel icon show strength of the current connection
19969                 - Cleanups and memleak fixes
19970
19971         * panel-applet/NMWirelessApplet.h
19972                 - Add data members for signal strength on devices and networks
19973
19974         * panel-applet/NMWirelessAppletDbus.c
19975                 - Free more DBusErrors
19976                 - Update for new signal strength changes
19977                 - Make devices and networks more like real objects, use ref/unref methods
19978                 - Actually unlock the mutex when updating the active device
19979
19980         * src/NetworkManagerAP.c
19981                 - Change AP functions and data members from "quality"->"strength"
19982
19983         * src/NetworkManagerDbus.c
19984                 - Kill "getMaxQuality" and "getQuality" methods
19985                 - Add "getStrength" methods for Networks and Devices
19986
19987         * src/NetworkManagerDevice.[ch]
19988                 - Add accessors for device strength
19989                 - Add functions to update strength for a device.  Note that not all drivers
19990                         actually support signal strength for scanned access points (Atmel drivers
19991                         being one)
19992                 - Calculate signal strength for each AP during scan
19993
19994         * src/NetworkManagerWireless.[ch]
19995                 - Add function to return signal strength % from a device and a raw quality struct
19996
19997         * test/nmclienttest.c
19998                 - Update for new signal strength changes
19999
20000 2004-09-11  Dan Williams <dcbw@redhat.com>
20001
20002         * src/NetworkManager.c
20003                 - Fix race condition between initscripts and NM on card insertion
20004                         which could cause a card to keep an IP address and routes around
20005                         even when it was not the active device
20006
20007         * src/NetworkManagerDbus.c
20008                 - Fix compile errors, free more DBusErrors
20009
20010 2004-09-11  Dan Williams <dcbw@redhat.com>
20011
20012         * docs/NetworkManager DBUS API.txt
20013                 - Add an explanation of NM's API
20014
20015         * src/NetworkManagerDbus.c
20016                 - Free some more DBusErrors if needed
20017
20018 2004-09-11  Dan Williams <dcbw@redhat.com>
20019
20020         * panel-applet/NMWirelessApplet.c
20021           panel-applet/NMWirelessAppletDbus.c
20022                 - Start using NetworkDevice/WirelessNetwork structures in more places
20023                 - Update for unified device/network forcing in NetworkManager
20024
20025         * src/NetworkManager.c
20026                 - some code consolidation
20027
20028         * src/NetworkManagerDbus.c
20029                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20030                         or two arguments:  the first is the NM ID of the device to switch to,
20031                         and the second (optional) argument is the ESSID of a wireless network
20032                         to use as well.
20033                 - Get rid of "setNetwork" method due to above change
20034
20035         * src/NetworkManagerDevice.c
20036                 - (nm_device_new): perform scan and update best AP on device creation
20037                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20038                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20039                         spin waiting for cancellation to finish before returning
20040
20041         * src/NetworkManagerPolicy.c
20042                 - Changes here clarify the situations in which a device switch occurs, and 
20043                         make sure to keep using a forced device and network if the user gives
20044                         us one
20045                 - Remove old unused code
20046
20047 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
20048
20049         * configure.in: Added Danish (da) to ALL_LINGUAS.
20050
20051 2004-09-09  Dan Williams <dcbw@redhat.com>
20052
20053         * panel-applet/NMWirelessAppletDbus.c
20054                 - Pull fresh devices and networks from NM when wireless networks
20055                         change.  Provides faster feedback of a forced wireless network
20056
20057         * src/NetworkManagerDbus.c
20058                 - Return error when "getMaxQuality" is called on a wired device
20059                 - Make best_ap freezing actually work again, and signal cancellation
20060                         of activation if there's already a device activation when the user
20061                         freezes the best_ap
20062
20063         * src/NetworkManagerDevice.c
20064                 - Don't clear out the best_ap for wireless devices when the link goes
20065                         down, that's done elsewhere
20066                 - Kill any dhcp daemons when cancelling device activation since they
20067                         may be stuck waiting for a DHCP address, and since we're cancelling
20068                         activation we don't care about that anymore
20069
20070         * src/NetworkManagerPolicy.c
20071                 - Make sure to unref the device we ref earlier (we refed it to make sure
20072                         it stuck around during device activation and such)
20073                 - If we were going to change the best device, but its activating currently
20074                         (and therefore the change didn't occur due to the check earlier)
20075                         we mark the state changed to we come back to it later when device
20076                         activation has canceled and its no longer activating
20077
20078         * src/backends/NetworkManagerRedHat.c
20079                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20080
20081 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
20082
20083         * info-daemon/passphrase.glade: 
20084         set passphrase input to activates_default : True
20085
20086         * examples/python/systray/network_tray.py
20087         (network_tray.sort_networks):
20088
20089         Added support for having wireless always scanning
20090
20091 2004-09-09  Dan Williams <dcbw@redhat.com>
20092
20093         NOTE: this commit changes the behavior of wireless devices in
20094         NetworkManager.  They are now up all the time, scanning all
20095         the time.  Only the active device has an IP address and routing
20096         information set up however.  Also, NetworkManager will no longer
20097         opportunistically switch wireless networks when a better one
20098         comes in range, it will remain associated with one wireless network
20099         until that one drops out.
20100
20101         * panel-applet/NMWirelessApplet.c
20102           panel-applet/NMWirelessAppletDbus.c
20103                 - List all wireless cards and their respective networks
20104
20105         * src/NMLoadModules
20106                 - Use full path to /sbin/ip
20107
20108         * src/NetworkManager.c
20109                 - Keep wireless devices up all the time so they can scan
20110
20111         * src/NetworkManagerDbus.c
20112                 - On a WirelessNetworkUpdate signal from NMI, don't update
20113                         the "best" AP
20114
20115         * src/NetworkManagerDevice.c
20116                 - (nm_device_set_link_active): clear out the best ap for
20117                         wireless devices when the link is set to FALSE
20118                 - Scan on all wireless cards, all the time
20119                 - (nm_device_activation_worker): split out the wireless card
20120                         link-waiting code to a separate function
20121                 - Keep wireless cards up even if device activation fails
20122                 - Don't update the "best" ap as much
20123
20124         * src/NetworkManagerPolicy.c
20125                 - Don't update the best ap when checking if its frozen,
20126                         let link checking clear out a frozen best ap for us
20127
20128         * src/NetworkManagerWireless.c
20129                 - Scan on all wireless cards, all the time
20130
20131 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
20132
20133         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20134
20135 2004-09-09  Ankit Patel <ankit@redhat.com>
20136
20137         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20138
20139 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
20140
20141         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20142
20143 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
20144
20145         * examples/python/NetworkManager.py: 
20146         added CONNECTED, CONNECTING, and DISCONNECTED states
20147         added methods to return number of devices of a single type
20148
20149         * examples/python/systray/network_tray.py: 
20150         did some tweaks to get the menu looking near what it is supposed
20151         to look like.  Also did a Airo card hack to make it show the
20152         correct AP quality
20153
20154 2004-09-08  Dan Williams <dcbw@redhat.com>
20155
20156         * panel-applet/no-networkmanager.png
20157           panel-applet/Makefile.am
20158           panel-applet/NMWirelessApplet.c
20159                 - Add a "NetworkManager not running" icon and use it
20160                 - Use new consolidated GConf keys rather than Preferred/Trusted
20161
20162         * TODO: update
20163
20164         * info-daemon/NetworkManagerInfo.c
20165           info-daemon/NetworkManagerInfoDbus.[ch]
20166           info-daemon/NetworkManagerInfoPassphraseDialog.c
20167                 - There are now no longer two separate lists of wireless networks,
20168                         but one list where each network is "trusted" or not trusted
20169                 - Add a "getNetworkTrusted" dbus method
20170                 - "WirelessNetworkUpdate" signal now sent rather than
20171                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20172                 - Start freeing some dbus errors (not completed yet)
20173
20174         * info-daemon/passphrase.glade
20175                 - Remove the "don't show" hints for pager and taskbar
20176                 - Add a title since its going to be in the taskbar
20177
20178         * src/NetworkManager.[ch]
20179           src/NetworkManagerAPList.[ch]
20180                 - There are now no longer two separate lists of wireless networks,
20181                         but one list where each network is "trusted" or not trusted
20182
20183         * src/NetworkManagerAP.[ch]
20184                 - Add get/set "trusted" accessors and data bit
20185
20186         * src/NetworkManagerDbus.[ch]
20187                 - Add function to get "trusted" status of a network from NetworkManagerInfo
20188                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20189
20190         * src/NetworkManagerDevice.[ch]
20191                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20192                 - (nm_device_new): Get device config from backend when initializing devices
20193                 - (nm_device_activation_worker): Split out device configuration on
20194                         activation to deal with static/dynamic IP differences, and try encryption
20195                         fallbacks on a device if the encryption method for the best AP is not good
20196                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20197                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20198
20199         * src/NetworkManagerWireless.c
20200                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20201
20202         * src/backends/NetworkManagerRedHat.c
20203           src/backends/NetworkManagerSystem.h
20204                 - (nm_system_device_update_config_info): Add function to get device configuration
20205                         from system data in ifcfg-* files
20206
20207         * src/backends/NetworkManagerDebian.c
20208           src/backends/NetworkManagerGentoo.c
20209           src/backends/NetworkManagerSlackware.c
20210                 - Add stub functions for getting device configuration
20211
20212 2004-09-07  Dan Williams <dcbw@redhat.com>
20213
20214         * src/backends/NetworkManagerRedhat.c
20215           src/backends/NetworkManagerSlackware.c
20216                 - Use full path to /sbin/ip everywhere
20217
20218 2004-09-07  Dan Williams <dcbw@redhat.com>
20219
20220         Patch from: Narayan Newton <narayan_newton@yahoo.com>
20221
20222         * configure.in
20223           initscript/Makefile.am
20224           initscript/Slackware/Makfile.am
20225           initscript/Slackware/rc.networkmanager
20226           src/Makefile.am
20227           src/backends/NetworkManagerSlackware.c
20228                 - Add Slackware support
20229
20230 2004-09-07  Dan Williams <dcbw@redhat.com>
20231
20232         Patches below from:
20233                 <j@bootlab.org>
20234                 Mark Roach <mrroach@okmaybe.com>
20235                 Thom May <thom@debian.org>
20236
20237         * configure.in
20238           initscript/Debian/NetworkManager
20239           initscript/Debian/Makefile.am
20240                 - Initscript for Debian
20241
20242         * src/backends/NetworkManagerDebian.c
20243                 - Add missing system init function to allow compilation
20244                         on Debian
20245
20246 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
20247
20248         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20249
20250 2004-09-03  Akagic Amila <bono@linux.org.ba>
20251
20252         * configure.in: Added 'bs' to ALL_LINGUAS.
20253
20254 2004-09-02  Colin Walters  <walters@verbum.org>
20255
20256         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20257         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20258         g_strdup_printf instead of arbitrarily sized buffers.
20259
20260 2004-09-01  Colin Walters  <walters@verbum.org>
20261
20262         * NetworkManager.pc.in: New file.
20263
20264         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20265
20266 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
20267         
20268         * configure.in: Punjabi(pa) is added to po/.
20269
20270 2004-08-31  Dan Williams <dcbw@redhat.com>
20271
20272         * Remove 'debug' extern global from all files since we now
20273                 use syslog()
20274
20275         * src/NetworkManager.[ch]
20276                 - Break out routine that get the net.interface property from HAL,
20277                         removing that logic from nm_create_device_and_add_to_list()
20278                 - (nm_create_device_and_add_to_list): make this a bit more general so
20279                         it doesn't do the talking to HAL.  Also add arguments to facilitate
20280                         the create of test devices.
20281                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20282                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20283                         which makes NetworkManager listen for dbus commands to create test
20284                         devices, which have no backing hardware.  Use when you're on a plane
20285                         for example, and/or forgot your wireless card at home.  Test devices
20286                         _cannot_ be created unless NM is started with --enable-test-devices.
20287
20288         * src/NetworkManagerDbus.[ch]
20289                 - New "getLinkActive" method for devices
20290                 - New "setLinkActive" method for devices (only works on test devices)
20291                 - New "createTestDevice" method on NetworkManager object to create a test
20292                         device of a specified type (ie wired, wireless).  UDI is created from
20293                         scratch, as is the interface name.  Only works when NM is started with
20294                         --enable-test-devices switch.
20295                 - New "removeTestDevice" method on NetworkManager object which removes a
20296                         test device.  Only works when NM is started with --enable-test-devices
20297
20298         * src/NetworkManagerDevice.[ch]
20299                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
20300                         whether a device is a test device or not, and what its link status is.
20301                 - Deal with test devices in most functions.  For those that work directly on hardware
20302                         special-case test devices.
20303                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20304                         command-line.
20305                 - (nm_device_update_link_active): split out logic for wired and wireless device link
20306                         checking to separate functions to facilitate test device link checking.
20307                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20308                         don't make a distinction between System Authentication and Encryption
20309                         (namely Cisco aironet), we use Open System auth when setting a WEP key
20310                         on the card.  We don't deal with Shared Key auth yet.
20311                 - (nm_device_activation_worker): split the activation cancel check logic out into
20312                         a separate routine nm_device_activation_cancel_if_needed()
20313                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20314                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20315                         a list of fake access points that they can "see"
20316                 - (nm_device_is_test_device): return whether or not a device is a test device
20317
20318         * src/NetworkManagerPolicy.c
20319                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20320                         previously if you "locked"/forced NM to use a wireless device but then
20321                         selected a wireless network for NM to use, it would switch to a wired device.
20322                         So, if the active device is wireless and it has a "forced" best AP, use it
20323                         if the "forced" best AP is still valid
20324                 - (nm_state_modification_monitor): deal with NULL best devices, for example
20325                         there were no usable network devices, or the last one was removed
20326
20327         * src/backends/NetworkManager*.c
20328                 - Deal with test devices, mostly just return success for operations like getting
20329                         a DHCP address
20330
20331         * test/nmtestdevices.c
20332                 - Test tool to create/remove/link-switch test devices
20333
20334 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
20335
20336         * examples/python/NetworkManager.py: 
20337         added convience functions has_wired_device and has_wireless_device
20338
20339         * examples/python/systray/network_tray.py: 
20340         cleaned up a bunch of cruft, added support for listing wireless
20341         networks just like the real applet.  This is probably all I'm
20342         going to work on this applet from now on.
20343         TODO: add support for actually changing networks and devices
20344
20345         * examples/python/NetworkManager.py (NetworkManager.get_device): 
20346         changed "nm.networks" into a dict from a list so I can store all
20347         the cool information about networks in there
20348
20349         * examples/python/systray/network_tray.py: 
20350         Added nice message when you try to run without running make first
20351
20352         * examples/python/NetworkManager.py: 
20353         Bug fixes to the code so we get all the device information
20354         that we need in get_device()
20355         
20356         * examples/python/NMTester.py: 
20357         Fixed _print_device_list to print_device_list
20358
20359 2004-08-29  Seth Nickell  <seth@gnome.org>
20360
20361         * configure.in:
20362
20363         Actually properly setup the Debian backend in configure.
20364         
20365 2004-08-29  Colin Walters  <walters@verbum.org>
20366
20367         * test/nminfotest.c: Include string.h and stdlib.h.
20368         (get_network_string_property, get_networks_of_type): Return NULL.
20369
20370         * test/nmclienttest.c (get_device_name, get_active_device): Return
20371         NULL.
20372
20373         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20374         use strlen, fgets always NULL-terminates the string.
20375
20376         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20377         dbus_message_get_member): Remove /* in comment.
20378
20379         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20380
20381         * src/NetworkManager.c (quit): Unused, delete.
20382         (nm_data_free): Cast arg to GFunc.
20383
20384         * panel-applet/NMWirelessAppletDbus.c: Need to include
20385         string.h, and dbus-glib-lowlevel.h (the latter is needed
20386         for dbus_connection_setup_with_g_main at present).
20387         (nmwa_dbus_update_wireless_network_list): Parenthesize
20388         assignment in conditional.
20389         (nmwa_dbus_worker): Return NULL.
20390
20391         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20392         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20393         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20394         (nmwa_populate_menu): Return NULL on failure, instead of just
20395         return;
20396
20397         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20398
20399         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20400         variables.
20401
20402         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20403         delete.
20404         
20405 2004-08-29  Colin Walters  <walters@verbum.org>
20406
20407         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20408         a GTimeVal instead of time_t.  This is easier to work with,
20409         since time_t may be a long or double, we don't know.
20410
20411         * src/NetworkManagerDbus.h: Update prototype.
20412         
20413         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20414         instead of time_t.
20415         (nm_ap_get_timestamp): Update to return GTimeVal.
20416         (nm_ap_set_timestamp): Update to take GTimeVal.
20417         
20418         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20419         to handle GTimeVal.
20420
20421         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20422         GTimeVal change.
20423         (nm_ap_list_print_members): Fix warnings in printf format.
20424
20425 2004-08-29  Colin Walters  <walters@verbum.org>
20426         
20427         * panel-applet/NMWirelessApplet.c: Include config.h.
20428
20429 2004-08-29  Colin Walters  <walters@verbum.org>
20430
20431         * configure.in: Generate config.h.
20432
20433         * configure.in: Dump dependency on OpenSSL; we can't
20434         use it since this package is GPL:
20435         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20436         Instead, check for libgcrypt, use it if available,
20437         otherwise use included MD5 code.
20438
20439         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20440         Suck in from gnome-keyring, munge a bit.
20441         
20442         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20443         gnome-keyring-md5.h gnome-keyring-md5.c.
20444         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20445
20446         * src/NetworkManagerWireless.c (nm_md5): New function, uses
20447         libgcrypt or included gnome-keyring md5 bits.
20448         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20449
20450 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20451
20452         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20453
20454 2004-08-27  Bryan Clark  <bclark@redhat.com>
20455
20456         * examples/python/systray/Makefile: 
20457
20458         Updated the clean section
20459         
20460         * examples/python/systray/trayiconmodule.c: 
20461         * examples/python/systray/trayicon.override: 
20462         * examples/python/systray/network_tray.py: 
20463         * examples/python/systray/eggtrayicon.h: 
20464         * examples/python/systray/eggtrayicon.c: 
20465         * examples/python/systray/Makefile: 
20466         * examples/python/README: 
20467         * examples/python/NetworkManager.py: 
20468         * examples/python/NMTester.py: 
20469
20470         Initial commit of these python example files
20471
20472 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20473
20474         * panel-applet/NMWirelessApplet.c
20475                 - Make current device bold
20476                 - Show more user-friendly device name if we got one from hal
20477
20478         * panel-applet/NMWirelessAppletDbus.c
20479                 - Grab "info.product" key from hal for network devices
20480                 - Cache the current active device
20481
20482 2004-08-27  Adam Weinberger  <adamw@gnome.org>
20483
20484         * configure.in: Added en_CA to ALL_LINGUAS.
20485
20486 2004-08-27  Christian Rose  <menthos@menthos.com>
20487
20488         * configure.in: Added "sv" to ALL_LINGUAS.
20489
20490 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20491
20492         * Tag NetworkManager-0.2
20493
20494 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20495
20496         * initscripts/Makefile.am
20497         * configure.in: Make pass distcheck
20498
20499         * po/ChangeLog: added
20500
20501 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20502
20503         * panel-applet/NMWirelessApplet.c
20504                 - Remove debugging code
20505                 - Enable device switching from menus
20506
20507         * panel-applet/NMWirelessAppletDbus.[ch]
20508                 - Method for asking NM to switch devices
20509
20510         * src/NetworkManagerDevice.c
20511                 - Set dev->activating earlier, avoids race between
20512                         the dbus signal of "DeviceActivating" and setting
20513                         dev->activating (which is what NM's "status" method call
20514                         looks at)
20515
20516 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20517
20518         * panel-applet/NMWirelessApplet.[ch]
20519                 - Rework menu code to add devices to menu, and to show
20520                         signal strength for each access point.  Code cleanups
20521                         too.
20522
20523         * panel-applet/NMWirelessAppletDbus.c
20524                 - Grab network devices from NetworkManager too
20525                 - Grab quality information from NM for wireless networks
20526
20527         * src/NetworkManagerDbus.[ch]
20528                 - Add dbus methods for getting the HAL UDI from a device and
20529                         for getting its base quality, if its wireless
20530                 - Consolidate some functions (wireless network notifications,
20531                         device notifications)
20532                 - Add method for requesting NM to use a particular device
20533
20534         * src/NetworkManager.c
20535                 - Change for function consolidations from NetworkManagerDbus.c
20536                 - Implement active device locking and user-requested devices
20537                         (ie, tell NM to use a particular device instead of the one
20538                         it autochose)
20539
20540         * src/NetworkManagerDevice.c
20541                 - Add method for getting the base quality of a device, if its
20542                         wireless
20543                 - Grab device base quailty info from iwlib during scans
20544
20545         * src/NetworkManagerPolicy.c
20546                 - Use a user-requested device rather than the auto-chosen device
20547                         if we are told to
20548
20549 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
20550
20551         * Makefile.am: add po as a supdir
20552
20553         * autogen.sh: use gnome-autogen.sh
20554
20555         * initscript/Gentoo/.cvsignore:
20556         * initscript/RedHat/.cvsignore: Shut up cvs
20557
20558         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20559
20560         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20561         (nmwa_fill): Use gettext.
20562
20563         * configure.in: add gettext support
20564         * po/.cvsignore:
20565         * po/NetworkManager.pot:
20566         * po/POTFILES.in:
20567
20568 2004-08-26  Seth Nickell  <seth@gnome.org>
20569
20570         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20571         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20572         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20573         (nmwa_dispose_menu_items), (nmwa_populate_menu),
20574         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20575         * panel-applet/NMWirelessApplet.h:
20576
20577         Use a menu bar instead of a button for the main clickable
20578         thingy.
20579         
20580 2004-08-25  Dan Williams <dcbw@redhat.com>
20581
20582         * src/NetworkManagerDevice.c
20583                 - (nm_device_set_enc_key): always set device to "open" mode instead of
20584                         turning encryption off, because the Cisco driver doesn't associate
20585                         with WEP-enabled access points unless we are in "open"
20586
20587 2004-08-25  Dan Williams <dcbw@redhat.com>
20588
20589         * src/NetworkManagerWireless.c
20590                 - Don't try to defererence blank passphrases
20591
20592 2004-08-25  Dan Williams <dcbw@redhat.com>
20593
20594         * panel-applet/NMWirelessApplet.c
20595                 - Rebuild the menu whenever a user clicks
20596
20597 2004-08-25  Dan Williams <dcbw@redhat.com>
20598
20599         * panel-applet/NMWirelessApplet.c
20600                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20601                         when NM isn't around or when its not connected
20602
20603         * src/NetworkManagerDevice.c
20604                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20605                         canceled.
20606
20607 2004-08-25  Dan Williams <dcbw@redhat.com>
20608
20609         * panel-applet/NMWirelessAppletDbus.c
20610                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20611                         for getting encryption, and don't stop on "val" once we've gotten it
20612                         from NetworkManager.  Short form:  encryption should now show up.
20613
20614 2004-08-25  Dan Williams <dcbw@redhat.com>
20615
20616         * panel-applet/NMWirelessApplet.c
20617                 - Set ESSID on a gconf trusted network too when force-setting the wireless
20618                         network to associate with
20619
20620 2004-08-25  Dan Williams <dcbw@redhat.com>
20621
20622         * panel-applet/*
20623                 - Rework the panel applet to do all DBUS communication in a separate
20624                         thread
20625
20626 2004-08-25  Dan Williams <dcbw@redhat.com>
20627
20628         * info-daemon/NetworkManagerInfo.[ch]
20629                 - Remove "get_next_priority" function
20630
20631         * info-daemon/NetworkManagerInfoDbus.[ch]
20632                 - Convert "priority" functions to "timestamp"
20633
20634 2004-08-25  Dan Williams <dcbw@redhat.com>
20635
20636         * src/NetworkManagerAP.[ch]
20637                 - Add a "enc_method_good" member and accessors to an Access Point
20638                         to signal when we've found the correct encryption method
20639                         for an access point
20640                 - Add a "timestamp" member and accessors, remove "priority" member
20641                         and accessors (use timestamps instead)
20642                 - Rename "wep_key"->"enc_key"
20643                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20644                         for a specified encryption method using the access points
20645                         source encryption key/passphrase
20646
20647         * src/NetworkManagerAPList.c
20648                 - When updating a network with dbus, grab timestamp now instead of
20649                         priority
20650
20651         * src/NetworkManagerDBus.[ch]
20652                 - Add signal for "DeviceActivating"
20653                 - Switch priority->timestamp
20654
20655         * src/NetworkManagerDevice.c
20656                 - Change references of "wep_key" -> "enc_key" or "key"
20657                 - Signal DeviceActivating when starting activation
20658                 - When activating a wireless device, if the access point we are connecting
20659                         to is encrypted, and we have a source key, try to generate a mangled
20660                         key and use that (ie, generate real WEP key from a passphrase)
20661                 - Rework device activation to fallback to other encryption methods if
20662                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20663                         first, then if that doesn't work fall back to direct hex key).
20664                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20665                         priority.  We now prefer the latest access point used, rather than using
20666                         a priority scheme
20667                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20668                         points we've just discovered, and merge in correct info from the global
20669                         access point lists
20670
20671 2004-08-25  Seth Nickell  <seth@gnome.org>
20672
20673         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20674         Debian support.
20675         
20676         * src/Makefile.am:
20677         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20678         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20679         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20680         (nm_system_delete_default_route),
20681         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20682         (nm_system_load_device_modules):
20683
20684 2004-08-24  Dan Willemsen <dan@willemsen.us>
20685
20686         * src/NetworkManager.c
20687           src/backends/NetworkManagerGentoo.c
20688           src/backends/NetworkManagerRedHat.c
20689           src/backends/NetworkManagerSystem.h
20690                 - Implement preliminary Gentoo support, adding a
20691                         nm_system_init function to the backend specification
20692
20693         * configure.in
20694                 - Distribution auto-detection, lowercase any user-fed
20695                         distribution names
20696
20697         * initscript/.cvsignore
20698           initscript/Makefile.am
20699           initscript/RedHat/Makefile.am
20700           initscript/RedHat/NetworkManager
20701           initscript/Gentoo/Makefile.am
20702           initscript/Gentoo/NetworkManager
20703                 - Refactored initscript code separately for each
20704                         distribution
20705
20706 2004-08-23  Dan Williams <dcbw@redhat.com>
20707
20708         * configure.in
20709           src/Makefile.am
20710           src/NetworkManagerDevice.c
20711           src/NetworkManager.c
20712           src/NetworkManagerUtils.[ch]
20713           src/backends/NetworkManagerSystem.h
20714           src/backends/NetworkManagerRedHat.c
20715           src/backends/NetworkManagerGentoo.c
20716                 - Refactor system-specific code into separate backends for
20717                         each distribution
20718
20719 2004-08-23  Dan Willemsen <dan@willemsen.us>
20720
20721         * dispatcher-daemon/NetworkManagerDispatcher.c
20722           info-daemon/NetworkManagerInfo.[ch]
20723           info-daemon/NetworkManagerInfoDbus.c
20724           info-daemon/NetworkManagerInfoPassphraseDialog.c
20725           src/NetworkManager.c
20726           src/NetworkManagerAP.c
20727           src/NetworkManagerAPList.c
20728           src/NetworkManagerDbus.c
20729           src/NetworkManagerDevice.c
20730           src/NetworkManagerPolicy.c
20731           src/NetworkManagerUtils.[ch]
20732           src/NetworkManagerWireless.c
20733                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20734
20735         * src/NetworkManager.c
20736                 - Fixed usage wording for --no-daemon
20737
20738 2004-08-23  Dan Williams <dcbw@redhat.com>
20739
20740         * panel-applet/NMWirelessApplet.c
20741                 - Update our state every second to get more responsive panel icon
20742                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20743                         was causing our marching ants status blips to never move when
20744                         looking for a wireless network
20745
20746         * src/NetworkManagerDevice.c
20747                 - (nm_device_activation_begin): return if activation has already begun
20748                 - (nm_device_do_normal_scan): merge WEP key and priority from the
20749                         trusted/preferred network into the device's access point when the
20750                         scan list is processed
20751
20752 2004-08-23  Dan Williams <dcbw@redhat.com>
20753
20754         * initscript/NetworkManager
20755                 - Use NMLaunchHelper rather than sleeping
20756
20757         * initscript/NMLaunchHelper.c
20758           Makefile.am
20759                 - Add helper program that exits only when NM activates a device,
20760                         or 10 seconds have passed, whichever happens first.  This
20761                         stops the boot processes until we have a network connection,
20762                         which NM can't do because it daemonizes and brings the connection
20763                         up in the background.  Allows stuff like NFS to not die.
20764
20765 2004-08-20  Dan Williams <dcbw@redhat.com>
20766
20767         * info-daemon/NetworkManagerInfoPassphraseDialog.c
20768                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20769                         for a network, set the essid as well since it may not exist yet
20770                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20771                         since WEP keys/passphrases are long and prone to entry-error
20772
20773         * panel-applet/Makefile.am
20774           panel-applet/wired.png
20775                 - Add (pulled from system-config-network temporarily)
20776
20777         * panel-applet/NMWirelessApplet.[ch]
20778                 - Show wired picture when a wired connection is used
20779                 - Rename wireless icon enums, adding WIRELESS
20780
20781         * src/NetworkManagerDevice.c
20782                 - (nm_device_activate_wireless): unset encryption before bringing
20783                         down the card and setting the essid
20784                 - (nm_device_activatin_worker): request a key from the user if the
20785                         AP we are connecting to is encrypted but we don't have a key
20786                         for it yet
20787                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20788                         strcmp() that prevented a user-entered key from actually getting
20789                         used
20790
20791 2004-08-16  Dan Williams <dcbw@redhat.com>
20792
20793         * initscript/NetworkManager
20794                 - Check for /sbin/ip
20795                 - Do sysctl magic that network service does
20796                 - sleep 4s after start to allow network time to come up [hack]
20797
20798         * src/Makefile.am
20799           src/NMLoadModules
20800                 - Load all network device kernel modules (hal doesn't know devices
20801                         are ethernet until the module is loaded, and therefore we don't know)
20802
20803         * src/NetworkManager.c
20804                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20805                         network devices, and bring up the loopback device explicitly
20806
20807         * src/NetworkManagerUtils.[ch]
20808                 - (nm_enable_loopback): new function
20809
20810 2004-08-13  Dan Williams <dcbw@redhat.com>
20811
20812         * configure.in
20813           panel-applet/Makefile.am
20814                 - Fix up cleanfiles and server_DATA/server_in_files
20815
20816         * README
20817                 - Update with some comments on theory of operation
20818
20819         * CONTRIBUTING
20820           Makefile.am
20821                 - Add CONTRIBUTING
20822
20823 2004-08-12  Dan Williams <dcbw@redhat.com>
20824
20825         * info-daemon/passphrase.glade
20826                 - Set window title to " "
20827
20828         * panel-applet/Makefile.am
20829           panel-applet/keyring.png
20830                 - Deliver to correct place
20831
20832         * panel-applet/NMWirelessApplet.[ch]
20833                 - Add comments
20834                 - Remove applet->have_active_device as its no longer used
20835                 - (nmwa_load_theme): load keyring.png too
20836                 - (error_dialog): remove
20837                 - (show_warning_dialog): subsume functionality of error dialog too
20838                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20839                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20840                         the networks menu
20841                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20842                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20843                         and when we get broadcasts of changed wireless access points only, not when the
20844                         user clicks on the button to display the menu (too long of a wait)
20845                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20846                         networks that are encrypted
20847                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20848                         menu item with g_object_set_data()
20849
20850         * panel-applet/NMWirelessAppletDbus.[ch]
20851                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20852                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20853                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20854                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20855                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20856                         activation/deactivation signals and rebuild the menu when they happen
20857
20858         * src/NetworkManager.c
20859                 - (main): use new nm_spawn_process() rather than system()
20860
20861         * src/NetworkManagerDbus.c
20862                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20863                         instead.  Since we can now force best_aps to stick around, the AP structure to which
20864                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20865                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
20866                         to freeze the best_ap.
20867
20868         * src/NetworkManagerDevice.[ch]
20869                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20870                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20871                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
20872                         ap list
20873
20874         * src/NetworkManagerUtils.[ch]
20875                 - (nm_spawn_process): add replacement for system() usage
20876
20877 2004-08-11  Dan Williams <dcbw@redhat.com>
20878
20879         * panel-applet/NMWirelessApplet.[ch]
20880                 - Fix up copyright and credits to include Bastien and Eskil,
20881                         who created the gnome-applets wireless applet, from whose
20882                         skeleton this one was created
20883                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
20884                         pixmap to draw is computed during nmwa_update_state()
20885                 - Applet now shows itself all the time due to panel packing issues
20886                         which caused the applet to previously never come back after hiding.
20887                         When a wired device is the active device, the applet shows "not connected"
20888
20889         * panel-applet/NMWirelessAppletDbus.[ch]
20890                 - Clean up error messages and show what function they are from
20891                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
20892                 - Add new device type getters, and a status getter
20893
20894         * src/NetworkManagerDbus.c
20895                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
20896                         network is actually in the device's ap list
20897                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
20898
20899         * src/NetworkManagerDevice.c
20900                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
20901                         card
20902
20903         * test/nmclienttest.c
20904                 - Report status of NetworkManager too
20905
20906 2004-08-11  Dan Williams <dcbw@redhat.com>
20907
20908         * info-daemon/NetworkManagerInfo.c:
20909                 - (main): clean up Seth's code style
20910
20911         * info-daemon/NetworkManagerInfoDbus.c:
20912                 - Use the more aptly-named path/service/interface constants from NetworkManager
20913                 - Don't return empty strings ("") as object paths ever, instead return errors
20914
20915         * panel-applet/NMWirelessApplet.c:
20916                 - Clean up Seth's code style
20917
20918         * src/NetworkManager.[ch]
20919                 - (nm_remove_device_from_list): remove anything having to do with pending_device
20920                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
20921
20922         * src/NetworkManagerAPList.[ch]
20923                 - Move Iter struct right above the iter functions to preserve opacity
20924                 - (nm_ap_list_remove_ap): implement
20925                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
20926                         remove AP if NetworkManagerInfo doesn't know anything about it
20927                 - (nm_ap_list_diff): user NMAPList iterators
20928                 - (nm_ap_list_print_members): implement debugging function
20929
20930         * src/NetworkManagerDbus.[ch]
20931                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
20932                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
20933                         and move the actual key setting stuff into NetworkManagerDevice.c
20934                 - (nm_dbus_get_network_priority): return -1 now on errors
20935                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
20936                         get lost, and force the active device to update its "best" ap when AP lists change
20937                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
20938                         method call due to pending_device member removal
20939
20940         * src/NetworkManagerDevice.[ch]
20941                 - Move NMDevice structure to the top
20942                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
20943                 - Remove Pending Action stuff from everywhere
20944                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
20945                         activation for us.  This thread blocks until all conditions for activation have
20946                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
20947                         then setup up the interface and runs dhclient.  We have to do this because there
20948                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
20949                         run our main loop and respond to dbus method calls or HAL device removals/inserts
20950                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
20951                         can tell nm_device_activation_worker() that we've got a key
20952                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
20953                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
20954                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
20955                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
20956
20957         * src/NetworkManagerPolicy.c
20958                 - Remove anything to do with pending_device
20959                 - Adjust device activation to deal with activation-in-worker-thread
20960
20961         * src/NetworkManagerUtils.c
20962                 - Clean up locking debugging a bit
20963
20964         * src/NetworkManagerWireless.[ch]
20965                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
20966                         was badly named and is better as a device function
20967
20968         * panel-applet/.cvsignore: add
20969
20970 2004-08-09  Seth Nickell  <seth@gnome.org>
20971
20972         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
20973         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
20974         (nmwa_new):
20975         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
20976
20977         Don't load the menus until clicked on (also removes a call outside
20978         normal code paths at first load).
20979
20980         Hide applet when NM is not present.
20981         
20982         Improve printf debugging stuff.
20983         
20984 2004-08-09  Dan Williams <dcbw@redhat.com>
20985
20986         * dispatcher-daemon/NetworkManagerDispatcher.c:
20987                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
20988                 - Use constants for NetworkManager interface, service, and path
20989
20990 2004-08-09  Dan Williams <dcbw@redhat.com>
20991
20992         * src/NetworkManagerDbus.c:
20993                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
20994                         instead return an error message
20995                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
20996                         on a wired device.  Also never return an empty object path, instead return an error message
20997
20998 2004-08-06  Seth Nickell  <seth@gnome.org>
20999
21000         * panel-applet/NMWirelessApplet.c: (nmwa_new):
21001
21002         Check the error code when getting a connection.
21003         
21004         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21005
21006         Check if the NM service exists when initializing (rather than
21007         assuming it does not).
21008         
21009         * src/NetworkManagerDbus.c: (nm_dbus_init):
21010
21011         Don't acquire the well-known service name until we have
21012         registered object/path handlers and can actually receive
21013         calls.
21014         
21015 2004-08-06  Dan Williams <dcbw@redhat.com>
21016
21017         * panel-applet/*
21018                 - Add panel applet
21019
21020         * src/NetworkManagerPolicy.c
21021           src/NetworkManager.c
21022                 - Get access point lists from NetworkManagerInfo on-demand,
21023                         and look for ServiceCreate/ServiceDeleted signals to see when
21024                         we should query NMI for lists
21025         * src/NetworkManagerAPList.c
21026                 - Make sure to init the list's mutex
21027                 - Convert traversals of the list over to the list iter functions
21028
21029         * src/NetworkManagerDbus.[ch]
21030                 - Use more aptly-named path/service/interface constants
21031                 - Treat both active and pending devices the same for "getActiveDevice"
21032                 - Add a "status" method returning "connected", "connecting", or "disconnected"
21033
21034         * src/NetworkManagerDevice.c
21035                 - Honor "ignored" network list when picking best ap to use
21036
21037 2004-08-06  Seth Nickell  <seth@gnome.org>
21038
21039         * aclocal.m4:
21040
21041         Autogenerated, remove from CVS.
21042         
21043         * autogen.sh:
21044
21045         Don't hardcode automake version.
21046         
21047         * configure.in:
21048         * info-daemon/Makefile.am:
21049         * info-daemon/NetworkManagerInfo.c: (main):
21050
21051         Use GnomeProgram et al. for doing session management.
21052         Use popt stuff for argument parsing rather than doing
21053         it manugally.
21054         
21055 2004-08-05  Dan Williams <dcbw@redhat.com>
21056
21057         * test/nminfotest.c
21058                 - Update to new NMI dbus API, check different network types
21059
21060         * info-daemon/NetworkManagerInfoDbus.c
21061                 - Update to new NM dbus API, ie network type sent in query message
21062
21063 2004-08-05  Dan Williams <dcbw@redhat.com>
21064
21065         * An assload of changes
21066
21067 2004-08-02  Dan Williams <dcbw@redhat.com>
21068
21069         * TODO
21070                 - new task: proper logging support
21071
21072         * info-daemon/NetworkManagerInfo.c
21073                 - Correct spelling of "canceled"
21074                 - Correct casting of objects for g_signal_connect()
21075
21076         * info-daemon/NetworkManagerInfoDbus.c
21077                 - Add defines for NetworkManager namespace and object path, and use them
21078                 - Add filter function to trap new signals from NetworkManager:
21079                         WirelessNetworkAppeared, WirelessNetworkDisappeared
21080
21081         * info-daemon/passphrase.glade
21082                 - Change name of "ok" button to "Login to Network..."
21083                 - Mark invisible
21084
21085         * src/NetworkManager.c
21086                 - Code and debug message cleanups
21087                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21088                 - (nm_add_initial_devices) Check returned string array of devices
21089                         and don't try to add devices if array is NULL
21090                 - (main) Initialize libhal a bit later, make code a bit clearer
21091
21092         * src/NetworkManagerAP.[ch]
21093                 - New accessor and data member "matched": used to speed up AP list
21094                         diffing
21095                 - New accessor and data member "enc_method": will be used during key
21096                         fallback to cache which passphrase->key conversion actually works
21097                         so we don't have to do it every time
21098
21099         * src/NetworkManagerAPList.[ch]
21100                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21101                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21102                         between them, and send WirelessNetworkAppeared/Disappeared signals over
21103                         dbus in response to those differences
21104
21105         * src/NetworkManagerDbus.[ch]
21106                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21107                         make an object path for that access point (NOTE that we don't yet check to
21108                         make sure that access point is actually in the device's AP list yet)
21109                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21110                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21111                         New: signal appearance/disappearance of wireless networks
21112                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21113                         key entry
21114
21115         * src/NetworkManagerDevice.[ch]
21116                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21117                 - (nm_device_ap_list_get) New: return the AP list (static function)
21118                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21119                         new one resulting from the scan with the old one
21120
21121         * src/NetworkManagerWireless.c
21122                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21123
21124         * test/nminfotest.c
21125                 - #define object paths and namespaces and use the #defines rather than static strings
21126                 - Test out user-key functionality of NetworkManagerInfo too
21127
21128 2004-07-29  Dan Williams <dcbw@redhat.com>
21129
21130         * info-daemon/NetworkManagerInfoDbus.c
21131           src/NetworkManagerDbus.c
21132                 - Update to current DBus (ie don't use decomposed paths when registering
21133                         object paths/fallbacks)
21134
21135 2004-07-27  Dan Williams <dcbw@redhat.com>
21136
21137         * Remove various Makefile.in files
21138
21139         * TODO
21140                 - Add some more items
21141
21142         * configure.in
21143                 - Add checks for OpenSSL/md5 headers and libs
21144
21145         * src/Makefile.am
21146                 - Use OpenSSL CFLAGS
21147
21148         * src/NetworkManagerAP.[ch]
21149                 - Remove 'stamp' functions, replace with 'invalid' functions
21150                         to support user cancelling WEP key entry
21151
21152         * src/NetworkManagerDbus.c
21153                 - Remove 'stamp' return functions
21154                 - Treat returned user key as a passphrase and convert to a WEP key,
21155                         but don't actually use the WEP key yet.  We use the returned user
21156                         key as a hexadecimal WEP key until we can figure out a UI for
21157                         passphrase-vs-hex key
21158
21159         * src/NetworkManagerWireless.[ch]
21160                 - Add passphrase-to-128bit-key function
21161
21162 2004-07-27  Dan Williams <dcbw@redhat.com>
21163
21164         * TODO
21165                 - Add a couple of items
21166
21167 2004-07-27  Dan Williams <dcbw@redhat.com>
21168
21169         * info-daemon/NetworkManagerInfo.c
21170                 - Update allowed network's GConf key when user enters a WEP key explicitly
21171
21172         * info-daemon/NetworkManagerDbus.c
21173                 - Fix some comments
21174                 - nmi_dbus_get_allowed_networks(): kill warning
21175
21176 2004-07-27  Dan Williams <dcbw@redhat.com>
21177
21178         * initscript/Makefile.in
21179                 - Remove
21180
21181         * initscript/Makefile.am
21182                 - Add correct rules to install the init.d initscript
21183
21184         * info-daemon/NetworkManagerInfoDbus.c
21185                 - Remove debug fprintf
21186
21187         * src/NetworkManagerDbus.[ch]
21188                 - Remove debug fprintfs
21189                 - Add macros for NetworkManagerInfo object path/namespace
21190                 - Use said macros instead of constant strings
21191
21192 2004-07-27  Dan Williams <dcbw@redhat.com>
21193
21194         * initscript/.cvsignore
21195                 - Add
21196
21197         * info-daemon/Makefile.am
21198                 - Install .glade files and keyring.png
21199                 - Fix stupid omission of a \ that caused half the flags not to be
21200                         passed to gcc
21201
21202         * info-daemon/NetworkManagerInfo.c
21203                 - gtk_signal_connect->g_signal_connect
21204                 - Alert NetworkManagerInfo to new glade file location
21205
21206 2004-07-27  Dan Williams <dcbw@redhat.com>
21207
21208         * test/nmclienttest.c
21209           test/nminfotest.c
21210                 - Add missing <dbus/dbus.h> headers
21211                 - Add GPL message at top
21212
21213 2004-07-27  Dan Williams <dcbw@redhat.com>
21214
21215         * src/NetworkManagerAPList.[ch]
21216           src/Makefile.am
21217                 - Add.  Deal with allowed network list additions, deletions, and updates
21218
21219         * dispatcher-daemon/NetworkManagerDispatcher.c
21220                 - Add missing <dbus/dbus.h> header
21221
21222         * info-daemon/NetworkManagerInfo.[ch]
21223                 - Add missing <dbus/dbus.h> header
21224                 - Implement the GConf notify callback to signal NetworkManager of an allowed
21225                         network change
21226                 - Better error checking
21227
21228         * info-daemon/NetworkManagerInfoDbus.[ch]
21229                 - Add missing <dbus/dbus.h> header
21230                 - Convert to using dbus_message_append_args/dbus_message_get_args
21231                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21232                         that an allowed network changed.  We don't want to signal on individual
21233                         keys _inside_ an allowed network really, just want NM to query the info
21234                         daemon for updated info on all keys.
21235                 - Better error checking
21236
21237         * src/NetworkManager.[ch]
21238                 - Add missing <dbus/dbus.h> header
21239                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21240                 - Zero out NMData structure on free
21241                 - No longer use a thread for allowed_ap_list updating, instead its now done
21242                         through dbus queries against NetworkManagerInfo
21243                 - Populate allowed_ap_list initially before adding existing network devices
21244                         to the device list, so wireless devices can get their "best" AP
21245
21246         * src/NetworkManagerDbus.[ch]
21247                 - Convert to using dbus_message_append_args/dbus_message_get_args
21248                 - Better error checking
21249                 - Implement Allowed Network info functions to request allowed network
21250                         info from NetworkManagerInfo
21251                 - Implement the filter function to process signals from NetworkManagerInfo
21252                         about changing allowed networks
21253
21254         * src/NetworkManagerDevice.c
21255                 - Fix file descriptor leak in nm_device_update_ip4_address()
21256
21257 2004-07-27  Dan Williams <dcbw@redhat.com>
21258
21259         * .cvsignore
21260           src/.cvsignore
21261           test/.cvsignore
21262           dispatcher-daemon/.cvsignore
21263           info-daemon/.cvsignore
21264                 - Add .cvsignore files to reduce noise when diffing
21265
21266 2004-07-24  Dan Williams <dcbw@redhat.com>
21267
21268         * src/NetworkManager.[ch]
21269           src/NetworkManagerDbus.[ch]
21270           src/NetworkManagerDevice.[ch]
21271           src/NetworkManagerPolicy.c
21272           src/NetworkManagerWireless.[ch]
21273                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21274                 - Pass the NMData application data structure through all calls
21275                         that need it so we can get rid of nm_get_global_data()
21276                 - Change deallocation of the allowed_ap_list GSList in preparation
21277                         for not completely clearing it every time we get an update,
21278                         but instead getting incremental updates via GConf/dbus
21279
21280 2004-07-22  Dan Williams <dcbw@redhat.com>
21281
21282         * configure.in
21283                 - Add checks for GConf libs & headers & flags
21284
21285         * info-daemon/Makefile.am
21286                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21287
21288         * info-daemon/NetworkManagerInfo.[ch]
21289                 - Don't use gquarks for data storage, just use normal data storage
21290                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21291
21292         * info-daemon/NetworkManagerDbus.[ch]
21293                 - Add method call for getting allowed networks
21294                 - Add method calls for getting an allowed network's essid, priority, and key
21295                 - Hook the method calls up to GConf
21296                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21297                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21298                 
21299         * src/NetworkManagerDbus.[ch]
21300                 - Switch for enumeration of networks to using essid instead
21301
21302         * test/Makefile.am
21303           test/nminfotest.c
21304                 - Add test program for NetworkManagerInfo
21305
21306 2004-07-19  Dan Williams <dcbw@redhat.com>
21307
21308         * src/NetworkManagerDbus.c
21309                 - Switch from indexed device paths to names.  Less code, more efficient.
21310                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21311
21312 2004-07-19  Dan Williams <dcbw@redhat.com>
21313
21314         * dispatcher-daemon/NetworkManagerDispatcher.c
21315                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21316
21317 2004-07-19  Dan Williams <dcbw@redhat.com>
21318
21319         * Makefile.am
21320                 - Add info-daemon directory
21321
21322         * configure.in
21323                 - Check for glade libs and headers
21324                 - Add info-daemon directory
21325
21326         * src/NetworkManagerAP.c
21327                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21328                         copied over to the new AP.
21329
21330         * src/NetworkManagerDbus.c
21331           src/NetworkManagerDbus.h
21332                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21333                 - Remove nm_dbus_signal_need_key_for_network()
21334                 - Add disabled code for asynchronous user wep key callbacks
21335                 - Add functions for getting, setting, and cancelling user key operations
21336                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21337                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21338
21339         * src/NetworkManagerDevice.c
21340           src/NetworkManagerDevice.h
21341                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21342                         logic is in device activation now
21343                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21344                         key is wrong) trigger get-user-key pending action
21345                 - Implement get-user-key pending action stuff, tie to dbus messages
21346                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21347                 - Add nm_device_ap_list_get_ap_by_essid()
21348                 - Instead of copying "best" access points, ref them instead so that the key we set
21349                         sticks around
21350
21351         * src/NetworkManagerPolicy.c
21352                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21353                 - Don't cancel pending actions on a device if its the same device as last iteration
21354                 - Only promote pending_device->active_device if activation was successfull
21355
21356         * src/Makefile.am
21357                 - Rename nmclienttest->nmtest
21358
21359         * info-daemon/Makefile.am
21360           info-daemon/NetworkManagerInfo.c
21361           info-daemon/NetworkManagerInfo.h
21362           info-daemon/NetworkManagerInfoDbus.c
21363           info-daemon/NetworkManagerInfoDbus.h
21364           info-daemon/passphrase.glade
21365           info-daemon/NetworkManagerInfo.conf
21366           info-daemon/keyring.png
21367                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21368                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
21369                         lists to NetworkManager by proxying user's GConf
21370           
21371
21372 2004-07-15  Dan Williams <dcbw@redhat.com>
21373
21374         * src/Makefile.am
21375                 - Turn on warnings
21376
21377         * src/NetworkManager.c
21378                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21379                         that doing the deactivation ourselves
21380                 - Cancel an pending actions on a device if its being removed
21381                 - Break up link state checking a bit, make non-active wireless cards
21382                         deactivated to save power
21383                 - Remove unused variables
21384
21385         * src/NetworkManager.h
21386                 - Add support for "pending" device
21387
21388         * src/NetworkManagerAP.h
21389           src/NetworkManagerAP.c
21390                 - Add support for determining whether and AP has encryption enabled or not
21391                 - AP address is now "struct ether_addr" rather than a string
21392
21393         * src/NetworkManagerDbus.h
21394           src/NetworkManagerDbus.c
21395                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21396                 - Changes for AP address from struct ether_addr->string
21397
21398         * src/NetworkManagerDevice.h
21399           src/NetworkManagerDevice.c
21400                 - Remove unused variables, fix warnings
21401                 - Add support for Pending Actions (things that block a device from being "active"
21402                         until they are completed).
21403                 - First pending action:  Get a WEP key from the user
21404                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21405                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21406                 - Update wireless link checking to try to determine if the AP we are associated
21407                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
21408                         trigger the GetUserKey pending action on the device
21409                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
21410                         up in that case, otherwise we can't scan or link-check on it
21411                 - Add IP address change notifications at appropriate points (still needs some work)
21412                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21413
21414         * src/NetworkManagerPolicy.h
21415           src/NetworkManagerPolicy.c
21416                 - Split out "best" access point determiniation into separate function
21417                 - Make device activation 2-stage:  first the device is pending, then
21418                         in the next iteration through it becomes "active" unless it has
21419                         pending actions
21420
21421         * src/NetworkManagerUtils.h
21422           src/NetworkManagerUtils.c
21423                 - Clean up unused variables and warnings
21424                 - Wrap our debug macros in {} to prevent possible confusion
21425
21426         * src/NetworkManagerWireless.c
21427                 - Forgot to return current best priority, which lead to last available AP always
21428                         being chosen no matter what its priority was.  Corrected.
21429
21430 2004-07-15  Dan Williams <dcbw@redhat.com>
21431
21432         * dispatcher-daemon/Makefile.am
21433                 - Turn on warnings
21434
21435         * dispatcher-daemon/NetworkManagerDispatcher.c
21436                 - Remove unused variables due to warnings
21437                 - Fix some comments
21438                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21439
21440 2004-07-06  Dan Williams <dcbw@redhat.com>
21441
21442         * src/NetworkManager.c
21443                 - Add IPv4 address update for active device during link state check
21444                 - Don't allow wireless cards to be powered up when they are not the
21445                         active device
21446
21447         * src/NetworkManagerDbus.c
21448           src/NetworkManagerDbus.h
21449                 - Add DBUS IPv4 address change signal
21450                 - Add DBUS IPv4 address get method for devices
21451
21452         * src/NetworkManagerDevice.c
21453                 - Make setting the WEP key actually work
21454                 - Move IP address get/set/update stuff here, per-device
21455                 - Power down/bring down wireless device when deactivated
21456                 - For scanning wireless devices, if first scan returned ENODATA, try again
21457
21458         * src/NetworkManagerPolicy.c
21459                 - Only set the WEP key for an allowed access point if there is one.
21460                         We were setting it to be blank if one wasn't specified.
21461
21462         * src/NetworkManagerUtils.h
21463           src/NetworkManagerUtils.c
21464                 - Move the IP address stuff to NetworkManagerDevice.c
21465
21466         * dispatcher-daemon/NetworkManagerDispatcher.c
21467                 - Add device IPv4 address change notification stuff
21468
21469 2004-07-05  Dan Williams <dcbw@redhat.com>
21470
21471         * dispatcher-daemon/NetworkManagerDispatcher.c
21472                 - A bit more descriptive state message
21473                 - Don't segfault when reading directory
21474
21475         * src/NetworkManager.h
21476                 - Remove NMData desired_ap member, its now
21477                         per-device rather than global
21478
21479         * src/NetworkManager.c
21480                 - Remove references to desired_ap
21481                 - Move the allowed AP list refresh stuff into a thread
21482
21483         * src/NetworkManagerDevice.c
21484           src/NetworkManagerDevice.h
21485                 - Each wireless device now has a "best ap"
21486                 - Make device activate/deactivate functions per-device
21487                 - Make wireless scanning per-device
21488                 - Add IPv4 address discover functions, stub IPv6 ones
21489                 - Move ethernet address validation functions to NetworkManagerUtils.c
21490                 - Add wireless access point accessor function
21491                 - Get/Set functions for "best ap"
21492
21493         * src/NetworkManagerPolicy.c
21494                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21495                 - Deal with per-device "best ap" rather than data->desired_apa
21496                 - Implement allowed access point worker thread
21497                 - Add nm_policy_essid_is_allowed() function
21498
21499         * src/NetworkManagerUtils.c
21500           src/NetworkManagerUtils.h
21501                 - Add nm_ethernet_address_is_valid() function
21502                 - Add IPv4/IPv6 address get functions
21503
21504         * src/NetworkManagerWireless.c
21505           src/NetworkManagerWireless.h
21506                 - Move scanning stuff into NetworkManagerDevice.c, per-device
21507
21508 2004-06-29  Dan Williams <dcbw@redhat.com>
21509
21510         * dispatcher-daemon/NetworkManagerDispatcher.c
21511                 - Implement script callout functionality
21512
21513 2004-06-24  Dan Williams <dcbw@redhat.com>
21514
21515         * NetworkManager.c
21516             - Spacing cleanups
21517             - Flush device routes and ip addresses when added to the device list
21518
21519         * NetworkManagerDbus.c
21520             - Spacing cleanups
21521             - Add missing returns in the two signal functions
21522         
21523         * NetworkManagerPolicy.c
21524             - Spacing and variable cleanups
21525
21526 2004-06-24  Dan Williams <dcbw@redhat.com>
21527
21528         * Makefile.am
21529           Makefile.in
21530           configure.in
21531           dispatcher-daemon/Makefile.am
21532           dispatcher-daemon/Makefile.in
21533           dispatcher-daemon/NetworkManagerDispatcher.c
21534             - Add a daemon that receives signals from NetworkManager
21535                         and will (eventually) call scripts in /etc/somewhere
21536                         when devices go up or down.
21537         
21538         * NetworkManager.c
21539             - Spacing cleanups
21540             - Flush device routes and ip addresses when added to the device list
21541
21542         * NetworkManagerDbus.c
21543             - Spacing cleanups
21544             - Add missing returns in the two signal functions
21545         
21546         * NetworkManagerPolicy.c
21547             - Spacing and variable cleanups
21548             - Rename nm_policy_switch_interface->nm_policy_switch_device
21549             - nm_policy_switch_device():
21550                                 Use kill (pid) instead of system ("kill <pid>")
21551             - nm_state_modification_monitor():
21552                                 Add wireless essid to output of debug statements
21553                                 Correct typo in device compare to switch or not (should be !=)
21554                                 Don't sleep after sending "no longer active" signal, was useless
21555
21556 2004-06-24  Dan Williams <dcbw@redhat.com>
21557
21558         * Initial import