framework/connectivity/connman.git
12 years agoagent: If service has no security, do not ask for a passphrase
Alok Barsode [Thu, 26 Apr 2012 10:17:43 +0000 (13:17 +0300)]
agent: If service has no security, do not ask for a passphrase

12 years agowifi: Set connected to false before associating when disconnected
Tomasz Bursztyka [Thu, 26 Apr 2012 07:30:20 +0000 (10:30 +0300)]
wifi: Set connected to false before associating when disconnected

This way it will trigger the error which will be reported to service.

12 years agowifi: Be connected when relevant, stay connected if roaming
Tomasz Bursztyka [Wed, 25 Apr 2012 15:39:19 +0000 (18:39 +0300)]
wifi: Be connected when relevant, stay connected if roaming

12 years agodoc: Fix description of technology scan method
Marcel Holtmann [Thu, 26 Apr 2012 06:29:50 +0000 (08:29 +0200)]
doc: Fix description of technology scan method

12 years agobuild: Fix broken --disable-bluetooth
Marcel Holtmann [Wed, 25 Apr 2012 15:22:54 +0000 (17:22 +0200)]
build: Fix broken --disable-bluetooth

12 years agoservice: Fixing which wpspin we set according to PBC method or not
Tomasz Bursztyka [Wed, 25 Apr 2012 11:22:14 +0000 (14:22 +0300)]
service: Fixing which wpspin we set according to PBC method or not

For PBC method, the WiFi.PinWPS has to be NULL.

Fixes BMC#25076

12 years agodnsproxy: Delay cache removal
Jukka Rissanen [Wed, 25 Apr 2012 07:41:59 +0000 (10:41 +0300)]
dnsproxy: Delay cache removal

The idea here is to delay cache removal few seconds if there
are no cache users any more (refcount goes to 0). This is useful
for IPv6 RDNSS where new DNS servers are created right after old
one is removed. In this case we do not want to loose the cache
that still has perfectly valid data.

12 years agoipconfig: Do not tweak IPv6 status of ignored devices
Jukka Rissanen [Wed, 25 Apr 2012 08:20:04 +0000 (11:20 +0300)]
ipconfig: Do not tweak IPv6 status of ignored devices

12 years agoethernet: Fix small whitespace issue
Marcel Holtmann [Wed, 25 Apr 2012 08:56:23 +0000 (10:56 +0200)]
ethernet: Fix small whitespace issue

12 years agoservice: Stay at ready state with a preferred technology
Patrik Flykt [Wed, 25 Apr 2012 08:35:03 +0000 (11:35 +0300)]
service: Stay at ready state with a preferred technology

Stay at ready state with a preferred technology also when the
online check fails. Otherwise we end up in an endless autoconnect
loop with two preferred WiFi networks where neither one goes to
online.

Print out a warning message when the online check fails.

12 years agoservice: Use the right network keyword for wps
Tomasz Bursztyka [Wed, 25 Apr 2012 05:27:36 +0000 (08:27 +0300)]
service: Use the right network keyword for wps

12 years agoRelease 0.82
Marcel Holtmann [Tue, 24 Apr 2012 15:17:10 +0000 (17:17 +0200)]
Release 0.82

12 years agowifi: Fixing autoscan device unref issues
Tomasz Bursztyka [Tue, 24 Apr 2012 15:10:00 +0000 (18:10 +0300)]
wifi: Fixing autoscan device unref issues

- stop_autoscan() should unref the device only when relevant, i.e. when
interval and/or timeout have been set.
- autoscan_scan_callback() should unref the device since it has been
referenced in throw_wifi_scan()

12 years agoresolver: Use proper IPv6 source address when sending DNS queries
Jukka Rissanen [Tue, 24 Apr 2012 13:40:41 +0000 (16:40 +0300)]
resolver: Use proper IPv6 source address when sending DNS queries

This fix is for following scenario:
 - New interface is coming up.
 - There is radvd in the connected network and it is
   advertising IPv6 addresses and DNS servers.
 - Kernel receives router advertisement and picks up the DNS
   server information which is then routed via netlink to
   rtnl.c:rtnl_newnduseropt() which then creates DNS listener.
 - Kernel activates DAD (duplicate address detection).
 - As the DAD takes some time we now have interface up
   and it only has link local IPv6 address defined.
 - The DNS listener is now using link local source addresses when
   sending queries instead of proper autoconfigured addresses.
 - When DAD is finished, the interface will have autoconfigured
   addresses assigned and corresponding netlink message will cause
   function rtnl.c:process_newaddr() to be called.
 - If all this happens, then we re-create DNS listener
   in dnsproxy.c so that listener will have a proper
   (autoconfigured) source address when sending DNS packets.

12 years agowifi: Autoscan should be started or stopped according to interface's state
Tomasz Bursztyka [Tue, 24 Apr 2012 13:29:51 +0000 (16:29 +0300)]
wifi: Autoscan should be started or stopped according to interface's state

12 years agowifi: Autoscan fallback using a base exponential of 3 and a shorter limit
Tomasz Bursztyka [Tue, 24 Apr 2012 13:41:37 +0000 (16:41 +0300)]
wifi: Autoscan fallback using a base exponential of 3 and a shorter limit

A base of 2 creates too many scans on too short times, so a base of 3 reduces
this amount. And a limit of 3600 is way too much, a scan every 5 minute is
more relevant.

12 years agonotifier: Handle Manager state when exiting online
Patrik Flykt [Tue, 24 Apr 2012 12:34:30 +0000 (15:34 +0300)]
notifier: Handle Manager state when exiting online

Service state can transition from online to disconnect like this:
 1) old online - new disconnect/association => association
 2) old association - new disconnect/disconnect => disconnect

Create a separate function for leaving online mode, don't rely on
the previous old_state in service_indicate_state().

Fixes BMC#25073

12 years agoservice: a wps pin of length 0 is valid and leads to pbc method usage
Tomasz Bursztyka [Tue, 24 Apr 2012 14:15:57 +0000 (17:15 +0300)]
service: a wps pin of length 0 is valid and leads to pbc method usage

12 years agoREADME: adding necessary configuration hints about wpa_supplicant
Tomasz Bursztyka [Tue, 24 Apr 2012 13:46:05 +0000 (16:46 +0300)]
README: adding necessary configuration hints about wpa_supplicant

12 years agotimeserver: Fix NULL network struct access for VPN
Patrik Flykt [Tue, 24 Apr 2012 11:02:35 +0000 (14:02 +0300)]
timeserver: Fix NULL network struct access for VPN

A VPN does not have a network struct set. Thus do not attempt to
look up the corresponding interface index for a NULL network
pointer.

Fixes BMC#25075

12 years agoRelease 0.81
Marcel Holtmann [Mon, 23 Apr 2012 15:21:07 +0000 (17:21 +0200)]
Release 0.81

12 years agodoc: Update README to actually reflect reality
Marcel Holtmann [Mon, 23 Apr 2012 15:03:35 +0000 (17:03 +0200)]
doc: Update README to actually reflect reality

12 years agodevice: Removing emulated background scanning
Tomasz Bursztyka [Mon, 23 Apr 2012 08:22:21 +0000 (11:22 +0300)]
device: Removing emulated background scanning

Such "background" scanning was in use only for wifi devices. Such feature
is now fully moved and better supported in connman's wifi plugin.

12 years agodevice: Remove the scheduled scan method
Tomasz Bursztyka [Mon, 23 Apr 2012 08:22:20 +0000 (11:22 +0300)]
device: Remove the scheduled scan method

wifi was the only one using it, and this is replaced by the combination of
bgscan and autoscan.

12 years agowifi: Remove old background scanning technique call
Tomasz Bursztyka [Mon, 23 Apr 2012 08:22:19 +0000 (11:22 +0300)]
wifi: Remove old background scanning technique call

12 years agowifi: Specify bgscan parameters according to main.conf settings
Tomasz Bursztyka [Mon, 23 Apr 2012 08:22:18 +0000 (11:22 +0300)]
wifi: Specify bgscan parameters according to main.conf settings

12 years agowifi: Setup autoscan according to the main.conf settings
Tomasz Bursztyka [Mon, 23 Apr 2012 08:22:17 +0000 (11:22 +0300)]
wifi: Setup autoscan according to the main.conf settings

12 years agowifi: Adding support for autoscan emulation
Tomasz Bursztyka [Mon, 23 Apr 2012 08:22:16 +0000 (11:22 +0300)]
wifi: Adding support for autoscan emulation

12 years agowifi: Decide to use WPS PBC if the AP is already advertizing for it
Tomasz Bursztyka [Fri, 20 Apr 2012 12:18:36 +0000 (15:18 +0300)]
wifi: Decide to use WPS PBC if the AP is already advertizing for it

12 years agogsupplicant: Add WPS specific capabilities handling for network
Tomasz Bursztyka [Fri, 20 Apr 2012 12:18:35 +0000 (15:18 +0300)]
gsupplicant: Add WPS specific capabilities handling for network

12 years agogsupplicant: Add WPS specific capabilities parsing for BSS
Tomasz Bursztyka [Fri, 20 Apr 2012 12:18:34 +0000 (15:18 +0300)]
gsupplicant: Add WPS specific capabilities parsing for BSS

12 years agobuild: Remove useless alg-test example program
Marcel Holtmann [Sat, 21 Apr 2012 20:04:29 +0000 (22:04 +0200)]
build: Remove useless alg-test example program

12 years agobuild: Build client and testing tools by default
Marcel Holtmann [Sat, 21 Apr 2012 20:02:39 +0000 (22:02 +0200)]
build: Build client and testing tools by default

12 years agobuild: Allow NM and PolicyKit plugins only as builtins
Marcel Holtmann [Sat, 21 Apr 2012 19:40:20 +0000 (21:40 +0200)]
build: Allow NM and PolicyKit plugins only as builtins

12 years agobuild: Remove duplicate test for wpa_supplicant
Marcel Holtmann [Sat, 21 Apr 2012 11:53:01 +0000 (13:53 +0200)]
build: Remove duplicate test for wpa_supplicant

12 years agobuild: Always enable essential plugins by default
Marcel Holtmann [Sat, 21 Apr 2012 11:44:30 +0000 (13:44 +0200)]
build: Always enable essential plugins by default

12 years agobuild: Remove useless fake plugin
Marcel Holtmann [Sat, 21 Apr 2012 11:18:32 +0000 (13:18 +0200)]
build: Remove useless fake plugin

12 years agobuild: add unit tests to .gitignore
Lucas De Marchi [Fri, 20 Apr 2012 16:02:49 +0000 (13:02 -0300)]
build: add unit tests to .gitignore

12 years agogweb: don't use deprecated gnutls_session typedef
Lucas De Marchi [Fri, 20 Apr 2012 16:02:48 +0000 (13:02 -0300)]
gweb: don't use deprecated gnutls_session typedef

According to gnutls/compat.h, gnutls_session typedef was deprecated
since 2.x in favor of gnutls_session_t. Use the new typedef then.

12 years agogdhcp: fix strict-aliasing warning
Lucas De Marchi [Fri, 20 Apr 2012 16:02:47 +0000 (13:02 -0300)]
gdhcp: fix strict-aliasing warning

The previous way was giving the following warning with gcc 4.7:

  CC     gdhcp/common.o
gdhcp/common.c: In function 'dhcp_add_simple_option':
gdhcp/common.c:275:38: error: dereferencing type-punned pointer will
break strict-aliasing rules [-Werror=strict-aliasing

Change it slightly so not to give this warning.

12 years agotechnology: Fix indention
Daniel Wagner [Fri, 20 Apr 2012 14:35:48 +0000 (16:35 +0200)]
technology: Fix indention

12 years agoofono: Only register network when APN is set
Jussi Kukkonen [Fri, 20 Apr 2012 13:54:21 +0000 (15:54 +0200)]
ofono: Only register network when APN is set

Empty AccessPointName in a oFono internet context means it cannot
be activated: Don't create networks in this situation.

The conditions for adding a network are then
 a) modem supports NetworkRegistration
 b) modem has a context with a valid APN

Fixes BMC#24959

12 years agoofono: Fix network_driver name
Daniel Wagner [Fri, 20 Apr 2012 13:14:56 +0000 (15:14 +0200)]
ofono: Fix network_driver name

12 years agoservice: Notify timeserver removal for previous default service
Patrik Flykt [Fri, 20 Apr 2012 13:07:33 +0000 (16:07 +0300)]
service: Notify timeserver removal for previous default service

12 years agotimeserver: Notify service of changed timeservers
Patrik Flykt [Fri, 20 Apr 2012 13:07:32 +0000 (16:07 +0300)]
timeserver: Notify service of changed timeservers

12 years agoservice: Implement service Timeservers property
Patrik Flykt [Fri, 20 Apr 2012 13:07:31 +0000 (16:07 +0300)]
service: Implement service Timeservers property

Fixes BMC#25054.

12 years agotimeserver: Refactor __connman_timeserver_sync()
Patrik Flykt [Fri, 20 Apr 2012 13:07:30 +0000 (16:07 +0300)]
timeserver: Refactor __connman_timeserver_sync()

Factor out code that creates the timeserver list in
__connman_timeserver_sync().

12 years agoconfigure.ac: Require glib >= 2.28
Patrik Flykt [Fri, 20 Apr 2012 13:07:29 +0000 (16:07 +0300)]
configure.ac: Require glib >= 2.28

12 years agoservice: Save new service data only after successful connect
Jukka Rissanen [Fri, 20 Apr 2012 11:38:56 +0000 (14:38 +0300)]
service: Save new service data only after successful connect

The data for new service was saved into disk (with Favorite=false)
even if the first connection failed. This is now changed and
service data is only saved if user has been able to connect to a
service at least once.

12 years agomain: Mark end of array with NULL in order not to crash
Patrik Flykt [Fri, 20 Apr 2012 11:54:27 +0000 (14:54 +0300)]
main: Mark end of array with NULL in order not to crash

12 years agoagent: Memory leak in passphrase reply
Jukka Rissanen [Fri, 20 Apr 2012 11:28:30 +0000 (14:28 +0300)]
agent: Memory leak in passphrase reply

The pending call was not unreffed.

12 years agotest: Cannot set both name and passphrase
Jukka Rissanen [Fri, 20 Apr 2012 10:57:03 +0000 (13:57 +0300)]
test: Cannot set both name and passphrase

simple-agent could not be used to return both the Name and Passphrase
fields for hidden psk networks.

Fixes BMC#25058

12 years agomain: Set default values if main.conf is not found
Patrik Flykt [Fri, 20 Apr 2012 10:47:18 +0000 (13:47 +0300)]
main: Set default values if main.conf is not found

12 years agoservice: Changing default service was not correctly checked
Jukka Rissanen [Thu, 19 Apr 2012 12:29:53 +0000 (15:29 +0300)]
service: Changing default service was not correctly checked

Let the default_changed() function check whether the default service is
really changed as it is doing it correctly every time.

The extra check in the __connman_service_indicate_default() function is
causing problems if the user is moving services around. Then we might be
using the old DNS service data because DNS code did not get information
that default service was changed.

Fixes BMC#25027

12 years agoservice: fix glib critical messages about g_sequence_sort_changed
Tomasz Bursztyka [Thu, 19 Apr 2012 09:35:12 +0000 (12:35 +0300)]
service: fix glib critical messages about g_sequence_sort_changed

This patch fixes this:
GLib-CRITICAL **: g_sequence_sort_changed: assertion `!is_end (iter)' failed

12 years agonotifier: Change notifer_count_online() to notifier_is_online()
Daniel Wagner [Thu, 19 Apr 2012 09:58:23 +0000 (11:58 +0200)]
notifier: Change notifer_count_online() to notifier_is_online()

evaluate_notifer_state() is not interested in the number of online
services (which is btw always 0 or 1) just if there is one.

12 years agonotifier: Change __connman_notifier_count_connected() to *_is_connected()
Daniel Wagner [Thu, 19 Apr 2012 09:58:22 +0000 (11:58 +0200)]
notifier: Change __connman_notifier_count_connected() to *_is_connected()

No caller is interested in the number of connected services, only
if there is one or more or none.

12 years agopacrunner: Memory leak in dbus container
Jukka Rissanen [Wed, 18 Apr 2012 14:57:21 +0000 (17:57 +0300)]
pacrunner: Memory leak in dbus container

Valgrind reported memory leak here. The dbus message container
must be not left open because it has allocated resources so we
close the container before returning.

12 years agoservice: Send Timeservers.Configuration property changed
Patrik Flykt [Thu, 19 Apr 2012 08:00:08 +0000 (11:00 +0300)]
service: Send Timeservers.Configuration property changed

Fixes BMC#25055.

12 years agoRelease 0.80
Marcel Holtmann [Tue, 17 Apr 2012 13:47:57 +0000 (15:47 +0200)]
Release 0.80

12 years agonotifier: Distinguish between different states
Daniel Wagner [Tue, 17 Apr 2012 13:29:54 +0000 (15:29 +0200)]
notifier: Distinguish between different states

Instead of only having "offline" and "online" states, we support
now having "offline", "idle", "ready" and "online" as on the
Manager.State documenation update required.

12 years agoservice: Update notifier on ONLINE state
Daniel Wagner [Tue, 17 Apr 2012 12:59:01 +0000 (14:59 +0200)]
service: Update notifier on ONLINE state

12 years agonotifier: Add __connman_notifier_online()
Daniel Wagner [Tue, 17 Apr 2012 12:58:36 +0000 (14:58 +0200)]
notifier: Add __connman_notifier_online()

For indicating the we entered the ONLINE state.

12 years agonotifier: Add old state to __connman_notifier_disconnect()
Daniel Wagner [Tue, 17 Apr 2012 12:57:24 +0000 (14:57 +0200)]
notifier: Add old state to __connman_notifier_disconnect()

The old state helps to distinguish between the transissionts
from CONNECTED -> DISCONNECTED or ONLINE -> DISCONNECTED.

12 years agodoc: Add missing property for service timeservers
Marcel Holtmann [Tue, 17 Apr 2012 13:23:39 +0000 (15:23 +0200)]
doc: Add missing property for service timeservers

12 years agodoc: Mention the special offline handling for state property
Marcel Holtmann [Tue, 17 Apr 2012 12:48:55 +0000 (14:48 +0200)]
doc: Mention the special offline handling for state property

12 years agodoc: Update global state property details
Marcel Holtmann [Mon, 16 Apr 2012 09:31:32 +0000 (11:31 +0200)]
doc: Update global state property details

12 years agonotifier: Remove extra empty line
Marcel Holtmann [Tue, 17 Apr 2012 12:35:39 +0000 (14:35 +0200)]
notifier: Remove extra empty line

12 years agolog: Remove D-Bus iterators for debug properties
Marcel Holtmann [Tue, 17 Apr 2012 12:31:35 +0000 (14:31 +0200)]
log: Remove D-Bus iterators for debug properties

12 years agomanager: Remove experimental debug properties
Marcel Holtmann [Tue, 17 Apr 2012 12:30:55 +0000 (14:30 +0200)]
manager: Remove experimental debug properties

12 years agotest: Remove handling of no longer existing properties
Marcel Holtmann [Tue, 17 Apr 2012 12:28:39 +0000 (14:28 +0200)]
test: Remove handling of no longer existing properties

12 years agomanager: Make two global variables static
Marcel Holtmann [Tue, 17 Apr 2012 12:25:18 +0000 (14:25 +0200)]
manager: Make two global variables static

12 years agonetwork: Remove unused function
Daniel Wagner [Tue, 17 Apr 2012 11:31:49 +0000 (13:31 +0200)]
network: Remove unused function

12 years agodevice: use g_hash_table_replace instead of insert function
Tomasz Bursztyka [Tue, 17 Apr 2012 10:54:24 +0000 (13:54 +0300)]
device: use g_hash_table_replace instead of insert function

12 years agonat: use g_hash_table_replace instead of insert function
Tomasz Bursztyka [Tue, 17 Apr 2012 10:54:23 +0000 (13:54 +0300)]
nat: use g_hash_table_replace instead of insert function

12 years agotask: use g_hash_table_replace instead of insert function
Tomasz Bursztyka [Tue, 17 Apr 2012 10:54:22 +0000 (13:54 +0300)]
task: use g_hash_table_replace instead of insert function

12 years agovpn: use g_hash_table_replace instead of insert function
Tomasz Bursztyka [Tue, 17 Apr 2012 10:54:21 +0000 (13:54 +0300)]
vpn: use g_hash_table_replace instead of insert function

12 years agobluetooth: use g_hash_table_replace instead of insert function
Tomasz Bursztyka [Tue, 17 Apr 2012 10:54:20 +0000 (13:54 +0300)]
bluetooth: use g_hash_table_replace instead of insert function

12 years agoservice: Default service notifier is called too many times
Jukka Rissanen [Tue, 17 Apr 2012 09:32:22 +0000 (12:32 +0300)]
service: Default service notifier is called too many times

The default service notifier is invoked even when the default
service has not been changed. This causes unnecessary dbus
signal traffic.

Fixes BMC#25030

12 years agoservice: Use g_hash_table_replace instead of insert function
Tomasz Bursztyka [Tue, 17 Apr 2012 09:27:41 +0000 (12:27 +0300)]
service: Use g_hash_table_replace instead of insert function

12 years agoservice: Fix service_send_changed abort signal while cleaning up
Tomasz Bursztyka [Tue, 17 Apr 2012 08:18:02 +0000 (11:18 +0300)]
service: Fix service_send_changed abort signal while cleaning up

12 years agoservice: Schedule auto connect procedure to be ran on its own
Tomasz Bursztyka [Tue, 17 Apr 2012 07:10:07 +0000 (10:10 +0300)]
service: Schedule auto connect procedure to be ran on its own

12 years agoservice: Do not autoconnect if service is getting removed
Tomasz Bursztyka [Mon, 16 Apr 2012 13:21:38 +0000 (16:21 +0300)]
service: Do not autoconnect if service is getting removed

While unplugging ethernet cable,
__connman_service_remove_from_network() is called since
related network is getting cleaned up. Therefore ethernet
service goes from online/ready to disconnected, and end
to idle state. However, at that state auto_connect() is
called (even if this service is "planned" to disappear
due to network getting cleaned up) adn we end up with
ethernet network not disappearing, nor its related
service. We only need to set the service as "ignored", so
auto_connect will ignore that particular service.

12 years agosupplicant: Remove trailing whitespace
Julien Massot [Fri, 13 Apr 2012 13:09:03 +0000 (13:09 +0000)]
supplicant: Remove trailing whitespace

12 years agoservice: Move setting of WPS input from agent to service.
Julien Massot [Fri, 13 Apr 2012 15:16:35 +0000 (15:16 +0000)]
service: Move setting of WPS input from agent to service.

12 years agoservice: Add function to check the WPS PIN validity
Julien Massot [Fri, 13 Apr 2012 15:16:34 +0000 (15:16 +0000)]
service: Add function to check the WPS PIN validity

12 years agoservice: request_input_cb handle wps setting
Julien Massot [Fri, 13 Apr 2012 15:16:33 +0000 (15:16 +0000)]
service: request_input_cb handle wps setting

12 years agonetwork: Avoid connection to a network with invalid key
Julien Massot [Fri, 13 Apr 2012 15:16:32 +0000 (15:16 +0000)]
network: Avoid connection to a network with invalid key

12 years agoservice: Check the passphrase validity
Julien Massot [Fri, 13 Apr 2012 15:16:31 +0000 (15:16 +0000)]
service: Check the passphrase validity

A WPA passphrase is 8..63 char length.
A WPA raw key is always 64 hex digit.

A Wep passphrase is either 5 or 13 characters
A WEP key is 10 or 26 hex digit.

12 years agogsupplicant: Interpret "invalid message format" as invalid-key error
Julien Massot [Fri, 13 Apr 2012 15:16:30 +0000 (15:16 +0000)]
gsupplicant: Interpret "invalid message format" as invalid-key error

If gsupplicant sends a malformed passphrase,
wpa_supplicant return an error "invalid message format",
parsing this error avoids future usage of this passphrase.

12 years agomain.conf: Document main.conf options
Patrik Flykt [Thu, 12 Apr 2012 11:45:05 +0000 (14:45 +0300)]
main.conf: Document main.conf options

12 years agotest: Remove set-address script
Jukka Rissanen [Wed, 4 Apr 2012 08:38:40 +0000 (11:38 +0300)]
test: Remove set-address script

The script is quite useless because it changes the IP address
settings of all found services. The IP settings will be the same
for every service which is probably not what the user wants.
The set-ipv4-method and set-ipv6-method scripts can be used by
the user instead of set-address because those two scripts
will only change settings of one service.

12 years agoconfig: Warn user if no configuration is found
Jukka Rissanen [Thu, 12 Apr 2012 11:30:50 +0000 (14:30 +0300)]
config: Warn user if no configuration is found

This is useful so that user gets information that he needs to
fix the config file.

12 years agogdbus: Remove unneeded NEED_DBUS_WATCH_GET_UNIX_FD check
Marcel Holtmann [Mon, 16 Apr 2012 15:57:08 +0000 (17:57 +0200)]
gdbus: Remove unneeded NEED_DBUS_WATCH_GET_UNIX_FD check

12 years agobuild: Require D-Bus 1.4 or later
Marcel Holtmann [Mon, 16 Apr 2012 15:56:45 +0000 (17:56 +0200)]
build: Require D-Bus 1.4 or later

12 years agoservice: Check for settings list being non-NULL
Patrik Flykt [Thu, 12 Apr 2012 09:54:32 +0000 (12:54 +0300)]
service: Check for settings list being non-NULL

12 years agoTODO: Mark FallbackNameservers and FallbackTimeservers done
Patrik Flykt [Wed, 11 Apr 2012 13:29:03 +0000 (16:29 +0300)]
TODO: Mark FallbackNameservers and FallbackTimeservers done

12 years agoresolver: Append fallback nameservers
Patrik Flykt [Wed, 11 Apr 2012 13:29:02 +0000 (16:29 +0300)]
resolver: Append fallback nameservers

Append fallback nameservers, if any. Remove functions for adding
removing public nameservers since they are not used anymore.

12 years agomain: Implement 'FallbackNameservers' main.conf option
Patrik Flykt [Wed, 11 Apr 2012 13:29:01 +0000 (16:29 +0300)]
main: Implement 'FallbackNameservers' main.conf option

Implement 'FallbackNameservers' main.conf configuration file
option. While parsing the list of nameservers, use only the ones
in numeric format.

12 years agogoogle: Remove google nameserver plugin
Patrik Flykt [Wed, 11 Apr 2012 13:29:00 +0000 (16:29 +0300)]
google: Remove google nameserver plugin