framework/web/wrt-installer.git
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 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
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
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
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
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
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
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

11 years agochange schema type of livebox
Yunchan Cho [Thu, 17 Jan 2013 07:23:04 +0000 (16:23 +0900)]
change schema type of livebox

[Issue#] N/A
[Bug] N/A
[Cause] N/A
[Solution] seperate 'type' attribute in the 'box-label' element to sub element
[Verification] N/A

Change-Id: Ia820c5328a3d05e66ae8b16c666a897a3e64aa3e

11 years ago[Release] wrt-installer_0.0.94
Soyoung Kim [Wed, 16 Jan 2013 07:58:45 +0000 (16:58 +0900)]
[Release] wrt-installer_0.0.94

11 years agopreinstall plugin during booting time for window SDK
Soyoung Kim [Wed, 16 Jan 2013 07:50:16 +0000 (16:50 +0900)]
preinstall plugin during booting time for window SDK

[Issue#] TDIS-2320
[Problem] Takes up a lot of time when you first install the widget on window SDK
[Cause] plugin installation takes lots of time.
[Solution] plugin installation should be installed during booting time.
[SCMRequest] N/A

11 years agoModify config.xml
Soyoung Kim [Wed, 16 Jan 2013 06:40:51 +0000 (15:40 +0900)]
Modify config.xml

[Issue#] N/A
[Problem] nodisplay setting doesn't support. and add app-control
[Cause] N/A
[Solution] remove nodisplay setting
Add app-control element to config.xsd
[SCMRequest] N/A

Change-Id: I771af75e6b0e6e32721a964e5fcb5510b4a911e8

11 years agoModify app control element.
Soyoung Kim [Fri, 4 Jan 2013 07:57:46 +0000 (16:57 +0900)]
Modify app control element.

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution]
- we should provide both appservcie and app-control for the present.
- But appservice will be removed.
[SCMRequest] have to release after wrt-commons_0.2.90

Change-Id: Ib5bbf07bc260f1ebd297cb7079beaf9c8af7434d

11 years ago[Release] wrt-installer_0.0.93
Soyoung Kim [Wed, 16 Jan 2013 02:23:12 +0000 (11:23 +0900)]
[Release] wrt-installer_0.0.93

11 years agoMerge "privilege skip checking ACE."
Hoseon LEE [Wed, 16 Jan 2013 01:53:53 +0000 (10:53 +0900)]
Merge "privilege skip checking ACE."

11 years agoMerge "Add external installation setting in config.tizen.xsd"
Hoseon LEE [Wed, 16 Jan 2013 01:53:38 +0000 (10:53 +0900)]
Merge "Add external installation setting in config.tizen.xsd"

11 years agoMerge "Fixed installation failed when new tizenId generated in SDK."
Hoseon LEE [Wed, 16 Jan 2013 01:53:22 +0000 (10:53 +0900)]
Merge "Fixed installation failed when new tizenId generated in SDK."

11 years agoAdd external installation setting in config.tizen.xsd
Soyoung Kim [Tue, 15 Jan 2013 10:02:57 +0000 (19:02 +0900)]
Add external installation setting in config.tizen.xsd

[Issue#] N/A
[Problem] missing configure setting about external installation.
[Cause] N/A
[Solution] Add external installation config setting.
[SCMRequest] N/A

11 years agoprivilege skip checking ACE.
Soyoung Kim [Tue, 15 Jan 2013 09:28:59 +0000 (18:28 +0900)]
privilege skip checking ACE.

This requirement is requested from docomo.
[Issue#] N/A
[Problem] privilege doesn't need to check ACE.
[Cause] N/A
[Solution] skip ace checking.
[SCMRequest] N/A
.

11 years ago[Release] wrt-installer_0.0.92
Soyoung Kim [Mon, 14 Jan 2013 11:27:04 +0000 (20:27 +0900)]
[Release] wrt-installer_0.0.92

11 years agoFixed installation failed when new tizenId generated in SDK.
Soyoung Kim [Mon, 14 Jan 2013 04:03:04 +0000 (13:03 +0900)]
Fixed installation failed when new tizenId generated in SDK.

[Issue#] N_SE-19398
[Problem] when new tizenId genergated, widget installation failed.
[Cause] there is a bug during find existing widget.
[Solution] tizenId is a criterion for find existing widget.
[SCMRequest] N/A

Change-Id: I0c320eac1ad2a88356e467071e027f5e95f4f0b6

11 years agomodified for livebox code to use proper member in WidgetRegisterInfo
Yunchan Cho [Mon, 14 Jan 2013 05:41:01 +0000 (14:41 +0900)]
modified for livebox code to use proper member in WidgetRegisterInfo

[Issue] wrt-installer is crashed when it installs a webapp with livebox
[Bug] N/A
[Cause] wrt-installer is using improper member of WidgetRegisterInfo
[Solution] wrt-installer is modified to use 'pkgName' member, not 'pkgname' member on handling code regarding livebox

Change-Id: I0943068f322022c51b78fd10d651874fcd93c3cc

11 years agoAdd <tizen:privilege> feature in config.xsd
leerang song [Fri, 11 Jan 2013 01:44:21 +0000 (10:44 +0900)]
Add <tizen:privilege> feature in config.xsd

[Issue#] N/A
[Bug] N/A
[Cause] N/A
[Solution] Add <tizen:privilege> feature in config.xsd
[Verification] N/A

Change-Id: I4700ba8fbdb7d862884bb0a0385826ad42391d98

11 years agoChanged PkgName type from Optional<String> to String PART 4
Jan Olszak [Wed, 9 Jan 2013 12:54:32 +0000 (13:54 +0100)]
Changed PkgName type from Optional<String> to String PART 4

[Issue] Deleting temporary API.
[Bug] N/A
[Cause] N/A
[Solution] N/A
[Verification] Build installer. Run all tests.

Change-Id: Ia1863c0e6ba3ef5f22fed09b2dca0e3a66b7e40d

11 years agoOn nodisplay mode,icon not appear in task manager
leerang song [Thu, 10 Jan 2013 04:22:31 +0000 (13:22 +0900)]
On nodisplay mode,icon not appear in task manager

[Issue#] N/A
[Bug] N/A
[Cause] N/A
[Solution] Add setTaskmanage function in setWidgetOtherInfo.
[Verification] N/A

Change-Id: I4d7d81b1985a289625761adf77eaf83203991cd3

11 years agoTask database fix - TC11
Tomasz Iwanek [Wed, 2 Jan 2013 13:51:38 +0000 (14:51 +0100)]
Task database fix - TC11

[Issue#]       LINUXNGWAP-643
[Bug]          Test was not passing due to unhandled excpetion in installer
[Cause]        Wrong error code
[Solution]     Try-Catch blocks
[Verification] run test: wrt-tests-tizen --output=text --regexp='TC11'. Test should pass.

Change-Id: Idd2fa60313f7c0d1d681c0b4489bf7857d2b7818

11 years ago[Prevent] Fixing issues: 35409
Tomasz Iwanek [Tue, 8 Jan 2013 10:23:12 +0000 (11:23 +0100)]
[Prevent] Fixing issues: 35409

[Issue#]       LINUXNGWAP-651
[Bug]          Resorues not freed
[Cause]        N/A
[Solution]     Free resources at exit of functions
[Verification] Build repository

Change-Id: I2d5870ec3fa135f2646b1f65ea10608f2d3862f5

11 years agolivebox xsd has been changed
lke01.lee [Wed, 9 Jan 2013 06:47:55 +0000 (15:47 +0900)]
livebox xsd has been changed

[Issue#] N/A
[Problem]
[Cause] N/A
[Solution] livebox xsd has been changed.

Change-Id: Ic5ad474a31212595b1b041e3f4cb3d1fe2dc5e39

11 years agoMerge "[Release] wrt-installer_0.0.91"
Hoseon LEE [Wed, 9 Jan 2013 05:53:19 +0000 (14:53 +0900)]
Merge "[Release] wrt-installer_0.0.91"

11 years ago[Release] wrt-installer_0.0.91
Soyoung Kim [Wed, 9 Jan 2013 05:47:31 +0000 (14:47 +0900)]
[Release] wrt-installer_0.0.91

11 years ago[prevent] closed directory
Soyoung Kim [Wed, 9 Jan 2013 05:23:31 +0000 (14:23 +0900)]
[prevent] closed directory

[Issue#] CID 35409
[Problem] unclose directory
[Cause] N/A
[Solution] closed directory for fixing resource leak.
[SCMRequest] N/A

Change-Id: Ide85a9161d354595a1015174c41b2dd3b5fa4ec7

11 years ago[prevent] closed directory
Soyoung Kim [Wed, 9 Jan 2013 05:23:31 +0000 (14:23 +0900)]
[prevent] closed directory

[Issue#] CID 35409
[Problem] unclose directory
[Cause] N/A
[Solution] closed directory for fixing resource leak.
[SCMRequest] N/A

11 years agoMerge "[Release] wrt-installer_0.0.90"
Hoseon LEE [Tue, 8 Jan 2013 04:17:25 +0000 (13:17 +0900)]
Merge "[Release] wrt-installer_0.0.90"

11 years agoMerge "Change vconf create mechanism"
Hoseon LEE [Tue, 8 Jan 2013 04:17:10 +0000 (13:17 +0900)]
Merge "Change vconf create mechanism"

11 years agoFixed Schemas parser error in config.tizen.xsd
Soyoung Kim [Tue, 8 Jan 2013 02:42:52 +0000 (11:42 +0900)]
Fixed Schemas parser error in config.tizen.xsd

[Issue#] N/A
[Problem] error occur during schemas parsing.
[Cause] N/A
[Solution] Fixed config.tizen.xsd
[SCMRequest] N/A

11 years ago[Release] wrt-installer_0.0.90
Jihoon Chung [Tue, 8 Jan 2013 02:29:55 +0000 (11:29 +0900)]
[Release] wrt-installer_0.0.90

Change-Id: I056ec49c754f4ed1e11bb837c862683719f9d893

11 years agoChange vconf create mechanism
Jihoon Chung [Mon, 7 Jan 2013 10:25:29 +0000 (19:25 +0900)]
Change vconf create mechanism

[Issue#] JIRA(#N_SE-17625)
[Problem] Even change setting value in the "Advanced settings",
value isn't saved.
[Cause] Permission error is occurred during saving vconf value.
Permission error is occurred in the case of installing application
by IDE.
[Solution] For making sure, change vconf create mechanism to use
vconftool with group id setting option.
[SCMRequest] N/A

Change-Id: Idbe63f3da5abb1ee1465bac4d635045be51359e1

11 years agoMerge "Add log for command"
Hoseon LEE [Tue, 8 Jan 2013 02:21:25 +0000 (11:21 +0900)]
Merge "Add log for command"

11 years ago[Custom handler] Remove custom handlers during uninstall
Przemyslaw Ciezkowski [Tue, 18 Dec 2012 10:15:53 +0000 (11:15 +0100)]
[Custom handler] Remove custom handlers during uninstall

[Issue#] N/A
[Problem] Custom handlers are not removed when widget is uninstalled.
[Cause] N/A
[Solution] Added new job to uninstall process: remove from appsvc and
from custom handlers db.
[ScmRequest] wrt-commons
Depends on: https://tizendev.org/gerrit/#/c/22499/
[Verification] Install custom_handlers.wgt from manual tests
from wrt-extra. Run widget, register protocol and content handlers.
Uninstall widget. Check if widget is removed from database (wrt_custom_handlers.db
and appsvc.db)

Change-Id: I2c84086f47c7f9ffcfa80905d16d10148dc90d48

11 years agoAdd required attribute name
leerang song [Fri, 4 Jan 2013 08:03:19 +0000 (17:03 +0900)]
Add required attribute name

[Issue#] N/A
[Problem] Remove required attribute name
[Cause] N/A
[Solution] Add required attribute name
[SCMRequest] N/A

Change-Id: Id62d9b14d31f2954aff362f894d4482504c01f18

11 years ago For livebox, xsd has been changed
lke01.lee [Thu, 3 Jan 2013 08:41:34 +0000 (17:41 +0900)]
 For livebox, xsd has been changed

Change-Id: I6cf937188f99cac4fe40849789fbfdc9a2ca1a0a