platform/core/appfw/pkgmgr-info.git
9 years agoMerge "Add api from tizen 2.3 : pkgmgrinfo_appinfo_get_localed_label" into tizen accepted/tizen/mobile/20150121.045016 accepted/tizen/tv/20150121.044516 accepted/tizen/wearable/20150121.044749 submit/tizen/20150120.043506 submit/tizen_mobile/20150121.020049 submit/tizen_tv/20150121.020041 submit/tizen_wearable/20150121.020025
Semun Lee [Tue, 20 Jan 2015 04:12:53 +0000 (20:12 -0800)]
Merge "Add api from tizen 2.3 : pkgmgrinfo_appinfo_get_localed_label" into tizen

9 years agoClean up logic opening/attaching manifest and cert db 00/33800/11
Sangyoon Jang [Thu, 15 Jan 2015 05:27:47 +0000 (14:27 +0900)]
Clean up logic opening/attaching manifest and cert db

rename '_pkgmgr_parser_attach_create_view_parserdb' and '_pkgmgr_parser_attach_create_view_certdb' to
'__attach_and_create_view'
remove some unused variables
clean up duplicate code

Change-Id: Ib3c86eec3b4ea06b76fec08aba3d9b30d2461d34
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoAdd api from tizen 2.3 : pkgmgrinfo_appinfo_get_localed_label 15/33115/13
Sangyoon Jang [Tue, 6 Jan 2015 05:29:41 +0000 (14:29 +0900)]
Add api from tizen 2.3 : pkgmgrinfo_appinfo_get_localed_label

Change-Id: I3ea422055376763ef5ed0a1dc8d8ae6a2cb75084
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoMerge "Add missing declaration" into tizen
Semun Lee [Tue, 20 Jan 2015 00:11:36 +0000 (16:11 -0800)]
Merge "Add missing declaration" into tizen

9 years agoAdd missing declaration 18/33718/3
Sangyoon Jang [Wed, 14 Jan 2015 05:47:37 +0000 (14:47 +0900)]
Add missing declaration

added:
pkgmgrinfo_pkginfo_get_label
pkgmgrinfo_pkginfo_get_size_from_xml
pkgmgrinfo_pkginfo_get_location_from_xml
pkgmgrinfo_pkginfo_is_for_all_users pkgmgrinfo_save_pkgusrdbinfo
pkgmgrinfo_appinfo_set_usr_state_enabled
pkgmgrinfo_appinfo_set_state_enabled
pkgmgrinfo_appinfo_set_usr_default_label
pkgmgrinfo_appinfo_set_default_label

Change-Id: I832d850e9990c4dfd0b71598814257f927feaef3
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoMerge "Remove meaningless code" into tizen
Suchang Woo [Wed, 14 Jan 2015 08:47:52 +0000 (00:47 -0800)]
Merge "Remove meaningless code" into tizen

9 years agoMerge "Remove unused files and change file permission" into tizen
Suchang Woo [Wed, 14 Jan 2015 08:39:09 +0000 (00:39 -0800)]
Merge "Remove unused files and change file permission" into tizen

9 years agoMerge "add api and db table to support data-control api" into tizen
Semun Lee [Wed, 14 Jan 2015 01:16:05 +0000 (17:16 -0800)]
Merge "add api and db table to support data-control api" into tizen

9 years agoRemove meaningless code 14/33114/3
Sangyoon Jang [Fri, 9 Jan 2015 05:35:09 +0000 (14:35 +0900)]
Remove meaningless code

__pkgmgr_parser_create_parser_db and __pkgmgr_parser_create_cert_db do same thing,
so remove one and rename

Change-Id: Idca8c82ffaa5f5d15b51c40eb43c7f6db19eda2e
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoRemove unused files and change file permission 77/33477/2
Sangyoon Jang [Mon, 12 Jan 2015 06:08:42 +0000 (15:08 +0900)]
Remove unused files and change file permission

remove unwanted permission
remove unused script
remove unused image file
remove unused PG file

Change-Id: I6f36a2c1ad8b0fd4be8d5054e5d7d7dd1617cc56
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoadd api and db table to support data-control api 13/33313/2
Jiwoong Im [Thu, 8 Jan 2015 08:32:39 +0000 (17:32 +0900)]
add api and db table to support data-control api

- Add getter api for datacontrol.
     pkgmgrinfo_appinfo_get_datacontrol_info
     pkgmgrinfo_appinfo_get_datacontrol_appid
- Add datacontrol table to parse DB.

Change-Id: Ib930f0ad61f594bc5e67ad66ee6f95b7218481e8
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
9 years agodo not use hardcoded paths in get user path APIs 57/33357/1
Corentin Lecouvey [Wed, 7 Jan 2015 15:58:16 +0000 (16:58 +0100)]
do not use hardcoded paths in get user path APIs

Change-Id: Iaa811f7539de77069fea0a6a8daa6df0b6ed5797
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
9 years agoMerge "fix insert retrieve and delete cert info" into tizen tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0_ivi accepted/tizen/common/20150113.085846 accepted/tizen/ivi/20150115.062915 submit/tizen_common/20150108.142014 submit/tizen_common/20150109.133122 submit/tizen_common/20150112.103909 submit/tizen_common/20150112.154626 submit/tizen_ivi/20150115.222222 tizen_3.0_ivi_release
Baptiste DURAND [Thu, 8 Jan 2015 14:07:01 +0000 (06:07 -0800)]
Merge "fix insert retrieve and delete cert info" into tizen

9 years agofix insert retrieve and delete cert info 61/32861/3
Sabera Djelti (sdi2) [Fri, 26 Dec 2014 17:13:30 +0000 (18:13 +0100)]
fix insert retrieve and delete cert info

fix appsvcdb, open datacontroldb

Bug-Tizen: TC-2222

Change-Id: I608874c486eb70586f81cd5b4017291e35224790
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
9 years agoFix user manifest install/uninstall/upgrade 67/33067/1
Sangyoon Jang [Mon, 5 Jan 2015 05:27:27 +0000 (14:27 +0900)]
Fix user manifest install/uninstall/upgrade

__add_preload_info is not for user's app, it set the app non-removable

Change-Id: I5aa82d428ccc747fa41ee1666aeffbadd4c86665
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoCreate directory recursively 78/32978/3
Sangyoon Jang [Wed, 31 Dec 2014 08:18:46 +0000 (17:18 +0900)]
Create directory recursively

when try to create directories for users' manifest, package db and desktop file, it fails because parent directory does not exists.
so we need to create parent directory.

Change-Id: I088650a8e9697e9884c7605769b49bf1e8510542
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix manifest schema for support tizen 2.3 tpk package 77/32977/2
Sangyoon Jang [Wed, 31 Dec 2014 08:13:34 +0000 (17:13 +0900)]
Fix manifest schema for support tizen 2.3 tpk package

for support ".tpk" package files in tizen 2.3

Change-Id: I95837c27ba26f692bc1d7e3f8ba01a709a8fd8b6
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agopackage manager CAPI are not robustness when they are called recursively 19/31819/3 accepted/tizen/common/20141211.182715 accepted/tizen/ivi/20141211.132550 submit/tizen_common/20141211.082808 submit/tizen_ivi/20141211.082003
Baptiste DURAND [Wed, 10 Dec 2014 14:46:59 +0000 (15:46 +0100)]
package manager CAPI are not robustness when they are called recursively

For example the CAPI pkgmgrinfo_appinfo_usr_filter_foreach_appinfo with a callback that also
call a CAPI.

Refactoring Database management to allow it.

BUG-Tizen=TC-2221
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
Change-Id: If4bd6c7687d1b875f945935488d93563dae92e3c

9 years agoFix CREATE VIEW Request. 00/31100/1 accepted/tizen/common/20141201.175439 accepted/tizen/ivi/20141209.013522 submit/tizen_common/20141201.173838 submit/tizen_ivi/20141208.000000
Baptiste DURAND [Mon, 1 Dec 2014 10:36:07 +0000 (11:36 +0100)]
Fix CREATE VIEW Request.

Change-Id: Ia4305e87694931cfcd04fd74a5367e94d3d761e4
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
9 years agolist once global package with pkgcmd -l 30/31030/1 submit/tizen_common/20141201.092119
Sabera Djelti (sdi2) [Fri, 28 Nov 2014 15:44:30 +0000 (16:44 +0100)]
list once global package with pkgcmd -l

Change-Id: I7b27c21f3558bfd4104031cffe23f8e525fcd95d
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
9 years agoEnable to list app and pkg with pkginfo --listpkg/--listapp 99/30399/5
Sabera Djelti (sdi2) [Thu, 13 Nov 2014 11:07:19 +0000 (12:07 +0100)]
Enable to list app and pkg with pkginfo --listpkg/--listapp

--> add open_cert_db
--> put uid to callback via the handle
--> add columns uid in pkg_parser.db view

Bug-Tizen: TC-1590

Change-Id: I1f6e154635ede033e89e62a010e92b1671645afa
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
9 years agoRefactoring code related to package database 98/30398/3
Baptiste DURAND [Thu, 13 Nov 2014 09:59:31 +0000 (10:59 +0100)]
Refactoring code related to package database

Change-Id: Id8ec826aafafb8598d7efb6a127bb32125e3dd85
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
9 years agoSmall optimiziation: 68/30668/1
Pawel Sikorski [Sun, 23 Nov 2014 22:47:34 +0000 (23:47 +0100)]
Small optimiziation:
Using temporary value to keep returned value from getUserPkgParserDBPathUID function
for passing to other functions.

Change-Id: If2a6d7168bf3a188bcb8178c6d9970bf6bde2c4e

9 years agoPreintialize the returned handle values to NULL 10/30310/1 accepted/tizen/common/20141114.192416 accepted/tizen/ivi/20141119.063313 submit/tizen_common/20141114.110816 submit/tizen_ivi/20141119.000000 submit/tizen_ivi/20141119.111111 submit/tizen_mobile/20141120.000000
Baptiste DURAND [Fri, 14 Nov 2014 10:55:36 +0000 (11:55 +0100)]
Preintialize the returned handle values  to NULL

For the following CAPI functions :
pkgmgrinfo_pkginfo_get_usr_pkginfo
pkgmgrinfo_appinfo_get_usr_appinfo
pkgmgrinfo_pkginfo_create_certinfo
pkgmgrinfo_create_certinfo_set_handle
pkgmgrinfo_create_pkgusrdbinfo
pkgmgrinfo_create_pkgdbinfo

this permit to not have a randoming value as handle and avoid crash
BUG-Tizen=TC-1744

Change-Id: Ib648328a6a964db200e7035b37b9d9fd6620caf1
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
9 years agoFix Update issue, during update the desktop is deleted but never recreated 88/29988/2 accepted/tizen/common/20141107.085136 accepted/tizen/ivi/20141112.110517 submit/tizen_common/20141106.150911 submit/tizen_ivi/20141111.000000
Baptiste DURAND [Thu, 6 Nov 2014 13:57:40 +0000 (14:57 +0100)]
Fix Update issue, during update the desktop is deleted but never recreated

BUG-Tizen=TC-2025
Change-Id: I9b25d19f0e322f8a00d72d0a9bb0379f305b9c78
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
9 years agoMerge "Move manifest file (from .config) to TZ_USER_PACKAGES / TZ_SYS_RW_PACKAGES... accepted/tizen/common/20141103.141342 submit/tizen_common/20141031.164155
Baptiste DURAND [Fri, 31 Oct 2014 16:40:25 +0000 (09:40 -0700)]
Merge "Move manifest file (from .config) to TZ_USER_PACKAGES / TZ_SYS_RW_PACKAGES" into tizen

9 years agoMerge "Add robustness to mkdir" into tizen
Baptiste DURAND [Fri, 31 Oct 2014 16:39:42 +0000 (09:39 -0700)]
Merge "Add robustness to mkdir" into tizen

9 years agoMove manifest file (from .config) to TZ_USER_PACKAGES / TZ_SYS_RW_PACKAGES 75/29275/3
Sabera Djelti (sdi2) [Thu, 23 Oct 2014 09:22:12 +0000 (11:22 +0200)]
Move manifest file (from .config) to TZ_USER_PACKAGES / TZ_SYS_RW_PACKAGES

Bug-Tizen: XWALK-2672
Change-Id: I0241574a23adf0af41ad14c90bcb87de48c66277
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
9 years agoFix Widget Installation with metadatas 69/29269/1 accepted/tizen/common/20141023.145530 submit/tizen_common/20141023.141338
Baptiste DURAND [Thu, 23 Oct 2014 14:10:54 +0000 (16:10 +0200)]
Fix Widget Installation with metadatas

Remove wrong call to   ret = __insert_uiapplication_appmetadata_info(mfx);
by  ret = __insert_serviceapplication_appmetadata_info(mfx);

calling __insert_uiapplication_appmetadata_info twice lead to installation error

BUG-Tizen=XWALK-2463
Change-Id: I465f573a2bbfd345a660494d7fc0d62a0c85bfe5
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
9 years agoAdd robustness to mkdir 58/28358/2
Sabera Djelti (sdi2) [Fri, 3 Oct 2014 13:34:59 +0000 (15:34 +0200)]
Add robustness to mkdir

Change-Id: I9a988e447446332374fb2922b89739d834c95da7
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
9 years agoFix owner of /usr/share/packages directory. 20/28220/1 accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi tizen_3.0.2014.q3_common tizen_3.0.m14.3_ivi accepted/tizen/common/20141002.100327 accepted/tizen/ivi/20141007.214540 submit/tizen_common/20141001.093953 submit/tizen_ivi/20141007.111111 tizen_3.0.2014.q3_common_release tizen_3.0.m14.3_ivi_release
Baptiste DURAND [Tue, 30 Sep 2014 12:30:15 +0000 (14:30 +0200)]
Fix owner of /usr/share/packages directory.

To allow installation for all users, we need to assign tizenglobalapp user as owner of
/usr/share/packages

Change-Id: I3b05bc77e65185783a769f13e04c8870b7e00b87
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
9 years agoFix Error case 91/27691/1 accepted/tizen/common/20140918.092729 accepted/tizen/ivi/20140925.212643 submit/tizen_common/20140918.091430 submit/tizen_ivi/20140919.000000 submit/tizen_ivi/20140924.000000 submit/tizen_ivi/20140924.063121 submit/tizen_ivi/20140924.150732
Baptiste DURAND [Wed, 17 Sep 2014 12:34:42 +0000 (14:34 +0200)]
Fix Error case

In case of missing database, using some CAPI leads to crash.
Fix this case
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
Change-Id: I418f5fff728df15aafe2d699f860af46db44d416

9 years agoRobustness changes 31/27631/1 accepted/tizen/common/20140917.103347 submit/tizen_common/20140916.181156 submit/tizen_common/20140916.203010
Sabera Djelti (sdi2) [Fri, 12 Sep 2014 15:30:00 +0000 (17:30 +0200)]
Robustness changes

As Root user has no databases:
- getUserPkgCertDBPathUID()
-getUserPkgParserDBPathUID()
- getIconPath()
should fail if they call by root user

Change-Id: I3661d77c079d28d4fd3c7d14093183695a92489d
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
9 years agoFix DB filename 30/27630/1
Baptiste DURAND [Thu, 11 Sep 2014 10:04:33 +0000 (12:04 +0200)]
Fix DB filename

Change-Id: I181a9db2f32073103bf54d60715a15c1f4cb3061
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
9 years agoFix permission management 29/27629/1
Sabera Djelti (sdi2) [Mon, 8 Sep 2014 13:09:00 +0000 (15:09 +0200)]
Fix permission management

Database should have correct label and permission

Change-Id: Ib38f3e0c6e728a71508f250d545cb669dcaf7fd5
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
9 years agochange GLOBAL_USER to tzplatform_getuid
Sabera Djelti (sdi2) [Tue, 2 Sep 2014 16:19:16 +0000 (18:19 +0200)]
change GLOBAL_USER to tzplatform_getuid

Change-Id: I104aacd93c93d27ab0ac2cd2489fe8708bf3a4a4
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
9 years agoRemove chsmack + fix surplus directories accepted/tizen/common/20140905.101845 accepted/tizen/ivi/20140909.103716 submit/tizen_common/20140905.101748 submit/tizen_ivi/20140909.000000
Sabera Djelti (sdi2) [Thu, 4 Sep 2014 09:31:55 +0000 (11:31 +0200)]
Remove chsmack + fix surplus directories

Change-Id: I281c3adbd11297fa26c3a9330de1f89b73af48e9
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
9 years agoRefactoring code (use the call of _usr_ function) 27/26927/1
Sabera Djelti (sdi2) [Mon, 1 Sep 2014 14:13:23 +0000 (16:13 +0200)]
Refactoring code (use the call of _usr_ function)

Change-Id: I5a827de69caf5e95504a545e9d64229cac2bcb0a
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
9 years agoFix TC-1539 33/26733/1 submit/tizen_common/20140828.122453 submit/tizen_ivi/20140829.000000
Baptiste DURAND [Thu, 28 Aug 2014 11:50:59 +0000 (13:50 +0200)]
Fix TC-1539

Fix icon management to avoid segfault during pkginit_db execution

Change-Id: Ie52a5e87e526ec85ec0ce45310c2732e1576faa0
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
9 years agofix TC-1516 accepted/tizen/common/20140826.160511 submit/tizen_common/20140826.135635 submit/tizen_ivi/20140827.000000 submit/tizen_ivi/20140828.000000
Sabera Djelti (sdi2) [Mon, 18 Aug 2014 08:41:59 +0000 (10:41 +0200)]
fix TC-1516

fix permission icons dir
fix display image icon
fix use pkgmgr_appinfo_get_usr_list

Bug-Tizen: TC-1516

Change-Id: I95a13a215e4700dc471eec95dbf10b060f3881db
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
9 years agoFix (run application with) xwalk-launcher 27/26027/1 submit/tizen_common/20140814.134251 submit/tizen_ivi/20140818.000000 submit/tizen_ivi/20140818.000001 submit/tizen_ivi/20140818.000002 submit/tizen_ivi/20140822.000000
Sabera Djelti (sdi2) [Wed, 13 Aug 2014 11:39:03 +0000 (13:39 +0200)]
Fix (run application with) xwalk-launcher

Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
Change-Id: I604e4292dca894cf5173d44158afb6423685778f

9 years agoMulti user features 20/25720/2 submit/tizen_common/20140811.160835 submit/tizen_common/20140811.161134 submit/tizen_common/20140811.192137 submit/tizen_ivi/20140813.000000
Sabera Djelti (sdi2) [Tue, 17 Jun 2014 14:27:52 +0000 (16:27 +0200)]
Multi user features

    ->Add / Use Usr App related fonctions instead of Global App related Functions

Change-Id: Iebd5b7b66f9446a61c608b32669cec94a269063d
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
9 years agoFix TC-1351: Fix certificate database management 74/23774/2 tizen_3.0.m14.2_ivi accepted/tizen/common/20140702.153606 accepted/tizen/ivi/20140703.042103 submit/tizen/20140702.132821 tizen_3.0.m14.2_ivi_release
Baptiste DURAND [Wed, 2 Jul 2014 13:09:18 +0000 (15:09 +0200)]
Fix TC-1351: Fix certificate database management

Change-Id: I9710be20ebf3f429c8de849186dd4fa9b4e431ac
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
9 years agoMerge "Create pkgmgr_cert-journal.db" into tizen
Semun Lee [Tue, 10 Jun 2014 23:43:45 +0000 (16:43 -0700)]
Merge "Create pkgmgr_cert-journal.db" into tizen

9 years agoFix possible buffer overflow 32/22332/1 submit/tizen_common/20140602.071652 submit/tizen_ivi/20140618.000000 submit/tizen_ivi/20140618.000001 submit/tizen_ivi/20140619.000000 submit/tizen_ivi/20140622.000000 submit/tizen_ivi/20140623.000000 submit/tizen_ivi/20140623.000001 submit/tizen_ivi/20140624.064036 submit/tizen_ivi/20140626.125712 submit/tizen_ivi/20140626.130032 submit/tizen_ivi/20140626.144348
Baptiste DURAND [Mon, 2 Jun 2014 06:31:35 +0000 (08:31 +0200)]
Fix possible buffer overflow

Change-Id: I9365357750f6ff90c97001d244376d8d84e97112
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
9 years agoCreate pkgmgr_cert-journal.db 82/22282/1
Sabera Djelti (sdi2) [Fri, 30 May 2014 16:39:20 +0000 (18:39 +0200)]
Create pkgmgr_cert-journal.db

Change-Id: Iba3c5b5f62ea8c68e08a6bb732600f641ef88cfa
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
9 years agoAdd Requires on TzPlatformConfig devel package for pkgmgr-parser-devel package 11/22011/1 submit/tizen_common/20140528.183233 submit/tizen_common/20140529.194900 submit/tizen_common/20140530.020532 submit/tizen_common/20140530.021300
Baptiste DURAND [Wed, 28 May 2014 18:30:38 +0000 (20:30 +0200)]
Add Requires on TzPlatformConfig devel package for pkgmgr-parser-devel package

Change-Id: I38e6e06d3bfd9cd35d4a119f3e53b0e58d890c8b
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
9 years agoAdd path for multiuser support 02/22002/1 submit/tizen_common/20140528.173953
Sabera Djelti (sdi2) [Wed, 21 May 2014 08:22:34 +0000 (10:22 +0200)]
Add path for multiuser support

Change-Id: Id3a9c0f28836904677f85e5ba9ec636df8470150
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
10 years agoAdd multi-user support 59/18259/3 submit/tizen_common/20140521.163740 submit/tizen_common/20140522.130648 submit/tizen_common/20140522.135644
Kévin THIERRY [Wed, 19 Mar 2014 14:31:08 +0000 (15:31 +0100)]
Add multi-user support

Bug-Tizen: PTREL-343
Change-Id: Ia704dfec14515e05b81a26fbabf78ad28281464d
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
10 years agoinstall missing tag_parser_list.txt file 15/15515/1 accepted/tizen/generic accepted/tizen/ivi/stable accepted/tizen/mobile accepted/tizen_generic accepted/tizen_ivi_panda accepted/tizen_ivi_release tizen_ivi_release accepted/tizen/generic/20140123.093414 accepted/tizen/generic/20140312.094739 accepted/tizen/ivi/20140123.173134 accepted/tizen/ivi/panda/20140312.112256 accepted/tizen/ivi/release/20140312.044816 accepted/tizen/ivi/release/20140312.114521 accepted/tizen/mobile/20140123.162950 submit/tizen/20140123.093503 submit/tizen/20140312.070643 submit/tizen_ivi_release/20140312.045046 submit/tizen_ivi_release/20140312.071109
Corentin Lecouvey [Wed, 22 Jan 2014 12:59:41 +0000 (13:59 +0100)]
install missing tag_parser_list.txt file

It allows to load some pkgmgr plugins (listed below) when installing an app.
   - shortcut-list
   - livebox
   - account
   - notifications
   - privileges
   - ime
   - font

For example, when installing Settings widget with wrt-installer,
pkgmgr-parser can now load privileges plugin from privacy-manager.
The consequence is that Settings app privacy is inserted in privacy database.

At runtime, Web API access is granted after checking privileges and privacy
in corresponding databases.

Bug-Tizen : TIVI-2617, TIVI-2504/part

Change-Id: If28b0fe6f4041d47b382595a4dd747a9a6203c1c
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
10 years agoFix amd crash due to call in unmapped callback function 91/14691/1 accepted/tizen/generic/20140114.095141 accepted/tizen/ivi/20140110.224123 accepted/tizen/mobile/20140113.182042 submit/tizen/20140110.220142
Chengwei Yang [Fri, 10 Jan 2014 02:06:41 +0000 (10:06 +0800)]
Fix amd crash due to call in unmapped callback function

Bug: https://bugs.tizen.org/jira/browse/PTREL-591
Change-Id: I7ba09933456dd5f40d0ce0ce048de0747147936f
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
10 years agofix : undefined reference to `__get_pkg_location' 56/14156/3 accepted/tizen/ivi/release accepted/tizen/generic/20140106.140334 accepted/tizen/generic/20140108.092320 accepted/tizen/ivi/20131231.184200 accepted/tizen/ivi/release/20140108.212213 accepted/tizen/mobile/20140107.212826 submit/tizen/20131231.064147 submit/tizen/20140108.022427 submit/tizen_ivi_release/20140108.030126
junsuk77.oh [Wed, 25 Dec 2013 23:22:52 +0000 (08:22 +0900)]
fix : undefined reference to `__get_pkg_location'

Change-Id: Ia4cb33e50aeaa045be48ef2cf7051923d48f7226

10 years agofix build fail for missing definition 05/14105/1
junsuk77.oh [Mon, 23 Dec 2013 09:32:19 +0000 (18:32 +0900)]
fix build fail for missing definition

Change-Id: Ib1c1ab5926556eec6e949ab9d97bd942ed9f5f99

10 years agoadd request api for build fail 62/14062/1
junsuk77.oh [Mon, 23 Dec 2013 04:39:34 +0000 (13:39 +0900)]
add request api for build fail

Change-Id: I50bf34c711a1877c6ca886892314546a1ecd7320

10 years agoadd PMINFO client api for build fail 58/14058/1
junsuk77.oh [Mon, 23 Dec 2013 01:31:15 +0000 (10:31 +0900)]
add PMINFO client api for build fail

Change-Id: Ie566f853df33cc8caf785425d1d437ef4b87fa6f

10 years agoPTREL-129: Create the RW manifest directory 99/11199/1 accepted/tizen/20131022.230545 accepted/tizen/20131023.075718 accepted/tizen/20131112.015251 accepted/tizen_ivi_stable/20131116.110732 submit/tizen/20131022.200447 submit/tizen_ivi_stable/20131116.100249
Rusty Lynch [Tue, 22 Oct 2013 19:31:47 +0000 (12:31 -0700)]
PTREL-129: Create the RW manifest directory

Start creating and taking ownership of the read-write application
manifest directory.

Change-Id: Iddcd94ef1942eceed344e4df4cee91be085935ac
Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
10 years agoSync to the latest code 04/10404/3 accepted/tizen/20131014.080211 accepted/tizen/20131014.171855 accepted/tizen/20131014.173836 submit/tizen/20131014.075729
junsuk77.oh [Tue, 1 Oct 2013 12:12:01 +0000 (21:12 +0900)]
Sync to the latest code

1. add get char api to remove null string
2. dont check db/setting/theme vconf key duging checking of icon path
3. add submode info to desktop file
4. install fail when insert db is failed
5. implement mdm policy
6. change log api to use uniformed debug message
7. delete null string in pkgmgr db
8. change mdparser api name
9. add tag parser plugin
10. dont use global variable that is used for db query
11. fix bug - set-label api does not work properly
12. Fixed Prevent issue 31276

Change-Id: I6d8e5973c18ee46918beec6cd1c61cc9a004929e
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
10 years agoupdate changelog accepted/tizen/20130917.013935 accepted/tizen/20130917.013946 accepted/tizen/20130917.190707 submit/tizen/20130916.174238
Anas Nashif [Mon, 16 Sep 2013 17:42:26 +0000 (13:42 -0400)]
update changelog

10 years agoMerge branch 'tizen_2.2' into tizen
Anas Nashif [Mon, 16 Sep 2013 17:32:59 +0000 (13:32 -0400)]
Merge branch 'tizen_2.2' into tizen

Conflicts:
CMakeLists.txt
packaging/pkgmgr-info.spec
parser/pkgmgr_parser.c
parser_path.conf.in

10 years agoSync to the latest code
junsuk77.oh [Mon, 5 Aug 2013 06:27:48 +0000 (15:27 +0900)]
Sync to the latest code

Change-Id: I2a9c06dfa1af86742e27750761b83a4152159494
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
10 years agoRemove the manifest template files 53/5653/1 accepted/tizen/ivi/genivi tizen_ivi_genivi accepted/tizen/20130711.185317 accepted/tizen/20130912.153458 accepted/tizen/20130912.190550 accepted/tizen/20130912.194804 accepted/tizen/ivi/genivi/20140131.060101 accepted/tizen_ivi_release/20131120.050459 ivi_oct_m2 submit/tizen/20130711.182932 submit/tizen/20130912.080247 submit/tizen/20130912.090549 submit/tizen_ivi_genivi/20140131.060234 submit/tizen_ivi_release/20131120.022726 submit/tizen_ivi_release/20131120.025949
Patrick McCarty [Thu, 11 Jul 2013 18:23:07 +0000 (11:23 -0700)]
Remove the manifest template files

The old manifest templates at top level should be removed to avoid
clobbering the intended manifest in packaging/.

Change-Id: I867885a93e2dcc051a7f712baf2da9b908c19555

10 years agoXML reader check linefeed on manifest parser
junsuk77.oh [Thu, 11 Jul 2013 01:54:55 +0000 (10:54 +0900)]
XML reader check linefeed on manifest parser

Change-Id: I93324256c7a7214efbb0885595e349d454dda8df
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
10 years agoresetting manifest requested domain to floor 76/4476/2
Alexandru Cornea [Fri, 28 Jun 2013 13:26:58 +0000 (16:26 +0300)]
resetting manifest requested domain to floor

10 years agoresetting manifest requested domain to floor 42/5142/2
Alexandru Cornea [Mon, 1 Jul 2013 13:43:13 +0000 (16:43 +0300)]
resetting manifest requested domain to floor

10 years agoFix Runtimes Issue : Remove hardcoded path 49/5549/1 accepted/tizen/20130708.152515 submit/tizen/20130708.121957
Baptiste DURAND [Mon, 8 Jul 2013 11:45:42 +0000 (13:45 +0200)]
Fix Runtimes Issue : Remove hardcoded path

Fix https://bugs.tizen.org/jira/browse/TDIST-250

10 years agoclean %post and use SYSCONFDIR 78/5478/3 accepted/tizen/20130703.235718 submit/tizen/20130703.204637
Anas Nashif [Wed, 3 Jul 2013 18:09:36 +0000 (14:09 -0400)]
clean %post and use SYSCONFDIR

- remove obsolete debian directory

Change-Id: Ic5d45ae16b5cdd149f1f1509b0fc480045369d02
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
10 years agoimplement app screen reader
junsuk77.oh [Wed, 3 Jul 2013 01:41:07 +0000 (10:41 +0900)]
implement app screen reader

Change-Id: I9362cb04c6296105266d94e65d7c56b83a2c409a
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
10 years agorollback rpm smack
junsuk77.oh [Fri, 28 Jun 2013 04:54:47 +0000 (13:54 +0900)]
rollback rpm smack

Change-Id: I29da3cfa0c825df8ac3615d4b85e86c938689517
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
10 years agoimplement smack to rpm pkg
junsuk77.oh [Thu, 27 Jun 2013 12:18:54 +0000 (21:18 +0900)]
implement smack to rpm pkg

Change-Id: I494d35c1c874684ec3721e42cc2b14d1344221b3
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
10 years agoimplement new api for preload-system
junsuk77.oh [Thu, 27 Jun 2013 02:15:09 +0000 (11:15 +0900)]
implement new api for preload-system

Change-Id: Id20277b1b3b76313dc221b9f153a4f0280699742
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
10 years agochange smack lable
junsuk77.oh [Fri, 21 Jun 2013 07:12:35 +0000 (16:12 +0900)]
change smack lable

Change-Id: I18fe7132b8f8e37f6bff5276e6aae551bf129efd
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
10 years agomerge master branch
junsuk77.oh [Tue, 18 Jun 2013 09:13:03 +0000 (18:13 +0900)]
merge master branch

Change-Id: I560765997e5f9ea7e6250eb25075ea9b1562ac1d
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
10 years agomerge master branch
junsuk77.oh [Thu, 13 Jun 2013 01:45:39 +0000 (10:45 +0900)]
merge master branch

1. add subapp data of app
2. keep csc path data during update
3. add new api to check app preload status

Change-Id: I66f6ef2521ddc2e8100f65f7058841d52984631c
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
10 years agoimplement app format tag
junsuk77.oh [Tue, 11 Jun 2013 04:27:38 +0000 (13:27 +0900)]
implement app format tag

Change-Id: I498b1e780c0f7fbd8125ad7734780e5302fd1190
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
10 years agoMerge branch private-master
junsuk77.oh [Mon, 10 Jun 2013 04:49:05 +0000 (13:49 +0900)]
Merge branch private-master

Change-Id: I88990e27a02ccdb139bfce579bdd522f38112efb
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
10 years agoAdd Changelog 50/3750/1 accepted/tizen/20130529.152311 submit/tizen/20130529.155447
Baptiste DURAND [Wed, 29 May 2013 14:58:29 +0000 (16:58 +0200)]
Add Changelog

10 years agoFix spec file according to RPMLINT Rules 14/3714/2
Baptiste DURAND [Wed, 29 May 2013 14:17:52 +0000 (16:17 +0200)]
Fix spec file according to RPMLINT Rules

10 years agoFix x64 arch compatibility 13/3713/1
Baptiste DURAND [Wed, 29 May 2013 08:01:28 +0000 (10:01 +0200)]
Fix x64 arch compatibility

Fix harcoded lib path in the code

10 years agoimplement csc path, is_update status
junsuk77.oh [Wed, 29 May 2013 03:48:32 +0000 (12:48 +0900)]
implement csc path, is_update status

Change-Id: I5e5fe08c1c7c16a0890fca6b72ca562336acbf1f
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
10 years agofix app activation icon is not appeared
junsuk77.oh [Thu, 23 May 2013 06:42:44 +0000 (15:42 +0900)]
fix app activation icon is not appeared

Change-Id: I728f1e36a319f03df5a6229b3acef0d5f755667a
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
10 years agodelete opt desktop file during preload updated
junsuk77.oh [Thu, 23 May 2013 03:03:01 +0000 (12:03 +0900)]
delete opt desktop file during preload updated

Change-Id: Ic2264d03f275227b380dbf09f18d8c39a1743af4
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agoMerge "Adding Mime types parsing" into tizen_2.1
Brad Peters [Wed, 15 May 2013 17:36:08 +0000 (02:36 +0900)]
Merge "Adding Mime types parsing" into tizen_2.1

11 years agofix permission crash error
junsuk77.oh [Wed, 15 May 2013 12:52:18 +0000 (21:52 +0900)]
fix permission crash error

Change-Id: Id4da031b6d11e39ade4c217984deb8f499a0285f
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agoAdding Mime types parsing
Stanislav Radomskiy [Thu, 25 Apr 2013 07:55:03 +0000 (10:55 +0300)]
Adding Mime types parsing

Fixing TREL-334

Change-Id: Ia6a00dd2e2b948272d7937bf69ba464ad7fd653a

11 years agoadd permission type on attribution, new api to get installed list with minimum info tizen_2.1 accepted/tizen/20130520.100925 submit/tizen/20130517.044818 submit/tizen_2.1/20130516.045836
junsuk77.oh [Tue, 14 May 2013 04:44:41 +0000 (13:44 +0900)]
add permission type on attribution, new api to get installed list with minimum info

Change-Id: I10b84c61e37d6f8ca5d6a18f387e5d346242df95
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agoadd pkg url info to handle submit/tizen_2.1/20130514.054738
junsuk77.oh [Mon, 13 May 2013 07:17:00 +0000 (16:17 +0900)]
add pkg url info to handle

Change-Id: I16594d3231ff0d7535e7a030c77fd5c45471e96f
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agoadd package url attritute
junsuk77.oh [Thu, 9 May 2013 09:15:25 +0000 (18:15 +0900)]
add package url attritute

Change-Id: Ib94dec4deb939455548bffdf979e108d0b215734
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agoupdate preload info during upgrade api is called
junsuk77.oh [Thu, 9 May 2013 02:48:26 +0000 (11:48 +0900)]
update preload info during upgrade api is called

Change-Id: Ibac4edd1a5ef3afdbb1fbb0d5594861f0a41728b
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agomerge master branch
junsuk77.oh [Wed, 8 May 2013 01:34:41 +0000 (10:34 +0900)]
merge master branch

fix ug icon path to find a real icon
add smack rule for pkgmgr db
check manifest tag for updating during installation
fix pkg label query excution

Change-Id: Id18dda958843b5f4b7d76ee67746170a1316e049
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agoremove appsvc db during uninstall 2.1b_release accepted/tizen_2.1/20130425.035436 submit/tizen_2.1/20130424.230857
junsuk77.oh [Wed, 17 Apr 2013 04:34:33 +0000 (13:34 +0900)]
remove appsvc db during uninstall

Change-Id: I30181c35a030fd13f844d2c7e610b363b596da2d
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agorollback parser child process
junsuk77.oh [Fri, 12 Apr 2013 09:28:33 +0000 (18:28 +0900)]
rollback parser child process

Change-Id: I3412e10631aca3f19db15f1719e5ee384956e43a
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agofix root path to have a pkgid, __ps_run_parser to fork child and do dlopen
junsuk77.oh [Thu, 11 Apr 2013 14:19:13 +0000 (23:19 +0900)]
fix root path to have a pkgid, __ps_run_parser to fork child and do dlopen

Change-Id: Ia760a763444e97de068bfe24c6313a68b2f51643
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agoclean unused api and debug messgae
junsuk77.oh [Tue, 9 Apr 2013 11:26:06 +0000 (20:26 +0900)]
clean unused api and debug messgae

Change-Id: Idc5f5a22dd85d9bdf1d044d5e3e401b0809970a5
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agoclean unused api, debug message
junsuk77.oh [Tue, 9 Apr 2013 08:09:05 +0000 (17:09 +0900)]
clean unused api, debug message

Change-Id: I90e6c781dbdb7bef37fec073f4efa6490b9d202b
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agoMerge branch private
junsuk77.oh [Mon, 8 Apr 2013 09:10:38 +0000 (18:10 +0900)]
Merge branch private

1. Implemented privilege API
2. Fixed SEGFAULT in pkg filter API
3. removed gcc warning
4. code cleanup
5. fixed Prevent Issues

Change-Id: I7f791ce5956c3dae3d8bfa63e7cc06695fa289b8
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agoFix x86_64 build
Anas Nashif [Wed, 6 Mar 2013 15:36:20 +0000 (16:36 +0100)]
Fix x86_64 build

- Fixed hardcoded library install path : Spec File, *CMakeLists.txt, *.pc.in
- Use %cmake macro to set default paths : Spec file
- Rename pkgmgr-info.manifest in pkgmgr-info.manifest.in (Fix hardcoded library path)
- Rename pkgmgr-parser.manifest in pkgmgr-parser.manifest.in (Fix hardcoded library path)

Change-Id: I54e79a1b11fe74ce3d164b7771ac3a58eb92245c
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
11 years agometadata can get the null value
junsuk77.oh [Mon, 1 Apr 2013 01:24:24 +0000 (10:24 +0900)]
metadata can get the null value

Change-Id: Id6f0ed0b9f9cdd4da53efe799de36d0dd93c6f51
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agoMerge branch devel/arch/master
junsuk77.oh [Wed, 27 Mar 2013 00:44:28 +0000 (09:44 +0900)]
Merge branch devel/arch/master

1. Implemented metadata filtering. Fixed memory leaks
2. Applied ime tag plugin
3. Optimized Certificate APIs for memory and time

Change-Id: Ia5047d26d260a84ebf59a4daa7c57a00eb54a5d3
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agoApplied privileges tag plugin
junsuk77.oh [Wed, 20 Mar 2013 03:40:12 +0000 (12:40 +0900)]
Applied privileges tag plugin

Change-Id: I3ef68bc1363be586fc6fb810fe7587d78e0b77b3
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agoadd new filter key to get installed storage
junsuk77.oh [Tue, 19 Mar 2013 07:03:22 +0000 (16:03 +0900)]
add new filter key to get installed storage

Change-Id: Iea2936ae0d3845b2146780717c6c51b28d1b5132
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>