Commit graph

4509 commits

Author SHA1 Message Date
Dan Williams
f032e478d8 modem: consolidate common modem code into NMDeviceModem 2010-03-25 13:15:03 -07:00
Dan Williams
c45064ba36 modem: remove debugging printf 2010-03-25 12:21:01 -07:00
Dan Williams
9a1143b337 modem: fix modem type checking for various operations
After the DUN branch merge (I think?) a number of NM_IS_MODEM
calls were left around which now always return FALSE since
NMDeviceCdma and NMDeviceGsm aren't subclasses of NMModem anymore.
But we still need generic "is this a modem subclass" checks in
a few places, so add a modem base class that both the GSM and
CDMA device classes inherit from and use that.

Plus, we want to consolidate a ton of the common code in
nm-device-gsm.c and nm-device-cdma.c into the base class in the
future anyway.
2010-03-25 12:18:26 -07:00
Dan Williams
89af61f73c core: better matching of rfkill types
This also fixes a bug where WWAN devices were not correctly
recognized for enable/disable operations.
2010-03-25 11:36:19 -07:00
Dan Williams
6773cc6a63 api: clarify Connection.Updated arguments 2010-03-24 14:10:34 -07:00
Ani Peter
88f68c10ff po: add Malayalam translation (bgo #613680) 2010-03-24 01:24:45 -07:00
Manoj Kumar Giri
cd52f2ea5a po: updated Oriya translation (bgo #610332) 2010-03-24 01:22:58 -07:00
Shankar Prasad
e5a66e2882 po: updated Kannada translation (bgo #609510) 2010-03-24 01:21:56 -07:00
Dan Williams
c8e23d36e3 core: add numeric reason codes for easier maintenance
Also makes it easier to keep the introspection and the C in sync.
2010-03-23 23:13:49 -07:00
Dan Williams
b95c390015 bluetooth: add timeout for bluetooth connection request 2010-03-23 23:07:17 -07:00
Dan Williams
35e5656e65 bluetooth: fix race condition causing NAP connections to fail (rh #572340)
The race would start DHCP before we had the BNEP interface from
bluez, causing the wrong interface name to be used.
2010-03-23 22:51:57 -07:00
Dan Williams
b7d21eba69 dhcp: print out DHCP client command strings 2010-03-23 18:50:32 -07:00
Dan Williams
c471bb4a03 po: add new translatable 2010-03-23 18:32:32 -07:00
Dan Williams
3012848759 rfkill: remove unused ignore_udev switch 2010-03-23 17:54:16 -07:00
Dan Williams
78dd4fc9f2 dhcp: make client selection more forgiving
If your distributor forgot to set up the client path for you, this
makes NM look in the right places and allows you to use either client
if it's installed, no matter what NM was configured with.
2010-03-23 14:22:10 -07:00
Dan Williams
55728349a1 core: properly clear non-fatal errors from state file parsing 2010-03-23 14:12:32 -07:00
Dan Williams
111ff83493 dhcp: tell dhcpcd to send hostname to server too if requested 2010-03-23 13:25:15 -07:00
Jiří Klimeš
eedde7283f libnm-util: add functions to output ip6 settings of connections 2010-03-22 18:59:40 +01:00
Tomasz Dominikowski
869a1dc6c9 po: updated Polish translation (bgo #612167) 2010-03-19 12:16:19 -07:00
Daniel Nylander
48ea547d7a po: updated Swedish translation (bgo #611638) 2010-03-19 12:15:23 -07:00
Christian Kirbach
edbc28daa3 po: updated German translation (bgo #612670) 2010-03-19 12:14:11 -07:00
Jorge González
e7eaacf426 po: update Spanish translation (bgo #612079) 2010-03-19 12:12:01 -07:00
Iñaki Larrañaga Murgoitio
4fe2acbef3 po: update Basque translation (bgo #613055) 2010-03-19 12:10:25 -07:00
Dan Williams
a2bcb79918 gsm: send new allowed mode and roaming control properties on connect 2010-03-16 23:53:31 -07:00
Dan Williams
d924003320 libnm-util: add nm_setting_gsm_get_home_only()
For roaming control.
2010-03-16 23:52:37 -07:00
Dan Williams
4af1cc2661 utils: add boolean value hash helper 2010-03-16 23:51:55 -07:00
Jiří Klimeš
15351042ba libnm-glib: add 'vpn-state' and 'banner' properties to NMVPNConnection class
Without these properties, the errors like these occured:
  WARNING **: handle_property_changed: property 'vpn-state' changed but wasn't
  defined by object type NMVPNConnection.
2010-03-12 11:03:14 +01:00
Jiří Klimeš
f46a601022 libnm-glib-test: fix crash when a VPN connection is active and print its base connection 2010-03-12 10:49:59 +01:00
Dan Williams
308e9110ae modem: log disconnect errors 2010-03-10 11:25:14 -08:00
Dan Williams
d0c792d598 build: fix build of old libnm_glib stuff after 9c9898091a 2010-03-10 11:19:26 -08:00
Dan Williams
9c9898091a libnm-glib: deprecate original libnm_glib bits
Been trying to move people off them for a long time, this makes
it official.
2010-03-10 09:18:08 -08:00
Jiří Klimeš
639ae507e1 keyfile: don't free GError when it's NULL (after connection's successful update) 2010-03-09 11:10:58 +01:00
Jiří Klimeš
f97c0369c0 doc: fix a typo 2010-03-08 10:59:16 +01:00
Dan Williams
3abf5f30bf system-settings: fix plugins for /etc/NetworkManager/NetworkManager.conf 2010-03-06 00:18:28 -08:00
Jiří Klimeš
798d68caa4 dhcp: more intelligent default DHCP client detection 2010-03-06 00:07:06 -08:00
Jiří Klimeš
dbacb05d2a core: fix GErrors pileup 2010-03-03 10:11:11 +01:00
Jiří Klimeš
bfe58b26fb trivial: replace NetworkManager.c occurence after renaming to main.c 2010-03-03 09:57:28 +01:00
Dan Williams
9e627d1bce trivial: rename some CamelCase source files to not-camel-case 2010-03-02 15:06:14 -08:00
Dan Williams
e8b5bcca56 hosts: always check and update /etc/hosts if needed (rh #569914)
If the hostname was changed while NM wasn't running, and thus /etc/hosts
was out of sync with the new hostname, NM wouldn't make sure that
the new hostname was mapped in /etc/hosts.  Make sure that happens
and add a bunch of testcases for /etc/hosts rewriting.
2010-03-02 14:44:02 -08:00
Dan Williams
a542bba20a man: cleanups 2010-03-01 18:12:03 -08:00
Dan Williams
f5f1da66b5 core: fix auto determination of classful IPv4 address and add testcase (bgo #603098)
The original patch didn't actually fix the main DHCP option code,
just the dhclient leasefile reading code.  Add some testcases for
good measure.
2010-03-01 17:29:15 -08:00
Dan Williams
af83949cd4 trivial: .gitignore update 2010-03-01 12:45:51 -08:00
Jiří Klimeš
1aae1ad009 man: manpage updates; add pages for system settings config file 2010-03-01 12:35:20 -08:00
Dan Williams
2a646aafa3 core: try getting system config from NetworkManager.conf first
And fall back to nm-system-settings.conf if that doesn't exist.
2010-03-01 12:09:16 -08:00
Jiří Klimeš
c43f8b8836 core: cli options cleanup; fix usage of '--plugins'
'--plugins' option now takes preference over [plugins] from config file.
This change fixes a bug caused by accepting default config file when no
'--config' was specified and thus effectively disabling '--plugins'.
2010-02-26 15:05:03 +01:00
Jirka Klimes
0f0daf7852 core: determine classful IPv4 prefix if no DHCP netmask is provided (bgo #603098) 2010-02-25 16:52:10 -08:00
Rajesh Ranjan
2281b87cc4 po: add Hindi translation (bgo #610914) 2010-02-25 13:04:12 -08:00
Miguel Anxo Bouzada
0f70d95b22 po: update Galican translation (bgo #611059) 2010-02-25 12:55:29 -08:00
Runa Bhattacharjee
409aaa43e0 po: update Bengali translation (bgo #610442) 2010-02-25 12:53:03 -08:00
Jirka Klimes
c2ec07f17d cli: add initial pieces of nmcli 2010-02-25 09:52:30 -08:00