platform/framework/web/wrt-installer.git
10 years agoFix uninstallation failure followed by https://tizendev.org/gerrit/#/c/85895/
Soyoung Kim [Fri, 6 Sep 2013 10:19:53 +0000 (19:19 +0900)]
Fix uninstallation failure followed by https://tizendev.org/gerrit/#/c/85895/

[Issue#]   N/A
[Problem]  Uninstall web app failure followed by:
           commit 04ed54303f1236635e13a0f0d7b99b2d8ebcf51f
[Cause]    DB operations were moved to just before removing files.
[Solution] Removing external file logic is moved to the DB operations.

[SCMRequest] N/A

Change-Id: Ie6b429c9815cac61212ad50ae6936428a5ac3b25

10 years agoSeparate update package information. Phase2.
Soyoung Kim [Wed, 7 Aug 2013 05:58:44 +0000 (14:58 +0900)]
Separate update package information. Phase2.

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] 1. To update package information separte from removefiles.
2. organize the task lists of uninstallation.
[SCMRequest] N/A

Change-Id: I8e29dcc6f66f4d5516d2596754889c218d8821be

10 years agoFix building the package with GCC-4.8
Grzegorz Rynkowski [Wed, 4 Sep 2013 13:32:48 +0000 (15:32 +0200)]
Fix building the package with GCC-4.8

[Problem]      The package cannot be built with gcc-4.8.
[Cause]        Missing #include statements.
[Solution]     Add the missing #include statements.
[Verification] Build package both with current (GCC-4.5) and (GCC-4.8) version of compiler.

Change-Id: I9acb3034aee32ae1481315bf56673104506485a7

10 years ago[Release] wrt-installer_0.1.121 submit/tizen_2.2/20130904.105522
sung-su.kim [Wed, 4 Sep 2013 10:55:03 +0000 (19:55 +0900)]
[Release] wrt-installer_0.1.121

Change-Id: Id70b7fbe18114e66b82011a31c1121b23877ceb8

10 years ago[Release] wrt-installer_0.1.121
sung-su.kim [Wed, 4 Sep 2013 06:39:42 +0000 (15:39 +0900)]
[Release] wrt-installer_0.1.121

Change-Id: I98a453a5999d905e410d28bd7b5d938c79353cba

10 years agoFix backendlib - wrong icon returned
Tomasz Iwanek [Tue, 3 Sep 2013 09:04:53 +0000 (11:04 +0200)]
Fix backendlib - wrong icon returned

[Issue#]  LINUXWRT-824
[Problem] First icon is always returned from backendlib
          i.e., Curent locale settigns are not taken into account.
[Cause]   This was just not handled before.
            - The exact problem is that after installation icon is ok(notiication)
              but before it is read from package file.
            - This operation does not involve full steps in case of installation.
              Backend lib should do it in more checking to find best icon.
[Solution] Added workaround to return icon according to locale setting

[Verification] Install bm.wgt (W3C P&C icon test) from MyFiles app.
    Icon in "install prompt view" (before installing) and in notification
    should be used for proper locale (change locale to en).

Change-Id: If9d9d32dd2a69914bf72aacf6a82c7881cab2918

10 years ago[Path Usage Unification] Plugin Installation Paths (further enhancements)
Kamil Nowac [Mon, 10 Jun 2013 11:51:49 +0000 (13:51 +0200)]
[Path Usage Unification] Plugin Installation Paths (further enhancements)

[Issue#]   LINUXWRT-422
[Problem]  A lot of paths used in wrt are constructed manually
[Cause]    N/A
[Solution] Created class PluginPath which gathers all manually constructed paths

[Verification]
    1. Build wrt-installer repo with --define "WITH_TESTS ON"
    2. Install plugins by using wrt-installer -p and
        run tests wrt-installer-tests-general --output=text
    They shoud install without problems and tests should pass.

Change-Id: I82f1f3d2e9b46b9363f93311557984da1aeaabbd

10 years agoJobWidgetInstall refactoring - TaskConfiguration
Tomasz Iwanek [Tue, 27 Aug 2013 09:24:00 +0000 (11:24 +0200)]
JobWidgetInstall refactoring - TaskConfiguration

[Issue#]   LINUXWRT-820
[Feature]  Refactoring
[Cause]    There is too much logic in JobWidgetInstall
[Solution] This commit just moves code of JobWIdgetInstall to TaskConfiguration.

ALL OTHER CHANGES ARE MARKED as TODO (job_install_refactoring) and will be done later.
Following changes to be do in next:
- make proper steps in TaskConfiguration,
- clean getInstallerSTruct in TaskConfiguration,
- remove second parsing of config.xml,
- refactor TaskUnzip leftovers,
- fix TODOs in JobWidgetInstall context,
- header clean up in TaskConfiguration, JobWidgetInstall,
- (maybe) functions appendTaskList* shoule be refactored to seperate abstraction,

Jobs now uses MutableTaskList and tasks can be appended in running state.
There is no change in code because most of code uses installer context anyway.
Two additional fields were temporary supplied to installer context:
needEncryption and configureResult (those was internal variables in JobWidgetInstall).
Failure task was moved to seperate file.

[Verification] There was finally changed only few branches of code.
Do following steps (this tests two extracted to install context variables):
1. run wrt-installer -p - plugins should be installed.
2. Get widegt with some files (prefer with dozens of file e.g. use some game)
- install this widget and run it - success,
- run wrt-installer -i again and run widget - success,
- uninstall widget and isntall it again - widget should be runnign properly,
3. Get wigdet with encryption set (repeat steps from point 2.).
4. Get malformed zip file.
 - try to install and observe failure message:
     ## wrt-installer :  installation has failed - invalid widget package

[SCMRequest] This change requires: https://review.tizendev.org/gerrit/87851

Change-Id: Ib0abe152a1e524310692e213255a34c19cfb14e3

10 years ago[Release] wrt-installer_0.1.120
sung-su.kim [Mon, 2 Sep 2013 00:09:08 +0000 (09:09 +0900)]
[Release] wrt-installer_0.1.120

Change-Id: I5198eaa5972bdfa0cd5625aeaeb2c79f407d6322

10 years agoTIVI-1436: Fix install path for package-manager 16/9016/1 tizen_ivi_genivi accepted/tizen/ivi/genivi/20140131.064703 accepted/tizen_ivi_release/20131120.050314 ivi_oct_m2 submit/tizen/20130909.164413 submit/tizen/20131011.233523 submit/tizen_ivi_genivi/20140131.061727 submit/tizen_ivi_release/20131120.032008
Rusty Lynch [Fri, 30 Aug 2013 20:27:16 +0000 (13:27 -0700)]
TIVI-1436: Fix install path for package-manager

Change-Id: I8ebcc1df8419cfc0d2c2b9fa2509ff6c3bd5d6b6

10 years agoMerge "Added logs to help debugging regarding dynamic linking loader error."
HOSEON LEE [Thu, 29 Aug 2013 04:37:54 +0000 (04:37 +0000)]
Merge "Added logs to help debugging regarding dynamic linking loader error."

10 years agoVerify the size of DynamicBox
leerang song [Tue, 27 Aug 2013 08:18:37 +0000 (17:18 +0900)]
Verify the size of DynamicBox

* How it works:
  - When wrt-installer installs DynamicBox webapp, parse the boxsize attribute in config.xml.
  - Verify the boxsize using web_provider_plugin_check_supported_size API provided from web-provier.
  - If unsupported size is found, installer sends a ThrowMsg
  - Web application install should fail.

[Issue#]   N/A
[Problem]  When there is unsupported boxsize specified in config.xml, webapp is still installed successfully.
[Cause]    The boxsize attribute of DynamicBox in config.xml is not checked at the install time.
[Solution] Verify the boxsize attribute of DynamicBox in config.xml

[SCMRequest] N/A

Change-Id: If18ea9136687bfacf8d516bcbbadf8042cbb3e12

10 years agoIcon extension for package manager and manifest fix
Tomasz Iwanek [Mon, 19 Aug 2013 09:58:29 +0000 (11:58 +0200)]
Icon extension for package manager and manifest fix

[Issue#]   LINUXWRT-804 / WGL-428
[Bug]      Hardcoded .png extension
[Cause]    Missing an API that can retrieve file extension.
[Solution] Make use the file extension of used icon

[SCMRequest] Depends upon https://review.tizendev.org/gerrit/86777
[Verification]
   1. Install widget from https://bugs.tizendev.org/jira/browse/WGL-428.
   2. Manifest file in /opt/share/packages/J7tHY89x22.xml should contain icon with .svg extension
      (<icon>J7tHY89x22.Y2y1.svg</icon>).

Change-Id: I06ccc45566afe8b49f39515e192ce58a1c1cac86

10 years agoAdded logs to help debugging regarding dynamic linking loader error.
Tae-Jeong Lee [Mon, 26 Aug 2013 14:03:57 +0000 (23:03 +0900)]
Added logs to help debugging regarding dynamic linking loader error.

[Issue#] N/A
[Problem] When a dependency error occured during wrt-plugins installation, the dynamic linking loader works strangely after that.
          Because of that, to help debugging, some logs were added.
[Cause] N/A
[Solution] Added some 'stderr' logs regarding dynamic linking loader error. It will show the reason of fail to dlopen().

Change-Id: I964db7d7434274549197d79655cf7eea50884ea7

10 years agoProgress callback log set to 'Pedantic' level
Tomasz Iwanek [Fri, 23 Aug 2013 11:50:01 +0000 (13:50 +0200)]
Progress callback log set to 'Pedantic' level

[Issue#]       N/A
[Feature]      Those lines makes no information gain usually but makes log harder to read
[Cause]        N/A
[Solution]     Lvel log logging changed
[Verification] Build repo.

Change-Id: I3528b0e0583185593795a18809f2212f0ff311a8

10 years ago[Release] wrt-installer_0.1.119
sung-su.kim [Thu, 22 Aug 2013 04:45:48 +0000 (13:45 +0900)]
[Release] wrt-installer_0.1.119

Change-Id: Iec9544adbe20431359f2cc3f928f2331a75e0a9c

10 years agoFixed copy icon for dynamic box failed.
Soyoung Kim [Thu, 22 Aug 2013 04:25:22 +0000 (13:25 +0900)]
Fixed copy icon for dynamic box failed.

[Issue#] P130821-05213
[Problem] To copy dynamic's icon fail when update.
[Cause] there was no shared/data directory.
 Because original directory is empty so to copy directory doesn't work.
[Solution] shared directory always is made whenever install or update.
[SCMRequest] N/A

Change-Id: I96b90a762d9bd66e8543902fce51a4509c6ca855

10 years ago[Release] wrt-installer_0.1.118 submit/tizen_2.2/20130821.083703
sung-su.kim [Wed, 21 Aug 2013 02:20:05 +0000 (11:20 +0900)]
[Release] wrt-installer_0.1.118

Change-Id: Idbc4bff7105a412f2f5fc1127ed07cb592b9bbe9

10 years ago[Release] wrt-installer_0.1.118
sung-su.kim [Wed, 21 Aug 2013 01:41:03 +0000 (10:41 +0900)]
[Release] wrt-installer_0.1.118

Change-Id: I9fe5fd7efa7ce5f419b28c6983440553eeb3e70d

10 years agoUpdate the screen size feature list
Hoseon LEE [Wed, 21 Aug 2013 01:29:35 +0000 (10:29 +0900)]
Update the screen size feature list

[Issue] N/A
[Problem] N/A
[Cause] Screen size feature list is fixed by platform.
[Solution] Screen size feature list is updated.
[SCMRequest] N/A

Change-Id: If341b6b67a8571247440d24c0bfd84d9e1deccd8

10 years agoThis commit has a dependency of wrt-commons.
HOSEON LEE [Wed, 21 Aug 2013 01:33:59 +0000 (01:33 +0000)]
This commit has a dependency of wrt-commons.
Therefore, this commit is reverted.
Please merge wrt-commons commit before this commit.

Revert "Icon extension for package manager and manifest fix"

This reverts commit e11660bf9e6ad7fa8183ae7eecd435763a1bf027.

Change-Id: I08a01cbdecc0f3222bbae8522dd1ef9c29bc79d5

10 years agoIcon extension for package manager and manifest fix
Tomasz Iwanek [Mon, 19 Aug 2013 09:58:29 +0000 (11:58 +0200)]
Icon extension for package manager and manifest fix

[Issue#]       LINUXWRT-804 / WGL-428
[Bug]          Hardcoded .png extension
[Cause]        N/A
[Solution]     Use extension of used icon
[SCMRequest]   This requries wrt-commons change: https://review.tizendev.org/gerrit/86777
[Verification] Install widget from https://bugs.tizendev.org/jira/browse/WGL-428.
Manifest file in /opt/share/packages/J7tHY89x22.xml should contain icon with .svg extension
(<icon>J7tHY89x22.Y2y1.svg</icon>).

Change-Id: Ifef3f38e1566b92817f62aa01c1ac73bc073d71b

10 years agoInstall failure during RDS update
sung-su.kim [Fri, 16 Aug 2013 04:18:38 +0000 (13:18 +0900)]
Install failure during RDS update

- RDS (Rapid Development Support): This feature supports fast updating with IDE.
  When a few sources are updated/changed, application doesn't need full update.

[Issue]    N/A
[Problem]  When a new file needs to be added which also includes a new directory,
           then the installer cannot handle them.
[Cause]    Missing logic to parse the newly created directory in the destination path.
[Solution] Add logic to create directory and then create file when necessary.
[SCMRequest] N/A

Change-Id: Ifd8fb2808773127dca09c95db3efb50d27424e52

10 years agoUpdate smack APIs according to the new naming rule
Soyoung Kim [Fri, 16 Aug 2013 11:18:02 +0000 (20:18 +0900)]
Update smack APIs according to the new naming rule

[Issue#]   N/A
[Problem]  The naming rule for SMACK APIs is changed.
[Cause]    Tomasz Swierczek (SRPoL) Systems team informed the change:
           The new APIs were introduced to standardize the naming scheme in the library,
           and make all libprivilege API functions start with a common prefix "perm_".
[Solution] Update SMACK APIs according to the change.
[SCMRequest] N/A

Change-Id: Ieb73f1a32dcedbdbfb61f23300d1d40a4db8db21

10 years ago[Release] wrt-installer_0.1.117
Soyoung Kim [Fri, 16 Aug 2013 09:34:03 +0000 (18:34 +0900)]
[Release] wrt-installer_0.1.117

Change-Id: I1717ecfdf79bf08a8ffa133ba7c7184ab2caf4be

10 years agoFixed package id is empty in callback of package manager.
Soyoung Kim [Tue, 13 Aug 2013 06:57:05 +0000 (15:57 +0900)]
Fixed package id is empty in callback of package manager.

[Issue#] TTS-1840
[Problem] package is empty in callback of package manager.
please check https://bugs.tizendev.org/jira/browse/TTS-1840

[Cause] signal have been sent before setting package id.
[Solution] signal is sent after set package id.
[SCMRequest] N/A

Change-Id: I24763d3ee499d4789e59828892000f0d29ea4d57

10 years agoFixed restore /shared/res directory during update hybrid web app.
Soyoung Kim [Fri, 16 Aug 2013 04:36:16 +0000 (13:36 +0900)]
Fixed restore /shared/res directory during update hybrid web app.

[Issue#] P130809-02632
[Problem] icon doesn't update after update hybrid web app.
[Cause] icon files is in shred/res directory at hybrid web app.
But shared/res directory was restored to original directory during update.
So new icon file is missing.
[Solution] shared/res directory should not restore during update logic.
[SCMRequest] N/A

Change-Id: Iad574356177b4ef6ed9d6dd7c06cdd34332c7b89

10 years ago[Release] wrt-installer_0.1.116 submit/tizen_2.2/20130814.113348
sung-su.kim [Wed, 14 Aug 2013 00:12:04 +0000 (09:12 +0900)]
[Release] wrt-installer_0.1.116

Change-Id: I8e91e72a14343b728ec8a6504233c1d936d89a47

10 years agoFixed update package info when hybrid webapp.
Soyoung Kim [Wed, 14 Aug 2013 05:04:50 +0000 (14:04 +0900)]
Fixed update package info when hybrid webapp.

[Issue#] N/A
[Problem] package information isn't changed after update hybrid web app.
[Cause] There is a bug in check condition during update package information.
[Solution] remove condition for hybrid webapp.
(Because to update package information execute only in wrt-installer when hybrid web app.)
[SCMRequest] N/A

Change-Id: Ibdca78752bdab9194c0d2d09fdd7633f168059f1

10 years agoFixed build break about "Remove wrt-preinstall-widgets.service"
Soyoung Kim [Wed, 14 Aug 2013 05:46:39 +0000 (14:46 +0900)]
Fixed build break about "Remove wrt-preinstall-widgets.service"

[Issue#] N/A
[Problem] build failed ater "Remove wrt-preinstall-widgets.service"
[Cause] spec file has "wrt-preinstall-widgets.service"
[Solution] remove "wrt-preinstall-widgets.service" from spec file.
[SCMRequest] N/A

Change-Id: I80637f99e041407added1b19b597dcdda3e03f46

10 years ago[Release] wrt-installer_0.1.116
sung-su.kim [Wed, 14 Aug 2013 04:50:18 +0000 (13:50 +0900)]
[Release] wrt-installer_0.1.116

Change-Id: I3de20d709f0599d3d61b0eba116c04626fbbeb44

10 years agoPkgmgr's wgt backendlib - fixing name locale for package
Tomasz Iwanek [Mon, 12 Aug 2013 11:20:39 +0000 (13:20 +0200)]
Pkgmgr's wgt backendlib - fixing name locale for package

[Issue#]       LINUXWRT-792 / WGL-406
[Bug]          Locale isn't correctly dipatched
[Cause]        Lookup should be done without subtags too
               (that wasn't fixed when writing LocalisationTagsSingleton).
[Solution]     Use code from localisation module
[Verification] Try to install widget ta-de-004.wgt (located in wrt-extra)
               from myfiles app (copy file to /opt/usr/media/Others/).
               Displayed widget name in popup should be "PASS".

Change-Id: I4468619e441f32f1d744bba4eba08a8579fbe403

10 years agoBuild Fix after ea9d0ebbd87705b6d36ad280bfab4151faaa8808
Soo-Hyun Choi [Wed, 14 Aug 2013 02:22:53 +0000 (11:22 +0900)]
Build Fix after ea9d0ebbd87705b6d36ad280bfab4151faaa8808

[Issue#] N/A
[Problem] Build failed after ea9d0ebbd87705b6d36ad280bfab4151faaa8808
[Cause] spec file still has "wrt-preinstall-widgets.service"
[Solution] Removed "wrt-preinstall-widgets.service" from the spec file
[SCMRequest] N/A

Change-Id: I36b83e5a95028af6c61069f75d1f671a74930f23

10 years agoCreate & update widget interface database
Jihoon Chung [Fri, 9 Aug 2013 13:51:51 +0000 (22:51 +0900)]
Create & update widget interface database

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] To implement update widget interface key & value, database
should create in install time. Also this commit support update widget
interface data.
[SCMRequest] must be imported with wrt-commons
https://review.tizendev.org/gerrit/#/c/86092/

Change-Id: I575ae2ec2f9880d8e26fd6ede3f23549e9134d23

10 years agoRemove wrt-preinstall-widgets.service
Soyoung Kim [Tue, 13 Aug 2013 12:26:45 +0000 (21:26 +0900)]
Remove wrt-preinstall-widgets.service

[Issue#] N/A
[Problem] Booting time is delayed too much by wrt-preinstall-widgets.service
[Cause] wrt_preinstall_widgets.sh is executed several times at boot time
[Solution] Remove preinstall service as we do not need this anymore.
           e.g.,) preinstall service is available with CSC.
           We received a request of removal this service from kyungmin.park@samsung.com
[SCMRequest] N/A

Change-Id: I3152068778565970bb4f2f2c89be12e539f4945d

10 years ago[Release] wrt-installer_0.1.115
sung-su.kim [Sun, 11 Aug 2013 23:28:36 +0000 (08:28 +0900)]
[Release] wrt-installer_0.1.115

Change-Id: I2204f2b141bee23f69349a3cc4d761b00cc04c41

10 years agoImplement disposition element parser
Jihoon Chung [Sun, 4 Aug 2013 09:11:01 +0000 (18:11 +0900)]
Implement disposition element parser

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Implement disposition element parser
disposition element is sub-element of tizen:app-control.
element name : tizen:disposition
value :
  inline - application running with submode
  window - application running with normal state

example :
  <tizen:app-control>
    <tizen:src name="test.html"/>
    <tizen:operation name="http://tizen.org/appcontrol/operation/test"/>
    <tizen:disposition name="inline"/>
  </tizen:app-control>
dispostion element requires platform level
[SCMRequest] N/A

Change-Id: Ib36215380572afffc23ce831d28488903b5dd4f8

10 years ago[Release] wrt-installer_0.1.114 submit/tizen_2.2/20130808.075610
sung-su.kim [Thu, 8 Aug 2013 07:56:00 +0000 (16:56 +0900)]
[Release] wrt-installer_0.1.114

Change-Id: Iaa6e3d9f48124bf7196cb5e771011d7994a6817d

10 years ago[Release] wrt-installer_0.1.114
sung-su.kim [Wed, 7 Aug 2013 23:55:41 +0000 (08:55 +0900)]
[Release] wrt-installer_0.1.114

Change-Id: I85df70b6294c6979cb4ceac80461a1b03c20b00b

10 years agoseparate generation manifest and update pkginfo.
Soyoung Kim [Mon, 5 Aug 2013 11:32:00 +0000 (20:32 +0900)]
separate generation manifest and update pkginfo.

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] To update package info separate from generation manifest file.
Because package info is double updated when hybrid app.
[SCMRequest] N/A

Change-Id: Ib32dd11d6108630480918bff9529aa85a6c56185

10 years agoAdd start/end task for log.
Soyoung Kim [Thu, 1 Aug 2013 06:11:33 +0000 (15:11 +0900)]
Add start/end task for log.

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add log for marking task.
[SCMRequest] N/A

Change-Id: Ib4891a2389c0821290710a4973d9fd9ceea4ea52

10 years agoApply the cflag(TIZEN_ENGINEER_MODE)
Soyoung Kim [Wed, 7 Aug 2013 05:36:54 +0000 (14:36 +0900)]
Apply the cflag(TIZEN_ENGINEER_MODE)

[Issue#] N/A
[Problem] can't display dlog.
[Cause] N/A
[Solution] add cflag for feature of USER/ENG binary.
[SCMRequest] N/A

Change-Id: Ic91e36f124fd9635d39f8b97217e5e2fc790b52b

10 years agoPrivilege and Feature list files are added for IDE
Hoseon LEE [Wed, 7 Aug 2013 02:54:19 +0000 (11:54 +0900)]
Privilege and Feature list files are added for IDE

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Privilege and Feature list files are added for IDE
The IDE show the available list of Privilege and feature.
WRT maintains this list.
[SCMRequest] N/A

Change-Id: I5d921046bb86bd502c99dfdc87072edf035f99f9

10 years ago[Release] wrt-installer_0.1.113
sung-su.kim [Mon, 5 Aug 2013 23:19:36 +0000 (08:19 +0900)]
[Release] wrt-installer_0.1.113

Change-Id: I70eeae123b1135a9225487fe802aad0e34beef12

10 years agoRemove deprecated API
Jihoon Chung [Sun, 4 Aug 2013 07:38:31 +0000 (16:38 +0900)]
Remove deprecated API

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Remove deprecated API
Remove registerOrUpdateWidget, backupAndUpdateWidget and
restoreUpdateWidget.
[SCMRequest] N/A

Change-Id: I8b0bfe580ec2ec04b1cad1c1864f5c71d09e896b

10 years agoMisspell in wrt-installer
Rafal Bednarski [Wed, 31 Jul 2013 09:41:58 +0000 (11:41 +0200)]
Misspell in wrt-installer

[Issue#] LINUXWRT-745
[Problem] Misspell was instead of "true" was "ture".
[Cause] N/A
[Solution] Changed "ture" for "true"
[Verification] Build repository

Change-Id: I965d275103a5587e1c9f519e7d88b0903aa6ddc4

10 years ago[Release] wrt-installer_0.1.112
Soyoung Kim [Fri, 2 Aug 2013 11:55:19 +0000 (20:55 +0900)]
[Release] wrt-installer_0.1.112

Change-Id: I31450af41bc7bfcf47f8cb459d1ee00faff75f58

10 years agoFixed failure return value change to error code.
Soyoung Kim [Fri, 2 Aug 2013 07:33:12 +0000 (16:33 +0900)]
Fixed failure return value change to error code.

[Issue#] N/A
[Problem] CSC installation can't get error code.
[Cause] wrt-installer command doesn't return error code.
[Solution] return error code.
[SCMRequest] N/A

Change-Id: Id39749a22c0dbc5917a387d9c7022f0a4072ce6e

10 years ago[Release] wrt-installer_0.1.111
sung-su.kim [Wed, 31 Jul 2013 00:05:47 +0000 (09:05 +0900)]
[Release] wrt-installer_0.1.111

Change-Id: I0b4722449f03f4d85b726f24efba0f41048b8225

10 years agoDPL Encryption module depenedency dropped
Tomasz Iwanek [Tue, 30 Jul 2013 11:14:17 +0000 (13:14 +0200)]
DPL Encryption module depenedency dropped

[Issue#]       N/A
[Bug]          Not use module
[Cause]        N/A
[Solution]     Remove dependency for wrt-installer
[Verification] Build.

Change-Id: I694f77723ba30eed3451f7b4b80425f950827070

10 years ago[Release] wrt-installer_0.1.110 submit/tizen_2.2/20130730.071200
sung-su.kim [Thu, 25 Jul 2013 23:37:12 +0000 (08:37 +0900)]
[Release] wrt-installer_0.1.110

Change-Id: Ibf32fd853a84d787d7aac7becdf3f15a57cbab2b

10 years ago[Release] wrt-installer_0.1.110
sung-su.kim [Fri, 26 Jul 2013 07:54:52 +0000 (16:54 +0900)]
[Release] wrt-installer_0.1.110

Change-Id: I308f114c0f9031c35b084b2d3a45f3f4a1fa4624

10 years agoAdd callerId exception
sung-su.kim [Fri, 26 Jul 2013 07:41:43 +0000 (16:41 +0900)]
Add callerId exception

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add callerId exception
[SCMRequest] N/A

Change-Id: I58b7f23ff190e4d0458d71f41403cf144a10d541

10 years ago[Release] wrt-installer_0.1.109
sung-su.kim [Thu, 25 Jul 2013 23:20:03 +0000 (08:20 +0900)]
[Release] wrt-installer_0.1.109

Change-Id: Ia62ddbc7e18d4de50f948e10d6f7e18f2d468d20

10 years agoAdd invalid wgt package exception code
sung-su.kim [Thu, 18 Jul 2013 01:46:44 +0000 (10:46 +0900)]
Add invalid wgt package exception code

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add invalid wgt package exception code
[SCMRequest] N/A

Change-Id: I73965ae534e2e7a4f7c00ac5659e4da66faefb88

10 years ago[Release] wrt-installer_0.1.108
sung-su.kim [Thu, 25 Jul 2013 00:39:12 +0000 (09:39 +0900)]
[Release] wrt-installer_0.1.108

Change-Id: I2a65c359d49206fe0a0bc6e0a7542dcf0e63aeb9

10 years agoUtilize extracted i18n db in LanguageSubtagRstTree.
Zbigniew Kostrzewa [Fri, 19 Jul 2013 07:49:17 +0000 (09:49 +0200)]
Utilize extracted i18n db in LanguageSubtagRstTree.

[Issue#] N/A
[Problem] iana_records table, on which LanguageSubtagRstTree relies,
has been extracted into a separate DB
[Cause] N/A
[Solution] utilize new DB (replace references from GlobalDAOReadOnly to
I18nDAOReadOnly)
[SCMRequest] Depends on: https://review.tizendev.org/82091
[Verification]
1. Build repository
2. Run command
  `wrt-installer-tests-general --output=text`
  Pay attention espaecially to test cases ValidateLanguageTag_Invalid
  and ValidateLanguageTag_Valid; however, run whole test suite.

Change-Id: Ie6d82b26e8effc0d62eaaba0701c122e50172154

10 years ago[Release] wrt-installer_0.1.107
sung-su.kim [Wed, 24 Jul 2013 00:13:42 +0000 (09:13 +0900)]
[Release] wrt-installer_0.1.107

Change-Id: I03e1b9170fd7afdca8c55f306e0df8dee630e907

10 years agoAdd store client id in manifest.xml
Soyoung Kim [Fri, 19 Jul 2013 12:24:37 +0000 (21:24 +0900)]
Add store client id in manifest.xml

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] add storeclient-id field in manifest.xml
storeclient-id is caller package id.
[SCMRequest] N/A

Change-Id: I4eac194ffe7289159de7fba25f9adc9405ebf236

10 years agoFixed error code when missing start file.
Soyoung Kim [Fri, 19 Jul 2013 11:25:59 +0000 (20:25 +0900)]
Fixed error code when missing start file.

[Issue#] N/A
[Problem] error code is wrong when missing start file.
[Cause] N/A
[Solution] error code change to "package invalid"
[SCMRequest] N/A

Change-Id: I009c38123e235d65d557b01ceec27de0a078c67b

10 years agoChange condition of reinstall preload app after uninstall
Soyoung Kim [Thu, 18 Jul 2013 06:30:54 +0000 (15:30 +0900)]
Change condition of reinstall preload app after uninstall

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] using check system app api.
[SCMRequest] N/A

Change-Id: Ie909a0308ec331955e056e7fb7fea83240befcc1

10 years agoChange log tag WRT to WRT_INSTALLER
Soyoung Kim [Fri, 19 Jul 2013 03:03:48 +0000 (12:03 +0900)]
Change log tag WRT to WRT_INSTALLER

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] log tag is changed WRT_INSTALLER from WRT
[SCMRequest] N/A

Change-Id: Ic2661c6664776263088e4a0fcfd8263659f8f991

10 years agocode cleanup
Soyoung Kim [Wed, 17 Jul 2013 11:53:55 +0000 (20:53 +0900)]
code cleanup

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] unused code cleanup
[SCMRequest] N/A

Change-Id: I5277748a059a453103873a6373dfd729c6666a65

10 years ago[Release] wrt-installer_0.1.106
sung-su.kim [Mon, 22 Jul 2013 23:58:06 +0000 (08:58 +0900)]
[Release] wrt-installer_0.1.106

Change-Id: Icfb026cee3a31506521de6d4bf14594d7118a4ba

10 years agoFix build-break. Remove unused component.
Zbigniew Kostrzewa [Mon, 22 Jul 2013 10:13:08 +0000 (12:13 +0200)]
Fix build-break. Remove unused component.

[Issue#] N/A
[Problem] Build break
[Cause] Use of removed API
[Solution] The component that is using removed API is not used. Comment
it out until proper fix is applied and component is utilized again.
[SCMRequest] N/A
[Verification]
1. Build repository
2. Run command:
  `wrt-installer-tests-general --output=text`

Change-Id: If4efa53eb2e5939d6baa0ed8488452d7926821a5

10 years ago[Release] wrt-installer_0.1.105
sung-su.kim [Mon, 22 Jul 2013 08:56:26 +0000 (17:56 +0900)]
[Release] wrt-installer_0.1.105

Change-Id: Iaa28e9cf66d88ac60f52cf7cc0baeb8c9967211c

10 years agoFixed encryption fail issue
Jihoon Chung [Mon, 22 Jul 2013 08:38:28 +0000 (17:38 +0900)]
Fixed encryption fail issue

[Issue#] N/A
[Problem] Encrypt application is failed to install
[Cause] Certify level checks return error. Because encrypt is done
before certify level task and md5 checking is failed
[Solution] Move certify level checking before encryption
[SCMRequest] N/A

Change-Id: I0500eeca1264e4dadec5d7871372890b52591a00

10 years ago[Release] wrt-installer_0.1.104
sung-su.kim [Mon, 22 Jul 2013 01:38:57 +0000 (10:38 +0900)]
[Release] wrt-installer_0.1.104

Change-Id: If247f03657dd1bf8018a3bcc80c741fae76f04ab

10 years agoImplement task to check "tizen:setting"
Jihoon Chung [Sun, 14 Jul 2013 11:15:14 +0000 (20:15 +0900)]
Implement task to check "tizen:setting"

[Issue#] N/A
[Problem] Current wrt-installer only checks "tizen:privilege" level,
even manifest received many requirement of sensitive "tizen:setting"
[Cause] N/A
[Solution] Implement task "task_certify_level"
To avoid sensitive manifest setting is used by untrust application,
installer needs to check privilege level of application. This commit
doesn't use global, static and member value intentionally
to reduce attack.
[SCMRequest] N/A

Change-Id: Icb63c2ad3b02a57c90d39f729db159a84576f348

10 years ago[Release] wrt-installer_0.1.103
sung-su.kim [Fri, 19 Jul 2013 03:07:42 +0000 (12:07 +0900)]
[Release] wrt-installer_0.1.103

Change-Id: I4033ba0dea93dd5971c1ed4dc81a96db536847b0

10 years agoFix for wrong notification during installation
Kamil Nowac [Mon, 15 Jul 2013 13:55:31 +0000 (15:55 +0200)]
Fix for wrong notification during installation

[Issue#] LINUXWRT-656
[Problem] Wrong notification during widget instalation
on the top of teh screen
[Cause] N/A
[Solution] Added chcecking for system language.
[Verification] Install widget from:
https://bugs.tizendev.org/jira/secure/attachment/140622/WEB-3429.zip
During installation should be displayed notification depending on curent language.

Change-Id: I5a1a73a95cdd8cef1796786152e721bb4e1eb52a

10 years ago[Release] wrt-installer_0.1.102
sung-su.kim [Wed, 17 Jul 2013 02:52:57 +0000 (11:52 +0900)]
[Release] wrt-installer_0.1.102

Change-Id: I8d40292ac3da46349eab1a5e718ca0995ee2a226

10 years agoReplace LogInfo to LogDebug
Jihoon Chung [Wed, 17 Jul 2013 02:32:35 +0000 (11:32 +0900)]
Replace LogInfo to LogDebug

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Replace LogInfo to LogDebug
Platform policy isn't used LogInfo
[SCMRequest] N/A

Change-Id: I0aa6c90972a6189786cde68766f8f893d6aa7362

10 years agoIWacSecurity interface name change to IWidgetSecurity
Tomasz Iwanek [Wed, 10 Jul 2013 10:46:15 +0000 (12:46 +0200)]
IWacSecurity interface name change to IWidgetSecurity

[Issue#]       LINUXWRT-629
[Bug]          Irrelevant name
[Cause]        N/A
[Solution]     N/A
[Verification] Build repository:
[SCMRequest]   This change depends on: https://review.tizendev.org/#/c/80379

Change-Id: I1b52a267b6ba450376b91c872b97e64b64760871

10 years agoAdd support for processing only first occurence of allow-navigation.
Zbigniew Kostrzewa [Fri, 12 Jul 2013 10:15:22 +0000 (12:15 +0200)]
Add support for processing only first occurence of allow-navigation.

[Issue#] https://bugs.tizendev.org/jira/browse/TDIS-6856
[Problem] All allow-navigation elements from web application's
configuration document are parsed but only the first one
should be processed.
[Cause] N/A
[Solution] Process only the first occurrence of the allow-navigation
element.
[SCMRequest] Depends on: https://review.tizendev.org/80915
[Verification]
1. Build repository
2. Run test test/tct/wrt/tct-ext02-wrt-tests/setting-an-more

Change-Id: Ief2a0ce2f6a59b40c08df0fa90ffb04caa9377dc

10 years ago[Release] wrt-installer_0.1.101 submit/tizen_2.2/20130715.133621 submit/tizen_2.2_extension/20130913.080414
sung-su.kim [Mon, 15 Jul 2013 13:04:25 +0000 (22:04 +0900)]
[Release] wrt-installer_0.1.101

Change-Id: I045a64ae245d5e7baa2fe900b87ce8881d5ae186

10 years ago[Release] wrt-installer_0.1.101
sung-su.kim [Mon, 15 Jul 2013 11:12:01 +0000 (20:12 +0900)]
[Release] wrt-installer_0.1.101

Change-Id: Ia76e35299420467a32d86e13cdacf55111f3f955

10 years agoFixed decrypt DRM web app.
Soyoung Kim [Mon, 15 Jul 2013 10:58:11 +0000 (19:58 +0900)]
Fixed decrypt DRM web app.

[Issue#] N/A
[Problem] can't install DRM web app
[Cause] fail to check decryption of drm web app.
[Solution] fixed check dcrypted web app.
[SCMRequest] N/A

Change-Id: Ib42b83209cb486d0f958f3eb800681f3409367da

10 years ago[Release] wrt-installer_0.1.100
sung-su.kim [Mon, 15 Jul 2013 06:11:04 +0000 (15:11 +0900)]
[Release] wrt-installer_0.1.100

Change-Id: I2fb86b4515b8a4cf37f89ac4fca35a767f102203

10 years agoFixed installation failed when configure has default locale in widget element.
Soyoung Kim [Fri, 12 Jul 2013 08:30:08 +0000 (17:30 +0900)]
Fixed installation failed when configure has default locale in widget element.

[Issue#] WEB-3324
[Problem] installation failed.
[Cause] there is no smack rule at install service app.
[Solution] For temporary remove to check logic about valid default locale.
[SCMRequest] N/A

Change-Id: Ib9bf0f92dc3ab1c8b1f17f591548fb993a964fba

10 years ago[Release] wrt-installer_0.1.99 for tizen_2.2 submit/tizen_2.2/20130713.111652
Soyoung Kim [Sat, 13 Jul 2013 11:08:58 +0000 (20:08 +0900)]
[Release] wrt-installer_0.1.99 for tizen_2.2

Merge branch 'master' into tizen_2.2

Change-Id: Ibe627a882aeece3c48bc9df23155f3ba64bd693f

10 years ago[Release] wrt-installer_0.1.99
Soyoung Kim [Sat, 13 Jul 2013 10:54:25 +0000 (19:54 +0900)]
[Release] wrt-installer_0.1.99

Change-Id: I56a8d0bb83b3875c156a59d4f3d56e83b0664a41

10 years agoSet smack label for preloaded app.
Soyoung Kim [Fri, 12 Jul 2013 04:53:47 +0000 (13:53 +0900)]
Set smack label for preloaded app.

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Set smack label for preloaded app.
[SCMRequest] N/A

Change-Id: I1614ea7ec61cf15ab55dfdb592708f168377408b

10 years agoDefault icon is not loading in correct order
Kamil Nowac [Fri, 5 Jul 2013 07:51:40 +0000 (09:51 +0200)]
Default icon is not loading in correct order

[Issue#] LINUXWRT-621
[Problem] Wrong prioritizing of icons.
[Cause] N/A
[Solution] Icons extensions are now checked
[Verification] 1. Build wrt-installer repo
2. Build wrt-extra repo with tests
2. Install widget bo.wgt widget from wrt-extra's ta_FAFYMEGELU_bo test
Widget should install without problems and icon.png should be displayed in menu.

Change-Id: I7cc7f4e552c3221b284832cc422be132a805edc8

10 years ago[Release] wrt-installer_0.1.98 submit/tizen_2.2/20130712.042109
sung-su.kim [Fri, 12 Jul 2013 04:20:31 +0000 (13:20 +0900)]
[Release] wrt-installer_0.1.98

Change-Id: I3e1e421508a0cae124c6a66ab13322d63dcecc62

10 years ago[Release] wrt-installer_0.1.98
sung-su.kim [Fri, 12 Jul 2013 00:06:36 +0000 (09:06 +0900)]
[Release] wrt-installer_0.1.98

Change-Id: Ibbdfc047ae7ebfc67983cfc5e92268280dbbac91

10 years agofixed build break
sung-su.kim [Thu, 11 Jul 2013 13:19:28 +0000 (22:19 +0900)]
fixed build break

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] fixed build break
[SCMRequest] N/A

Change-Id: Ifa33678d87923368903a500a5d74745382c0fa23

10 years agoAdd dynamic box icon src exception handle
sung-su.kim [Thu, 4 Jul 2013 09:21:47 +0000 (18:21 +0900)]
Add dynamic box icon src exception handle

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add dynamic box icon src exception handle
[SCMRequest] N/A

Change-Id: Ia134292d7303049b4991c09d87feec8a9bab9232

10 years agoSupport Tizen app DRM
Soyoung Kim [Mon, 8 Jul 2013 12:23:56 +0000 (21:23 +0900)]
Support Tizen app DRM

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Support Tizen DRM.
[SCMRequest] N/A

Change-Id: I80177ba3f4ed7cbd2a721519158fce9a7bd8fae8

10 years agoWAC code removal
Tomasz Iwanek [Wed, 10 Jul 2013 06:49:09 +0000 (08:49 +0200)]
WAC code removal

[Issue#]       LINUXWRT-629
[Bug]          Not supported code
[Cause]        N/A
[Solution]     Removal of:
- LinkParser,
- code branches or WrtDB::APP_TYPE_WAC20 app type,
- WACPluginsPrefix
[Verification] Build repository
[SCMRequest]   This change requires: https://review.tizendev.org/80321

Change-Id: I9bced8f45f21fa063cbcf55e277d705b439d1595

10 years agoChange smack labeling api
Soyoung Kim [Wed, 29 May 2013 08:57:17 +0000 (17:57 +0900)]
Change smack labeling api

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] app_label_dir to app_setup_path.
[SCMRequest] N/A

Change-Id: Ie8e9a8f311af3316fbaa07834d6b762031007128

10 years agoUpdate Changelog 76/5576/1 accepted/tizen/20130710.021123 accepted/tizen/20130710.213949 submit/tizen/20130709.152928 submit/tizen/20130710.023042 submit/tizen/20130710.165533
Baptiste DURAND [Tue, 9 Jul 2013 14:56:43 +0000 (16:56 +0200)]
Update Changelog

10 years agoRemove hardcoded lib path in spec and CMakelists 75/5575/1
Baptiste DURAND [Tue, 18 Jun 2013 13:06:13 +0000 (15:06 +0200)]
Remove hardcoded lib path in spec and CMakelists

10 years agoAdd build config for decrypt support 74/5574/1
Baptiste DURAND [Tue, 9 Jul 2013 14:45:57 +0000 (16:45 +0200)]
Add build config for decrypt support

10 years ago[Release] wrt-installer_0.1.97 submit/tizen_2.2/20130709.134555
Jihoon Chung [Tue, 9 Jul 2013 13:45:23 +0000 (22:45 +0900)]
[Release] wrt-installer_0.1.97

Change-Id: Ia456042fbb6c702ee69c70561eba4638081add4c

10 years agoGCC 4.8 build break fix
Pawel Sikorski [Fri, 5 Jul 2013 12:33:14 +0000 (14:33 +0200)]
GCC 4.8 build break fix

[Issue#] N/A
[Problem] Build break during gcc 4.8 compilation
[Cause] no proper include added
[Solution] unistd.h include added
[SCMRequest] N/A

Change-Id: Ia73557cfcfa2f88853fb9c84d1e180be0c59e7f4

10 years ago[Release] wrt-installer_0.1.97
sung-su.kim [Tue, 9 Jul 2013 10:18:00 +0000 (19:18 +0900)]
[Release] wrt-installer_0.1.97

Change-Id: Iba78e4606412f7375e9cc23ac0aa4fe923ebc195

10 years agoresetting manifest requested domain to floor 64/4564/2
Alexandru Cornea [Fri, 28 Jun 2013 16:48:34 +0000 (19:48 +0300)]
resetting manifest requested domain to floor

10 years agoSetting app type fix.
Andrzej Surdej [Fri, 5 Jul 2013 07:46:15 +0000 (09:46 +0200)]
Setting app type fix.

[Issue#] LINUXWRT-599
[Problem] Multiple xml namespaces caused unhandled exception.
[Cause] N/A
[Solution] Fixed namespace chosing and catching exception
[Verification] To verify install widget: http://slp-info.sec.samsung.net/bugs/browse/WEB-3530
and run some part of w3c P&C tests

Change-Id: I8c616f70e9ca46f321dae8bfe20abd391da76468

10 years agoRun wrt-installer -p for plugins tests
Tomasz Iwanek [Thu, 4 Jul 2013 07:23:17 +0000 (09:23 +0200)]
Run wrt-installer -p for plugins tests

[Issue#]       N/A
[Bug]          Tests may not run properly
[Cause]        N/A
[Solution]     Run plugin installation. Make sure it was run.
[Verification] run: wrt-installer-tests-general --output=text --regexp='PluginsInstallation_'

Change-Id: Idfcb05a3cbb294633a0d2d4fbdff5d192dce17d1