Sangyoon Jang [Wed, 16 Nov 2016 02:40:53 +0000 (11:40 +0900)]
Move internal headers to src directory
Change-Id: I68181ae1eba05f0c1463c6367c949d9d01d3faa7
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Junghyun Yeon [Wed, 16 Nov 2016 07:56:39 +0000 (16:56 +0900)]
Change column name defined in query
- Change wrong column name
Change-Id: Ib45510caa14d17664358e84a3adf6e1fddbe94d3
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Mon, 14 Nov 2016 10:14:41 +0000 (19:14 +0900)]
Implement support_mode related feature
Related changes:
[app-installers] : https://review.tizen.org/gerrit/97702
[tpk-manifest-handlers] : https://review.tizen.org/gerrit/97699
Change-Id: Iff9193028a773161c3a09a63dd8508c3ca5fdaff
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Tue, 15 Nov 2016 08:53:39 +0000 (17:53 +0900)]
Fix coding rules
Change-Id: Ie777703854533a13c216cdf0087aa4169c054050
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Mon, 14 Nov 2016 02:42:03 +0000 (11:42 +0900)]
Implement pkgmgr_parser_update_app_label_info_in_db for app label change
Change-Id: I33e506cd698189812c59783cf9cd25acc5ffb8ec
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Hwankyu Jhun [Sun, 13 Nov 2016 22:50:40 +0000 (07:50 +0900)]
Fix checking installed storage
- Use F_OK option instead of R_OK option
Change-Id: Ic2960c710348657c017d84e2e5a721a383e2208e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
jongmyeongko [Fri, 11 Nov 2016 06:33:10 +0000 (15:33 +0900)]
make it to extendible structure for adding sources and headers
Change-Id: I0366020a10cc84676a36177dd2eea5ccbcc9535c
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Fri, 11 Nov 2016 10:17:38 +0000 (19:17 +0900)]
consider an extra icon_path for only RO package
Change-Id: Idbaa8b26f5c3440d3753ae1612fd1745c1e589ec
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Junghyun Yeon [Wed, 2 Nov 2016 08:32:59 +0000 (17:32 +0900)]
add db column and APIs for app info
add internal APIs below and related db columns
- pkgmgrinfo_appinfo_get_installed_time
- pkgmgrinfo_appinfo_is_system
- pkgmgrinfo_appinfo_is_removable
Change-Id: I6406a44b9e0c306e708f920600360d1feb02b63f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Junghyun Yeon [Thu, 27 Oct 2016 11:23:27 +0000 (20:23 +0900)]
app query will check package disable
Change-Id: Ia015094e44f571d7a23e2bb1b5e98ccc03f20204
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Tomasz Iwanek [Thu, 29 Sep 2016 13:49:00 +0000 (15:49 +0200)]
Reworking handling privileges for hybrid application
This patch keeps single list of privileges (stored in
manifest_x) and filters privileges when registring
security rules of applications. Following changed:
- generated platform manifest xml contains <privilege>
tags with 'type' atttibute set to 'tpk' or 'wgt',
- in case of absence of attribute, its default value
is 'tpk',
- manifest_x changes privilege type from GList of char*
to GList of privilege_x. Structure named 'privilege_x'
contain parsed privilege type,
- although there is one privilege list, given the fact
that privilege now have type, native and web privileges
should be registered in native or web apps only.
Verification:
- no regression in tpk/wgt smoke tests,
- install hybrid app with native and web privileges
and check generated manifest file for privileges,
- install web app with privileges and check generated
manifest file,
- install web app without privileges and check generated
manifest file -> default privileges should be added.
Submit together:
- https://review.tizen.org/gerrit/#/c/90540/
- https://review.tizen.org/gerrit/#/c/90543/
- https://review.tizen.org/gerrit/#/c/90544/
- https://review.tizen.org/gerrit/#/c/90546/
- https://review.tizen.org/gerrit/#/c/90561/
Change-Id: I901d61800251519a48327a0ea2b6400d20dfe2f7
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeong ko [Thu, 3 Nov 2016 12:07:37 +0000 (05:07 -0700)]
Revert "Remove pkgmgrinfo_client_xxx"
This reverts commit
fa975ef3f8d817b608292dc418ff07e6955d6eb3.
Change-Id: Ibeec1eddd6b197032496a78f306f2bfdc365a84f
Junghyun Yeon [Wed, 12 Oct 2016 10:49:41 +0000 (19:49 +0900)]
Add external_path column and change function related with it
- Add external_path column at package_info table
to store loopback device path when pkg has moved into
external storage
Change-Id: I31b9402bbcf96c5ff45b89640561aa5e7c22505a
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Mon, 31 Oct 2016 10:06:33 +0000 (19:06 +0900)]
Remove pkgmgrinfo_client_xxx
These apis can be replaced with pkgmgr_client_xxx.
Change-Id: I974c7abf22445dc986a71f2cafb10c14459ae975
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Mon, 24 Oct 2016 11:23:39 +0000 (20:23 +0900)]
Fix getting privilege query
Remove duplicates.
Change-Id: I4c0412f284091152e2f1af005f87743b8428f674
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Junghyun Yeon [Thu, 27 Oct 2016 04:46:42 +0000 (13:46 +0900)]
Add md_key column into unique constraint on package_app_app_metadata table
Change-Id: I0e94a8e2910db95a7b5453381a53e1de1debb67c
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Mon, 17 Oct 2016 11:50:46 +0000 (20:50 +0900)]
Temporary fix for hybrid pkg installation
Submit together:
- https://review.tizen.org/gerrit/92582
- https://review.tizen.org/gerrit/92583
- https://review.tizen.org/gerrit/92585
Change-Id: Ic90added323afd9d1a2e00490800bb595a8f6ec1
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Slava Barinov [Thu, 22 Sep 2016 12:07:35 +0000 (15:07 +0300)]
Fix parser-devel dependency
Change-Id: Icb02131de3bc1916134ab07701da6b31e6e46436
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
Junghyun Yeon [Wed, 5 Oct 2016 04:23:27 +0000 (13:23 +0900)]
Remove unused parameter
Related change:
[app-installers] https://review.tizen.org/gerrit/#/c/90929/
Change-Id: I651b0871e0694710f11893481cf80ad3be8249ad
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Wed, 7 Sep 2016 01:34:09 +0000 (10:34 +0900)]
Fix some getters
Just return const string(empty string) instead of modifying handle.
Change-Id: Iea592afea9bb5e7f73af0392ef9d33dcf76c1452
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Junghyun Yeon [Fri, 19 Aug 2016 01:52:24 +0000 (10:52 +0900)]
Add installed_storage to appinfo filter
Change-Id: Idbf3a84a85d3a44df9710d4f62ff66def1bf0aeb
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Tomasz Iwanek [Thu, 18 Aug 2016 14:45:53 +0000 (16:45 +0200)]
Allow user 'app_fw' to create pkgmgr_parser.db
Change-Id: I0036baf2e68b039d2512135f1d9a9df3066c22f7
Sangyoon Jang [Wed, 10 Aug 2016 07:36:45 +0000 (16:36 +0900)]
Fix package query
Change-Id: I688a8294adadc9298911325be55194f339bd82b8
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Hwankyu Jhun [Wed, 10 Aug 2016 00:31:22 +0000 (09:31 +0900)]
Set default operation for legacy splash screen
Change-Id: I1d2ada089af222a79b27cbdadbb9027a5891dc92
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 8 Aug 2016 07:46:15 +0000 (16:46 +0900)]
Fix splash screen table
- Requires
https://review.tizen.org/gerrit/82860
Change-Id: I77dabea3066bc874809562ac925cdbab5db9fb7f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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
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>
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
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>
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>