platform/core/appfw/aul-1.git
3 years agoFix wrong error log 70/258670/1
Changgyu Choi [Mon, 24 May 2021 04:01:43 +0000 (13:01 +0900)]
Fix wrong error log

Change-Id: I14920e5dcb7d5eee2b2e925a2dd33993af45baf1
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoRelease version 0.34.0 64/258464/2
Hwankyu Jhun [Tue, 18 May 2021 06:23:57 +0000 (15:23 +0900)]
Release version 0.34.0

Changes:
 - Add ExternalDirectoryInfo class
 - Add aul_get_default_app function

Change-Id: I663886608ced838d524527818ef04a0bbfa63506
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoAdd aul_get_default_app function 90/258290/3
Hwankyu Jhun [Thu, 13 May 2021 07:23:04 +0000 (16:23 +0900)]
Add aul_get_default_app function

To get the default application ID, the function is added.

Change-Id: I47f4d668c672986513c2e625ee8ebe9cb26655d4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoAdd ExternalDirectoryInfo class 06/258106/4
Hwankyu Jhun [Tue, 11 May 2021 01:06:47 +0000 (10:06 +0900)]
Add ExternalDirectoryInfo class

While getting external path, AUL uses storage API to get external
storage path. And, the storage API uses gdbus API to get primary sdcard path.
While using gdbus API, two threads are created by gdbus.
Currently, threads are created when the process is calling aul_get_app_root_path().
The codes are separated from DirectoryInfo class for backward compatibility.

Change-Id: I83e1e931afa85002fd239fd2f4459cf08f58eef9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 0.33.8 11/258111/1 submit/tizen/20210511.022527
Changgyu Choi [Tue, 11 May 2021 01:16:15 +0000 (10:16 +0900)]
Release version 0.33.8

Changes:
 - Remove unnecessary g_cond_wait() call
 - Add to set res_fn_ to nullptr

Change-Id: Ic7c1e47cf787fd861dab1a55659391d26d972299
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoAdd to set res_fn_ to nullptr 17/257817/5
Changgyu Choi [Mon, 3 May 2021 08:26:20 +0000 (17:26 +0900)]
Add to set res_fn_ to nullptr

Changes:
 - Set res_fn_ to nullptr after calling it.
 - Add some logs for debugging.

Change-Id: I85287fa4edd0f606ff60dff87fcbb1b2f7fec496
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoRemove unnecessary g_cond_wait() call 59/257659/1
Hwankyu Jhun [Thu, 29 Apr 2021 05:34:00 +0000 (14:34 +0900)]
Remove unnecessary g_cond_wait() call

Change-Id: Id1c25b3afef3fbd57541e297269985bf8a4ff906
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 0.33.7 56/257656/1 accepted/tizen/unified/20210430.052743 submit/tizen/20210429.051235
Hwankyu Jhun [Thu, 29 Apr 2021 05:05:00 +0000 (14:05 +0900)]
Release version 0.33.7

Changes:
 - Fix a bug about using condition variables

Change-Id: If24196385bc367e2952c4ed44cd8a8739750e50a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix a bug about using condition variables 48/257648/1
Hwankyu Jhun [Thu, 29 Apr 2021 04:11:00 +0000 (13:11 +0900)]
Fix a bug about using condition variables

When using condition variables, it's possible that a spurious wakeup may
occur. g_cond_wait() MUST always be used in a loop.

Change-Id: I5bfe6435a601e442c06612a17aed9a7f5daa538a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 0.33.6 11/257211/1 accepted/tizen/unified/20210422.090514 submit/tizen/20210421.075319
Hwankyu Jhun [Wed, 21 Apr 2021 07:47:53 +0000 (16:47 +0900)]
Release version 0.33.6

Changes:
 - Fix an argument of Client::Recv()
 - Fix AUL worker

Change-Id: Id59bd6e5d8e735cbaa88b13904711360cde822eb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix AUL worker 83/257183/5
Hwankyu Jhun [Tue, 20 Apr 2021 11:46:43 +0000 (20:46 +0900)]
Fix AUL worker

- Add logs for debugging
- Handle error conditions

Change-Id: I47cf6d17f9ef441ba8aeb2bcbd457981dc0c4883
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix an argument of Client::Recv() 96/256596/2
Hwankyu Jhun [Thu, 8 Apr 2021 01:17:32 +0000 (10:17 +0900)]
Fix an argument of Client::Recv()

The type of an argument is changed to Packet**.

Change-Id: I6a429014988308755c17b4d81dce42bc8f070dbc
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 0.33.5 49/256549/1 accepted/tizen/unified/20210407.100457 submit/tizen/20210407.003203
Hwankyu Jhun [Wed, 7 Apr 2021 00:18:57 +0000 (09:18 +0900)]
Release version 0.33.5

Changes:
 - Refactor AUL Path API
 - Fix wrong implementation of packet class

Change-Id: I850ebf6d6caaef1bf8aa91df8c30e73b2cb48768
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix wrong implementation of packet class 92/256492/1
Hwankyu Jhun [Mon, 5 Apr 2021 10:24:24 +0000 (19:24 +0900)]
Fix wrong implementation of packet class

Change-Id: Id7a543306810a57543e1f6644c6659cf40af9acd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRefactor AUL Path API 15/255715/17
Hwankyu Jhun [Tue, 23 Mar 2021 01:39:44 +0000 (10:39 +0900)]
Refactor AUL Path API

Change-Id: I3fbf85e5895b0f0e40d96ffe8b965fb631ffd904
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 0.33.4 87/255987/1 accepted/tizen/unified/20210330.111327 submit/tizen/20210326.043337 submit/tizen/20210329.014014
Hwankyu Jhun [Fri, 26 Mar 2021 04:30:31 +0000 (13:30 +0900)]
Release version 0.33.4

Changes:
 - Fix aul_svc_get_all_defapps_for_uid() function

Change-Id: I5eafb0a582ab38e93a946ca141206e7ac2323a59
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix aul_svc_get_all_defapps_for_uid() function 84/255984/1
Hwankyu Jhun [Fri, 26 Mar 2021 02:50:40 +0000 (11:50 +0900)]
Fix aul_svc_get_all_defapps_for_uid() function

This patch removes the size check of the application list for backward
compatibility.

Change-Id: Ie1e05c48fdf17ce1cac085139b6ced43677ddb29
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 0.33.3 46/255646/2 accepted/tizen/unified/20210324.124434 submit/tizen/20210322.043354
Changgyu Choi [Mon, 22 Mar 2021 04:26:28 +0000 (13:26 +0900)]
Release version 0.33.3

Changes:
 - Fix aul_svc_set_instance_id() function
 - Add a missing error case
 - Fix static issues

Change-Id: I75da24d4aeda6bce459c0b242abcb240c43fcb0b
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoMerge "Fix static issues" into tizen
Changgyu Choi [Mon, 22 Mar 2021 04:25:56 +0000 (04:25 +0000)]
Merge "Fix static issues" into tizen

3 years agoFix static issues 42/255642/2
Changgyu Choi [Mon, 22 Mar 2021 03:45:24 +0000 (12:45 +0900)]
Fix static issues

Changes:
 * Add to initialize member variables.

Change-Id: I5d16df353ff7a94b98b9d9b984da2ec4f30873d7
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoAdd a missing error case 44/255644/1
Hwankyu Jhun [Mon, 22 Mar 2021 04:03:41 +0000 (13:03 +0900)]
Add a missing error case

If the return value of AUL function is AUL_R_ECANCELED, the function
should return AUL_SVC_RET_ECANCLED.

Change-Id: Ie23c23c8b6b0461d4f618507ef58140b9d9b5867
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix aul_svc_set_instance_id() function 14/255414/2
Hwankyu Jhun [Thu, 18 Mar 2021 04:56:45 +0000 (13:56 +0900)]
Fix aul_svc_set_instance_id() function

This patch changes the behavior of the function to delete the previous
data. If the instance_id is nullptr, the function deletes the previous data
from the bundle object.

Change-Id: I0d40d980d8b6e9025dd65f3dc0eb40345d4fcbb2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 0.33.2 19/255319/1 accepted/tizen/unified/20210318.055935 accepted/tizen/unified/20210323.123015 submit/tizen/20210316.232334 submit/tizen/20210317.105308 submit/tizen/20210319.065928
Hwankyu Jhun [Tue, 16 Mar 2021 23:19:46 +0000 (08:19 +0900)]
Release version 0.33.2

Changes:
 - Use Parcel API instead of custom Parcel
 - Fix exception handling of SendAndReceive() method

Change-Id: I3d21935eb80952c3ede393e4032adb56aa51c1be
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix exception handling of SendAndReceive() method 30/255230/2
Hwankyu Jhun [Mon, 15 Mar 2021 09:27:47 +0000 (18:27 +0900)]
Fix exception handling of SendAndReceive() method

Change-Id: I5db0c5fbd04c9187375d7f008f30396427d4d4f1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoUse Parcel API instead of custom Parcel 06/255106/1
Hwankyu Jhun [Fri, 12 Mar 2021 05:37:14 +0000 (14:37 +0900)]
Use Parcel API instead of custom Parcel

Change-Id: I802c7aaee4fbeb476a27745e7e303ab801e52e78
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 0.33.1 08/255008/1 submit/tizen/20210311.081932 submit/tizen/20210315.011842
Hwankyu Jhun [Thu, 11 Mar 2021 08:08:15 +0000 (17:08 +0900)]
Release version 0.33.1

Changes:
 - Refactor aul service codes

Change-Id: Ie65f117ffe00845d3f461f50ae5d4a051ec61d14
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRefactor aul service codes 18/254518/8
Hwankyu Jhun [Thu, 4 Mar 2021 06:12:01 +0000 (15:12 +0900)]
Refactor aul service codes

Change-Id: Ifbadbd5f65455199e6f5f30ca8e55caa80bbcded
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 0.33.0 62/254862/1 accepted/tizen/unified/20210311.151515 submit/tizen/20210310.072848
Hwankyu Jhun [Wed, 10 Mar 2021 06:00:23 +0000 (15:00 +0900)]
Release version 0.33.0

Changes:
 - Add aul-server package for daemon

Change-Id: I3850ebd9d9dd2f7180ce7951c6a9490d751cb5cd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoAdd aul-server package for daemon 51/254251/10
Hwankyu Jhun [Thu, 25 Feb 2021 05:09:24 +0000 (14:09 +0900)]
Add aul-server package for daemon

The aul-server package is separated from the aul package. The codes
related to sqlite3 are moved to the aul-server package.
Unused functions are deprecated.

Requires:
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/amd/+/254134/
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/aul-1/+/254251/
 - https://review.tizen.org/gerrit/#/c/platform/core/api/component-manager/+/254796/

Change-Id: Ie4efda89ab105d70dc30e7b0deae5c525bcfb65f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 0.32.0 54/254254/1 accepted/tizen/unified/20210226.132000 submit/tizen/20210225.054706
Hwankyu Jhun [Thu, 25 Feb 2021 05:37:37 +0000 (14:37 +0900)]
Release version 0.32.0

Changes:
 - Fix getting widget db path
 - Fix aul_forward_app function
 - Add a new function to update status

Change-Id: I0894a7b2278161e9df525cc07666e07dd397b099
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoAdd a new function to update status 04/254204/4
Hwankyu Jhun [Thu, 25 Feb 2021 03:36:25 +0000 (12:36 +0900)]
Add a new function to update status

The function is to update status synchronously.

Adds:
 - aul_status_update_v2()

Requires:
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/aul-1/+/254204/
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/appcore-agent/+/254205/
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/amd/+/254206/

Change-Id: I5ee199c1dd576fb8d19e4c40d132ce4649f7d3cb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix aul_forward_app function 41/254141/3
Hwankyu Jhun [Wed, 24 Feb 2021 04:48:01 +0000 (13:48 +0900)]
Fix aul_forward_app function

Before sending the launch request, the function sets a new instance ID.

Change-Id: Ie48e2b0489f507ea90c1e057d9fdcfa5d4f01074
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix getting widget db path 65/253665/1
Hwankyu Jhun [Tue, 16 Feb 2021 07:32:08 +0000 (16:32 +0900)]
Fix getting widget db path

When the user is not a globalapp user, the db path should be created
using TZ_USER_DB.

Change-Id: I256b722cbeb9133cc75e2ce99428ed4018365acf
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 0.31.0 50/252350/1 accepted/tizen/unified/20210128.132340 submit/tizen/20210127.052123 submit/tizen/20210127.075110
Hwankyu Jhun [Wed, 27 Jan 2021 05:12:06 +0000 (14:12 +0900)]
Release version 0.31.0

Changes:
 - Add new functions for listening app lifecycle state

Change-Id: I82285fcacb461b8e7a2b5c7fd33bd4a2c4493202
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoAdd new functions for listening app lifecycle state 30/251730/3
Hwankyu Jhun [Tue, 19 Jan 2021 03:44:01 +0000 (12:44 +0900)]
Add new functions for listening app lifecycle state

Adds:
 - aul_app_lifecycle_register_state_changed_cb()
 - aul_app_lifecycle_deregister_state_changed_cb()
 - aul_app_lifecycle_update_state()

Change-Id: Idc1f822aebe4a0cdad014f13ed23ecfafab71bf5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 0.30.2 39/251439/1 accepted/tizen/unified/20210118.141056 submit/tizen/20210114.024630
Hwankyu Jhun [Thu, 14 Jan 2021 01:15:23 +0000 (10:15 +0900)]
Release version 0.30.2

Changes:
 - Fix fast launch option of app_launcher tool

Change-Id: Ia4f43b170c914fe601573959d7c44d408d96860a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix fast launch option of app_launcher tool 33/251333/1
Hwankyu Jhun [Tue, 12 Jan 2021 23:15:01 +0000 (08:15 +0900)]
Fix fast launch option of app_launcher tool

Currently, the app_launcher tool checks whether the socket of AMD exists or NOT.
If AMD initialization is slow, the launch request of the tool is delayed.
After this patch is applied, the tool sends the launch request to the launchpad
directly if AMD is not ready.

Change-Id: Ic96dcf54263f52ac8723afdbc530b5cb61863000
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 0.30.1 30/250930/1 accepted/tizen/unified/20210107.123450 submit/tizen/20210106.013810 submit/tizen/20210106.075329
SukHyung, Kang [Wed, 6 Jan 2021 01:14:10 +0000 (10:14 +0900)]
Release version 0.30.1

Changes:
- Add parser for widget-component

Change-Id: I771becca9da82d7c3181132a1dc1f8ce816b3f4b
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
3 years agoAdd parser for widget-component 84/248184/11
SukHyung, Kang [Mon, 23 Nov 2020 09:50:44 +0000 (18:50 +0900)]
Add parser for widget-component

Change-Id: I8fd9fee68d98eb517da1a764745768f4e60c8421
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
3 years agoRelease version 0.30.0 52/250652/1 accepted/tizen/unified/20210101.123059 submit/tizen/20201231.025220 submit/tizen/20201231.042609
Hwankyu Jhun [Thu, 31 Dec 2020 00:40:01 +0000 (09:40 +0900)]
Release version 0.30.0

Changes:
 - Add Component Port API

Change-Id: I85faab68588cefbdd0feda3a24a0023813dcf175
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoAdd Component Port API 80/250180/5
Hwankyu Jhun [Mon, 21 Dec 2020 23:59:46 +0000 (08:59 +0900)]
Add Component Port API

To support component-based port API, the functions are added.
When calling aul_component_port_create(), AMD creates a socket.
AMD passes a file descriptor to the caller component.
And then, the component waits for events using the received file descriptor.

Adds:
 - aul_component_port_exist()
 - aul_component_port_create()
 - aul_component_port_destroy()

Requires:
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/amd/+/250187/
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/launchpad/+/250199/

Change-Id: I3f00461c8487854e0d8c84fa93b50c49f359e80c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 0.29.0 88/250588/2 accepted/tizen/unified/20201231.125016 submit/submit/tizen/20201230.031812/20201230.031906 submit/tizen/20201230.032516 submit/tizen/20201230.055427
Changgyu Choi [Wed, 30 Dec 2020 02:33:53 +0000 (11:33 +0900)]
Release version 0.29.0

Changes:
 - Add widget status communication functions
 - Add screen type for component based app

Change-Id: Ib0d9d84645b9c2ffb41b4f6e876740b138fb5388
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoAdd screen type for component based app 91/248991/8
Changgyu Choi [Fri, 4 Dec 2020 06:07:29 +0000 (15:07 +0900)]
Add screen type for component based app

Change-Id: I3548f0db20cdbe42af62d232f8a734db9da83334
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoAdd widget status communication functions 61/248761/2
hyunho [Wed, 2 Dec 2020 05:32:13 +0000 (14:32 +0900)]
Add widget status communication functions

Change-Id: Id4c764a3b8bc9382e0daea9b35732ecb5c7f41cb
Signed-off-by: hyunho <hhstark.kang@samsung.com>
3 years agoRelease version 0.28.5 09/248709/1 accepted/tizen/unified/20201208.123224 submit/tizen/20201201.230614 submit/tizen/20201203.031040
Hwankyu Jhun [Tue, 1 Dec 2020 22:21:57 +0000 (07:21 +0900)]
Release version 0.28.5

Changes:
 - Remove unused _tmpfilesdir macro
 - Add exceptions about memory allocation

Change-Id: I8af6b33e7be14d2849eab74d121f9288e1524e2c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoAdd exceptions about memory allocation 16/248616/2
Hwankyu Jhun [Tue, 1 Dec 2020 02:14:48 +0000 (11:14 +0900)]
Add exceptions about memory allocation

Change-Id: Ifa398d8094573e98c5aa694b52d6dda35a5393eb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRemove unused _tmpfilesdir macro 61/248561/1
INSUN PYO [Mon, 30 Nov 2020 04:14:38 +0000 (13:14 +0900)]
Remove unused _tmpfilesdir macro

Change-Id: Id4bcc942b6b353a332c0558a87aca4a14c3279a6

3 years agoRelease version 0.28.4 40/247540/1 accepted/tizen/6.0/unified/20201113.014610 accepted/tizen/unified/20201113.130837 submit/tizen/20201112.031807 submit/tizen_6.0/20201112.032144
Hwankyu Jhun [Thu, 12 Nov 2020 02:47:36 +0000 (11:47 +0900)]
Release version 0.28.4

Changes:
 - FIx memory leak

Change-Id: I53a10bb7cc862b0cb7fa618f28bf2a3375d7414e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFIx memory leak 10/247410/2
hyunho [Tue, 10 Nov 2020 11:06:42 +0000 (20:06 +0900)]
FIx memory leak

Change-Id: I4c6d61a71b3cb734efed1e6e40fd8568edb9ec0b
Signed-off-by: hyunho <hhstark.kang@samsung.com>
3 years agoRelease version 0.28.3 61/247361/1 accepted/tizen/6.0/unified/20201111.064831 accepted/tizen/unified/20201111.124817 submit/tizen/20201110.022114 submit/tizen_6.0/20201110.063750
Hwankyu Jhun [Tue, 10 Nov 2020 06:33:40 +0000 (15:33 +0900)]
Release version 0.28.3

Changes:
 - Add missing implementations

Change-Id: Ifc7fda22be07a607a528d2d13a37b4c53159fc1c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoAdd missing implementations 39/247339/1
Hwankyu Jhun [Tue, 10 Nov 2020 04:22:28 +0000 (13:22 +0900)]
Add missing implementations

If the alias info does not exist when the package is updating,
the PKGMGR_MDPARSER_PLUGIN_REMOVED() is called. We should remove the
information from the database.

Change-Id: I5199244be842bf2df5ce9e9939b9d6e32826c5b6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 0.28.2 01/246201/1 accepted/tizen/6.0/unified/20201110.010748 accepted/tizen/unified/20201028.123835 submit/tizen/20201027.014125 submit/tizen_6.0/20201105.013641 submit/tizen_6.0/20201108.233605
Hwankyu Jhun [Tue, 27 Oct 2020 01:27:50 +0000 (10:27 +0900)]
Release version 0.28.2

Changes:
 - Add a new test case to app-control-tests
 - Close IO channel before releasing it
 - Fix Metadata Plugin Parser

Change-Id: Ia8c06653c3e098f91b55f881ffe03f81ef756dfc
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoFix Metadata Plugin Parser 75/245975/5
Hwankyu Jhun [Wed, 21 Oct 2020 05:26:10 +0000 (14:26 +0900)]
Fix Metadata Plugin Parser

After this patch is applied, a commit is performed in step methods.
The StepBackup() is added to save previous data. If the installation
is failed, previous data will be applied to the database.

Change-Id: I0b1290315b00dff6a93c90162daa0e15c2b7b3e6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoClose IO channel before releasing it 14/246014/1
Hwankyu Jhun [Thu, 22 Oct 2020 05:26:40 +0000 (14:26 +0900)]
Close IO channel before releasing it

Change-Id: I7b9b7e17d21f28c1b9944076dec197de5b3ee3a0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoAdd a new test case to app-control-tests 65/245965/1
Hwankyu Jhun [Tue, 20 Oct 2020 23:12:44 +0000 (08:12 +0900)]
Add a new test case to app-control-tests

Adds:
 - app_control_resolution_multi_share_video_mp4

Change-Id: I20867eb45919ca096c9be67e72877c2fe92d36f2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 0.28.1 45/245245/1 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.122505 accepted/tizen/6.0/unified/hotfix/20201103.004807 accepted/tizen/6.0/unified/hotfix/20201103.052110 accepted/tizen/unified/20201007.020744 submit/tizen/20201006.021427 submit/tizen_6.0/20201029.205102 submit/tizen_6.0_hotfix/20201102.192502 submit/tizen_6.0_hotfix/20201103.114802 tizen_6.0.m2_release
Hwankyu Jhun [Tue, 6 Oct 2020 02:07:25 +0000 (11:07 +0900)]
Release version 0.28.1

Changes:
 - Check AUL process ID

Change-Id: I2fa7f195eadf566cf95455a321a47aa0aca57e65
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoCheck AUL process ID 05/245205/5
Hwankyu Jhun [Mon, 5 Oct 2020 10:09:28 +0000 (19:09 +0900)]
Check AUL process ID

If the AUL process ID is not equal to current process ID, AUL creates
a new app socket.

Change-Id: Ia353ec7ff4505b8174365eb8c435b18dbb069361
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 0.28.0 52/245152/1 submit/tizen/20201005.002923 submit/tizen/20201005.080324
Hwankyu Jhun [Sun, 4 Oct 2020 23:36:56 +0000 (08:36 +0900)]
Release version 0.28.0

Changes:
 - Remove implicit launch resolution

Change-Id: I5f873427352f2c42407421a6879c09728e931972
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRemove implicit launch resolution 88/244588/8
Hwankyu Jhun [Tue, 22 Sep 2020 06:16:59 +0000 (15:16 +0900)]
Remove implicit launch resolution

To improve implicit launch performance, AMD finds the matched
applications when getting the implicit launch request.
This patch adds an executable file that is app-control-tests.
We can test implicit launch using app-control-tests.

Requires:
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/amd/+/244538/

Change-Id: Ib619e9b85a6cfdefef99bf7b380d3c29c1f571e9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 0.27.5 86/244286/1 accepted/tizen/unified/20200917.141801 submit/tizen/20200916.222341
Hwankyu Jhun [Wed, 16 Sep 2020 22:55:55 +0000 (07:55 +0900)]
Release version 0.27.5

Changes:
 - Adjust scope of global variables

Change-Id: I4576dfff4991f06ffab0abce1af93445b76d6378
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoAdjust scope of global variables 72/243872/1
Hwankyu Jhun [Fri, 11 Sep 2020 00:27:10 +0000 (09:27 +0900)]
Adjust scope of global variables

This patch adds "static" keyword to global variables.
And, the name that is "white" is changed to "allowed".

Change-Id: Ibd803143327d9cf9892475d5f9781109f53cd8b3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 0.27.4 13/243813/1 accepted/tizen/unified/20200914.131511 submit/tizen/20200910.220800
Hwankyu Jhun [Thu, 10 Sep 2020 07:57:30 +0000 (16:57 +0900)]
Release version 0.27.4

Changes:
 - Use strndup() instread of strdup()

Change-Id: Ib3cdb42cc10374fa914b68421e7eaf4e6a2bcd59
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoUse strndup() instread of strdup() 58/243358/1
Hwankyu Jhun [Mon, 7 Sep 2020 05:08:45 +0000 (14:08 +0900)]
Use strndup() instread of strdup()

Calling strlen(str1) is not equal to str1_len.

Change-Id: I0cda3073b37aa27e3281140c5c19ec37ed3b60bd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 0.27.3 99/243199/1 accepted/tizen/unified/20200907.023453 submit/tizen/20200904.030216
Hwankyu Jhun [Fri, 4 Sep 2020 01:36:30 +0000 (10:36 +0900)]
Release version 0.27.3

Changes:
 - Fix allowed appid plugin parser

Change-Id: I8dc0767a5c63c572a560d2784090ec25643330eb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoFix allowed appid plugin parser 96/243096/2
Hwankyu Jhun [Thu, 3 Sep 2020 05:30:02 +0000 (14:30 +0900)]
Fix allowed appid plugin parser

This patch supports "|" delimiter to split the value string.

+----------------------------------------------------------+
| e.g. org.tizen.hello & org.tizen.tizen                   |
| <metadata key="http://tizen.org/metadata/allowedappid"   |
|           value="org.tizen.hello|org.tizen.tizen"/>      |
+----------------------------------------------------------+

Change-Id: I9cfd2f7fcbc55d59650891e87d7206dc5f1193ef
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 0.27.2 87/242187/1 accepted/tizen/unified/20200827.105739 submit/tizen/20200825.004156
Changgyu Choi [Tue, 25 Aug 2020 00:40:30 +0000 (09:40 +0900)]
Release version 0.27.2

Changes:
 - Add exception handling

Change-Id: If3c0d37f20a92d311446e7bd75f1d8ebfa8bda91
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 years agoAdd exception handling 85/242185/3
Changgyu Choi [Tue, 25 Aug 2020 00:22:16 +0000 (09:22 +0900)]
Add exception handling

Change-Id: I4f8e53fe51f698708a0ddc59e814c1ff7801d587
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 years agoRelease version 0.27.1 08/242108/1 accepted/tizen/unified/20200827.105730 submit/tizen/20200824.070351
Changgyu Choi [Mon, 24 Aug 2020 06:48:35 +0000 (15:48 +0900)]
Release version 0.27.1

Changes:
 - Fix coding style
 - Add exception handling

Change-Id: Ibee8849e9d8143b4bd927ec7a3fed17b1b67e5b6
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 years agoAdd exception handling 76/242076/3
Changgyu Choi [Mon, 24 Aug 2020 04:28:32 +0000 (13:28 +0900)]
Add exception handling

Change-Id: If10942309d555809833b28441ed6ff24994e1635
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 years agoFix coding style 03/241903/1
Hwankyu Jhun [Thu, 20 Aug 2020 23:05:07 +0000 (08:05 +0900)]
Fix coding style

Change-Id: I51950ff599ff4310e52af7d42d1d79093a5c426c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 0.27.0 99/241299/1 accepted/tizen/unified/20200820.034757 submit/tizen/20200819.053907 submit/tizen/20200819.085923
Hwankyu Jhun [Wed, 19 Aug 2020 05:33:49 +0000 (14:33 +0900)]
Release version 0.27.0

Changes:
 - Add annotation for unused command
 - Fix AUL metadata plugin parser
 - Refactor AUL metadata plugin parser

Change-Id: I0029839ab28f65c880a2c443ae799b6fb641336c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRefactor AUL metadata plugin parser 77/241277/6
Hwankyu Jhun [Wed, 19 Aug 2020 04:09:17 +0000 (13:09 +0900)]
Refactor AUL metadata plugin parser

This patch separates plugins from aul-parser.
alias-appid-plugin and allowed-appid-plugin are added.
When calling PKGMGR_MDPARSER_PLUGIN_CLEAN(), the plugins write the
metadata to the database.

Change-Id: Ib6bb7b3663fe851d696b70ccf525410819b73fbd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoFix AUL metadata plugin parser 58/241058/6
Hwankyu Jhun [Tue, 18 Aug 2020 01:43:29 +0000 (10:43 +0900)]
Fix AUL metadata plugin parser

- Adds db integrty check & busy handler
- Fixes data deletion from appsvc db
- Adds missing interfaces of pkgmgr metadata plugin

Change-Id: Ieaf5f4dbfbf49d6384ef355e9d5480fdb310d218
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoAdd annotation for unused command 22/241022/1
Hwankyu Jhun [Fri, 14 Aug 2020 01:43:25 +0000 (10:43 +0900)]
Add annotation for unused command

Change-Id: Id25855df43ca446f9ff49a04f65619d0137e007e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 0.26.1 50/240950/1 accepted/tizen/unified/20200814.123136 submit/tizen/20200813.052855 submit/tizen/20200813.061422
Hwankyu Jhun [Thu, 13 Aug 2020 05:29:06 +0000 (14:29 +0900)]
Release version 0.26.1

Changes:
 - Remove compile warning message
 - Fix coding style

Change-Id: I5547b9f670041963b9948a19a5b2fc498f3b7f8e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoFix coding style 16/240916/1
Hwankyu Jhun [Thu, 13 Aug 2020 00:27:49 +0000 (09:27 +0900)]
Fix coding style

Change-Id: Iaaadbdc7d772dc2026d59df7ba00c0c2b5f8da65
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRemove compile warning message 30/240730/1
Hwankyu Jhun [Tue, 11 Aug 2020 04:14:17 +0000 (13:14 +0900)]
Remove compile warning message

Change-Id: I8d330eefee4cf3418bd427d5f692fdac9ddd6902
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 0.26.0 02/240502/1 accepted/tizen/unified/20200810.123051 submit/tizen/20200807.041029 submit/tizen/20200809.223433
Hwankyu Jhun [Fri, 7 Aug 2020 02:55:19 +0000 (11:55 +0900)]
Release version 0.26.0

Changes:
 - Add new functions to add app group
 - Change timeout parameter option

Change-Id: I5ced8f0682f8c43aac8ff1e7b73f163d3dce1423
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoChange timeout parameter option 58/240158/10
Changgyu Choi [Tue, 4 Aug 2020 04:52:33 +0000 (13:52 +0900)]
Change timeout parameter option

Change timeout parameter to millisecond.
If "timeout_msec == -1", set default timeout(5s).
Else if "timeout_msec == INT_MAX", then not set(infinity).

Change-Id: I219e8defab34c90ee9b0aeb0eb4c0afcc9533743
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 years agoAdd new functions to add app group 30/240130/5
Hwankyu Jhun [Tue, 4 Aug 2020 00:23:11 +0000 (09:23 +0900)]
Add new functions to add app group

The application can add a new app group to the app group.
The window will be attached to the app group of the main window.

Adds:
 - aul_app_group_add()
 - aul_app_group_remove()

Change-Id: I5432e2fa5d3e6354d4e6e4c2d2b70034cdfc6113
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 0.25.8 52/240252/1 accepted/tizen/unified/20200806.062516 submit/tizen/20200805.072116 submit/tizen/20200805.223346
Hwankyu Jhun [Wed, 5 Aug 2020 01:12:29 +0000 (10:12 +0900)]
Release version 0.25.8

Changes:
 - Add asynchronous app com constructor

Change-Id: I76eb04057e22fb6c955db978445abcec973c2a7a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoAdd asynchronous app com constructor 46/240246/3
Hwankyu Jhun [Tue, 4 Aug 2020 23:52:30 +0000 (08:52 +0900)]
Add asynchronous app com constructor

To avoid getting the error from app com creation, app event functions
use aul_app_com_create_async() instead of aul_app_com_create().

Adds:
 - aul_app_com_create_async()

Change-Id: Ic96398eae7580c736255b28a7df5d764837d1ed1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 0.25.7 98/240098/1 submit/tizen/20200803.090631 submit/tizen/20200804.001428
Changgyu Choi [Mon, 3 Aug 2020 08:35:58 +0000 (17:35 +0900)]
Release version 0.25.7

Changes:
 - Prepare unit test
 - Fix endpoint setting

Change-Id: Ida55244abba211c698e5aeae83980aee6c5f5fcb
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 years agoFix endpoint setting 93/240093/1
Changgyu Choi [Mon, 3 Aug 2020 07:55:15 +0000 (16:55 +0900)]
Fix endpoint setting

Change-Id: Ic2916f073867f146a499d98fa15c6e773c99cf82
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 years agoPrepare unit test 72/239572/1
Hwankyu Jhun [Mon, 27 Jul 2020 23:40:19 +0000 (08:40 +0900)]
Prepare unit test

Change-Id: I994d5c4ac92e6a53e936058255396da0fa6213bb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 0.25.6 38/239038/1 accepted/tizen/unified/20200722.014923 submit/tizen/20200721.091425
Hwankyu Jhun [Tue, 21 Jul 2020 08:57:36 +0000 (17:57 +0900)]
Release version 0.25.6

Changes:
 - Refactor Client & Socket
 - Fix App Com

Change-Id: I82e2c7039e2f9fb8cab60618949e7f8bec79e276
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoFix App Com 07/238907/1
Hwankyu Jhun [Mon, 20 Jul 2020 06:54:34 +0000 (15:54 +0900)]
Fix App Com

- Changes return values
- Initializes aul launch to communicate

Change-Id: I44120e19a01515be8bc7b0175b2b65d259621cac
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRefactor Client & Socket 55/238855/7
Changgyu Choi [Mon, 20 Jul 2020 00:18:51 +0000 (09:18 +0900)]
Refactor Client & Socket

 - Remove "is_client" from Socket
 - Add "SetTimeout()" from Socket
 - Add "timesec" parameter from "Client()"

The Difference from whether "is_client" or not is just "SetOption()".
So it more proper than using "is_client" that adding "SetTimeout()".
"timesec" need to set timeout. If "timesec == -1", recv timeout is infinity.
Default is 5sec.

Change-Id: I91728697f19c0e4dc29d3c2bf10d674f3f5579e7
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 years agoRelease version 0.25.5 48/238448/1 accepted/tizen/unified/20200715.002107 submit/tizen/20200714.042458
Hwankyu Jhun [Tue, 14 Jul 2020 04:20:29 +0000 (13:20 +0900)]
Release version 0.25.5

Changes:
 - Fix functions related to attach/detach window

Change-Id: I1d6592e4c738bb4be86ac26e3410f20e046f183f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoFix functions related to attach/detach window 41/238441/1
Hwankyu Jhun [Tue, 14 Jul 2020 03:41:08 +0000 (12:41 +0900)]
Fix functions related to attach/detach window

- Changes return values

Change-Id: I3b5898f5f6f96d8bd70098b160c77a030c005d1a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 0.25.4 22/238422/1 submit/tizen/20200714.005539
Hwankyu Jhun [Tue, 14 Jul 2020 01:23:01 +0000 (10:23 +0900)]
Release version 0.25.4

Changes:
 - Fix app event functions
 - Activate retry count

Change-Id: I30cc4b0b79d659c2c8b31e35b85faaeb5268a42a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoActivate retry count 88/238388/3
Changgyu Choi [Tue, 14 Jul 2020 01:18:15 +0000 (10:18 +0900)]
Activate retry count

Change-Id: Ib699539dd035d3446b100b3dedaf1a1fa3cee872
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 years agoFix app event functions 56/238356/2
Hwankyu Jhun [Mon, 13 Jul 2020 05:00:35 +0000 (14:00 +0900)]
Fix app event functions

To listen all applciation status events, the aul_app_event_create() is
modified. The appid parameter of the aul_app_event_create() is removed.
And, the aul_app_event_create_with_appid() is added.

Modifies:
 - aul_app_event_create()

Adds:
 - aul_app_event_create_with_appid();

Requires:
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/aul-1/+/238356/

Change-Id: I7d9b9b669d0c718ccf46669bccaf0bbe9b1f8ab0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 0.25.3 34/238134/1 accepted/tizen/unified/20200709.164623 submit/tizen/20200709.010810
Hwankyu Jhun [Thu, 9 Jul 2020 01:02:38 +0000 (10:02 +0900)]
Release version 0.25.3

Changes:
 - Fix wrong implementation

Change-Id: I38f629d81ffe5c7ef9a603e9bbef81a878dbc48d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoFix wrong implementation 03/238103/1
Hwankyu Jhun [Wed, 8 Jul 2020 11:37:17 +0000 (20:37 +0900)]
Fix wrong implementation

Change-Id: I4338f2af51921c1603de3fac6b4dd07af0906d80
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 0.25.2 01/236401/1 accepted/tizen/unified/20200619.004547 submit/tizen/20200617.005410 submit/tizen/20200618.034155
Hwankyu Jhun [Wed, 17 Jun 2020 00:54:43 +0000 (09:54 +0900)]
Release version 0.25.2

Changes:
 - Move files to separated directories

Change-Id: If7e21510fae11dbdba681686d0c4462cea8ebaca
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoMove files to separated directories 95/236295/1
Hwankyu Jhun [Tue, 16 Jun 2020 06:04:25 +0000 (15:04 +0900)]
Move files to separated directories

Creates directories:
 - aul/app_manager
 - aul/common
 - aul/socket

Change-Id: I86a89dccad8bddf0c13082467e5f5c52eec6371f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 0.25.1 65/236165/1 accepted/tizen/unified/20200616.170940 submit/tizen/20200615.090918 submit/tizen/20200616.005951
Hwankyu Jhun [Mon, 15 Jun 2020 08:52:45 +0000 (17:52 +0900)]
Release version 0.25.1

Changes:
 - Fix wrong declarations

Change-Id: I1ccf69be4b8915e7affc80f75d9ce48462c56b0d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoFix wrong declarations 56/236156/1
Hwankyu Jhun [Mon, 15 Jun 2020 08:16:03 +0000 (17:16 +0900)]
Fix wrong declarations

Change-Id: I57769291b3cc533559ef2326b85a2b5611100936
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 0.25.0 38/236138/1 submit/tizen/20200615.072923
Hwankyu Jhun [Mon, 15 Jun 2020 07:18:06 +0000 (16:18 +0900)]
Release version 0.25.0

Changes:
 - Fix bug for aul_app_com_send
 - Add new functions for getting app context

Change-Id: I8a407c9d653b0a032f9a470c59e008a381bfac0e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>