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
sung-su.kim [Mon, 2 Sep 2013 00:09:08 +0000 (09:09 +0900)]
[Release] wrt-installer_0.1.120
Change-Id: I5198eaa5972bdfa0cd5625aeaeb2c79f407d6322
HOSEON LEE [Thu, 29 Aug 2013 04:37:54 +0000 (04:37 +0000)]
Merge "Added logs to help debugging regarding dynamic linking loader error."
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
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
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
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
sung-su.kim [Thu, 22 Aug 2013 04:45:48 +0000 (13:45 +0900)]
[Release] wrt-installer_0.1.119
Change-Id: Iec9544adbe20431359f2cc3f928f2331a75e0a9c
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
sung-su.kim [Wed, 21 Aug 2013 01:41:03 +0000 (10:41 +0900)]
[Release] wrt-installer_0.1.118
Change-Id: I9fe5fd7efa7ce5f419b28c6983440553eeb3e70d
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
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
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
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
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
Soyoung Kim [Fri, 16 Aug 2013 09:34:03 +0000 (18:34 +0900)]
[Release] wrt-installer_0.1.117
Change-Id: I1717ecfdf79bf08a8ffa133ba7c7184ab2caf4be
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
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
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
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
sung-su.kim [Wed, 14 Aug 2013 04:50:18 +0000 (13:50 +0900)]
[Release] wrt-installer_0.1.116
Change-Id: I3de20d709f0599d3d61b0eba116c04626fbbeb44
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
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
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
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
sung-su.kim [Sun, 11 Aug 2013 23:28:36 +0000 (08:28 +0900)]
[Release] wrt-installer_0.1.115
Change-Id: I2204f2b141bee23f69349a3cc4d761b00cc04c41
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
sung-su.kim [Wed, 7 Aug 2013 23:55:41 +0000 (08:55 +0900)]
[Release] wrt-installer_0.1.114
Change-Id: I85df70b6294c6979cb4ceac80461a1b03c20b00b
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
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
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
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
sung-su.kim [Mon, 5 Aug 2013 23:19:36 +0000 (08:19 +0900)]
[Release] wrt-installer_0.1.113
Change-Id: I70eeae123b1135a9225487fe802aad0e34beef12
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
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
Soyoung Kim [Fri, 2 Aug 2013 11:55:19 +0000 (20:55 +0900)]
[Release] wrt-installer_0.1.112
Change-Id: I31450af41bc7bfcf47f8cb459d1ee00faff75f58
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
sung-su.kim [Wed, 31 Jul 2013 00:05:47 +0000 (09:05 +0900)]
[Release] wrt-installer_0.1.111
Change-Id: I0b4722449f03f4d85b726f24efba0f41048b8225
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
sung-su.kim [Fri, 26 Jul 2013 07:54:52 +0000 (16:54 +0900)]
[Release] wrt-installer_0.1.110
Change-Id: I308f114c0f9031c35b084b2d3a45f3f4a1fa4624
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
sung-su.kim [Thu, 25 Jul 2013 23:20:03 +0000 (08:20 +0900)]
[Release] wrt-installer_0.1.109
Change-Id: Ia62ddbc7e18d4de50f948e10d6f7e18f2d468d20
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
sung-su.kim [Thu, 25 Jul 2013 00:39:12 +0000 (09:39 +0900)]
[Release] wrt-installer_0.1.108
Change-Id: I2a65c359d49206fe0a0bc6e0a7542dcf0e63aeb9
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
sung-su.kim [Wed, 24 Jul 2013 00:13:42 +0000 (09:13 +0900)]
[Release] wrt-installer_0.1.107
Change-Id: I03e1b9170fd7afdca8c55f306e0df8dee630e907
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
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
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
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
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
sung-su.kim [Mon, 22 Jul 2013 23:58:06 +0000 (08:58 +0900)]
[Release] wrt-installer_0.1.106
Change-Id: Icfb026cee3a31506521de6d4bf14594d7118a4ba
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
sung-su.kim [Mon, 22 Jul 2013 08:56:26 +0000 (17:56 +0900)]
[Release] wrt-installer_0.1.105
Change-Id: Iaa28e9cf66d88ac60f52cf7cc0baeb8c9967211c
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
sung-su.kim [Mon, 22 Jul 2013 01:38:57 +0000 (10:38 +0900)]
[Release] wrt-installer_0.1.104
Change-Id: If247f03657dd1bf8018a3bcc80c741fae76f04ab
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
sung-su.kim [Fri, 19 Jul 2013 03:07:42 +0000 (12:07 +0900)]
[Release] wrt-installer_0.1.103
Change-Id: I4033ba0dea93dd5971c1ed4dc81a96db536847b0
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
sung-su.kim [Wed, 17 Jul 2013 02:52:57 +0000 (11:52 +0900)]
[Release] wrt-installer_0.1.102
Change-Id: I8d40292ac3da46349eab1a5e718ca0995ee2a226
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
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
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
sung-su.kim [Mon, 15 Jul 2013 11:12:01 +0000 (20:12 +0900)]
[Release] wrt-installer_0.1.101
Change-Id: Ia76e35299420467a32d86e13cdacf55111f3f955
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
sung-su.kim [Mon, 15 Jul 2013 06:11:04 +0000 (15:11 +0900)]
[Release] wrt-installer_0.1.100
Change-Id: I2fb86b4515b8a4cf37f89ac4fca35a767f102203
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
Soyoung Kim [Sat, 13 Jul 2013 10:54:25 +0000 (19:54 +0900)]
[Release] wrt-installer_0.1.99
Change-Id: I56a8d0bb83b3875c156a59d4f3d56e83b0664a41
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
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
sung-su.kim [Fri, 12 Jul 2013 00:06:36 +0000 (09:06 +0900)]
[Release] wrt-installer_0.1.98
Change-Id: Ibbdfc047ae7ebfc67983cfc5e92268280dbbac91
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
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
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
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
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
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
sung-su.kim [Tue, 9 Jul 2013 10:18:00 +0000 (19:18 +0900)]
[Release] wrt-installer_0.1.97
Change-Id: Iba78e4606412f7375e9cc23ac0aa4fe923ebc195
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
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
sung-su.kim [Thu, 4 Jul 2013 12:09:59 +0000 (21:09 +0900)]
[Release] wrt-installer_0.1.96
Change-Id: Icc75d8442d37ccd25af9c74f7ff1ecdeedf99da5
sung-su.kim [Thu, 4 Jul 2013 05:37:21 +0000 (14:37 +0900)]
Removed default icon image file
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Removed default icon image file in installer package.
[SCMRequest] N/A
Change-Id: Ia7bd661b8b66060ff1ea77d1bd9aa1ad27bf5596
Zbigniew Kostrzewa [Tue, 2 Jul 2013 05:51:05 +0000 (07:51 +0200)]
Make pkg manager case-insensitive to wgt backend installer name.
[Issue#] WEB-3480
[Problem] Pkg manager cannot find backend installer for widgets with
file extension not being in lowercase.
[Cause] W3C P&C specifies that widget file extension should be matched
case-insensitively to string ".wgt". However, pkg-manager when resolving
backend installer for specific file matches its extension case-sensitively
against the backend installer names. In a result, if a widget file
extension differs from "wgt" (in letters capitalization, e.g. wgT, WgT)
pkg manager cannot find appropriate backend installer.
[Solution] Because other backend installers may require matching
their names case-sensitively the fix is to provide symbolic links to wgt
backend installer in all possible combinations of uppercase/lowercase
letters.
[SCMRequest] N/A
Change-Id: Ic146c96df7f22196af0f933045b442ef5d17babe
sung-su.kim [Wed, 3 Jul 2013 06:50:20 +0000 (15:50 +0900)]
[Release] wrt-installer_0.1.95
Change-Id: I0a6edcedb69cedd70ce2eea2b47abcc7467bd78f
sung-su.kim [Wed, 3 Jul 2013 06:39:12 +0000 (15:39 +0900)]
Revert "Fix installation of widgets using "defaultlocale" attribute."
This reverts commit
a702e45a1c07816e5659561012f3a3170ec77eda.
Change-Id: Iba12f6f1ac8df114bbd33208e58c409a1be0729f
sung-su.kim [Tue, 2 Jul 2013 05:22:26 +0000 (14:22 +0900)]
[Release] wrt-installer_0.1.94
Change-Id: If71d21952fad0de983340ecbfca4514cb548d73f
Zbigniew Kostrzewa [Thu, 27 Jun 2013 07:02:02 +0000 (09:02 +0200)]
Fix installation of widgets using "defaultlocale" attribute.
[Issue#] WEB-3324
[Problem] Installation of widgets with attribute "defaultlocale" in
"widget" element fails.
[Cause] Installer backendlib for package-manager does not include all
required sources. To be exact launguage_subtag_rst_tree.cpp which
defines object used only when attribute "defaultlocale" is used. What's
more the language tag verification requires connection to WRT DB which
was not established in this particular case.
[Solution] Add missing dependencies and establish connection to WRT DB.
[SCMRequest] N/A
[Verification]
1. Build the change
2. Install package on the device
3. Run test widgets (from menu screen):
test/webapi/webapi-w3c-widgetpackaging-tests/widgetpackaging/w3c/dlocuse01.wgt
test/webapi/webapi-w3c-widgetpackaging-tests/widgetpackaging/w3c/dlocignore00.wgt
test/webapi/webapi-w3c-widgetpackaging-tests/widgetpackaging/w3c/ta-de-000.wgt
test/webapi/webapi-w3c-widgetpackaging-tests/widgetpackaging/w3c/ta-de-001.wgt
test/webapi/webapi-w3c-widgetpackaging-tests/widgetpackaging/w3c/ta-de-002.wgt
test/webapi/webapi-w3c-widgetpackaging-tests/widgetpackaging/w3c/ta-de-003.wgt
test/webapi/webapi-w3c-widgetpackaging-tests/widgetpackaging/w3c/ta-de-004.wgt
and one other that does not include "defaultlocale" attribute, e.g.
test/webapi/webapi-w3c-widgetpackaging-tests/widgetpackaging/w3c/br.wgt
CAUTION: This commit does not fix the issue entirely. Application that
performs the installation, when it is initiated from menu screen
(i.e. Installer), does not have enough access rights to establish connection
to WRT DB (SMACK issue). Lack of rights results in sqlite returning
SQLITE_BUSY to the application each time the application tries to establish
a connection (this results in an infinite loop in the application).
Temporary fix could be to set SMACK label "*" to WRT DB (label "_" is
not enough for some reason). However, generally the issue should
probably be passed to security team.
Change-Id: I1f16e7ad47830e226bbf57522719cf9e0af77cff
Soyoung Kim [Mon, 1 Jul 2013 08:34:44 +0000 (17:34 +0900)]
[Release] wrt-installer_0.1.93
Change-Id: Ieacd7d58a404cf27d78009a0b4fdbb318f9a512d
Soyoung Kim [Mon, 1 Jul 2013 07:12:47 +0000 (16:12 +0900)]
Fixed upgrade to preload hybird app.
[Issue#] N/A
[Problem] failed upgrade to preload hybrid app.
[Cause] there was a issue about package api call.
[Solution] always call package api call when hybrid app.
[SCMRequest] N/A
Change-Id: I02e3c3240b1a0bdcf43f144011d03d0affbc9b6a
Jihoon Chung [Fri, 28 Jun 2013 16:07:21 +0000 (01:07 +0900)]
[Release] wrt-installer_0.1.92
Change-Id: I63cafa214762cc9267fbc6ac6fcb25815f9625f2
Jihoon Chung [Fri, 28 Jun 2013 15:46:31 +0000 (00:46 +0900)]
Change implement of policy (CSP, allow-navigation, access)
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution]
If platform version is 2.2, preferred CSP, allow-navigation than access
Core spec 0104, 0105 will be changed
[SCMRequest] N/A
Change-Id: Ib41333c730e9c1ea54123411e8d803c4326fb3b4
Soyoung Kim [Fri, 28 Jun 2013 14:40:37 +0000 (23:40 +0900)]
Fixed RDS install failed
[Issue#] N/A
[Problem] RDS update failed.
[Cause] because signature file can't find.
[Solution] fixed path of signature file when RDS mode.
[SCMRequest] N/A
Change-Id: I6673b1eefdcc1aa5eb4a68e5b469b2a39001e61a
Soyoung Kim [Fri, 28 Jun 2013 08:03:15 +0000 (17:03 +0900)]
[Release] wrt-installer_0.1.91
Change-Id: Ie9f4ee0844a2124140c320b9c59088e1fc4e1d33
Soyoung Kim [Fri, 28 Jun 2013 07:45:24 +0000 (16:45 +0900)]
Revert "Change smack labeling api"
This reverts commit
7bd7b093dd5876db2d7ee1f49df1f7a03c451a55.
Change-Id: Icd4d609c7e326f699213748fa4bfaf7f34d4dd0d
sung-su.kim [Fri, 28 Jun 2013 00:01:32 +0000 (09:01 +0900)]
[Release] wrt-installer_0.1.90
Change-Id: I41403bfe60ebfdb001734021ba9c346043a145b7
Jihoon Chung [Thu, 27 Jun 2013 13:49:02 +0000 (22:49 +0900)]
Support core spec 0104, 0105
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution]
0104. If the "required_version" specified in the Web Application's
configuration is 2.2 or higher and if the Web Application's
configuration is "CSP-compatible configuration", then the WRT MUST be
set to "CSP-based security mode". Otherwise, the WRT MUST be set to
"WARP-based security mode".
0105. A Web Application configuration is "CSP-compatible configuration"
if the configuration includes one or more of
<tizen:content-security-policy> /
<tizen:content-security-policy-report-only> /
<tizen:allow-navigation> elements.
[SCMRequest] N/A
Change-Id: If9c042e7216445b56e235ba52ca2c4f1e3321421
Jihoon Chung [Sun, 23 Jun 2013 11:08:16 +0000 (20:08 +0900)]
Change XSD configuration
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution]
Add "xml:lang" for Widget, Name, Author and Description
IDE needs exactly declare of each element to generate java data for UX
from XSD
[SCMRequest] N/A
Change-Id: Ib2918948a6efcd617b49c6f28133165e0e88e0c3
Soyoung Kim [Thu, 27 Jun 2013 05:52:47 +0000 (14:52 +0900)]
[Release] wrt-installer_0.1.89
Change-Id: I307b75fb0c80df8c9db99d28a74fe9b7719b3160
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: If8ee55200250c7edb7070e5606cbfc261ec6cc29
Soyoung Kim [Wed, 26 Jun 2013 13:17:12 +0000 (22:17 +0900)]
Fixed prevent
[Issue#] prevent-58873
[Problem] resource leak
[Cause] not free malloc variable.
[Solution] free variable.
[SCMRequest] N/A
Change-Id: Ia4bd98027d4050cda907e50d65247500ad70cd2f