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

12 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.

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

12 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.

12 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

12 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

12 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.

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 years agoUpdate wrt-installer_0.0.69
Soyoung Kim [Thu, 25 Oct 2012 14:59:10 +0000 (23:59 +0900)]
Update wrt-installer_0.0.69

12 years agoFixed invalid certi error at installation step
Soyoung Kim [Thu, 25 Oct 2012 12:58:33 +0000 (21:58 +0900)]
Fixed invalid certi error at installation step

12 years agoFixed to generate manifest file
Soyoung Kim [Thu, 4 Oct 2012 10:21:06 +0000 (19:21 +0900)]
Fixed to generate manifest file

 - Fill application-service uri, mime attributes to manifest.xml when generate a manifest.

12 years agoRevert "Fixed preinstall widget wasn't installed after factory reset"
Soyoung Kim [Fri, 12 Oct 2012 08:04:37 +0000 (17:04 +0900)]
Revert "Fixed preinstall widget wasn't installed after factory reset"

This reverts commit 1356504a38a8866d00b299abe11f9887322089b4.

12 years agoFixed encrypted resource list to db
Soyoung Kim [Fri, 12 Oct 2012 04:49:29 +0000 (13:49 +0900)]
Fixed encrypted resource list to db

- Encrypted resource location is wrong
- Fixed encrypted resource location path during insert db.

12 years agoFixed uninstall command for hybrid webapp
Soyoung Kim [Fri, 12 Oct 2012 07:09:01 +0000 (16:09 +0900)]
Fixed uninstall command for hybrid webapp

- Modify uninstall command oap to tpk for hybrid webapp

12 years agoModify installation command for hybrid webapp.
Soyoung Kim [Tue, 25 Sep 2012 08:34:12 +0000 (17:34 +0900)]
Modify installation command for hybrid webapp.

12 years agoFixed preinstall widget wasn't installed after factory reset
Soyoung Kim [Fri, 28 Sep 2012 05:27:43 +0000 (14:27 +0900)]
Fixed preinstall widget wasn't installed after factory reset

 -  Pluings should need to install after facotry reset.
    But required file(plugin-installation-required) wasn't backuped.
    So widget installtion failed.

12 years agoUpdate wrt-installer_0.0.54 2.0alpha master 2.0_alpha submit/master/20120920.151154
Taejeong Lee [Fri, 31 Aug 2012 12:19:14 +0000 (21:19 +0900)]
Update wrt-installer_0.0.54

12 years agoremove add_to_home_shortcut
Soyoung Kim [Thu, 30 Aug 2012 06:51:39 +0000 (15:51 +0900)]
remove add_to_home_shortcut

12 years agoUpdate wrt-installer_0.0.53
jihoon.chung [Wed, 29 Aug 2012 06:28:27 +0000 (15:28 +0900)]
Update wrt-installer_0.0.53

12 years agoUpdate wrt-installer_0.0.52
jihoon.chung [Thu, 23 Aug 2012 23:29:15 +0000 (08:29 +0900)]
Update wrt-installer_0.0.52

12 years agoUpdate wrt-installer_0.0.51
jihoon.chung [Wed, 22 Aug 2012 14:32:19 +0000 (23:32 +0900)]
Update wrt-installer_0.0.51

12 years agoupload tizen1.0 source
Kim Kibum [Sun, 29 Apr 2012 08:04:34 +0000 (17:04 +0900)]
upload tizen1.0 source

12 years agotizen beta release
Kibum Kim [Mon, 27 Feb 2012 12:16:50 +0000 (21:16 +0900)]
tizen beta release