framework/web/wrt-installer.git
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 agomerge with master
Jinkun Jang [Fri, 15 Mar 2013 16:21:52 +0000 (01:21 +0900)]
merge with master

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 agosync
Jinkun Jang [Thu, 14 Mar 2013 06:22:54 +0000 (15:22 +0900)]
sync

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 agoTizen 2.1 base
Jinkun Jang [Tue, 12 Mar 2013 17:05:49 +0000 (02:05 +0900)]
Tizen 2.1 base

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

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

11 years ago[Release] wrt-installer_0.0.99
Soyoung Kim [Tue, 29 Jan 2013 13:16:34 +0000 (22:16 +0900)]
[Release] wrt-installer_0.0.99

11 years agoFixed widget name has special character.
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

11 years agoRevert "Apply pkgid/appid policy to code regarding livebox"
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.

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

11 years agoApply pkgid/appid policy to code regarding livebox
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

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

11 years agoFixed to send progress signal during RDS update.
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

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

11 years ago[Release] wrt-installer_0.0.98
Soyoung Kim [Mon, 28 Jan 2013 08:51:37 +0000 (17:51 +0900)]
[Release] wrt-installer_0.0.98

11 years agoChange pkgname to appid for docomo request. PART3-1
Soyoung Kim [Mon, 28 Jan 2013 09:54:04 +0000 (18:54 +0900)]
Change pkgname to appid for docomo request. PART3-1

[Issue#] N/A
[Problem] wrong to trim space in config.xml
[Cause] N/A
[Solution] Fixed trim space for appid
[SCMRequest] N/A

Change-Id: Id70c5eaba875cef12fd22baf52b866d74dccabc3

11 years agoChange pkgname to appid for docomo request. PART3
Soyoung Kim [Mon, 28 Jan 2013 07:49:10 +0000 (16:49 +0900)]
Change pkgname to appid for docomo request. PART3

[Issue#] N/A
[Problem] if there is a space in appid, widget installation failed.
[Cause] To compare appid doesn't permit space.
[Solution] remove space at appid.
[SCMRequest] N/A

11 years agoChange pkgname to appid for docomo request. PART2
Soyoung Kim [Thu, 24 Jan 2013 12:05:54 +0000 (21:05 +0900)]
Change pkgname to appid for docomo request. PART2

[Issue#] N/A
[Problem] widget install path was wrong.
[Cause] N/A
[Solution] fixed install path using pkgid not appid.
[SCMRequest] N/A

11 years agoChange pkgname to appid for docomo request. PART1
Soyoung Kim [Wed, 23 Jan 2013 12:26:44 +0000 (21:26 +0900)]
Change pkgname to appid for docomo request. PART1

[Issue#] N/A
[Problem] application unique field is appid not pkgid.
[Cause] N/A
[Solution] Fixed pkgname to appid and add pkgid.
[SCMRequest] this package should be imported after wrt-commons has been released.

11 years ago[Release] wrt-installer_0.0.97 by sync with master branch
Taejeong Lee [Fri, 25 Jan 2013 13:56:15 +0000 (22:56 +0900)]
[Release] wrt-installer_0.0.97 by sync with master branch

Change-Id: I2c0fabbba3ea5544ff701ec42df101d351361e69

11 years ago[Release] wrt-installer_0.0.97
Taejeong Lee [Fri, 25 Jan 2013 13:39:41 +0000 (22:39 +0900)]
[Release] wrt-installer_0.0.97

Change-Id: Idc78653c0cfdfa4b469b4d1125bf6d95fd8a9909

11 years agoRevert "Change pkgname to appid for docomo request. PART1"
Taejeong Lee [Fri, 25 Jan 2013 13:20:43 +0000 (22:20 +0900)]
Revert "Change pkgname to appid for docomo request. PART1"

This reverts commit b2ace93bd9ba27d509c82a455e590fe042f7baa6.

Change-Id: Ief357a5f1d70bcca60ea0cc83de843402e105fdc

11 years agoRevert "Change pkgname to appid for docomo request. PART2"
Taejeong Lee [Fri, 25 Jan 2013 13:20:13 +0000 (22:20 +0900)]
Revert "Change pkgname to appid for docomo request. PART2"

This reverts commit 7be470a31cafd8b37b23be3aafa2783944cefc56.

Change-Id: Ib61e026a018a54fe57117e1d50fd6eec3dede118

11 years ago[Release] wrt-installer_0.0.96
Soyoung Kim [Thu, 24 Jan 2013 12:15:51 +0000 (21:15 +0900)]
[Release] wrt-installer_0.0.96

11 years agoChange pkgname to appid for docomo request. PART2
Soyoung Kim [Thu, 24 Jan 2013 12:05:54 +0000 (21:05 +0900)]
Change pkgname to appid for docomo request. PART2

[Issue#] N/A
[Problem] widget install path was wrong.
[Cause] N/A
[Solution] fixed install path using pkgid not appid.
[SCMRequest] N/A

11 years ago[Release] wrt-installer_0.0.95
Soyoung Kim [Thu, 24 Jan 2013 07:02:05 +0000 (16:02 +0900)]
[Release] wrt-installer_0.0.95

11 years agoFixed app-control element type
Soyoung Kim [Thu, 17 Jan 2013 07:01:26 +0000 (16:01 +0900)]
Fixed app-control element type

[Issue#] N/A
[Problem] need type for operation
[Cause] N/A
[Solution] add type for operation.
[SCMRequest] N/A

11 years agoMerge "Fixed preinstall for plugin"
Hoseon LEE [Thu, 24 Jan 2013 06:46:07 +0000 (15:46 +0900)]
Merge "Fixed preinstall for plugin"

11 years agoMerge "Change pkgname to appid for docomo request. PART1"
Hoseon LEE [Thu, 24 Jan 2013 06:45:55 +0000 (15:45 +0900)]
Merge "Change pkgname to appid for docomo request. PART1"

11 years agoChange pkgname to appid for docomo request. PART1
Soyoung Kim [Wed, 23 Jan 2013 12:26:44 +0000 (21:26 +0900)]
Change pkgname to appid for docomo request. PART1

[Issue#] N/A
[Problem] application unique field is appid not pkgid.
[Cause] N/A
[Solution] Fixed pkgname to appid and add pkgid.
[SCMRequest] this package should be imported after wrt-commons has been released.

Change-Id: Iead7a2494a439b5e4c34f97a0e0f00f0dd02fabd

11 years agoFixed preinstall for plugin
Soyoung Kim [Thu, 24 Jan 2013 05:21:15 +0000 (14:21 +0900)]
Fixed preinstall for plugin

[Issue#] TDIS-2684
[Problem] plugin installation tasks some times.
[Cause] wrong preinstall command during booting
[Solution] move preinstall command for plugin before checking preinstall widget.
[SCMRequest] N/A

11 years agoMerge "Patch for semaphore deadlock bug while plugins installation."
Hoseon LEE [Wed, 23 Jan 2013 13:37:52 +0000 (22:37 +0900)]
Merge "Patch for semaphore deadlock bug while plugins installation."

11 years agoPatch for semaphore deadlock bug while plugins installation.
Taejeong Lee [Mon, 21 Jan 2013 05:45:58 +0000 (14:45 +0900)]
Patch for semaphore deadlock bug while plugins installation.

[Issue#] N/A
[Problem] wrt-installer does not progress after plugins installation crash occurred on wrt-installer.
[Cause] Semaphore is not deleted when crash occur.
[Solution] Semaphore was replaced to flock api. The lock by flock is release automatically when the owner process is terminated.

Change-Id: I7f345a18a1041c2cb68416a34a2c8b5719e3bc84