platform/core/appfw/aul-1.git
9 days agoRelease version 0.64.2 84/309784/1 accepted/tizen_unified accepted/tizen_unified_x tizen accepted/tizen/unified/20240419.110859 accepted/tizen/unified/x/20240422.045719
Hwankyu Jhun [Wed, 17 Apr 2024 01:55:28 +0000 (10:55 +0900)]
Release version 0.64.2

Changes:
 - Add new options to blink feature
 - Fix aul_rpc_port_prepare_stub() function

Change-Id: Id3b6e4b07163e01ae1ced9baf985e4eb272a195f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
9 days agoFix aul_rpc_port_prepare_stub() function 82/309782/1
Hwankyu Jhun [Wed, 17 Apr 2024 01:31:06 +0000 (10:31 +0900)]
Fix aul_rpc_port_prepare_stub() function

The socket option is changed to AUL_SOCK_BUNDLE from AUL_SOCK_QUEUE.
When amd gets the request, amd will change the socket option to
"AUL_SOCK_QUEUE | AUL_SOCK_BUNDLE".

Change-Id: I93629714285fdd2783c6683c4236d06f1d246314
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
10 days agoAdd new options to blink feature 50/309650/1
Hwankyu Jhun [Mon, 15 Apr 2024 04:33:04 +0000 (13:33 +0900)]
Add new options to blink feature

The aul-blink checks AUL_BLINK_LEVEL and AUL_BLINK_OPTION to parse options.
The value of AUL_BLINK_LEVEL environment is able to be 'strong', 'medium' and
'weak'. The value of AUL_BLINK_OPTION environment is able to be 'reset-on-fork'
and 'inherit-on-fork'.

Change-Id: Iafd0016c15f6f8eee3362cde0021ae8acdff5bac
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
13 days agoRelease version 0.64.1 37/309537/1 accepted/tizen/unified/20240412.141502 accepted/tizen/unified/x/20240415.013954
Hwankyu Jhun [Fri, 12 Apr 2024 04:42:51 +0000 (13:42 +0900)]
Release version 0.64.1

Changes:
 - Revert 'eed76e3a1c1ded0075bd5e879ef7494c65b91d93'

Change-Id: I6176a708cb1c6697322e27eb08d47bef1c5947f3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 weeks agoRevert 'eed76e3a1c1ded0075bd5e879ef7494c65b91d93' 31/309531/1
Hwankyu Jhun [Fri, 12 Apr 2024 03:38:30 +0000 (12:38 +0900)]
Revert 'eed76e3a1c1ded0075bd5e879ef7494c65b91d93'

This patch reverts 'eed76e3a1c1ded0075bd5e879ef7494c65b91d93' commit
related to aul proc implmentation.

Change-Id: Ifb865e741bdb41079a5980db5a4e82d3f974d0ab
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 weeks agoRelease version 0.64.0 59/309459/1
Hwankyu Jhun [Thu, 11 Apr 2024 05:03:16 +0000 (14:03 +0900)]
Release version 0.64.0

Changes:
 - Add blink feature for daemon processes
 - Add a dependency of aul-blink library to aul library

Change-Id: I4d24827e22b314384a2e9f2b1ca0d655997dc89e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 weeks agoAdd a dependency of aul-blink library to aul library 48/309448/1
Hwankyu Jhun [Thu, 11 Apr 2024 02:08:22 +0000 (11:08 +0900)]
Add a dependency of aul-blink library to aul library

This patch adds a missing dependency of the libaul-blink.
Currently, if the library is not used, the library is not loaded forcedly
by '--wl,--as-needed' option.

Change-Id: Ic3939dcc096e8f2c14ab4aa3eca7cd9f3d986f3a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 weeks agoAdd blink feature for daemon processes 93/309293/6
Hwankyu Jhun [Mon, 8 Apr 2024 08:42:48 +0000 (17:42 +0900)]
Add blink feature for daemon processes

The term "blink" is utilized to denote momentary movement.
If the environmental variable "AUL_BLINK=1" is present, the AUL library will
initiate boosting for the process as soon as it is loaded.
The "AUL_BLINK_TIMEOUT" is a variable that enables the setting of
a time-out duration. The unit of measurement is milliseconds, with
a default value of 5000 milliseconds.

Change-Id: I93dd570b7d442d0033e409b2f9a6a352f864ccbd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 weeks agoRelease version 0.63.6 54/309254/1 accepted/tizen/unified/20240409.135536 accepted/tizen/unified/20240409.155846 accepted/tizen/unified/x/20240411.011804
jusung son [Mon, 8 Apr 2024 04:33:20 +0000 (13:33 +0900)]
Release version 0.63.6

Changes:
 - Fix static analysis issue

Change-Id: Ifdc716ab6e7526a338e2fa4caead39566e3037fc
Signed-off-by: jusung son <jusung07.son@samsung.com>
2 weeks agoFix static analysis issue 52/309252/1
jusung son [Mon, 8 Apr 2024 04:26:57 +0000 (13:26 +0900)]
Fix static analysis issue

- Uninitialized scalar field

Change-Id: I4f1f68701d3b2f44d2fdf151054046afea58a112
Signed-off-by: jusung son <jusung07.son@samsung.com>
3 weeks agoRelease version 0.63.5 66/309066/1 accepted/tizen/unified/20240405.115703 accepted/tizen/unified/x/20240408.053724
Hwankyu Jhun [Thu, 4 Apr 2024 08:23:36 +0000 (17:23 +0900)]
Release version 0.63.5

Changes:
 - Modify -f option of app_launcher

Change-Id: Ib032343c77ee159efa1767c8eed4ccb26bc0902f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 weeks agoModify -f option of app_launcher 49/309049/1
Hwankyu Jhun [Thu, 4 Apr 2024 07:34:18 +0000 (16:34 +0900)]
Modify -f option of app_launcher

If amd is ready, the tool should send the launch request to amd.
Before getting the application information from the pkgmgr db, the tool
checks whether amd is ready or not.

Change-Id: I1eaed48176bc0fdd2fa83dcb0cedc7671c6518b6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 weeks agoRelease version 0.63.4 93/308993/1 accepted/tizen/unified/20240404.021356 accepted/tizen/unified/x/20240404.061833
Hwankyu Jhun [Wed, 3 Apr 2024 09:40:36 +0000 (18:40 +0900)]
Release version 0.63.4

Changes:
 - Modify rpc-port path creation

Change-Id: I5f97b58b90f1d07509f7586a1a3df7910672588d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 weeks agoModify rpc-port path creation 86/308786/10
Hwankyu Jhun [Mon, 1 Apr 2024 05:41:36 +0000 (14:41 +0900)]
Modify rpc-port path creation

This patch is for linux daemon and service.
If the caller uid is less than 5000, the port creation function does not
use the uid to create the port path.
The aul library checks the prefix has a "d::" or not.
If it has the prefix, aul returns the port path without using base64 encoding.

Change-Id: I68431de1a37471f5f9d6089a27dcca4951b55b1c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 weeks agoRelease version 0.63.3 91/308891/1 accepted/tizen/unified/20240403.095034
Hwankyu Jhun [Tue, 2 Apr 2024 09:14:30 +0000 (18:14 +0900)]
Release version 0.63.3

Changes:
 - Remove pkgmgr-installer dependency
 - Switch to custom deleter type for unique_ptr

Change-Id: I5d64b6a6a03f11c28aaa2203746aeaf8ac888d3b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 weeks agoSwitch to custom deleter type for unique_ptr 49/308749/1
Slava Barinov [Fri, 29 Mar 2024 12:13:32 +0000 (15:13 +0300)]
Switch to custom deleter type for unique_ptr

This prevents the error:

 src/parser/exec-checker/src/exec_checker.cc:202:42: error: ignoring attributes on template argument 'int (*)(FILE*)' [-Werror=ignored-attributes]
 202 |   std::unique_ptr<FILE, decltype(fclose)*> fp_auto(fp, fclose);
     |                                          ^

When building with new toolchain

Change-Id: I3b0b71ddb2c887d349e783e5ad3a6d1b1bbb561e

4 weeks agoRemove pkgmgr-installer dependency 72/308672/1 accepted/tizen/unified/20240401.021604 accepted/tizen/unified/x/20240401.013231
Ilho Kim [Thu, 28 Mar 2024 12:49:08 +0000 (21:49 +0900)]
Remove pkgmgr-installer dependency

Change-Id: I00b354e83b055725a2b78465d13cbac92d7c8c4c
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 weeks agoRelease version 0.63.2 38/308638/1 accepted/tizen/unified/20240328.171940
Sangyoon Jang [Thu, 28 Mar 2024 09:07:22 +0000 (18:07 +0900)]
Release version 0.63.2

Changes:
 - Fix validating resource schema

Change-Id: I2c97fad2f492841281a80638e13ea9ac09dba2b5
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 weeks agoFix validating resource schema 28/308628/3
Sangyoon Jang [Thu, 28 Mar 2024 07:57:21 +0000 (16:57 +0900)]
Fix validating resource schema

Load schema directly from a file because there is an unknown problem that
cannot load schema from memory.

Change-Id: Ief4d14db71aadf865951e2f1e486fe782b207f3c
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 weeks agoRelease version 0.63.1 32/307632/1 accepted/tizen/unified/20240313.134044 accepted/tizen/unified/20240313.135318 accepted/tizen/unified/x/20240314.073212
Hwankyu Jhun [Tue, 12 Mar 2024 05:14:40 +0000 (14:14 +0900)]
Release version 0.63.1

Changes:
 - Fix lcov option

Change-Id: Ib8340b60434dba2628f9ee6596d979de861b16c1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 weeks agoFix lcov option 19/307619/1
Hwankyu Jhun [Tue, 12 Mar 2024 04:57:17 +0000 (13:57 +0900)]
Fix lcov option

"mismatch,unused" options are added.

Change-Id: Ia98802441422dff32b49779b085fd5f68306a04e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoRelease version 0.63.0 01/305601/1 accepted/tizen/unified/20240206.094530 accepted/tizen/unified/toolchain/20240311.065217 accepted/tizen/unified/x/20240206.211044
Hwankyu Jhun [Mon, 5 Feb 2024 09:09:31 +0000 (18:09 +0900)]
Release version 0.63.0

Changes:
 - Remove storage library dependency
 - Fix wrong library dependency
 - Add a new command for thaw event

Change-Id: Ic59c990b172107f7fda6fa7bf54a341055eee482
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoAdd a new command for thaw event 57/305557/4
Hwankyu Jhun [Mon, 5 Feb 2024 04:06:45 +0000 (13:06 +0900)]
Add a new command for thaw event

Adds:
 - APP_THAW

Change-Id: I5b1225716cac6ebebece3e3c0dc320e024dde572
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoFix wrong library dependency 65/305565/1
Hwankyu Jhun [Mon, 5 Feb 2024 06:30:12 +0000 (15:30 +0900)]
Fix wrong library dependency

The package name of storage library is libstorage.

Change-Id: I84b7d3588fac98496fd1854573f8d124faf49af7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoRemove storage library dependency 52/305552/2
Hwankyu Jhun [Mon, 5 Feb 2024 03:07:39 +0000 (12:07 +0900)]
Remove storage library dependency

To remove loading capi-system-info library, this patch removes
a libstorage dependency.

Change-Id: Iae64e8373001b8638dde362f4c8739f370a3618c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoRelease version 0.62.0 84/305384/2 accepted/tizen/unified/20240202.170006 accepted/tizen/unified/x/20240205.063803
Hwankyu Jhun [Thu, 1 Feb 2024 05:17:21 +0000 (14:17 +0900)]
Release version 0.62.0

Changes:
 - Adjust directory hierarchy
 - Separate aul_rsc_mgr library from aul library
 - Remove alias appid feature
 - Remove unncessary dependencies

Change-Id: I238c49722c1da6b935a07552ddec32e9e550081d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoRemove unncessary dependencies 82/305382/1
Hwankyu Jhun [Thu, 1 Feb 2024 05:07:47 +0000 (14:07 +0900)]
Remove unncessary dependencies

The dependency of the capi-system-info library is removed from the aul library.
The dependency of the iniparser library is removed from the aul library.
Currently, the aul socket does not use socket timeout feature.
The feature will be removed after this patch is applied.

Change-Id: I444cd42ee53b2838d1f3e3ee593cd067ef2e22e4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoRemove alias appid feature 81/305381/1
Hwankyu Jhun [Thu, 1 Feb 2024 04:53:30 +0000 (13:53 +0900)]
Remove alias appid feature

The alias.ini file and the related codes are removed.
Currently, platform and products do not support it properly.

Change-Id: Ie76c8aebedbc64ddd3f30355ba2cda4188670579
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoSeparate aul_rsc_mgr library from aul library 65/305365/1
Hwankyu Jhun [Thu, 1 Feb 2024 01:31:59 +0000 (10:31 +0900)]
Separate aul_rsc_mgr library from aul library

The libaul-rsc-mgr library is added.

Change-Id: I33d077778e33488a66cfc0e934e0e633f0247313
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoAdjust directory hierarchy 62/305362/6
Hwankyu Jhun [Thu, 1 Feb 2024 00:33:54 +0000 (09:33 +0900)]
Adjust directory hierarchy

The following directories are moved to the src directory.
 - aul
 - server
 - parser
 - tool

The include directory is moved to the src/aul directory.
The source codes will have the following directory structure:

aul-1/src
 |---aul
 |---parser
 |---server
 +---tool

Change-Id: I0f29482336759eea00cbbdef0b8d15bc11eccbc4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoRelease version 0.61.2 24/305324/1 accepted/tizen/unified/20240201.165048
Sangyoon Jang [Wed, 31 Jan 2024 08:43:11 +0000 (17:43 +0900)]
Release version 0.61.2

Changes:
 - Fix keys for lib rpk

Change-Id: Iac39a675a2b20b19225fe51e0198a20511ec3639
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
2 months agoFix keys for lib rpk 24/305224/2
Sangyoon Jang [Tue, 30 Jan 2024 06:46:55 +0000 (15:46 +0900)]
Fix keys for lib rpk

Only allowed package can use lib rpk.

Change-Id: Icace5f71b8451278a1d05e80338c3d94ad9b70f3
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
2 months agoRelease version 0.61.1 40/305240/1 accepted/tizen/unified/20240131.175425
Changgyu Choi [Tue, 30 Jan 2024 08:33:58 +0000 (17:33 +0900)]
Release version 0.61.1

Changes:
 - Fix static analysis issues

Change-Id: Ib64a8ff17f2e80fa9eee089ef48cfb36aaff47b1
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 months agoFix static analysis issues 47/305147/3
Hwankyu Jhun [Mon, 29 Jan 2024 09:16:36 +0000 (18:16 +0900)]
Fix static analysis issues

- Change type of variables to const auto&

Change-Id: Id500412164b44ac1539f09423a2935a66be2f1d3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 months agoRelease version 0.61.0 65/304665/1 accepted/tizen/unified/20240124.163230
Hwankyu Jhun [Tue, 23 Jan 2024 03:49:19 +0000 (12:49 +0900)]
Release version 0.61.0

Changes:
 - Add a new key for library resource package
 - Add new definitions for NUIGadget

Change-Id: Iecbeb36110b169f710910ed1c395b01f65a87b2d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 months agoAdd new definitions for NUIGadget 43/304543/3
Hwankyu Jhun [Fri, 19 Jan 2024 03:50:05 +0000 (12:50 +0900)]
Add new definitions for NUIGadget

Adds:
 - AUL_K_MOUNT_GADGET_PKGIDS
 - AUL_K_MOUNT_GADGET_PATHS

Change-Id: I54a8e8b882192faf819a280fe79db88aa9ffc82c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 months agoAdd a new key for library resource package 65/304365/1
Ilho Kim [Tue, 16 Jan 2024 10:56:59 +0000 (19:56 +0900)]
Add a new key for library resource package

Adds:
 - AUL_K_MOUNT_GLOBAL_LIB_RES_DIR
 - AUL_K_MOUNT_ALLOWED_LIB_RES_DIR

Change-Id: I9738fbfb2cee80b879babeb94f9be6030e4bc979
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 months agoRelease version 0.60.21 23/304323/1 accepted/tizen_unified_riscv accepted/tizen/8.0/unified/20240117.162918 accepted/tizen/unified/20240117.163225 accepted/tizen/unified/riscv/20240118.054539
Hwankyu Jhun [Tue, 16 Jan 2024 03:44:00 +0000 (12:44 +0900)]
Release version 0.60.21

Changes:
 - Add a missing mutex unlock

Change-Id: Ic20473d1ca8b49d9a1435ce441097715db70aa89
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 months agoAdd a missing mutex unlock 17/304317/1
Hwankyu Jhun [Tue, 16 Jan 2024 03:27:04 +0000 (12:27 +0900)]
Add a missing mutex unlock

The recursive mutex must be unlocked before returning the function.

Change-Id: I5bf3e62fa3d7ac6c14cb3f8bb022a68d69fa2a9c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 months agoRelease version 0.60.20 12/304312/1
Hwankyu Jhun [Tue, 16 Jan 2024 02:22:55 +0000 (11:22 +0900)]
Release version 0.60.20

Changes:
 - Fix wrong error handling

Change-Id: I20d6a0d923f0552d92b7cba30af60388e14df995
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 months agoFix wrong error handling 10/304310/1
Hwankyu Jhun [Tue, 16 Jan 2024 02:17:04 +0000 (11:17 +0900)]
Fix wrong error handling

If aul library does not find the client channel, the request must be ignored.

Change-Id: If45da924ad3479d1c02a51c7c48cbd68d689093d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 months agoRelease version 0.60.19 92/304192/1 accepted/tizen/8.0/unified/20240112.155124 accepted/tizen/unified/20240112.154610 accepted/tizen/unified/riscv/20240115.113638
Hwankyu Jhun [Fri, 12 Jan 2024 00:49:49 +0000 (09:49 +0900)]
Release version 0.60.19

Changes:
 - Fix fd leak

Change-Id: I3b52594d4be786d1201a62ba1911ad8a8f1ea120
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 months agoFix fd leak 77/304177/2
Hwankyu Jhun [Thu, 11 Jan 2024 11:00:59 +0000 (20:00 +0900)]
Fix fd leak

If the Send() returns an error, the aul library should close the file
descriptor when the socket option is not AUL_SOCK_ASYNC.

Change-Id: I84119f6af4e0643d688f6c81a86de6491ba5a7af
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 months agoRelease version 0.60.18 04/303904/1 accepted/tizen/8.0/unified/20240109.155426 accepted/tizen/unified/20240109.155336 accepted/tizen/unified/riscv/20240110.014458
Changgyu Choi [Mon, 8 Jan 2024 03:27:11 +0000 (12:27 +0900)]
Release version 0.60.18

Changes:
 - Fix fd leak case

Change-Id: Ie2814493a03499537bbdc254f48d9a7618a2e51d
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 months agoFix fd leak case 61/303861/2
Changgyu Choi [Mon, 8 Jan 2024 01:40:50 +0000 (10:40 +0900)]
Fix fd leak case

Change-Id: I46906a131388833e06f256be7845f65f0b45c244
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 months agoRelease version 0.60.17 35/303635/1 accepted/tizen/8.0/unified/20240104.165409 accepted/tizen/unified/20240104.053208 accepted/tizen/unified/riscv/20240105.060123
Hwankyu Jhun [Tue, 2 Jan 2024 23:28:17 +0000 (08:28 +0900)]
Release version 0.60.17

Changes:
 - Modify -f option of app_launcher tool

Change-Id: I1c083042c20f6751766880490db10ef3b0c964cc
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 months agoModify -f option of app_launcher tool 33/303633/1
Hwankyu Jhun [Tue, 2 Jan 2024 22:12:09 +0000 (07:12 +0900)]
Modify -f option of app_launcher tool

If amd is ready, the tool removes the AUL_K_FAST_LAUNCH key from
the bundle object.

Change-Id: I13f5ff1b9e40b4e6fd62e15e5a17e27ab1de7747
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 months agoRelease version 0.60.16 22/303322/1 accepted/tizen/8.0/unified/20231226.175916 accepted/tizen/unified/20231226.154436 accepted/tizen/unified/20231226.180101 accepted/tizen/unified/riscv/20231227.041952
Hwankyu Jhun [Tue, 26 Dec 2023 00:44:40 +0000 (09:44 +0900)]
Release version 0.60.16

Changes:
 - Add a new internal function to send raw data

Change-Id: I9971954a7468040c98228aa79ed16c83ef2e9e5a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 months agoAdd a new internal function to send raw data 19/303319/1
Hwankyu Jhun [Tue, 26 Dec 2023 00:20:31 +0000 (09:20 +0900)]
Add a new internal function to send raw data

The aul_sock_send_raw_data() is added. The aul_launch uses the function
to send a reply to amd.

Change-Id: I176f8ce4d691abce40c766d2525f8fdfad778054
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 months agoRelease version 0.60.15 60/303260/1
Hwankyu Jhun [Fri, 22 Dec 2023 06:46:13 +0000 (15:46 +0900)]
Release version 0.60.15

Changes:
 - Add a new internal AUL key

Change-Id: Iddbe80760552bc97919eda6d05d18bbfe1ec28d7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 months agoAdd a new internal AUL key 52/303252/1
Hwankyu Jhun [Fri, 22 Dec 2023 06:34:30 +0000 (15:34 +0900)]
Add a new internal AUL key

The AUL_K_REQUEST_ID is added for aul requests.
The aul_launch implementation uses the key.

Change-Id: Ib90a46546e82ab013398fb683a2bbf3ff12fe681
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 months agoRelease version 0.60.14 35/303235/1
Hwankyu Jhun [Fri, 22 Dec 2023 03:36:51 +0000 (12:36 +0900)]
Release version 0.60.14

Changes:
 - Send a result with a sequence number

Change-Id: Id64d549cc15a93704ed8df84bb2190c7ad645da9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 months agoSend a result with a sequence number 30/303230/2
Hwankyu Jhun [Fri, 22 Dec 2023 02:09:20 +0000 (11:09 +0900)]
Send a result with a sequence number

When sending the result to amd, the application sends the sequence number.
amd will handle the reply by the sequence number.

Change-Id: I5f17e6b834b6e85cf038714c468fe9985dd56707
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 months agoRelease version 0.60.13 70/302870/1 accepted/tizen/8.0/unified/20231219.160156 accepted/tizen/unified/20231219.041246 accepted/tizen/unified/riscv/20231226.211012
Hwankyu Jhun [Fri, 15 Dec 2023 01:47:05 +0000 (10:47 +0900)]
Release version 0.60.13

Changes:
 - Wait for the creation of a socket

Change-Id: Id0603e14e1b0e963ff803a14a9e57d37ede9b9af
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 months agoWait for the creation of a socket 51/302851/3
Hwankyu Jhun [Thu, 14 Dec 2023 11:16:25 +0000 (20:16 +0900)]
Wait for the creation of a socket

When the app launcher tool receives a request to execute through the -f option,
it waits for the creation of a socket in the launchpad-process-pool.
If the socket is not created yet, we call usleep() every 100ms and monitor.
The maximum timeout is 10 seconds.

Change-Id: I98b5e0dc704fe08ae6130d46d0057e3041f9d260
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 months agoRelease version 0.60.12 36/302736/1 accepted/tizen/8.0/unified/20231214.075322 accepted/tizen/unified/20231214.164910
Changgyu Choi [Wed, 13 Dec 2023 01:36:30 +0000 (10:36 +0900)]
Release version 0.60.12

Changes:
 - Remove init process of fast launch

Change-Id: I0b1cbb9a7e2419aaa5ccd78ee75e3356d93e0dcb
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 months agoRemove init process of fast launch 31/302731/1
Changgyu Choi [Wed, 13 Dec 2023 01:02:00 +0000 (10:02 +0900)]
Remove init process of fast launch

The logic to access the database at the beginning of booting is disadvantageous for performance.
This patch improves this by omitting the check for whether the app is installed if it is a fast launch.

Change-Id: I9827e43cda610d633258366ad420a7abd9e3d4d7
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 months agoRelease version 0.60.11 67/302467/1 accepted/tizen/8.0/unified/20231208.171928 accepted/tizen/unified/20231211.095339
Hwankyu Jhun [Thu, 7 Dec 2023 08:22:21 +0000 (17:22 +0900)]
Release version 0.60.11

Changes:
 - Modify -f option of app launcher

Change-Id: If092333d7305aaf35aec1e4cd313766eec80a9f0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 months agoModify -f option of app launcher 32/302432/1
Hwankyu Jhun [Wed, 6 Dec 2023 10:17:42 +0000 (19:17 +0900)]
Modify -f option of app launcher

If the option is 'fast launch', the app launcher does not set the recv
timeout. If initialization of launchpad takes a long time, duplicate execution
occurs. This patch is applied to prevent this.

Change-Id: If198da87976656d70077a73aeeb36c0f25a803c6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 months agoRelease version 0.60.10 52/302152/1 accepted/tizen/8.0/unified/20231204.174213 accepted/tizen/unified/20231205.024702 accepted/tizen/unified/riscv/20231211.234051
Hwankyu Jhun [Fri, 1 Dec 2023 07:08:33 +0000 (16:08 +0900)]
Release version 0.60.10

Changes:
 - Modify boot sequence parser

Change-Id: Icaba9ff0e09c76d5bfbef947538b96a655b710fa
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 months agoModify boot sequence parser 99/302099/2
Hwankyu Jhun [Thu, 30 Nov 2023 07:50:36 +0000 (16:50 +0900)]
Modify boot sequence parser

After this patch is applied, the parser does not check on-boot option.
It only checks the boot-sequence exists in the tizen-manifest.xml or not.
The dotnet API version has been integrated into the Tizen API version.

Change-Id: I8eed1c8fa537cc6dad0237cb034c61ed06823309
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 months agoRelease version 0.60.9 53/301553/1 accepted/tizen/8.0/unified/20231121.180436 accepted/tizen/unified/20231121.102909
Changgyu Choi [Mon, 20 Nov 2023 03:51:07 +0000 (12:51 +0900)]
Release version 0.60.9

Changes:
 - Revert "Send a startup signal in the constructor"

Change-Id: I17c14c20859a82a273f3a245e9805527df12466b
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
5 months agoRevert "Send a startup signal in the constructor" 44/301544/1
Changgyu Choi [Mon, 20 Nov 2023 01:59:53 +0000 (10:59 +0900)]
Revert "Send a startup signal in the constructor"

This reverts commit 1c1714c08ecb9eade1058bc4cbff41dcdb74e2ec.

Change-Id: I7217c6355bc38f0c59d93fe112a39e2c764cc0f5
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
5 months agoRelease version 0.60.8 47/301447/1 accepted/tizen/unified/20231116.175519
Hwankyu Jhun [Thu, 16 Nov 2023 04:03:15 +0000 (13:03 +0900)]
Release version 0.60.8

Changes:
 - Use TLS variable for getting status

Change-Id: I571a5fbda17973f07fa46a448132533cc4c3d89b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 months agoUse TLS variable for getting status 46/301446/1
Hwankyu Jhun [Thu, 16 Nov 2023 03:50:42 +0000 (12:50 +0900)]
Use TLS variable for getting status

If the aul_app_info_iter_fn callback function is called while calling
getting status API, aul library tries to get the status from the current
aul_app_info.

Change-Id: I26b60a9b81d9def74abe66234c9de726983344ce
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 months agoRelease version 0.60.7 03/301403/1 accepted/tizen/8.0/unified/20231116.175411 accepted/tizen/unified/20231116.101848
Hwankyu Jhun [Wed, 15 Nov 2023 09:11:37 +0000 (18:11 +0900)]
Release version 0.60.7

Changes:
 - Add a missing header file

Change-Id: I86919d7c6c2931cf931cbcc31471031cf992aeee
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 months agoAdd a missing header file 02/301402/1
Hwankyu Jhun [Wed, 15 Nov 2023 09:10:56 +0000 (18:10 +0900)]
Add a missing header file

Adds:
 - pkginfo_internal.h

Change-Id: I920b6e09fe1e648467318ea976eb8b7e9169bb6d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 months agoRelease version 0.60.6 85/301385/1
Hwankyu Jhun [Wed, 15 Nov 2023 07:25:26 +0000 (16:25 +0900)]
Release version 0.60.6

Changes:
 - Print warning messages

Change-Id: Idbce39a8b61bc3693b43faa65386cb99682aa774
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 months agoPrint warning messages 81/301381/1
Hwankyu Jhun [Wed, 15 Nov 2023 06:30:58 +0000 (15:30 +0900)]
Print warning messages

Currently, product developers are using the aul_app_get_status() API in
the aul_app_info_iter_fn callback function.
This behavior has an adverse effect on AMD latency.
This patch adds the output of a warning message to the developer when
the aul_app_get_status() API is used within the aul_app_info_iter_fn callback.
Whether or not to call the callback was processed using thread local storage.

Change-Id: Iacb5ff451775b340e88cbd39ca20ff845321a89d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 months agoRelease version 0.60.5 53/301353/1
Hwankyu Jhun [Wed, 15 Nov 2023 01:40:30 +0000 (10:40 +0900)]
Release version 0.60.5

Changes:
 - Send a startup signal in the constructor

Change-Id: I3af642496e2cc71b822aecf7c74591e0e52aee90
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 months agoSend a startup signal in the constructor 74/301174/2
Changgyu Choi [Fri, 10 Nov 2023 04:25:04 +0000 (13:25 +0900)]
Send a startup signal in the constructor

In the previous implementation, the startup signal was sent from launchpad.
This patch moves this behavior to the point where the aul library creator
is called.

Change-Id: I8e6376ebe68308ea70b8a31cb85e7dc723109824
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
6 months agoRelease version 0.60.4 72/300072/1 accepted/tizen/unified/20231018.120756
Changgyu Choi [Mon, 16 Oct 2023 09:28:32 +0000 (18:28 +0900)]
Release version 0.60.4

Changes:
 - Use global mutex variable on __send_result()

Change-Id: I13282ea71922ae795b3ccef9d9beb4c7c1f4568d
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
6 months agoUse global mutex variable on __send_result() 61/300061/6
Changgyu Choi [Mon, 16 Oct 2023 08:30:38 +0000 (17:30 +0900)]
Use global mutex variable on __send_result()

The socket io of aul+ require mutex because read and write can occur at the same time.
This patch uses the global mutex instead of the previously removed channel mutex.

Change-Id: I7189dc4567c2a0150e40877b67f42baf62719b4a
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
6 months agoRelease version 0.60.3 59/300059/1
Changgyu Choi [Mon, 16 Oct 2023 08:16:38 +0000 (17:16 +0900)]
Release version 0.60.3

Changes:
 - Remove the logic that checks channel lock during __send_result()

Change-Id: Iafafb8521250f727c1ae649d81cb401ad592b1f7
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
6 months agoRemove the logic that checks channel lock during __send_result() 52/300052/2
Changgyu Choi [Mon, 16 Oct 2023 07:51:21 +0000 (16:51 +0900)]
Remove the logic that checks channel lock during __send_result()

Client channel can be invalid when calling __send_result() into the main thread.
This patch removes the use of invalid mutex in these cases.

Change-Id: I1635f78431187314003bb8f2e53804d7f9231dd1
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
7 months agoRelease version 0.60.2 15/299115/1 accepted/tizen/8.0/unified/20231005.093015 accepted/tizen/unified/20230923.084304 tizen_8.0_m2_release
Changgyu Choi [Wed, 20 Sep 2023 04:28:59 +0000 (13:28 +0900)]
Release version 0.60.2

Changes:
 - Fix double fd close

Change-Id: I2e8c3f694a23b44c497e9c7322909a8382292b3b
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
7 months agoFix double fd close 08/299108/1
Changgyu Choi [Wed, 20 Sep 2023 02:23:18 +0000 (11:23 +0900)]
Fix double fd close

Change-Id: Idb201ddb6152235b93f85126032b72f831540503
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
7 months agoRelease version 0.60.1 10/298810/1 accepted/tizen/unified/20230914.164934
Hwankyu Jhun [Thu, 14 Sep 2023 00:14:36 +0000 (09:14 +0900)]
Release version 0.60.1

Changes:
 - Use sysconf() instead of global variable

Change-Id: I2161aabab485f92034ac723459ce320a420b8cfa
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 months agoUse sysconf() instead of global variable 79/298779/1
Hwankyu Jhun [Wed, 13 Sep 2023 10:14:54 +0000 (19:14 +0900)]
Use sysconf() instead of global variable

Some process changes the maximum open file descriptor number itself.
In this case, the MAX_FDS must be changed.

Change-Id: I70c3ffe91c78a9068572c9c4f6471701fea0045d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 months agoRelease version 0.60.0 13/298013/1 accepted/tizen/unified/20230831.081033
Hwankyu Jhun [Wed, 30 Aug 2023 05:51:59 +0000 (14:51 +0900)]
Release version 0.60.0

Changes:
 - Add new internal functions to restart loader process

Change-Id: I1a517e2e4df56eb43de72946a41dfc98050e63bd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 months agoAdd new internal functions to restart loader process 11/298011/1
Hwankyu Jhun [Wed, 30 Aug 2023 04:51:41 +0000 (13:51 +0900)]
Add new internal functions to restart loader process

The aul_restart_loader() function is added to send the restart request to
launchpad-process-pool.

Adds:
 - aul_restart_loader()
 - aul_restart_loader_for_uid()

Change-Id: If50f1bcbb329e0e8a7c8fbf9749561536bede4e0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 months agoRelease version 0.59.2 08/296708/1 accepted/tizen/unified/20230807.014646
Hwankyu Jhun [Thu, 3 Aug 2023 08:07:53 +0000 (17:07 +0900)]
Release version 0.59.2

Changes:
 - Use sqlite3_close_v2()

Change-Id: Ifd141efc88cab8b879b76b5ada0a4950b7822eb6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 months agoUse sqlite3_close_v2() 03/296703/1
Hwankyu Jhun [Thu, 3 Aug 2023 08:04:09 +0000 (17:04 +0900)]
Use sqlite3_close_v2()

If the database handle is opened using sqlite3_open_v2(),
we MUST use sqlite3_close_v2() to close the database properly.

Change-Id: Ia53b59df23674e821fea15a79d239dcb45fd2282
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 months agoRelease version 0.59.1 57/296557/1 accepted/tizen/unified/20230803.034101
Changgyu Choi [Tue, 1 Aug 2023 04:45:24 +0000 (13:45 +0900)]
Release version 0.59.1

Changes:
 - Add a new key

Change-Id: I7ddff10f446e91c6503fa552d3ad0226a52deba7
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
8 months agoAdd a new key 50/296550/3
Changgyu Choi [Tue, 1 Aug 2023 02:21:59 +0000 (11:21 +0900)]
Add a new key

Adds:
 - AUL_K_MULTIPLE_INSTANCE_APPID

Change-Id: I404ad74bc4c45e97220bb9ffe4365b4b7c0fda98
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
9 months agoRelease version 0.59.0 94/296394/2 accepted/tizen/unified/20230801.174225
Hwankyu Jhun [Thu, 27 Jul 2023 02:12:52 +0000 (11:12 +0900)]
Release version 0.59.0

Changes:
 - Add new internal functions to kill loader process

Change-Id: Ie5fa6663f2ff33a5ab3207dfff802d2b8d69141a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
9 months agoAdd new internal functions to kill loader process 90/296390/3
Hwankyu Jhun [Thu, 27 Jul 2023 01:29:01 +0000 (10:29 +0900)]
Add new internal functions to kill loader process

The aul_kill_loader() function is added to send the kill request to
launchpad-process-pool.

Adds:
 - aul_kill_loader()
 - aul_kill_loader_for_uid()

Change-Id: Id89226a0bf5dab959505ab437f340bfa6c28201d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
9 months agoRelease version 0.58.0 81/296281/1
Hwankyu Jhun [Tue, 25 Jul 2023 01:30:06 +0000 (10:30 +0900)]
Release version 0.58.0

Changes:
 - Add a new internal function for getting proc group info

Change-Id: Ibd53e75cda58094fb39fb7b79df02286705e9206
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
9 months agoAdd a new internal function for getting proc group info 46/296246/7
Hwankyu Jhun [Mon, 24 Jul 2023 07:53:05 +0000 (16:53 +0900)]
Add a new internal function for getting proc group info

aul_proc_group_foreach() is added to retrieves the process group information.

Adds:
 - aul_proc_group_info_get_leader_pid()
 - aul_proc_group_info_get_sub_pids()
 - aul_proc_group_info_destroy()
 - aul_proc_group_foreach()
 - aul_proc_group_get()

Change-Id: I07f699088cf4c6e4eaf251df5df8153e2d8e1ea4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
9 months agoRelease version 0.57.5 72/296172/1 accepted/tizen/unified/20230725.012955
Hwankyu Jhun [Fri, 21 Jul 2023 02:02:27 +0000 (11:02 +0900)]
Release version 0.57.5

Changes:
 - Modify error code of aul socket

Change-Id: Ief046450219bc70895c876b07dab686bd86f9985
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
9 months agoModify error code of aul socket 70/296170/1
Hwankyu Jhun [Fri, 21 Jul 2023 01:39:14 +0000 (10:39 +0900)]
Modify error code of aul socket

When the amd socket is not ready, the errno value is ENOENT.
After calling aul_error_convert() function, the error is changed to AUL_R_ENOAPP.
It means the application is not found error. The error should be AUL_E_ECOMM.
This patch changes the error code to -ECOMMM.

Change-Id: Ic6d66d85bb4e37e41366a40bbe2abc1980b98dee
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
9 months agoRelease version 0.57.4 72/295372/1 accepted/tizen/unified/20230710.013107
Hwankyu Jhun [Thu, 6 Jul 2023 07:09:32 +0000 (16:09 +0900)]
Release version 0.57.4

Changes:
 - Fix bugs about boot sequence parser plugin

Change-Id: Id472a8961ac1103b7672fcab699383897c60911d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
9 months agoFix bugs about boot sequence parser plugin 69/295369/1
Hwankyu Jhun [Thu, 6 Jul 2023 06:57:18 +0000 (15:57 +0900)]
Fix bugs about boot sequence parser plugin

The condition of if statements are wrong. If the value is not 'true' or 'false',
the parser plugin should set the default value.

Change-Id: I41b44aa90779d4bc74711d955ce9fcdea03264a1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
9 months agoRelease version 0.57.3 44/295144/1 accepted/tizen_unified_dev accepted/tizen/unified/20230705.063716 accepted/tizen/unified/dev/20230726.115720
Hwankyu Jhun [Mon, 3 Jul 2023 08:29:08 +0000 (08:29 +0000)]
Release version 0.57.3

Changes:
 - Fixed the build error using gcc 13

Change-Id: I7881b500eb9aa71b9c00b69d79276d943a28e686
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
9 months agoFixed the build error using gcc 13 31/295131/1
Hwankyu Jhun [Mon, 3 Jul 2023 06:57:56 +0000 (06:57 +0000)]
Fixed the build error using gcc 13

- Change 'requires' variable to 'requires_dep'
- Remove unnecessary std::move call

Change-Id: Ic729513e31934da69f93cd7537a212f435bfbd5c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
10 months agoRelease version 0.57.2 73/294673/1 accepted/tizen/unified/20230623.160708
Hwankyu Jhun [Fri, 23 Jun 2023 01:27:38 +0000 (01:27 +0000)]
Release version 0.57.2

Changes:
 - Ssparate the registration from the constructor

Change-Id: Id46a9b1b46cba2615ad97fa414d55fb429d28022
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
10 months agoSsparate the registration from the constructor 71/294671/2
Hwankyu Jhun [Thu, 22 Jun 2023 23:55:34 +0000 (23:55 +0000)]
Ssparate the registration from the constructor

To prevent segmantation fault issue, this patch separates the app com
registration from the app event constructor.
If the main thread accesses the resource of the derived class when
calling the constructor of the base class in the sub thread,
the segmentation fault issue is occurred as below:

--------------------------------------------------------------------------------
 Thread 33 (LWP 4401):
 #0  0xb5368646 in bundle_free (b=0xabfb0270)
 #1  0xb5369538 in tizen_base::Bundle::~Bundle
 #2  0xb53c9c1e in (anonymous namespace)::AppComCreate
 #3  0xb53c9df8 in aul_app_com_create_async
 #4  0xb53a1630 in aul::AppEvent::AppEvent
 #5  0xb53a17ae in (anonymous namespace)::AppEventStub::AppEventStub

 Thread 1 (LWP 4189):
 #0  0xb5398b74 in aul::AppEvent::OnAppStatusCb
 #1  0xb53c6bd8 in (anonymous namespace)::AppComConnection::Invoke
--------------------------------------------------------------------------------

Change-Id: I045046f64c1f33dcb4ada22ebbc21cffe97b86c7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
10 months agoRelease version 0.57.1 53/294553/1
Hwankyu Jhun [Wed, 21 Jun 2023 06:01:00 +0000 (06:01 +0000)]
Release version 0.57.1

Changes:
 - Fix a static analysis issue
 - Fix wrong gsource deletion

Change-Id: I2e07d7b49ca686b3178cd2759afe7e292e81b7b2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
10 months agoFix wrong gsource deletion 26/294526/1
Hwankyu Jhun [Tue, 20 Jun 2023 23:49:54 +0000 (23:49 +0000)]
Fix wrong gsource deletion

While terminating the worker thread, the worker thread tries to remove
the anr timer source. In this time, the g_source_remove() was called.
It makes an error. This patch uses the g_source_destroy() instead of
the g_source_remove(). Before calling the g_source_destroy(), the worker
finds the source using the source id with the GMainContext.

Change-Id: Iee25a57b0b9036d028c0974187f013eb3e99b864
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
10 months agoFix a static analysis issue 77/294477/2
Changgyu Choi [Tue, 20 Jun 2023 04:24:48 +0000 (13:24 +0900)]
Fix a static analysis issue

Changes:
 - Adds checking whether root is nullptr or not.

Change-Id: I694e8f0f696e9c4d4097adc876e7f868988458c8
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>