platform/core/appfw/pkgmgr-info.git
5 years agoFix spelling 09/205909/1
Ilho Kim [Fri, 10 May 2019 08:13:55 +0000 (17:13 +0900)]
Fix spelling

Change-Id: I775c8e49515532d0ec7aa5087b81d4dc81a50a08
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
5 years agoRelease version 0.16.1 31/203631/1 accepted/tizen/unified/20190419.110525 submit/tizen/20190416.100651 submit/tizen/20190418.021839 submit/tizen/20190418.055722
Junghyun Yeon [Tue, 16 Apr 2019 08:56:12 +0000 (17:56 +0900)]
Release version 0.16.1

Changes:
 - Set default support-mode to 0
 - Add missing annotation for describing added APIs
 - Store each api-version of application
 - Adjust component-based application information
 - Check write lock only when db is busy
 - Modify db recovery service file

Change-Id: I3a2a9ef7dfc0123fadfd92fd26d4fb75d88bca52
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoModify db recovery service file 92/201792/10
Junghyun Yeon [Tue, 19 Mar 2019 11:52:57 +0000 (20:52 +0900)]
Modify db recovery service file

- It should be executed only once.

Change-Id: Ia55563832faf0a50d230f908ccfaa9d7661b698d
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoCheck write lock only when db is busy 26/203426/4
Sangyoon Jang [Fri, 12 Apr 2019 10:49:59 +0000 (19:49 +0900)]
Check write lock only when db is busy

Change-Id: I6f1048a7fc256223b87bda16d2454e3de84d25f4
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoAdjust component-based application information 18/203118/3
Hwankyu Jhun [Wed, 10 Apr 2019 05:45:17 +0000 (14:45 +0900)]
Adjust component-based application information

The component info table is removed.
The app-control, category, data-control and splash-screens elements
are added.

Change-Id: I93a70109fc848ecb44cd4b77b732bf43dbdd4efa
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoStore each api-version of application 48/200048/5
Sangyoon Jang [Mon, 18 Feb 2019 02:42:19 +0000 (11:42 +0900)]
Store each api-version of application

Change-Id: I00b2b88e6b3c126c0f157ef5d39a75b9a6d079bc
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoAdd missing annotation for describing added APIs 99/202199/6
ilho [Tue, 26 Mar 2019 04:37:30 +0000 (13:37 +0900)]
Add missing annotation for describing added APIs

Change-Id: I13b4ab882a0c6f0028dbf2b633839521f1490152
Signed-off-by: ilho <ilho159.kim@samsung.com>
5 years agoSet default support-mode to 0 58/202258/2
Junghyun Yeon [Tue, 26 Mar 2019 10:19:47 +0000 (19:19 +0900)]
Set default support-mode to 0

Add default value for support-mode for wgt packages.

Change-Id: I534f9dd17a520901e0f0631c42dddb94af4ca465
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoRelease version 0.16.0 63/201963/1 accepted/tizen/unified/20190322.075508 submit/tizen/20190321.084911
Sangyoon Jang [Thu, 21 Mar 2019 08:43:03 +0000 (17:43 +0900)]
Release version 0.16.0

Changes:
 - Fix spelling
 - Add manifest scheme of package dependency
 - Fix dependency info callback signature and API name
 - Fix a bug when retrieving package dependency info

Change-Id: Ie9eab16e4e39448a3ba8b7820c46f9168dce7c57
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoFix a bug when retrieving package dependency info 70/201770/1
Sangyoon Jang [Tue, 19 Mar 2019 08:40:43 +0000 (17:40 +0900)]
Fix a bug when retrieving package dependency info

Change-Id: I05e53fd8d9ef32dc0049304b824ed1688771202b
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoFix dependency info callback signature and API name 98/201198/7
Sangyoon Jang [Mon, 11 Mar 2019 08:31:31 +0000 (17:31 +0900)]
Fix dependency info callback signature and API name

- Pass both pkgid of dependency info.
- API name changed to pkgmgrinfo_pkginfo_foreach_depends_on

Change-Id: Iea3a8e1694f352a4357bc1e18bfb8b2d1e7eb056
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoAdd manifest scheme of package dependency 64/201164/5
Sangyoon Jang [Mon, 11 Mar 2019 04:49:50 +0000 (13:49 +0900)]
Add manifest scheme of package dependency

Change-Id: Ibf9870d3a7a6bf556376514093cce74d64b3bc5d
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoFix spelling 93/201593/1
ilho [Mon, 18 Mar 2019 05:18:04 +0000 (14:18 +0900)]
Fix spelling

Change-Id: I0e97e86c38c6c126b718b306144f124c38ff617f
Signed-off-by: ilho <ilho159.kim@samsung.com>
5 years agoRelease version 0.15.0 92/201492/1 accepted/tizen/unified/20190318.150649 submit/tizen/20190315.084013
Hwankyu Jhun [Fri, 15 Mar 2019 03:03:53 +0000 (12:03 +0900)]
Release version 0.15.0

Changes:
 - Add package dependency attribute
 - Update db version as 30004
 - Change codes to let initdb could have deferred lock
 - Implement pkgmgr plugin execution info
 - Add new elements for component-based application
 - Supplement db recovery tool

Change-Id: I4b57139f5e31b378ecb4f4b6f0e250ed0e611a38
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoMerge "Add new elements for component-based application" into tizen
HwanKyu Jhun [Fri, 15 Mar 2019 03:03:02 +0000 (03:03 +0000)]
Merge "Add new elements for component-based application" into tizen

5 years agoSupplement db recovery tool 94/200694/5
Junghyun Yeon [Thu, 28 Feb 2019 08:25:01 +0000 (17:25 +0900)]
Supplement db recovery tool

- Change printf to dlog.
- Add busy handler to prevent drop db when failed to check integrity check.

Change-Id: Ida824ae32e2a55b7ad17cac3e95f9063ec0f6748
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoAdd new elements for component-based application 68/200568/19
Hwankyu Jhun [Wed, 27 Feb 2019 01:25:45 +0000 (10:25 +0900)]
Add new elements for component-based application

Requires:
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/pkgmgr-info/+/200568/
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/tpk-manifest-handlers/+/200669/
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/200691/
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/amd/+/200773/

Change-Id: Ib4b45d27948f48f74274f8346c624ac6710e7b42
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoImplement pkgmgr plugin execution info 20/195920/16
Junghyun Yeon [Thu, 13 Dec 2018 10:10:17 +0000 (19:10 +0900)]
Implement pkgmgr plugin execution info

Change-Id: I091818b5e368542a5e44d6a61d58ef6cd5d9dee0
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoChange codes to let initdb could have deferred lock 69/200469/2
Junghyun Yeon [Mon, 25 Feb 2019 11:42:57 +0000 (20:42 +0900)]
Change codes to let initdb could have deferred lock

- Use deffered lock when initialize db to create table
  more fast when other processes try to get pkg dbinfo.

Change-Id: I1deecc0c4d9e63bcca40277fe560cec2aa948492
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoUpdate db version as 30004 07/199507/1
Sangyoon Jang [Tue, 12 Feb 2019 08:01:47 +0000 (17:01 +0900)]
Update db version as 30004

Version 30004 includes package dependency feature.

Change-Id: Ib5b20497b3ae79a09277c0a1bf0d05ed943e16de
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoAdd package dependency attribute 34/197434/10
Sangyoon Jang [Thu, 3 Jan 2019 04:57:09 +0000 (13:57 +0900)]
Add package dependency attribute

Change-Id: I5cd2dc375e7ff4e070ce9f4292c0368a7ed16a4f
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoRelease version 0.14.1 99/198099/1 accepted/tizen/unified/20190128.061311 submit/tizen/20190121.002257
Hwankyu Jhun [Mon, 21 Jan 2019 00:02:30 +0000 (09:02 +0900)]
Release version 0.14.1

Changes:
 - Fix get app control info query

Change-Id: Ifd18d3e903b68d46f63e5045c2c78967e47e960e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoFix get app control info query 92/197792/2
ilho [Wed, 16 Jan 2019 10:46:25 +0000 (19:46 +0900)]
Fix get app control info query

Change-Id: I2584f1719d2d333db30f8460230f72700fef5ac7
Signed-off-by: ilho <ilho159.kim@samsung.com>
5 years agoRelease version 0.14.0 accepted/tizen/unified/20190117.151829 submit/tizen/20190116.052201 submit/tizen/20190117.001629
Hwankyu Jhun [Mon, 14 Jan 2019 02:16:08 +0000 (11:16 +0900)]
Release version 0.14.0

Changes:
 - Add attribute 'id' on app-control element

Change-Id: Id3be17ec6ed97022e3bbdd6cb14a47dba927148a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoAdd attribute 'id' on app-control element 87/196887/6
Hwankyu Jhun [Mon, 7 Jan 2019 09:41:34 +0000 (18:41 +0900)]
Add attribute 'id' on app-control element

Change-Id: I3a44c4610e8831e3597a7d9b511f5e060dfbed88
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.13.7 02/196402/1
Junghyun Yeon [Fri, 28 Dec 2018 04:38:58 +0000 (13:38 +0900)]
Release version 0.13.7

Changes:
 - Fix possible issues for pkgmgr-info

Change-Id: I2a5b87c5105a4dc67a878c9170528b42eb589104
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoChange codes for db lock issue 79/196379/1
Junghyun Yeon [Fri, 28 Dec 2018 02:13:51 +0000 (11:13 +0900)]
Change codes for db lock issue

- SQLite connection will be disconnected before cleanup operation.
- Adjust busy timer to 5 sec to prevent db lock issue.

Change-Id: If139d988819e28bd1b1ed733541491ea09ff5be8
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoAdd busy handler when initializing pkg db 47/195247/1
Junghyun Yeon [Wed, 12 Dec 2018 02:21:03 +0000 (11:21 +0900)]
Add busy handler when initializing pkg db

- Continuous db read query could cause db lock when initializing db
  such as db recovery, etc.

Change-Id: I9c4b375fe95339b1ae23f57a39ad08d8fcc67901
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoRelease version 0.13.6 23/195123/1
Junghyun Yeon [Tue, 11 Dec 2018 02:59:10 +0000 (11:59 +0900)]
Release version 0.13.6

Changes:
 - Fix possible issues for pkgmgr-info

Change-Id: Idad8956fa2a88eb64cc02795ad38ae359a1b2676
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoFix possible issues for pkgmgr-info 45/194845/3
Junghyun Yeon [Fri, 7 Dec 2018 10:27:15 +0000 (19:27 +0900)]
Fix possible issues for pkgmgr-info

- Change order of releasing resources according to SQLite recommendation.
- Change methods of lock from exclusive to deferred.
  This will allow processes to access db while modifying db
  except actual transaction.

Change-Id: I441d6c14b6b503f6f2b8599240efdfed36b6a617
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoRelease version 0.13.5 41/189141/1 accepted/tizen/5.0/unified/20181102.014118 accepted/tizen/unified/20180914.143048 submit/tizen/20180914.014038 submit/tizen_5.0/20181101.000002
Sangyoon Jang [Fri, 14 Sep 2018 01:36:58 +0000 (10:36 +0900)]
Release version 0.13.5

Changes:
 - Add checking processes which hold db lock
 - Add sending wakeup wakeup signal to resourced
 - Remove dependency from db-util

Change-Id: Ie9dcecddf76cc4cb565675a950caf677691758c0
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRemove dependency from db-util 66/188966/2
Sangyoon Jang [Wed, 12 Sep 2018 06:16:38 +0000 (15:16 +0900)]
Remove dependency from db-util

Change-Id: I853f6c0c2ca6edb3a4ccaa1cacab17ec93368c83
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoAdd sending wakeup wakeup signal to resourced 58/188858/5
Sangyoon Jang [Tue, 11 Sep 2018 03:09:48 +0000 (12:09 +0900)]
Add sending wakeup wakeup signal to resourced

When some process get freezed with holding pkgmgr db lock,
installer cannot install package properly.

Change-Id: I21785093cfdf065fab8f13c150e4228f3ee0ecec
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoAdd checking processes which hold db lock 82/188782/8
Sangyoon Jang [Mon, 10 Sep 2018 08:17:37 +0000 (17:17 +0900)]
Add checking processes which hold db lock

Change-Id: I0ffbbfa83c57c127fd3c447a4270ab5ce58a6b5b
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRelease version 0.13.4 68/186768/1 accepted/tizen/unified/20180816.062945 submit/tizen/20180814.083738
Junghyun Yeon [Tue, 14 Aug 2018 07:41:00 +0000 (16:41 +0900)]
Release version 0.13.4

Changes:
 - Add checking return value of stat()
 - Remove unnecessary User/Group settings from pkg-db-recovery.service

Change-Id: Ia9f7b5059bca9379bda5974e97873d7db7c8fa30
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoRemove unnecessary User/Group settings from pkg-db-recovery.service 09/186309/1
INSUN PYO [Thu, 9 Aug 2018 01:26:18 +0000 (10:26 +0900)]
Remove unnecessary User/Group settings from pkg-db-recovery.service

Default User/Group is root.

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: Ifc63fe8e95f888e84de3a46e270a5f8a1250f789

6 years agoAdd checking return value of stat() 57/185357/1
Semun Lee [Mon, 30 Jul 2018 01:24:25 +0000 (10:24 +0900)]
Add checking return value of stat()

Change-Id: I36c4233a17db4b8f28c9a39dc4ddebafed6aa8ff
Signed-off-by: Semun Lee <semun.lee@samsung.com>
6 years agoRelease version 0.13.3 62/184462/1 accepted/tizen/unified/20180719.063015 submit/tizen/20180718.064806
Junghyun Yeon [Wed, 18 Jul 2018 05:45:37 +0000 (14:45 +0900)]
Release version 0.13.3

Changes:
 - Supplement db recovery tool

Change-Id: I43b7f02c23d4277eec38eaeb075b77c19b96195f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoSupplement db recovery tool 78/181778/15
Junghyun Yeon [Mon, 18 Jun 2018 08:12:14 +0000 (17:12 +0900)]
Supplement db recovery tool

- Recovery tool now checks db status with integrity_check command.
- When tool detects corruption, invoke pkg_initdb to restore it.

Related changes:
[app-installers] : https://review.tizen.org/gerrit/182176
[tpk-backend] : https://review.tizen.org/gerrit/182177

Change-Id: Ide052f512d0e052fe871d7c61d1fd29bf5b33cdc
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoRelease version 0.13.2 69/182169/2 accepted/tizen/unified/20180627.070024 submit/tizen/20180626.064201
Sangyoon Jang [Thu, 21 Jun 2018 05:21:07 +0000 (14:21 +0900)]
Release version 0.13.2

Changes:
 - Add privilege filter for app info
 - Remove unnecessary function
 - Adjust busy handler timer as 2 seconds

Change-Id: Ibdba442e129cc694b9b82c47fe2f09e67bcfc2cc
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoAdjust busy handler timer as 2 seconds 57/180757/2
Sangyoon Jang [Mon, 4 Jun 2018 01:55:01 +0000 (10:55 +0900)]
Adjust busy handler timer as 2 seconds

1 second is too tight, sometimes getting pkginfo failed.

Change-Id: I43d52a569c47a78827de11fdb7a1124fa12ff728
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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

7 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

7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>