platform/framework/web/wrt-installer.git
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 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 submit/trunk/20121119.110330
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 submit/trunk/20121115.083259
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 submit/sdk/20121114.113330 submit/trunk/20121114.041430
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. submit/trunk/20121109.162839
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 submit/trunk/20121107.062442
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. submit/trunk/20121106.041856
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 submit/trunk/20121105.084408
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 submit/trunk/20121102.073326
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 submit/trunk/20121026.064251
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 submit/trunk/20121025.133248
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 submit/trunk/20121015.104422
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" submit/trunk/20121012.080906
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 submit/trunk/20121012.073831
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. submit/trunk/20121009.111355
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 submit/trunk/20121009.073739
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 accepted/tizen/20130520.103132 submit/master/20120920.151154 submit/tizen/20130517.020317 tizen_2.0_build
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