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

11 years ago[Release] wrt-installer_0.0.83
Jihoon Chung [Fri, 14 Dec 2012 01:49:40 +0000 (10:49 +0900)]
[Release] wrt-installer_0.0.83

Change-Id: I40ece00bfe11a6aad966f9d5f892b89d6fb13e91

11 years agoMerge "Support <tizen:privilege>"
Hoseon LEE [Fri, 14 Dec 2012 00:28:31 +0000 (09:28 +0900)]
Merge "Support <tizen:privilege>"

11 years agoMerge "[Release] wrt-installer_0.0.82"
Hoseon LEE [Thu, 13 Dec 2012 04:33:46 +0000 (13:33 +0900)]
Merge "[Release] wrt-installer_0.0.82"

11 years agoSupport <tizen:privilege>
Jihoon Chung [Tue, 11 Dec 2012 00:42:00 +0000 (09:42 +0900)]
Support <tizen:privilege>

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Implement tizen:privilege for plugin features
[SCMRequest] N/A

Change-Id: I85f5634bbca8a07a479a6d050a9a59b30281a4eb

11 years ago[Prevent] Handle unhandled exceptions in wrt-installer.
Jan Olszak [Wed, 12 Dec 2012 08:04:48 +0000 (09:04 +0100)]
[Prevent] Handle unhandled exceptions in wrt-installer.

[Issue] Unhandled exceptions propagate to main().
[Bug] N/A
[Cause] N/A
[Solution] Catch all exceptions and log them.
[Verification] Build installer.

Change-Id: Ic5f43397c404bdab609884638099b24bbd8a7dc1

11 years ago[Release] wrt-installer_0.0.82
Soyoung Kim [Wed, 12 Dec 2012 06:54:05 +0000 (15:54 +0900)]
[Release] wrt-installer_0.0.82

11 years agoFixed package manager doesn't receive signal for widget update failed.
Soyoung Kim [Wed, 12 Dec 2012 06:06:27 +0000 (15:06 +0900)]
Fixed package manager doesn't receive signal for widget update failed.

[Issue#] N/A
[Problem] package manager doesn't recevie message for version checking failed.
[Cause] didn't set up signal to package manager after version checking.
[Solution] set up signal after set package name.
[SCMRequest] N/A

11 years ago[Prevent] Removed warning from Prevent.
Jan Olszak [Fri, 7 Dec 2012 11:30:33 +0000 (12:30 +0100)]
[Prevent] Removed warning from Prevent.

[Issue#] Using pointer to temporary object.
[Bug] N/A
[Cause] N/A
[Solution] Using the object instead of pointer.
[Verification] Build installer. Run installer tests.

Change-Id: Ie9cdd255c30c54bcd048b2f71530ad8ee1ffea74

11 years ago[Prevent] Removed warning from Prevent.
Jan Olszak [Fri, 7 Dec 2012 12:40:21 +0000 (13:40 +0100)]
[Prevent] Removed warning from Prevent.

[Issue#] Using pointer to temporary object.
[Bug] N/A
[Cause] N/A
[Solution] Using the object instead of pointer.
[Verification] Build installer. Run installer tests.

Change-Id: I3c8b3b95355b9aee561a55e7b01851c77c914c1e

11 years agoUpdate schema files
Hoseon LEE [Thu, 6 Dec 2012 09:45:52 +0000 (18:45 +0900)]
Update schema files

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Update the schema files
[SCMRequest] N/A

Change-Id: I54be762089c2166d28fc5d21d183750860e6f634

11 years agoDirectory install feature fix
Andrzej Surdej [Tue, 4 Dec 2012 15:57:17 +0000 (16:57 +0100)]
Directory install feature fix

[Issue#] LINUXNGWAP-572
[Problem] Install package that is alredy unzipped (files are in proper directory)
[Cause] N/A
[Solution] N/A
[Verification] Install/update/uninstall several widget using old and new way.

Change-Id: I7ee8588ee8a2fe239b6cf96e8719ad0446403761

11 years agoMerge "Fixed build break"
Grzegorz Krawczyk [Thu, 6 Dec 2012 11:27:27 +0000 (20:27 +0900)]
Merge "Fixed build break"

11 years ago[systemd] fix build error
baik [Thu, 6 Dec 2012 11:18:11 +0000 (20:18 +0900)]
[systemd] fix build error
          I am sincerely sorry

Change-Id: Idcb8c501afa1498ebb29c69a98df956ebbd4924b

11 years agoFixed build break
Grzegorz Krawczyk [Thu, 6 Dec 2012 09:44:02 +0000 (10:44 +0100)]
Fixed build break

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] N/A
[SCMRequest] N/A

Signed-off-by: Grzegorz Krawczyk(g.kraczyk@samsung.com)
Change-Id: Ie2b496a505c6b72ca0f49222325ed8b3827b8562

11 years ago[Release] wrt-installer_0.0.81
Soyoung Kim [Thu, 6 Dec 2012 05:03:38 +0000 (14:03 +0900)]
[Release] wrt-installer_0.0.81

11 years agoMerge branch 'systemd'
Jacek Migacz [Fri, 30 Nov 2012 15:43:41 +0000 (16:43 +0100)]
Merge branch 'systemd'

Conflicts:
etc/wrt_preinstall_widgets.sh
packaging/wrt-installer.spec

Change-Id: Iec48e5d3792c4dfd644b12e6325ac38f822646b8

11 years ago[Release] wrt-installer_0.0.80
Soyoung Kim [Wed, 5 Dec 2012 08:26:18 +0000 (17:26 +0900)]
[Release] wrt-installer_0.0.80

11 years agoFixed nodisplay when other setting values exist.
Soyoung Kim [Wed, 5 Dec 2012 08:10:25 +0000 (17:10 +0900)]
Fixed nodisplay when other setting values exist.

[Issue#] N/A
[Problem] N/A
[Cause] If other setting values in config.xml nodisplay always set "false"
[Solution] Fixed logic when other setting values in config.xml
[SCMRequest] N/A

11 years agoMerge "add to create share directory"
Hoseon LEE [Wed, 5 Dec 2012 05:42:44 +0000 (14:42 +0900)]
Merge "add to create share directory"

11 years agoMerge "arrangement of directory creation."
Hoseon LEE [Wed, 5 Dec 2012 05:42:31 +0000 (14:42 +0900)]
Merge "arrangement of directory creation."

11 years agoadd to create share directory
Soyoung Kim [Thu, 22 Nov 2012 04:58:37 +0000 (13:58 +0900)]
add to create share directory

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] create share directory
[SCMRequest] this commit have to be imported with wrt-commons.

Change-Id: I20dc86748a5527382a1a6a6a8e73567c66520554

11 years agoarrangement of directory creation.
Soyoung Kim [Thu, 22 Nov 2012 02:27:15 +0000 (11:27 +0900)]
arrangement of directory creation.

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] creation of private storage directory move to file manifacture task
from task_private_storage.
[SCMRequest] N/A

Change-Id: I11ce837f3b45d78e8abeafe1ade4e1545ed2f7d8

11 years agoAdd nodisplay setting
leerang song [Tue, 4 Dec 2012 05:48:35 +0000 (14:48 +0900)]
Add nodisplay setting

[Issue#] N/A
[Bug] N/A
[Cause] N/A
[Solution] N/A
[Verification] N/A

Change-Id: I2cb0b984d11020acc8cef171f25de66ddf09e007

11 years agoDistinguish between system headers and project headers.
Jan Olszak [Fri, 23 Nov 2012 14:01:55 +0000 (15:01 +0100)]
Distinguish between system headers and project headers.

[Issue#] During compilation system and project headers were included the same way.
[Bug] N/A
[Cause] N/A
[Solution] Use -isystem flag to include system headers. In CMake files it's done by INCLUDE_DIRECTORY( SYSTEM ... ).
[Verification] Build. No warnings from system headers.

Change-Id: Ide041328bc7240d6875943067c272baeb5671dfd

11 years ago[Release] wrt-installer_0.0.79
Soyoung Kim [Fri, 30 Nov 2012 12:46:53 +0000 (21:46 +0900)]
[Release] wrt-installer_0.0.79

11 years agoMerge "Fixed certificate of authentication value to base64."
Hoseon LEE [Fri, 30 Nov 2012 12:34:47 +0000 (21:34 +0900)]
Merge "Fixed certificate of authentication value to base64."

11 years agoFixed certificate of authentication value to base64.
Soyoung Kim [Fri, 30 Nov 2012 09:49:48 +0000 (18:49 +0900)]
Fixed certificate of authentication value to base64.

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] modify base64 string instead of sha1 values
at saving certificate of authentication.
[SCMRequest] N/A

11 years agosave installed path to db for preload widget
Soyoung Kim [Wed, 14 Nov 2012 05:11:29 +0000 (14:11 +0900)]
save installed path to db for preload widget

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add logic to save installed path for preload widget
[SCMRequest] this commit should be released with wrt-commmons

Change-Id: I51942b53109fad02e8abd1f47436fa225a025117

11 years agoRevert "Pkgname (tizen id) - not null"
Soyoung Kim [Fri, 30 Nov 2012 08:38:21 +0000 (17:38 +0900)]
Revert "Pkgname (tizen id) - not null"

This reverts commit 90edb1a841aa952ddbb842dfe7fbcd13999e6b2b.

11 years agoPlatform version check during wgt installation - fixed
Tomasz Iwanek [Mon, 26 Nov 2012 12:24:29 +0000 (13:24 +0100)]
Platform version check during wgt installation - fixed

m_quiet stays with true value. To get popups run installation
from "my files" menu (e.g. move wgt file to /opt/usr/media/Downloads).

[Issue#] LINUXNGWAP-537
[Feature] Platform version is checked and compared
to required_version from config.xml. If installation
is triggered by pkgmgr, popup with question is shown.
If it is console installation, version check popup is disabled and
installation automatically refused if version not match
[Cause] Compatibility check during installation
needed
[Solution] N/A

[Verification] Build installer. Try to install
widget manual_tests/Tizen_Spec/TC6 from wrt-extra
from console and by pgkmgr (click wgt file from "MyFiles").

Change-Id: I1072ec5368e6bd0f591b9c8cceda6b5b18059665

11 years agoPkgname (tizen id) - not null
Jan Olszak [Wed, 21 Nov 2012 08:24:48 +0000 (09:24 +0100)]
Pkgname (tizen id) - not null

[Issue#] It was possible for pkgname to be null.
[Bug] N/A
[Cause] N/A
[Solution] Changed Column deffinition in db file and replaced DPL:Optional<DPL::String> with DPL::String.
[Verification] Build installer.

Change-Id: Ic557877d3048e20357360e24e19c221c115d12cc

11 years agoRemoving unused merged code
Tomasz Iwanek [Wed, 21 Nov 2012 14:03:34 +0000 (15:03 +0100)]
Removing unused merged code

[Issue#]       LINUXNGWAP-428
[Bug]          Code that was removed is merged back somehow
[Cause]        N/A
[Solution]     Removing that code and widgetHandle uses
[Verification] Build or check buildbot status

Change-Id: I058cbc0705699392b15d5e894c7d1e7288940a01

11 years ago[Prevent] Handle return value of regcomp.
Jan Olszak [Tue, 13 Nov 2012 12:30:36 +0000 (13:30 +0100)]
[Prevent] Handle return value of regcomp.

[Issue#] Unhandled return value.
[Bug] N/A
[Cause] N/A
[Solution] Logging on error.
[Verification] Build installer

Change-Id: I093e6edab7f99a0f6b38ab8825a9e65f430d101c

11 years agoDirecotry install feature added to wrt-installer
Andrzej Surdej [Thu, 22 Nov 2012 12:22:40 +0000 (13:22 +0100)]
Direcotry install feature added to wrt-installer

[Issue#] LINUXNGWAP-572
[Problem] SDK takes too long time to install/update widget
[Cause] Steps done: zipping->transfer->uninstall->install->unzipping->checking version
[Solution] Added feature to install widget directly from directory.
To do that run wrt-installer -i /path/widget_directory (note that -if works as before)
Widget is not zipped/unzipped and version check is not performed (always update)
[Verification] First of all check if old options works correctly, wrt-test-w3c
might be helpful.
Secondly check if new feature works by installing/updating/running/uninstalling
widget with -i /directory option

Change-Id: I4a07c66e74630df7c97b015c9dadbe3452da7509

11 years ago[Release] wrt-installer_0.0.78
Soyoung Kim [Tue, 27 Nov 2012 08:00:19 +0000 (17:00 +0900)]
[Release] wrt-installer_0.0.78

11 years agoFixed can't remove preinstall widget during booting
Soyoung Kim [Wed, 21 Nov 2012 09:14:05 +0000 (18:14 +0900)]
Fixed can't remove preinstall widget during booting

[Issue#] N/A
[Problem] preinstall widget can't be removed after booting.
[Cause] N/A
[Solution] Fixed wrt_preinstall_widgets.sh script.
[SCMRequest] N/A

Change-Id: I5cc44a0dda6acb8718d3236af7eb5875d1501793

11 years agoMerge "[Installer] Clean up Flash Parser."
Hoseon LEE [Tue, 27 Nov 2012 07:04:41 +0000 (16:04 +0900)]
Merge "[Installer] Clean up Flash Parser."

11 years ago[Installer] Clean up Flash Parser.
Taejeong Lee [Wed, 10 Oct 2012 04:47:02 +0000 (13:47 +0900)]
[Installer] Clean up Flash Parser.

 * "flash" element is not defined on WRT core spec, so clean up that in source.

[Issue#] N/A
[Problem] Clean up Flash Parser
[Cause] N/A
[Solution] N/A

Change-Id: I8ea6672a36969ba85403a3b297715697ea39f822

11 years agoremove temporary drm library and header files.
Soyoung Kim [Thu, 22 Nov 2012 00:39:34 +0000 (09:39 +0900)]
remove temporary drm library and header files.

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] remove all temporary drm library and header files.
Add using drm-service-core-intel package code.
[SCMRequest] N/A

Change-Id: I4018937b5e865259ad7049945795b937fd367d73

11 years ago[Prevent] Handle return value of CertificateColletion::sort.
Jan Olszak [Tue, 13 Nov 2012 12:23:03 +0000 (13:23 +0100)]
[Prevent] Handle return value of CertificateColletion::sort.

[Issue#] Unhandled return value.
[Bug] N/A
[Cause] N/A
[Solution] Logging on error.
[Verification] Build installer

Change-Id: Ie0335e090dee76a860ca1b777cfc44cbff6b5903

11 years ago[Prevent] Handle return value from CertificateCollection::sort.
Jan Olszak [Tue, 13 Nov 2012 12:12:08 +0000 (13:12 +0100)]
[Prevent] Handle return value from CertificateCollection::sort.

[Issue#] Unhandled return value.
[Bug] N/A
[Cause] N/A
[Solution] Logging on error.
[Verification] Build installer

Change-Id: Ia30a0ec3522aa736dc5399f6d879fde9803509a0

11 years ago[Prevent] Handle fread return value.
Jan Olszak [Tue, 13 Nov 2012 11:52:23 +0000 (12:52 +0100)]
[Prevent] Handle fread return value.

[Issue#] Unhandled return value.
[Bug] N/A
[Cause] N/A
[Solution] Logging on error.
[Verification] Build installer

Change-Id: If3d7880115452c86e6bffee7cae8aa691916f2bb

11 years ago[Release] wrt-installer_0.0.77
Soyoung Kim [Fri, 23 Nov 2012 12:21:25 +0000 (21:21 +0900)]
[Release] wrt-installer_0.0.77

Change-Id: I5885abb9462bfd6bc8230d215f77b2c84e2ebf43

11 years agoRevert "Platform version check during wgt installation"
Soyoung Kim [Fri, 23 Nov 2012 12:17:10 +0000 (21:17 +0900)]
Revert "Platform version check during wgt installation"

This reverts commit 4e95ddb0231a0818d62d2165c83a857766a219ed.

11 years ago[Release] wrt-installer_0.0.76
Jihoon Chung [Fri, 23 Nov 2012 03:02:53 +0000 (12:02 +0900)]
[Release] wrt-installer_0.0.76

Change-Id: I3f6c3f441edb33a77cb69c11ae1f2eaa1a5d6fd0

11 years agoPlatform version check during wgt installation
Marcin Kaminski [Fri, 16 Nov 2012 11:53:02 +0000 (12:53 +0100)]
Platform version check during wgt installation

Additionaly m_quiet field of install context
is initialy set to "false". Setting this field
to true by default cause permanent disabling
of some installer features (additional checks,
popups).

[Issue#] N/A
[Feature] Platform version is checked and compared
to required_version from config.xml. If test mode
enabled (WRT_TEST_MODE=1) installation fails when
platform version lower than required. If test mode
disabled popup with question is shown.
[Cause] Compatibility check during installation
needed
[Solution] N/A

[Verification] Build installer. Try to install
widget manual_tests/Tizen_Spec/TC6 from wrt-extra
with test mode enabled and disabled.

Change-Id: Ib77ac402401fdd7673623d8e00bb92cdf89ed5c7

11 years agoMerge "[Prevent] Handle return value."
Grzegorz Krawczyk [Wed, 21 Nov 2012 13:19:39 +0000 (22:19 +0900)]
Merge "[Prevent] Handle return value."

11 years agoMerge "[Prevent] Handle return value."
Grzegorz Krawczyk [Wed, 21 Nov 2012 13:17:51 +0000 (22:17 +0900)]
Merge "[Prevent] Handle return value."

11 years ago[Installer] Removed deprecated code.
Bartlomiej Grzelewski [Mon, 5 Nov 2012 13:23:14 +0000 (14:23 +0100)]
[Installer] Removed deprecated code.

[Issue#]  N/A
[Problem] N/A
[Cause] N/A
[Solution] N/A

[Verification] Successful compilation.

Change-Id: Id7f5815d6ce2344ae10c2187fcd12320c97cb9ae

11 years ago[Prevent] Handle return value.
Jan Olszak [Tue, 20 Nov 2012 07:13:10 +0000 (08:13 +0100)]
[Prevent] Handle return value.

[Issue#] Unhandled return value.
[Bug] N/A
[Cause] N/A
[Solution] Logging on error.
[Verification] Build installer

Change-Id: I402f083cfd1dccc557a671ac621a6c746572ff62

11 years ago[Prevent] Handle return value.
Jan Olszak [Tue, 20 Nov 2012 07:07:08 +0000 (08:07 +0100)]
[Prevent] Handle return value.

[Issue#] Unhandled return value.
[Bug] N/A
[Cause] N/A
[Solution] Logging on error.
[Verification] Build installer

Change-Id: Ic2609d79d9c82039e94a899fccec5539712fe1c9

11 years agoRemoved GetFactoryWidget.
Jan Olszak [Tue, 13 Nov 2012 10:21:55 +0000 (11:21 +0100)]
Removed GetFactoryWidget.

[Issue#] Factory_widget not used anymore.
[Bug] N/A
[Cause] N/A
[Solution] Removed factory_widget and related methods, error codes, exceptions.
[Verification] Build wrt-installer. No undefined symbols = OK

Change-Id: I09a1b4c2a732dd91a3c896ef45688c7cf6efa095

11 years agoExternal file removal fix
Tomasz Iwanek [Wed, 31 Oct 2012 10:25:11 +0000 (11:25 +0100)]
External file removal fix

[Issue#]       N/A
[Bug]          Broken wigdet update in database cause some widget's files may be removed
[Cause]        External files were removed before registeration of new version of widget.
This causes lost of file if file was in previous version (have been removed before registerWidget) but not in current/used by update version of widget.
[Solution]     Fix of database step
[Verification] Check if installer install and uninstall widgets with livebox confiugration. Configuration file should:
-> be present in database after installation.
-> should be removed in uninstallation (and mentioned in logs)
Additonally:
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: I2f365236c0cd1b7ac96fa8fedcc60d542402ac87

11 years ago[Release] wrt-installer_0.0.75
Soyoung Kim [Mon, 19 Nov 2012 11:00:49 +0000 (20:00 +0900)]
[Release] wrt-installer_0.0.75

Change-Id: I79c10fa41d956b649710a2597f0aad89ee2035da

11 years agoupdate drm library for temporary
Soyoung Kim [Mon, 19 Nov 2012 10:29:23 +0000 (19:29 +0900)]
update drm library for temporary

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] update drm library to 0.0.3
[SCMRequest] N/A

Change-Id: Iab7dcdbf4cfb59b59c7d451aa7b190d543416fdf

11 years agoAce database fulfill implemented
Andrzej Surdej [Wed, 17 Oct 2012 16:47:36 +0000 (18:47 +0200)]
Ace database fulfill implemented

[Issue#] LINUXSWAP-211
[Problem] Separation WrtDB and AceDB
[Cause] Security should not use WrtDB. Instead of it AceDB should be used.
[Solution] Implemented filling extended AceDB while widget installation.
[SCMRequest] Commit require security-server change:
http://slp-info.sec.samsung.net/gerrit/#/c/100182/

To verify build repository and check if nothing wrong happend.
Run wrt-tests-w3c and plugins tests widget.
Results should be the same as before.
This commit functionalities can be tested commonly with
http://slp-info.sec.samsung.net/gerrit/#/c/100623/
with the method provided in that commit

Change-Id: Id5cc4791fea3504b5a161cfc55887ab3f112ffec

11 years agoFail to install package
Jihoon Chung [Tue, 6 Nov 2012 01:29:41 +0000 (10:29 +0900)]
Fail to install package

[Issue#] N/A
[Problem] Fail to install package
[Cause] Fail to create link because files are already installed
[Solution] Remove link code in the spec file before create link
[SCMRequest] N/A

Change-Id: Idacc9a83d66aea934583e6cd6d5100cf3a62cb64

11 years ago[Release] wrt-installer_0.0.74
Soyoung Kim [Thu, 15 Nov 2012 07:48:12 +0000 (16:48 +0900)]
[Release] wrt-installer_0.0.74

Change-Id: I5476930e59e170b10a15df63c778552783ffcfd2

11 years agoFixed to set certi infomation
Soyoung Kim [Thu, 15 Nov 2012 07:31:04 +0000 (16:31 +0900)]
Fixed to set certi infomation

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Fixed to set certi information.
[SCMRequest] N/A

Change-Id: Iea569540a1e4d62b9d4209a1cd55f1bee97915af

11 years ago[Installer] Replace SignatureValidator.
Bartlomiej Grzelewski [Wed, 7 Nov 2012 16:03:50 +0000 (17:03 +0100)]
[Installer] Replace SignatureValidator.

SignatureValidator is deprecated. task certify was
chagned to use WrtSigantureValidator.

[Issue#]    N/A
[Problem]   Usage of deprecated code.
[Cause]     N/A
[Solution]  Remove usage of deprecated code.

[Verification] Installation of signed tizen/wac2.0 widgets.

11 years ago[Release] wrt-installer_0.0.73
Jihoon Chung [Wed, 14 Nov 2012 02:24:37 +0000 (11:24 +0900)]
[Release] wrt-installer_0.0.73

Change-Id: I762c727bcd48229522d98d13e479f09aa96ed8c8

11 years agoFail to copy web application icon
Jihoon Chung [Wed, 14 Nov 2012 01:55:42 +0000 (10:55 +0900)]
Fail to copy web application icon

[Issue#] JIRA (#S1-10220)
[Problem] Web applications icons are not visible
[Cause] Path for downloadable web applications icon directory isn't
created
[Solution] Add mkdir icon directory during install packages
[SCMRequest] N/A

Change-Id: I261f145ddc6e47a711c69cbd9db063db3e01a5ab

11 years agoRemoved compilation warnings.
Jan Olszak [Tue, 6 Nov 2012 11:54:02 +0000 (12:54 +0100)]
Removed compilation warnings.

[Issue#] N/A
[Bug] Compilation warnings
[Cause] N/A
[Solution] Removed minor warnings.
[Verification] Build wrt-install.

Change-Id: Iee2f36cfe5652ffde31abb1a9d7320ca2e6d593d

11 years agoFix resource leak in case of error, fix strncpy usage
Przemyslaw Ciezkowski [Tue, 6 Nov 2012 10:58:46 +0000 (11:58 +0100)]
Fix resource leak in case of error, fix strncpy usage

[Issue#] N/A
[Feature] Malloc will not return NULL on linux. Function strncpy is
called not properly.
[Cause] N/A
[Solution] Removed check if malloc was sucessful. Fix strncpy calls.
[Verification] Install any widget.

Change-Id: I3a6967c3a231b71f26b2d421a11d353e3620f400

11 years agoFix resource leak
Przemyslaw Ciezkowski [Mon, 5 Nov 2012 15:55:23 +0000 (16:55 +0100)]
Fix resource leak

[Issue#] LINUXNGWAP-506
[Bug] FILE resource resFp may not be released when encFp is not
properly initialized (fopen error, returning from function).
[Cause] N/A
[Solution] Release resFp right after it is used.
[Verification] Install tizen spec manual test case: TC21, check if
widget file "index.html" is encrypted.

Change-Id: I8a8393df17b7d49b297bf42db2c3c44a758ce2be

11 years agoWidgetHandle removal - part 4.
Tomasz Iwanek [Wed, 24 Oct 2012 12:30:04 +0000 (14:30 +0200)]
WidgetHandle removal - part 4.

[Issue#] N/A
[Feature] Removes widget handle usage from FeatureLogic
[Cause] N/A
[Solution] N/A
[Verification] Install, reinstall, uninstall any widget with some features. Features should be listed in installation log.

Change-Id: I7511a12ac200f22b28cba19560b7d434a683e9c5

11 years agoAdd -ldl to link library libdl.so.
Junfeng Dong [Fri, 9 Nov 2012 11:33:22 +0000 (19:33 +0800)]
Add -ldl to link library libdl.so.

11 years agowrt-installer_0.0.72
Soyoung Kim [Wed, 7 Nov 2012 06:18:58 +0000 (15:18 +0900)]
wrt-installer_0.0.72

11 years agoRemoved drm-trusted package dependency.
Soyoung Kim [Tue, 6 Nov 2012 02:56:26 +0000 (11:56 +0900)]
Removed drm-trusted package dependency.

[Issue#] Fixed build break for drm-trusted.
[Problem] N/A
[Cause] N/A
[Solution] removed drm-trusted package dependency.

11 years ago[Release] wrt-installer_0.0.71
Soyoung Kim [Mon, 5 Nov 2012 07:54:46 +0000 (16:54 +0900)]
[Release] wrt-installer_0.0.71

11 years ago[Installer] Add installation drm file
Soyoung Kim [Mon, 15 Oct 2012 07:28:10 +0000 (16:28 +0900)]
[Installer] Add installation drm file

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add installation drm file
 - installation task fixed because drm file.
 - Parsing config.xml task hold off unzip widget file.
[SCMRequest] This commit should be released with wrt-commons

11 years ago[Installer] Fixed save certification to pkgmgr
Soyoung Kim [Fri, 2 Nov 2012 11:12:42 +0000 (20:12 +0900)]
[Installer] Fixed save certification to pkgmgr

[Issue#]  N/A
[Problem] There is only one certi info in pkgmgr.
[Cause] N/A
[Solution] Fixed logic.

11 years agoRemove unused source
Jihoon Chung [Fri, 2 Nov 2012 11:57:57 +0000 (20:57 +0900)]
Remove unused source

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Remove unused source
[SCMRequest] N/A

Change-Id: If992d86ee2a39f732c433176016b9e22e1069082

11 years ago[Release] wrt-installer_0.0.70
Jihoon Chung [Fri, 2 Nov 2012 03:05:47 +0000 (12:05 +0900)]
[Release] wrt-installer_0.0.70

Change-Id: I6db185797ef78a25cbde7636a201702b5cafed94

11 years agotizen widget configration schema file update
Taejeong Lee [Thu, 1 Nov 2012 07:31:09 +0000 (16:31 +0900)]
tizen widget configration schema file update

 * added below new attributes
   - context-menu
   - background-support

[Issue#] N/A
[Problem] tizen widget configration schema file update
[Cause] N/A
[Solution] N/A
[SCMRequest] N/A

Change-Id: I01d2aa1cb0035f4fe0704ba54e0766e62bccca23

11 years agoFixed xsd data type for configure file
Soyoung Kim [Thu, 1 Nov 2012 07:28:29 +0000 (16:28 +0900)]
Fixed xsd data type for configure file

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] When use appservice element src attibute shouldn't be empty.
So fixed data type to NCName form string.
[SCMRequest] N/A

Change-Id: Iba3cf734450d6a4d387bf246d6ee18828c6e470a

11 years agoWidgetHandle removal - part 3.
Tomasz Iwanek [Tue, 23 Oct 2012 14:18:14 +0000 (16:18 +0200)]
WidgetHandle removal - part 3.

[Issue#]       N/A
[Feature]      Removes widget handle usages: debug, widget info at installtion success etc.
[Cause]        N/A
[Solution]     N/A
[Verification] Install, reinstall, uninstall any widget.
[SCMRequest]   Depends on wrt-commons chanegs:
http://slp-info.sec.samsung.net/gerrit/#/c/105113/

Changes from commons differs only with widget construction from pkgname which is tested in previous commits, so no advanced method of verification is needed.

Change-Id: Ib920c3af09672a8a3dde62a357618083e5a6aa08

11 years agoWidgetHandle removal - part 2. Task order change
Tomasz Iwanek [Wed, 17 Oct 2012 09:26:57 +0000 (11:26 +0200)]
WidgetHandle removal - part 2. Task order change

[Issue#]       N/A
[Feature]      Removing widget handle usage from wrt-installer. Tasks are reordered to task_database be the last one
[Cause]        N/A
[Solution]     N/A
[Verification] Do follwing steps:
1. Install, uninstall, update any widget - use each option, listed in help.
2. Checks database content of WidgetInfo after installling several widgets. Database should contains autoincremented value of WidgetHandle value.
3. Run installed widgets as well after installing and reinstalling.
4. Install just one widget before and after appling change -> make dumps and compare them (echo ".dump" | sqlite3 /opt/dbspace/.wrt.db > dumps/dump.sql).
They should be almost equal - widgethandle value, schema of WidgetInfo, DB hash and sequence creation for WidgetInfo may differs.

[SCMRequest]   This change should be merged same time as following wrt-commons changes (change id given):
-   Ib82cbbf575d88a9ce764652fa65037a7b990340a

Change-Id: I05a81d43a97f2a490d490edf62a5ef874c3477f5

11 years agoRemoved factory_widget field from WidgetExtendedInfo DB table.
Jan Olszak [Mon, 22 Oct 2012 10:30:31 +0000 (12:30 +0200)]
Removed factory_widget field from WidgetExtendedInfo DB table.

[Issue#] Factory_widget not used anymore.
[Bug] KW comments, spelling mistake in table name. Unused factory_widget property.
[Cause] N/A
[Solution] Removed factory_widget and related methods, error codes, exceptions.
[Verification] Build wrt-installer. No undefined symbols = OK

Change-Id: I3114e096e25aa7abf8657227199253f75e5065bf

11 years agoChange profiling build
Przemyslaw Ciezkowski [Fri, 26 Oct 2012 06:31:05 +0000 (08:31 +0200)]
Change profiling build

[Issue#] LINUXNGWAP-444
[Feature] Change build parameters for profiling: -O2 optimization, disable debug symbols generation,
disable logs, disable gprof symbols generation.
[Cause] N/A
[Solution] Changed profiling.
[Verification] Build repository with build_type=profiling. Install a widget,
check if logs are disabled.

Change-Id: I3aff8ab1a4987880f1b1927846cad609194935e1

11 years agoLogs fixed
Krzysztof Jackiewicz [Thu, 25 Oct 2012 17:56:08 +0000 (19:56 +0200)]
Logs fixed

[Issue#] N/A
[Bug] Many logs that informed about errors are not visible
[Problem] N/A
[Cause] They were printed using LogDebug
[Solution] LogDebug changed to LogWarning/Error

[Verification] Successfull compilation. Go through commit changes and see if
modified cases are really errors.

Change-Id: I285487e950a2d2c333cb844c744b79118a13c205

11 years agoFixes for recursive opendir
Janusz Majnert [Wed, 24 Oct 2012 10:56:11 +0000 (12:56 +0200)]
Fixes for recursive opendir

[Issue#] N/A
[Feature] Replacing recursive opendir with safe fts_ functions
[Cause] Recursive opendir may reach limit of open dirs for process
[Solution] Replace with standard fts_* functions for traversing directories
[Verification] Install an encrypted widget and verify that encryption works

Major rewrite to resource encryption functions was done - verify by installing
an encrypted widget and checking that eligible resources are really encrypted.
Minor fixes added, mainly to close directories that are no longer used.

Change-Id: I51e36f225d49cd46b5454c0cf7cbda09d9e7c1c1

11 years agoReplacing recursive opendir with a utility function
Janusz Majnert [Tue, 23 Oct 2012 12:32:29 +0000 (14:32 +0200)]
Replacing recursive opendir with a utility function

[Issue#] N/A
[Feature] Replacing recursive opendir with safer utility function
[Cause] Recursive opendir may reach limit of open dirs for process
[Solution] Replace with a utility function
[Verification] Uninstall widget, verify that installation directory was removed

Installer removes the widget installation directory, which can have multiple
levels of directories. Instead of recursively calling opendir, installer will
now call WrtUtilRemove function that uses safe fts_* functions to traverse the
directory tree.

Change-Id: I3ff7e02b32c76da37785f6d6b793e19bca308ae1