1
2008-09-28 Dan Williams <dcbw@redhat.com>
3
* src/nm-serial-device.c
5
- (nm_serial_device_close): stop PPP manager here so that PPP gets
6
cleaned at the right times when subclasses close the serial port too
7
- (nm_serial_device_send_command): use a default send delay; don't
9
- (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
10
remove, no longer used
11
- (find_response): return the matched response if any
12
- (nm_serial_device_wait_reply_blocking): wait for a reply but block
14
- (wait_for_reply_done): pass the matched response to the callback
15
- (wait_for_reply_got_data): save the matched response; simplify timeout
17
- (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
18
const since they never get modified
19
- (cleanup_device): split out common cleanup stuff to a new function
20
- (real_deactivate_quickly, finalize): use cleanup_device()
23
- (modem_get_reply): remove, unused
24
- (set_apn): give the card a bit more time to respond
25
- (manual_registration_again, schedule_manual_registration_again,
26
manual_registration_response, manual_registration): handle manual
27
registration timeouts better by retrying registration a few times
28
because cards are a bit slow after CFUN=1
29
- (automatic_registration_get_network, get_network_response): use
30
modem_wait_for_reply() because it interacts better with the serial
31
buffer and does more intelligent matching; need to wait for 'OK'
32
rather than just matching terminators
33
- (schedule_automatic_registration_again,
34
automatic_registration_response, automatic_registration): retry
35
registration a few times on timeout or "searching" because cards
36
take a bit to find a network after being powered up with CFUN=1
37
- (power_up_response, power_up, init_full_done, enter_pin,
38
check_pin_done): power up the card with CFUN=1 before trying to
39
register with the network
40
- (init_modem_full, init_modem): use more standard 3G init strings
42
* src/nm-hso-gsm-device.c
43
- (modem_get_reply): remove, unused
44
- (hso_ip4_config_response, real_act_stage3_ip_config_start): use
45
modem_wait_for_reply() to match actual responses instead of single
46
termination characters; it doesn't leave stuff in the serial buffer
47
that might confuse later calls
48
- (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
49
to ensure that the call is really disconnected and not leave extra
50
stuff in the serial buffer
52
* src/nm-cdma-device.c
53
- (power_up_response, power_up, init_done): try Sierra-style modem
54
power up before attempting to connect
56
2008-09-27 Alexander Sack <asac@ubuntu.com>
58
Implement support for web-key-idx in ifupdown system
61
* system-settings/plugins/ifupdown/parser.c
62
- add wpa security mapping for web-key-idx property
64
2008-09-27 Dan Williams <dcbw@redhat.com>
66
* libnm-util/nm-setting-gsm.c
67
- (verify): verify GSM network ID
69
2008-09-25 Dan Williams <dcbw@redhat.com>
71
* libnm-util/nm-setting-gsm.c
72
libnm-util/nm-setting-gsm.h
73
- Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
74
technology terms (bgo #551361)
76
2008-09-25 Dan Williams <dcbw@redhat.com>
78
Fix bgo #549401 (inspired by patch from Alexander Sack)
80
* src/nm-device-ethernet.c
81
- (finish_supplicant_task): clean up scheduled tasks and free memory
82
- (remove_supplicant_interface_error_handler): remove the supplicant
83
error idle callback too
84
- (supplicant_interface_release): rename from supplicant_interface_clean
85
to match nm-device-wifi.c; clean up supplicant interface-related
86
state tasks when the supplicant interface is disposed of
87
- (schedule_state_handler): add scheduled tasks to a list so they can
89
- (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
90
supplicant_iface_connection_state_cb_handler): use
91
finish_supplicant_task() to clean up each completed task
92
- (supplicant_iface_connection_error_cb_handler,
93
supplicant_connection_timeout_cb): clear source id when the task is
95
- (supplicant_iface_connection_error_cb): save scheduled task id for
97
- (nm_device_ethernet_dispose): clean up any pending supplicant state
100
* src/nm-device-wifi.c
101
- (finish_supplicant_task): clean up scheduled tasks and free memory
102
- (remove_supplicant_interface_error_handler): remove the supplicant
103
error idle callback too
104
- (supplicant_interface_release): clean up supplicant interface-related
105
state tasks when the supplicant interface is disposed of
106
- (schedule_state_handler): add scheduled tasks to a list so they can
108
- (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
109
supplicant_iface_connection_state_cb_handler): use
110
finish_supplicant_task() to clean up each completed task
111
- (supplicant_iface_connection_error_cb_handler): clear source id when
113
- (supplicant_iface_connection_error_cb): save scheduled task id for
115
- (nm_device_wifi_dispose): clean up any pending supplicant state tasks
117
2008-09-24 Tambet Ingo <tambet@gmail.com>
119
* system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
120
method and get/set hostname property.
122
2008-09-24 Tambet Ingo <tambet@gmail.com>
124
* src/supplicant-manager/nm-supplicant-interface.c
125
(nm_supplicant_interface_disconnect): Don't increment the reference
126
count when disconnecting. The problem is on shutdown, when the replies
127
to these commands do not arrive before NM exits, resulting on never
128
calling supplicant interface's dispose(), which removes the interface
131
2008-09-24 Tambet Ingo <tambet@gmail.com>
133
* libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
134
all the public function arguments.
136
2008-09-22 Tambet Ingo <tambet@gmail.com>
138
* src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
139
"Failure" signal from VPN plugins, store the failure reason, and
140
use it when the state is changed to failure.
142
* introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
145
* include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
146
reason to the end of the list to not break the API.
147
(NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
148
so it can be shared by plugins and daemon.
150
2008-09-21 Alexander Sack <asac@ubuntu.com>
152
Implement more graceful ip4 config parsing for cases where
153
/etc/network/interfaces omits basic ip4 settings, such as gateway etc.
154
* system-settings/plugins/ifupdown/parser.c
155
- Use default values for address, netmask/prefix and gateway.
157
2008-09-18 Dan Williams <dcbw@redhat.com>
159
Patch from Alexander Sack <asac@ubuntu.com>
162
system-settings/plugins/Makefile.am
163
system-settings/plugins/ifupdown/Makefile.am
164
system-settings/plugins/ifupdown/interface_parser.c
165
system-settings/plugins/ifupdown/interface_parser.h
166
system-settings/plugins/ifupdown/nm-ifupdown-connection.c
167
system-settings/plugins/ifupdown/nm-ifupdown-connection.h
168
system-settings/plugins/ifupdown/parser.c
169
system-settings/plugins/ifupdown/parser.h
170
system-settings/plugins/ifupdown/plugin.c
171
system-settings/plugins/ifupdown/plugin.h
172
- Implement a Debian/Ubuntu legacy network configuration plugin
175
2008-09-18 Dan Williams <dcbw@redhat.com>
177
Implement support for honoring configured and automatic hostnames, and for
178
setting the configured hostname.
180
* introspection/nm-ip4-config.xml
183
src/dhcp-manager/nm-dhcp-manager.c
184
- Remove useless hostname property; it's not really part of the IPv4
187
* introspection/nm-settings-system.xml
188
libnm-glib/nm-dbus-settings-system.c
189
libnm-glib/nm-dbus-settings-system.h
190
- Add SetHostname() call to system settings D-Bus interface
191
- Add Hostname property to system settings D-Bus interface
192
- (nm_dbus_settings_system_save_hostname,
193
nm_dbus_settings_system_get_hostname): implement
197
- (nm_device_get_dhcp4_config): implement
201
- Fetch and track system settings service hostname changes, and proxy
202
the changes via a GObject property of the manager
204
* system-settings/src/nm-system-config-interface.c
205
system-settings/src/nm-system-config-interface.h
206
- Replace nm_system_config_interface_supports_add() with a capabilities
209
* system-settings/src/nm-system-config-error.c
210
system-settings/src/nm-system-config-error.h
211
- Add additional errors
213
* system-settings/src/dbus-settings.c
214
system-settings/src/dbus-settings.h
215
- (get_property, nm_sysconfig_settings_class_init): add hostname
216
property; first plugin returning a hostname wins
217
- (impl_settings_add_connection): use plugin capabilities instead of
218
nm_system_config_interface_supports_add()
219
- (impl_settings_save_hostname): implement hostname saving
221
* src/NetworkManagerPolicy.c
222
- (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
223
lookup_thread_die): implement an asynchronous hostname lookup thread
224
which given an IPv4 address tries to look up the hostname for that
225
address with reverse DNS
226
- (get_best_device): split out best device code from
227
update_routing_and_dns()
228
- (update_etc_hosts): update /etc/hosts with the machine's new hostname
229
to preserve the 127.0.0.1 reverse mapping that so many things require
230
- (set_system_hostname): set a given hostname
231
- (update_system_hostname): implement hostname policy; a configured
232
hostname (from the system settings service) is used if available,
233
otherwise an automatically determined hostname from DHCP, VPN, etc.
234
If there was no automatically determined hostname, reverse DNS of
235
the best device's IP address will be used, and as a last resort the
236
hostname 'localhost.localdomain' is set.
237
- (update_routing_and_dns): use get_best_device(); update the system
238
hostname when the network config changes
239
- (hostname_changed): update system hostname if the system settings
240
service signals a hostname change
241
- (nm_policy_new): list for system settings service hostname changes
242
- (nm_policy_destroy): ensure that an in-progress hostname lookup thread
245
* system-settings/plugins/keyfile/plugin.c
246
system-settings/plugins/ifcfg-suse/plugin.c
247
- (get_property, sc_plugin_ifcfg_class_init): implement hostname and
248
capabilities properties
250
* system-settings/plugins/ifcfg-fedora/shvar.c
251
- (svOpenFile): re-enable R/W access of ifcfg files since the plugin
252
writes out /etc/sysconfig/network now
254
* system-settings/plugins/ifcfg-fedora/plugin.c
255
- (plugin_get_hostname): get hostname from /etc/sysconfig/network
256
- (plugin_set_hostname): save hostname to /etc/sysconfig/network
257
- (sc_network_changed_cb): handle changes to /etc/sysconfig/network
258
- (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
259
- (get_property, set_property, sc_plugin_ifcfg_class_init): implement
260
hostname get/set and capabilities get
262
2008-09-18 Dan Williams <dcbw@redhat.com>
264
* libnm-util/nm-setting-wireless.c
265
- (nm_setting_wireless_ap_security_compatible): only verify pairwise and
266
group ciphers if the wireless-security setting explicitly specified
267
them, effectively making the default be "all ciphers" (idea from
270
2008-09-15 Dan Williams <dcbw@redhat.com>
272
Patch from Alexander Sack <asac@ubuntu.com>
274
* src/named-manager/nm-named-manager.c
275
- (dispatch_resolvconf): respect resolvconf exit code
277
2008-09-12 Tambet Ingo <tambet@gmail.com>
279
* src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
280
again. Add some debugging.
282
2008-09-11 Dan Williams <dcbw@redhat.com>
284
* system-settings/plugins/keyfile/plugin.c
285
- (update_connection_settings): update connection manually, since
286
nm_exported_connection_update() does authentication
287
- (dir_changed): update_connection_settings() doesn't need to return
290
2008-09-09 Dan Williams <dcbw@redhat.com>
292
* libnm-glib/nm-vpn-plugin-ui-interface.c
293
libnm-glib/nm-vpn-plugin-ui-interface.h
294
libnm-glib/libnm_glib_vpn.ver
295
- (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
296
should clean up resources related to the connection (like keyring
298
- (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
299
should save user-scope secrets (like to the keyring)
1
301
2008-09-08 Dan Williams <dcbw@redhat.com>
3
303
Patch from Alexander Sack <asac@ubuntu.com>