platform/core/appfw/app-core.git
8 months agoRelease version 1.23.0 77/298077/2 accepted/tizen/8.0/unified/20231005.092956 accepted/tizen/unified/20230904.165041 tizen_8.0_m2_release
Changgyu Choi [Thu, 31 Aug 2023 04:50:51 +0000 (13:50 +0900)]
Release version 1.23.0

Changes:
 - Add new app event

Change-Id: I58390537a4560acd5d7c5e3cc63e31ab3010a54e
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
8 months agoAdd new app event 98/297498/3
Changgyu Choi [Mon, 21 Aug 2023 04:29:25 +0000 (13:29 +0900)]
Add new app event

tizen app can receive time zone changed event.

Adds:
 - TIME_ZONE_CHANGED

Change-Id: I1da9aeafd8e2afa1e878a1eaea5d8c68cfc1451d
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
10 months agoRelease version 1.22.4 47/295147/1 accepted/tizen_unified_dev accepted/tizen/unified/20230705.063721 accepted/tizen/unified/dev/20230726.115728
Hwankyu Jhun [Mon, 3 Jul 2023 08:29:41 +0000 (08:29 +0000)]
Release version 1.22.4

Changes:
 - Fixed the build error using gcc 13

Change-Id: I5b035e7c7b123e9980f4b82b6e22465ee7dba2bf
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
10 months agoFixed the build error using gcc 13 40/294940/2
wchang kim [Thu, 29 Jun 2023 04:58:16 +0000 (13:58 +0900)]
Fixed the build error using gcc 13

Change-Id: Iafd3394deeae0ad6ddbf97c7b9fa93d5f578326c

10 months agoRelease version 1.22.3 95/294395/1 accepted/tizen/unified/20230620.022456
Hwankyu Jhun [Mon, 19 Jun 2023 01:02:16 +0000 (01:02 +0000)]
Release version 1.22.3

Changes:
 - Use _exit() instead of exit()

Change-Id: I063086140f346237104bf972dc8ec1179295cd44
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
10 months agoUse _exit() instead of exit() 83/294383/1
Hwankyu Jhun [Sat, 17 Jun 2023 01:04:36 +0000 (01:04 +0000)]
Use _exit() instead of exit()

To terminate the application process immediately, the app-core uses
_exit() instead of exit().

Change-Id: I41fb78cea28a391703cf6f07b0ddba943546de46
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
10 months agoRelease version 1.22.2 15/294315/1 accepted/tizen/unified/20230616.172422
Hwankyu Jhun [Fri, 16 Jun 2023 04:18:34 +0000 (04:18 +0000)]
Release version 1.22.2

Changes:
 - Modify AppCoreUiThreadBase class

Change-Id: Idf40152e03a15b4691a0af3cc4a569211788afc9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
10 months agoModify AppCoreUiThreadBase class 01/294301/2
Hwankyu Jhun [Fri, 16 Jun 2023 01:08:14 +0000 (01:08 +0000)]
Modify AppCoreUiThreadBase class

To use the Post() method before calling the Run() method, the GMainContext
should be created when the instance is created.

Change-Id: I6638965e671ee83b1691fd64e9615ed441e3afa0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
10 months agoRelease version 1.22.1 00/294300/1
Hwankyu Jhun [Fri, 16 Jun 2023 00:55:05 +0000 (00:55 +0000)]
Release version 1.22.1

Changes:
 - Remove ANR Monitor

Change-Id: Id586fddb60db2549d647884ebb29a9bff72b94a0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
10 months agoRemove ANR Monitor 96/294296/1
Hwankyu Jhun [Fri, 16 Jun 2023 00:48:40 +0000 (00:48 +0000)]
Remove ANR Monitor

If the app-core calls the backtrace() function while the process is
calling the dlopen() function, it causes the crash issue.

Change-Id: I356c146887e071ef879ab7cb2e1d281bb0dba380
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
10 months agoRelease version 1.22.0 11/294111/1 accepted/tizen/unified/20230615.060043
Hwankyu Jhun [Tue, 13 Jun 2023 08:02:34 +0000 (08:02 +0000)]
Release version 1.22.0

Changes:
 - Add AppCoreUiThreadBase class

Change-Id: Ib7daf5e7407d30c9f37f8e2cc03593bb00c0595e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
10 months agoAdd AppCoreUiThreadBase class 76/294076/5
Hwankyu Jhun [Tue, 13 Jun 2023 00:16:01 +0000 (00:16 +0000)]
Add AppCoreUiThreadBase class

To support preloading ui thread in the candidate process, the class is added.
The AppCoreUiBase class uses the AppCoreUiThreadBase class to create & run
the ui thread.

Change-Id: Ibb290befd3fb58bbb465873d2ef9bff2ba4863a5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
10 months agoRelease version 1.21.3 37/293837/1 accepted/tizen/unified/20230607.160245
Hwankyu Jhun [Tue, 6 Jun 2023 23:31:59 +0000 (23:31 +0000)]
Release version 1.21.3

Changes:
 - Use macro instead of const keyword

Change-Id: Id4969bae26e99219ebb54b9a762d7dcbb8b3feb4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
10 months agoUse macro instead of const keyword 36/293836/1
Hwankyu Jhun [Tue, 6 Jun 2023 23:04:24 +0000 (23:04 +0000)]
Use macro instead of const keyword

The signal number is not same on all devices. Unfortunately, calling sigaction()
is failed in the some device. This patch is to fix sigacation() failure issue.

Change-Id: Ifb469bcaf43d506f38902c71049f3f1a084eecfd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
10 months agoRelease version 1.21.2 80/293780/1 accepted/tizen/unified/20230605.170343
Hwankyu Jhun [Mon, 5 Jun 2023 01:58:17 +0000 (01:58 +0000)]
Release version 1.21.2

Changes:
 - Use backtrace_symbols_fd()
 - Separate internal classes from base code

Change-Id: Ibc19ec0aeda720e1c04738a6846c86d4ed2f4c3b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
10 months agoSeparate internal classes from base code 78/293778/2
Hwankyu Jhun [Mon, 5 Jun 2023 00:31:33 +0000 (00:31 +0000)]
Separate internal classes from base code

The AnrMonitor class and the ExitHandler class are separated from the
app_core_base.cc file.

Change-Id: I91083fbc529cc8436cf8fe1e2665c59ae105843a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
11 months agoUse backtrace_symbols_fd() 74/293774/1
Hwankyu Jhun [Sat, 3 Jun 2023 10:02:48 +0000 (10:02 +0000)]
Use backtrace_symbols_fd()

We used backtrace_symbols() instead of backtrace_symbols_fd() to print numbers.
Unfortunately, some applications have issues related to the memory corruption.
While printing the backtrace, the crash issue is occured.
To avoid the crash issue, this patch changes the implementation to using
the backtrace_symbols_fd()

Change-Id: If01ff27df070a6be3ca77e8ac12481e651537b4e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
11 months agoRelease version 1.21.1 64/293764/1
Hwankyu Jhun [Fri, 2 Jun 2023 11:54:08 +0000 (11:54 +0000)]
Release version 1.21.1

Changes:
 - Add SIGTERM handler

Change-Id: I9eb244404bf58746c22f297c707148be1bae03d4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
11 months agoAdd SIGTERM handler 39/293739/2
Hwankyu Jhun [Fri, 2 Jun 2023 07:24:00 +0000 (07:24 +0000)]
Add SIGTERM handler

Before calling g_unis_signal_add() with SIGTERM signal, the application core
cannot handle the sigterm signal. In .NET application case, the sub thread
releases the loaded shared library when getting the SIGTERM signal.
This patch adds a SigtermHandler class to handle the SIGTERM signal
before calling the AppCoreBase::Init().

Change-Id: I195e214c86920846a7d7a1828edc7ca03d6ac564
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
11 months agoRelease version 1.21.0 47/293547/1 accepted/tizen/unified/20230601.162941
Hwankyu Jhun [Wed, 31 May 2023 07:14:32 +0000 (07:14 +0000)]
Release version 1.21.0

Changes:
 - Support appcore plugin
 - Add ANR monitor

Change-Id: I96ef36131b0a3330697e697d774c7b0a6ce9fe6a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
11 months agoAdd ANR monitor 96/293496/1
Hwankyu Jhun [Wed, 31 May 2023 00:39:19 +0000 (00:39 +0000)]
Add ANR monitor

For debug the main thread state when the application is the deadlock state,
this patch adds an AnrMonitor class. While getting SIGRTANR(SIGRTMIN + 3) signal,
the application core prints the backtrace of the main thread of the application.

Change-Id: Ib820d0afe0b06f3909182bc48dc66dddb6b49918
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
11 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>
12 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>
12 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>
12 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>
12 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>
13 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>
13 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>
14 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>
14 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>
14 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>
14 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>
15 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>
15 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>
15 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>
15 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>
16 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>
16 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>
16 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>
16 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>
16 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>
17 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>
17 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>
17 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>
18 months 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>
19 months 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>
19 months 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

19 months 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

19 months 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>
19 months 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>
19 months 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>
19 months 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

19 months 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>
19 months 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>
20 months 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>
20 months 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>
20 months 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

21 months 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

21 months 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>
21 months 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>
21 months 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>
21 months 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>
21 months 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>
21 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>