platform/core/appfw/aul-1.git
4 years agoRelease version 0.21.2 00/222400/1 submit/tizen/20200114.104241 submit/tizen/20200116.010655 submit/tizen/20200121.042415
Hwankyu Jhun [Tue, 14 Jan 2020 10:37:59 +0000 (19:37 +0900)]
Release version 0.21.2

Changes:
 - Fix db recovery tools

Change-Id: I9c58f800dc515b228ad125a60d37b833de910fa3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoFix db recovery tools 95/222395/1
Hwankyu Jhun [Tue, 14 Jan 2020 09:51:55 +0000 (18:51 +0900)]
Fix db recovery tools

- Fix return value

Change-Id: Ic859cf677ee50822a2ad37783a21cfb153dc1269
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 0.21.1 25/222025/3 submit/tizen/20200113.004125
Hwankyu Jhun [Thu, 9 Jan 2020 06:30:36 +0000 (15:30 +0900)]
Release version 0.21.1

Changes:
 - Add db recovery tool
 - Fix TIZEN_FEATURE_DEBUG_MODE

Change-Id: Ia38d6231843300d8b46056eb42ce1f5cd3e39834
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoFix TIZEN_FEATURE_DEBUG_MODE 49/222049/1
Hwankyu Jhun [Thu, 9 Jan 2020 08:33:06 +0000 (17:33 +0900)]
Fix TIZEN_FEATURE_DEBUG_MODE

If the prelink feature is enabled, the debug feature is disabled.

Change-Id: I375f1c76b6cdd3860d35781960dc0736caacc791
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoAdd db recovery tool 36/221736/4
Hwankyu Jhun [Tue, 7 Jan 2020 07:11:51 +0000 (16:11 +0900)]
Add db recovery tool

Adds:
 - appsvc-db-recovery
 - component-db-recovery

Change-Id: I5db587cef2b177f518aa03d48455f751df759f86
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 0.21.0 64/221664/1 submit/tizen/20200107.012740
Hwankyu Jhun [Tue, 7 Jan 2020 01:19:58 +0000 (10:19 +0900)]
Release version 0.21.0

Changes:
 - Add AUL unix signal handler

Change-Id: I66f8e7df4679432afafe318c60f9b45c5c0892d0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoAdd AUL unix signal handler 20/221620/8
Hwankyu Jhun [Mon, 6 Jan 2020 08:54:28 +0000 (17:54 +0900)]
Add AUL unix signal handler

To detect segmentation fault, AUL adds signal handlers.
While getting the signal, AUL deletes the AUL socket path.

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

Change-Id: I69ad0ce2b5b708e5183cfb1f4d3e72885bb5cad0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 0.20.5 68/221268/1 accepted/tizen/unified/20200101.120545 submit/tizen/20191231.004832
Hwankyu Jhun [Mon, 30 Dec 2019 23:06:42 +0000 (08:06 +0900)]
Release version 0.20.5

Changes:
 - Remove compile warning messages

Change-Id: I74612f8a767b00303792230bb66da5bf871cd23d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRemove compile warning messages 69/221169/2
Hwankyu Jhun [Mon, 30 Dec 2019 02:10:11 +0000 (11:10 +0900)]
Remove compile warning messages

Change-Id: I35dcc3d766e23c2e6f87ea40b2c7c47fb8978303
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 0.20.4 17/220617/1 accepted/tizen/5.5/unified/20191230.212311 accepted/tizen/unified/20191223.060154 submit/tizen/20191220.045359 submit/tizen_5.5/20191220.045305
Hwankyu Jhun [Fri, 20 Dec 2019 04:44:46 +0000 (13:44 +0900)]
Release version 0.20.4

Changes:
 - Use monotonic time

Change-Id: I973201dea88cf2c460a28efb8cfb59863bcf6d80
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoUse monotonic time 95/220595/2
Hwankyu Jhun [Thu, 19 Dec 2019 23:52:38 +0000 (08:52 +0900)]
Use monotonic time

To measure launching time properly, we should use monotonic time.

Requires:
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/aul-1/+/220595/
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/amd/+/220598/
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/launchpad/+/220600/

Change-Id: Ib4dcb78240a1f7d29001a673ca5e6d2074c02b92
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 0.20.3 16/220516/1 accepted/tizen/unified/20191219.143711 submit/tizen/20191219.064331 submit/tizen_5.5/20191219.064355
Hwankyu Jhun [Thu, 19 Dec 2019 05:41:22 +0000 (14:41 +0900)]
Release version 0.20.3

Changes:
 - Set CMake project name at top
 - Prevent duplicate installation

Change-Id: I621af94a2d5edfedc007dad67f96d90a46fdd525
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoPrevent duplicate installation 63/220363/3
Hwankyu Jhun [Tue, 17 Dec 2019 23:46:54 +0000 (08:46 +0900)]
Prevent duplicate installation

- Adds vitalness attribute on component parser plugin
- Changes queries to "INSERT" from "INSERT OR REPLACE"
- Adds a missing command to enable "foreign_keys" option

Change-Id: I7543ce3e69677be6e09205ac3c60b80bdfb4158a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoSet CMake project name at top 81/219881/1
Sangyoon Jang [Wed, 11 Dec 2019 06:55:47 +0000 (15:55 +0900)]
Set CMake project name at top

There is a problem when seting project name after defining user
variables. Some built-in variables can be affected.

Change-Id: I2cfed2c78e913136eb9d38f6b10b7ea0df414986
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 years agoRelease version 0.20.2 76/219876/1 submit/tizen/20191211.063535
Junghoon Park [Wed, 11 Dec 2019 06:33:43 +0000 (15:33 +0900)]
Release version 0.20.2

Changes:
 - Remove -fPIE option for prelink mode

Change-Id: I9b45082147a360abe287cf5e7a6c6f390c927d23
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
4 years agoRemove -fPIE option for prelink mode 65/219865/2
Junghoon Park [Wed, 11 Dec 2019 05:26:15 +0000 (14:26 +0900)]
Remove -fPIE option for prelink mode

Change-Id: I0d2fec3fe5cfa0299b4182ad680b16f94daecf11
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
4 years agoRelease version 0.20.1 54/217854/1 accepted/tizen/5.5/unified/20191118.084759 submit/tizen/20191115.033000 submit/tizen_5.5/20191115.033304
Hwankyu Jhun [Fri, 15 Nov 2019 03:22:20 +0000 (12:22 +0900)]
Release version 0.20.1

Changes:
 - Support prelink feature

Change-Id: Ic08fe5928fcf2df06c0981c224958e817d5a3578
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoSupport prelink feature 37/217837/2
Hwankyu Jhun [Fri, 15 Nov 2019 02:02:49 +0000 (11:02 +0900)]
Support prelink feature

If the `_prelink_enable` is defined, the app_launcher tool will be
compiled without -pie option.

Change-Id: I0ece66dd0dbd040c8493d39376ba09b6045a55e2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.20.0 77/215677/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.025115 accepted/tizen/5.5/unified/mobile/hotfix/20201027.065740 accepted/tizen/unified/20191021.220257 submit/tizen/20191014.064156 submit/tizen/20191016.064926 submit/tizen/20191016.222914 submit/tizen/20191018.031913 submit/tizen/20191018.041751 submit/tizen/20191020.234119 submit/tizen_5.5/20191031.000003 submit/tizen_5.5_mobile_hotfix/20201026.185102 tizen_5.5.m2_release
Hwankyu Jhun [Mon, 14 Oct 2019 06:46:20 +0000 (15:46 +0900)]
Release version 0.20.0

Changes:
 - Fix double closing fd
 - Support Seamless Effect

Change-Id: I267b7f1ac7398045e38211ee1cc0d29fdb79c072
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoSupport Seamless Effect 87/212287/26
Hwankyu Jhun [Tue, 20 Aug 2019 04:54:47 +0000 (13:54 +0900)]
Support Seamless Effect

Adds:
 - aul_launcher_service
 - aul_running_context

Requires:
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/amd/+/212912/
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-core/+/215390/
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/aul-1/+/212287/
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/screen-connector/+/212645/
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/widget-viewer/+/213445/

Change-Id: I58d43af123bd88d1980caf3cfbc6506e3192bc36
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoFix double closing fd 20/215520/2
Hwankyu Jhun [Thu, 10 Oct 2019 04:57:19 +0000 (13:57 +0900)]
Fix double closing fd

Change-Id: I3ca8a92f102fa6b321a238be86679c57939218f3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.19.10 33/215133/1 accepted/tizen/unified/20191004.003617 submit/tizen/20191002.022728
Hwankyu Jhun [Wed, 2 Oct 2019 02:23:53 +0000 (11:23 +0900)]
Release version 0.19.10

Changes:
 - Print HW clock log for performance measurement

Change-Id: I013766debd534bc0d7d1f49c700b6667f6f74bbe
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoPrint HW clock log for performance measurement 27/215127/1
Hwankyu Jhun [Wed, 2 Oct 2019 01:33:58 +0000 (10:33 +0900)]
Print HW clock log for performance measurement

Change-Id: Ie41ec9866bed85f73f674808cbe5f4762535606c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.19.9 20/215120/1 submit/tizen/20191001.233419
Hwankyu Jhun [Tue, 1 Oct 2019 23:31:57 +0000 (08:31 +0900)]
Release version 0.19.9

Changes:
 - Remove duplicated codes
 - Fix glib warning messages

Change-Id: If193c789311af38d9e468353a3993d4f62aaa305
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoFix glib warning messages 17/215117/3
Hwankyu Jhun [Tue, 1 Oct 2019 23:05:23 +0000 (08:05 +0900)]
Fix glib warning messages

Change-Id: I5bc39b4a808aae9eafc4d750ee9bccf061cbe404
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRemove duplicated codes 38/214838/2
Hwankyu Jhun [Fri, 27 Sep 2019 04:16:47 +0000 (13:16 +0900)]
Remove duplicated codes

- Uses aul_db functions

Change-Id: I2bcddb51860a985dcd5ed50b16039460a290d785
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.19.8 09/213709/1 accepted/tizen/unified/20190911.111640 submit/tizen/20190910.091726
Junghoon Park [Tue, 10 Sep 2019 09:15:55 +0000 (18:15 +0900)]
Release version 0.19.8

Changes:
 - Fix dbus policy
 - Release version 0.19.6
 - Fix a bug about setting main components
 - Release version 0.19.7
 - Fix db mode for appsvc.db

Change-Id: I7d976483a4c7034ca38c54e12c98843a90d38816
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
5 years agoFix db mode for appsvc.db 01/213701/1
Junghoon Park [Tue, 10 Sep 2019 08:38:58 +0000 (17:38 +0900)]
Fix db mode for appsvc.db

Change-Id: Id13fe1bc391d855526ea143d22adf362f1d937fd
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
5 years agoRelease version 0.19.7 50/213650/1 submit/tizen/20190909.235239
Hwankyu Jhun [Mon, 9 Sep 2019 23:39:14 +0000 (08:39 +0900)]
Release version 0.19.7

Changes:
 - Fix a bug about setting main components

Change-Id: Ib5b8c8b149f895d40cc8eb20d0ed166d4c1faa5c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoFix a bug about setting main components 36/213636/1
Hwankyu Jhun [Mon, 9 Sep 2019 10:10:12 +0000 (19:10 +0900)]
Fix a bug about setting main components

Change-Id: I397126595b014c30ddb0da35984ed256a381b0a2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.19.6 85/213585/1 submit/tizen/20190909.093318
Hwankyu Jhun [Mon, 9 Sep 2019 04:53:25 +0000 (13:53 +0900)]
Release version 0.19.6

Changes:
 - Fix dbus policy

Change-Id: Ic226c106689daa1130446872cef62ef181cd150f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoFix dbus policy 83/213583/1
Hwankyu Jhun [Mon, 9 Sep 2019 04:43:57 +0000 (13:43 +0900)]
Fix dbus policy

Change-Id: Ife0cea50a1630fda18e4d825145c9e562316e19d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.19.5 38/213338/1 accepted/tizen/unified/20190904.224456 submit/tizen/20190904.090224
Hwankyu Jhun [Wed, 4 Sep 2019 08:45:24 +0000 (17:45 +0900)]
Release version 0.19.5

Changes:
 - Refactor Service DB

Change-Id: I07dbe29d9d7afe54d4f710d022109b54600e834b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRefactor Service DB 82/211782/16
Hwankyu Jhun [Fri, 9 Aug 2019 05:31:07 +0000 (14:31 +0900)]
Refactor Service DB

- Defines and uses macros
- Removes unnecessary exceptions
- Adds database busy handler
- Change insert query of appsvc

Change-Id: I9d374724b9ded987b3b9074ed6dfb898bbc34230
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.19.4 13/212913/1 accepted/tizen/unified/20190903.052616 submit/tizen/20190828.063829 submit/tizen/20190829.232632 submit/tizen/20190830.041902 submit/tizen/20190830.091638 submit/tizen/20190902.081752
Hwankyu Jhun [Wed, 28 Aug 2019 06:23:20 +0000 (15:23 +0900)]
Release version 0.19.4

Changes:
 - Add ANR Timer

Change-Id: Ib600ad7029d7e7f4a93a40ea729da46e0b73d34f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoAdd ANR Timer 96/212496/4
Hwankyu Jhun [Thu, 22 Aug 2019 06:14:52 +0000 (15:14 +0900)]
Add ANR Timer

To detect ANR, this patch adds a timer. If the main thread is blocked
for more than 5 seconds, the worker thread notifies ANR to AMD.

Change-Id: I301b3e7f43b0c5823b342b5e7f0332dcb5a9bc77
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.19.3 64/212364/1 accepted/tizen/unified/20190821.111118 submit/tizen/20190821.002446
Hwankyu Jhun [Tue, 20 Aug 2019 23:50:01 +0000 (08:50 +0900)]
Release version 0.19.3

Changes:
 - Add a new enumeration for component status

Change-Id: I97763e43fa2e710bb6d4c70188971d91a3227f84
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoAdd a new enumeration for component status 09/212209/1
Hwankyu Jhun [Mon, 19 Aug 2019 01:25:59 +0000 (10:25 +0900)]
Add a new enumeration for component status

Adds:
 - comp_status_e

Change-Id: I891f17988e6e54dc15eab8361fdb9271ac9321b4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.19.2 99/212199/1 accepted/tizen/unified/20190819.081601 submit/tizen/20190818.234401
Hwankyu Jhun [Sun, 18 Aug 2019 23:40:03 +0000 (08:40 +0900)]
Release version 0.19.2

Changes:
 - Fix resource leak
 - Check the result of the packet

Change-Id: If19ae65f1034d1811ca77060c117bd91d651f7f1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoCheck the result of the packet 40/212140/1
Hwankyu Jhun [Thu, 15 Aug 2019 12:52:30 +0000 (21:52 +0900)]
Check the result of the packet

If the request is failed, the cmd of the packet is a negative error value.

Change-Id: If5ef6e9c16719063cc89a5b0d5ab9bc8222d3b42
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoFix resource leak 64/211964/1
Hwankyu Jhun [Tue, 13 Aug 2019 04:13:59 +0000 (13:13 +0900)]
Fix resource leak

Change-Id: Ie8da952b78cdde2be78cee5938e1d7ec748250db
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.19.1 61/211961/1 accepted/tizen/unified/20190813.082350 submit/tizen/20190813.020809
Hwankyu Jhun [Tue, 13 Aug 2019 02:00:14 +0000 (11:00 +0900)]
Release version 0.19.1

Changes:
 - Synchronize worker thread
 - Fix a bug about kicking watchdog timer
 - Fix a bug about getting component info
 - Add upgrade script for component-based application
 - Synchronize worker thread

Change-Id: Iabd8a6eb94e994611adf6d98293960e744ec6788
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoSynchronize worker thread 41/211941/6
Hwankyu Jhun [Mon, 12 Aug 2019 11:11:58 +0000 (20:11 +0900)]
Synchronize worker thread

To terminate the worker thread properly, the main thread has to wait until
the event loop of the worker thread is started. If the event loop is not
started while terminating the process, the process can be blocked.

Change-Id: I5927ca7d31e0c45d3a8783fe362147250b0e93eb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoAdd upgrade script for component-based application 57/211957/1
Hwankyu Jhun [Tue, 13 Aug 2019 01:08:18 +0000 (10:08 +0900)]
Add upgrade script for component-based application

Change-Id: Ibb4da2bc0bcaac25f14d18dac15df09d100f993a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoFix a bug about getting component info 25/211925/2
Hwankyu Jhun [Mon, 12 Aug 2019 05:52:13 +0000 (14:52 +0900)]
Fix a bug about getting component info

Change-Id: I9ce6be6398c0b5e52345a2738bdb16f2fb26c5f8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoFix a bug about kicking watchdog timer 08/211908/1
Hwankyu Jhun [Mon, 12 Aug 2019 03:00:21 +0000 (12:00 +0900)]
Fix a bug about kicking watchdog timer

If aul_watchdog_kick() is called immediately after calling
aul_watchdog_enable(), an idle event is started.
Because, the interval of the timer is zero in this time.

Change-Id: I49e2643db2435150a8335242b4376a7d4e762b34
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoSynchronize worker thread 92/211892/2
Hwankyu Jhun [Sat, 10 Aug 2019 17:05:36 +0000 (02:05 +0900)]
Synchronize worker thread

There is a problem that the worker thread does not terminte when the main thread
terminates quickly. To terminate the worker thread properly, this patch uses
g_cond_wait() and g_cond_signal().

Change-Id: I9662b9124815fe0db777d074d65aa62cc14dec40
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.19.0 44/211744/1 submit/tizen/20190808.231835 submit/tizen/20190809.130746 submit/tizen/20190809.143622
Hwankyu Jhun [Thu, 8 Aug 2019 23:14:47 +0000 (08:14 +0900)]
Release version 0.19.0

Changes:
 - Fix resource leak
 - Adjust package dependencies
 - Remove unnecessary permission check
 - Fix the exception
 - Add worker thread to receive requests
 - Modify watchdog feature

Change-Id: I7b0c2d41dcc771508f01410ff230169142ec7db0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoModify watchdog feature 79/211579/4
Hwankyu Jhun [Wed, 7 Aug 2019 02:01:21 +0000 (11:01 +0900)]
Modify watchdog feature

When watchdog is enabled, the app process sets the timer to start
sending ping request to amd.
If ping is not sent within a specified period, amd notifies it to
resourced. And then, the app process is terminated by resourced.

Change-Id: I4817ddb10b2d86f61630dfa0dabc44ddb2db0b22
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoAdd worker thread to receive requests 95/211395/24
Hwankyu Jhun [Fri, 2 Aug 2019 09:46:19 +0000 (18:46 +0900)]
Add worker thread to receive requests

Change-Id: I8189379f79335da0ae9ea5d012099fa7b219c38c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoFix the exception 32/211732/2
Hwankyu Jhun [Thu, 8 Aug 2019 10:52:24 +0000 (19:52 +0900)]
Fix the exception

The errno value can be changed by printing dlog.

Change-Id: Ic3a82c413b9c5bae9fc7a587a8cb4e4538530c05
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRemove unnecessary permission check 24/211724/1
Hwankyu Jhun [Thu, 8 Aug 2019 09:43:59 +0000 (18:43 +0900)]
Remove unnecessary permission check

If a process doesn't have a permission, sqlite3_open_v2() returns an
error.

Change-Id: If035b484035a2c27059e8aabadcefc652349c204
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoAdjust package dependencies 53/211553/3
Hwankyu Jhun [Tue, 6 Aug 2019 10:32:03 +0000 (19:32 +0900)]
Adjust package dependencies

Recommends:
 - amd
 - amd-mod-component-manager
 - amd-mod-watchdog

Change-Id: I6060240bb7a7f166052d6997372e40339919ed5b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoFix resource leak 72/211672/2
Hwankyu Jhun [Thu, 8 Aug 2019 04:44:16 +0000 (13:44 +0900)]
Fix resource leak

Change-Id: I20892cf837bde1328e36b3dc3168830ce3fb9589
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.18.3 29/211529/1 accepted/tizen/unified/20190807.111842 submit/tizen/20190806.083651
Hwankyu Jhun [Tue, 6 Aug 2019 07:34:29 +0000 (16:34 +0900)]
Release version 0.18.3

Changes:
 - Change BootingDone signal interface

Change-Id: Iae614f48713b004004266980d7cde351a5db2e18
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoChange BootingDone signal interface 15/211515/1
Hwankyu Jhun [Tue, 6 Aug 2019 05:55:32 +0000 (14:55 +0900)]
Change BootingDone signal interface

The path is changed to "/org/tizen/system".
The interface is changed to "org.tizen.system.Booting".

Change-Id: I628a5f824a85d6a7352310b51db64a359c69afd4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.18.2 47/211447/1 accepted/tizen/unified/20190806.072150 submit/tizen/20190805.074256
Hwankyu Jhun [Mon, 5 Aug 2019 06:13:35 +0000 (15:13 +0900)]
Release version 0.18.2

Changes:
 - Change signal name about CoolDown mode
 - Define new functions for handling package recovery mode
 - Fix a wrong implementation

Change-Id: Id7e27e76995c7d8775bfdb77d27e440738aa29ff
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoFix a wrong implementation 46/211446/1
Hwankyu Jhun [Mon, 5 Aug 2019 06:06:08 +0000 (15:06 +0900)]
Fix a wrong implementation

Change-Id: Ifb3ea4f60aaf0d9285f27797f18fb305cec50ee3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoDefine new functions for handling package recovery mode 56/211356/3
Hwankyu Jhun [Fri, 2 Aug 2019 00:46:42 +0000 (09:46 +0900)]
Define new functions for handling package recovery mode

To handle recovering the package, the functions are added.
While recoverying the package, the functions will be invoked by the
installer.

Adds:
 - PKGMGR_PARSER_PLUGIN_RECOVERINSTALL()
 - PKGMGR_PARSER_PLUGIN_RECOVERUNINSTALL()
 - PKGMGR_PARSER_PLUGIN_RECOVERUPGRADE()
 - PKGMGR_MDPARSER_PLUGIN_RECOVERINSTALL()
 - PKGMGR_MDPARSER_PLUGIN_RECOVERUNINSTALL()
 - PKGMGR_MDPARSER_PLUGIN_RECOVERUPGRADE()

Change-Id: I80526ca8181c4c48bfe04029185b078d2fcdb351
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoChange signal name about CoolDown mode 52/211352/1
Hwankyu Jhun [Thu, 1 Aug 2019 22:52:59 +0000 (07:52 +0900)]
Change signal name about CoolDown mode

The CoolDown Mode signal interface is changed.

Change-Id: Iadf160456e48feb08f8d38c77c9abe4d59333d72
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.18.1 65/211265/1 accepted/tizen/unified/20190801.113453 submit/tizen/20190731.235245
Hwankyu Jhun [Wed, 31 Jul 2019 22:35:45 +0000 (07:35 +0900)]
Release version 0.18.1

Changes:
 - Make explicit linkage

Change-Id: I63b06b922c649713d34e39a8b4b7959d89f3d951
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoMake explicit linkage 31/211231/1
Hwankyu Jhun [Wed, 31 Jul 2019 07:48:25 +0000 (16:48 +0900)]
Make explicit linkage

Change-Id: I73026b4d51b25d1dcb7ecfa9f57cfe3fe2330bb4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.18.0 53/210853/1 accepted/tizen/unified/20190729.011440 accepted/tizen/unified/20190731.112544 submit/tizen/20190725.084046 submit/tizen/20190726.003553 submit/tizen/20190730.054929
Hwankyu Jhun [Thu, 25 Jul 2019 08:34:50 +0000 (17:34 +0900)]
Release version 0.18.0

Changes:
 - Add new functions to handle the running instance

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

5 years agoAdd new functions to handle the running instance 45/210045/8
Hwankyu Jhun [Mon, 15 Jul 2019 07:56:06 +0000 (16:56 +0900)]
Add new functions to handle the running instance

Adds:
 - aul_comp_resume()
 - aul_comp_terminate()
 - aul_comp_is_running()
 - aul_terminate_app_with_instance_id()
 - aul_terminate_app_with_instance_id_for_uid()
 - aul_terminate_app()
 - aul_terminate_app_for_uid()
 - aul_app_is_running_with_instance_id()

Change-Id: Ie8c23c87fbb808da8c43cdf966418a82aae67edf
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.17.7 51/210551/1 accepted/tizen/unified/20190723.053636 submit/tizen/20190722.090051
Junghyun Yeon [Mon, 22 Jul 2019 08:44:37 +0000 (17:44 +0900)]
Release version 0.17.7

Changes:
 - Revert "Fix pkg parser connection logic"

Change-Id: I46084314fc6324d7eb6845cacfdbc133c2118152
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoRevert "Fix pkg parser connection logic" 24/210524/2
ilho kim [Mon, 22 Jul 2019 05:35:13 +0000 (05:35 +0000)]
Revert "Fix pkg parser connection logic"

This reverts commit 59df121d2dfef09f2e241b919fcd703f0a9113c8.

Change-Id: Ic5d0eee3ae3b5e35db8dd677882681f9ca43016b

5 years agoRelease version 0.17.6 02/210102/1 accepted/tizen/unified/20190717.115224 submit/tizen/20190716.022534
Junghyun Yeon [Tue, 16 Jul 2019 00:38:41 +0000 (09:38 +0900)]
Release version 0.17.6

Changes:
 - Fix pkg parser connection logic

Change-Id: Id6b6f4501037b30e1816c434eca54f48984fed40
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoFix pkg parser connection logic 00/210000/1
Junghyun Yeon [Mon, 15 Jul 2019 01:30:34 +0000 (10:30 +0900)]
Fix pkg parser connection logic

Journaling mode of parser db has changed into WAL so
AUL code should be changed.

Change-Id: Ib093d0f1139bec7c53a9f81fcdba1b82254350db
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoRelease version 0.17.5 62/209762/1 accepted/tizen/unified/20190712.115353 accepted/tizen/unified/20190714.220936 accepted/tizen/unified/20190715.223919 submit/tizen/20190710.225553 submit/tizen/20190712.055208 submit/tizen/20190715.050855
Hwankyu Jhun [Wed, 10 Jul 2019 22:42:32 +0000 (07:42 +0900)]
Release version 0.17.5

Changes:
 - Support AUL watch control

Change-Id: Ib58ae06777773d16e64a1e99c9963c3703472f7c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoSupport AUL watch control 14/209214/4
Hwankyu Jhun [Wed, 3 Jul 2019 10:30:38 +0000 (19:30 +0900)]
Support AUL watch control

To enable manual render, the entry point of the app-control callback is
needed. The aul_watch_control_cb() callback function is called before
calling the app_control_cb() callback function.

Adds:
 - aul_watch_control_add_handler()
 - aul_watch_control_remove_handler()

Change-Id: I14443adf62a905d5887118be9f313f689ae9df11
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.17.4 59/209659/1 accepted/tizen/unified/20190710.103448 accepted/tizen/unified/20190710.103508 submit/tizen/20190709.233009 submit/tizen/20190710.040203
Hwankyu Jhun [Tue, 9 Jul 2019 23:21:04 +0000 (08:21 +0900)]
Release version 0.17.4

Changes:
 - Support permission check

Change-Id: I8ab2343278221d27a0cec0d1e0c9e29c651e30ce
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoSupport permission check 56/209056/19
Hwankyu Jhun [Tue, 2 Jul 2019 04:46:10 +0000 (13:46 +0900)]
Support permission check

After this patch is applied, the packagemanager.info privilege is needed
to get the component information and the running component context.
If a process sends a request to get the component information, AMD
checks the privilege before sending the result. If the process doesn't
have a permission, the function returns AUL_R_EILLACC.

The privilege is needed to use the follwing list:
 - aul_comp_info_create()
 - aul_comp_info_usr_create()
 - aul_comp_info_foreach_comp_info_from_app()
 - aul_comp_info_usr_foreach_comp_info_from_app()
 - aul_comp_info_foreach_comp_info()
 - aul_comp_info_usr_foreach_comp_info()
 - aul_comp_context_foreach_comp_context()
 - aul_comp_context_create()
 - aul_comp_context_usr_create()

Change-Id: I1494c4d6eb7e8bbd5b8c67ae181776998b518f9c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.17.3 15/207915/1 accepted/tizen/unified/20190618.045934 submit/tizen/20190614.041207 submit/tizen/20190616.225648
Hwankyu Jhun [Fri, 14 Jun 2019 04:09:54 +0000 (13:09 +0900)]
Release version 0.17.3

Changes:
 - Make thread safe code

Change-Id: Ia5c72f523a263f5c9671af0dd8a9d79f3506e997
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoMake thread safe code 81/207781/5
Hwankyu Jhun [Wed, 12 Jun 2019 11:05:37 +0000 (20:05 +0900)]
Make thread safe code

To avoid concurrent access to the reply callback info, this patch adds
locking and unlocking the mutex.
And, the error callback info is separated from the result callback info.
The name of the result callback info is changed to `aul_reply_info_t`.

Change-Id: Ibade99816ac38630ed8ac042620b8a7cb2f6890b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.17.2 00/207500/1 accepted/tizen/unified/20190610.082618 submit/tizen/20190610.004123
Hwankyu Jhun [Wed, 5 Jun 2019 09:00:42 +0000 (18:00 +0900)]
Release version 0.17.2

Changes:
 - Fix invalid access

Change-Id: I84dee3f42e358a86c0f0c230e612c69df1b4324d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoFix invalid access 99/207499/1
Hwankyu Jhun [Wed, 5 Jun 2019 08:51:29 +0000 (17:51 +0900)]
Fix invalid access

If the process uses the aul_svc_run_service_for_uid() function in the
thread, the result callback info handle is deleted in the main thread when
the callee application sends a result immediately.

 - Memcheck report
+------------------------------------------------------------------------------+
| Thread 4:                                                                    |
| Invalid write of size 4                                                      |
|   at 0x50F7594: __launch_app_with_result (launch_with_result.c:337)          |
|   by 0x50F7781: aul_launch_app_with_result_for_uid (launch_with_result.c:357)|
|   by 0x50FA777: __run_svc_with_pkgname (service.c:247)                       |
|   by 0x50FAE37: __run_service (service.c:896)                                |
|   by 0x50FB743: aul_svc_run_service_for_uid (service.c:1171)                 |
| Address 0x5a57b58 is 0 bytes inside a block of size 24 free'd                |
|   at 0x4846EC8: free (vg_replace_malloc.c:530)                               |
|   by 0x50F73C5: __call_app_result_callback (launch_with_result.c:207)        |
|   by 0x50F7741: app_result (launch_with_result.c:295)                        |
| Block was alloc'd at                                                         |
|   at 0x48458A4: malloc (vg_replace_malloc.c:299)                             |
|   by 0x50F71FF: __create_resultcb (launch_with_result.c:128)                 |
|   by 0x50F7575: __launch_app_with_result (launch_with_result.c:329)          |
|   by 0x50F7781: aul_launch_app_with_result_for_uid (launch_with_result.c:357)|
+------------------------------------------------------------------------------+

Change-Id: I9cf4704e8bf949d136e810004e5e89680e547e24
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.17.1 92/207292/1 accepted/tizen/unified/20190604.014601 submit/tizen/20190603.010409
Hwankyu Jhun [Mon, 3 Jun 2019 00:13:59 +0000 (09:13 +0900)]
Release version 0.17.1

Changes:
 - Support instance termination
 - Fix a memory corruption

Change-Id: If9f4e717fdf8965b257f49a28aacf631f3736e58
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoFix a memory corruption 76/207276/2
Hwankyu Jhun [Fri, 31 May 2019 10:03:12 +0000 (19:03 +0900)]
Fix a memory corruption

If the reply callback function is nullptr, the parameter of
calling aul_send_launch_request_for_uid() has to be nullptr.

- Memcheck result
 Invalid read of size 4
   at 0x4A30ACA: __aul_cb (service.c:218)
   by 0x4A2DC0B: __call_app_result_callback (launch_with_result.c:216)
 Address 0x566d7f4 is 4 bytes inside a block of size 16 free'd
   at 0x4846EC8: free (vg_replace_malloc.c:530)
   by 0x4A2D95B: __aul_error_handler (launch_with_result.c:678)
 Block was alloc'd at
   at 0x484801C: calloc (vg_replace_malloc.c:711)
   by 0x4A3121D: __create_rescb (service.c:134)

Change-Id: Ia094b5eabddbaa5a617feaad15d6e726d41ae4bd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoSupport instance termination 06/206706/5
Hwankyu Jhun [Thu, 23 May 2019 10:08:11 +0000 (19:08 +0900)]
Support instance termination

From Tizen 5.5, the component-based application is supported. The
component-based application has many components. We have to support
to terminate each instance.
When a developer calls aul_svc_subapp_terminate_request(), the daemon
terminates the launched instance.

Adds:
 - aul_terminate_instance_async()
 - aul_terminate_instance_async_for_uid()
 - aul_svc_subapp_termiante_request()

Change-Id: I14cb407e9af9f291fdf746f7dcf189e540ab0838
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.17.0 61/205161/1 accepted/tizen/unified/20190430.113449 submit/tizen/20190430.020617
Hwankyu Jhun [Tue, 30 Apr 2019 01:14:51 +0000 (10:14 +0900)]
Release version 0.17.0

Changes:
 - Add a new command

Change-Id: I091a01c765d12f051add25c2f6a692d58b2b5f14
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoAdd a new command 06/203106/4
Hwankyu Jhun [Wed, 10 Apr 2019 02:23:57 +0000 (11:23 +0900)]
Add a new command

Added:
 - LAUNCHPAD_CHILD_PROCESS

Change-Id: Idd13b46cc283538eb86cfaf72c293492f829c5bc
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.16.2 74/204474/1 accepted/tizen/unified/20190425.014601 submit/tizen/20190424.063738
Hwankyu Jhun [Wed, 24 Apr 2019 06:31:02 +0000 (15:31 +0900)]
Release version 0.16.2

Changes:
 - Fix compile option

Change-Id: I2390015ab5cdf040c3cd4ac1ee0ab4ad070d89ea
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoFix compile option 70/204470/1
Hwankyu Jhun [Wed, 24 Apr 2019 06:23:19 +0000 (15:23 +0900)]
Fix compile option

Change-Id: I7c7b63287e9433bcdf4c55d93af90c2ca662aecb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.16.1 23/204423/1 submit/tizen/20190424.011720 submit/tizen/20190424.055023
Hwankyu Jhun [Wed, 24 Apr 2019 01:07:13 +0000 (10:07 +0900)]
Release version 0.16.1

Changes:
 - Fix a wrong implementation
 - Modify retrieving components information
 - Add a result value for out of memory

Change-Id: I51a23b328840beb7570150742bcb200affbed25b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
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>