platform/upstream/connman.git
10 years agotechnology: Do not send any rfkill to kernel after receiving one 78/8278/3 tizen_ivi_genivi tizen_ivi_release accepted/tizen/20130912.082351 accepted/tizen/20130912.085336 accepted/tizen/20130912.093500 accepted/tizen/ivi/genivi/20140131.020206 accepted/tizen_ivi_release/20131120.050253 ivi_oct_m2 submit/tizen/20130815.011956 submit/tizen/20130912.075641 submit/tizen_ivi_genivi/20140131.015912 submit/tizen_ivi_release/20131120.032027
Jukka Rissanen [Thu, 25 Jul 2013 13:31:29 +0000 (16:31 +0300)]
technology: Do not send any rfkill to kernel after receiving one

If we receive rfkill event from kernel, we must not send it
back blindly. This could cause a ping-pong effect where the
technology is switched on/off constantly.

Upstream commit id:7a2d00e0bfe99cc327f78b9841bd8aca9efa2877

10 years agotechnology: Check hardblock when returning from offline mode 77/8277/3
Jukka Rissanen [Thu, 25 Jul 2013 13:31:28 +0000 (16:31 +0300)]
technology: Check hardblock when returning from offline mode

If we are hardblocked, then we must not enable the technology when
we are returning from offline mode.

Upstream commit id:10ce0a87d558b77bed2961c2933918f46c1a0dee

10 years agogsupplicant: Only add interface when wpa_supplicant is in ready state 76/8276/3
Jukka Rissanen [Thu, 25 Jul 2013 13:31:27 +0000 (16:31 +0300)]
gsupplicant: Only add interface when wpa_supplicant is in ready state

I noticed following scenario:
- hardblock the device
- turn on offline mode
- turn off hardblock, as offline mode is still on connman will
  set softblock on
- wpa_supplicant generated these state signals in this order:
     1. INACTIVE
     2. DISABLED
- wifi.c cannot handle these events because the wifi pointer
  is NULL at this point
- gsupplicant will then call wifi.c:interface_added(), this will cause
  the scanning to start but that will fail because we are still
  in softblocked state (wpa_supplicant returns error)
- wifi.c goes now to forever loop i.e., it tries to start scan
  constantly. Only way to recover is to unblock wifi by turning
  offline mode off.

The fix to this issue is simple, if the interface is not yet ready
then gsupplicant will not call wifi.c:interface_added() callback as
that is useless anyway.

Upstream commit id:70445458847721186622677e2810febbf2f2f454

10 years agotechnology: Offlinemode could not be disabled if no technology was powered 75/8275/2
Jukka Rissanen [Fri, 7 Jun 2013 12:15:29 +0000 (15:15 +0300)]
technology: Offlinemode could not be disabled if no technology was powered

If all the technologies were powered off, then offline mode could
not be disabled.

Fixes BMC#26018

Upstream commit id:b4f0e902a111e29451ff604bb00795363d0093aa

10 years agoFix the issue TIVI-1426: 66/8166/1 submit/tizen/20130813.015237
Chengyi Zhao [Tue, 13 Aug 2013 01:15:07 +0000 (09:15 +0800)]
Fix the issue TIVI-1426:
[3.0] connman-test/simple-agent needs pygobject

10 years agoStart ntp service after connman 73/7873/2 submit/tizen/20130812.012612
Jean-Benoit MARTIN [Fri, 9 Aug 2013 08:27:52 +0000 (10:27 +0200)]
Start ntp service after connman

Change-Id: I1dd9521e358c2b85da0cb1fb104265aa0b14184c
Bug-Tizen: TZPC-4242

10 years agoFix TIVI-1449:[3.0] Fail to surf internet 63/7863/1 submit/tizen/20130809.033909
Chengyi Zhao [Fri, 9 Aug 2013 03:22:58 +0000 (11:22 +0800)]
Fix TIVI-1449:[3.0] Fail to surf internet
through wifi tethering connection

Add iptables dependency

10 years agoUpstream/technology: Follow external rfkill events and act accordingly 96/5796/3
Jukka Rissanen [Mon, 15 Jul 2013 14:25:46 +0000 (17:25 +0300)]
Upstream/technology: Follow external rfkill events and act accordingly

Fix bug: CM-645
Fix bug: TIVI-1044

Upstream commit id: 48dbff35d34257dc7055a35aae2a19ed0a06825b

10 years agoUpstream/technology: Check offline mode separately when rfkill device is added 95/5795/3
Jukka Rissanen [Mon, 15 Jul 2013 14:13:13 +0000 (17:13 +0300)]
Upstream/technology: Check offline mode separately when rfkill device is added

Upstream commit id: c3c35b8842b24546b0424ca1d83ca919ffd2427c

10 years agoUpstream/technology: Do not activate technology if returning from 94/5794/3
Jukka Rissanen [Mon, 15 Jul 2013 13:46:15 +0000 (16:46 +0300)]
Upstream/technology: Do not activate technology if returning from
hardblock while in offline mode

Upstream commit id: f2a958c7ed02d5ea5b83422ae12e8edd7f7481d1

10 years agoUpstream/technology: Print information when technogy is switched on 93/5793/4
Jukka Rissanen [Mon, 15 Jul 2013 13:19:03 +0000 (16:19 +0300)]
Upstream/technology: Print information when technogy is switched on

Upstream commit id: 5378ab988795358855e76f5dfce71907e0346110

10 years agoTNCD-3: Remove the global ConnMan settings file 36/7836/2
Patrick McCarty [Wed, 7 Aug 2013 19:20:56 +0000 (12:20 -0700)]
TNCD-3: Remove the global ConnMan settings file

The ConnMan settings file should reflect requirements for each vertical,
and it would be better to ship a custom settings file per vertical.

Also, some verticals may want the ConnMan default settings, which is not
possible if the connman package installs a settings file overriding the
ConnMan defaults.

Change-Id: I111da3c223dac23f35d53a16da55391b34d05bfc

10 years agoRevert manifest to default floor 32/7832/1
Patrick McCarty [Wed, 7 Aug 2013 18:06:08 +0000 (11:06 -0700)]
Revert manifest to default floor

In commit 6f8eff092409c87722f8447f5157a42c6b750b08, the packaging
manifest was modified to define the "connman" domain, etc.

This was fixed in the previous commit, but it should be using the
default floor manifest instead.

Change-Id: I90859240509b3dcfbd2a7607b0ded613cca8e618

10 years agoBug fixing IVI-1526: Fail to zypper install connman-test 96/7796/1 submit/tizen/20130806.052151
Zhang zhengguang [Tue, 6 Aug 2013 04:16:41 +0000 (12:16 +0800)]
Bug fixing IVI-1526: Fail to zypper install connman-test

Signed-off-by: Zhang zhengguang <zhengguang.zhang@intel.com>
10 years agoUpdate connman standard group 95/7795/1 submit/tizen/20130806.030102
Zhang zhengguang [Tue, 6 Aug 2013 01:59:20 +0000 (09:59 +0800)]
Update connman standard group

10 years agoAdd build and configure file 79/5979/4 submit/tizen/20130805.055949
Zhang zhengguang [Wed, 26 Jun 2013 05:09:22 +0000 (13:09 +0800)]
Add build and configure file

10 years agoTethering: Add tethering interfaces description to technology-api.txt 57/6057/2 submit/tizen/20130805.054220
Chengyi Zhao [Fri, 26 Jul 2013 06:58:32 +0000 (14:58 +0800)]
Tethering: Add tethering interfaces description to technology-api.txt

10 years agoTethering: Optimize the interface between connman and mobileap-agent 52/6052/1
Chengyi Zhao [Tue, 23 Jul 2013 09:45:31 +0000 (17:45 +0800)]
Tethering: Optimize the interface between connman and mobileap-agent

10 years agoTethering: Add tethering feature support in config file 97/5697/3
Chengyi Zhao [Fri, 12 Jul 2013 06:05:41 +0000 (14:05 +0800)]
Tethering: Add tethering feature support in config file

10 years agoTethering: Add test script of open and hidden AP 96/5696/3
Chengyi Zhao [Thu, 11 Jul 2013 02:29:38 +0000 (10:29 +0800)]
Tethering: Add test script of open and hidden AP

10 years agoTethering: Add hidden access point support in technology 95/5695/3
Chengyi Zhao [Thu, 11 Jul 2013 02:00:31 +0000 (10:00 +0800)]
Tethering: Add hidden access point support in technology

10 years agoTethering: Add open access point support in technology 94/5694/3
Chengyi Zhao [Thu, 11 Jul 2013 01:12:01 +0000 (09:12 +0800)]
Tethering: Add open access point support in technology

10 years agoTethering: Notify listeners when station connection changes 93/5693/3
Chengyi Zhao [Wed, 10 Jul 2013 12:00:36 +0000 (20:00 +0800)]
Tethering: Notify listeners when station connection changes

10 years agoTethering: Add interface that save lease in DHCP information 92/5692/1
Chengyi Zhao [Wed, 10 Jul 2013 11:17:02 +0000 (19:17 +0800)]
Tethering: Add interface that save lease in DHCP information

10 years agoTethering: Add station information management feature 91/5691/1
Chengyi Zhao [Wed, 10 Jul 2013 09:54:32 +0000 (17:54 +0800)]
Tethering: Add station information management feature

10 years agoTethering: Add handling for wpa_supplicant authorized/deauthorized signals 90/5690/1
Chengyi Zhao [Wed, 10 Jul 2013 07:37:50 +0000 (15:37 +0800)]
Tethering: Add handling for wpa_supplicant authorized/deauthorized signals

10 years agoresetting manifest requested domain to floor 65/4665/2 accepted/tizen/20130710.213944 submit/tizen/20130710.165621
Alexandru Cornea [Fri, 28 Jun 2013 19:23:38 +0000 (22:23 +0300)]
resetting manifest requested domain to floor

10 years agoMake ntp, openconnect configurable 32/5532/1
Anas Nashif [Fri, 5 Jul 2013 01:49:49 +0000 (21:49 -0400)]
Make ntp, openconnect configurable

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
10 years agoMerge changes Iea93a2e9,Ic5591d5a into tizen
Martin Xu [Thu, 4 Jul 2013 08:48:09 +0000 (01:48 -0700)]
Merge changes Iea93a2e9,Ic5591d5a into tizen

* changes:
  Tizen: Add always on feature
  Tizen: Fix wifi enterprise to support SIM and AKA

10 years agoMerge "Tizen: Integrate telephony plugin" into tizen
Martin Xu [Thu, 4 Jul 2013 08:46:29 +0000 (01:46 -0700)]
Merge "Tizen: Integrate telephony plugin" into tizen

10 years agoTizen: Add always on feature 90/5490/1
Arron Wang [Sat, 27 Oct 2012 07:55:41 +0000 (15:55 +0800)]
Tizen: Add always on feature

run auto connection when default service is NULL
will not auto connect MMS cellular service

10 years agoTizen: Fix wifi enterprise to support SIM and AKA 89/5489/1
Arron Wang [Fri, 12 Oct 2012 02:10:28 +0000 (10:10 +0800)]
Tizen: Fix wifi enterprise to support SIM and AKA

Revise Wi-Fi enterprise to enable PEAP, TLS, TTLS
Fix wifi enterprise to support SIM and AKA

10 years agoTizen: Integrate telephony plugin 88/5488/1
Arron Wang [Wed, 10 Oct 2012 01:56:13 +0000 (09:56 +0800)]
Tizen: Integrate telephony plugin

10 years agoMerge "changelog: move NTP scripts and option to disable link local address" into...
Anas Nashif [Thu, 4 Jul 2013 03:51:02 +0000 (20:51 -0700)]
Merge "changelog: move NTP scripts and option to disable link local address" into tizen

10 years agoMerge "Tizen: Export network get ifname API for telephony plugin" into tizen
Martin Xu [Thu, 4 Jul 2013 00:49:25 +0000 (17:49 -0700)]
Merge "Tizen: Export network get ifname API for telephony plugin" into tizen

10 years agoMerge changes I3e078e46,I74aa0e84,I936ec03d,I2d63b07b,I9dabc5af,Ie151cda8,Ia5eded6f...
Martin Xu [Thu, 4 Jul 2013 00:44:47 +0000 (17:44 -0700)]
Merge changes I3e078e46,I74aa0e84,I936ec03d,I2d63b07b,I9dabc5af,Ie151cda8,Ia5eded6f,I0b571435 into tizen

* changes:
  Tizen: Export network proxy API for telephony plugin
  Fix Wi-Fi WEP OPEN and WEP SHARED
  Add safe checks to validate DNS buffer
  Tizen: Add refcount for cellular service connection
  Tizen: Fix reply pending bug
  Tizen: Add last known address in DHCP discovery request
  Tizen: Append extra wifi service property
  Tizen: Export more wifi info in ConnMan network API

10 years agochangelog: move NTP scripts and option to disable link local address 87/5387/1
Corentin Lecouvey [Tue, 2 Jul 2013 08:56:03 +0000 (10:56 +0200)]
changelog: move NTP scripts and option to disable link local address

10 years agopackaging: move NTP scripts to packaging directory 86/5386/1
Corentin Lecouvey [Tue, 2 Jul 2013 07:39:54 +0000 (09:39 +0200)]
packaging: move NTP scripts to packaging directory

10 years agoMerge "Tizen: Add option to disable link local address" into tizen accepted/tizen/20130701.201407 submit/tizen/20130701.094310 submit/tizen/20130701.105247
MartinXu [Mon, 1 Jul 2013 08:11:38 +0000 (01:11 -0700)]
Merge "Tizen: Add option to disable link local address" into tizen

10 years agoTizen: Export network get ifname API for telephony plugin 84/5084/1
Arron Wang [Wed, 10 Oct 2012 02:38:06 +0000 (10:38 +0800)]
Tizen: Export network get ifname API for telephony plugin

Telephony stack may not send the dev_name to telephony plugin
then we need this API to get the ifname

10 years agoTizen: Export network proxy API for telephony plugin 83/5083/1
Arron Wang [Tue, 9 Oct 2012 08:20:45 +0000 (16:20 +0800)]
Tizen: Export network proxy API for telephony plugin

Telephony plug-in requires manual PROXY setting function
Telephony stack provides proxy address (3G profile).

10 years agoFix Wi-Fi WEP OPEN and WEP SHARED 77/5077/1
Jaehyun Kim [Tue, 16 Apr 2013 08:43:48 +0000 (17:43 +0900)]
Fix Wi-Fi WEP OPEN and WEP SHARED

Unable to connect with the WEP(open key) mode AP again with correct password if connecting the AP with wrong password before.
Fix this issue.

10 years agoAdd safe checks to validate DNS buffer 75/5075/1
Jaehyun Kim [Mon, 21 Jan 2013 15:27:59 +0000 (00:27 +0900)]
Add safe checks to validate DNS buffer

Invalid buffer details while parsing DNS rsp data

10 years agoTizen: Add refcount for cellular service connection 74/5074/1
Arron Wang [Thu, 25 Oct 2012 09:17:04 +0000 (17:17 +0800)]
Tizen: Add refcount for cellular service connection

TIZEN implements system global connection management.
It's only for PDP (cellular) bearer. Wi-Fi is managed
by ConnMan automatically. Reference count can help to
manage open/close connection requests by each application.

10 years agoTizen: Fix reply pending bug 73/5073/1
Arron Wang [Mon, 15 Oct 2012 02:56:00 +0000 (10:56 +0800)]
Tizen: Fix reply pending bug

10 years agoTizen: Add last known address in DHCP discovery request 72/5072/1
Arron Wang [Fri, 12 Oct 2012 06:29:29 +0000 (14:29 +0800)]
Tizen: Add last known address in DHCP discovery request

10 years agoTizen: Append extra wifi service property 71/5071/1
Arron Wang [Mon, 24 Sep 2012 06:42:02 +0000 (14:42 +0800)]
Tizen: Append extra wifi service property

Append wifi property bssid, maxrate, frequency, encryptionmode to wifi
service

10 years agoTizen: Export more wifi info in ConnMan network API 42/5042/1
Arron Wang [Mon, 24 Sep 2012 06:18:07 +0000 (14:18 +0800)]
Tizen: Export more wifi info in ConnMan network API

Network client requires additional wifi specific info

Export the BSSID property
Export the MaxRate property
Export the detailed info for encryption mode(mixed,aes,tkip,wep,none)

Export the connman_network get/set method for bssid, maxrate,
encryption_mode property

10 years agochangelog: ConnMan NTP support 82/4382/1
Corentin Lecouvey [Fri, 28 Jun 2013 07:34:10 +0000 (09:34 +0200)]
changelog: ConnMan NTP support

10 years agoAdd systemd service to manage ConnMan NTP feature (#TZPC-1974) 78/4278/3
Corentin Lecouvey [Wed, 26 Jun 2013 13:52:03 +0000 (15:52 +0200)]
Add systemd service to manage ConnMan NTP feature (#TZPC-1974)

Both scripts were provided by Manolova, Plamena.

10 years agoTizen: Add option to disable link local address 65/4365/1
arron.wang [Fri, 20 Jul 2012 08:03:05 +0000 (16:03 +0800)]
Tizen: Add option to disable link local address

When dhcp is failed, the user may can't auto-generate IP address,
IPV4 link local address may puzzle user when we are connected but
failed to surf the Internet

10 years agoUpdate to 1.15 accepted/tizen/20130614.152842 submit/tizen/20130614.081036
Anas Nashif [Fri, 14 Jun 2013 08:10:33 +0000 (04:10 -0400)]
Update to 1.15

10 years agoadd docs package submit/tizen/20130614.081002
Anas Nashif [Fri, 14 Jun 2013 08:09:42 +0000 (04:09 -0400)]
add docs package

10 years agoadd .gbs.conf
Anas Nashif [Fri, 14 Jun 2013 08:06:49 +0000 (04:06 -0400)]
add .gbs.conf

10 years agoSet license using %license
Anas Nashif [Sat, 11 May 2013 05:37:24 +0000 (01:37 -0400)]
Set license using %license

10 years agoadd openconnect plugin
Anas Nashif [Mon, 11 Mar 2013 09:26:18 +0000 (02:26 -0700)]
add openconnect plugin

10 years agoadd openconnect support
Anas Nashif [Mon, 11 Mar 2013 08:44:36 +0000 (01:44 -0700)]
add openconnect support

10 years agoUpdate to 1.11
Anas Nashif [Thu, 14 Feb 2013 14:36:41 +0000 (06:36 -0800)]
Update to 1.11

10 years agoUpdate to 1.11
Anas Nashif [Thu, 14 Feb 2013 14:35:14 +0000 (06:35 -0800)]
Update to 1.11

10 years agoFixed rpmlint warnings/errors
Anas Nashif [Wed, 6 Feb 2013 22:32:40 +0000 (14:32 -0800)]
Fixed rpmlint warnings/errors

10 years agofixed rpmlint
Anas Nashif [Wed, 6 Feb 2013 22:14:23 +0000 (14:14 -0800)]
fixed rpmlint

10 years agoenable client
Anas Nashif [Thu, 20 Dec 2012 00:28:20 +0000 (16:28 -0800)]
enable client

10 years agoenable client
Anas Nashif [Thu, 20 Dec 2012 00:28:07 +0000 (16:28 -0800)]
enable client

10 years agoenable client
Anas Nashif [Thu, 20 Dec 2012 00:27:56 +0000 (16:27 -0800)]
enable client

10 years agorequire python-gobject
Anas Nashif [Wed, 19 Dec 2012 19:11:49 +0000 (11:11 -0800)]
require python-gobject

10 years agobootstrap correctly
Anas Nashif [Tue, 30 Oct 2012 23:32:43 +0000 (16:32 -0700)]
bootstrap correctly

10 years agorun autogen
Anas Nashif [Tue, 30 Oct 2012 23:06:47 +0000 (16:06 -0700)]
run autogen

10 years agoadd packaging
Anas Nashif [Tue, 30 Oct 2012 22:44:13 +0000 (15:44 -0700)]
add packaging

10 years agoRelease 1.15 1.15 upstream/1.15
Marcel Holtmann [Fri, 31 May 2013 01:15:29 +0000 (10:15 +0900)]
Release 1.15

10 years agoconfig: Remove code implementing Protected config file setting
Patrik Flykt [Wed, 29 May 2013 13:21:16 +0000 (16:21 +0300)]
config: Remove code implementing Protected config file setting

The code was relevant only for Manager.ProvisionService method call
which was removed a long time ago.

10 years agodoc: Remove Protected description
Patrik Flykt [Wed, 29 May 2013 13:21:15 +0000 (16:21 +0300)]
doc: Remove Protected description

The Protected setting was relevant only for Manager.ProvisionService
method call which was removed a long time ago.

10 years agovpn-config: Log a warning if the provider ident already exists
Patrik Flykt [Wed, 29 May 2013 13:21:14 +0000 (16:21 +0300)]
vpn-config: Log a warning if the provider ident already exists

Also set the returned value appropriately when removing or adding
configuration files.

10 years agovpn-config: Remove obsolete protected code
Patrik Flykt [Wed, 29 May 2013 13:21:13 +0000 (16:21 +0300)]
vpn-config: Remove obsolete protected code

For VPN connections created via configuration files the immutable flag
is set and it ensures no modifications are allowed. The protected
feature implementation was a left-over from service configuration code.

Removing the code fixes a bug where only VPN entries of different types
can be provisioned in the same provisioning file.

10 years agotest-ippool: Shortcut exhausting allocation test
Daniel Wagner [Wed, 29 May 2013 08:00:30 +0000 (10:00 +0200)]
test-ippool: Shortcut exhausting allocation test

Instead really trying to allocate all possible 69888 blocks, let's
reserve the first two IP pools and then we only need to allocate
255 blocks. That should bring down the runtime considerable.

10 years agoservice: Update Domains property when Domains.Configuration changes
Patrik Flykt [Wed, 29 May 2013 06:25:58 +0000 (09:25 +0300)]
service: Update Domains property when Domains.Configuration changes

Domains property was not updated when Domains.Configuration was changed.
If Domains.Configuration is for example set to empty when using DHCP,
the Domains property is to be updated with the value configured via DHCP.

Fixes BMC#26010

10 years agoservice: Check service type before fetching interface index
Patrik Flykt [Wed, 29 May 2013 06:52:49 +0000 (09:52 +0300)]
service: Check service type before fetching interface index

For VPNs, the index is available from provider, for other services from
network.

Fixes BMC#26009

10 years agoipconfig: Use system set addresses for IPv4 property in 'manual' mode
Patrik Flykt [Fri, 24 May 2013 11:38:01 +0000 (14:38 +0300)]
ipconfig: Use system set addresses for IPv4 property in 'manual' mode

Addresses and gateway for the service IPv4 property being used in the
system are available from ipconfig->system when the property is set to
'manual'.

10 years agoclient: Accept correctly spelled option name
Patrik Flykt [Fri, 24 May 2013 11:58:07 +0000 (14:58 +0300)]
client: Accept correctly spelled option name

Accept also correctly spelled version of 'preferred' option.

10 years agoclient: Fix minor issues in D-Bus path name checking
Patrik Flykt [Wed, 22 May 2013 09:21:36 +0000 (12:21 +0300)]
client: Fix minor issues in D-Bus path name checking

10 years agoclient: Fix index for IPv6 configuration option
Patrik Flykt [Wed, 22 May 2013 09:21:35 +0000 (12:21 +0300)]
client: Fix index for IPv6 configuration option

10 years agoclient: Reserve space for trailing NULL in the array
Patrik Flykt [Wed, 22 May 2013 09:21:34 +0000 (12:21 +0300)]
client: Reserve space for trailing NULL in the array

10 years agosession: Fix service2bearer to return a correct match all rule
Daniel Wagner [Tue, 21 May 2013 11:45:59 +0000 (13:45 +0200)]
session: Fix service2bearer to return a correct match all rule

10 years agodoc: Remove documentation for Technology IdleTimeout property
Patrik Flykt [Tue, 21 May 2013 18:14:03 +0000 (21:14 +0300)]
doc: Remove documentation for Technology IdleTimeout property

IdleTimeout hasn't so far been implemented in any release and will be
handled by other means if needed.

10 years agoservice: Restart timeserver polling only for the default service
Patrik Flykt [Mon, 20 May 2013 12:37:23 +0000 (15:37 +0300)]
service: Restart timeserver polling only for the default service

When timeservers are set, recreate timeserver polling list only if the
service is the the default one.

10 years agodoc: Document the deprecated RemoveProvider method call
Patrik Flykt [Mon, 20 May 2013 09:56:29 +0000 (12:56 +0300)]
doc: Document the deprecated RemoveProvider method call

Fixes BMC#25958

10 years agotest: Add test script for Clock API
Patrik Flykt [Fri, 17 May 2013 11:08:57 +0000 (14:08 +0300)]
test: Add test script for Clock API

10 years agoclock: Implement load and save for Clock API properties
Patrik Flykt [Fri, 17 May 2013 10:20:45 +0000 (13:20 +0300)]
clock: Implement load and save for Clock API properties

Load and save TimeUpdates and TimezoneUpdates Clock API properties.
Clock API Timeservers property is already handled by the timeserver
code.

Fixes BMC#25988

10 years agotimeserver: Check the time update method
Patrik Flykt [Fri, 17 May 2013 07:40:30 +0000 (10:40 +0300)]
timeserver: Check the time update method

If the time update method is manual, no NTP time servers are returned.

10 years agoclock: Export information about time update method
Patrik Flykt [Fri, 17 May 2013 07:37:54 +0000 (10:37 +0300)]
clock: Export information about time update method

10 years agoTODO: Add Clock API support for connmanctl
Patrik Flykt [Fri, 17 May 2013 12:02:45 +0000 (15:02 +0300)]
TODO: Add Clock API support for connmanctl

10 years agowifi: Scan all stored hidden networks
Tomasz Bursztyka [Fri, 17 May 2013 08:26:57 +0000 (11:26 +0300)]
wifi: Scan all stored hidden networks

Previously the number of scanned hidden WiFi networks was
restricted by the fast scan limit of the WiFi driver. This
patch takes into account the driver fast scan limit and will
scan for all configured hidden WiFi networks.

Thanks to Jukka for testing this.

10 years agoREADME: Update information about wpa_supplicant configuration
Tomasz Bursztyka [Fri, 17 May 2013 11:45:00 +0000 (14:45 +0300)]
README: Update information about wpa_supplicant configuration

10 years agoTODO: DHCPv6 DECLINE message support
Jukka Rissanen [Thu, 16 May 2013 09:22:24 +0000 (12:22 +0300)]
TODO: DHCPv6 DECLINE message support

10 years agogdhcp: Handle dhcp_client->type == G_DHCP_IPV4LL
Justin Maggard [Mon, 13 May 2013 20:13:35 +0000 (13:13 -0700)]
gdhcp: Handle dhcp_client->type == G_DHCP_IPV4LL

Clean up several places where dhcp_client->type == G_DHCP_IPV4LL is unhandled.

10 years agoshared: Add helper for looking up debugfs mount point
Marcel Holtmann [Sun, 12 May 2013 07:17:17 +0000 (09:17 +0200)]
shared: Add helper for looking up debugfs mount point

10 years agogdbus: Fix using NULL DBusPendingCall when disconnected from D-Bus
Anderson Lizardo [Sat, 4 May 2013 19:39:43 +0000 (15:39 -0400)]
gdbus: Fix using NULL DBusPendingCall when disconnected from D-Bus

From D-Bus documentation for dbus_connection_send_with_reply():

"Warning: if the connection is disconnected or you try to send Unix file
descriptors on a connection that does not support them, the
DBusPendingCall will be set to NULL, so be careful with this."

Fix these errors when killing D-Bus daemon with the client still
running:

process 5712: arguments to dbus_pending_call_set_notify() were
incorrect, assertion "pending != NULL" failed in file
../../dbus/dbus-pending-call.c line 596.
This is normally a bug in some application using the D-Bus library.
process 5712: arguments to dbus_pending_call_unref() were incorrect,
assertion "pending != NULL" failed in file
../../dbus/dbus-pending-call.c line 572.
This is normally a bug in some application using the D-Bus library.

10 years agogdbus: Fix segfault when D-Bus daemon exits
Anderson Lizardo [Sat, 4 May 2013 19:39:42 +0000 (15:39 -0400)]
gdbus: Fix segfault when D-Bus daemon exits

Fix this crash if D-Bus exits while the client is still connected to it:

==5570== Invalid read of size 1
==5570==    at 0x402D28E: strcmp (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==5570==    by 0x4070E22: g_str_equal (ghash.c:1704)
==5570==    by 0x8055F61: message_filter (client.c:1123)
==5570==    by 0x4141500: dbus_connection_dispatch (in
/lib/i386-linux-gnu/libdbus-1.so.3.5.8)
==5570==    by 0x80506F7: message_dispatch (mainloop.c:76)
==5570==    by 0x4081A7E: g_timeout_dispatch (gmain.c:3882)
==5570==    by 0x4080D85: g_main_context_dispatch (gmain.c:2539)
==5570==    by 0x4081124: g_main_context_iterate.isra.21 (gmain.c:3146)
==5570==    by 0x408156A: g_main_loop_run (gmain.c:3340)
==5570==    by 0x41BF4D2: (below main) (libc-start.c:226)
==5570==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==5570==
==5570==

10 years agoclient: Do service name syntax check when a name is specified
Patrik Flykt [Wed, 8 May 2013 06:59:23 +0000 (09:59 +0300)]
client: Do service name syntax check when a name is specified

10 years agoFix gcc compiler warning with -Wformat-security.
Justin Maggard [Tue, 7 May 2013 22:34:42 +0000 (15:34 -0700)]
Fix gcc compiler warning with -Wformat-security.

Cosmetic fix.

10 years agoRelease 1.14 1.14
Marcel Holtmann [Tue, 7 May 2013 08:21:39 +0000 (01:21 -0700)]
Release 1.14