platform/core/appfw/pkgmgr-info.git
5 years agoRemove unnecessary function 99/181599/3
Junghyun Yeon [Fri, 15 Jun 2018 04:42:04 +0000 (13:42 +0900)]
Remove unnecessary function

- Certificate database is integrated into one so functions to get
  individual certificate db path is unnecessary.
- Initializing user parser db will not initialize integrated cert db.

Change-Id: I1864e3e370a2b268a0dd66cbcd90277de3c1605e
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoAdd privilege filter for app info 81/179681/4
Junghyun Yeon [Mon, 21 May 2018 07:09:45 +0000 (16:09 +0900)]
Add privilege filter for app info

- This patch will enable filtering app list with pkg privilege.

Change-Id: I46e3cee50991a2a2a6043a85be2ffafc3b296321
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoRelease version 0.13.1 41/180641/1 accepted/tizen/unified/20180611.015322 submit/tizen/20180531.110445 submit/tizen/20180607.021807
Sangyoon Jang [Thu, 31 May 2018 11:01:43 +0000 (20:01 +0900)]
Release version 0.13.1

Changes:
 - Fix crash issue when getting appcontrol info

Change-Id: I88ea686a0189a1a7c0215e63699fc9348281b23b
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoFix crash issue when getting appcontrol info 39/180639/1
Sangyoon Jang [Thu, 31 May 2018 10:57:14 +0000 (19:57 +0900)]
Fix crash issue when getting appcontrol info

Change-Id: I312520ffda5dc6ceb2b338bce8e6e482404551f0
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoRelease version 0.13.0 23/179023/1 accepted/tizen/unified/20180516.065603 accepted/tizen/unified/20180521.003604 submit/tizen/20180515.094318 submit/tizen/20180518.004605
Sangyoon Jang [Tue, 15 May 2018 09:04:18 +0000 (18:04 +0900)]
Release version 0.13.0

Changes:
 - Implement remote appcontrol feature

Change-Id: Ie8c817df84b35e4f927f5d6deca80d95821e42e7
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoImplement remote appcontrol feature 05/170905/8
Sangyoon Jang [Fri, 23 Feb 2018 06:39:56 +0000 (15:39 +0900)]
Implement remote appcontrol feature

Change-Id: I1168424c7920bad0f52ab73f98c008dd22d03b4f
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRelease version 0.12.14 78/174678/1 accepted/tizen/unified/20180405.131207 submit/tizen/20180404.060840 submit/tizen/20180405.022120
Sangyoon Jang [Tue, 3 Apr 2018 10:58:33 +0000 (19:58 +0900)]
Release version 0.12.14

Changes:
 - Fix a memory leak

Change-Id: Iecf42429fbfcf3cc10d78b7ca845bad5400f6924
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoFix a memory leak 94/174494/2
Sangyoon Jang [Mon, 2 Apr 2018 10:45:26 +0000 (19:45 +0900)]
Fix a memory leak

__BIND_TEXT macro cannot free local allocated variable.

Change-Id: Iaaa140efa0f14193bc40ddd33cd1a13aa8403cb6
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRelease version 0.12.13 72/173972/1 accepted/tizen/unified/20180330.060606 submit/tizen/20180327.085346
Junghyun Yeon [Tue, 27 Mar 2018 08:49:46 +0000 (17:49 +0900)]
Release version 0.12.13

Changes:
 - Add PMINFO_PKGINFO_PROP_PACKAGE_SYSTEM property

Change-Id: Ibc38a8719c9e3a77af65fd0a20a8cf1a29d5c85d
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoAdd PMINFO_PKGINFO_PROP_PACKAGE_SYSTEM property 23/170323/1
Junghyun Yeon [Mon, 19 Feb 2018 05:42:33 +0000 (14:42 +0900)]
Add PMINFO_PKGINFO_PROP_PACKAGE_SYSTEM property

Change-Id: I5ff9a9943c97e23f6efff8b0f5fb5ae026690cac
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoRelease version 0.12.12 49/169749/2 accepted/tizen/unified/20180219.142407 submit/tizen/20180209.043342
Sangyoon Jang [Fri, 9 Feb 2018 01:59:13 +0000 (10:59 +0900)]
Release version 0.12.12

Changes:
 - Fix static analyzer issue
 - Fix pkgmgrinfo_pkginfo_foreach_privilege
 - Remove unnecessary service options

Change-Id: I6776727ca94c594a49c5328993a533e6c7c82e4f
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRemove unnecessary service options 05/169605/2
Junghyun Yeon [Thu, 8 Feb 2018 01:36:50 +0000 (10:36 +0900)]
Remove unnecessary service options

- Recovery service should be executed before AMD and this is
  only constraint for recovery service.

Change-Id: I87a54689bf14cd25493e215a71631fb0fd8b1c26
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoFix pkgmgrinfo_pkginfo_foreach_privilege 72/169472/5
Sangyoon Jang [Wed, 7 Feb 2018 05:20:16 +0000 (14:20 +0900)]
Fix pkgmgrinfo_pkginfo_foreach_privilege

Iterate appdefined privilege together.

Change-Id: I2427ab8950c9b3874b9553bf2fcff28719d4b8e7
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoFix static analyzer issue 37/169237/1
Sangyoon Jang [Mon, 5 Feb 2018 06:21:34 +0000 (15:21 +0900)]
Fix static analyzer issue

Add null checking before strcmp().

Change-Id: I2ef5976034958b41f71c60b9c69dd5c26049a695
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRelease version 0.12.11 51/169051/1 accepted/tizen/unified/20180205.060457 submit/tizen/20180202.063742
Junghyun Yeon [Fri, 2 Feb 2018 05:01:48 +0000 (14:01 +0900)]
Release version 0.12.11

Changes:
 - Fix a memory leak

Change-Id: I26a1dec9206240bf8b1d1117e9615f2e10130f58
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoFix a memory leak 94/168394/1
Sangyoon Jang [Fri, 26 Jan 2018 07:47:43 +0000 (16:47 +0900)]
Fix a memory leak

Change-Id: Ib2f681bc7233cc1dede18351f95ef0a831615f47
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRelease version 0.12.10 93/168293/1 accepted/tizen/unified/20180126.042856 submit/tizen/20180125.122523
Hwankyu Jhun [Thu, 25 Jan 2018 11:01:48 +0000 (20:01 +0900)]
Release version 0.12.10

Changes:
 - Fix pkgmgrinfo_appinfo_foreach_appcontrol_privileges API

Change-Id: Ib526133b3ab9307d5aeb095f1f6e8d68801d3ea1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFix pkgmgrinfo_appinfo_foreach_appcontrol_privileges API 52/167852/5
Hwankyu Jhun [Tue, 23 Jan 2018 00:47:59 +0000 (09:47 +0900)]
Fix pkgmgrinfo_appinfo_foreach_appcontrol_privileges API

- Removes uri and mime parameters

Change-Id: I2fe782cc9831dc3e8cff2f88ec2e6963b71a6f72
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.12.9 84/167684/1 accepted/tizen/unified/20180123.061141 submit/tizen/20180119.081808
Junghyun Yeon [Fri, 19 Jan 2018 07:49:22 +0000 (16:49 +0900)]
Release version 0.12.9

Changes:
 - Close db when sqlite3_prepare_v2 is failed
 - Fix memory leak
 - Change free function for GSList

Change-Id: I06579d93f3b40538be4962b392298da45b8cd7ad
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoChange free function for GSList 09/167109/2
Seungha Son [Mon, 15 Jan 2018 10:57:05 +0000 (19:57 +0900)]
Change free function for GSList

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Ia4a369a88c1387058ec95e443d8cfeb89e362808

6 years agoFix memory leak 56/167156/2
Seungha Son [Tue, 16 Jan 2018 01:32:09 +0000 (10:32 +0900)]
Fix memory leak

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Ie70c36a8d56acb5b13b9ae7812a4c58f2d42a035

6 years agoClose db when sqlite3_prepare_v2 is failed 82/167082/1
Seungha Son [Mon, 15 Jan 2018 08:57:10 +0000 (17:57 +0900)]
Close db when sqlite3_prepare_v2 is failed

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I33dfb432425e6466a7f611c7c0a0965b5712bd26

6 years agoRelease version 0.12.8 68/164968/1 accepted/tizen/unified/20171228.065033 submit/tizen/20171222.073841
Junghyun Yeon [Fri, 22 Dec 2017 06:11:21 +0000 (15:11 +0900)]
Release version 0.12.8

Changes:
 - Fix static analyzer issues

Change-Id: I1a698d36183efe3cebdc02530dcb17395f45fd4d
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoFix static analyzer issues 91/163891/1
Sangyoon Jang [Thu, 14 Dec 2017 02:27:18 +0000 (11:27 +0900)]
Fix static analyzer issues

Fix to check return value.

Change-Id: Ib30045abd4bae40ff7585312b4402771ce2ee317
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRelease version 0.12.7 78/159078/1 accepted/tizen/unified/20171109.124933 submit/tizen/20171107.031828 submit/tizen/20171108.023404 submit/tizen/20171109.041728
Junghyun Yeon [Tue, 7 Nov 2017 01:54:51 +0000 (10:54 +0900)]
Release version 0.12.7

Changes:
 - Remove API prototype for getting setting icon

Change-Id: Ic0bce4fa2efc876d6108a67c5e322195f567a4f3
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoRemove API prototype for getting setting icon 08/157908/2
Junghyun Yeon [Fri, 27 Oct 2017 01:14:47 +0000 (10:14 +0900)]
Remove API prototype for getting setting icon

- It only exists in header until now but no one uses it.

Change-Id: I8c4af002faa262cdeb7e62fd169d40cad30eeda9
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoRelease version 0.12.6 05/156105/1 accepted/tizen/4.0/unified/20171018.060917 accepted/tizen/unified/20171018.062509 submit/tizen/20171017.074628 submit/tizen_4.0/20171017.080654 tizen_4.0.IoT.p2_release tizen_4.0.m2_release
Junghyun Yeon [Tue, 17 Oct 2017 06:54:44 +0000 (15:54 +0900)]
Release version 0.12.6

Changes:
 - Change behavior of trust-anchor

Change-Id: I70fa7a4eca3fc47bd747f6d112e5127ca0b62522
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoChange behavior of trust-anchor 84/149784/3
Junghyun Yeon [Wed, 13 Sep 2017 05:44:42 +0000 (14:44 +0900)]
Change behavior of trust-anchor

- Trust-anchor certificate file directory has fixed.
- Remove pkg-certs-dir attribute due to change of its concept.

Related changes:
[app-installers] : https://review.tizen.org/gerrit/149836
[wgt-backend] : https://review.tizen.org/gerrit/149978
[tpk-manifest-handlers] : https://review.tizen.org/gerrit/150060
[wgt-manifest-handlers] : https://review.tizen.org/gerrit/150136

Change-Id: I746853898e3206ccc00cd543d3c7ca90c473feca
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoRelease version 0.12.5 53/154953/1 accepted/tizen/4.0/unified/20171012.074531 accepted/tizen/unified/20171012.075117 submit/tizen/20171011.123741 submit/tizen_4.0/20171011.124331 tizen_4.0.IoT.p1_release
Sangyoon Jang [Wed, 11 Oct 2017 12:32:39 +0000 (21:32 +0900)]
Release version 0.12.5

Changes:
 - Define _GNU_SOURCE to use GNU-specific strerror_r
 - Fix memory leak
 - Fix static analyzer issues

Change-Id: I0d12ea54d203f175299cda76304c5c090c7bd85d
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoFix static analyzer issues 88/154488/4
Semun Lee [Tue, 10 Oct 2017 09:24:27 +0000 (18:24 +0900)]
Fix static analyzer issues

- fix resource leaks
- handle error case properly

Change-Id: Ibc1b47b0e61e2ca68ef653efbff2915afec442f2
Signed-off-by: Semun Lee <semun.lee@samsung.com>
6 years agoFix memory leak 30/154430/1
Sangyoon Jang [Tue, 10 Oct 2017 07:49:44 +0000 (16:49 +0900)]
Fix memory leak

Change-Id: I31809c353bdd3ec63cb79151b8018a1e0c30ad5f
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoDefine _GNU_SOURCE to use GNU-specific strerror_r 78/154278/1
Sangyoon Jang [Tue, 10 Oct 2017 04:12:45 +0000 (13:12 +0900)]
Define _GNU_SOURCE to use GNU-specific strerror_r

Change-Id: I316110482124224203cec1e6fcec3805d8e12d01
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRelease version 0.12.4 51/153451/1 accepted/tizen/4.0/unified/20170929.080335 accepted/tizen/unified/20170929.081709 submit/tizen/20170928.104306 submit/tizen_4.0/20170928.104840
Junghyun Yeon [Thu, 28 Sep 2017 10:53:09 +0000 (19:53 +0900)]
Release version 0.12.4

Changes:
 - Fix resource leak

Change-Id: Ibc1342029930b86af5cd890364d9d9e5931a1d8f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoFix resource leak 90/152490/1
Junghoon Park [Tue, 26 Sep 2017 08:10:40 +0000 (17:10 +0900)]
Fix resource leak

Change-Id: I35851682a958f42dfbf1492b4a424381f6b4ed87
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRelease version 0.12.3 80/148580/1 accepted/tizen/unified/20170911.155835 submit/tizen/20170908.075925
Junghyun Yeon [Fri, 8 Sep 2017 06:54:14 +0000 (15:54 +0900)]
Release version 0.12.3

Changes:
 - Fix wrong dlog message
 - Fix static analysis issue
 - Fix manifest xsd schema

Change-Id: I1dcfabf4d7c0bfa972a8936d16a36ee7bb8d105f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoFix manifest xsd schema 61/147861/3
Sangyoon Jang [Wed, 6 Sep 2017 02:38:10 +0000 (11:38 +0900)]
Fix manifest xsd schema

Remove unnecessary sequence indicator.

Change-Id: I43bfdf723ae58e1f7af0fd51c1c24eec0ff4a988
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoFix static analysis issue 17/147917/1
Junghyun Yeon [Wed, 6 Sep 2017 05:03:55 +0000 (14:03 +0900)]
Fix static analysis issue

Change-Id: I50a7403bbcc008999910d27ac7b8294e374ad374
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoFix wrong dlog message 11/146111/1
Sangyoon Jang [Fri, 25 Aug 2017 04:25:05 +0000 (13:25 +0900)]
Fix wrong dlog message

Change-Id: I767891cd9edfed260996a02466d586d374b874da
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRelease version 0.12.2 06/145306/1 accepted/tizen/4.0/unified/20170828.223919 accepted/tizen/unified/20170823.031653 submit/tizen/20170822.051313 submit/tizen_4.0/20170828.100002
Sangyoon Jang [Tue, 22 Aug 2017 05:05:27 +0000 (14:05 +0900)]
Release version 0.12.2

Changes:
 - Change mechanism of setting db version
 - Fix bug on adding disable filter for appinfo filter

Change-Id: I41db8fb7274f7b27db3335b66cd0c39d62419007
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoFix bug on adding disable filter for appinfo filter 78/144978/2
Semun Lee [Sun, 20 Aug 2017 01:50:20 +0000 (10:50 +0900)]
Fix bug on adding disable filter for appinfo filter

- Fixed misused pointer for storing enum value

Change-Id: Ic62e7513e4e99aa39b6c5027b26296233e94926f
Signed-off-by: Semun Lee <semun.lee@samsung.com>
6 years agoChange mechanism of setting db version 21/144521/4
Junghyun Yeon [Thu, 17 Aug 2017 05:44:02 +0000 (14:44 +0900)]
Change mechanism of setting db version

- Previously, DB version was defined at codes so
  scripts such as upgrade scripts cannot retrieve it for upgrade.
- So, create new file which stores db version and read it at runtime
  to let codes and script read it properly.

Change-Id: I3f643f421228026c38c8507c0af25928144a2ee7
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoRelease version 0.12.1 70/144870/1 accepted/tizen/unified/20170821.051150 submit/tizen/20170818.073144
Seungha Son [Fri, 18 Aug 2017 07:34:22 +0000 (16:34 +0900)]
Release version 0.12.1

Changes:
 - Set app_external_path when insert package info
 - Adjust extern "C"

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I659a5f46daf85de6c195029f6be71db9d9b91fa5

6 years agoAdjust extern "C" 40/144840/1
Seungha Son [Fri, 18 Aug 2017 06:24:32 +0000 (15:24 +0900)]
Adjust extern "C"

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I80a63ada6b0c381f83eee4e619494c2c0569faf1

6 years agoSet app_external_path when insert package info 82/144682/1
Sangyoon Jang [Thu, 17 Aug 2017 11:21:03 +0000 (20:21 +0900)]
Set app_external_path when insert package info

Change-Id: I8d9338c383edaa621d0ae2d29dbfd25792264648
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRelease version 0.12.0 95/143695/1 accepted/tizen/unified/20170816.160025 submit/tizen/20170811.063725
Sangyoon Jang [Fri, 11 Aug 2017 04:24:27 +0000 (13:24 +0900)]
Release version 0.12.0

Changes:
 - Add new feature to change app's icon
 - Fix some outdated sqlite query logic

Change-Id: I52f82505c25cdb19c07f5a4d4a399689a86bccc7
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoFix some outdated sqlite query logic 86/143186/8
Sangyoon Jang [Wed, 9 Aug 2017 03:09:26 +0000 (12:09 +0900)]
Fix some outdated sqlite query logic

Change-Id: I165099252ef082801a5d149cae8aad6de0bed535
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoAdd new feature to change app's icon 33/140333/3
jongmyeongko [Mon, 24 Jul 2017 13:11:42 +0000 (22:11 +0900)]
Add new feature to change app's icon

Change-Id: Iad572be3e54a3fa758b7653014ba4a400efa0a8b
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
6 years agoRelease version 0.11.0 82/142482/1 accepted/tizen/unified/20170807.150539 submit/tizen/20170804.060432
Junghyun Yeon [Fri, 4 Aug 2017 05:39:19 +0000 (14:39 +0900)]
Release version 0.11.0

Changes:
 - Implement trust anchor feature
 - Add extended storage type for update installed storage

Change-Id: I2519f611e36aac352a777c6b598311002f2e90c4
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoAdd extended storage type for update installed storage 63/141363/3
Sangyoon Jang [Mon, 31 Jul 2017 06:53:17 +0000 (15:53 +0900)]
Add extended storage type for update installed storage

Change-Id: I39af4c45fe53bdbbd0324c23783839b12089379b
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoAdd codes for trust anchor 17/136317/16
Junghyun Yeon [Thu, 29 Jun 2017 05:14:56 +0000 (14:14 +0900)]
Add codes for trust anchor

- Add trust-anchor related variables in manifest structure
- Add realted info in xsd files

Related changes:
[tpk-manifest-handlers] : https://review.tizen.org/gerrit/136315
[app-installers] : https://review.tizen.org/gerrit/136316
[wgt-backend] : https://review.tizen.org/gerrit/136858
[wgt-manifest-handlers] : https://review.tizen.org/gerrit/136866
[tpk-backend] : https://review.tizen.org/gerrit/137370

Change-Id: Ia5ca75479095c573c89242df3cee9c92496232c1
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoRelease version 0.10.0 89/141589/1 accepted/tizen/4.0/unified/20170816.012557 accepted/tizen/4.0/unified/20170816.015345 accepted/tizen/unified/20170803.010436 submit/tizen/20170801.062239 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
Sangyoon Jang [Tue, 1 Aug 2017 05:38:26 +0000 (14:38 +0900)]
Release version 0.10.0

Changes:
 - Add appdefined privilege feature

Change-Id: I2340f8b6e323b1e0994a18d14cd3bd3d115d49db
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoAdd appdefined privilege feature 68/137368/16
jongmyeongko [Wed, 5 Jul 2017 10:39:47 +0000 (19:39 +0900)]
Add appdefined privilege feature

Change-Id: I4d7a285919873b9e7aa8af53d316503f19626727
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
6 years agoRelease version 0.9.0 56/139956/1 accepted/tizen/unified/20170724.020231 submit/tizen/20170721.041626
Sangyoon Jang [Fri, 21 Jul 2017 06:43:06 +0000 (15:43 +0900)]
Release version 0.9.0

Changes:
 - Adjust some log levels
 - Fix a static analysis issue
 - Fix misusing of strncat
 - Add a new installed storage type

Change-Id: I1beb7cd8610127c1f932f11721f20a61344022b4
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoAdd a new installed storage type 26/135926/6
Sangyoon Jang [Tue, 27 Jun 2017 10:12:16 +0000 (19:12 +0900)]
Add a new installed storage type

Change-Id: I5083b9e7d541d3e726bcb0b00d5ca1c5b911f5d1
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoFix misusing of strncat 09/139609/4
Sangyoon Jang [Wed, 19 Jul 2017 12:36:30 +0000 (21:36 +0900)]
Fix misusing of strncat

Change-Id: Id7f80647efc65d4e989837a455770784176ed45d
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoFix a static analysis issue 67/139667/1
Sangyoon Jang [Thu, 20 Jul 2017 05:07:12 +0000 (14:07 +0900)]
Fix a static analysis issue

Change-Id: I4899846c02c4e9556328e15d4097199135a1819b
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoAdjust some log levels 56/139256/1
Sangyoon Jang [Tue, 18 Jul 2017 06:17:25 +0000 (15:17 +0900)]
Adjust some log levels

Change-Id: I92217b093c9c7151291a3e2400f2c459b99f3699
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRelease version 0.8.1 00/139200/1 accepted/tizen/unified/20170719.131647 submit/tizen/20170718.044232
Junghyun Yeon [Tue, 18 Jul 2017 02:27:11 +0000 (11:27 +0900)]
Release version 0.8.1

Changes:
 - Remove unused db table and api
 - Change codes to enable getting disable pkg's appinfo
 - Change pkg db version policy
 - Fix pkg updateinfo

Change-Id: Ib9e6e23ecad8304814c0c2f4d279db9c783ef9fa
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoFix pkg updateinfo 16/139016/4
Junghyun Yeon [Mon, 17 Jul 2017 02:21:10 +0000 (11:21 +0900)]
Fix pkg updateinfo

- Remove false initialization
- Add NULL initialization at gslist
- Change adding new updateinof into list from append to prepend
  for performance

Change-Id: I7823fb892646b5b32118943ae271c7f6abb871a8
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoChange pkg db version policy 56/137556/3
Junghyun Yeon [Thu, 6 Jul 2017 10:07:22 +0000 (19:07 +0900)]
Change pkg db version policy

- change db policy to use static integer

Change-Id: I84ac40030be56d75c953003a85303669a3b48e0f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoChange codes to enable getting disable pkg's appinfo 39/138139/8
Junghyun Yeon [Tue, 11 Jul 2017 06:52:18 +0000 (15:52 +0900)]
Change codes to enable getting disable pkg's appinfo

- Add app filter to let allow user to set pkg disable flag
- Change implementation of
  pkgmgrinfo_appinfo_usr_filter_count
  pkgmgrinfo_appinfo_filter_foreach_appinfo
  to add pkg and app disable filter automatically when it doesn't exists.

Change-Id: I43afd56a17276d26a90f260e43e4df6fe8fa3aa8
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoRemove unused db table and api 44/130944/9
Sangyoon Jang [Wed, 24 May 2017 11:35:49 +0000 (20:35 +0900)]
Remove unused db table and api

Removed tables:
 - package_app_icon_section_info
 - package_app_image_info
 - package_app_app_permission
 - package_app_share_allowed
 - package_app_share_request

Removed api:
 - pkgmgrinfo_appinfo_get_setting_icon
 - pkgmgrinfo_appinfo_foreach_permission

Change-Id: I76f7cbbe2bff72313115348e17f21664cb61501d
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRelease version 0.8.0 24/137624/1 accepted/tizen/unified/20170710.154514 submit/tizen/20170707.024819 submit/tizen/20170710.010836
Sangyoon Jang [Fri, 7 Jul 2017 02:05:12 +0000 (11:05 +0900)]
Release version 0.8.0

Changes:
 - Use list of string for datacontrol privilege
 - Add privileges for app_control

Change-Id: I695911b138a51b54a8a168b82abbe6f4c6bd64ba
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoAdd privileges for app_control 60/135960/10
Sangyoon Jang [Tue, 27 Jun 2017 13:09:39 +0000 (22:09 +0900)]
Add privileges for app_control

- New db table for privileges of app_control:
 package_app_app_control_privilege

- New api for getting privileges of app_control:
 pkgmgrinfo_appinfo_usr_foreach_appcontrol_privileges
 pkgmgrinfo_appinfo_foreach_appcontrol_privileges

Change-Id: If50052f00b83e400adaf5aec80801f2d381a8f16
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoUse list of string for datacontrol privilege 28/137528/1
Sangyoon Jang [Thu, 6 Jul 2017 06:40:46 +0000 (15:40 +0900)]
Use list of string for datacontrol privilege

Use list of string instead of privilege_x structure.
The privilege of datacontrol does not use privilege type.

Change-Id: Ia85d7b397ea13a193fc47d2cda32acf29925152d
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRelease version 0.7.1 78/137378/1 submit/tizen/20170705.114632
jongmyeongko [Wed, 5 Jul 2017 11:26:03 +0000 (20:26 +0900)]
Release version 0.7.1

Changes :
 - Print dbpath at error log when failed to open db
 - Fix pkgmgrinfo_appinfo_get_label

Change-Id: I44433d9393fb1114df9fd2401de757ca282b5398
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
6 years agoPrint dbpath at error log when failed to open db 95/137095/2
Sangyoon Jang [Tue, 4 Jul 2017 10:11:25 +0000 (19:11 +0900)]
Print dbpath at error log when failed to open db

Change-Id: Idb56b6c4081eee9a7c0db8f3ffbc25efbd8256d5
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoFix pkgmgrinfo_appinfo_get_label 90/137090/3
Sangyoon Jang [Tue, 4 Jul 2017 09:59:44 +0000 (18:59 +0900)]
Fix pkgmgrinfo_appinfo_get_label

- Search same localed label text.
- Return empty string if not found.

Change-Id: Ib039d30c4ce605cccd4581645cafc98945a59aed
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRelease version 0.7.0 75/132575/2 accepted/tizen/unified/20170609.204208 submit/tizen/20170609.050739
Inkyun Kil [Wed, 7 Jun 2017 03:51:04 +0000 (12:51 +0900)]
Release version 0.7.0

Changes :
- Add apis for datacontrol privileges info
- Change the default value of app_splash_screen_display

Change-Id: I29b84682607f6be096c4c4fa74bd547f85a5689d
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoChange the default value of app_splash_screen_display 51/132351/1
jongmyeongko [Fri, 2 Jun 2017 10:52:38 +0000 (19:52 +0900)]
Change the default value of app_splash_screen_display

Currenty, in case of webapps, they can't use the waiting screen feature.
And, for this feature, app_slash_screen_display should be 'true'.
Original design intent is default 'true' if there is no definitions in manifest.

Change-Id: I9ded13d68c87a20d2290eed56bb61b7dc5699d37
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
6 years agoAdd apis for datacontrol privileges info 10/129210/19
Inkyun Kil [Mon, 15 May 2017 11:27:13 +0000 (20:27 +0900)]
Add apis for datacontrol privileges info

- pkgmgrinfo_appinfo_usr_foreach_datacontrol_privileges
- pkgmgrinfo_appinfo_foreach_datacontrol_privileges

- Related patches
  [tpk-manifest-handler] https://review.tizen.org/gerrit/#/c/129211/
  [app-installers] https://review.tizen.org/gerrit/#/c/129212/
  [data-control] https://review.tizen.org/gerrit/#/c/129882/
  [amd] https://review.tizen.org/gerrit/#/c/129881/
  [aul-1] https://review.tizen.org/gerrit/#/c/129880/

Change-Id: I34765868c4ad43d9c6aa94827fdb2396de8cf48e
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoRelease version 0.6.3 21/132021/1 accepted/tizen/unified/20170607.063236 submit/tizen/20170531.235759
Junghyun Yeon [Thu, 1 Jun 2017 00:23:34 +0000 (09:23 +0900)]
Release version 0.6.3

Changes:
 - Fix to check invalid parameter properly
 - Change codes for performance
 - Fix to work app info for uid properly
 - Change the timing of adding sqlite busy handler

Change-Id: Ie165639a0fbd7bcb202e2d15739908fdd95596ac
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoChange the timing of adding sqlite busy handler 30/129930/3
jongmyeongko [Thu, 18 May 2017 10:56:16 +0000 (19:56 +0900)]
Change the timing of adding sqlite busy handler

Earlier execution of sqlite_exec can be failed becase of
db lock when two different type packages are installed at the same time.

Change-Id: I8c53f68f7b1ee984b70573bdd441e66edcecc9d6
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
6 years agoFix to work app info for uid properly 94/130894/3
Junghyun Yeon [Wed, 24 May 2017 09:05:21 +0000 (18:05 +0900)]
Fix to work app info for uid properly

- Change uid to global user's to set appinfo for uid properly
- Change trigger to work on insert event only

Change-Id: Id713b52fa4797c0d0b3bd4e56fd80c8d4cf08192
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoChange codes for performance 39/129139/14
Junghyun Yeon [Mon, 15 May 2017 06:55:11 +0000 (15:55 +0900)]
Change codes for performance

- Make frequently called function as inline
- Store global uid internally
- Don't get unnecessary columns
- Remove unnecessary duplication checking routine

Change-Id: I763852d1131465efe3fdc558ae257d4429ba3ba5
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoFix to check invalid parameter properly 12/130312/1
Sangyoon Jang [Mon, 22 May 2017 01:32:44 +0000 (10:32 +0900)]
Fix to check invalid parameter properly

Change-Id: I8343876c9c10487b980ec15a68767e10f8a9e87a
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
6 years agoRelease version 0.6.2 50/129050/1 accepted/tizen/unified/20170512.170329 submit/tizen/20170512.125223 tizen_4.0.m1_release
jongmyeongko [Fri, 12 May 2017 12:48:51 +0000 (21:48 +0900)]
Release version 0.6.2

Changes:
 - Add missing codes for pkg update info
 - Fix wrong logic comparing mainapp

Change-Id: I04faa48cfb5505584ce89330ef270d549bec7554
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
6 years agoFix wrong logic comparing mainapp 41/129041/1
jongmyeongko [Fri, 12 May 2017 12:23:48 +0000 (21:23 +0900)]
Fix wrong logic comparing mainapp

Change-Id: I9675c2df495d2ac73ff9cfdf811cef6a49a8a917
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
6 years agoAdd missing codes for pkg update info 83/128183/5
Junghyun Yeon [Mon, 8 May 2017 03:50:28 +0000 (12:50 +0900)]
Add missing codes for pkg update info

- Add query for package_update_info table into query list to
create it automatically
- Add functions to insert update info while install pkg

Change-Id: I5fc247999a75f9aa3dcd41e79981efe230b3d3c5
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoRelease version 0.6.1 20/128820/1 accepted/tizen/unified/20170512.023730 submit/tizen/20170511.114728
Sangyoon Jang [Thu, 11 May 2017 12:02:16 +0000 (21:02 +0900)]
Release version 0.6.1

Changes:
 - Fix a vulnerable query from sql injection
 - Set default value for launch_mode

Change-Id: I608b5fb5c6836620adda3d3fde6f0afe8cbfba16
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
6 years agoSet default value for launch_mode 14/128814/1
Sangyoon Jang [Thu, 11 May 2017 11:38:08 +0000 (20:38 +0900)]
Set default value for launch_mode

Change-Id: Ia2b47d98c5ad79767ddeb5d592a22c4cf78da495
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
6 years agoFix a vulnerable query from sql injection 76/128776/1
Sangyoon Jang [Thu, 11 May 2017 09:55:29 +0000 (18:55 +0900)]
Fix a vulnerable query from sql injection

Change-Id: Iae26050885188d4335f0500d118363e9bb68a9c9
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
6 years agoRelease version 0.6.0 94/128494/2 accepted/tizen/unified/20170510.183503 submit/tizen/20170510.080314
Sangyoon Jang [Wed, 10 May 2017 07:59:22 +0000 (16:59 +0900)]
Release version 0.6.0

Changes:
 - Implement pkgmgrinfo_archiveinfo features
 - Add missing code of insertion package privileges info into db

Change-Id: I8eaf306566fad4aaa93ab968552cb96df02c057f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
6 years agoFix build warnings 89/128489/1
Sangyoon Jang [Wed, 10 May 2017 07:52:45 +0000 (16:52 +0900)]
Fix build warnings

Change-Id: Ia73bbd58f8b4e88d974bc483f898e8da4bfd25f9
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
6 years agoInsertion package privileges info to db 51/128351/2
Bartlomiej Kunikowski [Tue, 9 May 2017 10:11:42 +0000 (12:11 +0200)]
Insertion package privileges info to db

After refactoring there was any code responsible for
adding package privileges info to database. This patch
add required code.

Change-Id: I874fca516ca85fe5945da56295db30f188f4aaa6
Signed-off-by: Bartlomiej Kunikowski <b.kunikowski@partner.samsung.com>
6 years agoFix wrong condition checking 26/127626/1
Sangyoon Jang [Fri, 28 Apr 2017 06:00:29 +0000 (15:00 +0900)]
Fix wrong condition checking

Change-Id: I7032b82c9ca82efca7362ca77cbf153db55075ed
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
6 years agoImplement pkgmgrinfo_archiveinfo features 58/125158/14
Sangyoon Jang [Tue, 11 Apr 2017 05:05:57 +0000 (14:05 +0900)]
Implement pkgmgrinfo_archiveinfo features

These features are came from slp-pkgmgr repository.

Change-Id: Ibcfc2f7188ae0e662c8988f58910c8d5fec1aed7
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
6 years agoRelease version 0.5.0 13/126913/2 accepted/tizen/unified/20170429.023559 submit/tizen/20170425.040634 submit/tizen/20170427.133942
Junghyun Yeon [Tue, 25 Apr 2017 08:52:41 +0000 (17:52 +0900)]
Release version 0.5.0

Changes:
 - Rework db insertion code
 - Fix static analysis issue

Change-Id: Ia8a6c7b217b54e79171e58af5459c44b927857fc
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoFix static analysis issue 09/126709/2
Junghyun Yeon [Tue, 25 Apr 2017 01:45:31 +0000 (10:45 +0900)]
Fix static analysis issue

Change-Id: I880b10644b72d6cf8890d60f0c338406a49d2c3f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoRework db insertion code 46/113946/29
Sangyoon Jang [Thu, 9 Feb 2017 06:40:57 +0000 (15:40 +0900)]
Rework db insertion code

- Use prepared statement instead of using sqlite3_exec
- Use local db handle
- Turn on foreign key feature always
- Fix code style
- Remove unused code

Inserting app icon section, app image, app permission,
app share allowed, app share request are removed.

Change-Id: I4eedca163fca140c3f03d1a93356790a28ebe941
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
6 years agoRelease version 0.4.0 13/126313/1 accepted/tizen/unified/20170421.114037 submit/tizen/20170421.005321
Junghyun Yeon [Fri, 21 Apr 2017 02:11:14 +0000 (11:11 +0900)]
Release version 0.4.0

Changes:
- Fix static analysis issue
- Add API for datacontrol trusted info
- Fix build warnings
- Add pkg update info features

Change-Id: Ie6ee070145a3f19c72ad8e6208b5d91ace7e9e2e
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoAdd include for update info handle 99/126299/1
Junghyun Yeon [Fri, 21 Apr 2017 01:49:15 +0000 (10:49 +0900)]
Add include for update info handle

Change-Id: Ie842e9109566822a80fa45f63fb8e522017dd533
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoAdd pkg update info features 64/121964/23
Junghyun Yeon [Wed, 29 Mar 2017 12:52:35 +0000 (21:52 +0900)]
Add pkg update info features

- Provides methods to register, unregister, get update info of certain pkg
- Provides methods to clear update infos of all pkgs including global pkgs
  whether caller is admin user or not.

Related changes:
[pkgmgr-server] : https://review.tizen.org/gerrit/122067
[slp-pkgmgr] : https://review.tizen.org/gerrit/122068

Change-Id: I70c55bf1ed8878a2ec254e79752d9863daef5511
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoFix build warnings 40/125840/1
Sangyoon Jang [Wed, 19 Apr 2017 05:39:09 +0000 (14:39 +0900)]
Fix build warnings

- Use readdir instead of readdir_r
  (readdir_r is now deprecated at gcc6)
- Fix wrong indentation

Change-Id: I7716823c5ecfdf001dd70bd77131ba05c1439ae6
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
6 years agoAdd api for datacontrol trusted info 00/124100/6
Jiwoong Im [Mon, 10 Apr 2017 06:50:58 +0000 (15:50 +0900)]
Add api for datacontrol trusted info

- pkgmgrinfo_appinfo_get_datacontrol_trusted_info
  pkgmgrinfo_appinfo_usr_get_datacontrol_trusted_info

- Related patches
  [data-control] https://review.tizen.org/gerrit/#/c/124099/
  [tpk-manifest-handler] https://review.tizen.org/gerrit/#/c/124101/
  [app-installer] https://review.tizen.org/gerrit/#/c/124102/

Change-Id: I4c3aea46fbead87e4db357b5958b56c3a1fc7106
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
6 years agoFix a issue of static analysis 64/125564/3
Sangyoon Jang [Tue, 18 Apr 2017 04:51:02 +0000 (13:51 +0900)]
Fix a issue of static analysis

Change-Id: I386ddff7fd06752e43191c96b6931d55157c9fd7
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoRelease version 0.3.5 03/125703/1 accepted/tizen/unified/20170419.164243 submit/tizen/20170419.014756
Junghyun Yeon [Tue, 18 Apr 2017 11:55:25 +0000 (20:55 +0900)]
Release version 0.3.5

Changes:
- Fix wrong size calculation of using strncat
- Fix bug regarding category data

Change-Id: Ic7ba4df51edaec908eb483909225faec41dcecb3
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoFix a bug regarding category data 06/125506/1
jongmyeongko [Mon, 17 Apr 2017 11:13:59 +0000 (20:13 +0900)]
Fix a bug regarding category data

Because strtok() modifies the original data,
the second query for global db is affected.
this causes unexpected result of multiple categroy filtering.

Change-Id: I72595fe9d254c36bbb433ff035aa07d10fd34177
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
(cherry picked from commit 56992a61025d8c50ec59e57b550d6f3215857164)

7 years agoFix wrong size calculation of using strncat 81/124281/1
Sangyoon Jang [Tue, 11 Apr 2017 05:08:09 +0000 (14:08 +0900)]
Fix wrong size calculation of using strncat

Change-Id: I28edc4f1d1011d4ff89448998917a099b671deb6
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoRelease version 0.3.4 98/123798/1 accepted/tizen/unified/20170407.190443 submit/tizen/20170407.042402
Sangyoon Jang [Fri, 7 Apr 2017 04:56:36 +0000 (13:56 +0900)]
Release version 0.3.4

Changes:
 - Fix static analyzer issues

Change-Id: Ib13333d116b42267f0bb7ed1cf5ed7f7d4da2ee7
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>