platform/core/appfw/wgt-backend.git
7 years agomodify smoke-test setup for consideration of user-db change. 99/82999/1 accepted/tizen/common/20160809.184001 accepted/tizen/ivi/20160809.232619 accepted/tizen/mobile/20160809.232357 accepted/tizen/tv/20160809.232508 accepted/tizen/wearable/20160809.232713 submit/tizen/20160809.011327 submit/tizen/20160809.051427
jongmyeongko [Mon, 8 Aug 2016 13:45:35 +0000 (22:45 +0900)]
modify smoke-test setup for consideration of user-db change.

Change-Id: Ia19906f4561e92f5d20df056cbae64caa8ad2312
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoremove unit-test code for extra icon path. 65/82865/1
jongmyeongko [Mon, 8 Aug 2016 07:48:10 +0000 (16:48 +0900)]
remove unit-test code for extra icon path.

Change-Id: I895b6ca06c97222ce3d4ccce881c3c4e575b1450
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoFix preload request for wgt 96/82496/3
Tomasz Iwanek [Wed, 3 Aug 2016 12:10:38 +0000 (14:10 +0200)]
Fix preload request for wgt

This commit should allow to install preload wgt package with command:
 - wgt-backend --preload -i $package

Submit together:
 - https://review.tizen.org/gerrit/82424
 - https://review.tizen.org/gerrit/82496
 - https://review.tizen.org/gerrit/82497

Change-Id: Iafdd60cd6b4cee166dcc5177c605dad316adfc27

7 years agoReorder step for consistency 27/82427/2
Tomasz Iwanek [Wed, 3 Aug 2016 08:44:31 +0000 (10:44 +0200)]
Reorder step for consistency

Change-Id: Idd921dbb7bd9f8250371ac7049f11f772ce1ed81

7 years agoGenerate appwidget metadata 05/81505/2 accepted/tizen/common/20160803.193306 accepted/tizen/ivi/20160804.080818 accepted/tizen/mobile/20160804.080907 accepted/tizen/tv/20160804.080734 accepted/tizen/wearable/20160804.080640 submit/tizen/20160803.012753
Tomasz Iwanek [Tue, 26 Jul 2016 13:04:20 +0000 (15:04 +0200)]
Generate appwidget metadata

Requires:
 - https://review.tizen.org/gerrit/81504

Change-Id: I236535a8707aa01325215146b3f1ca8ccf3ab84b

7 years agoRemove StepAcquireExternalStorage from Reinstall 52/77052/5
Sangyoon Jang [Tue, 28 Jun 2016 10:29:34 +0000 (19:29 +0900)]
Remove StepAcquireExternalStorage from Reinstall

StepAcquireExternalStorage does not support reinstall yet.

Change-Id: I49c5e4f0b998ba2ff902f1bd9effb3cfa1163c2a
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoSmoke test for enable/disable pkg 90/82090/2
Piotr Ganicz [Thu, 28 Jul 2016 10:40:35 +0000 (12:40 +0200)]
Smoke test for enable/disable pkg

I've made also small refactor

Change-Id: I7a4a5083d7d92872fe531016efc53f3c05590a2f

7 years agoReorder steps for delta update for external installation 92/80292/4
Tomasz Iwanek [Fri, 15 Jul 2016 12:54:57 +0000 (14:54 +0200)]
Reorder steps for delta update for external installation

Requires:
 - https://review.tizen.org/gerrit/80277

To verify, check that delta update mode works for external storage.

Change-Id: I43433d8fc44136341c084e552042d4195ba2d1b5

7 years agoFix build warning 47/81647/1
Sangyoon Jang [Wed, 27 Jul 2016 10:44:21 +0000 (19:44 +0900)]
Fix build warning

Change-Id: I9bf2df3544921fe9a5fde76434f2f7597cbdd21a
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agosupport of legacy app directories. 24/80324/4 accepted/tizen/common/20160722.135227 accepted/tizen/ivi/20160724.042110 accepted/tizen/mobile/20160724.042018 accepted/tizen/tv/20160724.042043 accepted/tizen/wearable/20160724.042057 submit/tizen/20160722.091303
jongmyeongko [Sat, 16 Jul 2016 08:57:59 +0000 (17:57 +0900)]
support of legacy app directories.

Requires:
        https://review.tizen.org/gerrit/#/c/80319/4

Change-Id: I9cfa081c634dba4a173d1bcabfb6f2c03eeabe18
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoImplement pkg enable/disable 83/79683/1
Tomasz Iwanek [Tue, 12 Jul 2016 09:46:04 +0000 (11:46 +0200)]
Implement pkg enable/disable

Requires:
 - https://review.tizen.org/gerrit/78919

Change-Id: Ic5c001fe2b91e81d35a66891f17cfafb2de3f9a1

7 years agoFix memory leak in CheckPrivilegeLevel 88/79388/3
Piotr Ganicz [Mon, 11 Jul 2016 06:56:15 +0000 (08:56 +0200)]
Fix memory leak in CheckPrivilegeLevel

This patch fixes also typo in the function name.

Change-Id: If118e0fd8d220e0d5dbb65a88b3a8f55a8cd343b

7 years agoimplement step for use user extension 28/75028/5 accepted/tizen/common/20160707.171532 accepted/tizen/ivi/20160707.043119 accepted/tizen/mobile/20160707.043137 accepted/tizen/tv/20160707.043001 accepted/tizen/wearable/20160707.043135 submit/tizen/20160707.013535
Inhwan Lee [Thu, 16 Jun 2016 10:14:55 +0000 (19:14 +0900)]
implement step for use user extension

Change-Id: Ie5442f543f6e4dc3dbf78685716db2b113c021d0

7 years agoFixed app_keys name.(kAccountKey -> kTizenImeKey) 01/78301/1 accepted/tizen/common/20160705.170148 accepted/tizen/ivi/20160705.101331 accepted/tizen/mobile/20160705.101355 accepted/tizen/tv/20160705.101315 accepted/tizen/wearable/20160705.101333 submit/tizen/20160705.054422
JongHeon Choi [Tue, 5 Jul 2016 05:29:55 +0000 (14:29 +0900)]
Fixed app_keys name.(kAccountKey -> kTizenImeKey)

Change-Id: Ifba625f6d0513499fed01360f63cacfc64b9d86d

7 years agoCheck if widget's shared/res/ entry is directory 52/77852/2 accepted/tizen/common/20160706.141407 accepted/tizen/ivi/20160705.044611 accepted/tizen/mobile/20160705.044443 accepted/tizen/tv/20160705.044553 accepted/tizen/wearable/20160705.044507 submit/tizen/20160704.042542
Tomasz Iwanek [Fri, 1 Jul 2016 09:01:36 +0000 (11:01 +0200)]
Check if widget's shared/res/ entry is directory

Installation will succeed if shared/res entry is not directory.

Change-Id: I06e2b3934dd1342ad7ae98fd681a4b2a21d13885

7 years ago[Refactor] check-coding-style 64/77064/1
Piotr Ganicz [Tue, 28 Jun 2016 10:52:34 +0000 (12:52 +0200)]
[Refactor] check-coding-style

Change-Id: If44523674d80b403d32af34848230f53a2620d0b

7 years agoModify nodisplay value of widget-application 14/76714/3 accepted/tizen/common/20160703.125742 accepted/tizen/ivi/20160629.015654 accepted/tizen/mobile/20160629.015613 accepted/tizen/tv/20160629.015725 accepted/tizen/wearable/20160629.015531 submit/tizen/20160627.042541 submit/tizen_common/20160701.180000
JongHeon Choi [Mon, 27 Jun 2016 04:26:44 +0000 (13:26 +0900)]
Modify nodisplay value of widget-application

Change-Id: I1cc298f5761d9bdd0b446a7cc06a937244f83187

7 years agoAdd 'multiple-accounts-support' attribute for false values 50/76050/2
Arkadiusz Szulakiewicz [Wed, 22 Jun 2016 12:29:06 +0000 (14:29 +0200)]
Add 'multiple-accounts-support' attribute for false values

Change-Id: I16f212ec25689115c890f5688cdd7f8657cbebda

7 years agoSplit API in pkgmgr_registration.h 07/75107/5 accepted/tizen/common/20160624.133942 accepted/tizen/ivi/20160624.064700 accepted/tizen/mobile/20160624.064601 accepted/tizen/tv/20160624.064519 accepted/tizen/wearable/20160624.064720 submit/tizen/20160624.022316
Tomasz Iwanek [Thu, 16 Jun 2016 12:57:58 +0000 (14:57 +0200)]
Split API in pkgmgr_registration.h

Submit together:
 - https://review.tizen.org/gerrit/75107
 - https://review.tizen.org/gerrit/75108
 - https://review.tizen.org/gerrit/75109

Change-Id: I259d3aac621443e7985fc2d5aa87e99d5a7bd959

7 years agoFix for update-period 68/76068/6
Piotr Ganicz [Wed, 22 Jun 2016 07:51:31 +0000 (09:51 +0200)]
Fix for update-period

Change-Id: Ic8adec0d7bd7aa14a3b5e054aaed67d5cb1d849c

7 years agoRefactoring StepParse 24/75824/3
Piotr Ganicz [Tue, 21 Jun 2016 08:50:51 +0000 (10:50 +0200)]
Refactoring StepParse

Change-Id: Ib396f828909c4c114c82876b504c37bdb682a128

7 years agoRename backup_paths.h to paths.h 98/74298/5
Tomasz Iwanek [Mon, 13 Jun 2016 14:06:10 +0000 (16:06 +0200)]
Rename backup_paths.h to paths.h

Submit together:
 - https://review.tizen.org/gerrit/74296
 - https://review.tizen.org/gerrit/74297
 - https://review.tizen.org/gerrit/74298

Change-Id: I9b679eebc05951df0e9c706c1495bf54a376fb9e

7 years agogrant User label to wgt-backend 78/75978/1 accepted/tizen/common/20160622.150028 accepted/tizen/ivi/20160623.122225 accepted/tizen/mobile/20160623.122135 accepted/tizen/tv/20160623.122153 accepted/tizen/wearable/20160623.122209 submit/tizen/20160622.091102
jongmyeongko [Wed, 22 Jun 2016 08:52:03 +0000 (17:52 +0900)]
grant User label to wgt-backend

Change-Id: I301c4e2c990a7c3aab377cf9435bb194d8d40868
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoFix StepParse for tizen:service icon 56/71456/5 accepted/tizen/common/20160621.184529 accepted/tizen/ivi/20160622.093657 accepted/tizen/mobile/20160622.093546 accepted/tizen/tv/20160622.093616 accepted/tizen/wearable/20160622.093637 submit/tizen/20160621.063045
Tomasz Iwanek [Wed, 25 May 2016 10:39:18 +0000 (12:39 +0200)]
Fix StepParse for tizen:service icon

According to 782d65d706b0bc46e12a2e041a9331893c788f6c
icon path should be always set with full path.

To verify:
 - install widget with <tizen:service> tag and check shared/res/ for icons
   there should be one per tizen:service and one for widget itself.

Change-Id: I58d61c447b88a70de34faabaff81c07133f4cfe4

7 years agoNew use of tep steps 94/74294/4
Tomasz Iwanek [Mon, 13 Jun 2016 13:39:43 +0000 (15:39 +0200)]
New use of tep steps

For internal installation tep is removed with files removal.
For external installation tep file must be removed from sd card.

Requires:
 - https://review.tizen.org/gerrit/#/c/74068/

Submit together:
 - https://review.tizen.org/gerrit/#/c/74068/
 - https://review.tizen.org/gerrit/#/c/74293/
 - https://review.tizen.org/gerrit/#/c/74294/

Change-Id: I2457b1918d5cb8450c8d1f3f93d42bec77f65d5f

7 years agoImplement move request for wgt-backend 39/74039/3
Tomasz Iwanek [Fri, 10 Jun 2016 10:58:58 +0000 (12:58 +0200)]
Implement move request for wgt-backend

Check success of commands to verify:
  wgt-backend -i ${package}
  wgt-backend -m ${pkgid} -t 1
  wgt-backend -m ${pkgid} -t 2

Change-Id: I72ef419c1b4c5f99b3477265a7549a53c5efa838

7 years agoapply PIE option 77/75077/6 accepted/tizen/common/20160620.163124 accepted/tizen/ivi/20160617.083632 accepted/tizen/mobile/20160617.083455 accepted/tizen/tv/20160617.083328 accepted/tizen/wearable/20160617.083658 submit/tizen/20160616.134250
jongmyeongko [Thu, 16 Jun 2016 11:39:59 +0000 (20:39 +0900)]
apply PIE option

Change-Id: I7d3271747ff9be58b0f8a46637a8282000c59b3c
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoChange the binary name.(widget-client => web-widget-runtime) 23/73623/2 accepted/tizen/common/20160617.121223 accepted/tizen/ivi/20160617.082840 accepted/tizen/mobile/20160617.082657 accepted/tizen/tv/20160617.082644 accepted/tizen/wearable/20160617.082720 submit/tizen/20160616.081626
JongHeon Choi [Thu, 9 Jun 2016 02:30:12 +0000 (11:30 +0900)]
Change the binary name.(widget-client => web-widget-runtime)

Change-Id: If3da83217bd4e3739079689697a56b5454b714e0

7 years agoAdd StepCheckRestriction 05/74205/3 accepted/tizen/common/20160616.151550 accepted/tizen/ivi/20160616.002911 accepted/tizen/mobile/20160616.002840 accepted/tizen/tv/20160616.002823 accepted/tizen/wearable/20160616.002744 submit/tizen/20160615.073423
Sangyoon Jang [Mon, 13 Jun 2016 07:45:48 +0000 (16:45 +0900)]
Add StepCheckRestriction

Added at install, uninstall, reinstall, mount install.

Change-Id: I85ff7e43ac8b9033654b116b436a0db04953572f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoset label to prevent execution by non-system application. 93/74193/1
jongmyeongko [Mon, 13 Jun 2016 06:51:02 +0000 (15:51 +0900)]
set label to prevent execution by non-system application.

Change-Id: I12e682b56fa142919ef1d6941d995b7874cab130
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoFix generating widget-application item 75/72575/3 accepted/tizen/common/20160610.175859 accepted/tizen/ivi/20160609.091412 accepted/tizen/mobile/20160609.091547 accepted/tizen/tv/20160609.091350 accepted/tizen/wearable/20160609.091326 submit/tizen/20160609.010102
Tomasz Iwanek [Wed, 1 Jun 2016 11:29:06 +0000 (13:29 +0200)]
Fix generating widget-application item

This commit is based on:
 - https://review.tizen.org/gerrit/71796

The way it is changed is:
 - widget information is gathered in manifest_x structure and
   backend data because data that is created by StepParse is
   inserted into database directly according to past changes
   (even we add widget information to generated manifest
   it is not read).
 - icon path is full path for widget-application (same as for
   ui-application) to handle icon backup, copying and pkgmgr
   expectations.
 - <size> is changed to <support-size> defined in manifest.xsd.in
   in pkgmgr-info repository.

Requires:
 - https://review.tizen.org/gerrit/71798
 - https://review.tizen.org/gerrit/72573

Change-Id: I2c980ae205f29fb70928aba58d8d3458d88a9c90

7 years agoRefactoring of StepGenerateXml 99/71499/3
Piotr Ganicz [Wed, 25 May 2016 12:43:38 +0000 (14:43 +0200)]
Refactoring of StepGenerateXml

This patch provides refactoring for StepGenerateXml::process() method
into smaller pieces.

Change-Id: I3889f127bb4344a79cd18fb2875d6983a9ab20a7

7 years agoSTEP_NAME marco 29/72829/4
Tomasz Iwanek [Thu, 2 Jun 2016 12:58:32 +0000 (14:58 +0200)]
STEP_NAME marco

Adding marco to print name of step that failed
in AppInstaller class

Following must be submitted together:
 - https://review.tizen.org/gerrit/72827
 - https://review.tizen.org/gerrit/72828
 - https://review.tizen.org/gerrit/72829

Change-Id: I88056f428cc88ceb1a0c375103f4acc410314abe

7 years agoRemove ime checking for tizen:service 40/72540/3
Tomasz Iwanek [Wed, 1 Jun 2016 10:56:52 +0000 (12:56 +0200)]
Remove ime checking for tizen:service

Ime app is supposed to be main app only. This is not related to
tizen:service (service application).

Change-Id: I4c0046a07c4d019887a084d3cbe64127e89d6886

7 years agoPrivilages refactor 41/72341/3
Piotr Ganicz [Tue, 31 May 2016 10:46:10 +0000 (12:46 +0200)]
Privilages refactor

This patch moves the privileges.h header from wgt-backend
to app-installer repository. It collects the privileges
definitions to one place.

The following patchsets should be submitted together:
    - https://review.tizen.org/gerrit/72341
    - https://review.tizen.org/gerrit/72342

Change-Id: Ia714e68aafd32117bb5eeafe0a51094244425b8d

7 years agoAdd StepCheckTizenVersion 23/71623/2 accepted/tizen/common/20160602.140104 accepted/tizen/ivi/20160602.022911 accepted/tizen/mobile/20160602.023043 accepted/tizen/tv/20160602.022625 accepted/tizen/wearable/20160602.022758 submit/tizen/20160531.024853
Sangyoon Jang [Thu, 26 May 2016 08:14:35 +0000 (17:14 +0900)]
Add StepCheckTizenVersion

Change-Id: Ic006f0e6f5bf7c99c30aa5eb1c1c4866c294f867
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoExternal installation 79/61679/13
Tomasz Iwanek [Wed, 9 Mar 2016 16:18:58 +0000 (17:18 +0100)]
External installation

This patch implements installation of package in external sd card storage.
Tpk and wgt applications may declare preference of being installed on external
storage. If so and space requirement is satisified then their resource directory
is installed in sd card with use of app2sd API.

Following patchsets should be submitted together:
 - https://review.tizen.org/gerrit/61678
 - https://review.tizen.org/gerrit/61679
 - https://review.tizen.org/gerrit/61680

Verify by:
 - running smoke tests,
 - running installation, update, deinstallation for package that prefers external
   installation (SD card must be inserted).

Requires:
 - https://review.tizen.org/gerrit/#/c/64796/

Change-Id: I174c14ddfb48dc2bc1a5935c3b4799abd7f26332

7 years agoGenerate widget element in platform manifest 37/71237/6
Tomasz Iwanek [Tue, 24 May 2016 09:18:41 +0000 (11:18 +0200)]
Generate widget element in platform manifest

To verify, install widget with appwidget and:
 - check information generated in manifest file,
 - check creation of symlink for widgets in bin/ directory,
 - check preview icons in shared/res/ directory.

Requires:
 - https://review.tizen.org/gerrit/71235

Change-Id: I2a38aaee729c4c1f18200d2f63764c4c87e7d730

7 years agoFix manifest attributes 34/71234/3
Piotr Ganicz [Tue, 24 May 2016 11:48:33 +0000 (13:48 +0200)]
Fix manifest attributes

This patch repairs manifest.xml attributes when ime is the
type of the app.

Change-Id: I6cf77401058b922e426311b5a00ad8ab48a0e64a

7 years agoSmoke test for mount install 45/69745/2
Tomasz Iwanek [Fri, 13 May 2016 13:00:54 +0000 (15:00 +0200)]
Smoke test for mount install

Change-Id: I1241198b32e7154870db3710341aa717ba381b46

7 years agoRemove blacklist feature 15/70015/1 accepted/tizen/common/20160518.125136 accepted/tizen/ivi/20160518.090810 accepted/tizen/mobile/20160518.090839 accepted/tizen/tv/20160518.090745 accepted/tizen/wearable/20160518.090731 submit/tizen/20160518.054712
Junghyun Yeon [Tue, 17 May 2016 23:02:55 +0000 (08:02 +0900)]
Remove blacklist feature

Related with changes in app-installers
https://review.tizen.org/gerrit/69947

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

7 years agoFix style 62/69762/2
Tomasz Iwanek [Mon, 16 May 2016 14:07:24 +0000 (16:07 +0200)]
Fix style

Change-Id: I59a00a194561d25172a96c8f60314d01a5b08936

7 years agoFix step order in Delta mode for hybrid app 15/69115/2
Tomasz Iwanek [Wed, 11 May 2016 15:08:36 +0000 (17:08 +0200)]
Fix step order in Delta mode for hybrid app

Change-Id: I9d5c90da48231f9827fd096dbeef779c17e939da

7 years agoencrypting resources during update 07/69507/1
Kamil Rojewski [Fri, 13 May 2016 11:54:34 +0000 (13:54 +0200)]
encrypting resources during update

Change-Id: Idb4ee5a1edd356b718200fb5660971fe80ca8392

7 years agoadd PROJECT_TAG as 'WGT_BACKEND' 85/69185/2 accepted/tizen/common/20160513.123348 accepted/tizen/ivi/20160513.004713 accepted/tizen/mobile/20160513.004741 accepted/tizen/tv/20160513.004657 accepted/tizen/wearable/20160513.004630 submit/tizen/20160512.083806
jongmyeongko [Thu, 12 May 2016 05:51:20 +0000 (14:51 +0900)]
add PROJECT_TAG as 'WGT_BACKEND'

Change-Id: I2a4e6248d068229e93e97f1af55203b5dcd0f622
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoReorder steps for StepDeltaPatch 65/69065/3
Tomasz Iwanek [Wed, 11 May 2016 08:38:55 +0000 (10:38 +0200)]
Reorder steps for StepDeltaPatch

StepDeltaPatch will require old_manifest_data of
context structure. Steps are reordered so that in delta
mode reading old configuration reading is done before applying
delta package content.

Change-Id: I386f54afd3ad6cb2525ee38538004f1ad767e698

8 years agoImplement ManifestDirectInstall and ManifestDirectUpdate request handling 51/64351/8 accepted/tizen/common/20160513.123153 submit/tizen/20160511.132536
Tomasz Iwanek [Thu, 31 Mar 2016 09:55:31 +0000 (11:55 +0200)]
Implement ManifestDirectInstall and ManifestDirectUpdate request handling

To verify, try following to scenarios:

1)
 wgt-backend -i ${package}
 wgt-backend -y ${pkgid} # package should be updated from its manifest with success

2)
 wgt-backend -i ${package}
 rm /home/$USER/.applications/dbspace/*
 wgt-backend -y ${pkgid} # package should be installed from its manifest with success

Submit together:
 https://review.tizen.org/gerrit/#/c/64204

Change-Id: I47c2af1e71e8f9b0f022c593762644da88afb8f9

8 years agoSign smoke tests 05/68905/2
Tomasz Iwanek [Mon, 9 May 2016 14:49:17 +0000 (16:49 +0200)]
Sign smoke tests

Run smoke tests to verify (15/16).
Delta mode problem will be handled separately.

Change-Id: I0a46aecbcfd17da3d3b6862ebe8a1e6a962160f5

8 years agosaving ime info in the manifest 05/67905/12
Kamil Rojewski [Tue, 19 Apr 2016 08:43:07 +0000 (10:43 +0200)]
saving ime info in the manifest

Requires:
  - https://review.tizen.org/gerrit/#/c/67903/

Change-Id: Icf7c4fd9403f50ecd3db90f9f4a86ab336e9c6e1

8 years agoMount install steps 67/65767/8 accepted/tizen/common/20160505.140404 accepted/tizen/ivi/20160506.035738 accepted/tizen/mobile/20160506.035204 accepted/tizen/tv/20160506.035529 accepted/tizen/wearable/20160506.035628 submit/tizen/20160504.074553
Tomasz Iwanek [Tue, 12 Apr 2016 11:09:32 +0000 (13:09 +0200)]
Mount install steps

Mount install is run by "-w $pkgid" option.
Mount install, update mount install and deinstallation of mount-installed
package should work.

Requires:
 - https://review.tizen.org/gerrit/#/c/65361/

Change-Id: Ie5f6e238160861097359bcb5066b81365e806709

8 years agoverifying notification category privilege 01/67901/6 accepted/tizen/common/20160504.125257 accepted/tizen/ivi/20160503.093015 accepted/tizen/mobile/20160503.092916 accepted/tizen/tv/20160503.092941 accepted/tizen/wearable/20160503.092953 submit/tizen/20160503.003646
Kamil Rojewski [Mon, 25 Apr 2016 10:52:29 +0000 (12:52 +0200)]
verifying notification category privilege

Change-Id: I4850ccc6a91bb2c2bb18a91032d75da1305db02d

8 years agoswitched raw ptrs to shared_ptrs to avoid leaks 08/67908/2
Kamil Rojewski [Fri, 22 Apr 2016 11:27:59 +0000 (13:27 +0200)]
switched raw ptrs to shared_ptrs to avoid leaks

Must be submitted with:
  - https://review.tizen.org/gerrit/67906

Change-Id: I5305bec45ff0484d00378a65269f3304dada449c

8 years agoReorder StepUpdateTep 09/64809/5 accepted/tizen/common/20160408.184915 accepted/tizen/ivi/20160408.052515 accepted/tizen/mobile/20160408.052452 accepted/tizen/tv/20160408.052427 accepted/tizen/wearable/20160408.052439 submit/tizen/20160408.003820
Tomasz Iwanek [Tue, 5 Apr 2016 11:59:59 +0000 (13:59 +0200)]
Reorder StepUpdateTep

tep_name is passed directly in manifest_x structure during
package registration in pkgmgr_parser database.

Verify that after package update pkgmgr_parser database
still contains correct value of tep_name
(database .pkgmgr_parser.db,
 table: package_info,
 column: package_tep_name).

Change-Id: Iddb5d5244e3a9850e2d07e24576afc2c5356a68d

8 years agoClear data smoke test 81/61781/2
Tomasz Iwanek [Thu, 10 Mar 2016 10:34:44 +0000 (11:34 +0100)]
Clear data smoke test

Change-Id: Ibf74ce0f88d79fd4918f5ae0e744269c74164a4c

8 years agoIntroduce StepWgtRDSModify for wgt-backend 61/64661/5 accepted/tizen/common/20160406.144156 accepted/tizen/ivi/20160406.071940 accepted/tizen/mobile/20160406.071837 accepted/tizen/tv/20160406.071856 accepted/tizen/wearable/20160406.071918 submit/tizen/20160406.013051
Arkadiusz Szulakiewicz [Mon, 4 Apr 2016 12:40:06 +0000 (14:40 +0200)]
Introduce StepWgtRDSModify for wgt-backend

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

Change-Id: I76525d6c908586315c9546513d3378a89f278ba6

8 years agoRevert "Revert "Implement coping TEP in wgt and hybrid backend"" 54/64754/1
Tomasz Iwanek [Tue, 5 Apr 2016 07:53:22 +0000 (09:53 +0200)]
Revert "Revert "Implement coping TEP in wgt and hybrid backend""

This reverts commit 730251e509028a658d3aa48a76cbc813af074855.

Change-Id: I8e975ae43077cb8cef3887be9c19624d5951d8ef

8 years agoRevert "Implement coping TEP in wgt and hybrid backend" 91/64491/1
jongmyeong ko [Fri, 1 Apr 2016 11:26:29 +0000 (04:26 -0700)]
Revert "Implement coping TEP in wgt and hybrid backend"

This reverts commit 6c6807c018afaa6189cf53ed60a5c2a224cde01d.

Change-Id: I9ee651776b024abcacc5fd47f44a0d4dbb6e2d1f

8 years agoImplement coping TEP in wgt and hybrid backend 31/63731/2
Tomasz Iwanek [Fri, 25 Mar 2016 10:32:25 +0000 (11:32 +0100)]
Implement coping TEP in wgt and hybrid backend

To verify, run install|update for wgt package and hybrid package,
check if tep_package was copied (use any file as tep package)

wgt-backend -i ${wgt_or_hybrid_package} -e ${your tep zip}

Given tep file should be copied into res/ directory in package files.

Change-Id: I87e38d76f582646ed01a1b74b7ec7580ca1fe4bb

8 years agoTypo 10/63510/1
Tomasz Iwanek [Thu, 24 Mar 2016 09:06:29 +0000 (10:06 +0100)]
Typo

Change-Id: Ia956bce9cfb391d7540f3632a98ad64e74e1334a

8 years agoModify symlink for watchapp 43/62743/2 accepted/tizen/ivi/20160323.010806 accepted/tizen/mobile/20160323.010705 accepted/tizen/tv/20160323.010729 accepted/tizen/wearable/20160323.010748 submit/tizen/20160322.002805
JongHeon Choi [Fri, 18 Mar 2016 02:03:18 +0000 (11:03 +0900)]
Modify symlink for watchapp

Change-Id: I209698d952602b90bd72dd0c3b445d743d1c26ad

8 years agoRework step/ directory structure 96/61796/4 accepted/tizen/common/20160322.145800 accepted/tizen/ivi/20160322.003619 accepted/tizen/mobile/20160322.003543 accepted/tizen/tv/20160322.003554 accepted/tizen/wearable/20160322.003601 submit/tizen/20160321.131614 submit/tizen/20160321.153043
Tomasz Iwanek [Thu, 10 Mar 2016 13:14:03 +0000 (14:14 +0100)]
Rework step/ directory structure

Steps are moved to subdirectories according to their namespace.

Submit together with:
 - https://review.tizen.org/gerrit/61795
 - https://review.tizen.org/gerrit/61796
 - https://review.tizen.org/gerrit/61797

Build to verify, no logic changes were made.

Change-Id: Idb6548add52b29a92837d15ef7180587fe902d29

8 years agoFix typo in StepGenerateXml 12/62712/2 accepted/tizen/common/20160321.150445 accepted/tizen/mobile/20160321.113354 accepted/tizen/tv/20160321.113420 accepted/tizen/wearable/20160321.113440 submit/tizen/20160321.014821
Tomasz Iwanek [Thu, 17 Mar 2016 13:58:06 +0000 (14:58 +0100)]
Fix typo in StepGenerateXml

Change-Id: Iebba5702b4ce032f35836e7ede12c93a57e2284e

8 years agoAdd tests for Category element in config.xml 13/61413/4
Arkadiusz Szulakiewicz [Mon, 7 Mar 2016 15:07:55 +0000 (16:07 +0100)]
Add tests for Category element in config.xml

Change-Id: Icafa7a6120978d2368966438d1b70ed77e937738

8 years agoAdd tests for Metadata and Setting element in config.xml 81/61381/7
Arkadiusz Szulakiewicz [Mon, 7 Mar 2016 11:33:34 +0000 (12:33 +0100)]
Add tests for Metadata and Setting element in config.xml

Change-Id: Ie32b9d76151ea7ba119f5a742a38caa23cda9f37

8 years agoCheck removable when uninstall package 13/61913/2
Sangyoon Jang [Fri, 11 Mar 2016 06:28:32 +0000 (15:28 +0900)]
Check removable when uninstall package

Requires:
 - https://review.tizen.org/gerrit/61899

Change-Id: I02ad18a259206b8923825590a16045b9fd489b12
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoRemove unused variable at unit test 82/61882/1
Sangyoon Jang [Fri, 11 Mar 2016 05:16:14 +0000 (14:16 +0900)]
Remove unused variable at unit test

Change-Id: I78dfb119eeb9b45ef0133631b481191a08996aa8
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoAdd tests for Setting element in config.xml 66/61166/8 accepted/tizen/common/20160310.081920 accepted/tizen/ivi/20160310.061821 accepted/tizen/mobile/20160310.061653 accepted/tizen/tv/20160310.061725 accepted/tizen/wearable/20160310.061751 submit/tizen/20160309.135632
Arkadiusz Szulakiewicz [Fri, 4 Mar 2016 09:03:02 +0000 (10:03 +0100)]
Add tests for Setting element in config.xml

Change-Id: I5611261dc271b305191526e4e774e48f16d02e36

8 years agoAdd tests for AppControl element in config.xml 97/60697/8
Arkadiusz Szulakiewicz [Tue, 1 Mar 2016 14:05:08 +0000 (15:05 +0100)]
Add tests for AppControl element in config.xml

Change-Id: I87f8c009e0ba9074e2e7bfd0947393856fdc8bd8

8 years agoProcessing watch application from config.xml 47/60247/6
Tomasz Iwanek [Wed, 24 Feb 2016 08:33:50 +0000 (09:33 +0100)]
Processing watch application from config.xml

Writes information about wgt's watch application to manifest_x
and adds it to generated platform xml in wgt-backend.

In tizen 2.x watch-application was not registered by wgt-installer
AT ALL. This was done libwatch-application.so pkgmgr plugin parser.
This behaviour should be probably removed so that only app-installer
insert data into pkgmgr database. After this commit data of all
applications (including watch-application) is added to pkgmgr_parser.db.

Note that update installation of watch-application will work only
when tizen-manifest.xml parsing changes will be introduced.

Requires:
 - https://review.tizen.org/gerrit/#/c/60241/

Change-Id: I67f9cf1c04ecf435cfc90f5ab83d2ccebbc45a4a

8 years agoAdd tests for Privilege element in config.xml 96/60696/5
Arkadiusz Szulakiewicz [Tue, 1 Mar 2016 13:39:21 +0000 (14:39 +0100)]
Add tests for Privilege element in config.xml

Change-Id: Ic0bd88aa5fa8c7024d2756cea9ec84dfd6d0c9fd

8 years agoAdjust moving storage directories - 'shared/' -> 'shared/res/' 48/60348/3
Tomasz Iwanek [Thu, 25 Feb 2016 09:26:51 +0000 (10:26 +0100)]
Adjust moving storage directories - 'shared/' -> 'shared/res/'

Requirement changed. We need to copy only 'shared/res/'.

To verify install, update, uninstall wgt package that
contains files in /shared/res/ and check if they were moved
properly to install location's shared/res/.

Change-Id: I20b8fcc174423ce74dcba5c9f6c116b1443f452e

8 years agoAdd tests for Application element in config.xml 95/60695/4
Arkadiusz Szulakiewicz [Tue, 1 Mar 2016 12:17:17 +0000 (13:17 +0100)]
Add tests for Application element in config.xml

Change-Id: I195ed3e15dff2655327ec0a12064c701427f2220

8 years agoAdjust wgt-backend to plugin changes 31/59031/5 accepted/tizen/common/20160304.194922 accepted/tizen/common/20160307.153149 accepted/tizen/ivi/20160304.105558 accepted/tizen/mobile/20160304.105443 accepted/tizen/tv/20160304.105500 accepted/tizen/wearable/20160304.105532 submit/tizen/20160303.090142 submit/tizen/20160304.063745
Tomasz Iwanek [Mon, 8 Feb 2016 09:40:47 +0000 (10:40 +0100)]
Adjust wgt-backend to plugin changes

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: Ic9811af492e2f15bc1fb24e5a69b0aa0530fc02f

8 years agoFix GetPackageVersion() 68/60868/2 accepted/tizen/common/20160304.194341 accepted/tizen/ivi/20160303.093924 accepted/tizen/mobile/20160303.093812 accepted/tizen/tv/20160303.093834 accepted/tizen/wearable/20160303.093905 submit/tizen/20160303.064856
Tomasz Iwanek [Wed, 2 Mar 2016 15:13:41 +0000 (16:13 +0100)]
Fix GetPackageVersion()

Version of widget (defined in w3c spec) is less strict than tizen
package number. This commit fixes GetPackageVersion() to set
default version if conversion of version number is not possible.

To verify, install/update wgt package which version is "1.2.3 Beta".
"Beta" keyword should be trucated so that manifest contains valid
version of tizen package -> "1.2.3".

Change-Id: Iab5eed29f8cb7c8a0a52cb515c16ce0ab5d1ac91

8 years agoAdd tests for Widget element in config.xml 94/60694/2
Arkadiusz Szulakiewicz [Tue, 1 Mar 2016 11:04:03 +0000 (12:04 +0100)]
Add tests for Widget element in config.xml

Change-Id: I27e3ad033c00a1169e37d3010695b55fe1369486

8 years agoManifest testcase skeleton 30/59230/5
Tomasz Iwanek [Thu, 11 Feb 2016 11:51:14 +0000 (12:51 +0100)]
Manifest testcase skeleton

Testcase skeleton for tests which parse manifest and
set fields in manifest_x structure.

Verification: /usr/bin/wgt-backend-ut/manifest-test

Change-Id: I4fde4bdcdcf38b2fb23979d3c8eef67d40f92d9d

8 years agomodification for seperation of RO/RW location 05/60205/2 accepted/tizen/common/20160301.025443 accepted/tizen/common/20160302.193805 accepted/tizen/ivi/20160302.224044 accepted/tizen/mobile/20160302.223954 accepted/tizen/tv/20160302.224008 accepted/tizen/wearable/20160302.224027 submit/tizen/20160229.102401 submit/tizen/20160302.020013 submit/tizen/20160302.065807
jongmyeongko [Wed, 24 Feb 2016 06:33:19 +0000 (15:33 +0900)]
modification for seperation of RO/RW location

Requires:
https://review.tizen.org/gerrit/#/c/60194/
https://review.tizen.org/gerrit/#/c/60200/

Change-Id: I03e256854ffa6812952b7fb1e3f1e029f6c030ea
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoAdd StepRemovePerUserStorageDirectories to uninstall step 32/59532/9 accepted/tizen/common/20160301.120654 accepted/tizen/ivi/20160225.081533 accepted/tizen/mobile/20160225.081448 accepted/tizen/tv/20160225.081505 accepted/tizen/wearable/20160225.081518 submit/tizen/20160224.000443 submit/tizen/20160224.092603 submit/tizen_common/20160229.190608
Arkadiusz Szulakiewicz [Tue, 16 Feb 2016 09:12:14 +0000 (10:12 +0100)]
Add StepRemovePerUserStorageDirectories to uninstall step

Change-Id: If257ec6319f69c04e7fe6c6f6610d300398eb822

8 years agoAdd StepCreatePerUserStorageDirectories to installation step 30/59530/8
Arkadiusz Szulakiewicz [Tue, 16 Feb 2016 09:07:24 +0000 (10:07 +0100)]
Add StepCreatePerUserStorageDirectories to installation step

Change-Id: If0a11756e3cafdc7aa8805c675b0e07f571625ff

8 years agoRework smoke tests 03/59903/1
Tomasz Iwanek [Wed, 17 Feb 2016 09:35:29 +0000 (10:35 +0100)]
Rework smoke tests

Reimplement smoke tests so that they don't use gtest's
EXPECT_DEATH. This will fix problems that are sourced
in forking test binary. "smoke-test-helper" binary is
introduced purely for recovery tests to provide crash
test scenario.

Verification:
 - /usr/bin/wgt-backend-ut/smoke-test

Change-Id: I76cb751ce13d88528de2da6e20ea3dd848e492a8

8 years agoremove not-used attribute (name of icon, name of image) 11/59511/2 accepted/tizen/ivi/20160218.083927 accepted/tizen/mobile/20160218.005910 accepted/tizen/tv/20160218.005920 accepted/tizen/wearable/20160218.005940 submit/tizen/20160217.221050 submit/tizen_common/20160218.142243
jongmyeongko [Tue, 16 Feb 2016 07:08:13 +0000 (16:08 +0900)]
remove not-used attribute (name of icon, name of image)

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

Change-Id: I884f00fcd00cbce4c1d808c6ecc3f0c217dd34bd
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoSmoke tests for hybrid package 72/59072/5
Tomasz Iwanek [Tue, 9 Feb 2016 13:33:21 +0000 (14:33 +0100)]
Smoke tests for hybrid package

Verify by running new testcases:
  /usr/bin/wgt-backend-ut/smoke_test --gtest_filter=SmokeTest.InstallationMode_Hybrid
  /usr/bin/wgt-backend-ut/smoke_test --gtest_filter=SmokeTest.UpdateMode_Hybrid
  /usr/bin/wgt-backend-ut/smoke_test --gtest_filter=SmokeTest.DeinstallationMode_Hybrid
  /usr/bin/wgt-backend-ut/smoke_test --gtest_filter=SmokeTest.DeltaMode_Hybrid

Change-Id: I2e29b9fbf4d0e6fdfa79ad5ecf8741dfb984d8b7

8 years agoAdjust to change in PkgmgrInterface 44/59444/3
Tomasz Iwanek [Tue, 16 Feb 2016 09:18:31 +0000 (10:18 +0100)]
Adjust to change in PkgmgrInterface

Following changes need to be submitted together:
 - https://review.tizen.org/gerrit/59442
 - https://review.tizen.org/gerrit/59443
 - https://review.tizen.org/gerrit/59444

To verify:
 $ /usr/bin/wgt-backend-ut/smoke_test
 # install, update, uninstall and wgt package by wgt-backend directly

Change-Id: I89c72f9be7d6695d629c6e9d292c4f8e82a7d138

8 years agoCode cleanup 41/59241/1
Tomasz Iwanek [Thu, 11 Feb 2016 16:17:02 +0000 (17:17 +0100)]
Code cleanup

Given TODO is outdated. StepParseManifest re-reads
all necessary information.

Change-Id: I1486de660ef9019e57ba39f76987e0d5843b60f8

8 years agoAdd StepRunParserPlugin to wgt-backend 05/57505/11 accepted/tizen/common/20160217.170704 accepted/tizen/ivi/20160218.023353 accepted/tizen/mobile/20160212.002407 accepted/tizen/tv/20160212.002419 accepted/tizen/wearable/20160212.002446 submit/tizen/20160211.093134 submit/tizen_common/20160217.131930 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000002
Lukasz Wartalowicz [Wed, 20 Jan 2016 13:22:56 +0000 (14:22 +0100)]
Add StepRunParserPlugin to wgt-backend

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

Add StepRunParserPlugin to wgt-backend

Change-Id: I82179c534894f11de8e812e5d4c9fb9f4e8abfc1

8 years agoMove step remove manifest to app-installer 33/59033/4
Arkadiusz Szulakiewicz [Mon, 8 Feb 2016 14:52:31 +0000 (15:52 +0100)]
Move step remove manifest to app-installer

Requires:
https://review.tizen.org/gerrit/59034
https://review.tizen.org/gerrit/59035

Change-Id: I0ecb72b1b9ea005c7beef34e35cfcef4fb884b04

8 years agoMinor improvements for force-uninstall step 06/58906/3
Arkadiusz Szulakiewicz [Thu, 4 Feb 2016 16:39:14 +0000 (17:39 +0100)]
Minor improvements for force-uninstall step

Change-Id: Ide952d967df1978cff123b14c2375557155031b9

8 years agomodify codes related to getting app_path. 65/58865/3 accepted/tizen/mobile/20160205.064214 accepted/tizen/tv/20160205.064227 accepted/tizen/wearable/20160205.064247 submit/tizen/20160205.051501
jongmyeongko [Thu, 4 Feb 2016 07:59:03 +0000 (16:59 +0900)]
modify codes related to getting app_path.

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

Change-Id: I1b971a87a8aa534a4a6526d9c3b6a70046a986d0
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoModify Uninstall procedure to allow force-uninstall 22/58522/6
Arkadiusz Szulakiewicz [Mon, 1 Feb 2016 15:01:43 +0000 (16:01 +0100)]
Modify Uninstall procedure to allow force-uninstall

Change-Id: Ib8336c4ecf53d96d3508d13e37776bd06487538d

8 years agoImplement PKGMGR_REQUEST_TYPE_CLEARDATA for wgt-backend 48/58248/3
Tomasz Iwanek [Thu, 28 Jan 2016 13:09:20 +0000 (14:09 +0100)]
Implement PKGMGR_REQUEST_TYPE_CLEARDATA for wgt-backend

Verify by running: pkgcmd -t wgt -c -n $pkgid_of_installed_package
and check if all content of apps_rw/$pkgid/data/ was removed.

Requires:
 - https://review.tizen.org/gerrit/58245

Change-Id: I56a3435bbda9f2034784a52e0f0ab81a1e1f9ca8

8 years agoCheck the given package is blacklisted when install 36/58636/2
Sangyoon Jang [Tue, 2 Feb 2016 10:34:12 +0000 (19:34 +0900)]
Check the given package is blacklisted when install

Requires:
 - https://review.tizen.org/gerrit/#/c/58457/

Change-Id: I995b132ff5c3498187fba37cfbf4b088310d24ce
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoRemove SmokeTest.DeinstallationMode_Rollback test 71/58671/1
Tomasz Iwanek [Tue, 2 Feb 2016 15:48:25 +0000 (16:48 +0100)]
Remove SmokeTest.DeinstallationMode_Rollback test

According to force deinstallation requirement, there
is no need for rollback of deinstallation. Deinstallation
should never fail and remove as much of package installation
as possible.

Change-Id: Ia818e1174b2ff6518fb55a9320217403d31a94fa

8 years agoRecovery mode for hybrid application 19/57519/5 devel/ivi accepted/tizen/mobile/20160203.051934 accepted/tizen/tv/20160203.051947 accepted/tizen/wearable/20160203.052018 submit/devel/ivi/20160202.111818 submit/tizen/20160203.003555
Tomasz Iwanek [Mon, 18 Jan 2016 09:31:48 +0000 (10:31 +0100)]
Recovery mode for hybrid application

Requires:
 - https://review.tizen.org/gerrit/58104

Change-Id: I174cd185ad12bb97b406d250b3d339568e79345f

8 years agoFix recovery smoke test 58/57158/5 accepted/tizen/mobile/20160129.083349 accepted/tizen/tv/20160129.083417 accepted/tizen/wearable/20160129.083439 submit/tizen/20160127.110348
Tomasz Iwanek [Fri, 15 Jan 2016 12:38:56 +0000 (13:38 +0100)]
Fix recovery smoke test

Requires:
 - https://review.tizen.org/gerrit/45316

Verify by:
 $ /usr/bin/wgt-backend-ut/smoke_test --gtest_filter=SmokeTest.RecoveryMode_ForInstallation
 $ /usr/bin/wgt-backend-ut/smoke_test --gtest_filter=SmokeTest.RecoveryMode_ForUpdate

Change-Id: Iac901289fcbd17315a9d3ba4d73c1c06dbb3b18f

8 years agoAdd default value for preload attribute 84/57884/5
Arkadiusz Szulakiewicz [Mon, 25 Jan 2016 15:18:49 +0000 (16:18 +0100)]
Add default value for preload attribute

Change-Id: Ia03197d404e4735797825a3a153f55766aa05712

8 years agoSwitch parsing procedures to StepParseManifest 50/57750/2 submit/tizen/20160122.140520
Tomasz Iwanek [Fri, 22 Jan 2016 09:38:45 +0000 (10:38 +0100)]
Switch parsing procedures to StepParseManifest

Run smoke tests to verify.

Requires:
 - https://review.tizen.org/gerrit/57749

Change-Id: I1818cafd32f5347418f3f5b298b3cc4bcb62c2fc

8 years agoFix lib name for wgt-manifest-handlers 77/57677/2 accepted/tizen/mobile/20160125.011508 accepted/tizen/tv/20160125.011536 accepted/tizen/wearable/20160125.011547 submit/tizen/20160122.084928 submit/tizen/20160122.094907
Lukasz Wysocki [Thu, 21 Jan 2016 12:15:37 +0000 (13:15 +0100)]
Fix lib name for wgt-manifest-handlers

Following commits should be merged together:
- https://review.tizen.org/gerrit/#/c/57676/
- https://review.tizen.org/gerrit/#/c/57677/
- https://review.tizen.org/gerrit/#/c/57681/

Change-Id: I41d5e2adbbfd9606adeccd10ff703ff4a674412f

8 years agoFix WGT handlers includes 54/57154/2
Lukasz Wysocki [Fri, 15 Jan 2016 11:50:16 +0000 (12:50 +0100)]
Fix WGT handlers includes

This change require following changes:
- https://review.tizen.org/gerrit/#/c/57153/

Changes should be merged together

Change-Id: I2bf7b13f47b57e5585addc10acbc686ae6752137

8 years agoFix icon copying 58/57258/6 accepted/tizen/mobile/20160122.032619 accepted/tizen/tv/20160122.032704 accepted/tizen/wearable/20160122.032714 submit/tizen/20160120.112210
Tomasz Iwanek [Mon, 18 Jan 2016 09:31:48 +0000 (10:31 +0100)]
Fix icon copying

Icons element are receiving full path in StepParse from now
for both wgt and tpk backend and all modes.

Steps:
 - StepCreateIcons
 - StepBackupIcons
 - StepRecoverIcons
 - StepRemoveIcons
handles icon files only outside package directory (those in: $HOME/.applications/icons/*)
Icons within application directories are copied together with whole package directory (StepCopy)
and are not managed by those steps.

To handle copying icons within package directory new steps are introduced:
 - StepWgtPatchIcons (copy to $package/shared/res/ from widget content directory)
 - StepTpkPatchIcons (copy to $package/shared/res/ if they are in different location, e.g. preload apps)

Following changes needs to be submitted together:
 - https://review.tizen.org/gerrit/57258 (wgt-backend)
 - https://review.tizen.org/gerrit/57257 (app-installers)
 - https://review.tizen.org/gerrit/57259 (tpk-backend)

Verify by:
 $ /usr/bin/tpk-backend-ut/smoke_test --gtest_filter=SmokeTest.UpdateMode_Tpk
 $ /usr/bin/tpk-backend-ut/smoke_test --gtest_filter=SmokeTest.InstallationMode_Tpk
 $ /usr/bin/tpk-backend-ut/smoke_test --gtest_filter=SmokeTest.DeltaMode_Tpk
 $ /usr/bin/wgt-backend-ut/smoke_test --gtest_filter=SmokeTest.InstallationMode
 $ /usr/bin/wgt-backend-ut/smoke_test --gtest_filter=SmokeTest.UpdateMode
 $ /usr/bin/wgt-backend-ut/smoke_test --gtest_filter=SmokeTest.RDSMode
 $ /usr/bin/wgt-backend-ut/smoke_test --gtest_filter=SmokeTest.DeltaMode
 $ /usr/bin/wgt-backend-ut/smoke_test --gtest_filter=SmokeTest.UpdateMode_Rollback
 $ /usr/bin/wgt-backend-ut/smoke_test --gtest_filter=SmokeTest.InstallationMode_Rollback

Change-Id: I8c5d3ba513bb47eed571c3363f657eacb429f82f

8 years agoStyle and code fix 42/57142/1
Lukasz Wysocki [Fri, 15 Jan 2016 10:11:29 +0000 (11:11 +0100)]
Style and code fix

Change-Id: I2579598545e3539944c78fcf0bc93f220eaf3512