platform/core/appfw/aul-1.git
5 years agoAdd a result value for out of memory 20/204420/1
Hwankyu Jhun [Wed, 24 Apr 2019 00:34:24 +0000 (09:34 +0900)]
Add a result value for out of memory

Adds:
 - AUL_R_ENOMEM

Change-Id: I5570145d765a0ce3a09c9871b5c476798cbede47
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoModify retrieving components information 18/204418/2
Hwankyu Jhun [Tue, 23 Apr 2019 23:28:59 +0000 (08:28 +0900)]
Modify retrieving components information

The name of the 'aul_comp_info_foreach()' is changed to
'aul_comp_info_foreach_from_app()'.
To retrieve all installed components information,
the 'aul_comp_info_foreach()' is added.

Change-Id: I32553fddeefdbb1f7c61ea26e923a4c315c81d05
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoFix a wrong implementation 34/204334/1
Hwankyu Jhun [Tue, 23 Apr 2019 06:48:16 +0000 (15:48 +0900)]
Fix a wrong implementation

The aul_comp_context_cb function type is changed.

Change-Id: I65db9de942d673a36188c992ca4b93da9f2a9411
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.16.0 88/204288/1 accepted/tizen/unified/20190423.113445 submit/tizen/20190423.033848
Hwankyu Jhun [Tue, 23 Apr 2019 03:32:02 +0000 (12:32 +0900)]
Release version 0.16.0

Changes:
 - Add new functions for retrieving running component context
 - Fix component plugin parser
 - Fix resource leak
 - Add new functions to handling running components

Change-Id: I33662d54deeec39200428ec71b3546f986ba8f85
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoAdd new functions to handling running components 60/204260/8
Hwankyu Jhun [Mon, 22 Apr 2019 10:23:48 +0000 (19:23 +0900)]
Add new functions to handling running components

Adds:
 - aul_comp_context_create()
 - aul_comp_context_create_usr()
 - aul_comp_context_destroy()
 - aul_comp_context_clone()
 - aul_comp_context_is_running()
 - aul_comp_context_resume()
 - aul_comp_context_pause()
 - aul_comp_context_terminate_bg_comp()
 - aul_comp_context_terminate()

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

Change-Id: I6bdec5c297cb36e3044470525c028bc58bc943d5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoFix resource leak 76/204276/1
Hwankyu Jhun [Tue, 23 Apr 2019 01:14:50 +0000 (10:14 +0900)]
Fix resource leak

Change-Id: Ia4466294a41baa9dd82b68338afacd730b658946
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoFix component plugin parser 25/204225/1
Hwankyu Jhun [Mon, 22 Apr 2019 07:04:07 +0000 (16:04 +0900)]
Fix component plugin parser

If the icon is not an absolute path, the parser creates the absolute
path using the app root path.

Change-Id: Icdeb511bdacaa7677d556f5f22016347487d7748
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoAdd new functions for retrieving running component context 05/203105/9
Hwankyu Jhun [Wed, 10 Apr 2019 02:16:29 +0000 (11:16 +0900)]
Add new functions for retrieving running component context

Adds:
 - aul_comp_context_foreach()
 - aul_comp_context_foreach_usr()
 - aul_comp_context_get_app_id()
 - aul_comp_context_get_instance_id()
 - aul_comp_context_get_comp_id()
 - aul_comp_context_get_type()
 - aul_comp_context_get_pid()
 - aul_comp_context_get_status()
 - aul_comp_context_is_sub_comp()

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

Change-Id: Ic1757e8ccea42339677ccffe444ca56efc362300
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.15.0 59/203659/1 accepted/tizen/unified/20190417.050117 submit/tizen/20190416.232842
Hwankyu Jhun [Tue, 16 Apr 2019 22:35:56 +0000 (07:35 +0900)]
Release version 0.15.0

Changes:
 - Add a new pkgmgr parser plugin for component-based application
 - Fix wrong db path
 - Add new functions for getting component information

Change-Id: I986665782318a34db85eab9c9a86675500884d56
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoAdd new functions for getting component information 78/203578/4
Hwankyu Jhun [Tue, 16 Apr 2019 04:52:23 +0000 (13:52 +0900)]
Add new functions for getting component information

Adds:
 - aul_comp_info_create()
 - aul_comp_info_create_usr()
 - aul_comp_info_destroy()
 - aul_comp_info_clone()
 - aul_comp_info_get_app_id()
 - aul_comp_info_get_comp_id()
 - aul_comp_info_get_type()
 - aul_comp_info_get_launch_mode()
 - aul_comp_info_is_main_comp()
 - aul_comp_info_is_icon_display()
 - aul_comp_info_is_taskmanage()
 - aul_comp_info_get_icon()
 - aul_comp_info_get_label()
 - aul_comp_info_get_localed_label()
 - aul_comp_info_get_usr_localed_label()
 - aul_comp_info_foreach()
 - aul_comp_info_foreach_usr()

Change-Id: Iec3882fffe488dd413cd40faa0a3eeda60690e3f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoFix wrong db path 48/203548/1
Hwankyu Jhun [Tue, 16 Apr 2019 00:55:20 +0000 (09:55 +0900)]
Fix wrong db path

Change-Id: I768cd081dddaf5045652612fbe9d2ff59a7477ac
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoAdd a new pkgmgr parser plugin for component-based application 14/203514/5
Hwankyu Jhun [Wed, 10 Apr 2019 23:10:49 +0000 (08:10 +0900)]
Add a new pkgmgr parser plugin for component-based application

Change-Id: I8a677cbfbea0760b8cc91e3f4b33b391b460d2f2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.14.0 20/202820/1 accepted/tizen/unified/20190406.011021 submit/tizen/20190405.011027
Hwankyu Jhun [Thu, 4 Apr 2019 23:25:49 +0000 (08:25 +0900)]
Release version 0.14.0

Changes:
 - Add new functions for component-based app group feature

Change-Id: Id2ab465ebcadd9badb66e770edc78e7d440c739d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoAdd new functions for component-based app group feature 09/202509/12
Hwankyu Jhun [Fri, 29 Mar 2019 07:38:45 +0000 (16:38 +0900)]
Add new functions for component-based app group feature

Adds:
 - aul_svc_set_caller_instance_id()
 - aul_svc_set_comp_id()
 - aul_svc_get_comp_id()
 - aul_app_group_set_window_v2()
 - aul_app_group_lower_v2()
 - aul_app_group_foreach_leader_ids()
 - aul_app_group_foreach_group_info()
 - aul_app_group_foreach_idle_info()
 - aul_app_group_info_get_id()
 - aul_app_group_info_get_pid()
 - aul_app_group_info_get_appid()
 - aul_app_group_info_get_pkgid()
 - aul_app_group_info_get_window()
 - aul_app_group_info_get_fg_flag()
 - aul_app_group_info_get_status()

Change-Id: I73a8c48434900b8f641c4b63713b8b90892bcffc
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.13.0 14/202014/1 accepted/tizen/unified/20190325.070939 submit/tizen/20190322.022720 submit/tizen/20190322.074409 submit/tizen/20190324.065235
Hwankyu Jhun [Fri, 22 Mar 2019 02:09:55 +0000 (11:09 +0900)]
Release version 0.13.0

Changes:
 - Add a new definition for component-based application
 - Add new functions for component-based application
 - Remove using /dev/random device node

Change-Id: I7fcad21263eb2a0629c79c58c9d076d1c4e40af5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRemove using /dev/random device node 07/202007/1
Hwankyu Jhun [Thu, 21 Mar 2019 23:46:43 +0000 (08:46 +0900)]
Remove using /dev/random device node

Sometimes, reading the data from "/dev/random" is very slow.
It causes that the launch request is delayed.
This patch uses rand_r() function instead of "/dev/random".

- Strace Result:
07:02:42.263885 open("/dev/random", O_RDONLY) = 52 <0.000091>
07:02:42.264160 read(52, "\335\345\32\223", 4) = 4 <15.115966>
07:02:57.380340 close(52)         = 0 <0.000092>

Change-Id: If000be930ac868fde31683a626cc99a62c3089a7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoAdd new functions for component-based application 10/201810/6
Hwankyu Jhun [Wed, 20 Mar 2019 00:01:24 +0000 (09:01 +0900)]
Add new functions for component-based application

Adds:
 - aul_comp_status_update()
 - aul_comp_notify_start()
 - aul_comp_notify_exit()

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

Change-Id: Iba57157ea5318ac4417b47b92f5dc7e357b1d16e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoAdd a new definition for component-based application 33/201733/1
Hwankyu Jhun [Tue, 19 Mar 2019 06:14:33 +0000 (15:14 +0900)]
Add a new definition for component-based application

Added:
 - AUL_K_COMPONENT_ID

Change-Id: Ide441f884830f9105a3151285694d3a319167d6e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.12.3 15/201615/1 accepted/tizen/unified/20190319.051306 submit/tizen/20190318.075201
Hwankyu Jhun [Mon, 18 Mar 2019 07:49:35 +0000 (16:49 +0900)]
Release version 0.12.3

Changes:
 - Fix wrong URI resolution

Change-Id: I30ec9d8229f7818af7047e4f4d76316f3682b7b5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoFix wrong URI resolution 94/201594/3
Hwankyu Jhun [Mon, 18 Mar 2019 05:27:14 +0000 (14:27 +0900)]
Fix wrong URI resolution

Change-Id: If7dc357f3eae2829ac9be012e19ad112742881e9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.12.2 84/201084/1 accepted/tizen/unified/20190311.072533 submit/tizen/20190308.063707
Hwankyu Jhun [Fri, 8 Mar 2019 06:34:09 +0000 (15:34 +0900)]
Release version 0.12.2

Changes:
 - Separate AUL key definitions from aul header file

Change-Id: I5a35b2ea2bfd8337e2f0f6a2d6c6af6d93b624c2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoSeparate AUL key definitions from aul header file 79/200879/4
Hwankyu Jhun [Tue, 5 Mar 2019 08:41:58 +0000 (17:41 +0900)]
Separate AUL key definitions from aul header file

Added:
 - aul_key.h

Change-Id: Ia34b05749c9ee3fb9a965d3fd82cd4d4fd3d8f16
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.12.1 30/200530/1 accepted/tizen/unified/20190307.230937 submit/tizen/20190226.092637
Hwankyu Jhun [Tue, 26 Feb 2019 07:49:34 +0000 (16:49 +0900)]
Release version 0.12.1

Changes:
 - Fix fd leak

Change-Id: I87bf6d96b536c891facbd1fd938753e7a732cc81
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoFix fd leak 24/200524/2
Hwankyu Jhun [Tue, 26 Feb 2019 07:19:40 +0000 (16:19 +0900)]
Fix fd leak

Change-Id: Id3d6f53305f5b44de06561adc4d520c35b321351
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.12.0 73/200173/1 accepted/tizen/unified/20190221.015405 submit/tizen/20190220.043748
Hwankyu Jhun [Tue, 19 Feb 2019 23:12:37 +0000 (08:12 +0900)]
Release version 0.12.0

Changes:
 - Fix wrong log message
 - Fix wrong exceptions
 - Support handling of each app-control ID

Change-Id: If7c3353623831ba7696201210c5c441de1a7bdd6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoSupport handling of each app-control ID 52/199252/6
Hwankyu Jhun [Fri, 8 Feb 2019 01:00:58 +0000 (10:00 +0900)]
Support handling of each app-control ID

Added:
 - aul_svc_info_create()
 - aul_svc_info_get_operation()
 - aul_svc_info_get_uri()
 - aul_svc_info_get_uri_scheme()
 - aul_svc_info_get_uri_host()
 - aul_svc_info_get_mime()
 - aul_svc_info_get_mime_type()
 - aul_svc_info_get_mime_subtype()
 - aul_svc_info_destroy()

Requires:
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/aul-1/+/199252/
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-core/+/199104/
 - https://review.tizen.org/gerrit/#/c/platform/core/api/app-control/+/199105/

Change-Id: I5d274addd6dd724424f8751121ccf3f1af244aeb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoFix wrong exceptions 67/200067/1
Hwankyu Jhun [Tue, 19 Feb 2019 00:36:57 +0000 (09:36 +0900)]
Fix wrong exceptions

Change-Id: I3f5cee6f56c58bcfc1dcb690497dbe98316c20bb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoFix wrong log message 35/199835/1
Hwankyu Jhun [Fri, 15 Feb 2019 01:52:06 +0000 (10:52 +0900)]
Fix wrong log message

Change-Id: I9d1fd68e7143932e0e94dd50163b2984551686e7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.11.2 28/199728/1 accepted/tizen/unified/20190215.055111 submit/tizen/20190214.100151
Hwankyu Jhun [Thu, 14 Feb 2019 08:56:26 +0000 (17:56 +0900)]
Release version 0.11.2

Changes:
 - Convert error value

Change-Id: I8df6a8c3848e84a7399ebd380f2b6c71b9e5849e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoConvert error value 11/199711/2
Hwankyu Jhun [Thu, 14 Feb 2019 07:51:41 +0000 (16:51 +0900)]
Convert error value

Change-Id: I9d5ab00bfbdc9f8d504807c318a9c76255a8b82b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.11.1 59/199659/1 accepted/tizen/unified/20190214.154139 submit/tizen/20190213.070640
Hwankyu Jhun [Wed, 13 Feb 2019 23:59:22 +0000 (08:59 +0900)]
Release version 0.11.1

Changes:
 - Fix sending launch request async

Change-Id: I637f5e806795327e572c24946c7f2eff96e974b1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoFix sending launch request async 36/199636/4
Hwankyu Jhun [Wed, 13 Feb 2019 10:33:33 +0000 (19:33 +0900)]
Fix sending launch request async

After this patch is applied, self-launch is supported.

Change-Id: I411d4382b1a5228a3f2ab287a55086baf6e881ab
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.11.0 63/196363/1 accepted/tizen/unified/20190104.061353 accepted/tizen/unified/20190108.062305 submit/tizen/20190103.231539 submit/tizen/20190107.043655
Hwankyu Jhun [Fri, 28 Dec 2018 00:01:10 +0000 (09:01 +0900)]
Release version 0.11.0

Changes:
 - Add new API for sending launch request synchronously

Change-Id: Iccee03eb40e92786b3343e4716223381f5d412ba
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoAdd new API for sending launch request synchronously 71/195971/5
Hwankyu Jhun [Thu, 20 Dec 2018 07:18:53 +0000 (16:18 +0900)]
Add new API for sending launch request synchronously

Requires:
 - https://review.tizen.org/gerrit/#/c/platform/core/api/app-control/+/195749/
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/aul-1/+/195971/
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/amd/+/196292/

Change-Id: Idc379f9f4ac664446b0c03ee115ba271e8ad1349
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.10.12 21/194721/1 accepted/tizen/unified/20181207.175514 submit/tizen/20181207.051631
Hwankyu Jhun [Fri, 7 Dec 2018 05:14:59 +0000 (14:14 +0900)]
Release version 0.10.12

Changes:
 - Fix a wrong log format

Change-Id: Iac02e4497c24ec18079d987cc9b12ff7ea1d6905
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoFix a wrong log format 12/194712/3
Hwankyu Jhun [Fri, 7 Dec 2018 04:55:24 +0000 (13:55 +0900)]
Fix a wrong log format

Change-Id: Id1af9cf7bdf2dbba5d176533b885de92f7b346bd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.10.11 50/193750/1 accepted/tizen/unified/20181127.073320 submit/tizen/20181126.051432
Hwankyu Jhun [Mon, 26 Nov 2018 05:00:35 +0000 (14:00 +0900)]
Release version 0.10.11

Changes:
 - Fix a bug about aul_app_is_running functions

Change-Id: I87f698b07cdc6ef0bd028e1111ed631ba31f387a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoFix a bug about aul_app_is_running functions 48/193748/2
Hwankyu Jhun [Mon, 26 Nov 2018 04:20:35 +0000 (13:20 +0900)]
Fix a bug about aul_app_is_running functions

If the running application is dying, the aul_app_is_running() function
has to return "false".

Change-Id: I737f77370d662f08ee6fa4b88c20aa1a27189f09
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.10.10 01/193501/1 accepted/tizen/unified/20181122.060320 submit/tizen/20181121.114335
Hwankyu Jhun [Wed, 21 Nov 2018 08:30:08 +0000 (17:30 +0900)]
Release version 0.10.10

Changes:
 - Fix __get_path_from_db

Change-Id: If5cacbf96ccee07f0cef09140899dd707f396339
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoFix __get_path_from_db 36/193336/3
Sangyoon Jang [Tue, 20 Nov 2018 02:05:22 +0000 (11:05 +0900)]
Fix __get_path_from_db

If appid is not given, get appid from current pid.

Change-Id: Ie902a6855b3a9cb991640a86babf923df4e709e2
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoRelease version 0.10.9 84/193284/1 accepted/tizen/5.0/unified/20181119.234629 accepted/tizen/unified/20181120.061321 submit/tizen/20181119.114804 submit/tizen_5.0/20181118.234116
Hwankyu Jhun [Mon, 19 Nov 2018 02:15:37 +0000 (11:15 +0900)]
Release version 0.10.9

Changes:
 - Fix invalid access

Change-Id: Iba5af4e56971ce875729c42a3cffcf022873eef7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFix invalid access 35/193235/1
Hwankyu Jhun [Fri, 16 Nov 2018 10:12:02 +0000 (19:12 +0900)]
Fix invalid access

The reply callback can be invoked before the result callback is invoked.

Change-Id: I119be2009af90d60727dcf24965be87c6361d261
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.10.8 46/192846/1 accepted/tizen/5.0/unified/20181113.090030 accepted/tizen/unified/20181113.085954 submit/tizen/20181112.025350 submit/tizen_5.0/20181112.025411
Hwankyu Jhun [Mon, 12 Nov 2018 02:49:30 +0000 (11:49 +0900)]
Release version 0.10.8

Changes:
 - Dbus policy: apply default deny rule

Change-Id: I1ebda0f4102dd2e91594678109b6e8ff8e109c81
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoDbus policy: apply default deny rule 41/192841/4
Hyotaek Shim [Mon, 12 Nov 2018 02:23:59 +0000 (11:23 +0900)]
Dbus policy: apply default deny rule

Change-Id: I39a55e4453a2d45f43a3531946b8ee4f178921dc
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agoRelease version 0.10.7 13/192613/1 accepted/tizen/5.0/unified/20181109.062712 accepted/tizen/unified/20181108.074546 submit/tizen/20181107.100036 submit/tizen_5.0/20181107.024944
Hwankyu Jhun [Wed, 7 Nov 2018 02:34:34 +0000 (11:34 +0900)]
Release version 0.10.7

Changes:
 - Fix wrong log format

Change-Id: I00bf711934f297bf0ed405e36af22c4b56f94a44
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFix wrong log format 83/192583/1
Hwankyu Jhun [Tue, 6 Nov 2018 23:26:54 +0000 (08:26 +0900)]
Fix wrong log format

Change-Id: Id9894ac43f9502396a9cdc7d787d480874fad3fd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.10.6 11/192411/1 accepted/tizen/5.0/unified/20181106.070443 accepted/tizen/unified/20181107.082142 submit/tizen/20181105.231947 submit/tizen/20181106.094703 submit/tizen_5.0/20181105.232117
Hwankyu Jhun [Mon, 5 Nov 2018 09:42:54 +0000 (18:42 +0900)]
Release version 0.10.6

Changes:
 - Fix RPC-Port function

Change-Id: I26068c703bc5bf36ef9b4a489c6931dc0987d2f2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFix RPC-Port function 86/192286/3
Hwankyu Jhun [Fri, 2 Nov 2018 04:37:09 +0000 (13:37 +0900)]
Fix RPC-Port function

The parameters of aul_rpc_port_create_socket_pair function are added.

Requires:
 - https://review.tizen.org/gerrit/#/c/192266/ [amd]
 - https://review.tizen.org/gerrit/#/c/192286/ [aul-1]
 - https://review.tizen.org/gerrit/#/c/192287/ [rpc-port]

Change-Id: I577f459e90b93a690b7566f43ee16b7ce4715189
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.10.5 03/192303/1
Hwankyu Jhun [Fri, 2 Nov 2018 07:14:36 +0000 (16:14 +0900)]
Release version 0.10.5

Changes:
 - Fix getting path from db
 - Fixed a bug about handling callback function
 - Prevent a brute force attack

Change-Id: Ibb56e7ce8650e123fe4c2bbb0e25d20802a94cfd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoPrevent a brute force attack 53/192153/8
Hwankyu Jhun [Wed, 31 Oct 2018 02:54:17 +0000 (11:54 +0900)]
Prevent a brute force attack

To avoid the brute force attack, sequence number is created by (pseduo)random
and Base-64 encoding.

Change-Id: Ia8ade4c32f5b091c588ac234315381bcc31bdaaf
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFixed a bug about handling callback function 19/192119/9
Hwankyu Jhun [Wed, 31 Oct 2018 02:28:14 +0000 (11:28 +0900)]
Fixed a bug about handling callback function

To prevent timing issue, AUL API registers the callback function
before sending launch request.

Change-Id: Ie8753c56cd1edf9a0bd0d3e747870be327b8499d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFix getting path from db 32/191732/1
Sangyoon Jang [Tue, 23 Oct 2018 05:17:32 +0000 (14:17 +0900)]
Fix getting path from db

Just getting rootpath from appinfo handle directly.

Change-Id: I16138004cafd7a4fa5b907cf8795a7492f7444d3
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRelease version 0.10.4 21/190421/1 accepted/tizen/5.0/unified/20181102.014354 accepted/tizen/unified/20181002.093346 submit/tizen/20181001.235329 submit/tizen_5.0/20181101.000002
Hwankyu Jhun [Mon, 1 Oct 2018 23:09:17 +0000 (08:09 +0900)]
Release version 0.10.4

Changes:
 - Fixed wrong exception

Change-Id: If05e5d23b1cac8e0119333bf68fc54023a1b5bcc
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFixed wrong exception 20/190420/2
Hwankyu Jhun [Mon, 1 Oct 2018 22:59:08 +0000 (07:59 +0900)]
Fixed wrong exception

If the callback function exists, the callback information handle must
be created.

Change-Id: I029aea2b02072861ccf1eda63490a642d9aace3d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.10.3 42/190142/1 accepted/tizen/unified/20180928.080613 submit/tizen/20180927.090915
Hwankyu Jhun [Thu, 27 Sep 2018 08:59:55 +0000 (17:59 +0900)]
Release version 0.10.3

Changes:
 - Fixed resource leak

Change-Id: I7456cbc5c61d67b78967936308fcb56af60ab0d5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFixed resource leak 73/190073/1
Hwankyu Jhun [Thu, 27 Sep 2018 04:59:10 +0000 (13:59 +0900)]
Fixed resource leak

Change-Id: Ida71fd2ac3a002a87289bdde29606e9a518f60d3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.10.2 12/189712/1 accepted/tizen/unified/20180921.042531 submit/tizen/20180920.045218
Hwankyu Jhun [Thu, 20 Sep 2018 04:38:03 +0000 (13:38 +0900)]
Release version 0.10.2

Changes:
 - Modified aul socket functions

Change-Id: I96e461a9a0706f0e8e7a5e5ac4be8de6a88c39f5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoModified aul socket functions 95/189195/17
Hwankyu Jhun [Fri, 14 Sep 2018 06:31:50 +0000 (15:31 +0900)]
Modified aul socket functions

To prevent deadlock issue, aul socket checks whether the return value
is zero or not.

Change-Id: I177fb916db643a04106b5bf73ac6847582d687ca
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.10.1 91/189491/1 accepted/tizen/unified/20180919.141941 submit/tizen/20180918.072816 submit/tizen/20180919.023143
Hwankyu Jhun [Tue, 18 Sep 2018 07:07:45 +0000 (16:07 +0900)]
Release version 0.10.1

Changes:
 - Remove calling getpgid function

Change-Id: I81f5488568e4979ffa480d865b9bfa08bbeffd29
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRemove calling getpgid function 44/189444/1
Hwankyu Jhun [Tue, 18 Sep 2018 01:06:25 +0000 (10:06 +0900)]
Remove calling getpgid function

Before AMD sends the result, AMD gets the process group ID of the callee
process. Getting pgid in the caller side is not necessary.
If the app process gets the process group ID of the callee, SMACK issue
is occurred.

Change-Id: Ie61c9abd8a0051cac8b3355b1d38c88ab29d4c85
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.10.0 68/189368/1 accepted/tizen/unified/20180918.152310 submit/tizen/20180917.224307
Hwankyu Jhun [Mon, 17 Sep 2018 08:23:31 +0000 (17:23 +0900)]
Release version 0.10.0

Changes:
 - Fix typo
 - Support launch reqeust async API

Change-Id: If3e28d53ba1f07968c35e3a2dd0dc4eca3a52e38
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoSupport launch reqeust async API 01/189001/6
Hwankyu Jhun [Wed, 12 Sep 2018 10:15:12 +0000 (19:15 +0900)]
Support launch reqeust async API

Change-Id: I47d8ea203f2d9bb572babcfbd537483af4b73892
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFix typo 37/188337/1
Hwankyu Jhun [Tue, 4 Sep 2018 05:16:43 +0000 (14:16 +0900)]
Fix typo

Change-Id: I40187ebc95b256377ccfe777effe9f6b30f14f5c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.9.3 69/188269/1 accepted/tizen/unified/20180904.180612 submit/tizen/20180903.090516
Hwankyu Jhun [Mon, 3 Sep 2018 10:51:02 +0000 (19:51 +0900)]
Release version 0.9.3

Changes:
 - Fixed resource leak

Change-Id: Ib6aee23006822d068606576846f0b38a8211b3bf
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFixed resource leak 66/188266/1
Hwankyu Jhun [Mon, 3 Sep 2018 10:42:03 +0000 (19:42 +0900)]
Fixed resource leak

Change-Id: Id0831b70462f5d43498d75fdda20bebe81bd9244
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.9.2 59/187559/1 accepted/tizen/unified/20180827.071448 submit/tizen/20180824.094759
Hwankyu Jhun [Fri, 24 Aug 2018 06:04:48 +0000 (15:04 +0900)]
Release version 0.9.2

Changes:
 - Refactor aul launch

Change-Id: I711a41ccf7c9beb4d1bc82c5c5e723677a0cbf89
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRefactor aul launch 49/187249/6
Hwankyu Jhun [Tue, 21 Aug 2018 07:44:45 +0000 (16:44 +0900)]
Refactor aul launch

- Uses gio channel instead of gsource
- Removes unused codes
- Moves launch codes to aul_launch.c file

Change-Id: I7908fcbcf83ce51bbf8569c9eb3c2a50e0b17183
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.9.1 62/186962/1 accepted/tizen/unified/20180820.060125 submit/tizen/20180816.234646 submit/tizen/20180819.231148
Hwankyu Jhun [Thu, 16 Aug 2018 23:22:03 +0000 (08:22 +0900)]
Release version 0.9.1

Changes:
 - Modified aul dbus conf

Change-Id: Icdcf8b781044f6a0aa4ea710c1d78d1fe4a7dd8a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoModified aul dbus conf 12/186912/1
Hwankyu Jhun [Thu, 16 Aug 2018 10:57:35 +0000 (19:57 +0900)]
Modified aul dbus conf

If send_destination doesn't exist, it means all destinations.
(equal to "*")

Change-Id: I041bffcf672d685dc10f6d96471d19531773aca2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.9.0 60/186460/1 accepted/tizen/unified/20180810.132510 submit/tizen/20180809.235246 submit/tizen/20180813.061545 submit/tizen/20180813.085352
Hwankyu Jhun [Thu, 9 Aug 2018 23:44:15 +0000 (08:44 +0900)]
Release version 0.9.0

Changes:
 - Support watchdog timer

Change-Id: I491118900bc228b2c85714f7a5d8b7f5d461022f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoSupport watchdog timer 76/185276/8
Hwankyu Jhun [Fri, 27 Jul 2018 07:32:21 +0000 (16:32 +0900)]
Support watchdog timer

New APIs and commands are added for supporting watchdog timer.

Adds:
 - aul_watchdog_enable()
 - aul_watchdog_disable()
 - aul_watchdog_kick()

Requires:
 - https://review.tizen.org/gerrit/#/c/185276/ [aul-1]
 - https://review.tizen.org/gerrit/#/c/185882/ [app-core]
 - https://review.tizen.org/gerrit/#/c/185884/ [amd]
 - https://review.tizen.org/gerrit/#/c/186247/ [app-common]

Change-Id: I52c61b8bccc9070603900878a5044c0ab6325829
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.8.12 68/186168/1 accepted/tizen/unified/20180808.063400 submit/tizen/20180807.225347
Hwankyu Jhun [Tue, 7 Aug 2018 22:28:42 +0000 (07:28 +0900)]
Release version 0.8.12

Changes:
 - Use thread-safe function

Change-Id: Ic49642eb74bc6e7c72897e08aab4490c89066d4f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoUse thread-safe function 56/185956/2
Hwankyu Jhun [Sun, 5 Aug 2018 22:55:41 +0000 (07:55 +0900)]
Use thread-safe function

- Uses strerror_r() function

Change-Id: I16aeaf313ee0366fdfd8a2c5d7cc8b487cd0032f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.8.11 18/185718/1 accepted/tizen/unified/20180802.090234 submit/tizen/20180801.235658
Hwankyu Jhun [Wed, 1 Aug 2018 23:46:10 +0000 (08:46 +0900)]
Release version 0.8.11

Changes:
 - Add dbus policy configuration for AppStatus signal
 - Fix the description for aul_listen_app_status_signal
 - Add a new definition for installed storage check

Change-Id: I4d6754a81b1d76e195cccec74dc35bbfc8689c3c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoAdd a new definition for installed storage check 89/185489/3
Hwankyu Jhun [Tue, 31 Jul 2018 06:02:42 +0000 (15:02 +0900)]
Add a new definition for installed storage check

Adds:
 - AUL_K_INSTALLED_STORAGE

Change-Id: I2e03f2a2461f6911a5ccdeca2a8bdb8705230ff1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFix the description for aul_listen_app_status_signal 75/185575/1
Junghoon Park [Wed, 1 Aug 2018 01:01:32 +0000 (10:01 +0900)]
Fix the description for aul_listen_app_status_signal

Change-Id: Idc2906094f21e42918ef8355c14f5b0334139aa5
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdd dbus policy configuration for AppStatus signal 51/185451/2
Semun Lee [Tue, 31 Jul 2018 01:18:43 +0000 (10:18 +0900)]
Add dbus policy configuration for AppStatus signal

Change-Id: Ide18fe735a635fd86c93957c360c4dff9f356770
Signed-off-by: Semun Lee <semun.lee@samsung.com>
6 years agoRelease version 0.8.10 57/184157/1 accepted/tizen/unified/20180716.185735 accepted/tizen/unified/20180717.143427 submit/tizen/20180716.052523 submit/tizen/20180717.052850
Hwankyu Jhun [Mon, 16 Jul 2018 04:29:06 +0000 (13:29 +0900)]
Release version 0.8.10

Changes:
 - Add new functions

Change-Id: I2f9f3d055df9de0a63b93253b1487a14e507fd1e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoAdd new functions 34/184034/3
Hwankyu Jhun [Fri, 13 Jul 2018 07:01:00 +0000 (16:01 +0900)]
Add new functions

This patch supports to debug widget/watch applications.

Adds:
 - aul_debug_info_init()
 - aul_debug_info_fini()
 - aul_debug_info_set()

Change-Id: I249bcbe1e8baa7fcd8f88603c6750c1861036d8b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.8.9 79/183079/1 accepted/tizen/unified/20180703.062058 submit/tizen/20180702.070535
Hwankyu Jhun [Mon, 2 Jul 2018 06:10:55 +0000 (15:10 +0900)]
Release version 0.8.9

Changes:
 - Fix memory leak

Change-Id: Ife07a1fa2ec2296e502d7162a97ba1b12e4b78e1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFix memory leak 74/183074/1
Hwankyu Jhun [Mon, 2 Jul 2018 05:47:26 +0000 (14:47 +0900)]
Fix memory leak

Change-Id: I5ef8f416101a3e95aa2fd490c656ce483ca4c5bd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.8.8 35/182435/1 accepted/tizen/unified/20180626.064835 submit/tizen/20180625.060832
Hwankyu Jhun [Mon, 25 Jun 2018 06:28:47 +0000 (15:28 +0900)]
Release version 0.8.8

Changes:
 - Remove start time

Change-Id: I07a3b51a5b97cbc63b9aefea6953c8c2790875ab
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRemove start time 32/182432/1
Hwankyu Jhun [Mon, 25 Jun 2018 06:21:06 +0000 (15:21 +0900)]
Remove start time

Before adding the start time of the request on bundle object,
the previous the start time should be removed.

Change-Id: I816e7af47ece7f215b6159835459601233bee646
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.8.7 49/182149/1 accepted/tizen/unified/20180621.141530 submit/tizen/20180621.034930
Hwankyu Jhun [Thu, 21 Jun 2018 02:38:35 +0000 (11:38 +0900)]
Release version 0.8.7

Changes:
 - Add white operation feature
 - Add a fallback about app launcher tool

Change-Id: I045d03ef241a1e5715319cd91d99d4cce4033fc8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoAdd a fallback about app launcher tool 11/182111/1
Hwankyu Jhun [Wed, 20 Jun 2018 10:00:26 +0000 (19:00 +0900)]
Add a fallback about app launcher tool

- Retries dead signal registration

Change-Id: Ic03de0a6ddaf5d6f713aafc88fcbc18132f6554f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoAdd white operation feature 02/182102/2
Hwankyu Jhun [Wed, 20 Jun 2018 08:55:59 +0000 (17:55 +0900)]
Add white operation feature

If the value of app-control operation is special,
the callee application can be leader application of the app group.

Change-Id: Icd87e3c9f0a81f781d7aa85d63886e159ffb9734
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.8.6 52/180952/1 accepted/tizen/unified/20180611.015325 accepted/tizen/unified/20180615.071905 submit/tizen/20180607.021807 submit/tizen/20180614.113922
Junghoon Park [Thu, 7 Jun 2018 00:43:59 +0000 (09:43 +0900)]
Release version 0.8.6

Changes:
 - Skip app existence check
 - Fix aul_update_freezer_status API
 - Fix launch_debug tool
 - Change AUL_K_RPC_PORT definition
 - Fix wrong descriptions
 - Add new functions for debugging

Change-Id: I60d93874b6a1d2b35dea4dae0f8c358aa983cd52
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoSkip app existence check 64/180564/1
Hwankyu Jhun [Wed, 30 May 2018 22:42:06 +0000 (07:42 +0900)]
Skip app existence check

To improve launch performance, checking an application existence of
app_launcher tool is removed.

Change-Id: If09a4211aad051c891c332187b768864d800c201
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFix aul_update_freezer_status API 30/178130/7
Hwankyu Jhun [Tue, 8 May 2018 08:08:07 +0000 (17:08 +0900)]
Fix aul_update_freezer_status API

- Uses a method call instead of a signal

Change-Id: Iecad5095f36c0c36d92c6e7cea4116f2e5215446
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFix launch_debug tool 42/180342/9
Hwankyu Jhun [Mon, 28 May 2018 11:38:52 +0000 (20:38 +0900)]
Fix launch_debug tool

- Adds a option for sync mode launcha
- Removes unused option
- Changes usage messages

Change-Id: I66c144e1d4af43473dd5367878465f5726c80d9b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoChange AUL_K_RPC_PORT definition 84/180484/2
Hwankyu Jhun [Wed, 30 May 2018 04:18:18 +0000 (13:18 +0900)]
Change AUL_K_RPC_PORT definition

Change-Id: Ic84bcd91f6f2e90a5436fe3e71ec158638eeeee1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFix wrong descriptions 72/179472/2
Hwankyu Jhun [Fri, 18 May 2018 05:50:37 +0000 (14:50 +0900)]
Fix wrong descriptions

Change-Id: Ieb16f9bbcbaa05dd8f520addb945aa6d33f79f58
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoAdd new functions for debugging 11/179411/3
Hwankyu Jhun [Fri, 18 May 2018 00:53:45 +0000 (09:53 +0900)]
Add new functions for debugging

Adds:
 - aul_cmd_convert_to_string()
 - aul_app_status_convert_to_string()

Change-Id: Ib53c219633c1e47a5c8b62ba036eb1d61c181de5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.8.5 65/179265/1 accepted/tizen/unified/20180517.151233 submit/tizen/20180517.013237
Hwankyu Jhun [Thu, 17 May 2018 01:25:09 +0000 (10:25 +0900)]
Release version 0.8.5

Changes:
 - Make thread safe code

Change-Id: I6108a16722b9f81a958262a38bbea0cb98af70c1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoMake thread safe code 30/179230/5
Hwankyu Jhun [Wed, 16 May 2018 09:58:07 +0000 (18:58 +0900)]
Make thread safe code

- Adds locking and unlocking the mutex

Change-Id: Ib91085a669c9c9358a3f00e57fecfa540a859908
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.8.4 96/178096/1 accepted/tizen/unified/20180509.072919 submit/tizen/20180508.071542
Hwankyu Jhun [Tue, 8 May 2018 06:03:37 +0000 (15:03 +0900)]
Release version 0.8.4

Changes:
 - Fix static analysis issue

Change-Id: I680b89b2af1d05d8c6b5f41ef853e18ffc4f9d98
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFix static analysis issue 34/178034/1
Hwankyu Jhun [Mon, 7 May 2018 23:11:50 +0000 (08:11 +0900)]
Fix static analysis issue

- Adds checking return value

Change-Id: I11877e1cbd625a24b26c80f69c20c27808d9f365
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.8.3 13/177813/1 accepted/tizen/unified/20180507.110807 submit/tizen/20180504.054056
Hwankyu Jhun [Fri, 4 May 2018 04:01:50 +0000 (13:01 +0900)]
Release version 0.8.3

Changes:
 - Delete socket path

Change-Id: Ied4f39d3409f1bd21337eb7024e913433fd13164
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoDelete socket path 84/177684/1
Hwankyu Jhun [Thu, 3 May 2018 01:55:13 +0000 (10:55 +0900)]
Delete socket path

While calling aul_finalize(), the aul library removes the socket path.

Change-Id: Idc52326197c76f4abb2186b452d4099cc87bfab5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.8.2 32/177032/1 accepted/tizen/unified/20180425.062323 submit/tizen/20180425.011118
Hwankyu Jhun [Wed, 25 Apr 2018 00:47:24 +0000 (09:47 +0900)]
Release version 0.8.2

Changes:
 - Add an exception handling

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