Ilho Kim [Fri, 8 Dec 2023 01:18:24 +0000 (10:18 +0900)]
Release version 0.24.17
Changes:
- Add buxton2.socket dependency
- Remove the cache when language change event occurs
- Fix inconsistency between cache and database
Change-Id: If40e16519addd3df272fd590354b407ab69bd769
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 7 Dec 2023 12:40:49 +0000 (21:40 +0900)]
Fix inconsistency between cache and database
If there is an installation process that was started
before the cache creation task was completed on the server
then that process can attempt to write directly to the database even
after the cache generation is complete and a ready flag has been created
Using inotify, watch for changes to the database
and if there is an attempt to directly write to the database
after caching has been completed, remove all cached data
Change-Id: Ibf12fe472904467a8d5a5335f8525109aa03f32f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 4 Dec 2023 04:42:04 +0000 (13:42 +0900)]
Remove the cache when language change event occurs
Change-Id: If58b4eb6465e7d1c9bfc254ee33b418eb0dc5a43
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
(cherry picked from commit
dbc0e94134bfa8c35a13899cb8bfedd1d5149512)
Sangyoon Jang [Sun, 3 Dec 2023 23:59:28 +0000 (08:59 +0900)]
Add buxton2.socket dependency
To subscribe lang changed event, pkgmgr-info server requires buxton2
service.
Change-Id: I3ad94d2c91f33266d92c9d7e6f47ec78af4a1e8e
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 29 Nov 2023 04:46:59 +0000 (13:46 +0900)]
Release version 0.24.16
Changes:
- Delte meaningless code
- Add pkgmgrinfo_pkginfo_foreach_depends_on_by_pkgid
Change-Id: I0fc9b3792d53d1a1cee5dea3778fc36296621c40
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 29 Nov 2023 04:46:52 +0000 (04:46 +0000)]
Merge "Add pkgmgrinfo_pkginfo_foreach_depends_on_by_pkgid" into tizen
Sangyoon Jang [Mon, 27 Nov 2023 05:51:07 +0000 (14:51 +0900)]
Add pkgmgrinfo_pkginfo_foreach_depends_on_by_pkgid
Add a new API to improve performance of .NET API.
Change-Id: Ia4b2f969c7839f0e010b418df8f8162a7d64fa13
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Fri, 24 Nov 2023 04:55:03 +0000 (13:55 +0900)]
Delte meaningless code
Remove the deprecated api call
appsvc unset was transferred to parser-plugin
Change-Id: If54e17e12144fe8814297e738bb69fb01a13dc98
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
ilho kim [Fri, 10 Nov 2023 07:41:15 +0000 (16:41 +0900)]
Release version 0.24.15
Changes:
- Add handling of the invalid command type
- Remove internal api related with memory database
Change-Id: I63ab1675a48159f66857dce4ae996a309ecb62fb
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Fri, 10 Nov 2023 04:14:47 +0000 (13:14 +0900)]
Remove internal api related with memory database
Memory database is no longer used
Change-Id: I6efb013b1942ff578d9f1c3a38335f8b6c7d34b2
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Fri, 10 Nov 2023 04:13:54 +0000 (13:13 +0900)]
Add handling of the invalid command type
Change-Id: I97f4c1777fd6942cf6f3844e83e9ca76d469397a
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Fri, 3 Nov 2023 04:50:50 +0000 (13:50 +0900)]
Release version 0.24.14
Changes:
- Remove the possibility of incorrect memory access
Change-Id: I6bdf22d663a017ccf8910df428ad58f019327926
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Fri, 3 Nov 2023 04:22:31 +0000 (13:22 +0900)]
Remove the possibility of incorrect memory access
The pending pkg information by the uninstall request
doesn't have a pkg handle
Change-Id: Ie0341d42c469625bbcec7b0e4be07a9fdc028f06
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Tue, 31 Oct 2023 07:32:43 +0000 (16:32 +0900)]
Release version 0.24.13
Changes:
- Fix wrong CommandType
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
Change-Id: Id921b75197904a40a178cb977145f930db9c25a0
ilho kim [Tue, 31 Oct 2023 06:13:21 +0000 (15:13 +0900)]
Fix wrong CommandType
Change-Id: Id0186d77983166a664ee7f2c64f5d64664d72c98
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Tue, 31 Oct 2023 02:10:43 +0000 (11:10 +0900)]
Release version 0.24.12
Changes:
- Add api to update cache using pkgid
Change-Id: I9b0603c0ef56fbecc0aa944cb75892fbee8e5c77
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Wed, 25 Oct 2023 06:39:51 +0000 (15:39 +0900)]
Add api to update cache using pkgid
Change-Id: I1693bd1b3644167b1fa2338251aab32524de96e8
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Thu, 26 Oct 2023 07:11:46 +0000 (16:11 +0900)]
Release version 0.24.11
Changes:
- Set memory limit
Change-Id: I7a0910e2d9b426f73c4ea6e0fde46dd10c42bfa9
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Thu, 26 Oct 2023 06:50:14 +0000 (15:50 +0900)]
Set memory limit
Change-Id: I6e8575f1e339322e9ff6fd8859959f642c3448c3
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Mon, 16 Oct 2023 06:30:52 +0000 (15:30 +0900)]
Release version 0.24.10
Changes:
- Fix buffer size for getting library path
- Add some logs for debugging
- Remove the memory database for the cache
- Remove lock when getting the path of the database
- Handle abnormally terminated installer process
Change-Id: Id319c5f2c707c27f16219d49418b70a5f058b0a9
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Fri, 13 Oct 2023 06:02:38 +0000 (15:02 +0900)]
Handle abnormally terminated installer process
If there is an abnormally terminated installer process
apply the pending package info written by the process to the cache
Change-Id: Idc128d9dcddec3ba209996e2a09eea3ea687c0ce
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Thu, 12 Oct 2023 06:49:04 +0000 (15:49 +0900)]
Remove lock when getting the path of the database
Since the memory database creation logic has been removed
there is no need to hold the lock because only the path is returned
when getting the database's path
Change-Id: I255f74de540f64ef2d3b928664148639b14ef3a6
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Wed, 11 Oct 2023 10:22:48 +0000 (19:22 +0900)]
Remove the memory database for the cache
There is no need to maintain memory database because
pkginfo-server is already caching the handles of pkginfo and appinfo
Change-Id: I1158e980880c8945cad14b338ec8e0d70dc5b5ac
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
Sangyoon Jang [Wed, 27 Sep 2023 06:37:39 +0000 (15:37 +0900)]
Add some logs for debugging
Change-Id: I140362e33ac24b1de2019fcc743c30b4e582cc77
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 1 Sep 2022 01:31:59 +0000 (10:31 +0900)]
Fix buffer size for getting library path
Change-Id: I08da5a2bf9b9f032be1e467ee28d76a49f149b6b
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Mon, 11 Sep 2023 00:45:07 +0000 (09:45 +0900)]
Release version 0.24.9
Changes:
- Set client socket timeout from env if exists
Change-Id: Iaaccccab16c4eb4dc712411500709f1c1dbc742e
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 24 Aug 2023 06:14:22 +0000 (15:14 +0900)]
Set client socket timeout from env if exists
Change-Id: Iceb6ba89e6c7a40f93e555faad1e0e72894f8725
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
ilho kim [Mon, 7 Aug 2023 06:33:18 +0000 (15:33 +0900)]
Release version 0.24.8
Changes:
- Fix static analysis issue
Change-Id: I0b0c4aa1d4ed00b828b62fa911491175c5fbbb7c
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Mon, 7 Aug 2023 05:37:41 +0000 (14:37 +0900)]
Fix static analysis issue
Avoid null pointer dereference
Change-Id: Id47e7cf188e299142a090e08f696810ac8e66f45
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
Sangyoon Jang [Wed, 7 Jun 2023 06:50:01 +0000 (15:50 +0900)]
Release version 0.24.7
Changes:
- Add missing include
- Fix log format
Change-Id: Ic4b85e9e00ccf68ff21e53583425da701066e1cd
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Mon, 22 May 2023 06:20:09 +0000 (15:20 +0900)]
Fix log format
Add function name.
Change-Id: Ibfd34d54bead1e289f0cc0e5caae45d1431eff11
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Fri, 21 Apr 2023 01:09:51 +0000 (10:09 +0900)]
Add missing include
Change-Id: I01f9d9b5f2f35dc4aee05b63db2640c86f922de4
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
ilho kim [Fri, 31 Mar 2023 00:33:53 +0000 (09:33 +0900)]
Release version 0.24.6
Changes:
- Decrease timeout of client socket
Change-Id: I7495b702240669ccc331a7c32758489bd544c605
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Thu, 30 Mar 2023 05:54:53 +0000 (14:54 +0900)]
Decrease timeout of client socket
The timeout was increased because the request received before the cache
creation is completed is delayed, but not the request is received after
the cache creation is completed, so the value is reduce again
Change-Id: Id208b540a6fbc94cc1094a2aa68046eaba99cb46
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Wed, 22 Mar 2023 00:17:07 +0000 (09:17 +0900)]
Release version 0.24.5
Changes:
- Fix Typo
- Fix "_APPINFO_PROP_PKG_DISABLE" filter check logic
Change-Id: I0a1fa6192a89ce41e1b254cd2483dd2119433590
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Tue, 21 Mar 2023 11:44:03 +0000 (20:44 +0900)]
Fix "_APPINFO_PROP_PKG_DISABLE" filter check logic
The GetPackageDisableFilterStatus function should check
'PMINFO_APPINFO_PROP_PKG_DISABLE' not 'PMINFO_APPINFO_PROP_APP_DISABLE'
Change-Id: Ia922d73aaf845dbd97d4e7bef28029be4c42df4c
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Tue, 21 Mar 2023 11:29:53 +0000 (20:29 +0900)]
Fix Typo
Change-Id: I5ed2ebc7f2d52e41546fdb22a8af57b3b6fceb21
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Wed, 15 Mar 2023 04:50:57 +0000 (13:50 +0900)]
Release version 0.24.4
Changes:
- Fix static analysis issue
Change-Id: I015f93e43773f751b2d9eb25c68ca54884f0d6f9
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Wed, 15 Mar 2023 03:32:46 +0000 (12:32 +0900)]
Fix static analysis issue
Fix resource leak
Change-Id: I63816552cf432f3c9c1eee8eac1c62a6e4b1fdfa
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Tue, 14 Mar 2023 07:20:37 +0000 (16:20 +0900)]
Release version 0.24.3
Changes:
- Add debugging log for disabled pkg/app for db
- Fix 'pkgmgr_parser_update_global_app_disable_for_uid_info_in_db'
Change-Id: I06c8b2f2a2bd20d54160319d0b52366dba3c58d5
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Thu, 9 Mar 2023 06:23:24 +0000 (15:23 +0900)]
Fix 'pkgmgr_parser_update_global_app_disable_for_uid_info_in_db'
The api write value for global user database
Change-Id: I8296c653497337c9aa79091058b89a47dd878388
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Thu, 9 Mar 2023 03:42:07 +0000 (12:42 +0900)]
Add debugging log for disabled pkg/app for db
When using a filter for package_disable or app_disable
do not filter using a query, get a values from db and then apply filter
and print log when package or application is disabled
Change-Id: I3842c346e6bdebee2a7703897ab91cd323d33a45
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
Hwankyu Jhun [Wed, 8 Mar 2023 23:37:04 +0000 (23:37 +0000)]
Release version 0.24.2
Changes:
- Fix static analysis issues
- Fix static analysis issues
- Add package paremeter to application filter
- Fix 'PMINFO_APPINFO_PROP_PKG_DISABLE' filter for cache
- Add debugging log for disabled pkg/app for cache
- Modify package ID comparison
Change-Id: I5b373b0de37669ae76206e11078c177a91663c36
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 8 Mar 2023 23:30:15 +0000 (23:30 +0000)]
Modify package ID comparison
This patch fixes duplicated callback function call.
Change-Id: I438d3e1243652542a002701f623da2aeba27b0a1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
ilho kim [Fri, 3 Mar 2023 01:15:12 +0000 (10:15 +0900)]
Add debugging log for disabled pkg/app for cache
Change-Id: I360d3bd833b7f05db225ae437bdab35adc5555af
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Mon, 6 Mar 2023 04:44:57 +0000 (13:44 +0900)]
Fix 'PMINFO_APPINFO_PROP_PKG_DISABLE' filter for cache
PMINFO_APPINFO_PROP_PKG_DISABLE filter should check
if the application's package is disabled or not
Change-Id: Ifce33771267de6ade81d9e118cded3519757aef0
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Mon, 6 Mar 2023 04:34:47 +0000 (13:34 +0900)]
Add package paremeter to application filter
Package information of the application may be required
in the application filter
Change-Id: I1386eb75cd30f939eef253621b13300904398b1a
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Mon, 13 Feb 2023 02:25:54 +0000 (11:25 +0900)]
Fix static analysis issues
- Unchecked return value
Change-Id: Ic59b1ee15622fd86f1bf4782e3df0191aa7fe0aa
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Mon, 13 Feb 2023 01:50:01 +0000 (10:50 +0900)]
Fix static analysis issues
- Fix resource leak
Change-Id: I4157b1f9f5e3014ce0adea493551e98f3a5e8038
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Thu, 9 Feb 2023 07:59:54 +0000 (16:59 +0900)]
Release version 0.24.1
Changes:
- Delay Creation of cache if backup database is exist
Change-Id: Iabd33173e22e46426ba44f426ac98ae4b8fdcfda
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Wed, 8 Feb 2023 06:37:28 +0000 (15:37 +0900)]
Delay Creation of cache if backup database is exist
If the backup database created during pkg_upgrade remains due to power off
the backup database will be restored in the next pkg_upgrade
In this case, the package information of the database and cache may be
different
Change-Id: I3b17a659cdaeccd3fc2c01224336f771b4bd7f5f
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
Hwankyu Jhun [Tue, 31 Jan 2023 04:05:15 +0000 (04:05 +0000)]
Release version 0.24.0
Changes:
- Support multiple instance launch
Change-Id: I93937cd9a71ee6000bfac3bd80b3b2fde4f55532
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 20 Jan 2023 07:24:04 +0000 (07:24 +0000)]
Support multiple instance launch
When the multiple instance launch is supported, the application ID can
be "<appid>::<instance_id>". This patch checks whether the application ID
has the instance Id or not. If it has the instance ID, the library tries
to find the application info using the real application ID.
Change-Id: I4d72dada5815f359073de860b354cb7bee994b9d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
jh9216.park [Mon, 16 Jan 2023 23:51:51 +0000 (18:51 -0500)]
Release version 0.23.2
Changes:
- Fix build error
Change-Id: I2bb76f95c5d9367050bc109013a0a901bfc4444f
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
jh9216.park [Mon, 16 Jan 2023 23:43:13 +0000 (18:43 -0500)]
Fix build error
- When 'gcov' is defined, build errors will happen.
Change-Id: I4ff56334d75630185f9720aa0b53d32612fc92c0
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
Sangyoon Jang [Fri, 13 Jan 2023 07:54:23 +0000 (16:54 +0900)]
Release version 0.23.1
Changes:
- Add missing table names
Change-Id: I636eaf704de27b962fd4b62f97e846e8466665cc
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Fri, 13 Jan 2023 07:50:52 +0000 (16:50 +0900)]
Add missing table names
Add missing table names for pkg-db-recovery.
Change-Id: Ib27c394da6d4c1e1874a41655e69cbc4997e267a
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Fri, 13 Jan 2023 03:46:04 +0000 (12:46 +0900)]
Release version 0.23.0
Changes:
- Add metadata to pkginfo
- Update pkg_db_version
Change-Id: If41c00ce586fa29d8c33cee8eeaad847b4e4e40d
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Fri, 13 Jan 2023 02:11:10 +0000 (11:11 +0900)]
Update pkg_db_version
package_metadata table was added.
Change-Id: Ie0877a43e735fdbbf010269b9a00becedeb3c730
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 11 Jan 2023 01:14:42 +0000 (10:14 +0900)]
Add metadata to pkginfo
Now metadata is available at package level.
Change-Id: Ic3f561fdb427d2482b1c3945366e6c26d7fe3976
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
jh9216.park [Thu, 12 Jan 2023 08:00:20 +0000 (03:00 -0500)]
Release version 0.22.41
Changes:
- Refactor pkgmgr-info
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
Change-Id: I04ca8c3d15c42f5349c13664427fa7138d3f1141
jh9216.park [Fri, 30 Dec 2022 02:29:38 +0000 (21:29 -0500)]
Refactor pkgmgr-info
- Use tizen_base::Database
- C -> C++
Change-Id: I77ffd89f16f4386cc85ff1031034f42c1a22498d
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
ilho kim [Tue, 10 Jan 2023 04:27:55 +0000 (13:27 +0900)]
Release version 0.22.40
Changes:
- Fix ResTypePkgFilterChecker
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
Change-Id: Ia0419f5efdbc6701a84673640e7580c2ca8eddb3
ilho kim [Tue, 10 Jan 2023 01:57:47 +0000 (10:57 +0900)]
Fix ResTypePkgFilterChecker
ResTypePkgFilterChecker filters the cached package information
to the resource type
Fix the the filter's behavior
Change-Id: Ia244ff932365be41b2fdb47c477644292058c85f
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
Sangyoon Jang [Thu, 24 Nov 2022 01:04:34 +0000 (10:04 +0900)]
Release version 0.22.39
Changes:
- Fix handling pending pkgs
Change-Id: I18e1d4be08e1ad13821617b205381a80c8b11877
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 24 Nov 2022 00:03:31 +0000 (09:03 +0900)]
Fix handling pending pkgs
Hanling pending pkgs doesn't need to affected by pid.
Change-Id: Iac865f75614426f71c8c425650077ed9e02ccbfd
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Fri, 21 Oct 2022 08:10:29 +0000 (17:10 +0900)]
Increase timeout of client socket
Increase timeout for read request. When system is busy, clients read
request fail by timeout.
Change-Id: I1ebdc879cd15bf812737818c66197b1c8440de67
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Changgyu Choi [Fri, 28 Oct 2022 01:05:41 +0000 (10:05 +0900)]
Release version 0.22.38
Changes:
- Fix to wrong free filter list
Change-Id: I7823f0f3f5a5b7ffd6f54d336f844f1ea8f1218c
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Fri, 28 Oct 2022 00:27:52 +0000 (09:27 +0900)]
Fix to wrong free filter list
Change-Id: I622976537046751cf871902a59e58998db20f253
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Tue, 25 Oct 2022 04:51:56 +0000 (13:51 +0900)]
Release version 0.22.37
Changes:
- Fix get_filter_query
- Improve handling of cache
Change-Id: I57f7dc85d76521bc4b8ecfabcc6d3407b40f8756
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Ilho Kim [Wed, 19 Oct 2022 08:18:35 +0000 (17:18 +0900)]
Improve handling of cache
After writing the package information, entire cache is removed and created
This is an inefficient process
so change to update only cache that needs to be updated
Change-Id: I6e7eea3e23ae392765dd9cbf53cf2bc09f06f0f7
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 20 Oct 2022 05:34:32 +0000 (14:34 +0900)]
Fix get_filter_query
Because the query related to the JOIN_LOCALIZED_INFO flag
is located in front of the entire query
the order of the bind parameters should be adjusted
Change-Id: Ib65b11eda6e33343d80d55c9920caf47094d2f13
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Tue, 18 Oct 2022 01:18:19 +0000 (10:18 +0900)]
Release version 0.22.36
Changes:
- Fix static analysis issue
Change-Id: Ib7c19f4e88075038b65891919bc233b23ad34d3f
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Mon, 17 Oct 2022 05:39:12 +0000 (14:39 +0900)]
Fix static analysis issue
Change-Id: I0a02f5b8445833a8563b6bfef7e7417a30785c07
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Tue, 11 Oct 2022 07:08:33 +0000 (16:08 +0900)]
Release version 0.22.35
Changes:
- Set the timeout to 60 for write query request
- Add log in case of failure of recv due to interrupt
- Fix to return errno
Change-Id: I51c56c06c89f341bd0281341965d6898bf9b38ec
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 11 Oct 2022 06:49:00 +0000 (15:49 +0900)]
Fix to return errno
There is a possibility that errno may be changed during write log
Modified to save the errno value
Change-Id: I210bc4678e83ee00bb1c1b788f5c99c23f745b6a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 11 Oct 2022 06:46:30 +0000 (15:46 +0900)]
Add log in case of failure of recv due to interrupt
Change-Id: Ib3e54dd7993afb33f75bea504de319ce70e8d9a4
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 11 Oct 2022 06:08:11 +0000 (15:08 +0900)]
Set the timeout to 60 for write query request
Change-Id: Idcbccef4c5147b6c6d0988d1253cf63c929f9dba
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Tue, 4 Oct 2022 06:03:06 +0000 (15:03 +0900)]
Release version 0.22.34
Changes:
- Fix logging.hh
Change-Id: I4e29a024845218c1ec0f5d9ab6ed191e7982ab44
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Mon, 19 Sep 2022 02:26:25 +0000 (11:26 +0900)]
Fix logging.hh
Using singleton object in complex applications can cause problem,
for example, it can be a problem when invoked at destructor of global
object.
Change-Id: Id61bbd147f8964a762b98ed2bc3138f9a07fa8d6
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Hwankyu Jhun [Fri, 30 Sep 2022 02:23:27 +0000 (02:23 +0000)]
Release version 0.22.33
Changes:
- Fix static analysis issue
- Fix wrong type size
Change-Id: I7fb889d4063b8737e32ec39e87690da6e98e4eea
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 30 Sep 2022 01:42:18 +0000 (01:42 +0000)]
Fix wrong type size
The data size of the Parcel is size_t. In 64-bit machine, the size of
the size_t is 8 bytes. This patch changes the size type to the size_t
from the interger.
Change-Id: I6a9ccd057e3e7c26607a9703b5c189074911a660
oigned-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 28 Sep 2022 04:03:42 +0000 (04:03 +0000)]
Fix static analysis issue
The following issue is fxied:
- INEFFECTIVE_MOVE
Change-Id: I589684b5c398fc5b327bd76e111588130a7a6b49
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 27 Sep 2022 06:54:49 +0000 (06:54 +0000)]
Release version 0.22.32
Changes:
- Use modified tizen_base::Parcel
- Fix static analysis issues
Change-Id: I06ee1196ede02432a81f6699a6f105cefcb6e61d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 27 Sep 2022 03:04:17 +0000 (03:04 +0000)]
Fix static analysis issues
The following issues are fixed:
- INEFFECTIVE_MOVE
- HFA
- AUTO_CAUSES_COPY
- UNINIT_CTOR
Change-Id: I3372b6578b80f91331d0da3b3a6dc8df8aea5a6f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 23 Sep 2022 10:29:09 +0000 (10:29 +0000)]
Use modified tizen_base::Parcel
To improve the performance of the parcel creation, the implementation of
the Parcel is changed. It uses malloc() instead of std::vector.
Requires:
- https://review.tizen.org/gerrit/#/c/platform/core/base/bundle/+/281779/
Change-Id: Iebb0c2905b860fab8247971c9fe064c4f1c92a48
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Ilho Kim [Fri, 23 Sep 2022 10:04:30 +0000 (19:04 +0900)]
Release version 0.22.31
Changes:
- Remove unnecessary call of copy constructor
- Remove build warning messages
- Add log about client's tid for debug
Change-Id: I8d3d8bc562a783fc86dc57de23e39b6e5e95c3f1
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 23 Sep 2022 10:02:55 +0000 (19:02 +0900)]
Add log about client's tid for debug
Change-Id: I473044bf04a1ddbd7f1fd3f24d39c414c87dd4c1
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Hwankyu Jhun [Fri, 23 Sep 2022 08:31:05 +0000 (08:31 +0000)]
Remove build warning messages
- Remove unused variable
- Remove const keyword
Change-Id: I29a6177607d338970072521bec5b4a9bac9aa3bb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Ilho Kim [Thu, 22 Sep 2022 12:47:15 +0000 (21:47 +0900)]
Remove unnecessary call of copy constructor
When the WorkerThread calls the ExtractResult of RequestHandler
the copy constructor of the vector is called
This is an unnecessary operation
Change-Id: Ib2c368cc61a34bab6f9afd42887c902ecdcd78d1
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 23 Sep 2022 07:51:12 +0000 (16:51 +0900)]
Release version 0.22.30
Changes:
- Add log to client side after receiving the result
- Fix missing semicolon
Change-Id: I0993344fce994a2d3e3fd39ccdbc5b8b6c49e8b4
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 23 Sep 2022 07:18:24 +0000 (16:18 +0900)]
Fix missing semicolon
Change-Id: I260da4343936afefaad95c65998194af4904d5d1
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 23 Sep 2022 01:59:28 +0000 (10:59 +0900)]
Add log to client side after receiving the result
Change-Id: Ie001b8ff9565b883be36276326ec7c0fb8a42bd4
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 22 Sep 2022 09:08:52 +0000 (18:08 +0900)]
Release version 0.22.29
Changes:
- Remove unused code
- Remove unnecessary unique_lock from read operation
Change-Id: Iaa9161e10cd9f0c56f27a616154a6cd9a2cae444
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 20 Sep 2022 05:55:15 +0000 (14:55 +0900)]
Remove unnecessary unique_lock from read operation
In some case, unique_lock is used in code that can be operated in
multiple thread environments without changing memory state
during read operation, which cause unnecessary starvation
Change-Id: Ife3689a667929ac0506f4ced44e4a12cf16ba3dc
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 20 Sep 2022 06:02:06 +0000 (15:02 +0900)]
Remove unused code
Change-Id: I6e989171828fc4a555b98e4d696ba0d115384de1
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Tue, 20 Sep 2022 08:01:46 +0000 (17:01 +0900)]
Release version 0.22.28
Changes:
- Fix static analysis issue
Change-Id: I783e2a327c679cf454454b4545b2405119a5fe9d
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 20 Sep 2022 05:29:16 +0000 (14:29 +0900)]
Fix static analysis issue
Change-Id: I93c65806e99bcd1744c6c1cd6ea8b05044522af4
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Fri, 19 Aug 2022 06:06:35 +0000 (15:06 +0900)]
Release version 0.22.27
Changes:
- Fix the use of cache if not the requested uid default
- Delay server ready timing until creating cache
- Adjust OOMScore of pkgmgr-info.service
Change-Id: I4dc4c8b481de28c4169b289a785818259e35e9f0
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 19 Aug 2022 05:32:05 +0000 (14:32 +0900)]
Adjust OOMScore of pkgmgr-info.service
Because pkgmgr-info.service has a default OOMScore
if there is insufficient memory in the system
the pkgmgr-info.service can be a victim with a high priority
To prevent this, apply OOMScore to -100
Change-Id: Ic48662f207a0208d358a1c3f813ab3a8c8864602
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>