platform/upstream/connman.git
12 years agodoc: Adding description of a new possible error for RequestInput method
Tomasz Bursztyka [Wed, 2 May 2012 13:46:13 +0000 (16:46 +0300)]
doc: Adding description of a new possible error for RequestInput method

12 years agoservice: Handle nicely request input error
Tomasz Bursztyka [Wed, 2 May 2012 13:46:12 +0000 (16:46 +0300)]
service: Handle nicely request input error

12 years agotest: Handling properly Canceled or LaunchBrowser errors
Tomasz Bursztyka [Wed, 2 May 2012 13:46:11 +0000 (16:46 +0300)]
test: Handling properly Canceled or LaunchBrowser errors

12 years agowispr: Managing the case when user wants to login through the browser himself
Tomasz Bursztyka [Wed, 2 May 2012 13:46:10 +0000 (16:46 +0300)]
wispr: Managing the case when user wants to login through the browser himself

12 years agoagent: Adding a parameter to give the error name to browser callback
Tomasz Bursztyka [Wed, 2 May 2012 13:46:09 +0000 (16:46 +0300)]
agent: Adding a parameter to give the error name to browser callback

12 years agoagent: Adding a parameter to give the error name to authentication callback
Tomasz Bursztyka [Thu, 3 May 2012 12:15:57 +0000 (15:15 +0300)]
agent: Adding a parameter to give the error name to authentication callback

12 years agowispr: Adding some useful debug outputs
Tomasz Bursztyka [Wed, 2 May 2012 13:46:07 +0000 (16:46 +0300)]
wispr: Adding some useful debug outputs

12 years agowispr: Set gweb debug at the right place
Tomasz Bursztyka [Wed, 2 May 2012 13:46:06 +0000 (16:46 +0300)]
wispr: Set gweb debug at the right place

12 years agowispr: Use g_strdup() instead of strdup()
Jukka Rissanen [Wed, 2 May 2012 10:13:06 +0000 (13:13 +0300)]
wispr: Use g_strdup() instead of strdup()

Valgrind reports following error if strdup() is used here:

==12572== Invalid read of size 4
==12572==    at 0x429113B: ??? (in /lib/libc-2.11.90.so)
==12572==    by 0x80A8154: wispr_route_request (wispr.c:471)
==12572==    by 0x805CA4F: resolv_result (gweb.c:449)
==12572==    by 0x805DD4B: sort_and_return_results (gresolv.c:494)
==12572==    by 0x805E285: received_udp_data (gresolv.c:705)
==12572==    by 0x40AD8E6: ??? (in /lib/libglib-2.0.so.0.2800.6)
==12572==    by 0x4078AFA: g_main_context_dispatch (in /lib/libglib-2.0.so.0.2800.6)
==12572==    by 0x407911E: ??? (in /lib/libglib-2.0.so.0.2800.6)
==12572==    by 0x40796BC: g_main_loop_run (in /lib/libglib-2.0.so.0.2800.6)
==12572==    by 0x807400F: main (main.c:508)
==12572==  Address 0x55f406c is 20 bytes inside a block of size 22 alloc'd
==12572==    at 0x4029AE9: malloc (vg_replace_malloc.c:236)
==12572==    by 0x40B1D6C: g_malloc (in /lib/libglib-2.0.so.0.2800.6)
==12572==    by 0x40B4C25: g_strdup (in /lib/libglib-2.0.so.0.2800.6)
==12572==    by 0x805CA23: resolv_result (gweb.c:1222)
==12572==    by 0x805DD4B: sort_and_return_results (gresolv.c:494)
==12572==    by 0x805E285: received_udp_data (gresolv.c:705)
==12572==    by 0x40AD8E6: ??? (in /lib/libglib-2.0.so.0.2800.6)
==12572==    by 0x4078AFA: g_main_context_dispatch (in /lib/libglib-2.0.so.0.2800.6)
==12572==    by 0x407911E: ??? (in /lib/libglib-2.0.so.0.2800.6)
==12572==    by 0x40796BC: g_main_loop_run (in /lib/libglib-2.0.so.0.2800.6)
==12572==    by 0x807400F: main (main.c:508)
==12572==

If g_strdup() is used then no error is printed.
This error does not make much sense but anyway use g_strdup()
like in other parts of this file.

12 years agowispr: Possible memory leak in error case
Jukka Rissanen [Wed, 2 May 2012 09:56:51 +0000 (12:56 +0300)]
wispr: Possible memory leak in error case

12 years agowifi: Plugin internal variable was not static
Jukka Rissanen [Wed, 2 May 2012 09:56:19 +0000 (12:56 +0300)]
wifi: Plugin internal variable was not static

12 years agoconnection: Set host route to VPN server
Jukka Rissanen [Fri, 27 Apr 2012 10:55:46 +0000 (13:55 +0300)]
connection: Set host route to VPN server

This is needed so that we can access hosts behind the VPN.
The route might already be setup if VPN server is the same
as nameserver or similar.

12 years agotest: Also monitor technology changes
Marcel Holtmann [Tue, 1 May 2012 08:16:52 +0000 (10:16 +0200)]
test: Also monitor technology changes

12 years agoservice: Use helper function to add timeservers only once
Patrik Flykt [Mon, 30 Apr 2012 11:13:01 +0000 (14:13 +0300)]
service: Use helper function to add timeservers only once

12 years agoclock: Use helper function to add timeservers only once
Patrik Flykt [Mon, 30 Apr 2012 11:13:00 +0000 (14:13 +0300)]
clock: Use helper function to add timeservers only once

12 years agotimeserver: Use helper function to add timeservers only once
Patrik Flykt [Mon, 30 Apr 2012 11:12:59 +0000 (14:12 +0300)]
timeserver: Use helper function to add timeservers only once

12 years agotimeserver: Helper function for adding timeservers once to a list
Patrik Flykt [Mon, 30 Apr 2012 11:12:58 +0000 (14:12 +0300)]
timeserver: Helper function for adding timeservers once to a list

12 years agoREADME: Fix version number typo
Patrik Flykt [Mon, 30 Apr 2012 11:12:40 +0000 (14:12 +0300)]
README: Fix version number typo

12 years agonotifier: Return offline as global state if offline mode is enabled
Marcel Holtmann [Sun, 29 Apr 2012 23:35:23 +0000 (01:35 +0200)]
notifier: Return offline as global state if offline mode is enabled

12 years agotest: Update service monitoring script
Marcel Holtmann [Sun, 29 Apr 2012 23:31:24 +0000 (01:31 +0200)]
test: Update service monitoring script

12 years agotest: Remove script to monitor manager
Marcel Holtmann [Sun, 29 Apr 2012 23:27:43 +0000 (01:27 +0200)]
test: Remove script to monitor manager

12 years agodoc: Fix tabs vs spaces for service and technology documentation
Marcel Holtmann [Sun, 29 Apr 2012 23:17:11 +0000 (01:17 +0200)]
doc: Fix tabs vs spaces for service and technology documentation

12 years agodoc: Fix tabs vs spaces for agent documentation
Marcel Holtmann [Sun, 29 Apr 2012 23:13:52 +0000 (01:13 +0200)]
doc: Fix tabs vs spaces for agent documentation

12 years agoRelease 0.84 0.84
Marcel Holtmann [Sun, 29 Apr 2012 13:13:21 +0000 (15:13 +0200)]
Release 0.84

12 years agobuild: Remove dependency on libcap-ng
Marcel Holtmann [Sun, 29 Apr 2012 10:59:18 +0000 (12:59 +0200)]
build: Remove dependency on libcap-ng

12 years agotest: Update service monitoring script
Marcel Holtmann [Sat, 28 Apr 2012 23:30:25 +0000 (01:30 +0200)]
test: Update service monitoring script

12 years agotest: Add more pretty print for service monitoring
Marcel Holtmann [Sat, 28 Apr 2012 23:15:41 +0000 (01:15 +0200)]
test: Add more pretty print for service monitoring

12 years agotest: Add pretty printing for timeservers
Marcel Holtmann [Sat, 28 Apr 2012 23:12:44 +0000 (01:12 +0200)]
test: Add pretty printing for timeservers

12 years agonotifier: Remove DefaultTechnology signal
Marcel Holtmann [Sat, 28 Apr 2012 23:06:19 +0000 (01:06 +0200)]
notifier: Remove DefaultTechnology signal

12 years agoREADME: Mention wpa_supplicant version details
Marcel Holtmann [Sat, 28 Apr 2012 23:03:52 +0000 (01:03 +0200)]
README: Mention wpa_supplicant version details

12 years agoplugins: Update copyright information
Marcel Holtmann [Sat, 28 Apr 2012 22:59:56 +0000 (00:59 +0200)]
plugins: Update copyright information

12 years agocore: Update copyright information
Marcel Holtmann [Sat, 28 Apr 2012 22:59:40 +0000 (00:59 +0200)]
core: Update copyright information

12 years agotools: Update copyright information
Marcel Holtmann [Sat, 28 Apr 2012 22:58:58 +0000 (00:58 +0200)]
tools: Update copyright information

12 years agogsupplicant: Update copyright information
Marcel Holtmann [Sat, 28 Apr 2012 22:58:34 +0000 (00:58 +0200)]
gsupplicant: Update copyright information

12 years agogdhcp: Update copyright information
Marcel Holtmann [Sat, 28 Apr 2012 22:58:22 +0000 (00:58 +0200)]
gdhcp: Update copyright information

12 years agogweb: Update copyright information
Marcel Holtmann [Sat, 28 Apr 2012 22:57:38 +0000 (00:57 +0200)]
gweb: Update copyright information

12 years agonmcompat: Use more detailed state information
Marcel Holtmann [Sat, 28 Apr 2012 22:49:54 +0000 (00:49 +0200)]
nmcompat: Use more detailed state information

12 years agonotifier: Fix small coding style issue
Marcel Holtmann [Sat, 28 Apr 2012 22:19:28 +0000 (00:19 +0200)]
notifier: Fix small coding style issue

12 years agonmcompat: Fix error message
Marcel Holtmann [Sat, 28 Apr 2012 22:05:21 +0000 (00:05 +0200)]
nmcompat: Fix error message

12 years agogssuplicant: Fix when a bss should be added or replaced in a network
Tomasz Bursztyka [Sat, 28 Apr 2012 09:00:08 +0000 (12:00 +0300)]
gssuplicant: Fix when a bss should be added or replaced in a network

Note: on wpa_supplivant 0.7.x this fixes bug 21332 _only_ when switching
from wep to psk, not the other way round due to wpa_supplicant not telling
about RSN/WPA fields being empty. This could be fixed in parsing IE every
time it is updated, if wpa_s signals it. It work properly on
wpa_supplicant 0.8.x and 1.x since signaling RSN/WPA changes has been
fixed.

Fixes BMC#21332

12 years agogsupplicant: Added more debugging messages when adding or replacing a network
Tomasz Bursztyka [Sat, 28 Apr 2012 09:00:07 +0000 (12:00 +0300)]
gsupplicant: Added more debugging messages when adding or replacing a network

12 years agogsupplicant: Creating an helper function to compute bss security
Tomasz Bursztyka [Sat, 28 Apr 2012 09:00:06 +0000 (12:00 +0300)]
gsupplicant: Creating an helper function to compute bss security

12 years agogsupplicant: Renaming a function for a more relevant name
Tomasz Bursztyka [Sat, 28 Apr 2012 09:00:05 +0000 (12:00 +0300)]
gsupplicant: Renaming a function for a more relevant name

12 years agoRelease 0.83 0.83
Marcel Holtmann [Fri, 27 Apr 2012 23:05:06 +0000 (01:05 +0200)]
Release 0.83

12 years agowispr: Set host routes when requested by gweb
Patrik Flykt [Fri, 27 Apr 2012 14:33:18 +0000 (17:33 +0300)]
wispr: Set host routes when requested by gweb

Set host routes via the interface and identified gateway when
requested by gweb. Remove host routes when the check is done.

Fixes BMC#25061

12 years agoipconfig: Add ipconfig type to __connman_ipconfig_get_gateway_from_index()
Patrik Flykt [Fri, 27 Apr 2012 14:33:17 +0000 (17:33 +0300)]
ipconfig: Add ipconfig type to __connman_ipconfig_get_gateway_from_index()

In order to be able to request a certain ipconfig type, add the type
as a parameter to __connman_ipconfig_get_gateway_from_index().

12 years agotools: Add WISPr route request debug printouts
Patrik Flykt [Fri, 27 Apr 2012 14:33:16 +0000 (17:33 +0300)]
tools: Add WISPr route request debug printouts

Update g_web_request_get() and add WISPr route request debug
printouts.

12 years agowispr: Update g_web_request_get()
Patrik Flykt [Fri, 27 Apr 2012 14:33:15 +0000 (17:33 +0300)]
wispr: Update g_web_request_get()

12 years ago6to4: Update g_web_request_get()
Patrik Flykt [Fri, 27 Apr 2012 14:33:14 +0000 (17:33 +0300)]
6to4: Update g_web_request_get()

12 years agogweb: Define GWebRouteFunc
Patrik Flykt [Fri, 27 Apr 2012 14:33:13 +0000 (17:33 +0300)]
gweb: Define GWebRouteFunc

Define GWebRouteFunc that will be called when a route to the
intended destination may need to be set up.

12 years agotechnology: Create the settings file in init
Jukka Rissanen [Fri, 27 Apr 2012 13:01:52 +0000 (16:01 +0300)]
technology: Create the settings file in init

We save offline mode status in init so that settings
file gets created if it was missing.

12 years agotechnology: Save technology state if entry is missing from file
Jukka Rissanen [Fri, 27 Apr 2012 13:01:51 +0000 (16:01 +0300)]
technology: Save technology state if entry is missing from file

So we save the technology status if the settings file does not
contain it.

12 years agostorage: Create settings file only when migrating
Jukka Rissanen [Fri, 27 Apr 2012 13:01:50 +0000 (16:01 +0300)]
storage: Create settings file only when migrating

The settings file is created only when migrating
from default.profile. This means that technology
default values are used if settings file does not
exists.

12 years agotechnology: Offline mode is OFF by default
Jukka Rissanen [Fri, 27 Apr 2012 13:01:49 +0000 (16:01 +0300)]
technology: Offline mode is OFF by default

By defalt offline mode is OFF if settings file
is not found or OfflineMode entry is not found
in settings file.

12 years agotechnology: Enable ethernet by default
Jukka Rissanen [Fri, 27 Apr 2012 13:01:48 +0000 (16:01 +0300)]
technology: Enable ethernet by default

Ethernet is enabled by default if settings file is not found
or the Wired entry is not found in the file.

12 years agoAUTHORS: Metion Adrien's contribution
Marcel Holtmann [Fri, 27 Apr 2012 12:07:56 +0000 (14:07 +0200)]
AUTHORS: Metion Adrien's contribution

12 years agoopenvpn: Fix --comp-lzo parameter handling
Adrien Bustany [Fri, 27 Apr 2012 07:59:04 +0000 (10:59 +0300)]
openvpn: Fix --comp-lzo parameter handling

The previous code would assume all commandline options to have a value,
whereas --comp-lzo does not. As a result, openvpn's argv would have a
spurious empty string in its argv, and openvpn would not launch.

12 years agotest: Pretty-print timservers in list-services
Patrik Flykt [Thu, 26 Apr 2012 13:28:20 +0000 (16:28 +0300)]
test: Pretty-print timservers in list-services

12 years agobuild: Fix broken build without GnuTLS
Marcel Holtmann [Thu, 26 Apr 2012 16:22:07 +0000 (18:22 +0200)]
build: Fix broken build without GnuTLS

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 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 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