platform/core/appfw/app-core.git
5 weeks agoRelease version 1.25.3 01/308001/1 accepted/tizen_unified accepted/tizen_unified_x tizen accepted/tizen/unified/20240318.071243 accepted/tizen/unified/x/20240319.055522
Hwankyu Jhun [Fri, 15 Mar 2024 06:45:42 +0000 (15:45 +0900)]
Release version 1.25.3

Changes:
 - Use wl_display_flush()

Change-Id: I3a1f491ef840df295d7339f00877fd54e999556f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 weeks agoUse wl_display_flush() 93/307993/1
Hwankyu Jhun [Fri, 15 Mar 2024 05:56:35 +0000 (14:56 +0900)]
Use wl_display_flush()

To avoid blocking main thread, app-core uses wl_display_flush() instead of
wl_display_roundtrip().

Change-Id: I06ad4661858e1b6839ccb35e91e515dc94899508
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 weeks agoRelease version 1.25.2 33/307633/1 accepted/tizen/unified/20240313.134054 accepted/tizen/unified/20240313.135324 accepted/tizen/unified/x/20240314.073319
Hwankyu Jhun [Tue, 12 Mar 2024 05:14:58 +0000 (14:14 +0900)]
Release version 1.25.2

Changes:
 - Fix lcov option

Change-Id: Iffa25545e870c535ee1bd6b967de8bf249e8451e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 weeks agoFix lcov option 18/307618/1
Hwankyu Jhun [Tue, 12 Mar 2024 04:56:15 +0000 (13:56 +0900)]
Fix lcov option

"mismatch,unused" options are added.

Change-Id: Ibb9d9f59b1bc276d43047c327543022b952ecd36
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoRelease version 1.25.1 81/306381/1 accepted/tizen_unified_toolchain accepted/tizen/unified/20240222.163358 accepted/tizen/unified/toolchain/20240311.065212 accepted/tizen/unified/x/20240225.131830
Hwankyu Jhun [Wed, 21 Feb 2024 03:34:55 +0000 (12:34 +0900)]
Release version 1.25.1

Changes:
 - Fix memory leak

Change-Id: If7a9968a7edc78432ae65e7e91d0b3e8c159492d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoFix memory leak 77/306377/1
Hwankyu Jhun [Wed, 21 Feb 2024 02:06:32 +0000 (11:06 +0900)]
Fix memory leak

The svc_info handle must be released using aul_svc_info_destroy().

Change-Id: I66da7c2f777ebfcc574e59cb54557f79bdb3311d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoRelease version 1.25.0 03/305603/1 accepted/tizen/8.0/unified/20240206.160302 accepted/tizen/unified/20240206.094533 accepted/tizen/unified/x/20240206.211049
Hwankyu Jhun [Mon, 5 Feb 2024 09:10:38 +0000 (18:10 +0900)]
Release version 1.25.0

Changes:
 - Remove suspend event handler

Change-Id: I2b09e7c56912786f31fc057e5eb8ca7931c5beb7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoRemove suspend event handler 92/305592/3
Hwankyu Jhun [Mon, 5 Feb 2024 07:20:39 +0000 (16:20 +0900)]
Remove suspend event handler

To remove dbus dependency, this patch removes the suspend handler.
The application manager daemon sends the APP_THAW event to the running
process for handling the thawed event.

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

Change-Id: I4088e44547348a4cd5599abb98cb02e202a40534
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoRelease version 1.24.2 85/305485/1 accepted/tizen/unified/20240205.162735 accepted/tizen/unified/x/20240206.004200
Hwankyu Jhun [Fri, 2 Feb 2024 06:56:46 +0000 (15:56 +0900)]
Release version 1.24.2

Changes:
 - Add missing function call

Change-Id: I0f1190843eb9111b763a9a2061c269552cc8ba2d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoAdd missing function call 84/305484/1
Hwankyu Jhun [Fri, 2 Feb 2024 06:52:10 +0000 (15:52 +0900)]
Add missing function call

To use AppControlAction API, the Init() method must be called.

Change-Id: Ieed41a2e529ffdcdf84662c2464d537607981147
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoRelease version 1.24.1 57/305457/1
Hwankyu Jhun [Fri, 2 Feb 2024 00:23:05 +0000 (09:23 +0900)]
Release version 1.24.1

Changes:
 - Modify AppCoreBase implementation

Change-Id: I11c49f3dd7c60dce9f96d424c8dca770f478221e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoModify AppCoreBase implementation 54/305454/2
Hwankyu Jhun [Thu, 1 Feb 2024 22:51:21 +0000 (07:51 +0900)]
Modify AppCoreBase implementation

This patch is to fix the failure issue of unit tests.
- Releasing the GCancellable instance is not needed in the GAsyncReadyCallback.
- The glib idler related to the suspend event initialization is removed.
- The default behaviors related to gdbus API are defined.

Change-Id: I0c809dc9da4f246fdbae1b7ad58542da1dbb527d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoRelease version 1.24.0 85/305385/2
Hwankyu Jhun [Thu, 1 Feb 2024 05:17:43 +0000 (14:17 +0900)]
Release version 1.24.0

Changes:
 - Change type of parameters of methods
 - Remove capi-system-info library dependency
 - Separate rotation implementation from app-core-cpp
 - Implement app_core_base_control APIs

Change-Id: I35960dad7778995c7e61034ec6135074346081b4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoImplement app_core_base_control APIs 18/305218/7
Hwankyu Jhun [Tue, 30 Jan 2024 06:11:38 +0000 (15:11 +0900)]
Implement app_core_base_control APIs

To remote appcore-common dependency from app-control,
the app_core_base_control APIs are added.

Adds:
 - app_core_base_control_add()
 - app_core_base_control_remove()

Change-Id: I49da74afe61ad19730cdce2de92091b4ca378165
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoSeparate rotation implementation from app-core-cpp 21/305121/7
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>
2 months agoRemove capi-system-info library dependency 61/305061/5
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>
2 months agoChange type of parameters of methods 19/305119/1
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>
2 months agoRelease version 1.23.3 54/304854/1 accepted/tizen/8.0/unified/20240125.160853 accepted/tizen/unified/20240125.112658 accepted/tizen/unified/x/20240205.063931
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>
2 months agoModify TimeZoneChangedEvent implementation 43/304843/2
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>
4 months agoRelease version 1.23.2 26/301826/1 accepted/tizen/8.0/unified/20231127.165026 accepted/tizen/unified/20231127.165000
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>
5 months agoChange log tag 06/301806/1
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>
5 months agoRelease version 1.23.1 55/300655/1 accepted/tizen/unified/20231031.163544
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>
5 months agoAdd log prints for debugging 53/300653/2
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>
7 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>
9 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>
9 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>
10 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>
10 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>
10 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>
10 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>
10 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>
13 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>
16 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>
16 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>
16 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>
17 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

20 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

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