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

11 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

11 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

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

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

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

11 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

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

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

11 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

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

11 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

11 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

11 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