framework/web/wrt-commons.git
11 years ago[Release] wrt-commons_0.2.74
Jihoon Chung [Fri, 23 Nov 2012 01:13:40 +0000 (10:13 +0900)]
[Release] wrt-commons_0.2.74

Change-Id: I29b37449b56b3f3c0ce604584e77664d47c72d02

11 years agoImplement security origin dao for allow,deny one time
Jihoon Chung [Fri, 23 Nov 2012 00:20:07 +0000 (09:20 +0900)]
Implement security origin dao for allow,deny one time

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Implement security origin API for supporting permit one time.
This allow and deny result value for one time should be removed
launching time by below API.
* void removeSecurityOriginData(const Result result)
[SCMRequest] N/A

Change-Id: I3a01cb9683f19385627c618ab194855b6b60cd26

11 years agoRemoval of factory_widget attribute and related functions.
Jan Olszak [Thu, 8 Nov 2012 15:23:45 +0000 (16:23 +0100)]
Removal of factory_widget attribute and related functions.

[Issue#] N/A
[Bug] Unused factory_widget property.
[Cause] N/A
[Solution] Removed GetFactoryInstalledWidgetPath()
[Verification] Compile plugins-common

Change-Id: Ib1817cdaf302e9d13d5e55d27d7981e16bdc968f

11 years agoRemoving copy&paste code, part 1
Janusz Majnert [Wed, 21 Nov 2012 12:30:31 +0000 (13:30 +0100)]
Removing copy&paste code, part 1

[Issue#] N/A
[Problem] Duplicated code
[Cause] Copy&paste
[Solution] Extract common code, generalise it
[Verification] Build the package and run all tests

Changes:
- In test_collector:
    - Created a macro for "OK" test result message
    - Moved parsing of "--file" argument to a common function
- In widget dao ro, extracted namespaces from inside the methods to file level
  and removed unnecessary namespace selection in variable declarations
- In popup_renderer, instead of duplicating code for adding 1, 2 or 3 buttons
  to a popup, DoRender(btn1,btn2,btn3) now uses DoRender(btn1,btn2) to add first
  two buttons, which in turn used DoRender(btn1) to add the first button.
- In security_origin_dao, hadResult now calls getResult instead of duplicating
  the same select statement.
- Removed modules/widget_dao/dao/bind_to_dao.h - it wasn't used anywhere and it
  was a copy of modules/event/include/dpl/event/model_bind_to_dao.h

Change-Id: I3fef08333844963b5987125dc36045fa185e4699

11 years ago[Release] wrt-commons_0.2.73
Jihoon Chung [Thu, 22 Nov 2012 11:49:14 +0000 (20:49 +0900)]
[Release] wrt-commons_0.2.73

Change-Id: I40c5c30da75d1ba629f8d79490ee98da836c6c79

11 years agoMerge "Implement security settings in the widgetDAO"
Hoseon LEE [Thu, 22 Nov 2012 11:44:21 +0000 (20:44 +0900)]
Merge "Implement security settings in the widgetDAO"

11 years agoMerge "Implement security origin dao for setting menu"
Hoseon LEE [Thu, 22 Nov 2012 11:44:06 +0000 (20:44 +0900)]
Merge "Implement security origin dao for setting menu"

11 years agoImplement security settings in the widgetDAO
Jihoon Chung [Wed, 21 Nov 2012 08:17:51 +0000 (17:17 +0900)]
Implement security settings in the widgetDAO

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Implement security settings values
security popup usage : This value contorl securit popup when web
application uses API which is needed user permission user
geolication usage : case of web application requests location
information
web notification usage : case of web application shows notification
web database usage : Before create web database in the local data
directory, user should allow permission
filesystem usage : case of web application using file system API,
user should allow permiision

Security settings are read-only property to the web application
process. For keeping read-only property, security settings are
implement in the widget DAO.
[SCMRequest] N/A

Change-Id: Ib31eb778cb541a536ef2a4e8a4a102751925e0cb

11 years agoImplement security origin dao for setting menu
Jihoon Chung [Mon, 19 Nov 2012 04:22:41 +0000 (13:22 +0900)]
Implement security origin dao for setting menu

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] For supporting setting menu, security origin dao is
needed to change API and additional type define
[SCMRequest] N/A

Change-Id: I615c3c56fa1d3bc4a4a564687bddb84afc861774

11 years agoDistinguish between system headers and project headers.
Jan Olszak [Fri, 16 Nov 2012 11:53:14 +0000 (12:53 +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 commons. No warnings from system headers.

Change-Id: Ic8e35696f21da6674abc449e3ed272d07d050019

11 years ago[Release] wrt-commons_0.2.72
Soyoung Kim [Tue, 13 Nov 2012 08:17:31 +0000 (17:17 +0900)]
[Release] wrt-commons_0.2.72

11 years agoChange widget installed path request by app fw
Soyoung Kim [Tue, 13 Nov 2012 05:46:56 +0000 (14:46 +0900)]
Change widget installed path request by app fw

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] widget installed have been changed to /opt/usr/apps from /opt/apps.
[SCMRequest] N/A

Change-Id: I72de92e1c20dcbd64df9be019c82676f6900ca49

11 years ago[Release] wrt-commons_0.2.71
Jihoon Chung [Mon, 12 Nov 2012 08:02:02 +0000 (17:02 +0900)]
[Release] wrt-commons_0.2.71

Change-Id: I800459172d20d474314e3bb86e4f86a3dc540898

11 years agoWrtDAO clean up - unused function with widget handle usage
Tomasz Iwanek [Mon, 29 Oct 2012 12:20:51 +0000 (13:20 +0100)]
WrtDAO clean up - unused function with widget handle usage

[Issue#]       N/A
[Bug]          Unused functions of wrtDAO
[Cause]        N/A
[Solution]     This removes unused methods and add registerWidget method version which generates free tizen id (this is for purpose of rewriting wrt-tests-dao without widget handle)
[Verification] build all repositories, wrt-installer should be still able to install, uninstall widgets. Run: wrt-tests-dao --output=text --regexp='widget_dao_'. Two tests fails. This will be fixed in wrt-extra commit.

Change-Id: Ib0155b240c1776d104fc0e48e5ffaa854468eb97

11 years agoDefault widget locale adding to language tags
Marcin Kaminski [Mon, 5 Nov 2012 16:03:30 +0000 (17:03 +0100)]
Default widget locale adding to language tags

[Issue#] N/A
[Feature] New LanguageTagsProvider API: method that
allows to add widget default locale to current
language tags list
[Cause] Localization related refactoring in WRT
[Solution] N/A

[Verification] Build package. Additional
unit tests will be provided.

Change-Id: Ic3a17a79ba493d1e3e523b352bc1a1f6d67c0889

11 years agohidden symbol for enhancement shared library loading time (orm.h)
Jihoon Chung [Tue, 23 Oct 2012 02:43:13 +0000 (11:43 +0900)]
hidden symbol for enhancement shared library loading time (orm.h)

[Issue#] N/A
[Problem] shared library loading time takes long time
[Cause] Unexpected symbols are exported by shared library
[Solution] Add visibility("hidden") in the class
[SCMRequest] N/A

Change-Id: Id7fa3ddeafd1f01e209aca08537362153c180b03

11 years agoImplement Security origin database
Jihoon Chung [Tue, 9 Oct 2012 01:14:19 +0000 (10:14 +0900)]
Implement Security origin database

[Issue#] N/A
[Problem] Web standard required checking security origin before
using special feature such as Geolocation, Web notification and
file system access. For supporting security origin, this patch
create database for storing security origin information.
[Cause] N/A
[Solution] Implement Security origin database
[SCMRequest] N/A

Change-Id: Iba488dcd3833868639655495b56d7d2cd695b084

12 years ago[Release] wrt-commons_0.2.70
Jihoon Chung [Mon, 5 Nov 2012 08:44:14 +0000 (17:44 +0900)]
[Release] wrt-commons_0.2.70

Change-Id: If47eb8f4cd383fa10e933aa66a83ec7a8c92f034

12 years agoAdditional Include: stddef.h
Grzegorz Krawczyk [Fri, 2 Nov 2012 12:41:34 +0000 (13:41 +0100)]
Additional Include: stddef.h

Due to changes in toolchain it is neccessary to include stddef.h

[Issue#] Possible build break on 5th of November
[Feature] N/A
[Cause] Toolchain change
[Solution] include header
[Verification] Successful compilation

Change-Id: I0e681bf73c94a967d3355ba3063edfd3ba24b4ec

12 years ago[Release] wrt-commons_0.2.69
Soyoung Kim [Mon, 5 Nov 2012 07:50:06 +0000 (16:50 +0900)]
[Release] wrt-commons_0.2.69

12 years ago[Commons] Modify package type
Soyoung Kim [Mon, 15 Oct 2012 07:25:24 +0000 (16:25 +0900)]
[Commons] Modify package type

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Modify package type
[SCMRequest] should be installed with wrt-installer

12 years ago[Release] wrt-commons_0.2.68
Jihoon Chung [Fri, 2 Nov 2012 02:23:24 +0000 (11:23 +0900)]
[Release] wrt-commons_0.2.68

Change-Id: I26e0cf3e4406ce6768065830c1c4d86be15f9947

12 years agoW3c file localization - from pkgname construction
Tomasz Iwanek [Wed, 24 Oct 2012 08:12:21 +0000 (10:12 +0200)]
W3c file localization - from pkgname construction

[Issue#]       N/A
[Feature]      Construction of w3c file localization from pkgname
[Cause]        N/A
[Solution]     N/A
[Verification] Run dpl-tests-*

Change-Id: I9440fde7ef65fd08c53d3d162487e6802d0c0780

12 years agoRemoval of compilation warnings.
Jan Olszak [Fri, 26 Oct 2012 08:37:54 +0000 (10:37 +0200)]
Removal of compilation warnings.

[Issue#] N/A
[Bug] Compilation warnings
[Cause] N/A
[Solution] Removed KW comments, renamed table from SettignsList to SettingsList, removed factory_widget and related methods, error codes, exceptions.
[Verification] See compilation warnings. Build wrt-commons. Test dao and dpl.

Change-Id: Ia6d5eaec165b7c5cc57e68ee0b75cc07c996ed58

12 years agoWrtDAO - getPkgnameList
Tomasz Iwanek [Tue, 23 Oct 2012 14:46:02 +0000 (16:46 +0200)]
WrtDAO - getPkgnameList

[Issue#]       N/A
[Feature]      Listing of installed pkgnames
[Cause]        N/A
[Solution]     N/A
[Verification] Build & run dpl-tests-db

Change-Id: I8dd15f77e6bcbd7fce268404dfbd50694506c872

12 years agoWidgetDAO from WidgetHandle construction depracated. Update method for widget in...
Tomasz Iwanek [Tue, 16 Oct 2012 16:28:07 +0000 (18:28 +0200)]
WidgetDAO from WidgetHandle construction depracated. Update method for widget in one transaction

[Issue#]       N/A
[Feature]      This change allows construction of widgetDAO only from GUID on pkgname
[Cause]        Widgethandle is going to be removed from other repositories
[Solution]     N/A
[Verification] Build wrt-commons. Run dpl tests.
[SCMRequest]   Should be introduced with wrt-installer change id: I05a81d43a97f2a490d490edf62a5ef874c3477f5

Methods marked as deprecated should be removed soon after wrt-installer changes.

Change-Id: Ib82cbbf575d88a9ce764652fa65037a7b990340a

12 years agoCode refactoring and removal of factory_widget attribute.
Jan Olszak [Mon, 22 Oct 2012 08:25:56 +0000 (10:25 +0200)]
Code refactoring and removal of factory_widget attribute.

[Issue#] N/A
[Bug] KW comments, spelling mistake in table name. Unused factory_widget property.
[Cause] N/A
[Solution] Removed KW comments, renamed table from SettignsList to SettingsList, removed factory_widget and related methods, error codes, exceptions.
[Verification]  1. Verification of renaming SettingsList - build wrt-extra with no errors.
  2. Verification of factory_widget - build and run DAO tests.

Change-Id: I1b8bfba88cf494e1131dec9da26a7ba6270b6e69

12 years agoFix for localization URI ended with '/'
Marcin Kaminski [Fri, 26 Oct 2012 09:00:37 +0000 (11:00 +0200)]
Fix for localization URI ended with '/'

After moving start file localization to
WebProcess function receives URI ended with
'/' what causes localization failures.

[Issue#] N/A
[Problem] Unexpected '/' at the end of URIs
[Cause] N/A
[Solution] Additional check and character
removal (if needed)

[Verification] Build & install package.
Run widget and check if URIs are localized
properly.

Change-Id: I925dd1a10d83ba1d8d42d7bd84096e77f435a798

12 years agoRemoving unused WtrUtilStringToLower
Janusz Majnert [Thu, 25 Oct 2012 15:51:36 +0000 (17:51 +0200)]
Removing unused WtrUtilStringToLower

[Issue#] N/A
[Feature] WrtUtilStringToLower is not used anywhere
[Cause] WrtUtilStringToLower is not used anywhere
[Solution] Remove the function
[Verification] Build all repositories

Change-Id: Ie1a20d347102ba2600e19e487815961c08007917

12 years agoChange profiling build
Przemyslaw Ciezkowski [Thu, 25 Oct 2012 14:26:41 +0000 (16:26 +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 and fixed profiling.
[Verification] Build repository with build_type=profiling. Run any widget,
check if wrt-commons logs are disabled.

Change-Id: I1ccd931589844bebe99205643c624a3a83848f4e

12 years agoUpdate wrt-commons_0.2.67
Soyoung Kim [Thu, 25 Oct 2012 10:14:06 +0000 (19:14 +0900)]
Update wrt-commons_0.2.67

12 years agoUpdate User Agent String 2.0alpha master 2.0_alpha submit/master/20120920.151154
Taejeong Lee [Fri, 14 Sep 2012 04:50:12 +0000 (13:50 +0900)]
Update User Agent String

12 years agoUpdate wrt-commons_0.2.54
jihoon.chung [Wed, 29 Aug 2012 06:24:06 +0000 (15:24 +0900)]
Update wrt-commons_0.2.54

12 years agoUpdate wrt-commons_0.2.53
jihoon.chung [Wed, 22 Aug 2012 14:26:12 +0000 (23:26 +0900)]
Update wrt-commons_0.2.53

12 years agoupload tizen1.0 source
Kim Kibum [Sun, 29 Apr 2012 08:04:33 +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