platform/core/appfw/wgt-backend.git
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

8 years agoClean up of storage dirs code - fix update in hybrid app installation 44/57044/2
Tomasz Iwanek [Thu, 14 Jan 2016 14:14:57 +0000 (15:14 +0100)]
Clean up of storage dirs code - fix update in hybrid app installation

Fixes some issue in code handling storage directories.

Due to requirement of copying wgt's shared/ directory is addition,
situation where:

 - common create storage directories step - create directories for tpk
 - wgt create storage directories step - create directories for wgt

should be changed to:

 - common create storage directories step - create directories for tpk and wgt
 - wgt create storage directories step - only patches shared/ directory with
                                         widget shared/ before common step

Change-Id: I10f94eafbe31497ad5216f1f5e1ce1abf81bbd44

8 years agoImplement hybrid webapplication installation 81/56581/8 accepted/tizen/mobile/20160115.010738 accepted/tizen/mobile/20160115.010921 accepted/tizen/tv/20160115.010750 accepted/tizen/tv/20160115.010934 accepted/tizen/wearable/20160115.010809 accepted/tizen/wearable/20160115.010955 submit/tizen/20160114.141522 submit/tizen/20160114.224350
Tomasz Iwanek [Fri, 8 Jan 2016 11:32:18 +0000 (12:32 +0100)]
Implement hybrid webapplication installation

Implemenation of hybrid package installation uses both
tpk and wgt steps, composing information from tizen
manifest file and w3c config.xml file. Installation
of hybrid has different flow so there is new installer
class introduced to avoid branching in steps. Instead
there is "hacky" branch in wgt-backend main() to choose
which step sequence to choose.

Requires:
 - https://review.tizen.org/gerrit/56503
 - https://review.tizen.org/gerrit/56506
 - https://review.tizen.org/gerrit/56795
 - https://review.tizen.org/gerrit/56918
 - https://review.tizen.org/gerrit/56920
 - https://review.tizen.org/gerrit/56921
 - https://review.tizen.org/gerrit/56724

Graph of targets (dependencies) changed to following:
  common_lib <-- tpk_lib
  common_lib <-- wgt_lib
  tpk_lib    <-- hybrid_lib
  wgt_lib    <-- hybrid_lib
  wgt_lib    <-- wgt_backend
  hybrid_lib <-- wgt_backend
  tpk_lib    <-- tpk_backend

Recovery for hybrid package will be added later
if possible.

Change-Id: I433f6030630f47c9f49025d89e267e5912bc78d9

8 years agoWeb app icon path change 89/56489/5
Lukasz Wysocki [Fri, 8 Jan 2016 12:00:06 +0000 (13:00 +0100)]
Web app icon path change

This change will copy Web app icons into {HOME}/.applications/icons
, and {APP_ROOT}/shared/res directories

When some projects will be changed and stop using {HOME} directory,
this change can be reworked.

This commit require following changes:
- https://review.tizen.org/gerrit/#/c/56488/

Change-Id: I9343adf5af1228a0b8ee660f50012eb7ac9b3bee

8 years agoAdd overlaod for StepCreateIcons::GetAppTypeForIcons 17/57017/1
Tomasz Iwanek [Thu, 14 Jan 2016 10:31:51 +0000 (11:31 +0100)]
Add overlaod for StepCreateIcons::GetAppTypeForIcons

Needs to be submitted with:
 - https://review.tizen.org/gerrit/#/c/56920

Change-Id: Ic0f5a18513b4157df06e5c411011ef64f283127e

8 years agochange some returning error-codes 61/56661/1
jongmyeongko [Mon, 11 Jan 2016 23:24:18 +0000 (08:24 +0900)]
change some returning error-codes

Change-Id: I4beb6ffa93969228db64d0f8de714733ac1f747c
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoFix paths in smoke tests 20/56420/1
Tomasz Iwanek [Thu, 7 Jan 2016 15:05:28 +0000 (16:05 +0100)]
Fix paths in smoke tests

Change-Id: Ie186f82dd997567e3850150a090f399bd717ba24

8 years agoMove wgt-backend implementation from app-installers 86/54886/2 accepted/tizen/mobile/20151219.044135 accepted/tizen/tv/20151219.044546 accepted/tizen/wearable/20151219.044843 submit/tizen/20151218.151823 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
Tomasz Iwanek [Mon, 14 Dec 2015 12:58:10 +0000 (13:58 +0100)]
Move wgt-backend implementation from app-installers

Requires to be submitted with:
 - https://review.tizen.org/gerrit/#/c/54291/

Aligned with app-installer's commit: 532a4707928d6d137c2cb93ae3523f25f0ac06ee

Change-Id: I30347bd6ca66026d3e363bb16000a44e2d791f39

8 years agoAdding initial files to repository 70/54870/1
Pawel Sikorski [Fri, 18 Dec 2015 09:50:50 +0000 (10:50 +0100)]
Adding initial files to repository

Adding:
* LICENSE, AUTHORS
* check-coding-style tool
* packaging spec file (now empty)

Change-Id: I15e52b9c6af8741fc06513290ca93210f703a8c6

8 years agoInitial empty repository master
KyungMi Lee [Thu, 17 Dec 2015 23:16:19 +0000 (15:16 -0800)]
Initial empty repository