framework/web/wrt-installer.git
11 years agoFixed Certificate update issue during updating RDS mode
Jihoon Chung [Sat, 30 Mar 2013 13:55:20 +0000 (22:55 +0900)]
Fixed Certificate update issue during updating RDS mode

[Issue#] N_SE-30616
[Problem] Even change orientation mode, update isn't working.
[Cause] Update fail is occurred when verify author certificate
Root cause is long path is set for installed source directory
[Solution] Fixed path set routine for set installed directory
[SCMRequest] N/A

Change-Id: Id9cd9bc71e953589059850aa958aad69f97b81cc

11 years ago[Release] wrt-installer_0.1.19
Jihoon Chung [Fri, 29 Mar 2013 05:34:37 +0000 (14:34 +0900)]
[Release] wrt-installer_0.1.19

Change-Id: Ib5527f1a4f2815846eeb60ce37a39f2e2c22442f

11 years agoRevert "Support app:// for w3c privilege"
Jihoon Chung [Fri, 29 Mar 2013 05:33:53 +0000 (14:33 +0900)]
Revert "Support app:// for w3c privilege"

This reverts commit 3f958ec461e2f256ec9a01a7e3ceac0412da5f3c.

Change-Id: I97a4f801b4f3dd1a2d60f3eb812834168c5c9169

11 years agoMerge "Modified an error message"
Pawel Sikorski [Thu, 28 Mar 2013 12:17:40 +0000 (21:17 +0900)]
Merge "Modified an error message"

11 years agoSave value of auto-launch to livebox DB without adding manifest file
Yunchan Cho [Tue, 26 Mar 2013 11:38:46 +0000 (20:38 +0900)]
Save value of auto-launch to livebox DB without adding manifest file

[Issue#] DCM-962
[Problem] There is no way for webapp to know that the webapp is launched by web livebox
[Cause] wrt-installer doesn't save value 'auto-launch' attribute to web livebox DB
[Solution] value of 'auto-launch' is saved to web livebox DB by installer.
           This value is used by web-provider on clicking box.

Change-Id: I8e1e4538ef55f80aab93972f9b52996159f427cb

11 years agoModified an error message
Janusz Majnert [Wed, 13 Mar 2013 11:33:22 +0000 (12:33 +0100)]
Modified an error message

[Issue#] TDIS-2408
[Problem] tester requested a change of an error message
[Cause] N/A
[Solution] Modified the message
[Verification] Build. Try to install a widget with a bad signature

Change-Id: I102def4a96db159006bac8060c4be64ffcf2e714

11 years ago[Release] wrt-installer_0.1.18
Soyoung Kim [Thu, 28 Mar 2013 11:16:55 +0000 (20:16 +0900)]
[Release] wrt-installer_0.1.18

Change-Id: Idb004b8a662e7d16f3849fe064669e0cd6b328bf

11 years agofixed insert cert info to pkgmgr db when hybridapp.
Soyoung Kim [Thu, 28 Mar 2013 11:00:26 +0000 (20:00 +0900)]
fixed insert cert info to pkgmgr db when hybridapp.

[Issue#] DCM-1079
[Problem] cert info did't save pkgmgr db when widget is hybridapp.
[Cause] certi info removed after osp service app installed.
[Solution] step to save cert info move atfer installing osp service app.
[SCMRequest] N/A

Change-Id: I89173115c11a7ab990f0cbf4cb9f6b89408f19da

11 years agoMerge "removed send signal during widget uninstallation."
Hoseon LEE [Thu, 28 Mar 2013 07:41:53 +0000 (16:41 +0900)]
Merge "removed send signal during widget uninstallation."

11 years agoremoved send signal during widget uninstallation.
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

11 years agowrite privilege list to manifest.xml
Soyoung Kim [Wed, 27 Mar 2013 09:07:48 +0000 (18:07 +0900)]
write privilege list to manifest.xml

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] For privacy access control.
If widget use prilege installer write a list to manifest.xml
[SCMRequest] N/A

Change-Id: Ieb6d3666567dd37a383893ba6721683b42bb400a

11 years agoFixed get detail information from wgt file
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

11 years agoRemove debian directory
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

11 years agoSupport app:// for w3c privilege
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

11 years agoBuffer not null terminated
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

11 years agoRemove of build warnings.
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

11 years agoFixed xsd error issue
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

11 years agoSupport remote url as PD's start page
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

11 years agoDisable CSP support and config.xml tag renamed.
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

11 years ago[Release] wrt-installer_0.1.17
Soyoung Kim [Thu, 21 Mar 2013 05:47:26 +0000 (14:47 +0900)]
[Release] wrt-installer_0.1.17

11 years ago[Release] wrt-installer_0.1.16
Jihoon Chung [Thu, 21 Mar 2013 02:34:53 +0000 (11:34 +0900)]
[Release] wrt-installer_0.1.16

Change-Id: I322f402ac34abda8004bbd13692d1902cdd6b5ad

11 years agoFixed signature path during installation hybridapp.
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

11 years agoAdd Account parser and generate manifest.
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

11 years agoFixed send signal pkgmgr to pkgid from appid
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

11 years agoPrivilege feature location change SecurityOriginDB to WrtDB
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

11 years ago[Release] wrt-installer_0.1.15
Soyoung Kim [Mon, 18 Mar 2013 11:09:08 +0000 (20:09 +0900)]
[Release] wrt-installer_0.1.15

Change-Id: I695c2831c037fc10657a38ea9453e3774eb38525

11 years agoadd getting detail information from widget file.
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

11 years ago[Release] wrt-installer_0.1.14
Yunchan Cho [Mon, 18 Mar 2013 06:44:57 +0000 (15:44 +0900)]
[Release] wrt-installer_0.1.14

Change-Id: I1ddfe0c80419e6a35c4130a74a05bc48c75002b5

11 years agoMerge "Fixed widget install fail when using partner privilege"
Hoseon LEE [Mon, 18 Mar 2013 06:20:24 +0000 (15:20 +0900)]
Merge "Fixed widget install fail when using partner privilege"

11 years agoMerge "Fixed encryption logic"
Hoseon LEE [Mon, 18 Mar 2013 06:19:51 +0000 (15:19 +0900)]
Merge "Fixed encryption logic"

11 years agoFixed widget install fail when using partner privilege
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

11 years agoAdd new attribute 'touch-effect' into <tizen:box-content>
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

11 years agoFixed encryption logic
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

11 years ago[Release] wrt-installer_0.1.13
Jihoon Chung [Fri, 15 Mar 2013 04:43:03 +0000 (13:43 +0900)]
[Release] wrt-installer_0.1.13

Change-Id: I7ecc515ec33d67eb9c187c9bb4d3bffdf6bcd129

11 years agoImplement privilege for usermedia permission
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

11 years agoConfig parser - access tag - fix for app:// scheme implementation
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

11 years ago[Release] wrt-installer_0.1.12
Soyoung Kim [Mon, 11 Mar 2013 13:49:31 +0000 (22:49 +0900)]
[Release] wrt-installer_0.1.12

Change-Id: Iae2ad0b0016eaef7c68d0699edb4b4e1921a1465

11 years agoFixed pkgmgr signal request by menuscreen
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

11 years ago[Release] wrt-installer_0.1.11 for sdk branch
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

11 years ago[Release] wrt-installer_0.1.11
Soyoung Kim [Mon, 11 Mar 2013 11:27:47 +0000 (20:27 +0900)]
[Release] wrt-installer_0.1.11

11 years agomove booting script location(wrt_preinstall_widgets.sh)
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

11 years agoremove encryption api dependency from wrt-commons
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

11 years ago[Release] wrt-installer_0.1.10 for sdk branch
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

11 years ago[Release] wrt-installer_0.1.10
Soyoung Kim [Fri, 8 Mar 2013 09:56:30 +0000 (18:56 +0900)]
[Release] wrt-installer_0.1.10

Change-Id: If1ecc27f8c8a7ef1b34b78d3c8966c98dcc13044

11 years agocheck certificate during update
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

11 years agoFixed check exist directory.
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

11 years agopkgmgr signal id changed.
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

11 years agofixed installation failed when w3c widget without min-version attribute in config...
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

11 years agoChange encryption API.
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

11 years ago[Release] wrt-installer_0.1.9
Jihoon Chung [Thu, 7 Mar 2013 00:33:41 +0000 (09:33 +0900)]
[Release] wrt-installer_0.1.9

11 years ago[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

11 years agoFix App-control Supports
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

11 years agoRemove web storage & filesystem usage code
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

11 years agoContent-Security-Policy-Report-Only xml tag support
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

11 years agoInstaller tests sources modification
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

11 years agoInstaller errors handling clean up
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

11 years ago[Release] wrt-installer_0.1.8
leerang song [Thu, 28 Feb 2013 02:15:08 +0000 (11:15 +0900)]
[Release] wrt-installer_0.1.8

Change-Id: I3f58e92f6a375cf36bbd3d53b6d81110475ca5ef

11 years ago[Release] wrt-installer_0.1.7
leerang song [Wed, 27 Feb 2013 06:56:21 +0000 (15:56 +0900)]
[Release] wrt-installer_0.1.7

Change-Id: Ie768fe6ab60bd98a0a46611c1dbb19b85910d073

11 years agoTizen appservice 'disposition' attribute added.
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

11 years agoRemoving warnings reported by cppcheck tool.
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

11 years agoRemoving compilation warnings in wrt-installer repo
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

11 years agoFixed language tag map for pkg labels
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

11 years ago[Release]wrt-installer_0.1.6
leerang song [Fri, 22 Feb 2013 07:10:35 +0000 (16:10 +0900)]
[Release]wrt-installer_0.1.6

11 years ago[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

11 years ago[Installer] code clean up - src/configuration_parser/WidgetConfigurationManager not...
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

11 years agoMerge "Implement tizen privilege for w3c API"
Hoseon LEE [Thu, 21 Feb 2013 11:05:32 +0000 (20:05 +0900)]
Merge "Implement tizen privilege for w3c API"

11 years agoImplement 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

11 years agoFixed can't uninstall using pkgid from pkgcmd
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

11 years agoFixed required version issue
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

11 years agoRenaming tests binaries
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

11 years agoMove installer test suites to installer repository
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

11 years ago[Release] wrt-installer_0.1.5
Soyoung Kim [Thu, 14 Feb 2013 10:25:20 +0000 (19:25 +0900)]
[Release] wrt-installer_0.1.5

Change-Id: I408020036a43b88b7db6b0906076615a8ab41d2b

11 years agoMerge "Fixed skip to validate a signature"
Hoseon LEE [Thu, 14 Feb 2013 10:16:48 +0000 (19:16 +0900)]
Merge "Fixed skip to validate a signature"

11 years agoFixed 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

11 years agoREG_NOERROR value is not defined for function regexec.
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

11 years ago[Release] wrt-installer_0.1.4 for sdk branch
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

11 years ago[Release] wrt-installer_0.1.4
Soyoung Kim [Fri, 8 Feb 2013 09:37:54 +0000 (18:37 +0900)]
[Release] wrt-installer_0.1.4

Change-Id: I6a92b991db338e8ed3cbd0e85a34e779d6684c94

11 years agoFixed to update progress enum
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

11 years agoFixed update signal
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

11 years agoFixed icon name
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

11 years agoFile encryption method reading whole files into a dynamic stack buffer.
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

11 years agoSupport for GCC 4.7
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

11 years agoSource code formating unification
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

11 years agoFixed uninstallation using pkgid and installation without pkgid in config.xml
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

11 years ago[Release] wrt-installer_0.1.3 for sdk branch
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

11 years ago[Release] wrt-installer_0.1.3
Soyoung Kim [Wed, 6 Feb 2013 10:38:19 +0000 (19:38 +0900)]
[Release] wrt-installer_0.1.3

Change-Id: I06bcb93def57e40983f1a486279dde8570bfe936

11 years agoFixed crash during rebooting for preinstall widget
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

11 years agoremove share directory
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

11 years agoMerge "Fixed if there is no pkgid, widget installation failed."
Hoseon LEE [Wed, 6 Feb 2013 10:25:41 +0000 (19:25 +0900)]
Merge "Fixed if there is no pkgid, widget installation failed."

11 years agoCSP policy parsing support.
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

11 years agoFix prevent issue
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

11 years agoFixed if there is no pkgid, widget installation failed.
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

11 years agoSignature path bug fix when install by directory mode.
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

11 years ago[Release] wrt-installer_0.1.2
Soyoung Kim [Fri, 1 Feb 2013 07:54:34 +0000 (16:54 +0900)]
[Release] wrt-installer_0.1.2

11 years agoFixed name has special characters
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

11 years ago[Release] wrt-installer_0.1.1
Yunchan Cho [Wed, 30 Jan 2013 08:42:07 +0000 (17:42 +0900)]
[Release] wrt-installer_0.1.1

Change-Id: Ic8419159fd76f21135fb2af32f7786d67c468064

11 years agoAdd mouse-event of <tizen:box-content> and type of <tizen:livebox>
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

11 years ago[Release] wrt-installer_0.1.0 for sdk branch
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

11 years ago[Release] wrt-installer_0.1.0
Soyoung Kim [Wed, 30 Jan 2013 05:04:15 +0000 (14:04 +0900)]
[Release] wrt-installer_0.1.0

11 years agoFixed appid included space during installation
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