platform/core/appfw/aul-1.git
6 years agoAdd new definition for complication 65/175865/2
jusung son [Fri, 13 Apr 2018 04:34:30 +0000 (13:34 +0900)]
Add new definition for complication

Add :
 - AUL_K_COMPLICATION_MODE

Related chage:
 - https://review.tizen.org/gerrit/#/c/175861/

Change-Id: I76da7a572a6bce1749fa1079558e8370840a070f
Signed-off-by: jusung son <jusung07.son@samsung.com>
6 years agoRevert "Add new definitions for checking indirect launch request" 59/175259/1
HwanKyu Jhun [Tue, 10 Apr 2018 01:21:04 +0000 (01:21 +0000)]
Revert "Add new definitions for checking indirect launch request"

This reverts commit 6ba72dbc29445783cbc3150dd2c54441839e69b0.

Change-Id: I7c84a3cb9351c4046060cb6f9b45196ced786bee

6 years agoAdd new definitions for checking indirect launch request 08/175208/1
Hwankyu Jhun [Mon, 9 Apr 2018 08:15:38 +0000 (17:15 +0900)]
Add new definitions for checking indirect launch request

Adds:
 - AUL_K_REQUEST_TYPE
 - AUL_K_ORG_CALLER_APPID
 - AUL_K_ORG_CALLER_PKGID

Change-Id: Iabff7846eaae3a3983587fd6074b307b8fcc3b4f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoAdd complication launch with extra API 24/174824/2
hyunho [Wed, 4 Apr 2018 10:14:44 +0000 (19:14 +0900)]
Add complication launch with extra API

- aul_complication_launch_with_extra_data

Change-Id: I2f647e13d5ed1bf3ab72b21e46af9926e0ce12d8
Signed-off-by: hyunho <hhstark.kang@samsung.com>
6 years agoRelease version 0.7.30 53/173053/1 sandbox/leemgs/mytest accepted/tizen/unified/20180320.065745 submit/tizen/20180319.091936
jusung son [Mon, 19 Mar 2018 09:12:52 +0000 (18:12 +0900)]
Release version 0.7.30

Changes:
  Add new APIs for complication

Change-Id: Id698e25d875be12fd30891f9f44f3190f43c149e
Signed-off-by: jusung son <jusung07.son@samsung.com>
6 years agoAdd new APIs for complication 13/173013/2
jusung son [Mon, 19 Mar 2018 07:48:50 +0000 (16:48 +0900)]
Add new APIs for complication

Change-Id: If913893cd7607424845e85570f08c1b9a0a78bd3
Signed-off-by: jusung son <jusung07.son@samsung.com>
6 years agoRelease version 0.7.29 71/170171/1 accepted/tizen/unified/20180220.130000 accepted/tizen/unified/20180221.061119 submit/tizen/20180214.024840 submit/tizen/20180220.064726
Junghoon Park [Wed, 14 Feb 2018 02:44:47 +0000 (11:44 +0900)]
Release version 0.7.29

Changes:
 Fix aul_app_group_lower API

Change-Id: I46b5fac42edb04c06ff36145659efb7735f2fd45
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoFix aul_app_group_lower API 42/170142/1
Hwankyu Jhun [Tue, 13 Feb 2018 16:00:16 +0000 (01:00 +0900)]
Fix aul_app_group_lower API

If the return value is an error, the exit flag should not be set.

Change-Id: Ia3565acac58ad488b67eb62b8ee9e405704a5785
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.7.28 11/170111/1 accepted/tizen/unified/20180214.060212 submit/tizen/20180213.102132
Hwankyu Jhun [Tue, 13 Feb 2018 09:52:22 +0000 (18:52 +0900)]
Release version 0.7.28

Changes:
 - Fix aul_rpc_port_prepare_stub API

Change-Id: I39ccb13cf133d2e0b9cfd6ead27c79435de080fa
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFix aul_rpc_port_prepare_stub API 28/169928/1
Hwankyu Jhun [Mon, 12 Feb 2018 06:55:43 +0000 (15:55 +0900)]
Fix aul_rpc_port_prepare_stub API

This change is for getting a result.
If a caller process doesn't have permissions to prepare a stub,
the caller gets an error from the amd.

Change-Id: I7109cabfdbff7760e66b746a2b2b1373246045c1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.7.27 04/169004/1 accepted/tizen/unified/20180205.060409 submit/tizen/20180202.023349
Hwankyu Jhun [Fri, 2 Feb 2018 00:39:22 +0000 (09:39 +0900)]
Release version 0.7.27

Changes:
 - Add new APIs for RPC-Port
 - Make the explicit linkage

Change-Id: I3d684d3d45b36c3709fa641c73a35ee8bf6c10a8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoMake the explicit linkage 06/168706/1
Hwankyu Jhun [Tue, 30 Jan 2018 07:58:19 +0000 (16:58 +0900)]
Make the explicit linkage

Change-Id: I79e089b99a5a0c677780831ef2d6a1e5f771f963
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoAdd new APIs for RPC-Port 28/166628/12
Hwankyu Jhun [Thu, 11 Jan 2018 07:45:15 +0000 (16:45 +0900)]
Add new APIs for RPC-Port

Adds new APIs:
 - aul_rpc_port_prepare_stub
 - aul_rpc_port_create_socket_pair
 - aul_rpc_port_notify_rpc_finished

Change-Id: I1284c2bda813f9b722d07724661a75e0539e7aaa
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.7.26 91/168291/1 accepted/tizen/unified/20180126.042859 submit/tizen/20180125.122523
Hwankyu Jhun [Thu, 25 Jan 2018 11:00:53 +0000 (20:00 +0900)]
Release version 0.7.26

Changes:
 - Add a new definition

Change-Id: I4882175403c40aeb52a8b5066eb2e3403c4e492e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoAdd a new definition 34/168134/1
Hwankyu Jhun [Wed, 24 Jan 2018 08:47:52 +0000 (17:47 +0900)]
Add a new definition

Adds:
 - AUL_K_IS_INSTALLED

Change-Id: I5f73dedc53d59edcc698a2e2f949e3d130245d9e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.7.25 90/166990/1 accepted/tizen/unified/20180118.071114 submit/tizen/20180115.022321
Semun Lee [Mon, 15 Jan 2018 02:16:52 +0000 (11:16 +0900)]
Release version 0.7.25

Changes:
 - Add checking if the query is valid for app_info_db

Change-Id: I1a9d8e863b1b00a3a70de2390c190cf00680738c
Signed-off-by: Semun Lee <semun.lee@samsung.com>
6 years agoAdd checking if the query is valid for app_info_db 85/166985/1
Semun Lee [Sun, 14 Jan 2018 23:56:42 +0000 (08:56 +0900)]
Add checking if the query is valid for app_info_db

Change-Id: I368fe9cbdcf98c34a9d490c9c20295ae07da7faa
Signed-off-by: Semun Lee <semun.lee@samsung.com>
6 years agoRelease version 0.7.24 15/166215/1 accepted/tizen/4.0/unified/20180111.051119 accepted/tizen/unified/20180109.172810 submit/tizen/20180109.015627 submit/tizen_4.0/20180109.015821
Hwankyu Jhun [Tue, 9 Jan 2018 01:54:36 +0000 (10:54 +0900)]
Release version 0.7.24

Changes:
 - Adjust error logs

Change-Id: Ic106befc96dac2654106b86561c110e5c8c1f781
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoAdjust error logs 10/166210/1
Hwankyu Jhun [Tue, 9 Jan 2018 01:46:49 +0000 (10:46 +0900)]
Adjust error logs

Change-Id: I4a3efd8a4cb54496b88eac7558bb9ba81fd0f9a4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.7.23 09/166109/1 accepted/tizen/4.0/unified/20180111.051040 submit/tizen/20180108.035017 submit/tizen_4.0/20180108.035244
Junghoon Park [Mon, 8 Jan 2018 02:48:16 +0000 (11:48 +0900)]
Release version 0.7.23

 Changes:
- Make db related functions to be thread-safe

Change-Id: I4be0b59a946aa2161366ece0a4c0949c70dc7366
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoMake db related functions to be thread-safe 20/166020/3
Junghoon Park [Fri, 5 Jan 2018 07:59:15 +0000 (16:59 +0900)]
Make db related functions to be thread-safe

Change-Id: I3487e739faec8d63b3d329ff510ecc86ab876da6
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRelease version 0.7.22 02/165902/1 accepted/tizen/4.0/unified/20180111.050154 accepted/tizen/unified/20180105.065629 submit/tizen/20180104.110940 submit/tizen_4.0/20180104.111004
Hwankyu Jhun [Thu, 4 Jan 2018 23:22:05 +0000 (08:22 +0900)]
Release version 0.7.22

Changes:
 - Add a new API to get opaque state

Change-Id: I5e945d1e8d5cff6b4b6defbbf990e0914bba6476
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoAdd a new API to get opaque state 68/165768/1
Hwankyu Jhun [Thu, 4 Jan 2018 01:15:38 +0000 (10:15 +0900)]
Add a new API to get opaque state

Adds:
 - aul_window_info_get_opaque()

Change-Id: I42eea6810a74bd6907ce194a9676a901da68e510
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.7.21 60/164360/1 accepted/tizen/4.0/unified/20171219.072212 accepted/tizen/unified/20171220.064720 submit/tizen/20171218.230154 submit/tizen_4.0/20171218.230215
Hwankyu Jhun [Tue, 19 Dec 2017 01:22:07 +0000 (10:22 +0900)]
Release version 0.7.21

Changes:
 - Fix fd leak

Change-Id: I2ebc727b7a31374b053b83c7b64bb80f52a46e9b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFix fd leak 49/164349/2
Hwankyu Jhun [Tue, 19 Dec 2017 00:34:17 +0000 (09:34 +0900)]
Fix fd leak

When the __send_raw_async_with_fd() is failed, the aul_sock_send_raw_with_fd()
returns a negative error value. In this time, if the option is AUL_SOCK_ASYNC,
the fd leak is occurred.

Change-Id: Ibdd9521cb8f147525715036181fda245e4206a0b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.7.20 98/164298/1 accepted/tizen/unified/20171219.072651 submit/tizen/20171218.105842 submit/tizen_4.0/20171218.110017
Hwankyu Jhun [Mon, 18 Dec 2017 10:42:58 +0000 (19:42 +0900)]
Release version 0.7.20

Changes:
 - Rename tep path definition

Change-Id: I8d7ab4534b13caf2b84fb43a053c85cea602e316
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRename tep path definition 77/164277/1
Hwankyu Jhun [Mon, 18 Dec 2017 09:51:59 +0000 (18:51 +0900)]
Rename tep path definition

Change-Id: I6bfa024b21e0d8e83175b6d815285fba5ab7bbc4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.7.19 22/163522/1 accepted/tizen/4.0/unified/20171212.064805 accepted/tizen/unified/20171212.171906 submit/tizen/20171212.022321 submit/tizen_4.0/20171212.022303
Semun Lee [Tue, 12 Dec 2017 01:54:15 +0000 (10:54 +0900)]
Release version 0.7.19

Changes:
 - Use share-panel only in mobile profile

Change-Id: Ia6cb025b64693e7ad19652af1ff7ffc2f647149b
Signed-off-by: Semun Lee <semun.lee@samsung.com>
6 years agoUse share-panel only in mobile profile 62/163462/1
Semun Lee [Mon, 11 Dec 2017 09:19:26 +0000 (18:19 +0900)]
Use share-panel only in mobile profile

share panel exists only in the mobile profile

Change-Id: Ic097266ec211c1592beb608209c86257e12d0438
Signed-off-by: Semun Lee <semun.lee@samsung.com>
6 years agoRelease version 0.7.18 59/162059/1 accepted/tizen/unified/20171130.063241 submit/tizen/20171129.014529
Hwankyu Jhun [Wed, 29 Nov 2017 01:35:53 +0000 (10:35 +0900)]
Release version 0.7.18

Changes:
 - Return error for aul_window_focused_pid(NULL)
 - Add a new definition

Change-Id: I20cac1096eba6a5a41c868972323593f6f00937c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoAdd a new definition 55/162055/1
Hwankyu Jhun [Wed, 29 Nov 2017 00:58:48 +0000 (09:58 +0900)]
Add a new definition

Adds:
 - AUL_K_NEW_INSTANCE

Change-Id: I375bdb43a0168a9e39e0e22d43392ced21a9471b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoReturn error for aul_window_focused_pid(NULL) 51/162051/1
Jayadeep Karnati [Tue, 28 Nov 2017 11:07:29 +0000 (16:37 +0530)]
Return error for aul_window_focused_pid(NULL)

If NULL is passed as pid address, the caller app crashes.
This check returns error instead of crashing.

Change-Id: I8e48a0951e572e1ba8c3bba7ce5b0290c65aec28
Signed-off-by: Jayadeep Karnati <jayadeep.k@samsung.com>
(cherry picked from commit 330df9a9492ae96b269cd06213dc4451bc20c4c2)

7 years agoRelease version 0.7.17 33/158333/1 accepted/tizen/4.0/unified/20171102.061810 accepted/tizen/unified/20171101.064722 submit/tizen/20171031.061337 submit/tizen_4.0/20171031.231258 submit/tizen_4.0/20171101.002233
Junghoon Park [Tue, 31 Oct 2017 06:00:32 +0000 (15:00 +0900)]
Release version 0.7.17

Changes:
  - Define key for sending global app flag

Change-Id: Id52c3e2e24f7138806c38650e5a0b6ec68095564
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoDefine key for sending global app flag 26/157926/1
Junghoon Park [Fri, 27 Oct 2017 01:39:22 +0000 (10:39 +0900)]
Define key for sending global app flag

- To support trust-anchor, AUL_K_IS_GLOBAL is needed

Change-Id: I8c9bec655f3a25191acb4e7de918243118784ee3
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoRelease version 0.7.16 15/157415/1 accepted/tizen/4.0/unified/20171027.050327 accepted/tizen/unified/20171025.075118 submit/tizen/20171024.105204 submit/tizen_4.0/20171024.105140 tizen_4.0.m2_release
Hyunho Kang [Tue, 24 Oct 2017 10:49:52 +0000 (19:49 +0900)]
Release version 0.7.16

Changes:
 - Fix fd leak

Change-Id: I18062fcdbf6876df9d81a33f0000951b47ba4ee8
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoFix fd leak 07/157407/2
Hwankyu Jhun [Tue, 24 Oct 2017 10:26:09 +0000 (19:26 +0900)]
Fix fd leak

Change-Id: I5541cba18e7bb87a2f0eaf2ab78acbe414a72da5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.7.15 05/155705/1 accepted/tizen/4.0/unified/20171017.213347 accepted/tizen/4.0/unified/20171018.061043 accepted/tizen/unified/20171016.144058 submit/tizen/20171016.043754 submit/tizen_4.0/20171016.044130 submit/tizen_4.0/20171017.103040
Hyunho Kang [Mon, 16 Oct 2017 03:22:51 +0000 (12:22 +0900)]
Release version 0.7.15

Changes:
 - Add api for send widget status change request

Change-Id: I5d4f72cab2d0f760807916c1376017d2e4f496a1
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoAdd api for send widget status change request 27/155527/2
Hyunho Kang [Fri, 13 Oct 2017 10:51:28 +0000 (19:51 +0900)]
Add api for send widget status change request

https://review.tizen.org/gerrit/#/c/155525/ (appcore-widget)
https://review.tizen.org/gerrit/#/c/155526/ (amd)
https://review.tizen.org/gerrit/#/c/155527/ (aul-1)

Change-Id: I26f330ac8058513f4c9c68bb2d4beee9d8aa720a
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoRelease version 0.7.14 62/154762/1 accepted/tizen/4.0/unified/20171012.074614 accepted/tizen/unified/20171012.075146 submit/tizen/20171011.222433 submit/tizen_4.0/20171011.222450 tizen_4.0.IoT.p1_release
Hwankyu Jhun [Wed, 11 Oct 2017 08:51:39 +0000 (17:51 +0900)]
Release version 0.7.14

Changes:
 - Fix static anlaysis issues

Change-Id: Ib1ee1885254bb4d3e2d58555d9603195f0a7e801
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix static anlaysis issues 48/154448/2
Hwankyu Jhun [Tue, 10 Oct 2017 08:25:36 +0000 (17:25 +0900)]
Fix static anlaysis issues

This patch fixes the following cases:
 - Unchecked return value from library
 - Dereference before null check

Change-Id: I9f44d3bb3ad5c220b3a4b09a501e6008ac317f61
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.7.13 25/154225/1 accepted/tizen/4.0/unified/20171010.064233 accepted/tizen/unified/20171010.162437 submit/tizen/20171010.010942 submit/tizen_4.0/20171010.011116
Hwankyu Jhun [Tue, 10 Oct 2017 00:47:11 +0000 (09:47 +0900)]
Release version 0.7.13

Changes:
 - Fix memory leak

Change-Id: I501fe063f0ca18f673aa4de2a32361141e3e658c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix memory leak 21/154221/1
Hwankyu Jhun [Tue, 10 Oct 2017 00:24:57 +0000 (09:24 +0900)]
Fix memory leak

Change-Id: I06193872179ef4ffbe918c548d98a1d3c08c3d20
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.7.12 01/153201/1 accepted/tizen/4.0/unified/20170929.080028 accepted/tizen/unified/20170929.081447 submit/tizen/20170928.055049 submit/tizen_4.0/20170928.055126 submit/tizen_4.0/20170928.143447
Hwankyu Jhun [Thu, 28 Sep 2017 05:37:35 +0000 (14:37 +0900)]
Release version 0.7.12

Changes:
 - Adjust function name
 - Fix static analysis issue

Change-Id: I5bee0a4e7a188efd2008bbf7f8522259929759be
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix static analysis issue 67/152767/6
Hwankyu Jhun [Wed, 27 Sep 2017 05:16:04 +0000 (14:16 +0900)]
Fix static analysis issue

This patch fixes the following cases:
 - Resource leak
 - Unchecked return value from library
 - Logically dead code
 - Unused value
 - Explicit null dereferenced
 - Double close
 - Dereference before null check
 - Out-of-bounds access
 - Integer overflowed argument

Change-Id: Ic66241d312f15dc4f0dfba3b363e9bc57dd841ad
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdjust function name 56/152756/1
Hwankyu Jhun [Wed, 27 Sep 2017 04:57:41 +0000 (13:57 +0900)]
Adjust function name

Change-Id: Ib44c9de6125c68b9562353dc1f9933948722460f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.7.11 70/152470/1 accepted/tizen/4.0/unified/20170927.181801 accepted/tizen/unified/20170927.181239 submit/tizen/20170926.221252 submit/tizen/20170928.072553 submit/tizen_4.0/20170926.220936
Hwankyu Jhun [Tue, 26 Sep 2017 07:50:28 +0000 (16:50 +0900)]
Release version 0.7.11

Changes:
 - Add a new header file for job scheduler API

Change-Id: I219dbe926aee758cc88344c6b9c375164218aabb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd a new header file for job scheduler API 62/147262/19
Hwankyu Jhun [Sat, 2 Sep 2017 14:33:01 +0000 (23:33 +0900)]
Add a new header file for job scheduler API

Adds new definitions
Adds a new API:
 - aul_job_scheduler_update_job_status

Change-Id: Idad36f116487ba77c002002f746cb7d6c7aae4ed
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.7.10 46/152046/1 accepted/tizen/4.0/unified/20170925.151111 accepted/tizen/unified/20170926.165611 submit/tizen/20170925.023149 submit/tizen/20170925.045801 submit/tizen/20170925.085118 submit/tizen/20170926.011445 submit/tizen_4.0/20170925.023320 submit/tizen_4.0/20170925.050600
Hwankyu Jhun [Mon, 25 Sep 2017 02:10:57 +0000 (11:10 +0900)]
Release version 0.7.10

Changes:
 - fix coding rule error
 - Release version 0.7.8
 - Remove not supported update script
 - Release version 0.7.9
 - Add common normal exit notify API
 - Add get id by surface ID feature
 - Add screen viewer state update feature
 - Fix screen connector API
 - Add key for sharing profile with launchpad
 - Fix an error value
 - Set the timeout about sending dbus message
 - Revert "Set the timeout about sending dbus message"
 - Add new APIs to get running widget info
 - Add some logs to debug key-block issue
 - Fix aul_create_result_bundle API
 - Fix aul_svc_create_result_bundle API
 - Add screen pre resume status
 - Define AUL_K_WIDGET_ERROR_CODE

Change-Id: I73204577a79da7c267d640f64b124d76392e209f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoDefine AUL_K_WIDGET_ERROR_CODE 61/149761/3 devel/tizen
Junghoon Park [Tue, 12 Sep 2017 05:09:59 +0000 (14:09 +0900)]
Define AUL_K_WIDGET_ERROR_CODE

Change-Id: I892259f404eae602c8d9990443d63f6725be88d8
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoAdd screen pre resume status 60/149760/3
Hyunho Kang [Thu, 10 Aug 2017 11:19:31 +0000 (20:19 +0900)]
Add screen pre resume status

Change-Id: Id8be5ae90a016c46e41c03eceb0d42fe22145dcc
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoFix aul_svc_create_result_bundle API 59/149759/3
Hwankyu Jhun [Wed, 9 Aug 2017 09:04:33 +0000 (18:04 +0900)]
Fix aul_svc_create_result_bundle API

Change-Id: I4a5992309d251d86de1dd7b61cd63666aae4cc7d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix aul_create_result_bundle API 58/149758/3
Hwankyu Jhun [Wed, 9 Aug 2017 08:08:40 +0000 (17:08 +0900)]
Fix aul_create_result_bundle API

If the bundle doesn't have AUL_K_SEQ_NUM, the API returns
AUL_R_ECANCELED.
This patch is for backward compatibility.

Change-Id: I2d05461dd76183ba50d5f9694e3aec343c706b05
hange-Id: I35566d95804eea769056b2b4e3da9095fd003cd1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd some logs to debug key-block issue 57/149757/3
Junghoon Park [Wed, 9 Aug 2017 07:53:56 +0000 (16:53 +0900)]
Add some logs to debug key-block issue

Change-Id: I644cae1a72248e64bc2b1ce72be573cb797244bb
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoAdd new APIs to get running widget info 56/149756/3
Hwankyu Jhun [Thu, 20 Jul 2017 00:01:13 +0000 (09:01 +0900)]
Add new APIs to get running widget info

Adds:
 - aul_widget_info_foreach()
 - aul_widget_info_foreach_for_uid()
 - aul_widget_info_get_pid()
 - aul_widget_info_get_surface_id()
 - aul_widget_info_get_widget_id()
 - aul_widget_info_get_instance_id()
 - aul_widget_info_get_app_id()
 - aul_widget_info_get_package_id()
 - aul_widget_info_get_app_path()

Change-Id: Ib5a346092730474deeaebbb81a3ff9dd919a4217
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRevert "Set the timeout about sending dbus message" 55/149755/3
Junghoon Park [Wed, 19 Jul 2017 02:59:40 +0000 (02:59 +0000)]
Revert "Set the timeout about sending dbus message"

This reverts commit f89881791650cb49f4bcc68717f9c3f32420e597.

Change-Id: I211ec0e7b9842689e7449de5585231b24ab125d0

7 years agoSet the timeout about sending dbus message 54/149754/3
Hwankyu Jhun [Wed, 19 Jul 2017 00:31:59 +0000 (09:31 +0900)]
Set the timeout about sending dbus message

The timeout interval is 5 seconds.

Change-Id: Idab178dcbcbb7c28217bdc98af59069623683ccf
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix an error value 53/149753/3
Hwankyu Jhun [Tue, 18 Jul 2017 04:31:05 +0000 (13:31 +0900)]
Fix an error value

Currently, the ENOLAUNCHPAD is not used.
The ENOLAUNCHPAD is equal to the ECANCELED.

Removes:
 - ENOLAUNCHPAD
Adds:
 - ECANCELED

Requires:
 - https://review.tizen.org/gerrit/#/c/139230/ [aul]
 - https://review.tizen.org/gerrit/#/c/139241/ [amd]
 - https://review.tizen.org/gerrit/#/c/139242/ [widget-service]

Change-Id: Ia3990a4db7dfcbaf83880ad5bdd80abc8a33304f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd key for sharing profile with launchpad 52/149752/3
Hyunho Kang [Mon, 10 Jul 2017 08:43:10 +0000 (17:43 +0900)]
Add key for sharing profile with launchpad

https://review.tizen.org/gerrit/#/c/137812/ (launchpad)
https://review.tizen.org/gerrit/#/c/137904/ (amd)
https://review.tizen.org/gerrit/#/c/137917/ (aul-1)

Change-Id: I1e38f31fe239ad103a466f868885ba7e26172c25
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix screen connector API 51/149751/3
Hwankyu Jhun [Fri, 7 Jul 2017 11:36:12 +0000 (20:36 +0900)]
Fix screen connector API

The paramter of aul_screen_connector_update_screen_viewer_status API is
changed the provider instance id to the provider surface id.

Change-Id: Ie3aada914b272763c922e4d048751148e334ecaa
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd screen viewer state update feature 50/149750/3
Hyunho Kang [Tue, 4 Jul 2017 12:12:36 +0000 (21:12 +0900)]
Add screen viewer state update feature

In screen-connector multi viewer senario, provider should decide it's
resume/pause state using every viewer's visibility. So, every viewer should
share their visibility to AMD.

Requires:
 - https://review.tizen.org/gerrit/#/c/137133/ (aul-1)
 - https://review.tizen.org/gerrit/#/c/137134/ (amd)
 - https://review.tizen.org/gerrit/#/c/137136/ (widget-viewer)
 - https://review.tizen.org/gerrit/#/c/137437/ (appcore-watch)

Change-Id: I6437586abe67f732aa302ebca0d4c06613405d07
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoAdd get id by surface ID feature 49/149749/3
Hyunho Kang [Mon, 3 Jul 2017 10:24:17 +0000 (19:24 +0900)]
Add get id by surface ID feature

Viewer apps that add watch with surface id do not have
a watch appid, so in order to pass resume / pause to watch,
amd must supply the id of the app with the surface id.

- aul_screen_connector_get_appid_by_surface_id_request

Change-Id: I6128e975665a95f8c7889b8ac6e4982e98842184
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoAdd common normal exit notify API 48/149748/4
Hyunho Kang [Wed, 28 Jun 2017 11:40:15 +0000 (20:40 +0900)]
Add common normal exit notify API

- aul_notify_exit

https://review.tizen.org/gerrit/#/c/136199/ (amd)
https://review.tizen.org/gerrit/#/c/136200/ (aul-1)
https://review.tizen.org/gerrit/#/c/136201/ (appcore-widget)
https://review.tizen.org/gerrit/#/c/136209/ (widget-service)

Change-Id: I30739b610b42cd11c10b59888312bf7ea641da0e
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.7.9 84/150284/1 accepted/tizen/4.0/unified/20170920.081422 submit/tizen/20170915.023525 submit/tizen_4.0/20170915.023947
Semun Lee [Fri, 15 Sep 2017 03:23:53 +0000 (12:23 +0900)]
Release version 0.7.9

Changes:
 - Remove not supported update script

Change-Id: I098b6419b25663448ba5e266647e524a83d30574
Signed-off-by: Semun Lee <semun.lee@samsung.com>
7 years agoRemove not supported update script 72/150272/1
Sunmin Lee [Fri, 8 Sep 2017 03:18:31 +0000 (12:18 +0900)]
Remove not supported update script

RW update script for Tizen 2.4 (to 3.0) is not necessary in Tizen 4.0.
(Tizen 4.0 does not support upgrade from Tizen 2.4)
Remove this file in terms of clearing the redundancy.

Change-Id: I25d5113134a022401d8d129afe6f10a440bcc0b5
(cherry picked from commit 7c35634720b0aa01139183271df090d34169dab2)

7 years agoRelease version 0.7.8 51/150251/1
Semun Lee [Fri, 15 Sep 2017 02:24:20 +0000 (11:24 +0900)]
Release version 0.7.8

Changes:
 - fix coding rule error

Change-Id: I91f374c434938740c93f3ff4c60c3012bb8d8b91
Signed-off-by: Semun Lee <semun.lee@samsung.com>
7 years agofix coding rule error 89/149689/1
Youngjae Shin [Wed, 13 Sep 2017 02:12:36 +0000 (11:12 +0900)]
fix coding rule error

Change-Id: I1ab7c42253cf98bf58bd04b476c94dc745db4504

7 years agoRelease version 0.7.7 10/145510/1 accepted/tizen/4.0/unified/20170828.223956 accepted/tizen/unified/20170823.031734 submit/tizen/20170822.132553 submit/tizen_4.0/20170828.100002
Hyunho Kang [Tue, 22 Aug 2017 13:19:10 +0000 (22:19 +0900)]
Release version 0.7.7

Changes:
 - Initialize src after destroying it

Change-Id: Id3f39dfcb742164becd04acc576d127e1aa4f293
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoInitialize src after destroying it 99/145099/1
Semun Lee [Mon, 21 Aug 2017 08:40:22 +0000 (17:40 +0900)]
Initialize src after destroying it

Change-Id: Ia71c80385bcc200b167f0e65bb7601a582d4309a
Signed-off-by: Semun Lee <semun.lee@samsung.com>
7 years agoRelease version 0.7.6 93/144193/3 accepted/tizen/unified/20170816.053822 submit/tizen/20170815.234022
Hwankyu Jhun [Tue, 15 Aug 2017 22:46:30 +0000 (07:46 +0900)]
Release version 0.7.6

Changes:
 - Fix log format
 - Fix wrong definition

Change-Id: I82b5fc625fd8255c18c7cb987117f66f0d4f8f59
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix log format 32/143532/2
Hwankyu Jhun [Thu, 10 Aug 2017 08:36:49 +0000 (17:36 +0900)]
Fix log format

Change-Id: Iee82fa54b44ed1fb98f1616f7e4ab9ca17fd0f97
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix wrong definition 44/143644/1
Hwankyu Jhun [Fri, 11 Aug 2017 00:04:21 +0000 (09:04 +0900)]
Fix wrong definition

Change-Id: I86373923bf4ae0028335d1f40acc1dab7f8883ba
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.7.5 14/142414/1 accepted/tizen/unified/20170804.133107 submit/tizen/20170804.022640
Hwankyu Jhun [Fri, 4 Aug 2017 01:52:40 +0000 (10:52 +0900)]
Release version 0.7.5

Changes:
 - Add an exception handling about out of memory

Change-Id: I657c68d2ee924c7367fd9e7ed89fcf75c88da5f5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd an exception handling about out of memory 79/142379/1
Hwankyu Jhun [Thu, 3 Aug 2017 10:01:16 +0000 (19:01 +0900)]
Add an exception handling about out of memory

Change-Id: I1510c6d52bf90bd5aee5b5b5678c7b2fb0ac134a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.7.4 93/141093/1 accepted/tizen/4.0/unified/20170816.011926 accepted/tizen/4.0/unified/20170816.015017 accepted/tizen/unified/20170731.020709 submit/tizen/20170728.073705 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
Hwankyu Jhun [Fri, 28 Jul 2017 06:45:11 +0000 (15:45 +0900)]
Release version 0.7.4

Changes:
 - Fix app_launcher tool for debugging web app
 - Fix double free issue
 - Fix bug about web debug option

Change-Id: I2b7fe256f926e605508be58efd98e86d8fa41ba6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix app_launcher tool for debugging web app 30/141030/1
Hwankyu Jhun [Fri, 28 Jul 2017 00:47:14 +0000 (09:47 +0900)]
Fix app_launcher tool for debugging web app

Change-Id: Ic48e60092c1bbe001c1f8e311a01b6d9f937ffb0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix double free issue 80/140980/2
Hwankyu Jhun [Thu, 27 Jul 2017 10:02:24 +0000 (19:02 +0900)]
Fix double free issue

Change-Id: I339aebc485ae9c1bb1a8e3b492255c9baafab0ab
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix bug about web debug option 75/140975/1
Hwankyu Jhun [Thu, 27 Jul 2017 09:46:57 +0000 (18:46 +0900)]
Fix bug about web debug option

Change-Id: I377e05038c4fa611d5fd722b0391218a809b475c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.7.3 05/139905/1 accepted/tizen/unified/20170724.020239 submit/tizen/20170721.041626
Hwankyu Jhun [Fri, 21 Jul 2017 04:10:44 +0000 (13:10 +0900)]
Release version 0.7.3

Changes:
 - Refactor service db code
 - Fix aul app com header file

Change-Id: Iaecfa6bb54865501797ecbfd72280a8cf5486e7c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRefactor service db code 91/139491/5
Hwankyu Jhun [Wed, 19 Jul 2017 06:12:43 +0000 (15:12 +0900)]
Refactor service db code

- Remove using snprintf for preparing sqlite3 query
- Add a function to close the app info db

Change-Id: I3d09ec59cf5ea28f34aa8f57dc4d88b2f1c5051a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRevert "Set the timeout about sending dbus message" 34/139434/1
Hwankyu Jhun [Wed, 19 Jul 2017 03:00:31 +0000 (12:00 +0900)]
Revert "Set the timeout about sending dbus message"

This reverts commit 7a69715bf1e849b8d95c85755037502488020a26.

Change-Id: I5bd88fdbc5e7efb3fa57cf72eea3c2ef0505a011

7 years agoSet the timeout about sending dbus message 96/139396/1
Hwankyu Jhun [Wed, 19 Jul 2017 00:31:59 +0000 (09:31 +0900)]
Set the timeout about sending dbus message

The timeout interval is 5 seconds.

Change-Id: Idab178dcbcbb7c28217bdc98af59069623683ccf
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix aul app com header file 88/138988/1
Hwankyu Jhun [Fri, 14 Jul 2017 12:47:18 +0000 (21:47 +0900)]
Fix aul app com header file

- Make explicit the linkage

Change-Id: I07b53400b6a34a47063c66c270b3c6c13104f90e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.7.2 94/136294/1 accepted/tizen/unified/20170703.064111 submit/tizen/20170629.060228
Hwankyu Jhun [Thu, 29 Jun 2017 04:51:56 +0000 (13:51 +0900)]
Release version 0.7.2

Changes:
 - Deprecate fast launch option
 - Add bundle data for fast launch option
 - Fix invalid log format
 - Fix a bug about sending wrong type of parameter
 - Allocate buffer dynamically for input string

Change-Id: Ia24f43632b13477a33922d04c07601314e1ff14e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoDeprecate fast launch option 73/135473/1
Hwankyu Jhun [Thu, 22 Jun 2017 11:51:24 +0000 (20:51 +0900)]
Deprecate fast launch option

AMD starts in system-session. So, the option is not needed.

Change-Id: If0c8d1618df64787ebcf57e080ec724f4f005bc3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd bundle data for fast launch option 64/135464/1
Hwankyu Jhun [Wed, 21 Jun 2017 05:48:05 +0000 (14:48 +0900)]
Add bundle data for fast launch option

When the user use the app_launcher tool with fast launch option,
AUL_K_FAST_LAUNCH key/value will be added on bundle data.

Change-Id: Iad905a828cdc1dba4516f577d396267c43452abb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix invalid log format 30/135030/1
Hwankyu Jhun [Wed, 21 Jun 2017 00:20:26 +0000 (09:20 +0900)]
Fix invalid log format

Change-Id: If5f38463cc1c1c5aa8488683b6aaca3f0fbce901
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix a bug about sending wrong type of parameter 99/134299/1
Junghoon Park [Fri, 16 Jun 2017 01:50:23 +0000 (10:50 +0900)]
Fix a bug about sending wrong type of parameter

Change-Id: Ifaa671e07cdc659934dc7d276e8823db9f363c9b
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoAllocate buffer dynamically for input string 61/133261/3
Hyunho Kang [Fri, 9 Jun 2017 10:56:52 +0000 (19:56 +0900)]
Allocate buffer dynamically for input string

- To prevent buffer overflow

Change-Id: I1855e97ab27613757de49ce535895386a7842544
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoRelease version 0.7.1 34/133134/1 accepted/tizen/unified/20170609.204210 submit/tizen/20170609.050739
Jiwoong Im [Fri, 9 Jun 2017 04:53:56 +0000 (13:53 +0900)]
Release version 0.7.1

Changes:
 - Fix buffer overflow
 - Add error handling in datacontrol socket pair request

Change-Id: I29de1928d41c8161657a50bbbd1d38089ad52381
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoAdd error handling in datacontrol socket pair request 80/129880/9
Jiwoong Im [Thu, 18 May 2017 08:38:32 +0000 (17:38 +0900)]
Add error handling in datacontrol socket pair request

- Related patches
  [data-control] https://review.tizen.org/gerrit/#/c/129882/
  [amd] https://review.tizen.org/gerrit/#/c/129881/
  [tpk-manifest-handler] https://review.tizen.org/gerrit/#/c/129211/
  [app-installers] https://review.tizen.org/gerrit/#/c/129212/
  [pkgmgr-info] https://review.tizen.org/gerrit/#/c/129210/

Change-Id: I1205afa15bfde588dd005fb8fd95549a3556d4f3
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
7 years agoFix buffer overflow 55/132555/1
Hwankyu Jhun [Wed, 7 Jun 2017 01:38:27 +0000 (10:38 +0900)]
Fix buffer overflow

The entries should be a NULL-terminated array.

Change-Id: I538f912f861e6a0a113808c5ee0865fcab4b9cf4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.7.0 22/132022/1 accepted/tizen/unified/20170607.063223 submit/tizen/20170531.235759
Hwankyu Jhun [Thu, 1 Jun 2017 00:24:28 +0000 (09:24 +0900)]
Release version 0.7.0

Changes:
 - Clean up app signal
 - Handle widget abnormal exit
 - Add API to get window notification level

Change-Id: I41cf9794012fd48ec7e895ba1029c18f73a38aab
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoClean up app signal 77/130977/5
Hwankyu Jhun [Thu, 25 May 2017 01:31:03 +0000 (10:31 +0900)]
Clean up app signal

- Remove duplicated signals and unused signals

Change-Id: If4357ff30b9ca78b8e021bad80d73bdd9ee7415d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoHandle widget abnormal exit 74/131674/7
Hwankyu Jhun [Wed, 31 May 2017 02:35:49 +0000 (11:35 +0900)]
Handle widget abnormal exit

- Add a new API to notify normal exit
- Add a new definition (AUL_K_WIDGET_FAULT)

Requires:
 - https://review.tizen.org/gerrit/#/c/131685/ [amd]
 - https://review.tizen.org/gerrit/#/c/131676/ [appcore-widget]
 - https://review.tizen.org/gerrit/#/c/131692/ [widget-service]
 - https://review.tizen.org/gerrit/#/c/131695/ [widget-viewer]

Change-Id: I7b6d208c72eb9cc638a98636b9fffbfe0547d04a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd API to get window notification level 10/130110/4
Junghoon Park [Fri, 19 May 2017 06:49:23 +0000 (15:49 +0900)]
Add API to get window notification level

- This API is dependent on dbus method interface which will be provided by window manager

Change-Id: I72f3898498ec28c2fb6316a898bc7cba88d4d4d5
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoRelease version 0.6.8 50/130750/1 accepted/tizen/unified/20170524.032059 submit/tizen/20170523.234630 tizen_4.0.m1_release
Hwankyu Jhun [Tue, 23 May 2017 23:39:57 +0000 (08:39 +0900)]
Release version 0.6.8

Changes:
 - Fix return value of the app_launcher tool

Change-Id: I2679217a9507a702546e6fc8191a60ace4308b0f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix return value of the app_launcher tool 48/130748/1 submit/tizen/20170523.010304
Hwankyu Jhun [Tue, 23 May 2017 22:44:58 +0000 (07:44 +0900)]
Fix return value of the app_launcher tool

If the target app is not running, the app_launcher tool returns "1".

Change-Id: I60fef2f520e475362a37abc27ff9f68f2489f555
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.6.7 27/130027/1 accepted/tizen/unified/20170519.195912 submit/tizen/20170519.015707
Hwankyu Jhun [Fri, 19 May 2017 01:34:00 +0000 (10:34 +0900)]
Release version 0.6.7

Changes:
 - Fix bug about setting bundle data
 - Revert "Revert "Refactor app launcher tool""

Change-Id: Idedd9d78b4be4b65af52f8b7908eb95e480bd0dd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix bug about setting bundle data 04/129904/1
Hwankyu Jhun [Thu, 18 May 2017 09:49:00 +0000 (18:49 +0900)]
Fix bug about setting bundle data

Change-Id: I9a067689bd28fe71083ff78ef2054645fa74bb0e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRevert "Revert "Refactor app launcher tool"" 03/129903/1
Hwankyu Jhun [Thu, 18 May 2017 08:52:55 +0000 (17:52 +0900)]
Revert "Revert "Refactor app launcher tool""

This reverts commit 034c7bf5b8958c573705262325ae7af8bdd28782.

Change-Id: Idf95e63089861810c7707366f49ca930cd580389