platform/core/appfw/pkgmgr-info.git
8 years agoFix pkg getting query to do it once if possible 86/82286/11 accepted/tizen/common/20160809.183916 accepted/tizen/ivi/20160809.232606 accepted/tizen/mobile/20160809.232336 accepted/tizen/tv/20160809.232455 accepted/tizen/wearable/20160809.232701 submit/tizen/20160809.011327 submit/tizen/20160809.051427
Junghyun Yeon [Tue, 2 Aug 2016 11:15:32 +0000 (20:15 +0900)]
Fix pkg getting query to do it once if possible

- Fix query for getting pkginfo to get as many information as possible at once
- Retrieve icon,label,description information only one.

Change-Id: Ib455a5d7ef4530e3118d348109039933e687fbf5
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoremove some internal api (not-used and not-support) 06/76806/7
jongmyeongko [Fri, 24 Jun 2016 10:46:18 +0000 (19:46 +0900)]
remove some internal api (not-used and not-support)

Submit with:
        https://review.tizen.org/gerrit/#/c/79978/

Change-Id: I7372d89974617bc3ceb869b91fb67d6b0863e4fd
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoremove getting TZ_USER_ICONS path 85/74485/13
jongmyeongko [Tue, 14 Jun 2016 02:35:01 +0000 (11:35 +0900)]
remove getting TZ_USER_ICONS path

for removing TZ_USER_ICONS

Submit with:
https://review.tizen.org/gerrit/#/c/74482/

Change-Id: I81cd19ccdccddef237514a0081bae11d26d75b63
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoChange user db path 22/81322/6
Hwankyu Jhun [Mon, 25 Jul 2016 12:05:32 +0000 (21:05 +0900)]
Change user db path

The user db path is changed to "/opt/dbspace/user/<uid>/".

Change-Id: I771705c9125512138ed0191ad60d173157ad517e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoFix unexpected unique constraint on package_app_splash_screen 54/82654/4
Junghyun Yeon [Fri, 5 Aug 2016 02:21:18 +0000 (11:21 +0900)]
Fix unexpected unique constraint on package_app_splash_screen

- operation column will be part of primary key
  of package_app_splash_screen

Change-Id: I6a128c89586e513ae4f224709a04aa2e154eac2f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoFix coding style 36/82436/1
Junghyun Yeon [Wed, 3 Aug 2016 10:02:14 +0000 (19:02 +0900)]
Fix coding style

Change-Id: Ie2187e207e27b15a168faea9e2c713a32a37a7e3
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoAppwidget's metadata tag and max-instance in manifest.xsd schema 96/81496/4 accepted/tizen/common/20160803.193206 accepted/tizen/ivi/20160804.080757 accepted/tizen/mobile/20160804.080848 accepted/tizen/tv/20160804.080714 accepted/tizen/wearable/20160804.080539 submit/tizen/20160803.012753
Tomasz Iwanek [Tue, 26 Jul 2016 12:33:20 +0000 (14:33 +0200)]
Appwidget's metadata tag and max-instance in manifest.xsd schema

Change-Id: I0e235b44d490744febc2ffe628fabf2c3bea0d31

8 years agoRemove unused static function 26/82226/2
Sangyoon Jang [Tue, 2 Aug 2016 05:42:33 +0000 (14:42 +0900)]
Remove unused static function

Change-Id: I5a6584993e02b8dce933769f4ed9ee868d081022
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoRemove unused apis 22/82222/3
Sangyoon Jang [Tue, 2 Aug 2016 05:22:25 +0000 (14:22 +0900)]
Remove unused apis

Removed:
 pkgmgrinfo_pkginfo_get_total_size
 pkgmgrinfo_pkginfo_get_data_size
 pkgmgrinfo_pkginfo_get_size_from_xml
 pkgmgrinfo_pkginfo_get_location_from_xml

libxml dependency is removed from pkgmgr-info.

Change-Id: I46b9c98379ca909e205a34a76583b2960f77966b
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix a bug on inserting localized info 80/81480/3
Sangyoon Jang [Tue, 26 Jul 2016 11:29:58 +0000 (20:29 +0900)]
Fix a bug on inserting localized info

Change-Id: I688cbfab869997caf76c7f6c133b896c26ce9c40
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoImplement functions for pkg enable/disable 82/79682/4 accepted/tizen/common/20160719.171839 accepted/tizen/ivi/20160718.104409 accepted/tizen/mobile/20160718.104256 accepted/tizen/tv/20160718.104147 accepted/tizen/wearable/20160718.104314 submit/tizen/20160718.020809
Junghyun Yeon [Tue, 12 Jul 2016 09:48:31 +0000 (18:48 +0900)]
Implement functions for pkg enable/disable

Related changes
[pkgmgr-tool] https://review.tizen.org/gerrit/78916
[slp-pkgmgr] https://review.tizen.org/gerrit/78917
[pkgmgr-server] https://review.tizen.org/gerrit/78918
[app-installers] https://review.tizen.org/gerrit/78919
[tpk-backend] https://review.tizen.org/gerrit/#/c/79070/

Change-Id: I70d8108c76e2062eed4c081fc35a35c105b47901
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoFix returning empty value on getter 24/78424/4
Sangyoon Jang [Tue, 5 Jul 2016 11:36:52 +0000 (20:36 +0900)]
Fix returning empty value on getter

Change-Id: I8e23937b0f455a2a140ee84930739670241f910c
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix logic of pkgmgrinfo_save_cert_info 95/78595/1
Sangyoon Jang [Tue, 5 Jul 2016 08:58:30 +0000 (17:58 +0900)]
Fix logic of pkgmgrinfo_save_cert_info

pkgmgrinfo_save_cert_info now increasing package count(added)
when calling with same pkgid instead of overriding cert info.
Normally overriding cert info is not allowed behavior, it used to
running TCT or testing by inhouse developer.

Change-Id: I648066ae3cfe89888cfd9dad3e8a6a24886883cd
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoDon't delete certinfo when delete manifest info 94/78594/1
Sangyoon Jang [Tue, 5 Jul 2016 07:00:30 +0000 (16:00 +0900)]
Don't delete certinfo when delete manifest info

Cert info should be deleted by installer explicitly.
But, for consistency, delete certinfo when calling old(deprecated) apis.

Change-Id: Ieca6b88d7ba3d78a719f2ef1fceb39c381d8cbc9
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix __find_icon 13/78413/2 accepted/tizen/common/20160706.141900 accepted/tizen/ivi/20160706.014246 accepted/tizen/mobile/20160706.014208 accepted/tizen/tv/20160706.014222 accepted/tizen/wearable/20160706.014234 submit/tizen/20160705.114429
Sangyoon Jang [Tue, 5 Jul 2016 11:04:07 +0000 (20:04 +0900)]
Fix __find_icon

Don't return NULL when getting screen dpi failed.

Change-Id: If0178acb3ae9f57127f44f089eac0bcde6461270
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoRemove unnecessary code 65/77365/1 accepted/tizen/common/20160706.141400 accepted/tizen/ivi/20160705.044601 accepted/tizen/mobile/20160705.044434 accepted/tizen/tv/20160705.044545 accepted/tizen/wearable/20160705.044458 submit/tizen/20160704.042542
Sangyoon Jang [Wed, 29 Jun 2016 11:46:55 +0000 (20:46 +0900)]
Remove unnecessary code

Cert info will be stored by installer.

Change-Id: Ia41bfa97201bd9588ae45ecea47a9c6f1d292867
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix exceptions about splash screen 91/76491/1 accepted/tizen/common/20160703.125759 accepted/tizen/ivi/20160629.015657 accepted/tizen/mobile/20160629.015615 accepted/tizen/tv/20160629.015729 accepted/tizen/wearable/20160629.015535 submit/tizen/20160627.042541 submit/tizen_common/20160701.180000
Hwankyu Jhun [Fri, 24 Jun 2016 05:46:37 +0000 (14:46 +0900)]
Fix exceptions about splash screen

The index() returns NULL pointer if the character is not found.

Change-Id: I0835cd80f6f10c5c565cc71ad4a9cd2a285dd09c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agofor consistent result of memtadata value (NULL -> empty) 56/76356/1 accepted/tizen/common/20160627.191558 accepted/tizen/ivi/20160624.063928 accepted/tizen/mobile/20160624.063511 accepted/tizen/tv/20160624.063549 accepted/tizen/wearable/20160624.063817 submit/tizen/20160623.103205
jongmyeongko [Thu, 23 Jun 2016 12:29:37 +0000 (21:29 +0900)]
for consistent result of memtadata value (NULL -> empty)

Change-Id: Ife8046037f48eb8894af61f15fcc84d7a28ebbf3
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agokeep consistent results(empty) of {NULL} values of pkgmgr db. 04/76204/3
jongmyeongko [Thu, 23 Jun 2016 06:30:58 +0000 (15:30 +0900)]
keep consistent results(empty) of {NULL} values of pkgmgr db.

Change-Id: I003b111eaf4aaeaacbba42a46e84827b7f6cba65
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agofix static analysis defect 30/75730/1 accepted/tizen/common/20160621.184520 accepted/tizen/ivi/20160622.093650 accepted/tizen/mobile/20160622.093541 accepted/tizen/tv/20160622.093609 accepted/tizen/wearable/20160622.093629 submit/tizen/20160621.063045
jongmyeongko [Tue, 21 Jun 2016 07:19:05 +0000 (16:19 +0900)]
fix static analysis defect

Change-Id: I3329d2832890ef23f427fd6db76ec47922b316aa
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoRevert "Revert "change functions to constructing queries from snprintf to sqlite3_snp... 15/75215/4
Junghyun Yeon [Fri, 17 Jun 2016 05:38:51 +0000 (22:38 -0700)]
Revert "Revert "change functions to constructing queries from snprintf to sqlite3_snprintf""

This reverts commit dc98f879929b7469da98dfeecc2380bda2c08926.

Change-Id: I75cfea79b4995d5295fb4fa2cbac3f27226002a9

8 years agoRevert "Remove tep update API" 45/74045/3
Tomasz Iwanek [Fri, 10 Jun 2016 12:23:27 +0000 (14:23 +0200)]
Revert "Remove tep update API"

This reverts commit 729210e8f340c0c2d899de09221e1dc08f34668b.

API will be used for move request where we need to update only
tep location and nothing more.

Change-Id: I933de75fad3db847db376d1d112be463985df9bd

8 years agofix issues 69/74969/4 accepted/tizen/common/20160620.163200 accepted/tizen/ivi/20160617.083714 accepted/tizen/mobile/20160617.083835 accepted/tizen/tv/20160617.083602 accepted/tizen/wearable/20160617.083917 submit/tizen/20160616.235341
Junghyun Yeon [Thu, 16 Jun 2016 07:32:01 +0000 (16:32 +0900)]
fix issues

- adjust enum value of appinfo filter property
- fix compare routine for splash screen to compare properly
- add error check routine for OOM
- add missed parameter for log

Change-Id: I884990e3cea253ed21d6940b98b2d3087cc43fce
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoRevert "change functions to constructing queries from snprintf to sqlite3_snprintf" 91/74591/1
Junghyun Yeon [Wed, 15 Jun 2016 01:36:33 +0000 (18:36 -0700)]
Revert "change functions to constructing queries from snprintf to sqlite3_snprintf"

This reverts commit 5078b712aa430fd7d5d8b358747f5894f31ecbd3.

Change-Id: I5e84539399562124fe1ac764ba19e90687873e97

8 years agochange functions to constructing queries from snprintf to sqlite3_snprintf 36/72936/8 submit/tizen/20160615.004118
Junghyun Yeon [Fri, 3 Jun 2016 07:02:52 +0000 (16:02 +0900)]
change functions to constructing queries from snprintf to sqlite3_snprintf

- constructing queries using snprintf
has weakness for sql injection so change it into sqlite_snprintf
- sqlite3_snprintf will prevent storing null string as "(null)"
or ''
- add "NOT NULL" constraint which column store true/false value

Change-Id: I07e4aa85628692fb464797e8453cd635de132283
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoFix issues 31/74131/1 accepted/tizen/common/20160614.143823 accepted/tizen/ivi/20160614.042623 accepted/tizen/mobile/20160614.041621 accepted/tizen/tv/20160614.041613 accepted/tizen/wearable/20160614.042139 submit/tizen/20160614.004549
Junghyun Yeon [Mon, 13 Jun 2016 02:48:08 +0000 (11:48 +0900)]
Fix issues

- replace strtok into strtok_r for thread-safe
- supress build warning

Change-Id: I1b4f390fa0ec5e0d4c9cf69c1c47e251f0aec357
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoretrieve tep_name for app_info handle 16/73716/2
jongmyeongko [Thu, 9 Jun 2016 08:42:05 +0000 (17:42 +0900)]
retrieve tep_name for app_info handle

Change-Id: I64aa39ddc7cfdf3dc283e70d1fd30be422b808ba
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoPrevent race condition attack 54/73454/4
Sangyoon Jang [Wed, 8 Jun 2016 07:14:21 +0000 (16:14 +0900)]
Prevent race condition attack

Use fchown, fchmod instead of chown, chmod.

Change-Id: I8b2e0a5a2a4df5171d67df46faff5d7841015487
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agofix to return -1 when cert value is not exists 46/73446/2 accepted/tizen/common/20160610.175843 accepted/tizen/ivi/20160609.091403 accepted/tizen/mobile/20160609.091537 accepted/tizen/tv/20160609.091340 accepted/tizen/wearable/20160609.091314 submit/tizen/20160609.010102
Junghyun Yeon [Wed, 8 Jun 2016 06:53:55 +0000 (15:53 +0900)]
fix to return -1 when cert value is not exists

Change-Id: Ibceae46f3385d8e7fd4eeeeb5d5958047dd92078
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoRetrieve app_zip_mount_file 48/73448/1
Sangyoon Jang [Wed, 8 Jun 2016 06:55:08 +0000 (15:55 +0900)]
Retrieve app_zip_mount_file

Change-Id: I9713a3652d3facb7741468d3bc44b0503664105a
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoCheck existance of cert info with given pkgid before compare it. 77/72177/6 accepted/tizen/common/20160608.160006 accepted/tizen/ivi/20160608.083949 accepted/tizen/mobile/20160608.083913 accepted/tizen/tv/20160608.083946 accepted/tizen/wearable/20160608.083923 submit/tizen/20160607.231554
Junghyun Yeon [Tue, 31 May 2016 05:41:33 +0000 (14:41 +0900)]
Check existance of cert info with given pkgid before compare it.

Codes are added to check existance of cert info for given 2 pkgids
before retrieve cert info and compare it.

Change-Id: Ibf56dad3997838e7dbcfde473344a1442b18624e
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoAdd missing dependency 96/73296/4 accepted/tizen/common/20160607.194647 accepted/tizen/ivi/20160607.235330 accepted/tizen/mobile/20160607.235302 accepted/tizen/tv/20160607.235321 accepted/tizen/wearable/20160607.235312 submit/tizen/20160607.082137
Sangyoon Jang [Tue, 7 Jun 2016 10:54:25 +0000 (19:54 +0900)]
Add missing dependency

libsmack is required for parser lib. (using smack_setlabel())

Change-Id: I26484db752120f8fec0205826886b07a32b7c25b
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix to check existance of zip mount file info 05/73205/2
Junghyun Yeon [Tue, 7 Jun 2016 07:17:23 +0000 (16:17 +0900)]
Fix to check existance of zip mount file info

Change-Id: I3120f2e4b8a314d4e4817603dcd2f29e61f330af
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoFix _get_filtered_query 80/72980/1
Sangyoon Jang [Fri, 3 Jun 2016 10:23:08 +0000 (19:23 +0900)]
Fix _get_filtered_query

Change-Id: I2df0e576c929d6cfd9aaab98ab86a6f44d1695c6
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoadd db file versioning codes 74/67074/6
Junghyun Yeon [Mon, 25 Apr 2016 05:22:03 +0000 (14:22 +0900)]
add db file versioning codes

db version will be added with integer format.
minor version and patch version can be 2 digits each.

Change-Id: Ia35a3874ba1178c2d882d76e439a336e06260a69
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agochange log type when failed to open db while getting package info 90/72890/2
Junghyun Yeon [Fri, 3 Jun 2016 02:01:05 +0000 (11:01 +0900)]
change log type when failed to open db while getting package info

Change-Id: I3ebffa229cacf500d16ce3e01ef537c0593d458d
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoremove api for enabling external pkg. 25/72825/1
jongmyeongko [Thu, 2 Jun 2016 02:44:27 +0000 (11:44 +0900)]
remove api for enabling external pkg.

Change-Id: Ie49a3d4307a4b123134e0343f746dc1449cc4e54
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoparameter binding will not work when filter is null 03/72403/2 accepted/tizen/common/20160602.140041 accepted/tizen/ivi/20160602.022846 accepted/tizen/mobile/20160602.023019 accepted/tizen/tv/20160602.022547 accepted/tizen/wearable/20160602.022733 submit/tizen/20160531.024853
Junghyun Yeon [Wed, 1 Jun 2016 00:03:11 +0000 (09:03 +0900)]
parameter binding will not work when filter is null

When there are no parameters to binded,
Binding parameter will not work

Change-Id: Ie05e3d20fb3ec70220ecf0ca032d313bbd921404
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoFix pkgmgr pkginfo issues 31/72231/1
Junghyun Yeon [Tue, 31 May 2016 08:10:43 +0000 (17:10 +0900)]
Fix pkgmgr pkginfo issues

- When given filter is null, create new one to add
  pkg_disable clause
- Suppress build warnings

Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Change-Id: Idd6d7cb0d590b31d5d88ecd5989ba947edbfb739

8 years agoFix some log level at certinfo 52/71752/3
Sangyoon Jang [Fri, 27 May 2016 04:13:17 +0000 (13:13 +0900)]
Fix some log level at certinfo

Change log level LOGE(error) to LOGI(info)

Change-Id: I65c9f4ce2298d0f5162eaa95acfc3e27a783ddfd
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agofix wrong db command 65/71965/2
Junghyun Yeon [Mon, 30 May 2016 02:44:11 +0000 (11:44 +0900)]
fix wrong db command

Change-Id: I11f7c03310042ed80486b06d98c1f55a149f7dfc
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agofix issues on pkgmgr-info 19/70719/16
Junghyun Yeon [Fri, 20 May 2016 08:04:44 +0000 (17:04 +0900)]
fix issues on pkgmgr-info

- move package_disable condition to end to
  not to retrieve unnecessary data
- fix to add locale when package_app_localized_info table
  has joined with package_app_info while getting appinfo
- fix to use sqlite3_bind_* instead of snprintf to prevent
  sql injection attack
- fix wrong flag when package_app_app_category
  filter has applied

Change-Id: I8ec2a80307f28976790ae44d6b15c0b7606d5b56
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoImprove query performance 76/61276/26 submit/tizen/20160524.073932
Sangyoon Jang [Mon, 7 Mar 2016 06:29:05 +0000 (15:29 +0900)]
Improve query performance

Add api:
 - pkgmgrinfo_appinfo_get_installed_list_full
 - pkgmgrinfo_appinfo_get_usr_installed_list_full
 - pkgmgrinfo_pkginfo_get_list_full
 - pkgmgrinfo_pkginfo_get_usr_list_full

Removed:
 - pkgmgrinfo_appinfo_get_applist_for_amd
 - pkgmgrinfo_appinfo_get_usr_applist_for_amd

Modify existing apis and added new expandable apis for improve
performance without redundant api.

Change-Id: I7575b36f33ef3ebfd647438f4fc6ebe1ce67d68f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix memory leak 36/70636/1 accepted/tizen/common/20160520.171021 accepted/tizen/ivi/20160520.081043 accepted/tizen/mobile/20160520.080905 accepted/tizen/tv/20160520.080955 accepted/tizen/wearable/20160520.080922 submit/tizen/20160520.002716
Hwankyu Jhun [Fri, 20 May 2016 02:35:37 +0000 (11:35 +0900)]
Fix memory leak

Change-Id: Ic21b47c9ef5591e1a7dbf682365d5241d3103ce5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agomigration of hwacceleration related changes from tizen 2.4 95/69595/3 accepted/tizen/common/20160520.170923 accepted/tizen/ivi/20160520.002323 accepted/tizen/mobile/20160520.002334 accepted/tizen/tv/20160520.002255 accepted/tizen/wearable/20160520.002307 submit/tizen/20160517.005404 submit/tizen/20160518.002620 submit/tizen/20160519.002157 submit/tizen/20160519.045032
jongmyeongko [Mon, 16 May 2016 04:58:00 +0000 (13:58 +0900)]
migration of hwacceleration related changes from tizen 2.4

Change-Id: Ib05944b2af2a95da3ab5f19b639d52ba69cd6c8c
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agopkgmgrinfo_appinfo_get_zip_mount_file 01/68001/5 accepted/tizen/common/20160512.143623 accepted/tizen/common/20160513.123124 accepted/tizen/common/20160513.123349 accepted/tizen/ivi/20160513.004714 accepted/tizen/mobile/20160513.004742 accepted/tizen/tv/20160513.004658 accepted/tizen/wearable/20160513.004632 submit/tizen/20160511.013048 submit/tizen/20160511.132536 submit/tizen/20160512.083806
Tomasz Iwanek [Fri, 29 Apr 2016 13:53:52 +0000 (15:53 +0200)]
pkgmgrinfo_appinfo_get_zip_mount_file

Change-Id: I177cfb6cbeee0670256a861432ae627bed483623

8 years agoAdd color-depth field for package_app_splash_screen table 56/68656/3 accepted/tizen/common/20160511.141657 accepted/tizen/ivi/20160512.045932 accepted/tizen/mobile/20160512.045718 accepted/tizen/tv/20160512.045810 accepted/tizen/wearable/20160512.045748 submit/tizen/20160510.044059
Hwankyu Jhun [Mon, 9 May 2016 07:19:46 +0000 (16:19 +0900)]
Add color-depth field for package_app_splash_screen table

- Modify pkgmgrinfo_appinfo_foreach_splash_screen API

Change-Id: Ief85a8e3748ee5f93eea386db1415fdcd71b8db0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoFix appinfo filter for component type 33/68133/1 accepted/tizen/common/20160504.125251 accepted/tizen/ivi/20160503.093013 accepted/tizen/mobile/20160503.092914 accepted/tizen/tv/20160503.092939 accepted/tizen/wearable/20160503.092951 submit/tizen/20160503.003646
Daehyeon Jung [Mon, 2 May 2016 11:41:16 +0000 (20:41 +0900)]
Fix appinfo filter for component type

Change-Id: I49a6cb8854cbc74d2d38c6edb18268e41bd6b705

8 years agoImplement app signal related with app splash screen display 97/65897/18 accepted/tizen/common/20160426.143102 accepted/tizen/ivi/20160425.231853 accepted/tizen/mobile/20160425.231841 accepted/tizen/tv/20160425.231806 accepted/tizen/wearable/20160425.231831 submit/tizen/20160425.083419
Hwankyu Jhun [Thu, 14 Apr 2016 01:50:31 +0000 (10:50 +0900)]
Implement app signal related with app splash screen display

- Add db trigger to handle the package_app_info_for_uid table.
- Add internal APIs:
pkgmgr_parser_update_app_splash_screen_display_info_in_db()
pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db()

Change-Id: I5a64be7f26af61140439f3b0f2fdfaa5b6556e51
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoadd pkgmgrinfo_appinfo_get_metadata_value API 96/66896/1 accepted/tizen/common/20160422.171935 accepted/tizen/ivi/20160422.070338 accepted/tizen/mobile/20160422.070502 accepted/tizen/tv/20160422.070328 accepted/tizen/wearable/20160422.070311 submit/tizen/20160422.041545
Junghyun Yeon [Fri, 22 Apr 2016 01:57:37 +0000 (10:57 +0900)]
add pkgmgrinfo_appinfo_get_metadata_value API

Change-Id: I849d476dc4b83f4a98630cb3ae3f88e87036110c
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoRemove tep update API 17/64817/4
Tomasz Iwanek [Tue, 5 Apr 2016 12:16:09 +0000 (14:16 +0200)]
Remove tep update API

 - pkgmgr_parser_usr_update_tep
 - pkgmgr_parser_update_tep
needed for workaround in application installer are no longer used.

tep_name is inserted into database as part of manifest_x structure passed
to *_process_* APIs.

Requires:
  https://review.tizen.org/gerrit/64814

Change-Id: I77d57744669526151e94c02a0951ba50160f6342

8 years agoAdd package_app_info_for_uid table 43/65443/4 accepted/tizen/common/20160412.130721 accepted/tizen/ivi/20160412.063701 accepted/tizen/mobile/20160412.063518 accepted/tizen/tv/20160412.063719 accepted/tizen/wearable/20160412.063623 submit/tizen/20160411.223138
Junghyun Yeon [Mon, 11 Apr 2016 04:59:07 +0000 (13:59 +0900)]
Add package_app_info_for_uid table

integrate user-specific info about global app to
package_app_info_for_uid table

Change-Id: Ia4cb54e1bb48c0364469e14cee857656fbfaa1e2
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoexport deprecated API 12/65112/1
jongmyeongko [Thu, 7 Apr 2016 08:54:42 +0000 (17:54 +0900)]
export deprecated API

Change-Id: I6a695eb825c552d9c4e9ccb6882765873868e45f
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agofix to get tep info when getting each appinfo 13/64713/2 accepted/tizen/common/20160406.144146 accepted/tizen/ivi/20160406.071933 accepted/tizen/mobile/20160406.071827 accepted/tizen/tv/20160406.071849 accepted/tizen/wearable/20160406.071911 submit/tizen/20160406.013051
Junghyun Yeon [Tue, 5 Apr 2016 03:02:12 +0000 (12:02 +0900)]
fix to get tep info when getting each appinfo

Change-Id: Idf43ec9b05f31f2e82dd91d81771bc986a772d1f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoPass it's own uid when calling not 'usr' prefixed api 11/64011/7 accepted/tizen/common/20160406.143517 accepted/tizen/ivi/20160406.012759 accepted/tizen/mobile/20160406.012644 accepted/tizen/tv/20160406.012703 accepted/tizen/wearable/20160406.012731 submit/tizen/20160405.052614
Sangyoon Jang [Tue, 29 Mar 2016 10:31:49 +0000 (19:31 +0900)]
Pass it's own uid when calling not 'usr' prefixed api

If the caller is a regular user, pass it's own uid, but if the caller is
a non-regular user(root or system daemon), pass tizenglobalapp user's uid.

Change-Id: Iee7ac5e0526c0ba265e0f390ee51d5b8761a12fc
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agofix filter api using appcontrol component 10/61310/9
Jiwoong Im [Mon, 7 Mar 2016 08:30:58 +0000 (17:30 +0900)]
fix filter api using appcontrol component

Change-Id: I2c679846854578de4191d8d4ed038c179d9a50d1
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agochange some LOGE to LOGI to not to recognize this as error 56/63656/2
Junghyun Yeon [Fri, 25 Mar 2016 05:48:34 +0000 (14:48 +0900)]
change some LOGE to LOGI to not to recognize this as error

Change-Id: I6580dafb25519cac0f2b9f5d93fe45fdd43e3de3
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoFix build warning 92/64592/1 accepted/tizen/common/20160406.143434 accepted/tizen/ivi/20160406.012039 accepted/tizen/mobile/20160406.011925 accepted/tizen/tv/20160406.011954 accepted/tizen/wearable/20160406.012015 submit/tizen/20160405.001024
Myungki Lee [Mon, 4 Apr 2016 04:27:25 +0000 (13:27 +0900)]
Fix build warning

Change-Id: I672b473de2eb24ef40282760d1d9be2ca3d310f8
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoAdd splash screen display field for appinfo table 95/61995/9 accepted/tizen/common/20160321.150437 accepted/tizen/ivi/20160322.023142 accepted/tizen/mobile/20160321.113336 accepted/tizen/tv/20160321.113412 accepted/tizen/wearable/20160321.113434 submit/tizen/20160321.014821 submit/tizen_ivi/20160322.020156
Hwankyu Jhun [Sat, 12 Mar 2016 06:35:29 +0000 (15:35 +0900)]
Add splash screen display field for appinfo table

- Add new API
pkgmgrinfo_appinfo_get_splash_screen_display

Change-Id: Ia04c9b977b675a060e7c057d2ae85d304ae752e1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoremove not used API and depreated xml parsing related API 23/61823/6
jongmyeongko [Thu, 10 Mar 2016 10:39:46 +0000 (19:39 +0900)]
remove not used API and depreated xml parsing related API

Requires:
https://review.tizen.org/gerrit/#/c/62475/

Change-Id: I5623d7224785b9fc3a4b5e980b69d1c7f2b26cda
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agochange functions for thread-safe 98/62298/4 accepted/tizen/common/20160321.145911 accepted/tizen/ivi/20160321.004611 accepted/tizen/mobile/20160321.004504 accepted/tizen/tv/20160321.004533 accepted/tizen/wearable/20160321.004552 submit/tizen/20160318.074817
Junghyun Yeon [Tue, 15 Mar 2016 08:49:49 +0000 (17:49 +0900)]
change functions for thread-safe

Change-Id: I2c88ceaa0d80bcbfd0f7fb867f0516dc00f31e25
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoget values from app_disable column from package app info 33/62433/1 accepted/tizen/common/20160316.160452 accepted/tizen/ivi/20160316.081403 accepted/tizen/mobile/20160316.081319 accepted/tizen/tv/20160316.081330 accepted/tizen/wearable/20160316.081345 submit/tizen/20160316.052919 submit/tizen_common/20160316.154911
Junghyun Yeon [Wed, 16 Mar 2016 05:26:11 +0000 (14:26 +0900)]
get values from app_disable column from package app info

Change-Id: I0a3a0925415572132680e98fc1e8ed4e1da86e80
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agofix queries to send all appinfo to AMD 54/61954/3 accepted/tizen/common/20160317.155404 accepted/tizen/ivi/20160315.001446 accepted/tizen/mobile/20160315.001359 accepted/tizen/tv/20160315.001409 accepted/tizen/wearable/20160315.001424 submit/tizen/20160314.031145
Junghyun Yeon [Fri, 11 Mar 2016 10:35:03 +0000 (19:35 +0900)]
fix queries to send all appinfo to AMD

Change-Id: I2385dc8828b7066fb2fdfefebfbd64657d107cb4
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoSupport metadata effectimage for backward compatibility 20/61820/7
Hwankyu Jhun [Fri, 11 Mar 2016 00:46:47 +0000 (09:46 +0900)]
Support metadata effectimage for backward compatibility

Change-Id: Ibf22294c248c8b6622f4cbf64415fb88222834c0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoAdd effective appid field for appinfo table 35/61935/3 accepted/tizen/ivi/20160313.114536 accepted/tizen/mobile/20160313.113430 accepted/tizen/tv/20160313.113752 accepted/tizen/wearable/20160313.114151 submit/tizen/20160312.053538
Hwankyu Jhun [Fri, 11 Mar 2016 08:21:08 +0000 (17:21 +0900)]
Add effective appid field for appinfo table

Change-Id: Ia78887808b76a3932bfb524067b7d6768c68b816
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoadd capi-system-info at pkg_check_modules to fix build fail 19/61819/1 accepted/tizen/common/20160311.013751 accepted/tizen/ivi/20160311.013649 accepted/tizen/mobile/20160311.013314 accepted/tizen/tv/20160311.013441 accepted/tizen/wearable/20160311.013539 submit/tizen/20160311.001932
Junghyun Yeon [Thu, 10 Mar 2016 23:59:35 +0000 (08:59 +0900)]
add capi-system-info at pkg_check_modules to fix build fail

Change-Id: Ic67981c8e61d095ed14608096f4e8b35bee2fd65
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoRemove compile warning messages 70/61570/5 accepted/tizen/common/20160311.013732 accepted/tizen/ivi/20160311.013640 accepted/tizen/mobile/20160311.013256 accepted/tizen/tv/20160311.013429 accepted/tizen/wearable/20160311.013530 submit/tizen/20160310.115150
Hwankyu Jhun [Wed, 9 Mar 2016 22:44:22 +0000 (07:44 +0900)]
Remove compile warning messages

Change-Id: Ia12c7317158f5df7b8339842568b3f016a988b56
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoFix missing fields while getting appinfo 87/61687/1 accepted/tizen/ivi/20160310.062404 accepted/tizen/mobile/20160310.062250 accepted/tizen/tv/20160310.062313 accepted/tizen/wearable/20160310.062339 submit/tizen/20160310.011127
Semun Lee [Thu, 10 Mar 2016 01:04:53 +0000 (10:04 +0900)]
Fix missing fields while getting appinfo

- add missed for_all_users, app_root_path, app_api_version

Change-Id: Ia74154ab96aab080c329f4ab08d82f03d2849be0
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
8 years agoadd internal apis for AMD 79/61079/7 accepted/tizen/common/20160310.080111 accepted/tizen/ivi/20160309.005045 accepted/tizen/mobile/20160309.004952 accepted/tizen/tv/20160309.005006 accepted/tizen/wearable/20160309.005023 submit/tizen/20160308.060806
Junghyun Yeon [Thu, 3 Mar 2016 23:31:01 +0000 (08:31 +0900)]
add internal apis for AMD

Change-Id: I23ab1bb4cc748941115cda30b51b0f9b9d96862c
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoadd parameters to get enabled/disabled app info properly 72/60772/3 accepted/tizen/common/20160308.142755 accepted/tizen/ivi/20160309.004711 accepted/tizen/mobile/20160309.004614 accepted/tizen/tv/20160309.004631 accepted/tizen/wearable/20160309.004651 submit/tizen/20160308.025616
Junghyun Yeon [Wed, 2 Mar 2016 06:59:16 +0000 (15:59 +0900)]
add parameters to get enabled/disabled app info properly

Change-Id: I3efda9ece6e2817722353da200b9286056be4bd5
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agochange strcpy to strncpy for secure code 15/61215/2 accepted/tizen/common/20160307.153631 accepted/tizen/ivi/20160307.105422 accepted/tizen/mobile/20160307.105346 accepted/tizen/tv/20160307.105351 accepted/tizen/wearable/20160307.105404 submit/tizen/20160307.024457
Junghyun Yeon [Sun, 6 Mar 2016 06:04:48 +0000 (15:04 +0900)]
change strcpy to strncpy for secure code

Change-Id: Ic12c49bb581f430796a5ca87fe5785e5339b0a94
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoRemove 'metadata' and 'category' parsing from pkgmgr_process_* functions 29/59029/6 accepted/tizen/common/20160304.194921 accepted/tizen/common/20160307.153143 accepted/tizen/ivi/20160304.105557 accepted/tizen/mobile/20160304.105440 accepted/tizen/tv/20160304.105458 accepted/tizen/wearable/20160304.105530 submit/tizen/20160303.090142 submit/tizen/20160304.063745
Tomasz Iwanek [Fri, 5 Feb 2016 12:10:01 +0000 (13:10 +0100)]
Remove 'metadata' and 'category' parsing from pkgmgr_process_* functions

 - pkgmgr_process_* functions will no longer call any plugin,
 - pkgmgr_parse_* functions will follow old behaviour,
 - export __metadata_t and __category_t structures for app-installer plugin loading,
 - export enumaration for metadata plugin call.

Following changes should be submitted together:
 - https://review.tizen.org/gerrit/#/c/59029/
 - https://review.tizen.org/gerrit/#/c/59028/
 - https://review.tizen.org/gerrit/#/c/59030/
 - https://review.tizen.org/gerrit/#/c/59031/

Change-Id: Ifdb2acd914077ce8e3fb21b6117d1c192f5834e5

8 years agoRemove unused file 96/60796/2 accepted/tizen/common/20160304.194331 accepted/tizen/ivi/20160303.093920 accepted/tizen/mobile/20160303.093805 accepted/tizen/tv/20160303.093829 accepted/tizen/wearable/20160303.093901 submit/tizen/20160303.064856
Sangyoon Jang [Wed, 2 Mar 2016 08:46:31 +0000 (17:46 +0900)]
Remove unused file

resource manage feature is moved to aul.

Change-Id: Ia4c59dbb98d9ffea60f26d252900b37c8e36f246
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoAdd support for watch-application to pkgmgr-parser 30/60630/3
Arkadiusz Szulakiewicz [Mon, 29 Feb 2016 11:10:14 +0000 (12:10 +0100)]
Add support for watch-application to pkgmgr-parser

Change-Id: Ie5f183032d715eb78374e8523ff433a4dfbc9c4f

8 years agoAdd app-control-operation on splash screen 85/60185/10 accepted/tizen/common/20160301.025444 accepted/tizen/common/20160301.120604 accepted/tizen/common/20160302.193822 accepted/tizen/ivi/20160302.224045 accepted/tizen/mobile/20160302.223956 accepted/tizen/tv/20160302.224009 accepted/tizen/wearable/20160302.224028 submit/tizen/20160229.005700 submit/tizen/20160229.102401 submit/tizen/20160302.020013 submit/tizen/20160302.065807 submit/tizen_common/20160229.190608
Hwankyu Jhun [Tue, 23 Feb 2016 22:55:48 +0000 (07:55 +0900)]
Add app-control-operation on splash screen

- Modify package_app_splash_screen table
- Modify pkgmgrinfo_appinfo_foreach_splash_screen API

Change-Id: I3fe80cc595c271dbd4550154aff1fb7bac7edeab
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
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>