Soyoung Kim [Fri, 22 Mar 2013 05:53:07 +0000 (14:53 +0900)]
removed send signal during widget uninstallation.
[Issue#] DCM-953
[Problem] package manager get wrong event type.
[Cause] installer send wrong event signal.
[Solution] remove to send progress signal.
[SCMRequest] N/A
Change-Id: I3790f03364866e6fb6df5573cdecdd1d3b926052
Soyoung Kim [Mon, 25 Mar 2013 12:26:24 +0000 (21:26 +0900)]
Fixed get detail information from wgt file
[Issue#] N/A
[Problem] wrong value.
[Cause] N/A
[Solution] store right value at pkgmgr struct request by osp team.
[SCMRequest] N/A
Change-Id: I8b861368f6cc64442cd2f1d0d40d7368e0762392
Jihoon Chung [Thu, 28 Mar 2013 06:53:31 +0000 (15:53 +0900)]
Remove debian directory
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] debian directory isn't used anymore
[SCMRequest] N/A
Change-Id: Ie2b8809d2e43e039cc20eee8f541e5e613c586af
Jihoon Chung [Wed, 27 Mar 2013 08:38:24 +0000 (17:38 +0900)]
Support app:// for w3c privilege
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] "file://" scheme is deprecated
Tizen2.1 uses "app://<app-id>" instead of "file://"
This commit changed add security origin part when web application
define w3c privilege in the config.xml
[SCMRequest] N/A
Change-Id: I4c7dc4f2a5f6d61f120e7763b73ac7830b2737fc
Karol Pawlowski [Mon, 25 Mar 2013 13:42:15 +0000 (14:42 +0100)]
Buffer not null terminated
[Issue#] N/A
[Feature/Bug] N/A
[Problem] The string buffer may not have a null terminator
[Cause] Coverity warnings
[Solution] Strings possible length decremented
Change-Id: I6b505ce2b72c6de944c4fa6e7c2e21cce1aeea71
Grzegorz Rynkowski [Fri, 22 Mar 2013 13:20:49 +0000 (14:20 +0100)]
Remove of build warnings.
[Issue#] N/A
[Problem] Build warnings.
[Cause] N/A
[Solution] Correction of code.
Change-Id: Ib6a1157ebf408292abd8edcb7fd46644b8ede668
Jihoon Chung [Fri, 22 Mar 2013 05:31:25 +0000 (14:31 +0900)]
Fixed xsd error issue
[Issue#] N/A
[Problem] During building application in the IDE, build error is
occurred
[Cause] Widget version boundary isn't set
[Solution] Add boundary for widget version
[SCMRequest] N/A
Change-Id: I6af853d0e84cd9278f803715a62d2c16dbf6b273
Yunchan Cho [Thu, 21 Mar 2013 13:29:41 +0000 (22:29 +0900)]
Support remote url as PD's start page
[Issue#] N/A
[Problem] If PD's start page is remote url, improper path is written to manifest(xml)
[Cause] wrt-installer doesn't consider that PD's start page is remote
[Solution] scheme of PD's start page is checked, and then if the scheme is http(s), remote url is written to manifest
Change-Id: Id1ec90355160509059c0307911c727f3fe0e124a
Andrzej Surdej [Tue, 19 Mar 2013 12:41:47 +0000 (13:41 +0100)]
Disable CSP support and config.xml tag renamed.
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] N/A
[Verification] Build repo
Change-Id: Icf77b94254ec2b39e0980db0213aed7207467751
Soyoung Kim [Thu, 21 Mar 2013 05:47:26 +0000 (14:47 +0900)]
[Release] wrt-installer_0.1.17
Jihoon Chung [Thu, 21 Mar 2013 02:34:53 +0000 (11:34 +0900)]
[Release] wrt-installer_0.1.16
Change-Id: I322f402ac34abda8004bbd13692d1902cdd6b5ad
Soyoung Kim [Wed, 20 Mar 2013 09:12:43 +0000 (18:12 +0900)]
Fixed signature path during installation hybridapp.
[Issue#] N/A
[Problem] can't find signature when webapp is hybridapp.
[Cause] wrong path for hybridapp.
[Solution] right path when signature find.
[SCMRequest] N/A
Soyoung Kim [Thu, 14 Mar 2013 09:04:49 +0000 (18:04 +0900)]
Add Account parser and generate manifest.
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add Account parser.
[SCMRequest] N/A
Change-Id: Ibc2827e02339a051629a62d66880f07b610a757a
Soyoung Kim [Wed, 20 Mar 2013 05:09:59 +0000 (14:09 +0900)]
Fixed send signal pkgmgr to pkgid from appid
[Issue#] _SE-26571
[Problem] can't remove at installed widget list at setting of manage application.
[Cause] pkgmgr signal id should not appid.
[Solution] send pkgid instead appid during send progress signal to pkgmgr.
[SCMRequest] N/A
leerang song [Mon, 18 Mar 2013 09:02:31 +0000 (18:02 +0900)]
Privilege feature location change SecurityOriginDB to WrtDB
[Issue#] TDIS-4313
[Problem] N/A
[Cause] N/A
[Solution] N/A
[SCMRequest] This commit should be release with wrt-commons.
Change-Id: I5df1b30000ba9955c8c46c5a080fbea520d0fa6a
Soyoung Kim [Mon, 18 Mar 2013 11:09:08 +0000 (20:09 +0900)]
[Release] wrt-installer_0.1.15
Change-Id: I695c2831c037fc10657a38ea9453e3774eb38525
Soyoung Kim [Sat, 16 Mar 2013 11:28:56 +0000 (20:28 +0900)]
add getting detail information from widget file.
[Issue#] DCM-335
[Problem] N/A
[Cause] N/A
[Solution] provide wgt plugin API for pkgmgr.
this function need for getting information from widget package.
[SCMRequest] N/A
Change-Id: If23a281624d05bfc1dd90c7f04aed4f33a401682
Yunchan Cho [Mon, 18 Mar 2013 06:44:57 +0000 (15:44 +0900)]
[Release] wrt-installer_0.1.14
Change-Id: I1ddfe0c80419e6a35c4130a74a05bc48c75002b5
Hoseon LEE [Mon, 18 Mar 2013 06:20:24 +0000 (15:20 +0900)]
Merge "Fixed widget install fail when using partner privilege"
Hoseon LEE [Mon, 18 Mar 2013 06:19:51 +0000 (15:19 +0900)]
Merge "Fixed encryption logic"
Soyoung Kim [Mon, 18 Mar 2013 05:54:36 +0000 (14:54 +0900)]
Fixed widget install fail when using partner privilege
[Issue#] N/A
[Problem] can't install widget has partner privilege.
[Cause] save wrong distributor signature during check ACE.
[Solution] save distributor1 signature during check ACE.
[SCMRequest] N/A
Yunchan Cho [Sun, 17 Mar 2013 10:14:55 +0000 (19:14 +0900)]
Add new attribute 'touch-effect' into <tizen:box-content>
[Issue#] N/A
[Problem] In Web livebox, touch-effect is always activated as default.
[Cause] There is no way to indicate for web livebox to use touch effect, or not.
[Solution] New attribute 'touch-effect' for this is added.
Before releasing installer package, wrt-commons package including the following patch must be released first.
http://slp-info.sec.samsung.net/gerrit/#/c/166466/
Change-Id: I848f52ed7a51d0c6ba381abcade0cc99e2d89eb9
Soyoung Kim [Fri, 15 Mar 2013 08:24:38 +0000 (17:24 +0900)]
Fixed encryption logic
[Issue#] N/A
[Problem] occur crash during ecryption.
[Cause] should initialize osp app framework for trustzone api.
[Solution] call InitWebAppInfo() before using encryption.
[SCMRequest] N/A
Jihoon Chung [Fri, 15 Mar 2013 04:43:03 +0000 (13:43 +0900)]
[Release] wrt-installer_0.1.13
Change-Id: I7ecc515ec33d67eb9c187c9bb4d3bffdf6bcd129
Jihoon Chung [Wed, 13 Mar 2013 00:53:25 +0000 (09:53 +0900)]
Implement privilege for usermedia permission
[Issue#] TDIS-4324
[Problem] N/A
[Cause] N/A
[Solution] Implement privilege for usermedia permission popup
If web application define privilege for usermedia permission,
"http://tizen.org/privilege/mediacapture", web application is possible
to use usermedia without user permission
[SCMRequest] must imported with wrt-commons
Change-Id: Ia546c2f1d7b60ba903501e4517e2be4e90f241e5
Tomasz Iwanek [Wed, 13 Mar 2013 12:24:25 +0000 (13:24 +0100)]
Config parser - access tag - fix for app:// scheme implementation
[Issue#] LINUXWRT-149
[Feature] Parsing change
[Cause] N/A
[Solution] There is no logical difference between setting this flag or not in case of WARP. Webkit api needs subDomian as true for wildcard match.
[Verification] Just build repository. Install any widget if you really want.
Change-Id: Ia60207ac2a18de4b91e38c1d064ac5108c1245b4
Soyoung Kim [Mon, 11 Mar 2013 13:49:31 +0000 (22:49 +0900)]
[Release] wrt-installer_0.1.12
Change-Id: Iae2ad0b0016eaef7c68d0699edb4b4e1921a1465
Soyoung Kim [Mon, 11 Mar 2013 13:43:59 +0000 (22:43 +0900)]
Fixed pkgmgr signal request by menuscreen
[Issue#] N/A
[Problem] install icon doesn't remove during widget installation.
[Cause] issue in menuscreen.
[Solution] this is temporary fix until menuscreen fix.
[SCMRequest] N/A
Soyoung Kim [Mon, 11 Mar 2013 11:38:13 +0000 (20:38 +0900)]
[Release] wrt-installer_0.1.11 for sdk branch
Merge remote-tracking branch 'origin/master' into remotes/origin/sdk
Soyoung Kim [Mon, 11 Mar 2013 11:27:47 +0000 (20:27 +0900)]
[Release] wrt-installer_0.1.11
Soyoung Kim [Mon, 11 Mar 2013 11:04:37 +0000 (20:04 +0900)]
move booting script location(wrt_preinstall_widgets.sh)
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] move location from S46lwrt_preinstall_widgets.sh to S48lwrt_preinstall_widgets.sh
[SCMRequest] N/A
Soyoung Kim [Mon, 11 Mar 2013 10:12:51 +0000 (19:12 +0900)]
remove encryption api dependency from wrt-commons
[Issue#] N/A
[Problem] occur cyclic dependency
[Cause] N/A
[Solution] encryption api(using osp api) is called directly by installer
[SCMRequest] N/A
Change-Id: Ib547e5a5fd6054dbfef04c42504a53b4a74aaaae
Soyoung Kim [Fri, 8 Mar 2013 10:12:14 +0000 (19:12 +0900)]
[Release] wrt-installer_0.1.10 for sdk branch
Change-Id: Ie516301fe2062b433b3d1131efaecfb1738f8a1a
Soyoung Kim [Fri, 8 Mar 2013 09:56:30 +0000 (18:56 +0900)]
[Release] wrt-installer_0.1.10
Change-Id: If1ecc27f8c8a7ef1b34b78d3c8966c98dcc13044
Soyoung Kim [Fri, 8 Mar 2013 09:39:27 +0000 (18:39 +0900)]
check certificate during update
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Request from docomo.
check certificate between previous and current during update.
if previous and current cerificate is not matched, widget installation fail.
[SCMRequest] N/A
Change-Id: Icf80eb3af1209c1764d4cffb54234f0d50943e1a
Soyoung Kim [Fri, 8 Mar 2013 04:41:19 +0000 (13:41 +0900)]
Fixed check exist directory.
[Issue#] N/A
[Problem] couldn't check exist directory.
[Cause] there is a bug about checking exist directory.
[Solution] fixed it.
[SCMRequest] N/A
Soyoung Kim [Thu, 7 Mar 2013 07:17:46 +0000 (16:17 +0900)]
pkgmgr signal id changed.
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] pkgmgr signal id changed to pkgid from appid.
[SCMRequest] N/A
Change-Id: Ifb9abb3aeba055b85eeca82c6559e817730d98b5
Soyoung Kim [Thu, 7 Mar 2013 06:48:19 +0000 (15:48 +0900)]
fixed installation failed when w3c widget without min-version attribute in config.xml.
[Issue#] N/A
[Problem] If W3C widget hasn't min-version attribute, installation fail.
[Cause] side effect.
[Solution] if widget is w3c widget, skip to check required version.
[SCMRequest] N/A
Soyoung Kim [Wed, 6 Mar 2013 01:19:10 +0000 (10:19 +0900)]
Change encryption API.
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] encryption API changed to using trust zone.
So resource encryption task should be changed.
[SCMRequest] this commit should be release with wrt-commons.
Change-Id: I4b547b44df70dd7af7525d1cd1c8d17c931d9629
Jihoon Chung [Thu, 7 Mar 2013 00:33:41 +0000 (09:33 +0900)]
[Release] wrt-installer_0.1.9
Jihoon Chung [Thu, 7 Mar 2013 00:12:50 +0000 (09:12 +0900)]
[Release] wrt-installer_0.1.9
Change-Id: I01f01861429964c23102520cfe2c894785ba77a4
Taejeong Lee [Wed, 6 Mar 2013 07:25:32 +0000 (16:25 +0900)]
Fix App-control Supports
* wrt-installer : Some parser related app-control was changed.
'file' sheme is not handled on parsing any more.
[Issue#] N/A
[Bug] Tizen app-control service doesn't works peroperly on wrt.
[Cause] App-control info DB registeration routine was omitted.
[Solution] Registration routine was added.
Change-Id: I6c7a97ab82651500f31c94c067259437b3e86092
Jihoon Chung [Wed, 6 Mar 2013 07:50:19 +0000 (16:50 +0900)]
Remove web storage & filesystem usage code
[Issue#] N/A
[Problem] N/A
[Cause] Webkit deprecate API for web storage and filesystem usage
[Solution] Clean-up code for web storage and filesystem usage
[SCMRequest] must be imported with wrt-setting, wrt-commons
Change-Id: Ie262e9cc26b9d60e1dfec270ce66cae06d1509e0
Andrzej Surdej [Wed, 27 Feb 2013 13:35:25 +0000 (14:35 +0100)]
Content-Security-Policy-Report-Only xml tag support
[Issue#] N/A
[Problem] Report only csp policy was not supported.
[Cause] N/A
[Solution] Provided parsing and storing of csp-report-only
[Verification] Build repo and run any widget.
This commit requires: https://tizendev.org/gerrit/#/c/48887/
Change-Id: I21bbecd69775029ea205076aec0dc231879df00f
Karol Pawlowski [Wed, 27 Feb 2013 12:32:25 +0000 (13:32 +0100)]
Installer tests sources modification
[Issue#] LINUXWRT-137
[Problem] Too many tests in one file
[Cause] N/A
[Solution] N/A
[Verification] Run wrt-installer-tests-general
Change-Id: Ib296e5f9a547f7c6724e4d981a2268434c65db80
Tomasz Iwanek [Tue, 12 Feb 2013 15:27:45 +0000 (16:27 +0100)]
Installer errors handling clean up
[Issue#] LINUXWRT-100
[Bug] Unused error code, too much code error enums in overall
[Cause] Development
[Solution] Error handling will be clean up.
Error handling of installer after modifications will look in following way:
- each job declares it's on exceptions (DECLARE_JOB_EXCEPTION) that can be used in it's tasks (jobs/(job)/(job)_errors.h),
- each exception have associated enum Exceptions::Type value (many exceptions can have same value),
- Exceptions::Type enum value is translated into (general for installer) WrtErrStatus error code (wrt_type.h),
- WrtErrStatus is used into installation callbacks and decides about information for user,
Any other error handling (in installer code) should be removed after all.
[Verification] Build repository
Change-Id: Id0b94f3c1f98f30e8dbbc80f2046a83272cb2d43
leerang song [Thu, 28 Feb 2013 02:15:08 +0000 (11:15 +0900)]
[Release] wrt-installer_0.1.8
Change-Id: I3f58e92f6a375cf36bbd3d53b6d81110475ca5ef
leerang song [Wed, 27 Feb 2013 06:56:21 +0000 (15:56 +0900)]
[Release] wrt-installer_0.1.7
Change-Id: Ie768fe6ab60bd98a0a46611c1dbb19b85910d073
Andrzej Surdej [Thu, 21 Feb 2013 10:55:55 +0000 (11:55 +0100)]
Tizen appservice 'disposition' attribute added.
[Issue#] LINUXWRT-58
[Problem] Support for multi activity
[Cause] N/A
[Solution] Attribute parsed and stored into database.
[Verification] To verify build repo with tests and run installer tests.
Last test should pass. Before running tests remove wrt-extra package.
This commit requires: https://tizendev.org/gerrit/#/c/47691/
Also some clean up is done.
Change-Id: I81773b460872d441bcf3cacdaa3b90aedd060dd4
Grzegorz Rynkowski [Fri, 22 Feb 2013 15:02:36 +0000 (16:02 +0100)]
Removing warnings reported by cppcheck tool.
[Issue#] LINUXWRT-127
[Problem] Cppcheck reports some warnings.
[Cause] N/A
[Solution] N/A
[Verification] Run cppcheck on wrt-installer (with
--suppress=incorrectStringBooleanError) or check cppcheck.txt generated
by buildbot (ignore warnigs like "A boolean comparison with the string literal
... is always true").
Useful could be installation of rpm on target and checking that is all
right still.
Change-Id: Idf0533e5ef7f1de1f127b3b3fea3418ad34e1680
Grzegorz Rynkowski [Thu, 21 Feb 2013 14:19:44 +0000 (15:19 +0100)]
Removing compilation warnings in wrt-installer repo
[Issue#] LINUXWRT-8
[Problem] Compilation warnings in build log.
[Cause] N/A
[Solution] N/A
[Verification] Build wrt-installer and check log for warnings.
It should be without warnings.
Change-Id: I3ac17976dead309641037b6eae68523205b4a442
Hoseon LEE [Mon, 25 Feb 2013 11:13:53 +0000 (20:13 +0900)]
Fixed language tag map for pkg labels
[Issue#] N/A
[Problem] The label tag is wrong for pkg manager
[Cause] Language tag map is wrong
[Solution] Fixed language tag map
[SCMRequest] N/A
Change-Id: I4c13a0543d0ed892304b32b1e3e33d54274f60d8
leerang song [Fri, 22 Feb 2013 07:10:35 +0000 (16:10 +0900)]
[Release]wrt-installer_0.1.6
leerang song [Fri, 22 Feb 2013 06:38:09 +0000 (15:38 +0900)]
[Release]wrt-installer_0.1.6
Tomasz Iwanek [Fri, 10 Aug 2012 06:56:04 +0000 (08:56 +0200)]
[Installer] code clean up - src/configuration_parser/WidgetConfigurationManager not removed
THIS COMMIT IS MISSING IN RSA
[Issue#] N/A
[Problem] Some TODO in code yet to be resolved to removed
[Cause] N/A
[Solution] N/A
[SCMRequest] N/A
[Verification] build and check correct installaion of any widget
Change-Id: I73453e98cb1ed12b377b3b7fdd909eb0022dea0f
Hoseon LEE [Thu, 21 Feb 2013 11:05:32 +0000 (20:05 +0900)]
Merge "Implement tizen privilege for w3c API"
Jihoon Chung [Sat, 12 Jan 2013 07:40:31 +0000 (16:40 +0900)]
Implement tizen privilege for w3c API
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Implement tizen privilege for W3C API.
If web application contains "http://tizen.org/privilege/geolocation"
with tizen:privilege tag, web application uses geolocation without
security warning popup. In this case, only local origin is allowed to use.
This commit create and register security origin data which is always allowed
local origin for privilege feature.
[SCMRequest] must be imported with wrt-commons
https://tizendev.org/gerrit/#/c/30851/
Change-Id: I3baf6f065f3e1dfe20efa853ca7454e601736050
Soyoung Kim [Thu, 21 Feb 2013 08:40:09 +0000 (17:40 +0900)]
Fixed can't uninstall using pkgid from pkgcmd
[Issue#] N/A
[Problem] can't uninstall from pkgcmd
[Cause] pkg_plugin_app_is_installed() has a bug about pkgid.
[Solution] Add routine to get appid if parameter is pkgid in pkg_plugin_app_is_installed().
[SCMRequest] N/A
Soyoung Kim [Tue, 19 Feb 2013 05:00:15 +0000 (14:00 +0900)]
Fixed required version issue
[Issue#] TDIS-2699
[Problem] widget application is able to be installed successfully with invalid/notexist version.
[Cause] version check is wrong.
[Solution] Fixed false when version is with invalid/notexist.
[SCMRequest] N/A
Change-Id: Iede493d03a9dd69231cbecdfee023b51a2fa42e1
Karol Pawlowski [Mon, 18 Feb 2013 10:52:19 +0000 (11:52 +0100)]
Renaming tests binaries
[Issue#] LINUXWRT-130
[Problem] Tests binaries should be named <reponame>-tests-<name>
[Cause] N/A
[Solution] N/A
[Verification] Build wrt-installer repository
Change-Id: Id2be8379b7f034e3f62b91b6c6456b78fbe6412c
Karol Pawlowski [Thu, 14 Feb 2013 13:15:58 +0000 (14:15 +0100)]
Move installer test suites to installer repository
[Issue#] LINUXWRT-101
[Problem] Tests for wrt-installer should be in wrt-installer, no wrt-extra
[Cause] N/A
[Solution] N/A
[Verification] Build wrt-installer repository
Change-Id: Ib7d72978b2028a73aac58493917846201c647cd7
Soyoung Kim [Thu, 14 Feb 2013 10:25:20 +0000 (19:25 +0900)]
[Release] wrt-installer_0.1.5
Change-Id: I408020036a43b88b7db6b0906076615a8ab41d2b
Hoseon LEE [Thu, 14 Feb 2013 10:16:48 +0000 (19:16 +0900)]
Merge "Fixed skip to validate a signature"
Soyoung Kim [Thu, 14 Feb 2013 10:13:35 +0000 (19:13 +0900)]
Fixed skip to validate a signature
[Issue#] N/A
[Problem] occure crash during RDS update
[Cause] side effect from skip to validate a signature.
[Solution] Fixed validate signature logic.
[SCMRequest] N/A
Bartlomiej Grzelewski [Wed, 13 Feb 2013 12:38:54 +0000 (13:38 +0100)]
REG_NOERROR value is not defined for function regexec.
[Issue#] N/A
[Problem] Widget installation fails
[Cause] REG_NOERROR value is not defined for function regexec.
[Solution] Fixed.
[Verification] successful installation of any widget.
Change-Id: I41f630e42b2bef67f5c6d14013a667cdfe5961b2
Soyoung Kim [Wed, 13 Feb 2013 11:20:12 +0000 (20:20 +0900)]
[Release] wrt-installer_0.1.4 for sdk branch
Merge remote-tracking branch 'origin/master' into sdk
Soyoung Kim [Fri, 8 Feb 2013 09:37:54 +0000 (18:37 +0900)]
[Release] wrt-installer_0.1.4
Change-Id: I6a92b991db338e8ed3cbd0e85a34e779d6684c94
Soyoung Kim [Wed, 13 Feb 2013 08:49:31 +0000 (17:49 +0900)]
Fixed to update progress enum
[Issue#] N/A
[Problem] there are some error progress enum to pkgmgr.
[Cause] progress enum list was wrong.
[Solution] rebuild progress enum list.
[SCMRequest] N/A
Soyoung Kim [Tue, 12 Feb 2013 11:11:45 +0000 (20:11 +0900)]
Fixed update signal
[Issue#] N/A
[Problem] when update process failed, icon is delete at menu-screen.
[Cause] installer doesn't send update signal before update process.
[Solution] add update signal.
[SCMRequest] N/A
Change-Id: I9beea36d872e29d77772cf48e484fc9bbce121a0
Soyoung Kim [Tue, 12 Feb 2013 12:13:13 +0000 (21:13 +0900)]
Fixed icon name
[Issue#] N/A
[Problem] icon name isn't updated.
[Cause] installer doesn't send icon_path signal to pkgmgr
[Solution] send icon_path signal to pkgmgr for update icon name.
[SCMRequest] N/A
Zbigniew Kostrzewa [Mon, 11 Feb 2013 08:36:21 +0000 (09:36 +0100)]
File encryption method reading whole files into a dynamic stack buffer.
[Issue#] LINUXWRT-91
[Problem] Encryption method tried to encrypt whole file at once which
may introduce problems for large files. What is more, buffer for file data
was dynamically allocated on stack but such feature is not compliant
with the C++11 standard.
[Cause] N/A
[Solution] Encrypt files chunk by chunk.
[SCMRequest] N/A
[Verification]
1. Build repository.
2. Install a test widget without encryption. Widget should launch
successfully.
3. Install the same widget with encryption enabled. Widget should launch
successfully and present the same results.
Tip: To enforce widget's content encryption add following line to
widget's configuration file:
<tizen:setting encryption="enable" />
Change-Id: Ieb1c9dfeede28bfd69f910b1d34d650b6a353795
Zbigniew Kostrzewa [Fri, 8 Feb 2013 09:49:20 +0000 (10:49 +0100)]
Support for GCC 4.7
Compatibility with GCC v 4.7 is required.
This commit fix problems with compilation with GCC 4.7.
[Issue#] N/A
[Bug] The repository causes build break with GCC 4.7
[Cause] N/A
[Solution] Source code adjusted to GCC 4.7
[Verification]
1. Build repository with GCC in current (4.5) and 4.7 version.
Change-Id: I8a0839e7a9d78b86c16f8feccecac3e3fbfd3ea0
Pawel Sikorski [Wed, 6 Feb 2013 14:40:10 +0000 (15:40 +0100)]
Source code formating unification
[Issue#] N/A
[Problem] Source code was not formatted to any rules. In this situation
creating new patches or making review may become uncomfortable.
[Cause] No formatting rules/tool used.
[Solution] To make implementation and review process more comfortable,
whole installer repository source code has been formatted with uncrustify
tool.
The configuration of the tool is located in the repository
(./uncrustify.cfg).
Command used (stored in uncrustify.sh):
uncrustify -c ./uncrustify.cfg --no-backup `find . -regex
"\(.*\.cpp\|.*\.h\|.*\.c\|.*\.cc\)" | grep -v
"orm.h\|orm_generator.h\|3rdparty"`
[Verification] Build the repository
Change-Id: I47893d5d81e495c33d97fc3c8f47be166d265307
Soyoung Kim [Fri, 8 Feb 2013 06:13:18 +0000 (15:13 +0900)]
Fixed uninstallation using pkgid and installation without pkgid in config.xml
[Issue#] N/A
[Problem] 1. uninstallation failed using pkgid
2. installation failed without pkgid in config.xml
[Cause] 1. there is no logic for uninstallation using pkgid
2. To create pkgid logic is wrong.
[Solution] 1. add uninstallation for pkgid 2. fixed pkgid logic
[SCMRequest] this package have to release with wrt-commons
Change-Id: Icb0440a21e14527d2140ebf38a677f1b52c7bf2d
Soyoung Kim [Wed, 6 Feb 2013 10:58:24 +0000 (19:58 +0900)]
[Release] wrt-installer_0.1.3 for sdk branch
Merge remote-tracking branch 'origin/master' into sdk
Soyoung Kim [Wed, 6 Feb 2013 10:38:19 +0000 (19:38 +0900)]
[Release] wrt-installer_0.1.3
Change-Id: I06bcb93def57e40983f1a486279dde8570bfe936
Soyoung Kim [Wed, 6 Feb 2013 10:44:49 +0000 (19:44 +0900)]
Fixed crash during rebooting for preinstall widget
[Issue#]
[Problem] occur crash durign rebooting.
[Cause] preinstall widget couldn't delete.
[Solution] remove preinstall widget after installation.
[SCMRequest] N/A
Change-Id: Ic72d2bb93d81e23293bd8f2ec7a381d9e26e8f76
Soyoung Kim [Wed, 6 Feb 2013 07:21:03 +0000 (16:21 +0900)]
remove share directory
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] remove share directory
[SCMRequest] N/A
Hoseon LEE [Wed, 6 Feb 2013 10:25:41 +0000 (19:25 +0900)]
Merge "Fixed if there is no pkgid, widget installation failed."
Andrzej Surdej [Fri, 25 Jan 2013 11:35:56 +0000 (12:35 +0100)]
CSP policy parsing support.
[Issue#] LINUXWRT-34
[Problem] Support for scp policy in config xml
[Cause] N/A
[Solution] Implemented parsing and database storing for scp tag.
[Verification] To verify run wrt-tests-mics --regexp='csp'.
Tests should pass.
Change-Id: Ibd009284d12dde4c06a95e3ee4acb85db8f53375
Lukasz Marek [Fri, 1 Feb 2013 11:43:32 +0000 (12:43 +0100)]
Fix prevent issue
[Issue#] N/A
[Bug] remove function is called without checking result.
[Cause] N/A
[Solution] check addded
[Verification] Verification steps
1. Install widget
2. Manipulate database to add non-existing locations.
3. During updating(or -if installation) or uninstalling this files should be listed as external files to be removed but not existing(warning in logs)
Change-Id: I6f4652e19b36354e39d3e339897d3cc374ce6641
Soyoung Kim [Tue, 5 Feb 2013 07:11:27 +0000 (16:11 +0900)]
Fixed if there is no pkgid, widget installation failed.
[Issue#] N/A
[Problem] widget installation failed
[Cause] there is a bug to process appid and pkgid.
[Solution] if there is no pkgid, extract pkgid from appid.
[SCMRequest] N/A
Change-Id: I876a265089bc3e544dc1cb79bbd207f1f0811d0e
Taejeong Lee [Fri, 1 Feb 2013 12:35:07 +0000 (21:35 +0900)]
Signature path bug fix when install by directory mode.
* Wrong signature path was used.
[Issue#] N/A
[Problem] widget's signature policy identification fail.
[Cause] Wrong signature path was used.
[Solution] Fixed.
Change-Id: Ic5f2d85e2deb3750aa8aa973f3354e2e3354a153
Soyoung Kim [Fri, 1 Feb 2013 07:54:34 +0000 (16:54 +0900)]
[Release] wrt-installer_0.1.2
Soyoung Kim [Fri, 1 Feb 2013 07:43:36 +0000 (16:43 +0900)]
Fixed name has special characters
[Issue#] N/A
[Problem] if widget'name has special characters, crash occur during installation
[Cause] appid must not have special characters.
[Solution] if name has special characters, installer make temporary name for generating appid.
[SCMRequest] N/A
Yunchan Cho [Wed, 30 Jan 2013 08:42:07 +0000 (17:42 +0900)]
[Release] wrt-installer_0.1.1
Change-Id: Ic8419159fd76f21135fb2af32f7786d67c468064
Yunchan Cho [Fri, 25 Jan 2013 12:34:50 +0000 (21:34 +0900)]
Add mouse-event of <tizen:box-content> and type of <tizen:livebox>
[Issue#] N/A
[Problem] wrt-installer doesn't support mouse-event of <tizen:box-content> and type of <tizen:livebox>
[Cause] N/A
[Solution] Two fields for this are added to config parser struct
Change-Id: I46c2997453e38a206ebc2dc91710686a5b579d04
Soyoung Kim [Wed, 30 Jan 2013 05:13:58 +0000 (14:13 +0900)]
[Release] wrt-installer_0.1.0 for sdk branch
Merge remote-tracking branch 'origin/master' into sdk
Soyoung Kim [Wed, 30 Jan 2013 05:04:15 +0000 (14:04 +0900)]
[Release] wrt-installer_0.1.0
Soyoung Kim [Wed, 30 Jan 2013 03:33:34 +0000 (12:33 +0900)]
Fixed appid included space during installation
[Issue#] N/A
[Problem] installation failed, widget isn't created by IDE.
[Cause] during create appid, space isn't removed.
[Solution] remove space
[SCMRequest] N/A
Soyoung Kim [Tue, 29 Jan 2013 13:21:05 +0000 (22:21 +0900)]
[Release] wrt-installer_0.0.99 for sdk branch
Merge remote-tracking branch 'origin/master' into sdk
Soyoung Kim [Tue, 29 Jan 2013 13:16:34 +0000 (22:16 +0900)]
[Release] wrt-installer_0.0.99
Soyoung Kim [Tue, 29 Jan 2013 12:59:47 +0000 (21:59 +0900)]
Fixed widget name has special character.
[Issue#] N/A
[Problem] if widget name has special character, widget installation failed.
[Cause] fail to check appid.
[Solution] Fixed logic during widget installaion.
[SCMRequest] N/A
Soyoung Kim [Tue, 29 Jan 2013 12:48:08 +0000 (21:48 +0900)]
Revert "Apply pkgid/appid policy to code regarding livebox"
This reverts commit
f2d3f265968d39e4f66640f1c991005efb64c89b.
Soyoung Kim [Tue, 29 Jan 2013 12:49:52 +0000 (21:49 +0900)]
Revert "Support mouse-event of <tizen:box-content> and type of <tizen:livebox>"
This reverts commit
32562c4d401f6c0cc9f38f0edf268987ace402c3.
Yunchan Cho [Tue, 29 Jan 2013 09:17:59 +0000 (18:17 +0900)]
Apply pkgid/appid policy to code regarding livebox
[Issue#] N/A
[Problem] web livebox creation has a problem
[Cause] wrt-installer is not applied to livebox code properly for changed pkgid/appid policy
[Solution] changed policy of pkgid/appid is applied to livebox code
[SCMRequest] N/A
Change-Id: I1f1624ad3d30eecca8c9e2217fbe8c78ab8dcc08
Yunchan Cho [Fri, 25 Jan 2013 12:34:50 +0000 (21:34 +0900)]
Support mouse-event of <tizen:box-content> and type of <tizen:livebox>
[Issue#] N/A
[Problem] wrt-installer doesn't support mouse-event of <tizen:box-content> and type of <tizen:livebox>
[Cause] N/A
[Solution] Two fields for this are added to config parser struct
Change-Id: Ib6b2f7b85288786021e54107780d73485788f7a6
Soyoung Kim [Tue, 29 Jan 2013 06:07:29 +0000 (15:07 +0900)]
Fixed to send progress signal during RDS update.
[Issue#] N_SE-23395
[Problem] icon of application is removed during RDS update.
[Cause] couldn't send progress signal to package manager.
[Solution] Fixed to send progress signal logic
[SCMRequest] N/A
Change-Id: I70cdafcdb1aafd6004ceacd2d993a2201ae41680
Soyoung Kim [Mon, 28 Jan 2013 10:38:36 +0000 (19:38 +0900)]
[Release] wrt-installer_0.0.98 for sdk branch
Merge remote-tracking branch 'origin/master' into sdk
Soyoung Kim [Mon, 28 Jan 2013 08:51:37 +0000 (17:51 +0900)]
[Release] wrt-installer_0.0.98