platform/core/appfw/app-core.git
18 months agoSupport appcore plugin 76/292876/4
Hwankyu Jhun [Tue, 16 May 2023 07:29:08 +0000 (07:29 +0000)]
Support appcore plugin

Some product developer wants to change the behavior at the start & end stages
of the app-core. This patch supports the app-core plugin.

Change-Id: I8516ec0bb8bb9d47c7bfbb05f31ee3f239c4280f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
18 months agoRelease version 1.20.2 69/291769/1
Hwankyu Jhun [Fri, 21 Apr 2023 04:45:50 +0000 (04:45 +0000)]
Release version 1.20.2

Changes:
 - Fix build error for gcc 12.2.0

Change-Id: I79fac917f071a76ae5c505e7b63a0eef95d87092
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
18 months agoFix build error for gcc 12.2.0 47/291747/1
Hwankyu Jhun [Fri, 21 Apr 2023 00:44:25 +0000 (00:44 +0000)]
Fix build error for gcc 12.2.0

- Add missing header inclusion

Change-Id: Idb069678c199d10296eb22bb012c35e5f24a4abf
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
19 months agoRelease version 1.20.1 09/291109/1 accepted/tizen/unified/20230411.161312
Changgyu Choi [Mon, 10 Apr 2023 05:23:53 +0000 (14:23 +0900)]
Release version 1.20.1

Changes:
 - Modify sigterm handling method

Change-Id: I39647b23d503eb003d8d048fa118be1cea1e99c9
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
19 months agoModify sigterm handling method 95/291095/4
Changgyu Choi [Mon, 10 Apr 2023 01:43:40 +0000 (10:43 +0900)]
Modify sigterm handling method

When handling signals using the signal() API, there can be issues where the previous behavior is not properly finished and interrupted.
This patch switches to using g_unix_signal_add() for safer signal handling.

Change-Id: I73caf0d88b7fbbfd5171d32322eb81d681ec8b31
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
20 months agoRelease version 1.20.0 46/289446/1 accepted/tizen/unified/20230309.035155
Hwankyu Jhun [Wed, 8 Mar 2023 00:51:19 +0000 (00:51 +0000)]
Release version 1.20.0

Changes:
 - Add internal method to set window position
 - Support using recent window position

Change-Id: I5e19d5f3b9f3c26377f370601886a56d29b43f87
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
20 months agoSupport using recent window position 29/289229/9
Hwankyu Jhun [Fri, 3 Mar 2023 03:32:59 +0000 (03:32 +0000)]
Support using recent window position

When the application is started with the setting window position option,
the application core saves the position information to the file.
And then, the application will use the recent window poisition when it is
restarted.

Change-Id: I3e9a5c3760a2fd56e66db135d14d6e73027ed1ba
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
20 months agoAdd internal method to set window position 87/289187/1
Hwankyu Jhun [Thu, 2 Mar 2023 08:42:31 +0000 (08:42 +0000)]
Add internal method to set window position

The SetWindowPosition() method of AppCoreUiBase::Impl is added.

Change-Id: Idd7a4fbba2d09e64e34c87af1fbe102512861f19
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
20 months agoRelease version 1.19.0 16/288716/1 accepted/tizen/unified/20230302.131108 accepted/tizen/unified/20230303.162738
Changgyu Choi [Wed, 22 Feb 2023 04:31:13 +0000 (13:31 +0900)]
Release version 1.19.0

Changes:
 - Add window position
 - Fix static analysis issues

Change-Id: I378ab5dbf19f595862bf313c033fa4b01cd2064e
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
20 months agoFix static analysis issues 07/288707/1
Changgyu Choi [Wed, 22 Feb 2023 02:28:10 +0000 (11:28 +0900)]
Fix static analysis issues

Add to check whether err is nullptr or not.

Change-Id: Ie21ba4836914da458ae80d6b11f0462079e43351
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
21 months agoAdd window position 21/286921/7
SukhyungKang [Tue, 17 Jan 2023 01:28:39 +0000 (10:28 +0900)]
Add window position

Change-Id: I0cd675d522164242fa28b8b5590be4fcb76ed011
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
22 months agoRelease version 1.18.25 58/286758/1 accepted/tizen/7.0/unified/20230113.171620 accepted/tizen/unified/20230116.060907
Hwankyu Jhun [Thu, 12 Jan 2023 09:31:34 +0000 (09:31 +0000)]
Release version 1.18.25

Changes:
 - Add nodelete option for exit handler

Change-Id: I86b7481703ea712f650f6e7d0b7c56698fc82948
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
22 months agoAdd nodelete option for exit handler 50/286750/1
Hwankyu Jhun [Thu, 12 Jan 2023 08:57:08 +0000 (08:57 +0000)]
Add nodelete option for exit handler

If the process unloads the appcore-common library, the process will be
crashed by exit handler. While exiting the process, glibc calls the exit handler.
In that case, the process has crashed if the appcore-common library is unloaded.

Change-Id: I373af823d82bad4843bf66df749f56e2b24474ac
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
22 months agoRelease version 1.18.24 00/286600/1 accepted/tizen/7.0/unified/20230111.174852 accepted/tizen/unified/20230111.174558
Hwankyu Jhun [Tue, 10 Jan 2023 10:09:47 +0000 (10:09 +0000)]
Release version 1.18.24

Changes:
 - Handle exit(127)

Change-Id: I9b8cbb553da2b660b5febba9ba88f2ffed374f9f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
22 months agoHandle exit(127) 94/286594/2
Hwankyu Jhun [Tue, 10 Jan 2023 09:40:01 +0000 (09:40 +0000)]
Handle exit(127)

If the process is terminated with status 127, we prints the backtrace
for debugging.

Change-Id: Ice9f2eb47ed53a73adde1d0d7834583837677321
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
22 months agoRelease version 1.18.23 97/285897/1 accepted/tizen/7.0/unified/20221223.170217 accepted/tizen/unified/20221227.170629
Changgyu Choi [Thu, 22 Dec 2022 06:27:32 +0000 (15:27 +0900)]
Release version 1.18.23

Changes:
 - Fix library path for aarch64

Change-Id: Icbed4ca94d6348a0e1c06766f779f380c2d99aee
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
22 months agoFix library path for aarch64 85/285885/1
Changgyu Choi [Thu, 22 Dec 2022 06:02:49 +0000 (15:02 +0900)]
Fix library path for aarch64

Change-Id: Iae49825da7d587a49550279b79ae324223144cb5
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
23 months agoRelease version 1.18.22 36/285036/2
Changgyu Choi [Mon, 5 Dec 2022 02:33:42 +0000 (11:33 +0900)]
Release version 1.18.22

Changes:
 - Fix sigterm handler behavior
 - Remove ecore dependency from app-core-cpp

Change-Id: I23b6b653d68555f977928f60cb6a49c10470f0c8
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
23 months agoRemove ecore dependency from app-core-cpp 37/285037/1
Changgyu Choi [Mon, 5 Dec 2022 02:31:42 +0000 (11:31 +0900)]
Remove ecore dependency from app-core-cpp

Change-Id: I11bebbc4bc8a27a457379abc7c58ac89feb5704f
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
23 months agoFix sigterm handler behavior 32/285032/2
Changgyu Choi [Mon, 5 Dec 2022 01:00:14 +0000 (10:00 +0900)]
Fix sigterm handler behavior

Some apps may need to call elm_exit().
This patch generalizes the termination logic by Exit().

Change-Id: I1242883c2515c7c2306f7464de5088257ae477b6
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
23 months agoRelease version 1.18.21 68/284968/1
Changgyu Choi [Fri, 2 Dec 2022 01:30:02 +0000 (10:30 +0900)]
Release version 1.18.21

Changes:
 - Modify handling rpc-port request
 - Prevent context_ invalid access
 - Add SIGTERM handler

Change-Id: Ice1fa5b8a3d0debb11699ab00f024a0be24fda68
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
23 months agoAdd SIGTERM handler 67/284967/3
Changgyu Choi [Fri, 2 Dec 2022 01:21:02 +0000 (10:21 +0900)]
Add SIGTERM handler

when the coreclr receives a sigterm, it attempts to forcibly exit without checking the thread status.
As a result, there is a problem that the app-core context disappears before the mainloop.
So a SIGTERM handler is added.

Change-Id: I4baa3a401cbf50ed1e17d8169e48f517a8b73a17
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
23 months agoPrevent context_ invalid access 23/284923/1
Changgyu Choi [Thu, 1 Dec 2022 02:39:27 +0000 (11:39 +0900)]
Prevent context_ invalid access

When AppCoreBase was destructed, context_ is invalid.
So in this case, it is necessary to set context_ to nullptr to prevent
invalid access.

Change-Id: I0641e4394f250022863b370bf0b472e483d6367d
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 years agoModify handling rpc-port request 45/283345/1
Hwankyu Jhun [Tue, 25 Oct 2022 02:35:47 +0000 (02:35 +0000)]
Modify handling rpc-port request

When getting the rpc-port request, the application core doens't unset
the background state to maintain the background status.

Change-Id: Ia9cd3359591ee30bd11d2bd55900823ab98915ba
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 1.18.20 40/281940/1 accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.062523 accepted/tizen/7.0/unified/hotfix/20221116.104940 accepted/tizen/unified/20220928.020821 tizen_7.0_m2_release
Changgyu Choi [Fri, 23 Sep 2022 09:25:31 +0000 (18:25 +0900)]
Release version 1.18.20

Changes:
 - Revert "Change EventBase::SetVal to virtual"

Change-Id: Ie8916833c83e49d10b0b958b57351bdb5c4b69c7
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 years agoMerge "Revert "Change EventBase::SetVal to virtual"" into tizen
Changgyu Choi [Fri, 23 Sep 2022 09:24:31 +0000 (09:24 +0000)]
Merge "Revert "Change EventBase::SetVal to virtual"" into tizen

2 years agoRevert "Change EventBase::SetVal to virtual" 39/281939/1
Changgyu Choi [Fri, 23 Sep 2022 09:22:35 +0000 (09:22 +0000)]
Revert "Change EventBase::SetVal to virtual"

This reverts commit 8b8274f009fd6e4f572a95cd5bf18e3359a86518.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I6ea72a87f29dcf11bed328b560e02e571c421eba

2 years agoRelease version 1.18.19 39/281839/1
Changgyu Choi [Thu, 22 Sep 2022 08:17:28 +0000 (17:17 +0900)]
Release version 1.18.19

Changes:
 - Change EventBase::SetVal to virtual

Change-Id: I65aa2958edf8210f519015a76839decee4c93e58
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 years agoChange EventBase::SetVal to virtual 21/281821/1
Changgyu Choi [Thu, 22 Sep 2022 06:47:56 +0000 (15:47 +0900)]
Change EventBase::SetVal to virtual

Change-Id: I9adafb6ca120eedd418fa1948db7051547475b98
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 years agoRelease version 1.18.18 16/281516/1 accepted/tizen/unified/20220920.110647
Hwankyu Jhun [Mon, 19 Sep 2022 23:03:10 +0000 (23:03 +0000)]
Release version 1.18.18

Changes:
 - Revert "Remove unnecessary function call"

Change-Id: I44f8f642ab3b4f64f4e876799ae49b37667ae7e1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRevert "Remove unnecessary function call" 15/281515/1
Hwankyu Jhun [Mon, 19 Sep 2022 22:57:27 +0000 (22:57 +0000)]
Revert "Remove unnecessary function call"

This reverts commit cb46f00a543a64627561e864ffb15622d4680133.

Change-Id: Ib32d52ef607a51031d41e5ebb28fb968edd91ae7

2 years agoRelease version 1.18.17 49/281349/1 accepted/tizen/unified/20220919.090125
Hwankyu Jhun [Fri, 16 Sep 2022 00:16:39 +0000 (00:16 +0000)]
Release version 1.18.17

Changes:
 - Remove unnecessary function call

Change-Id: If934d2ea79fd184b02f9bb93e8a3b56d9b943bdc
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRemove unnecessary function call 90/281290/1
Hwankyu Jhun [Thu, 15 Sep 2022 08:00:03 +0000 (08:00 +0000)]
Remove unnecessary function call

Calling ecore_shutdown() is removed.

Change-Id: I434f78d425c3d8b0959f667f21a6a12b7ac11392
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 1.18.16 06/279806/1 accepted/tizen/unified/20220819.122455 submit/tizen/20220818.055831
Hwankyu Jhun [Thu, 18 Aug 2022 05:54:15 +0000 (05:54 +0000)]
Release version 1.18.16

Changes:
 - Fix a bug about setting i18n

Change-Id: I10d78816d1d98a4676cebf5c9ef2e4ee485f3a79
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoFix a bug about setting i18n 02/279802/1
Hwankyu Jhun [Thu, 18 Aug 2022 05:22:37 +0000 (05:22 +0000)]
Fix a bug about setting i18n

The std::set is not implemented using stack. The languages value MUST be
stored in the added order. This patch uses std::vector instead of
std::set to add languages.

Change-Id: I576761541c61b85b0de7ad6a850ecf23d01a6276
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRevert "Revert "Change a behavior of handling low memory event"" 72/279372/1 accepted/tizen/unified/20220810.135844 submit/tizen/20220808.225224
Hwankyu Jhun [Mon, 8 Aug 2022 06:18:35 +0000 (15:18 +0900)]
Revert "Revert "Change a behavior of handling low memory event""

This reverts commit 0abb97c15d6344051a1542738522706fef49826d.

Change-Id: I01b757d2be680ec61833ca0dc980ea4d77b92b38

2 years agoRevert "Change a behavior of handling low memory event" 91/278891/1
Hwankyu Jhun [Wed, 27 Jul 2022 11:02:28 +0000 (20:02 +0900)]
Revert "Change a behavior of handling low memory event"

This reverts commit be14b2334f208de08374a272fb481aef361ad83e.

Change-Id: Ie33a52681cb99c915e38cf37d815ab210e7c9b32

2 years agoRelease version 1.18.15 44/278844/1 submit/tizen/20220727.003829
Hwankyu Jhun [Wed, 27 Jul 2022 00:22:42 +0000 (09:22 +0900)]
Release version 1.18.15

Changes:
 - Change a behavior of handling low memory event

Change-Id: Iac90b7ece0d22b36cd54877580b9c76737d42fe2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoChange a behavior of handling low memory event 42/278842/2
Hwankyu Jhun [Tue, 26 Jul 2022 23:19:56 +0000 (08:19 +0900)]
Change a behavior of handling low memory event

In the previous, if the event value is normal, the app core does not
send the event to listeners. To notify that the system memory is a normal
status, the app core should send the event to listeners.

Change-Id: I6545029dc963dcc98b843bcc100033e545649e2b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 1.18.14 08/278608/1 accepted/tizen/unified/20220728.131928 submit/tizen/20220724.222434 submit/tizen/20220725.232057
Hwankyu Jhun [Fri, 22 Jul 2022 08:59:20 +0000 (17:59 +0900)]
Release version 1.18.14

Changes:
 - Add missing ttrace logs

Change-Id: Iee705544bf732b92d3a7757b04ec8dce9301ca1c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoAdd missing ttrace logs 99/278599/1
Hwankyu Jhun [Fri, 22 Jul 2022 07:58:17 +0000 (16:58 +0900)]
Add missing ttrace logs

The OnControl() method is added to AppCoreUiBase class for overriding.
While calling the method, it prints ttrace logs for debugging.

Change-Id: I8569e06c51abe837b773de65c839ef96bb7664e2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 1.18.13 18/278418/1 accepted/tizen/unified/20220721.135018 submit/tizen/20220720.083719
Changgyu Choi [Wed, 20 Jul 2022 08:36:30 +0000 (17:36 +0900)]
Release version 1.18.13

Changes:
 - Add sharing AppCoreBase context

Change-Id: I74cd906cbd8afd094b71c1d480155f9740992fa9
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 years agoAdd sharing AppCoreBase context 00/278400/5
Changgyu Choi [Wed, 20 Jul 2022 06:12:35 +0000 (15:12 +0900)]
Add sharing AppCoreBase context

Some app is using different levels of appcore api together.
This patch is for sharing AppCoreBase context with upper level appcore
api.

Change-Id: I9614d6fa1f9ca1f69c3fa1e805c2213e67f7bdbd
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 years agoRelease version 1.18.12 28/276928/1 accepted/tizen/unified/20220629.021813 submit/tizen/20220628.023924
Hwankyu Jhun [Tue, 28 Jun 2022 02:32:27 +0000 (11:32 +0900)]
Release version 1.18.12

Changes:
 - Fix spec file for coverage measurement

Change-Id: I7d652fb01c371cb3cc2d26b8485d5d84523add26
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoFix spec file for coverage measurement 91/276891/1
Hwankyu Jhun [Mon, 27 Jun 2022 09:36:36 +0000 (18:36 +0900)]
Fix spec file for coverage measurement

To measure code coverages automatically, a run-unittest.sh is needed.

Change-Id: Ibdc938719d14709d395bce581cc0014367955a5b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 1.18.11 83/276483/1 accepted/tizen/unified/20220621.140401 submit/tizen/20220617.071110
Changgyu Choi [Fri, 17 Jun 2022 07:10:13 +0000 (16:10 +0900)]
Release version 1.18.11

Changes:
 - Fix create return condition

Change-Id: Id9aba7a8b691637732655e3bc963d87a563d8d3f
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 years agoFix create return condition 82/276482/1
Changgyu Choi [Fri, 17 Jun 2022 07:01:48 +0000 (16:01 +0900)]
Fix create return condition

This patch fix worng create callback return error condition of efl app

Change-Id: I63fcfc393ae24793b2676a9f77b337be733aca7d
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 years agoRelease version 1.18.10 72/276472/1 submit/tizen/20220617.063056
Hwankyu Jhun [Fri, 17 Jun 2022 05:52:36 +0000 (14:52 +0900)]
Release version 1.18.10

Changes:
 - Fix wrong type casting

Change-Id: Id04f720f62439a8958e94ec88dcf36b020694d1a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoFix wrong type casting 71/276471/1
Hwankyu Jhun [Fri, 17 Jun 2022 05:32:28 +0000 (14:32 +0900)]
Fix wrong type casting

In 64 bit, guint is 4 bytes. The pointer type has to be 8 bytes in 64-bit.

Change-Id: I8394013c283935b1cabeac61a8cac3b1ab952e8a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 1.18.9 72/276272/1 submit/tizen/20220614.001007 submit/tizen/20220615.004823
Changgyu Choi [Tue, 14 Jun 2022 00:07:23 +0000 (09:07 +0900)]
Release version 1.18.9

Changes:
 - Fix implementation

Change-Id: Ibc30d12781ec1248a47a36745ee7f5558bcc537a
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 years agoFix implementation 33/276233/3
Changgyu Choi [Mon, 13 Jun 2022 08:02:25 +0000 (17:02 +0900)]
Fix implementation

appcore_base_add_event() & appcore_base_remove_event() should be
performed even before calling appcore_base_init().

Change-Id: I5312c339780078a75200b2606e2c5fd48bd6b6ef
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 years agoRelease version 1.18.8 12/276212/1 submit/tizen/20220613.042659
Changgyu Choi [Mon, 13 Jun 2022 04:24:39 +0000 (13:24 +0900)]
Release version 1.18.8

Changes:
 - Refactor appcore legacy api to cpp

Change-Id: I3a781a92313ede36edacee5d63b40390086bde05
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 years agoRefactor appcore legacy api to cpp 04/274604/8
Changgyu Choi [Tue, 3 May 2022 08:19:38 +0000 (17:19 +0900)]
Refactor appcore legacy api to cpp

Some tizen appcore apps use a mixture defferent level APIs.
This patch is for compatibility between different levels of appcore API.

Change-Id: If39765cb2eff5cbb36118a2cc89323098bd856fc
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 years agoRelease version 1.18.7 20/274620/1 accepted/tizen/unified/20220505.024839 submit/tizen/20220503.234340
Hwankyu Jhun [Tue, 3 May 2022 22:21:41 +0000 (07:21 +0900)]
Release version 1.18.7

Changes:
 - Add nullptr check of EcoreHandler

Change-Id: I34cf5c8b38161be917c09fd2a2840a9f51620d00
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoAdd nullptr check of EcoreHandler 13/274613/1
Hwankyu Jhun [Tue, 3 May 2022 10:49:03 +0000 (19:49 +0900)]
Add nullptr check of EcoreHandler

Before calling methods of EcoreHandler, the AppCoreMultiWindowBase
should check whether the handler is nullptr or not.

Change-Id: I3a52492d3ecefef46ae5ecc7bb4ffd6bc06fb3c0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 1.18.6 83/274583/1 submit/tizen/20220503.045714
Hwankyu Jhun [Tue, 3 May 2022 02:44:42 +0000 (11:44 +0900)]
Release version 1.18.6

Changes:
 - Fix enumeration value of AppCoreTaskBase

Change-Id: I3c669dbf091668d2721c63d903177bb313565240
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoFix enumeration value of AppCoreTaskBase 78/274578/1
Hwankyu Jhun [Tue, 3 May 2022 02:17:17 +0000 (11:17 +0900)]
Fix enumeration value of AppCoreTaskBase

Enumeration values are changed to same enumaration values as app-common package.

Change-Id: I2a7b61c9cd1f9970399b94dfb51558742e91f082
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 1.18.5 68/274568/1 submit/tizen/20220502.235916
Hwankyu Jhun [Mon, 2 May 2022 23:58:27 +0000 (08:58 +0900)]
Release version 1.18.5

Changes:
 - Fix Ecore Handler

Change-Id: I002fd7cd8ded5e9ff680d00d7e1ce8b09e63b5d8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoFix Ecore Handler 64/274564/4
Hwankyu Jhun [Mon, 2 May 2022 12:19:47 +0000 (21:19 +0900)]
Fix Ecore Handler

Setting Ecore events is separated from Init() method to prevent a crash issue.
If the ecore_wl2_shutdown() is called before app_terminate_cb() call,
the application will be crashed by that. While calling the ecore_wl2_shutdown(),
resources related to the wayland are released.
Currently, the indicator application has crashed when calling
the tzsh_indicator_service_destroy(). Because, it's released by the EcoreHandler::Fini().
The EcoreHandler::SetEvents() and the EcoreHandler::UnsetEvents() are added.

Change-Id: Ic153709518b24e4083688d1ccffb37e44c835a66
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 1.18.4 62/274062/1 accepted/tizen/unified/20220421.140737 submit/tizen/20220420.224655
Hwankyu Jhun [Wed, 20 Apr 2022 22:42:12 +0000 (07:42 +0900)]
Release version 1.18.4

Changes:
 - Fix wrong language priority setting

Change-Id: I25aac15d975c7a3b86e6ab8fca2e28c865ce8bc7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoFix wrong language priority setting 60/274060/1
Hwankyu Jhun [Wed, 20 Apr 2022 12:49:04 +0000 (21:49 +0900)]
Fix wrong language priority setting

The language value MUST be "<system_lang>:en_US:en_GB:en".
Currently, the language value is "en:en_GB:en_US:<system_lang>".
This patch adjusts the language priority.

Change-Id: Id07dfd0c6ca60997c8aa599f2cfcdab41268563d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 1.18.3 93/273993/1 accepted/tizen/unified/20220420.135428 submit/tizen/20220419.233420
Hwankyu Jhun [Tue, 19 Apr 2022 22:38:21 +0000 (07:38 +0900)]
Release version 1.18.3

Changes:
 - Add a missing enumeration value
 - [UI Thread] Change comm to "UIThread+"

Change-Id: Icd18060a623d93c415412b562973216856cdb0bb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years ago[UI Thread] Change comm to "UIThread+" 67/273967/1
Hwankyu Jhun [Tue, 19 Apr 2022 06:11:29 +0000 (15:11 +0900)]
[UI Thread] Change comm to "UIThread+"

This patch writes "UIThread+" to "/proc/<tid>/comm".
After this patch is applied, we can check the thread ID using ps command.

Change-Id: I7819beb65a0ed40267ad3d6f933ccd6c579dbd4d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoAdd a missing enumeration value 78/273878/2
Hwankyu Jhun [Fri, 15 Apr 2022 05:11:01 +0000 (14:11 +0900)]
Add a missing enumeration value

This patch adds APP_CORE_UI_BASE_HINT_DUAL_THREAD value to
app_core_ui_base_hint_e.

Change-Id: Ic8a52d7cea305da5d7c0ef815fac7e7f684b3b44
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 1.18.2 13/273713/1 accepted/tizen/unified/20220413.133142 submit/tizen/20220413.010328
Hwankyu Jhun [Wed, 13 Apr 2022 00:48:27 +0000 (09:48 +0900)]
Release version 1.18.2

Changes:
 - Remove access() call
 - Fix wrong implementation about AppControl call

Change-Id: I7ed4cc50c1af30c3ca35098e14736e1f6f8283ec
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoFix wrong implementation about AppControl call 77/273677/4
Hwankyu Jhun [Tue, 12 Apr 2022 07:47:26 +0000 (16:47 +0900)]
Fix wrong implementation about AppControl call

If the bundle data has "__K_SERVICE_THREAD", the request will be
delivered to the service thread.

Change-Id: Id5fba4c8b49a561085029001c61a33f096de7f1e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRemove access() call 80/273680/2
Hwankyu Jhun [Tue, 12 Apr 2022 08:15:07 +0000 (17:15 +0900)]
Remove access() call

When getting the locale path, the application core checks whether the path
exists or not. And, if it does not exist, the function prints the log for debugging.
This patch removes it. It makes a delay issue about launching an application
at boot up time.

Change-Id: I1733f7e293baca052aeac1a48207bd00e5cc2bbc
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 1.18.1 66/273666/1 accepted/tizen/unified/20220412.100354 submit/tizen/20220412.011447
Hwankyu Jhun [Tue, 12 Apr 2022 01:11:29 +0000 (10:11 +0900)]
Release version 1.18.1

Changes:
 - Fix build break issue

Change-Id: I181591f9a89245ab3f2e0ff5d004cd57582dcba1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoFix build break issue 65/273665/1
Hwankyu Jhun [Tue, 12 Apr 2022 01:04:09 +0000 (10:04 +0900)]
Fix build break issue

- Use GPOINTER_TO_UINT() instead of reinterpret_cast

Change-Id: Ib30e3ccae97ace5af7afae623238dac349cf9005
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 1.18.0 61/273661/1 submit/tizen/20220411.232929
Hwankyu Jhun [Mon, 11 Apr 2022 23:22:22 +0000 (08:22 +0900)]
Release version 1.18.0

Changes:
 - Support UI Thread

Change-Id: Ide50f04b5c5d63c9d847cceb1fc65b61add7c3b8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoSupport UI Thread 64/272464/21
Hwankyu Jhun [Thu, 17 Mar 2022 06:46:56 +0000 (15:46 +0900)]
Support UI Thread

This patch supports UI thread for ui-applications. There are two threads.
The main thread is for Service thread and the sub thread is for UI thread.
Service thread is recommended to contain the Model of MVC pattern. UI thread
is recommended to contain the View and Controller of MVC pattern.

Requires:
 - https://review.tizen.org/gerrit/#/c/platform/upstream/efl/+/270474/

Change-Id: I77b196dd37e6cd42c9c3b914bfe9ed89f3c61391
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 1.17.1 38/273038/1 accepted/tizen/unified/20220331.153112 submit/tizen/20220330.024438
Hwankyu Jhun [Wed, 30 Mar 2022 02:42:07 +0000 (11:42 +0900)]
Release version 1.17.1

Changes:
 - Revert "Check AUL initialization"

Change-Id: I06ced709b436795c4c6e68ee919b7e63f8b6462d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRevert "Check AUL initialization" 34/273034/1
Hwankyu Jhun [Wed, 30 Mar 2022 02:23:25 +0000 (11:23 +0900)]
Revert "Check AUL initialization"

This reverts commit f9bb113dda5661ea0cc2c19af7adb5c80e3c9b80.

Change-Id: I547a1ec8ae58e53b50625a44185de6283ef0e2ed

2 years agoRelease version 1.17.0 73/271473/1 accepted/tizen/unified/20220223.132341 submit/tizen/20220222.001040
Hwankyu Jhun [Tue, 22 Feb 2022 00:08:33 +0000 (09:08 +0900)]
Release version 1.17.0

Changes:
 - Add a new APIs for ui plugin module

Change-Id: I481c82a097f24eb181a666415c276fbb679a9910
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoAdd a new APIs for ui plugin module 26/271426/2
Hwankyu Jhun [Mon, 21 Feb 2022 05:47:14 +0000 (14:47 +0900)]
Add a new APIs for ui plugin module

The app_core_ui_base APIs are added for ui plugin module. The functions
have a handle parameter about an app_core_ui_base_h. The AppCoreUiBase plugin
loads a new interface for cpp based app-core. It's to avoid conflicts
between old version and new version.

Change-Id: I00721aa070a3696e98252628268cf6631d2e1882
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 1.16.9 72/271472/1 submit/tizen/20220221.231908
Hwankyu Jhun [Mon, 21 Feb 2022 22:40:07 +0000 (07:40 +0900)]
Release version 1.16.9

Changes:
 - Check AUL initialization

Change-Id: I1bc55ab769d126f8bcd974b53e0de72e5d9eeaa6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoCheck AUL initialization 49/271449/1
Hwankyu Jhun [Mon, 21 Feb 2022 10:28:42 +0000 (19:28 +0900)]
Check AUL initialization

If the aul_is_initialized() returns true, the OnCreate() function returns 0.
Because, it means the aul_launch_init() function and
the aul_launch_argv_handler() function are already called.

Change-Id: Ia7e2be8e97c9d04429b0cc9fb65cf573713d741e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 1.16.8 38/271238/1 accepted/tizen/unified/20220218.152646 submit/tizen/20220217.023933 submit/tizen/20220217.061612
Hwankyu Jhun [Thu, 17 Feb 2022 05:21:30 +0000 (14:21 +0900)]
Release version 1.16.8

Changes:
 - Fix wayland mock

Change-Id: I7cf7d6c333abb8960f6ffc7d8a4a916a1c78ac2d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoFix wayland mock 36/271236/1
Hwankyu Jhun [Thu, 17 Feb 2022 04:13:49 +0000 (13:13 +0900)]
Fix wayland mock

The wayland API is modified. The mockup functions that are
wl_proxy_marshal_flags() and wl_proxy_get_version() add needed.

Change-Id: I68f6523e958040ef54f70cb13d03c78c82d0e693
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 1.16.7 29/270829/1 accepted/tizen/unified/20220210.105958 submit/tizen/20220210.015648 submit/tizen/20220217.020846
Hwankyu Jhun [Thu, 10 Feb 2022 01:52:37 +0000 (10:52 +0900)]
Release version 1.16.7

Changes:
 - Remove duplicated header file
 - Fix Sub Thread of AppCoreEflBase

Change-Id: I86d2fb80a1b3c6257400e96563762dedb6c5c5a7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoFix Sub Thread of AppCoreEflBase 28/270828/2
Hwankyu Jhun [Thu, 10 Feb 2022 01:21:38 +0000 (10:21 +0900)]
Fix Sub Thread of AppCoreEflBase

This patch is to fix a crash issue of unit tests. Sometimes, the sub
thread of AppCoreEflBase for loading voice elm library runs after the
test instance is destroyed. In this case, the thread cannot find the
DlMock. Because, the mockup is already destroyed.

Change-Id: I7280a90cf1d6b203dd868d2b82456bde3d7f7b9c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRemove duplicated header file 99/270299/2
Hwankyu Jhun [Thu, 27 Jan 2022 22:02:23 +0000 (07:02 +0900)]
Remove duplicated header file

The appcore_ui_base.h header file is installed by legacy code.

Change-Id: Iaf0471bb883e0107d170e036294c8ab7496462b3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 1.16.6 77/270277/1 submit/tizen/20220127.093712
Changgyu Choi [Thu, 27 Jan 2022 09:04:47 +0000 (18:04 +0900)]
Release version 1.16.6

Changes:
 - Fix spec file for devel package

Change-Id: Ia67725f23fa90b8872277fe0b8d91e71db4a4620
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 years agoFix spec file for devel package 66/270266/2
Changgyu Choi [Thu, 27 Jan 2022 08:12:26 +0000 (17:12 +0900)]
Fix spec file for devel package

devel package should include header, "*.pc" and "*.so".
This patch added them into devel package.

Change-Id: I9f87c87167d330ce24fc35d87405a76deef0d6db
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 years agoRelease version 1.16.5 64/269864/1 accepted/tizen/unified/20220127.133457 submit/tizen/20220121.023213
Hwankyu Jhun [Fri, 21 Jan 2022 02:31:14 +0000 (11:31 +0900)]
Release version 1.16.5

Changes:
 - Fix efl base unit test

Change-Id: Iff69de4ce6f0e0548328e1a5970468ac159fc510
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoFix efl base unit test 63/269863/1
Hwankyu Jhun [Fri, 21 Jan 2022 02:28:50 +0000 (11:28 +0900)]
Fix efl base unit test

- Add fake function for sqlite3_release_memory()

Change-Id: I6f14ca62413d78ce40099d0af9d83b65fae802a1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 1.16.4 89/269789/1 submit/tizen/20220120.064930 submit/tizen/20220120.083417 submit/tizen/20220120.224935 submit/tizen/20220121.012031
Changgyu Choi [Thu, 20 Jan 2022 06:52:06 +0000 (15:52 +0900)]
Release version 1.16.4

Changes:
 - Change gcov installation path

Change-Id: I6aaba90b454806c316d05d537b8bb782cffd2292
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 years agoChange gcov installation path 70/269670/2
Changgyu Choi [Thu, 20 Jan 2022 03:28:31 +0000 (12:28 +0900)]
Change gcov installation path

Change-Id: I180b41c3bea7075aa90c7e8639c3c90f3b4ef494
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 years agoRelease version 1.16.3 51/269551/1 submit/tizen/20220118.063433
Changgyu Choi [Tue, 18 Jan 2022 06:35:49 +0000 (15:35 +0900)]
Release version 1.16.3

Changes:
 - Reduce elapsed time of unit tests

Change-Id: I64e51c00c7fa0ac48773643931e6cf9e2f3beca9
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 years agoReduce elapsed time of unit tests 79/269379/6
Hwankyu Jhun [Thu, 13 Jan 2022 08:46:54 +0000 (17:46 +0900)]
Reduce elapsed time of unit tests

- Add mockup hook codes about aul APIs
- Use g_idle_add_full() instead of g_timeout_add()

Change-Id: I8715fbc958e4c225b9e40e93535ebf5b689eb2a0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 1.16.2 46/269346/1 submit/tizen/20220113.034256
Changgyu Choi [Thu, 13 Jan 2022 03:41:11 +0000 (12:41 +0900)]
Release version 1.16.2

Changes:
 - Reduce unittest timeout interval
 - Fix build option for 64bit profile

Change-Id: Iec73fd204db61c6883085251e023012ec8549b26
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 years agoFix build option for 64bit profile 41/269341/1
Changgyu Choi [Thu, 13 Jan 2022 03:11:13 +0000 (12:11 +0900)]
Fix build option for 64bit profile

Change-Id: I7dd6237669cdb98be6634116bbe6cc1520943deb
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 years agoReduce unittest timeout interval 66/269266/2
Changgyu Choi [Wed, 12 Jan 2022 07:15:41 +0000 (16:15 +0900)]
Reduce unittest timeout interval

This patch is for saving the time to run unittest.

Change-Id: I6cc6b49d35d6d4bc232fb3dc363a8813c5f3731f
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 years agoRelease version 1.16.1 03/269203/1 submit/tizen/20220111.085859
Changgyu Choi [Tue, 11 Jan 2022 08:46:45 +0000 (17:46 +0900)]
Release version 1.16.1

Changes:
 - Fix 64bit build error

Change-Id: Ic7e028c5b25913edae2be958c17b37cfaa9c651c
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 years agoFix 64bit build error 02/269202/1
Changgyu Choi [Tue, 11 Jan 2022 08:44:27 +0000 (17:44 +0900)]
Fix 64bit build error

Change-Id: I885fb14b0a9231c29dde7f7a841efcb3eb1053a1
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 years agoRelease version 1.16.0 84/269184/1 submit/tizen/20220111.072059 submit/tizen/20220111.074009 submit/tizen/20220111.080207
Changgyu Choi [Tue, 11 Jan 2022 07:14:14 +0000 (16:14 +0900)]
Release version 1.16.0

Changes:
 - Refactor app-core

Change-Id: I937f2b9c5c74dd0430ebfc027283d7729418cb7d
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 years agoRefactor app-core 12/247812/87
Junghoon Park [Tue, 17 Nov 2020 06:07:17 +0000 (15:07 +0900)]
Refactor app-core

- Redesigned by c++

Change-Id: I7659cab20ca2599c74640f2e7fe84b609166c113
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
2 years agoRelease version 1.15.3 35/267335/1 accepted/tizen/6.5/unified/20211205.214033 accepted/tizen/unified/20211203.125444 submit/tizen/20211201.222356 submit/tizen_6.5/20211201.222423
Hwankyu Jhun [Wed, 1 Dec 2021 22:07:15 +0000 (07:07 +0900)]
Release version 1.15.3

Changes:
 - Remove unnecessary tizen policy listener

Change-Id: I2fca1090ed427c44e0fdfbf2b518dca401a1b1ae
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRemove unnecessary tizen policy listener 85/267185/1
Hwankyu Jhun [Mon, 29 Nov 2021 07:06:27 +0000 (16:06 +0900)]
Remove unnecessary tizen policy listener

AppCore doesn't handle any events when the callback function is invoked.
This patch removes unnecessary tizen policy listener.

Change-Id: I2a231af179238e64d3a16d773af3774551f35f09
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 1.15.2 26/266826/1 accepted/tizen/6.5/unified/20211121.212454 accepted/tizen/unified/20211125.144723 submit/tizen/20211119.052917 submit/tizen/20211124.081718 submit/tizen_6.5/20211119.053019
Hwankyu Jhun [Fri, 19 Nov 2021 05:28:10 +0000 (14:28 +0900)]
Release version 1.15.2

Changes:
 - Fix a bug about getting app status

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