platform/core/appfw/rpc-port.git
6 years agoRemove capi-rpc-port pkgconfig and so files 61/173061/6
Inkyun Kil [Mon, 19 Mar 2018 09:49:58 +0000 (18:49 +0900)]
Remove capi-rpc-port pkgconfig and so files

Change-Id: Icd5ae094abad4b42ba518c654be2a32fa765fee2
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoRelease version 1.0.4 35/174735/1 accepted/tizen/unified/20180405.064955 submit/tizen/20180404.015018
Junghoon Park [Wed, 4 Apr 2018 01:32:34 +0000 (10:32 +0900)]
Release version 1.0.4

 Changes:
- Fix the static analyzer issue

Change-Id: I085271503cc180be7e13bef94244edf848cee853
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoFix the static analyzer issue 23/174723/4
Junghoon Park [Wed, 4 Apr 2018 00:38:44 +0000 (09:38 +0900)]
Fix the static analyzer issue

- Fix the issue about FD double-free

Change-Id: Ie2d968a9ca9eaf2e620b8a1fb46c2d5d3c6cfb89
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRelease version 1.0.3 34/174634/1 submit/tizen/20180403.094836
Junghoon Park [Tue, 3 Apr 2018 08:43:55 +0000 (17:43 +0900)]
Release version 1.0.3

 Changes:
- Fix static analyzer issues
- Fix doc and return code
- Fix retry sleep time
- Fix error codes

Change-Id: Ibe3903d9cdc0bd55a30064d83a68e9ffd38d5d01
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoFix static analyzer issues 95/174595/3
Junghoon Park [Tue, 3 Apr 2018 06:32:24 +0000 (15:32 +0900)]
Fix static analyzer issues

Change-Id: Ibbe6afa15c5c48ec374f01305f5ebe4b3664c7b3
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoFix doc and return code 81/173981/1
Inkyun Kil [Tue, 27 Mar 2018 09:16:43 +0000 (18:16 +0900)]
Fix doc and return code

- Add docs to explain return value in details
- Fix wrong return code

Change-Id: I070992dd8a868b1ccc2dd83ee7dd8048dc083b3a
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoFix retry sleep time 69/173269/3
Inkyun Kil [Tue, 20 Mar 2018 06:40:27 +0000 (15:40 +0900)]
Fix retry sleep time

Change-Id: I40a4dc15e6f2a7250d981244673b5951bf43280e
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoFix error codes 29/173229/2
Inkyun Kil [Tue, 20 Mar 2018 05:59:00 +0000 (14:59 +0900)]
Fix error codes

Change-Id: I931d7969bc4fc197b2f573069653e0bc68923b04
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoRelease version 1.0.2 22/173222/1 accepted/tizen/unified/20180321.134826 submit/tizen/20180320.052211
Inkyun Kil [Tue, 20 Mar 2018 05:15:29 +0000 (14:15 +0900)]
Release version 1.0.2

Changes:
 - Fix wrong doc

Change-Id: I59affa30985aac9725770e2c9a408444a412f81e
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoFix wrong doc 83/172783/2
Inkyun Kil [Fri, 16 Mar 2018 01:59:42 +0000 (10:59 +0900)]
Fix wrong doc

Change-Id: I064e07db97905183d114c044295652274e160283
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoRelease version 1.0.1 13/172613/1 submit/tizen/20180315.011951
Junghoon Park [Thu, 15 Mar 2018 00:32:45 +0000 (09:32 +0900)]
Release version 1.0.1

changes
 - Add doxygen for header file

Change-Id: I54172c9facf15f2bfb0d1b2865b3a24e66d01975
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdd doxygen for header file 23/171723/9
Inkyun Kil [Wed, 7 Mar 2018 02:03:54 +0000 (11:03 +0900)]
Add doxygen for header file

Change-Id: Ie0b683f3e96ba92b986483f5cc57d72a51857ce0
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoRelease version 1.0.0 12/172212/1 accepted/tizen/unified/20180314.141346 submit/tizen/20180312.235445
Inkyun Kil [Mon, 12 Mar 2018 23:52:42 +0000 (08:52 +0900)]
Release version 1.0.0

Change-Id: Ibbdea0d55c981fb7c69b6bd5fc8919afa153f272
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoAdd new AccessControl and Remove sender_appid from dbus 50/170650/8 submit/tizen/20180312.233038
Inkyun Kil [Wed, 21 Feb 2018 07:11:44 +0000 (16:11 +0900)]
Add new AccessControl and Remove sender_appid from dbus

- Add new AccessControl for trusted app
- Remove sender_appid that was passed through dbus

Change-Id: I648bdbfa8bc97a8c363ffa994ebe5d71a10c6288
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoFix stub callback types 18/170718/2
Hwankyu Jhun [Wed, 21 Feb 2018 23:43:15 +0000 (08:43 +0900)]
Fix stub callback types

To handle each request, a unique ID is needed.

Change-Id: I9d9a9928795f15f8560569cffa93c434470f8fba
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoMake some APIs thread-safe 38/168738/1
Junghoon Park [Tue, 30 Jan 2018 11:00:42 +0000 (20:00 +0900)]
Make some APIs thread-safe

Change-Id: I477f16479fcccb18929e687796a83781b84495eb
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdd a dependency 97/168697/1
Hwankyu Jhun [Tue, 30 Jan 2018 07:20:38 +0000 (16:20 +0900)]
Add a dependency

Requires:
 - amd-mod-rpc-port

Change-Id: If8080d2d2d9bea4f878b5092117668f9de738064
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoWatch rpc port and handle stub app lifecycle 75/167275/11
Hwankyu Jhun [Tue, 16 Jan 2018 14:13:29 +0000 (23:13 +0900)]
Watch rpc port and handle stub app lifecycle

Before sending a connection request, a proxy watches a dbus interface
for registering it.
When a stub is getting disconnected event, the stub notifies it to
the amd for background management feature.

Change-Id: I50544ec188bf5f8e2907f35dd926aa944373ee1d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoModify rpc-port APIs to be thread-safe 96/168296/5
Junghoon Park [Thu, 25 Jan 2018 11:18:00 +0000 (20:18 +0900)]
Modify rpc-port APIs to be thread-safe

Change-Id: I3f27851e09491b3b2c7638c3b9dcf6419f57684f
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoDetect EOF to call disconnected callback 55/167855/2
Junghoon Park [Mon, 22 Jan 2018 10:55:41 +0000 (19:55 +0900)]
Detect EOF to call disconnected callback

To detect disconnected socket by the other side, recv function with flag
MSG_PEEK was used

Change-Id: I02705a61120d55b11023711c84b4c56de080af93
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdd API to support async-call from stub 38/166638/2
Junghoon Park [Thu, 11 Jan 2018 08:26:13 +0000 (17:26 +0900)]
Add API to support async-call from stub

Change-Id: I1375d638d687562544644394f6bf52a7b75a1c31
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdd AccessController Class 56/166256/5
Inkyun Kil [Tue, 9 Jan 2018 04:21:39 +0000 (13:21 +0900)]
Add AccessController Class

Change-Id: I787024d9195cf59ec4bd613f4815d004d3045e59
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoChange return type to handle exceptions 66/163566/1
Junghoon Park [Tue, 12 Dec 2017 05:47:24 +0000 (14:47 +0900)]
Change return type to handle exceptions

Change-Id: Ibb2324bcc52f7215000c731cf7f17d00615e064e
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoConvert d-bus interface name to hexa string 80/163380/3
Junghoon Park [Mon, 11 Dec 2017 02:39:34 +0000 (11:39 +0900)]
Convert d-bus interface name to hexa string

 - Special letters such as '-' and '+' are not allowed as d-bus interface name

Change-Id: I5c74bdef4321e83ed8e13410fe4b9a19b8c69d1e
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoImplement rpc-port APIs 57/162557/11
Junghoon Park [Mon, 4 Dec 2017 07:59:41 +0000 (16:59 +0900)]
Implement rpc-port APIs

Change-Id: I20443cce9b0396bd9fdcd46f99f24f1bf394a679
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoImplement internal APIs for rpc-port 20/162120/14
Junghoon Park [Wed, 29 Nov 2017 07:20:34 +0000 (16:20 +0900)]
Implement internal APIs for rpc-port

Change-Id: I1cd72acc909afb06ecb908622161b1252e6933f9
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoChange return-type of method ReadString to improve performance 62/162062/1
Junghoon Park [Wed, 29 Nov 2017 02:03:35 +0000 (11:03 +0900)]
Change return-type of method ReadString to improve performance

Change-Id: I34557a85d7458b47873e725fe533b36043239dc6
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdd unit tests 26/161926/7
Junghoon Park [Tue, 28 Nov 2017 07:50:46 +0000 (16:50 +0900)]
Add unit tests

Change-Id: I54bdfca90c792f69471f6644adf50e9961ae6ab9
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoImplement APIs for rpc-port-parcel 90/161890/2
Junghoon Park [Tue, 28 Nov 2017 05:52:23 +0000 (14:52 +0900)]
Implement APIs for rpc-port-parcel

Change-Id: I325777c0f2f14f861abde2a3ab4292bc68081add
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoImplement internal class for ipc-port-parcel APIs 57/161857/2
Junghoon Park [Tue, 28 Nov 2017 02:42:44 +0000 (11:42 +0900)]
Implement internal class for ipc-port-parcel APIs

Change-Id: Iffff2ac8d991106d3a81cc8902a24aa07ba9d6ab
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdd interfaces for rpc-port and rpc-port-parcel APIs 03/161803/1
Junghoon Park [Mon, 27 Nov 2017 11:30:27 +0000 (20:30 +0900)]
Add interfaces for rpc-port and rpc-port-parcel APIs

Change-Id: If5066f2cc92b6d472553204222452c4eea6bf047
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoInitial empty repository master
Tizen Infrastructure [Fri, 3 Nov 2017 09:49:19 +0000 (09:49 +0000)]
Initial empty repository