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

11 years agoAdd log for command
Soyoung Kim [Wed, 2 Jan 2013 04:46:53 +0000 (13:46 +0900)]
Add log for command

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add to show command log.
[SCMRequest] N/A

Change-Id: I1285b53422e3afa3091f43aa883a0c9d58f7eecf

11 years agoChanged PkgName type from DPL::Optional<DPL::String> to DPL::String. PART 2
Jan Olszak [Thu, 6 Dec 2012 15:35:54 +0000 (16:35 +0100)]
Changed PkgName type from DPL::Optional<DPL::String> to DPL::String. PART 2

[Issue#] PkgName could have been NULL.
[Bug] N/A
[Cause] N/A
[Solution] Changed Pkgname type, changed api methods.
[Verification] Build commons, plugins, installer, wrt. Run all tests.

Change-Id: Id244ec00bd7da12bf106c009d65e0bc2e732dc71

11 years ago[Release] wrt-installer_0.0.89
Jihoon Chung [Wed, 2 Jan 2013 02:20:35 +0000 (11:20 +0900)]
[Release] wrt-installer_0.0.89

Change-Id: I981e53482b0916a7db2b98413d51c1ed0fd8ef2d

11 years agoAdd vconf creation for memory saving mode
Jihoon Chung [Tue, 1 Jan 2013 23:58:30 +0000 (08:58 +0900)]
Add vconf creation for memory saving mode

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add vconf creation for memory saving mode
[SCMRequest] must be imported with wrt-commons

Change-Id: I92047866098c1865311d1cc5d307407c00887251

11 years agoApply vconf key path builder
Jihoon Chung [Sat, 29 Dec 2012 04:25:32 +0000 (13:25 +0900)]
Apply vconf key path builder

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Replace local define to using common inline function
[SCMRequest] must be imported with wrt-commons
https://tizendev.org/gerrit/#/c/25043/

Change-Id: I2bd0b47debfcb2756a5988c00102eae6ed48545e

11 years ago[Prevent] Closed directory.
Jan Olszak [Fri, 28 Dec 2012 12:42:39 +0000 (13:42 +0100)]
[Prevent] Closed directory.

[Issue] Unclosed directory
[Bug] N/A
[Cause] N/A
[Solution] Closed dir.
[Verification] Build installer.

Change-Id: If7157b840626673f5dfbd9233cd1215a5c4f339d

11 years ago[Prevent] Throw error on no ElementParser.
Jan Olszak [Fri, 28 Dec 2012 13:04:14 +0000 (14:04 +0100)]
[Prevent] Throw error on no ElementParser.

[Issue] No return value in ElementParser getter.
[Bug] N/A
[Cause] N/A
[Solution] Closed dir.
[Verification] Build installer.

Change-Id: I2fc42f26be52ce19d767fc88a566da8139f4ca8a

11 years ago[Release] wrt-installer_0.0.88
Jihoon Chung [Fri, 28 Dec 2012 08:03:43 +0000 (17:03 +0900)]
[Release] wrt-installer_0.0.88

Change-Id: Ief2ef18fc10ef0eac982a7d95654d9ccbe7846db

11 years agoCreate/Remove vconf for security settings
Jihoon Chung [Fri, 28 Dec 2012 00:21:49 +0000 (09:21 +0900)]
Create/Remove vconf for security settings

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Implement create/remove vconf for security settings
[SCMRequest] N/A

Change-Id: I54c90d15cd9950fcf644033774f887c4de32e987

11 years agoRemove required attribute and viewmode Change windowed to maximized
leerang song [Fri, 28 Dec 2012 02:46:53 +0000 (11:46 +0900)]
Remove required attribute and viewmode Change windowed to maximized

[Issue#] N/A
[Problem] not use required attribute anymore
[Cause] N/A
[Solution] Remove required attribute and viewmode Change windowed to maximized
[SCMRequest] N/A

Change-Id: I65f937b60efe191e4003190a11b0306b01e59724

11 years agoauto-launch tag has been changed
lke01.lee [Thu, 27 Dec 2012 04:52:26 +0000 (13:52 +0900)]
auto-launch tag has been changed

[Issue#] N/A
[Problem]
[Cause] N/A
[Solution]auto-launch has been changed from attribute to elementry by master

Change-Id: I3ab12384929b3feb904ac98f1f4fbde4c64c24f7

11 years agolivebox configuration valuables has been modified
lke01.lee [Wed, 26 Dec 2012 01:36:21 +0000 (10:36 +0900)]
livebox configuration valuables has been modified

[Issue#] N/A
[Problem]
[Cause] N/A
[Solution] livebox configuration valuables have been changed
and unused files have been removed.
[Verification] This path depends on wrt-common http://slp-info.sec.samsung.net/gerrit/#/c/129652/

Change-Id: I8c744ee4cb1b6083e51434954b0847145a3b068b

11 years agoFor livebox configuration
lke01.lee [Fri, 7 Dec 2012 07:22:57 +0000 (16:22 +0900)]
For livebox configuration

[Issue#]
[Problem]
[Cause] The configuration informations has been changed from pkgname.config to config.xml
[Solution] Add parsing routine for livebox configuration
[Verification] This commit depends on http://slp-info.sec.samsung.net/gerrit/#/c/125839/,
http://slp-info.sec.samsung.net/gerrit/#/c/128073/

Change-Id: I0d188fea4df254d9a5418649d94cfa19860e461b

11 years ago[Release] wrt-installer_0.0.86
Soyoung Kim [Wed, 26 Dec 2012 04:49:36 +0000 (13:49 +0900)]
[Release] wrt-installer_0.0.86

11 years agoFixed crash for external installation
Soyoung Kim [Wed, 26 Dec 2012 04:38:55 +0000 (13:38 +0900)]
Fixed crash for external installation

[Issue#] N/A
[Problem] occur crash about external installation
[Cause] N/A
[Solution] fixed deinitialize
[SCMRequest] N/A

11 years agoFixed directory installation using pkgcmd
Soyoung Kim [Fri, 21 Dec 2012 09:06:38 +0000 (18:06 +0900)]
Fixed directory installation using pkgcmd

[Issue#] N/A
[Problem] directory installation failed using pkgcmd command
[Cause] installation policy option is wrong using pkgcmd.
[Solution] Fixed option for pkgcmd.
[SCMRequest] N/A

11 years agoRemove installed directory and manifest file when installation failed after ace check
Soyoung Kim [Fri, 21 Dec 2012 07:47:56 +0000 (16:47 +0900)]
Remove installed directory and manifest file when installation failed after ace check

[Issue#] N/A
[Problem] unremoved installed directory and manifest file when installation failed.
[Cause] There aren't abort logic after ace check filed.
[Solution] Add abrot logic for remove
[SCMRequest] N/A

11 years agoAdd installation to external location(sdcard)
Soyoung Kim [Thu, 29 Nov 2012 05:58:42 +0000 (14:58 +0900)]
Add installation to external location(sdcard)

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add feature about installation to sdcard using app2sd.
[SCMRequest] N/A

Change-Id: I493b9764ce7492d63d9fcaef6a8caec3f01eea85

11 years ago[Release] wrt-installer_0.0.85
lke01.lee [Fri, 21 Dec 2012 07:50:58 +0000 (16:50 +0900)]
[Release] wrt-installer_0.0.85

Change-Id: I8ca04e69c8ce1242ea520d2227f5f8ea05fa11a2

11 years agoAdd category element at manifest and config.xml
Soyoung Kim [Wed, 7 Nov 2012 03:09:33 +0000 (12:09 +0900)]
Add category element at manifest and config.xml

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add category element at config.xml so modify parse.
Add app-control element instead of appservice. because appservice will be removed at manifest.xml.

11 years ago[Release] wrt-installer_0.0.84
Jihoon Chung [Wed, 19 Dec 2012 23:52:37 +0000 (08:52 +0900)]
[Release] wrt-installer_0.0.84

Change-Id: I96aec74c3e99d8e7988cd04fd1c560ebbf2c5d29

11 years agoSupport privilege database table
Jihoon Chung [Thu, 13 Dec 2012 05:11:41 +0000 (14:11 +0900)]
Support privilege database table

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Support privilege database table usage.
This commit store privilege information to database
[SCMRequest] must be imported with wrt-commons

Change-Id: Idfdb7ba55a4395043232ab7f9b860bff1bdccabf

11 years agoDummy PkgmgrSignal for command line installation
Jan Olszak [Fri, 14 Dec 2012 08:54:42 +0000 (09:54 +0100)]
Dummy PkgmgrSignal for command line installation

[Issue] During command line installation PkgMgr should only show log and check initialization.
[Bug] N/A
[Cause] N/A
[Solution] Dummy PkgmgrSignal for command line installation
[Verification] Build installer. Run command line installation. No logs that saying 'PkgmgrSingal not yet intialized'

Change-Id: Ie354b35825db9ece9c43ff1321f029d5a5d4e071

11 years ago[NABI][TWEB-678] Fix for unhandled exception
Marcin Kaminski [Fri, 14 Dec 2012 13:41:25 +0000 (14:41 +0100)]
[NABI][TWEB-678] Fix for unhandled exception

[Issue#] TWEB-678 (NABI)
[Bug] Unhandled exception while installing
broken package
[Cause] Lack of Exception catching
[Solution] Proper catch and throw added

[Verication] Build package. Try to install
z4.html file from:
https://tizendev.org/bugs/browse/TWEB-678
(it is widget package - not .html page)

Change-Id: I0dceed2db098bf6bbbd9af554ca79e6343f78b6f