platform/core/appfw/pkgmgr-info.git
8 years agoFix pkgmgrinfo_appinfo_get_component 12/60412/2
Sangyoon Jang [Fri, 26 Feb 2016 03:11:20 +0000 (12:11 +0900)]
Fix pkgmgrinfo_appinfo_get_component

Get widget application type also.

Change-Id: I2ebf4ae04485be2fcb5343b9596ff957c9cbfc61
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agodelete dbinfo related APIs & apply seperation of RW/RO location 94/60194/3
jongmyeongko [Wed, 24 Feb 2016 06:19:05 +0000 (15:19 +0900)]
delete dbinfo related APIs & apply seperation of RW/RO location

Change-Id: I699c21c6ca0fe9f60e77c036c055b30885664e8f
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agofix multi-resolution icon for backward compatibility 68/60068/3
Junghyun Yeon [Tue, 23 Feb 2016 06:02:29 +0000 (15:02 +0900)]
fix multi-resolution icon for backward compatibility

add codes to support folder-based multi-resolution icon
for backward compatibility

Change-Id: I0c48786eeb06a0c3624f98a0c54d842aaa7df110
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoadd 'rpm' type 20/60120/1 accepted/tizen/ivi/20160225.081535 accepted/tizen/mobile/20160225.081451 accepted/tizen/tv/20160225.081507 accepted/tizen/wearable/20160225.081520 submit/tizen/20160224.000443 submit/tizen/20160224.092603
jongmyeongko [Tue, 23 Feb 2016 11:29:57 +0000 (20:29 +0900)]
add 'rpm' type

Change-Id: Ie5278ced6a9f8dd77e7905e74eb434511a6785ca
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agofix getting appinfo functions to get enabled/disabled appinfo properly 15/59715/2
Junghyun Yeon [Wed, 17 Feb 2016 23:44:00 +0000 (08:44 +0900)]
fix getting appinfo functions to get enabled/disabled appinfo properly

Change-Id: Ic91719ef3c4bd92812069800fe2867b7b183bd11
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoclear 'rpm' related code 32/59732/2 accepted/tizen/ivi/20160222.011638 accepted/tizen/mobile/20160222.011432 accepted/tizen/tv/20160222.011514 accepted/tizen/wearable/20160222.011552 submit/tizen/20160219.102650
jongmyeongko [Thu, 18 Feb 2016 03:18:31 +0000 (12:18 +0900)]
clear 'rpm' related code

Change-Id: I820251e094a701b02187a5c6ced8bb74a664c542
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoSupport splash screen 63/59363/13 accepted/tizen/ivi/20160218.083928 accepted/tizen/mobile/20160218.005911 accepted/tizen/tv/20160218.005921 accepted/tizen/wearable/20160218.005941 submit/tizen/20160217.221050 submit/tizen_common/20160218.142243
Hwankyu Jhun [Wed, 17 Feb 2016 07:16:18 +0000 (16:16 +0900)]
Support splash screen

- Create package_app_splash_screen table
- Support effect image for backward compatibility(inhouse)
- Add new API for splash screen
pkgmgrinfo_appinfo_foreach_splash_screen

This commit is required by following changes:
https://review.tizen.org/gerrit/#/c/58771/
https://review.tizen.org/gerrit/#/c/59354/
https://review.tizen.org/gerrit/#/c/59353/

Change-Id: I0f16aba453b073799dd9ac9dd4eec99001f9899a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoremove not-used attribute (name of icon & image & preload-removable) 08/59508/3
jongmyeongko [Tue, 16 Feb 2016 07:04:08 +0000 (16:04 +0900)]
remove not-used attribute (name of icon & image & preload-removable)

Change-Id: I7cd110eef56fa5795a45dd080892a5a6cb8d73a7
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoRemove resource manager related codes and files 80/59280/2 accepted/tizen/common/20160217.170720 accepted/tizen/ivi/20160218.023343 accepted/tizen/mobile/20160216.001716 accepted/tizen/mobile/20160216.001752 accepted/tizen/tv/20160216.001736 accepted/tizen/tv/20160216.001809 accepted/tizen/wearable/20160216.001745 accepted/tizen/wearable/20160216.001827 submit/tizen/20160215.041648 submit/tizen/20160215.053949 submit/tizen_common/20160217.131930 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000002
Sangyoon Jang [Fri, 12 Feb 2016 05:58:47 +0000 (14:58 +0900)]
Remove resource manager related codes and files

These are moved to aul.

Change-Id: I5ad95227c964c5b6f2a48d60d3830a2ea5a4e05b
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix the exception about getting effectimage 23/59123/4
Hwankyu Jhun [Thu, 11 Feb 2016 02:10:53 +0000 (11:10 +0900)]
Fix the exception about getting effectimage

An application can have the portrait-image or the landscape-image.

Change-Id: I67bf17874de5bd3c0fe11fc9e2c255e61959fb90
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoRemove tag processing from module 68/57868/7 accepted/tizen/mobile/20160212.002405 accepted/tizen/mobile/20160212.050022 accepted/tizen/tv/20160212.002418 accepted/tizen/tv/20160212.050038 accepted/tizen/wearable/20160212.002445 accepted/tizen/wearable/20160212.050043 submit/tizen/20160211.093134 submit/tizen/20160212.012608
Lukasz Wartalowicz [Mon, 25 Jan 2016 11:55:42 +0000 (12:55 +0100)]
Remove tag processing from module

Requires:
       - https://review.tizen.org/gerrit/#/c/57505/
       - https://review.tizen.org/gerrit/#/c/57506/
       - https://review.tizen.org/gerrit/#/c/57334/
       - https://review.tizen.org/gerrit/#/c/57241/

Change-Id: I257c54d7bc47368ac68e4ef55bf54b54eb47f0c7

8 years agoadd new icon attribute 99/58799/1 accepted/tizen/mobile/20160205.064208 accepted/tizen/tv/20160205.064223 accepted/tizen/wearable/20160205.064243 submit/tizen/20160205.051501
jongmyeongko [Wed, 3 Feb 2016 13:03:44 +0000 (22:03 +0900)]
add new icon attribute

Change-Id: I7e3382dbbf50145d74a245905eaa8fa9e4b9e196
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoSupport localized/multi-resolution app icons 24/58624/3 submit/tizen/20160203.065729
Junghyun Yeon [Tue, 2 Feb 2016 08:58:41 +0000 (17:58 +0900)]
Support localized/multi-resolution app icons

Changes applied at
[manifest-parser][app-installer][pkgmgr-info]

Change-Id: Id49009f823066eebef1a5725827d05922311cc13
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoImplement app signal related with app disable/enable 31/57831/6 accepted/tizen/mobile/20160202.114559 accepted/tizen/mobile/20160203.051927 accepted/tizen/tv/20160202.114649 accepted/tizen/tv/20160203.051944 accepted/tizen/wearable/20160202.114728 accepted/tizen/wearable/20160203.052013 submit/tizen/20160201.060916 submit/tizen/20160202.002216 submit/tizen/20160202.010556 submit/tizen/20160202.023804 submit/tizen/20160203.003555
Junghyun Yeon [Mon, 25 Jan 2016 06:14:04 +0000 (15:14 +0900)]
Implement app signal related with app disable/enable

Changes applied at
[pkgmgr-tool][pkgmgr-info][slp-pkgmgr][pkgmgr-server]

Change-Id: I6b667eb5bbbd6394a8fde648670dd22f32279809
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoModify api pkgmgrinfo_appinfo_get_clone 33/58033/5
Myungki Lee [Wed, 27 Jan 2016 12:09:59 +0000 (21:09 +0900)]
Modify api pkgmgrinfo_appinfo_get_clone

- change name pkgmgrinfo_appinfo_clone_appinfo()
- use g_list_copy_deep

Change-Id: Ibc851daabfb64099aa287d89d22301a571e4147b
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agofix getting "(NULL)" value of icon_path 57/57857/3
jongmyeongko [Mon, 25 Jan 2016 08:29:34 +0000 (17:29 +0900)]
fix getting "(NULL)" value of icon_path

plus, remove next/prev member of _pkgmgr_pkginfo_x and _pkgmgr_appinfo_x

Change-Id: I4b5ee426e92d216a9ae5db96e134ff47fcc6a563
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoFix cppcheck warnings 85/57985/1 accepted/tizen/mobile/20160129.083358 accepted/tizen/tv/20160129.083421 accepted/tizen/wearable/20160129.083443 submit/tizen/20160127.110348
Pawel Sikorski [Tue, 26 Jan 2016 13:58:18 +0000 (14:58 +0100)]
Fix cppcheck warnings

Fixing some found cppcheck warnings

Change-Id: I9dfb3477283661b9062977ac6a012b37f01d5041

8 years agoMerge "temporary fix about pkgmgrinfo_pkginfo_usr_filter_foreach_pkginfo" into tizen
Junghyun Yeon [Tue, 26 Jan 2016 07:42:17 +0000 (23:42 -0800)]
Merge "temporary fix about pkgmgrinfo_pkginfo_usr_filter_foreach_pkginfo" into tizen

8 years agoAdd function to copy appinfo 64/57664/7
Myungki Lee [Tue, 26 Jan 2016 06:59:32 +0000 (15:59 +0900)]
Add function to copy appinfo

Change-Id: Iaf6fde5a7f31d995e8e6ecf9a95577a6f7a47431
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agotemporary fix about pkgmgrinfo_pkginfo_usr_filter_foreach_pkginfo 27/57927/1
Junghyun Yeon [Tue, 26 Jan 2016 05:59:54 +0000 (14:59 +0900)]
temporary fix about pkgmgrinfo_pkginfo_usr_filter_foreach_pkginfo

Change-Id: I63e74d47b60b711accc0f6165012573a77f85c5a
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoadd pkgmgr_appinfo_get_get_pkgtype and db column, 09/57709/1 accepted/tizen/mobile/20160122.080500 accepted/tizen/tv/20160122.080524 accepted/tizen/wearable/20160122.080539 submit/tizen/20160122.050256
Junghyun Yeon [Fri, 22 Jan 2016 02:37:48 +0000 (11:37 +0900)]
add pkgmgr_appinfo_get_get_pkgtype and db column,
    get/set procedure related with it

Change-Id: I2041e6897097ad6111567e64bba281b7f2aac5e1
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoMerge "Each user can disable global app separately" into tizen accepted/tizen/mobile/20160122.031242 accepted/tizen/tv/20160122.031303 accepted/tizen/wearable/20160122.031320 submit/tizen/20160120.053637
Junghyun Yeon [Wed, 20 Jan 2016 05:21:19 +0000 (21:21 -0800)]
Merge "Each user can disable global app separately" into tizen

8 years agoEach user can disable global app separately 09/56709/5
Junghyun Yeon [Tue, 12 Jan 2016 07:46:56 +0000 (16:46 +0900)]
Each user can disable global app separately

Changes applied at [slp-pkgmgr][pkgmgr-info][pkgmgr-server]

Change-Id: Ie67c58f8443bcaa832ca312ecbcdc7972eb3126f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoremove 'preload_list.txt' which is not manageable. 17/56717/4 accepted/tizen/mobile/20160115.010916 accepted/tizen/tv/20160115.010930 accepted/tizen/wearable/20160115.010952 submit/tizen/20160114.224350
jongmyeongko [Tue, 12 Jan 2016 08:48:42 +0000 (17:48 +0900)]
remove 'preload_list.txt' which is not manageable.

New method is needed to know what package is preloaded.

Change-Id: I65de5c70fd51b505ef0698898e19efcd807d4add
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoFix handling index of certinfo when save certinfo 81/56381/4 accepted/tizen/mobile/20160111.084740 accepted/tizen/tv/20160111.084802 accepted/tizen/wearable/20160111.084819 submit/tizen/20160111.054210
Sangyoon Jang [Thu, 7 Jan 2016 07:06:12 +0000 (16:06 +0900)]
Fix handling index of certinfo when save certinfo

this patch makes that handle index of certinfo like before.
when save the certinfo, just override what certinfo handle has,
and decrease ref count of index of old certinfo.

Change-Id: Ic7b6ba1e9e7689967c8973cdf4b0cfc5f634c815
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoRollback transaction when writing operation failed 80/56380/1
Sangyoon Jang [Thu, 7 Jan 2016 07:04:30 +0000 (16:04 +0900)]
Rollback transaction when writing operation failed

rollback when deleting certinfo failed
rollback when saving certinfo failed

Change-Id: I5a9ed9f62c000cb45c237aa91a56ae74284091f3
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoadd license file 69/55769/2 accepted/tizen/mobile/20151230.111809 accepted/tizen/tv/20151230.111836 accepted/tizen/wearable/20151230.111854 submit/tizen/20151229.075714
jongmyeongko [Tue, 29 Dec 2015 07:37:00 +0000 (16:37 +0900)]
add license file

Change-Id: Ida33e4acee3d7fac0c51a68e0d9565a6c42ac99b
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoFix getting icon path 57/55757/2 submit/tizen/20151229.074303
Sangyoon Jang [Tue, 29 Dec 2015 06:48:10 +0000 (15:48 +0900)]
Fix getting icon path

this is a workaround.

Change-Id: I32a84fa911978726e54fe3a7622ec0b7b4bc87a0
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix db permission temporarily 17/55517/2 accepted/tizen/mobile/20151224.102655 accepted/tizen/tv/20151224.102712 accepted/tizen/wearable/20151224.102731 submit/tizen/20151224.071904 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
Sangyoon Jang [Thu, 24 Dec 2015 07:00:13 +0000 (16:00 +0900)]
Fix db permission temporarily

Change-Id: I760f68c48de986fe1ebf85087a045490245cced3
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix cert db ownership 46/55446/1 accepted/tizen/mobile/20151224.063132 accepted/tizen/tv/20151224.063206 accepted/tizen/wearable/20151224.063233 submit/tizen/20151224.013153
Sangyoon Jang [Thu, 24 Dec 2015 00:10:36 +0000 (09:10 +0900)]
Fix cert db ownership

Change-Id: Iabc16b758461b641f901a77d6049cc57cfbded53
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoUnify local/global cert db 87/55287/3 submit/tizen/20151223.234413
Sangyoon Jang [Wed, 23 Dec 2015 01:22:49 +0000 (10:22 +0900)]
Unify local/global cert db

Change-Id: If47f199876f53f8a82a7232f5e9a8c71855e15ea
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix cert db creation query 86/55286/3
Sangyoon Jang [Wed, 23 Dec 2015 01:20:19 +0000 (10:20 +0900)]
Fix cert db creation query

remove 'NOT NULL' constraint at certid
fix typo

Change-Id: I563ad60be16529f19d16aad53ddd69a5b0376eda
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoRewrite pkgmgrinfo_pkginfo_compare_pkg/app_cert_info 23/55123/8
Sangyoon Jang [Tue, 22 Dec 2015 05:07:35 +0000 (14:07 +0900)]
Rewrite pkgmgrinfo_pkginfo_compare_pkg/app_cert_info

NOTE: this patch may not working when try to compare local package and
global package, but the local/global cert info db will be unified.
after unifying local/global db, it will work.

Change-Id: I274d6e2a1bf274eac53c65fd471e785a36c4cae1
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoRewrite certinfo apis 27/54827/4
Sangyoon Jang [Fri, 18 Dec 2015 05:57:48 +0000 (14:57 +0900)]
Rewrite certinfo apis

don't attach global db.
try to get certinfo from user db first, and then try to get certinfo
from global db.

add db trigger to handle cert info indexes.
delete cert index info when the ref count is 0.

Change-Id: Ib530f1a6b9e0fa193b73d6aadd8454b018194ab8
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoChange type of attribute 'update-period' 71/54671/1 accepted/tizen/mobile/20151217.223529 accepted/tizen/tv/20151217.223545 accepted/tizen/wearable/20151217.223600 submit/tizen/20151217.070232
Sangyoon Jang [Thu, 17 Dec 2015 05:58:21 +0000 (14:58 +0900)]
Change type of attribute 'update-period'

change to 'nonNegativeInteger' type

Change-Id: I801fbc120d38a72f5fafd2663eaa0e7ca33506e8
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoAdd new component type: PMINFO_WIDGET_APP 80/54580/1 accepted/tizen/mobile/20151217.023257 accepted/tizen/tv/20151217.023025 accepted/tizen/wearable/20151217.023229 submit/tizen/20151216.235129
Sangyoon Jang [Wed, 16 Dec 2015 08:26:46 +0000 (17:26 +0900)]
Add new component type: PMINFO_WIDGET_APP

set component-type to "widgetapp" when the given app is widget-application

Change-Id: I09c92ebab9245928c66e80f66a0f246ec05cca3d
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoApply to insert backgroud_category value in db. 95/54095/8 accepted/tizen/mobile/20151215.230723 accepted/tizen/tv/20151215.230744 accepted/tizen/wearable/20151215.230757 submit/tizen/20151215.105605
jongmyeongko [Fri, 11 Dec 2015 09:04:46 +0000 (18:04 +0900)]
Apply to insert backgroud_category value in db.

Change-Id: Iac15397b294093877ba0996ae2e6a6af27cedfd4
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoParse widget-application tag 30/54230/2
Sangyoon Jang [Mon, 14 Dec 2015 08:25:38 +0000 (17:25 +0900)]
Parse widget-application tag

Change-Id: I6f4b77ac72fd31820a87c67b826921cda05584cf
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoAdd widget-application tag at tag_parser_list.txt 99/54199/1
Sangyoon Jang [Mon, 14 Dec 2015 05:40:13 +0000 (14:40 +0900)]
Add widget-application tag at tag_parser_list.txt

Change-Id: Iaf8e219f2f87dc1d25a2c65bab9d5c068d9c5969
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoAdd missing attribute in manifest.xsd.in 83/54083/1
jongmyeongko [Fri, 11 Dec 2015 07:53:05 +0000 (16:53 +0900)]
Add missing attribute in manifest.xsd.in

Change-Id: I8cf278c0869d05a5e2bef26f43dfc80a1c5a9308
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoAdd pkgmgr_parser_process_* API to avoid parsing one more time 72/51972/13 accepted/tizen/mobile/20151212.071357 accepted/tizen/tv/20151212.072836 accepted/tizen/wearable/20151212.074751 submit/tizen/20151211.155929
Tomasz Iwanek [Tue, 17 Nov 2015 15:31:17 +0000 (16:31 +0100)]
Add pkgmgr_parser_process_* API to avoid parsing one more time

Added methods delegate setting tep_name and tags to caller.
Added pkgmgr_parser_preload_package_type() function.

Change-Id: Ieab3e645581c4f72b8657884699f5cd777ffcd5f

8 years agoFree mfx->deviceprofile 88/53288/3
Tomasz Iwanek [Thu, 3 Dec 2015 10:17:58 +0000 (11:17 +0100)]
Free mfx->deviceprofile

Change-Id: I905bedf2590a3c61e691155dcca15f5a39dd2d04

8 years agochange type of 'version' attribute from 'NMTOKEN' to 'string' 72/53772/1 accepted/tizen/mobile/20151210.025139 accepted/tizen/tv/20151210.024652 accepted/tizen/wearable/20151210.024709 submit/tizen/20151209.082418
jongmyeongko [Wed, 9 Dec 2015 07:45:42 +0000 (16:45 +0900)]
change type of 'version' attribute from 'NMTOKEN' to 'string'

Change-Id: I33be42fc65a36292ce55f3b1bcd415550f4a2c5f
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoMerge "Add pkgmgrinfo_pkginfo_set_installed_storage for app2sd" into tizen accepted/tizen/mobile/20151208.125557 accepted/tizen/tv/20151208.125622 accepted/tizen/wearable/20151208.125643 submit/tizen/20151208.050305
Junghyun Yeon [Tue, 8 Dec 2015 05:02:22 +0000 (21:02 -0800)]
Merge "Add pkgmgrinfo_pkginfo_set_installed_storage for app2sd" into tizen

8 years agoallow to add unknown value to manfiest schema. 65/53465/1 accepted/tizen/mobile/20151208.123612 accepted/tizen/mobile/20151208.123818 accepted/tizen/tv/20151208.123631 accepted/tizen/tv/20151208.123839 accepted/tizen/wearable/20151208.123648 accepted/tizen/wearable/20151208.123857 submit/tizen/20151207.090202 submit/tizen/20151207.231731
jongmyeongko [Mon, 7 Dec 2015 06:28:00 +0000 (15:28 +0900)]
allow to add unknown value to manfiest schema.

Change-Id: Ib4577d3f88510212be060974dc8b67400fe98b9e
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoMerge "Change manifest schema to allow unknown values" into tizen
jongmyeong ko [Mon, 7 Dec 2015 06:19:00 +0000 (22:19 -0800)]
Merge "Change manifest schema to allow unknown values" into tizen

8 years agofix getting tep_name : prevent returning empty string 43/53443/3 submit/tizen/20151207.054654
jongmyeongko [Mon, 7 Dec 2015 01:58:43 +0000 (10:58 +0900)]
fix getting tep_name : prevent returning empty string

Change-Id: I69d97ab7c04c08e8d575cc17167c897c002c7b19
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoAdd pkgmgrinfo_pkginfo_set_installed_storage for app2sd 81/53181/3
Junghyun Yeon [Wed, 2 Dec 2015 10:37:02 +0000 (19:37 +0900)]
Add pkgmgrinfo_pkginfo_set_installed_storage for app2sd

now app2sd is using old APIs while updating db info
so impelment tizen_2.4's to future usage.

Change-Id: I8084010d435e86419929623b757c874f714f8840
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoChange manifest schema to allow unknown values 45/52645/4
Lukasz Wysocki [Wed, 25 Nov 2015 09:43:23 +0000 (10:43 +0100)]
Change manifest schema to allow unknown values

This change is associated with following change:
-https://review.tizen.org/gerrit/#/c/50502/

Change-Id: Ib88ed8d2fdf6a40631974e4d180c4db14f74892e

8 years agoFree background-category GList 75/52475/5
Lukasz Wysocki [Mon, 23 Nov 2015 11:40:48 +0000 (12:40 +0100)]
Free background-category GList

Change-Id: Ifa4f5c23a588f43e2522b54a7055654de1446ab3

8 years agochange xs:ID to xs:string for supporting wgt package 66/52566/2 accepted/tizen/mobile/20151125.072128 accepted/tizen/tv/20151125.072139 accepted/tizen/wearable/20151125.072144 submit/tizen/20151125.020714
jongmyeongko [Tue, 24 Nov 2015 10:48:38 +0000 (19:48 +0900)]
change xs:ID to xs:string for supporting wgt package

Change-Id: I79a9fb1595d8c469be2b1a4f21c9fb35db1afd95
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoAdd pkgmgrinfo_pkginfo_get_api_version 41/52241/1 accepted/tizen/mobile/20151124.084646 accepted/tizen/tv/20151124.084703 accepted/tizen/wearable/20151124.084722 submit/tizen/20151123.053026
Sangyoon Jang [Fri, 20 Nov 2015 06:00:55 +0000 (15:00 +0900)]
Add pkgmgrinfo_pkginfo_get_api_version

Change-Id: I39777e10b4065078ed081196df26a704d33b600f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoRemove unused attribute 38/52138/1
Sangyoon Jang [Thu, 19 Nov 2015 09:07:42 +0000 (18:07 +0900)]
Remove unused attribute

remove multi_instance, multi_instance_mainid

Change-Id: I86df89a016804a90bad97ec6068efc2db6f391bd
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoAdd missing api from Tizen 2.4 80/51880/7
Sangyoon Jang [Thu, 5 Nov 2015 12:26:11 +0000 (21:26 +0900)]
Add missing api from Tizen 2.4

add appinfo apis
ADDED:
pkgmgrinfo_appinfo_get_effectimage_type
pkgmgrinfo_appinfo_get_get_alias_appid
pkgmgrinfo_appinfo_get_effecitve_appid
pkgmgrinfo_appinfo_foreach_background_category

*NOTE
some values are not parsed yet
the rest of missing api will be merged later

Change-Id: Ia0f45da5b2f08b0132cf128d32d46a6051aac6c2
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agomerge 2.4, allow to extend the manifest for pakackge compatibilty. 17/52117/2 accepted/tizen/mobile/20151119.232205 accepted/tizen/tv/20151119.232227 accepted/tizen/wearable/20151119.232232 submit/tizen/20151119.090129
jongmyeongko [Thu, 19 Nov 2015 06:37:36 +0000 (15:37 +0900)]
merge 2.4, allow to extend the manifest for pakackge compatibilty.

NOTE: .ref file is for reference.

Change-Id: I0783bbfae25f21b1de8aea93ba8bd27a3b63a788
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoFix getting icons 26/51926/1 accepted/tizen/mobile/20151117.232349 accepted/tizen/tv/20151117.232400 accepted/tizen/wearable/20151117.232412 submit/tizen/20151117.103025
Sangyoon Jang [Tue, 17 Nov 2015 09:50:39 +0000 (18:50 +0900)]
Fix getting icons

handle "(NULL)" string as invalid value

Change-Id: I0b2ef16a77df5971cf2dd24a511175532b5a422c
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoAdd missed DB column and APIs for process pool, TEP and 92/51892/1 submit/tizen/20151117.080527
Junghyun Yeon [Tue, 17 Nov 2015 05:07:53 +0000 (14:07 +0900)]
Add missed DB column and APIs for process pool, TEP and
installed_storage in package_info and package_app_info

Change-Id: Icfe6db4b104b69d8b23774101f7fb1976438b19a
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoimplement TEP install, update 81/50981/7 accepted/tizen/mobile/20151117.005611 accepted/tizen/tv/20151117.005627 accepted/tizen/wearable/20151117.005637 submit/tizen/20151116.110857
VBS [Thu, 12 Nov 2015 00:47:19 +0000 (09:47 +0900)]
implement TEP install, update

[app-installer][pkgmgr-info][pkgmgr-server][pkgmgr-tool][slp-pkgmgr]

Change-Id: I7960878b14694d1011cf75fa16d8aa522272e66e
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
9 years agomerge tizen 2.3/2.4 to xsd and related structure type for parsing manifest 74/51474/4 accepted/tizen/mobile/20151111.231910 accepted/tizen/tv/20151111.231917 accepted/tizen/wearable/20151111.231926 submit/tizen/20151111.052448
jongmyeongko [Tue, 10 Nov 2015 04:36:11 +0000 (13:36 +0900)]
merge tizen 2.3/2.4 to xsd and related structure type for parsing manifest

Change-Id: I28fd3cbdfa625081364528684ef26dea25a74a62
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
9 years agoRemove package_app_app_svc 97/51397/1 accepted/tizen/mobile/20151109.234051 accepted/tizen/tv/20151109.234110 accepted/tizen/wearable/20151109.234119 submit/tizen/20151109.104502
Sangyoon Jang [Mon, 9 Nov 2015 08:30:28 +0000 (17:30 +0900)]
Remove package_app_app_svc

remove package_app_app_svc table and related codes
app_svc(application-service) tag is replaced with app_control(app-control)

Change-Id: I9f62fc1b32f36558ef0e35451591f24ff534b6d6
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoParse app-control(application-service) properly 95/50995/3
Sangyoon Jang [Wed, 4 Nov 2015 09:49:57 +0000 (18:49 +0900)]
Parse app-control(application-service) properly

- app-control can have multiple operation, uri, mime combinations
- handle an application-service as an app-control

Change-Id: Iefcfcf97d6154f75b423d7fe3c099649c8ed2f58
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoAdd missing elment in manifest.xsd.in 55/50955/3 accepted/tizen/mobile/20151107.080021 accepted/tizen/tv/20151107.080152 accepted/tizen/wearable/20151107.080346 submit/tizen/20151106.045553
Sangyoon Jang [Wed, 4 Nov 2015 02:44:06 +0000 (11:44 +0900)]
Add missing elment in manifest.xsd.in

ADDED:
widget, widget-application, watch-application, watchface,
background-category, support-mode, support-reset, backend-installer,
multi-instance, multi-instance-mainid

TODO:
parse and store to db properly

Change-Id: I86a6c2ebcd6c19e4afc42fb3779b80ac15c390cc
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoAdd missing attributes from Tizen 2.4 89/50489/2 accepted/tizen/mobile/20151029.231448 accepted/tizen/tv/20151029.231458 accepted/tizen/wearable/20151029.231510 submit/tizen/20151029.113651
Sangyoon Jang [Thu, 29 Oct 2015 08:10:26 +0000 (17:10 +0900)]
Add missing attributes from Tizen 2.4

- service-application: nodisplay, component-type
- ui-application: effectimage-type

Change-Id: Ib8517143d8f290e6379f80030d598614671ed2d3
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoRemove create, chsmack TZ_SYS_RW_PACKAGES 80/50480/1
Sangyoon Jang [Thu, 29 Oct 2015 06:50:19 +0000 (15:50 +0900)]
Remove create, chsmack TZ_SYS_RW_PACKAGES

this will be moved to tizen-platform-config packages

Change-Id: Ica309dedbd79daecfbdb9c17b095eb289babdb86
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoUse GList instead of custom linked list 85/49085/3 accepted/tizen/mobile/20151027.055534 accepted/tizen/tv/20151027.055540 accepted/tizen/wearable/20151027.055548 submit/tizen/20151027.011246
Sangyoon Jang [Tue, 6 Oct 2015 08:24:32 +0000 (17:24 +0900)]
Use GList instead of custom linked list

- use GList instead of custom linked list (sync with 2.4)
- remove unused structures:
 registry_x, database_x, layout_x, deviceprofie_x, daemon_x, theme_x,
 font_x, ime_x
- some attributes have just one value(e.g. privilege), so they can be
represented as 'char *' type instead of structure type

Change-Id: If0ba39724664da11ca3f60a48ab535bc936e2397
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoRemove pkgmgr_parser_signature 77/49077/3
Sangyoon Jang [Tue, 6 Oct 2015 07:46:52 +0000 (16:46 +0900)]
Remove pkgmgr_parser_signature

not used

Change-Id: I880b6109a814d264ddf962caba781202000de3d2
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoRevert "Get string from db if the value is neither "(NULL)" nor empty string" 93/49493/1 accepted/tizen/mobile/20151014.092716 accepted/tizen/tv/20151014.092735 accepted/tizen/wearable/20151014.092750 submit/tizen/20151014.045135 tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
Sangyoon Jang [Wed, 14 Oct 2015 02:52:53 +0000 (11:52 +0900)]
Revert "Get string from db if the value is neither "(NULL)" nor empty string"

This reverts commit dff125fbbf490b737e4d21876435579e153aeb4f.

Change-Id: I50d9afafd6bdebe354db69ac8a562f5903c9d9c9
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoUnify uiapplication_x and serviceapplication_x 04/48804/3 accepted/tizen/mobile/20151005.055453 accepted/tizen/tv/20151005.055507 accepted/tizen/wearable/20151005.055523 submit/tizen/20151005.030714
Sangyoon Jang [Wed, 30 Sep 2015 04:42:26 +0000 (13:42 +0900)]
Unify uiapplication_x and serviceapplication_x

since they are used in very similar way and also stored in the same table.

Change-Id: I66c1570f3c49ea16e1f051028325c28fa13a81ef
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoSet "false" on onboot, autorestart of uiapplication 48/48648/1 accepted/tizen/mobile/20150925.012513 accepted/tizen/tv/20150925.012528 accepted/tizen/wearable/20150925.012542 submit/tizen/20150924.065914 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620
Sangyoon Jang [Thu, 24 Sep 2015 06:19:06 +0000 (15:19 +0900)]
Set "false" on onboot, autorestart of uiapplication

Change-Id: Icd3392c08cab4b751bfa377a62a561438ac3ead2
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix logic of getting localized values 80/48580/2 accepted/tizen/mobile/20150923.231048 accepted/tizen/tv/20150923.231056 accepted/tizen/wearable/20150923.231109 submit/tizen/20150923.091423
Sangyoon Jang [Wed, 23 Sep 2015 07:51:35 +0000 (16:51 +0900)]
Fix logic of getting localized values

try to get value whose locale is same as system locale
if failed, then try again with default locale

Change-Id: I3bcac5bbf34e338f859c77c7345b6099d935c50e
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoGet string from db if the value is neither "(NULL)" nor empty string 79/48579/2
Sangyoon Jang [Wed, 23 Sep 2015 07:49:50 +0000 (16:49 +0900)]
Get string from db if the value is neither "(NULL)" nor empty string

Change-Id: I5a7bb0ac6693f61eb8f3dd16676e2c99e791e68a
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoChange pkgmgr db label to "User::Home" 31/48131/2 accepted/tizen/mobile/20150920.232327 accepted/tizen/tv/20150920.232335 accepted/tizen/wearable/20150920.232353 submit/tizen/20150918.062932
Sangyoon Jang [Tue, 15 Sep 2015 01:28:27 +0000 (10:28 +0900)]
Change pkgmgr db label to "User::Home"

Change-Id: Id6fb407e4fe8065fb9fd550f270cc89391ed38ed
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoSave empty string when metadata value isn't set 88/47688/1 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150908.231345 accepted/tizen/tv/20150908.231359 accepted/tizen/wearable/20150908.231349 submit/tizen/20150908.044919 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release
Sangyoon Jang [Tue, 8 Sep 2015 04:44:02 +0000 (13:44 +0900)]
Save empty string when metadata value isn't set

Change-Id: Iac07b79981e688013f9478eb4aca9fa24da3c8aa
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoAdd pkgmgrinfo_pkginfo_is_global 32/47532/1 accepted/tizen/mobile/20150904.140100 accepted/tizen/tv/20150904.140319 accepted/tizen/wearable/20150904.140422 submit/tizen/20150904.085212
Sangyoon Jang [Fri, 4 Sep 2015 07:42:39 +0000 (16:42 +0900)]
Add pkgmgrinfo_pkginfo_is_global

get whethere the given package is global package or user package

Change-Id: Ib50ee621d80227c7d7f66e2e10b9a9b47d800ff9
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix memory leak 98/46998/2 accepted/tizen/mobile/20150902.004315 accepted/tizen/tv/20150902.004336 accepted/tizen/wearable/20150902.004341 submit/tizen/20150901.100622
Sangyoon Jang [Fri, 28 Aug 2015 05:49:16 +0000 (14:49 +0900)]
Fix memory leak

free locale string
free pkginfo_x, appinfo_x in error case

Change-Id: I71693d53478b5e21e0d9f6d9d6e7b89ee80df51c
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix getting boolean value from pkginfo,appinfo 18/46618/1
Sangyoon Jang [Mon, 24 Aug 2015 07:13:43 +0000 (16:13 +0900)]
Fix getting boolean value from pkginfo,appinfo

use static getter function
return error when the value is NULL

Change-Id: I02f2bb34a4632d1d0fd9237c207a205d58b1f284
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix list iteration 39/46539/4 accepted/tizen/mobile/20150824.134456 accepted/tizen/tv/20150824.134524 accepted/tizen/wearable/20150824.134533 submit/tizen/20150824.024939
Sangyoon Jang [Fri, 21 Aug 2015 10:34:32 +0000 (19:34 +0900)]
Fix list iteration

save next node beforehand to delete node safely

Change-Id: I7d5d88f2bb8d2fb8959fc02f3b5f9134e1c39393
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix filter count api 89/46489/4
Sangyoon Jang [Fri, 21 Aug 2015 09:51:17 +0000 (18:51 +0900)]
Fix filter count api

Change-Id: I04898c44b77971635921924e94824da1926eff45
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoParse support-disable 35/46435/4
Sangyoon Jang [Thu, 20 Aug 2015 08:22:43 +0000 (17:22 +0900)]
Parse support-disable

add filter prop for support-disable

Change-Id: I0967e466a85b613b03d7c7397a997be07ab2754f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoImprove query performance 23/46323/4
Sangyoon Jang [Wed, 19 Aug 2015 02:32:21 +0000 (11:32 +0900)]
Improve query performance

opening and attaching db takes a long time more than opening db in twice

Change-Id: I5e4ecd78f392961d169c2581da2a45eac1b42cfd
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix pkgmgrinfo_appinfo_metadata_filter_foreach 17/46417/1
Sangyoon Jang [Thu, 20 Aug 2015 06:05:28 +0000 (15:05 +0900)]
Fix pkgmgrinfo_appinfo_metadata_filter_foreach

add filter prop for metadata key, value

Change-Id: Ib94612054f5a46c3e362174300e4e09b58a0fca8
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix getting author name 75/46275/1
Sangyoon Jang [Wed, 19 Aug 2015 02:57:08 +0000 (11:57 +0900)]
Fix getting author name

there is only one author element
author element doesn't need lang attibute

Change-Id: I3c22ade424eae62c124ccc8e2fc344b3abdb13a5
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoprefer local package over global in pkgmgr_pkginfo_get_user_pkginfo 19/46219/1 accepted/tizen/mobile/20150818.100847 accepted/tizen/tv/20150818.101329 accepted/tizen/wearable/20150818.101636 submit/tizen/20150818.070205
Jiwoong Im [Tue, 18 Aug 2015 06:40:17 +0000 (15:40 +0900)]
prefer local package over global in pkgmgr_pkginfo_get_user_pkginfo

- result handle should point to local package info if there is local and global
package with the same pkgid

Change-Id: I30ad69db80b789f7a6bc8b94d784066a827fa698
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoFix db open functions 48/46148/1 accepted/tizen/mobile/20150817.134134 accepted/tizen/tv/20150817.134529 accepted/tizen/wearable/20150817.134809 submit/tizen/20150817.084057
Sangyoon Jang [Mon, 17 Aug 2015 07:50:54 +0000 (16:50 +0900)]
Fix db open functions

add a new parameter to open db on writable or readonly mode
return error when manifest db does not exist

Change-Id: I15bf60d2b8d5bc1e75e05568124e6fc535559698
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoRetrieve metadata info when getting appinfo 36/46136/1
Sangyoon Jang [Mon, 17 Aug 2015 07:18:18 +0000 (16:18 +0900)]
Retrieve metadata info when getting appinfo

Change-Id: Ic6fa595f3289fced8a712846747ef1242a3a8ffd
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoAdd filter prop for package privilege 24/46124/1
Sangyoon Jang [Mon, 17 Aug 2015 05:51:22 +0000 (14:51 +0900)]
Add filter prop for package privilege

Change-Id: I5eb7b3de1e1d0a44f39080ed4d04f5601a6641b4
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix getting icon path 83/45783/4
Sangyoon Jang [Tue, 11 Aug 2015 07:45:39 +0000 (16:45 +0900)]
Fix getting icon path

try to get icon path from various paths

Change-Id: I7400cc427758a0a4fe4bb2dfdc107fe788b4798a
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoAdd filter prop for ui-gadget 87/45987/1 accepted/tizen/mobile/20150814.112850 accepted/tizen/tv/20150814.113011 accepted/tizen/wearable/20150814.112929 submit/tizen/20150814.080020
Sangyoon Jang [Thu, 13 Aug 2015 02:41:52 +0000 (11:41 +0900)]
Add filter prop for ui-gadget

Change-Id: I3355e529e1f5bc997931a6324cb26bdcc03c1d7e
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix bug on listing pkg, app 67/45867/1 accepted/tizen/mobile/20150813.012024 accepted/tizen/tv/20150813.012035 accepted/tizen/wearable/20150813.012047 submit/tizen/20150812.102005
Sangyoon Jang [Wed, 12 Aug 2015 05:52:29 +0000 (14:52 +0900)]
Fix bug on listing pkg, app

Change-Id: I16f947be90802bff53095381d96755d30be96207
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoParse ui-gadget attribute 65/45865/3
Sangyoon Jang [Wed, 12 Aug 2015 05:42:10 +0000 (14:42 +0900)]
Parse ui-gadget attribute

Change-Id: Ie86c603fdc9ee113e15975826798453330e586ad
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoSeparate source files, clean up repository 91/45391/7
Sangyoon Jang [Mon, 10 Aug 2015 12:30:10 +0000 (21:30 +0900)]
Separate source files, clean up repository

separate pkgmgr-info.c into:
  pkgmgrinfo_pkginfo.c
  pkgmgrinfo_appinfo.c
  pkgmgrinfo_certinfo.c
  pkgmgrinfo_db.c
  pkgmgrinfo_client.c
rename headers
remove unused codes
remove executable permission from some files

Change-Id: Ie56d8c76223ed0593ded98138b3a2ecef0738ea5
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix crash 65/45765/1 accepted/tizen/mobile/20150811.060101 accepted/tizen/tv/20150811.060105 accepted/tizen/wearable/20150811.060118 submit/tizen/20150811.055211
Sangyoon Jang [Tue, 11 Aug 2015 05:48:42 +0000 (14:48 +0900)]
Fix crash

use sizeof() instead of fixed size

Change-Id: I10abd3ba45f0d31519716c14f8d3e236d40d062b
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoBuildbreak fix in pkgmgr-info.c 74/45674/1 accepted/tizen/mobile/20150811.013709 accepted/tizen/tv/20150811.013730 accepted/tizen/wearable/20150811.013750 submit/tizen/20150810.084526
Pawel Sikorski [Mon, 10 Aug 2015 08:44:05 +0000 (10:44 +0200)]
Buildbreak fix in pkgmgr-info.c

Removal of not needed call.

Change-Id: Id8afe37e16acc92765f7d085b434cb08b70d0065
Signed-off-by: Pawel Sikorski <p.sikorski@samsung.com>
9 years agoFix listing query 56/45556/3
Sangyoon Jang [Fri, 7 Aug 2015 09:38:37 +0000 (18:38 +0900)]
Fix listing query

get pkgid or appid list first, and getting pkginfo or appinfo using the
list

Change-Id: Ifd4a5c349f2cb325588ad20710f173a5253b7ed0
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix some prevent issues 03/45503/1
Sangyoon Jang [Fri, 7 Aug 2015 02:09:08 +0000 (11:09 +0900)]
Fix some prevent issues

fix resource leak
fix dereference null return value

Change-Id: I018e365c798de51c8e7f8cc47f1db51768e744f0
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoAdd new error code: PMINFO_R_ENOENT 74/45274/5 accepted/tizen/mobile/20150807.073538 accepted/tizen/tv/20150807.073543 accepted/tizen/wearable/20150807.073549 submit/tizen/20150807.044508
Sangyoon Jang [Tue, 4 Aug 2015 09:08:22 +0000 (18:08 +0900)]
Add new error code: PMINFO_R_ENOENT

return OK when getting no result on filter foreach api

Change-Id: Ie619b75f010d24ab9407d6b8068963589714fe1f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix memory leak 83/45383/1 accepted/tizen/mobile/20150806.001422 accepted/tizen/tv/20150806.001427 accepted/tizen/wearable/20150806.001437 submit/tizen/20150805.104426
Sangyoon Jang [Wed, 5 Aug 2015 10:40:41 +0000 (19:40 +0900)]
Fix memory leak

fix parsing & freeing appcontrol
fix _appinfo_get_filtered_foreach
fix __cleanup_appinfo

Change-Id: I074ff97e4fc9f72c6c9e3913b1487133d240068b
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agomodify resource manager source. 94/44894/5
Jiwoong Im [Wed, 29 Jul 2015 06:55:19 +0000 (15:55 +0900)]
modify resource manager source.

- remove db saving/loading while using resource manager

Change-Id: Id8d00ddcf1f731e236e12be9bc37cb8b69f29861
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agoReturn error when cannot find appinfo 64/45264/1 accepted/tizen/mobile/20150804.235121 accepted/tizen/tv/20150804.235129 accepted/tizen/wearable/20150804.235146 submit/tizen/20150804.080541
Sangyoon Jang [Tue, 4 Aug 2015 08:12:15 +0000 (17:12 +0900)]
Return error when cannot find appinfo

Change-Id: Icbc22ef147e403c17e8acda31da486d59ee7ed8f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix resource leak 59/45259/1
Sangyoon Jang [Tue, 4 Aug 2015 08:02:32 +0000 (17:02 +0900)]
Fix resource leak

finalize sqlite3_stmt
use sqlite3_close_v2 instead of sqlite3_close

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