platform/upstream/connman.git
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.

11 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

11 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

11 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

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

11 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

11 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

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

11 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

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

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

11 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

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

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

11 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

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

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

11 years agoTODO: Update connmanctl entry
Patrik Flykt [Mon, 6 May 2013 13:02:52 +0000 (16:02 +0300)]
TODO: Update connmanctl entry

Agent mode is mostly done, update the entry with Session mode and VPN
Agent support.

11 years agoclient: Check that strings passed to D-Bus to contain valid chars
Jukka Rissanen [Mon, 6 May 2013 12:18:27 +0000 (15:18 +0300)]
client: Check that strings passed to D-Bus to contain valid chars

D-Bus aborts if we feed invalid characters to it. So do some sanity
check before that.

11 years agoclient: Newline missing after printing scan error message
Jukka Rissanen [Mon, 6 May 2013 11:38:00 +0000 (14:38 +0300)]
client: Newline missing after printing scan error message

11 years agodhcpv6: Implement CONFIRM message support
Jukka Rissanen [Mon, 6 May 2013 10:06:34 +0000 (13:06 +0300)]
dhcpv6: Implement CONFIRM message support

See RFC 3315 Chapter 18.1.2. Creation and Transmission of Confirm
Messages for details

11 years agodhcpv6: Remember the last used IPv6 address
Jukka Rissanen [Mon, 6 May 2013 10:06:33 +0000 (13:06 +0300)]
dhcpv6: Remember the last used IPv6 address

This is required so that we can decide whether to send CONFIRM
or SOLICITATION message to server.

11 years agoipconfig: Save last used DHCPv6 address
Jukka Rissanen [Mon, 6 May 2013 10:06:32 +0000 (13:06 +0300)]
ipconfig: Save last used DHCPv6 address

This is needed when implementing CONFIRM message decision logic.

11 years agodhcpv6: Added initial MRD support
Jukka Rissanen [Mon, 6 May 2013 10:06:31 +0000 (13:06 +0300)]
dhcpv6: Added initial MRD support

MRD (Maximum Retransmission Duration) is the total duration of
of retransmission of the message. This will be used when sending
Confirm message.

11 years agogdhcp: Initialize message status code early
Jukka Rissanen [Mon, 6 May 2013 10:06:30 +0000 (13:06 +0300)]
gdhcp: Initialize message status code early

The message status code was initialized too late i.e., after
it was set so we lost the status code. This problem was seen
with wide-dhcpv6 server.

11 years agoclient: Fix for handling an unset callback
Patrik Flykt [Mon, 6 May 2013 10:28:32 +0000 (13:28 +0300)]
client: Fix for handling an unset callback

If there is no callback set, don't try to call readline function.

11 years agoclient: Fixes for handling Agent messages
Patrik Flykt [Mon, 6 May 2013 10:24:00 +0000 (13:24 +0300)]
client: Fixes for handling Agent messages

Properly handle agent confirmation input, unset the prompt when RequestInput
processing ends and set the passphrase only if it contains some text.

11 years agoman: Update connman.conf.5 manual page to use TetheringTechnologies
Patrik Flykt [Fri, 3 May 2013 14:15:11 +0000 (17:15 +0300)]
man: Update connman.conf.5 manual page to use TetheringTechnologies

11 years agomain: Rename AllowedTetheringTechnologies to TetheringTechnologies
Patrik Flykt [Mon, 29 Apr 2013 06:21:45 +0000 (09:21 +0300)]
main: Rename AllowedTetheringTechnologies to TetheringTechnologies

11 years agogdbus: Fix calling GetManagedObjects twice in a row
Luiz Augusto von Dentz [Thu, 18 Apr 2013 20:34:03 +0000 (23:34 +0300)]
gdbus: Fix calling GetManagedObjects twice in a row

Calling g_dbus_client_new followed by g_dbus_client_set_proxy_handlers
cause two calls to GetManagedObjects in a row as GetNameOwner reply is
asyncronously it triggers the second call because the handlers have
been set by g_dbus_client_set_proxy_handlers.

11 years agoAUTHORS: Mention Yann's contributions
Patrik Flykt [Fri, 3 May 2013 14:22:11 +0000 (17:22 +0300)]
AUTHORS: Mention Yann's contributions

11 years agoclient: Initial RequestInput handling support
Patrik Flykt [Fri, 3 May 2013 11:35:36 +0000 (14:35 +0300)]
client: Initial RequestInput handling support

When receiving a RequestInput Agent API D-Bus call, ask the input in a somewhat
logical order from the user with user names first and passwords next. If a
passphrase is entered, ignore any WPS pin code requests. Prepare for passphrase
length checking by going through the RequestInput message to get the 'Type'
argument.

11 years agoclient: Add ReportError handling
Patrik Flykt [Mon, 29 Apr 2013 11:52:42 +0000 (14:52 +0300)]
client: Add ReportError handling

Report error and wait for the user to reply with yes/no.

11 years agoclient: Add RequestBrowser handling
Patrik Flykt [Mon, 29 Apr 2013 10:06:57 +0000 (13:06 +0300)]
client: Add RequestBrowser handling

Print out the RequestBrowser URL and wait for user input to proced. Add a
helper function for getting a yes/no confirmation from the user and another
one for getting the last part of the service object path.

11 years agoclient: Implement Agent Release and Cancel method calls
Patrik Flykt [Thu, 25 Apr 2013 13:15:45 +0000 (16:15 +0300)]
client: Implement Agent Release and Cancel method calls

Unref the saved Agent D-Bus message on Release and Cancel. In response to the
Release method call unnregister Agent interface and quit if in non-interactive
mode.