Hwankyu Jhun [Mon, 29 Jan 2024 01:56:15 +0000 (10:56 +0900)]
Separate rotation implementation from app-core-cpp
The AppCoreRotation class is added to separate the implmenetation
related to using sensor library from the app-core-cpp.
The AppCoreUiBase and the AppCoreMultiWindowBase use the AppCoreRotation.
Change-Id: I0e59ed6c4411b7fb3477c268a8a51a3d59a19c42
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 26 Jan 2024 04:14:12 +0000 (13:14 +0900)]
Remove capi-system-info library dependency
To remove capi-system-info dependency, the app-core-cpp removes using
system-info library.
Change-Id: I025c9b972a46aaaac480f6844cd428b446727a8f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 29 Jan 2024 00:25:56 +0000 (09:25 +0900)]
Change type of parameters of methods
The type of parameters is changed to the pointer type from the reference type.
Change-Id: Iec66f44cdb3a75e9f3d65d3f0e9352bd4b9051f4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 24 Jan 2024 09:52:07 +0000 (18:52 +0900)]
Release version 1.23.3
Changes:
- Modify TimeZoneChangedEvent implementation
Change-Id: Iac95f9e5fcaaccb941f93141a25488f0c08c2c1a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 24 Jan 2024 08:02:25 +0000 (17:02 +0900)]
Modify TimeZoneChangedEvent implementation
The vconf event of time zone changed is registered when the AppCoreBase::Init()
is called. The tzset() should be called when the time zone is changed.
Change-Id: Icc6a5fda4e92c11dbecda089179c5a590588e235
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 24 Nov 2023 04:38:38 +0000 (13:38 +0900)]
Release version 1.23.2
Changes:
- Change log tag
Change-Id: I6688f9d21e7caf6659ac7cb46b1ff219dcfb84b4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 23 Nov 2023 07:48:33 +0000 (16:48 +0900)]
Change log tag
The log tag is changed to "APP_CORE" from "APP_CORE_CPP".
Change-Id: I8a120e1f4fc4a1470b65d19cfc9d94337309fa55
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 31 Oct 2023 00:17:54 +0000 (09:17 +0900)]
Release version 1.23.1
Changes:
- Add log prints for debugging
Change-Id: Iabc2ae807777d1def6f85b2da5d4661eceb0c46f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 30 Oct 2023 23:59:21 +0000 (08:59 +0900)]
Add log prints for debugging
The LogTracer class is added for debugging.
Change-Id: Ie4e12787ff5a7a3e60b5b9b054c70dea996b6a37
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
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>
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>
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>
wchang kim [Thu, 29 Jun 2023 04:58:16 +0000 (13:58 +0900)]
Fixed the build error using gcc 13
Change-Id: Iafd3394deeae0ad6ddbf97c7b9fa93d5f578326c
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Changgyu Choi [Fri, 23 Sep 2022 09:24:31 +0000 (09:24 +0000)]
Merge "Revert "Change EventBase::SetVal to virtual"" into tizen
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
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>
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>
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>
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
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>
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>
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>
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>
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
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>