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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
Tomasz Iwanek [Fri, 29 Apr 2016 13:53:52 +0000 (15:53 +0200)]
pkgmgrinfo_appinfo_get_zip_mount_file
Change-Id: I177cfb6cbeee0670256a861432ae627bed483623
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>
Daehyeon Jung [Mon, 2 May 2016 11:41:16 +0000 (20:41 +0900)]
Fix appinfo filter for component type
Change-Id: I49a6cb8854cbc74d2d38c6edb18268e41bd6b705
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
Arkadiusz Szulakiewicz [Mon, 29 Feb 2016 11:10:14 +0000 (12:10 +0100)]
Add support for watch-application to pkgmgr-parser
Change-Id: Ie5f183032d715eb78374e8523ff433a4dfbc9c4f
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
Pawel Sikorski [Tue, 26 Jan 2016 13:58:18 +0000 (14:58 +0100)]
Fix cppcheck warnings
Fixing some found cppcheck warnings
Change-Id: I9dfb3477283661b9062977ac6a012b37f01d5041
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
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>
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>
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>
Junghyun Yeon [Wed, 20 Jan 2016 05:21:19 +0000 (21:21 -0800)]
Merge "Each user can disable global app separately" into tizen
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
Tomasz Iwanek [Thu, 3 Dec 2015 10:17:58 +0000 (11:17 +0100)]
Free mfx->deviceprofile
Change-Id: I905bedf2590a3c61e691155dcca15f5a39dd2d04
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>
Junghyun Yeon [Tue, 8 Dec 2015 05:02:22 +0000 (21:02 -0800)]
Merge "Add pkgmgrinfo_pkginfo_set_installed_storage for app2sd" into tizen
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>
jongmyeong ko [Mon, 7 Dec 2015 06:19:00 +0000 (22:19 -0800)]
Merge "Change manifest schema to allow unknown values" into tizen
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>
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>
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
Lukasz Wysocki [Mon, 23 Nov 2015 11:40:48 +0000 (12:40 +0100)]
Free background-category GList
Change-Id: Ifa4f5c23a588f43e2522b54a7055654de1446ab3