framework/web/wrt-commons.git
11 years agoAdd preload webapp
Soyoung Kim [Fri, 19 Apr 2013 15:19:32 +0000 (00:19 +0900)]
Add preload webapp

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] modify path of preload webapp.
Add to print standard error for prelaod.
[SCMRequest] This package should release with wrt-installer.

11 years ago[Release] wrt-commons_0.2.110
Jihoon Chung [Fri, 19 Apr 2013 03:07:02 +0000 (12:07 +0900)]
[Release] wrt-commons_0.2.110

Change-Id: Ib0513be5b371eb723f4317a55145d736a253d844

11 years agoClean-up pkgname
Jihoon Chung [Fri, 19 Apr 2013 05:35:44 +0000 (14:35 +0900)]
Clean-up pkgname

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Some code naming is pkgname even using for app id.
Replace pkgname to application id.
[SCMRequest] N/A

Change-Id: I167ca38deb2c8c2209aece7b7260b65695250a78

11 years agoCustom handlers' db moved to user space.
Lukasz Marek [Wed, 17 Apr 2013 12:37:57 +0000 (14:37 +0200)]
Custom handlers' db moved to user space.

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Custom handlers' db moved to user space.
[SCMRequest] N/A

[Verification]
1. Build and install repository
2. Delete old db (rm /usr/dbspace/.wrt_custom_handlers*)
3. Apply commit to wrt-extra http://slp-info.sec.samsung.net/gerrit/#/c/184465/
4. Install and run widget manual_tests/wrt_test_widgets/custom_handlers/custom_handlers.wgt
5. Register handlers for content and scheme (inside widget)
6. Open db /opt/usr/dbspace/.wrt_custom_handlers and check if new records apeared in tables.

Change-Id: I07ce20f03846c3b82fff300810ac9ade99131cee

11 years agoBugfix https://tizendev.org/bugs/browse/TDIS-4756
Zbigniew Kostrzewa [Wed, 17 Apr 2013 05:54:23 +0000 (07:54 +0200)]
Bugfix https://tizendev.org/bugs/browse/TDIS-4756

[Issue#] N/A
[Problem] Conversion of IRI encoded in Unicode to ASCII failed
on some platforms but on others succeeded.
[Cause] Due to char type being treated as signed on some platforms and
unsigned on others.
[Solution] The code that causes the issue is not used so it has been
removed.
[SCMRequest] N/A

[Verification]
1. Build respository.
2. Run `wrt-extra-tests-w3c-widget-policy --output=text
--regexp='load_image_using_toASCII'`

Change-Id: Ie56e2b6a3b673617350836d688032c63c0b9c0b1

11 years agoMerge "Revert "URL localization fix""
Hoseon LEE [Thu, 18 Apr 2013 04:42:05 +0000 (13:42 +0900)]
Merge "Revert "URL localization fix""

11 years agoRevert "URL localization fix"
Taejeong Lee [Thu, 18 Apr 2013 03:00:32 +0000 (12:00 +0900)]
Revert "URL localization fix"

This reverts commit 2a6f2567fdab7242af18f3492c0ca7d2602f305e.

[Issue#] N/A
[Problem] URL arguments are not transmitted to webkit.
[Cause] Side effect of "URL localization fix"
[Solution] This is critical issue. The commit was reverted.

Change-Id: I8e185480b442433e7be8e2a35e5b7a2c402ab0a2

11 years ago[Release] wrt-commons_0.2.109
Jihoon Chung [Mon, 15 Apr 2013 14:09:00 +0000 (23:09 +0900)]
[Release] wrt-commons_0.2.109

Change-Id: I0aa5183c38265ec2529a1ae8f993366115facc5a

11 years agoFix discovering dukgenerator and cryptsvc modules.
Zbigniew Kostrzewa [Fri, 12 Apr 2013 12:53:09 +0000 (14:53 +0200)]
Fix discovering dukgenerator and cryptsvc modules.

[Issue#] N/A
[Problem] References to libraries from modules dukgenerator and cryptsvc
are hardcoded in this repository's build scripts.
[Cause] N/A
[Solution] Discover library names from dukgenerator and cryptsvc *.pc
files.
[SCMRequest] N/A

[Verification]
1. Build respository.
2. Run `wrt-extra-tests-tizen --output=text --regexp='^TC(4|21|22)$'`.

Change-Id: I4a07f237e8ecf53b8f2cb89d294cfff7b8fe9556

11 years agoMake getPkgName() return package name instead of full application id.
Zbigniew Kostrzewa [Fri, 12 Apr 2013 12:39:04 +0000 (14:39 +0200)]
Make getPkgName() return package name instead of full application id.

[Issue#] N/A
[Problem] WidgetDAOReadOnly::getPkgName() returns full id of the widget
instead of only its package name.
[Cause] N/A
[Solution] Return only package name from getPkgName().
[SCMRequest] N/A

[Verification]
1. Build respository.
2. Run `wrt-commons-tests-dao --output=text`.

Change-Id: I9f7ca02c255081e57f05e40b79cf7fd93968f647

11 years agoRemove auto_save dao
Jihoon Chung [Sat, 13 Apr 2013 08:12:31 +0000 (17:12 +0900)]
Remove auto_save dao

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Remove auto_save dao
[SCMRequest] N/A

Change-Id: I16f7975f2be48f38be628c4c44e13bef6cecc862

11 years ago[Release] wrt-commons_0.2.108
Jihoon Chung [Fri, 12 Apr 2013 09:04:46 +0000 (18:04 +0900)]
[Release] wrt-commons_0.2.108

Change-Id: I6257bdc3d4bca92fd05920df52f841a6149c9919

11 years agoRemove debian directory
Jihoon Chung [Fri, 12 Apr 2013 09:03:31 +0000 (18:03 +0900)]
Remove debian directory

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Remove debian directory
[SCMRequest] N/A

Change-Id: I61097e31468d2b913ea050fa05ccb0198a5f0709

11 years agoDisposition attribute in AppControlInfo
Lukasz Marek [Wed, 13 Mar 2013 14:28:05 +0000 (15:28 +0100)]
Disposition attribute in AppControlInfo

[Issue#] N/A
[Problem] N/A
[Cause] Disposition attribute is only supported in ServiceInfo, but not in AppControlInfo
[Solution] Disposition attribute added to AppControlInfo

Change-Id: Ie2978be6a500bf536ea9b30eb3a289216e160d69

11 years agoURL localization fix
Tomasz Iwanek [Fri, 5 Apr 2013 09:22:18 +0000 (11:22 +0200)]
URL localization fix

[Issue#]       N/A
[Bug]          webkit callbacks returns URL with query and fragment identifier for app:// scheme. It should be skipped for file resolution
[Cause]        N/A
[Solution]     Skipped part of URL
[Verification] Run widget that uses link with query part and fragment part. Sub page should be loaded. Use wrt with app:// scheme ENABLED

You may use: porucznik:../t.iwanek/testAV2.wgt. Buttons should have round boundings. Css and js resources should be localized properly.

Change-Id: I5253a3cea398cbd671a43c91fa55417185da4290

11 years agoBuild break in tests after "clean-up unused feature data".
Zbigniew Kostrzewa [Mon, 8 Apr 2013 12:16:02 +0000 (14:16 +0200)]
Build break in tests after "clean-up unused feature data".

[Issue#] N/A
[Problem] Build break in tests.
[Cause] Changes in feature data.
[Solution] Fix tests.
[SCMRequest] N/A

[Verification]
1. Build respository (with tests!).
2. Run all wrt-commons-tests-*.
3. All tests should pass.

Change-Id: I65c4c0a8f21999431b3fe8cc60fe2b690a712f4f

11 years agoDPL Path fix
Tomasz Iwanek [Thu, 4 Apr 2013 06:58:01 +0000 (08:58 +0200)]
DPL Path fix

[Issue#] LINUXWRT-149
[Feature] new method for Path class
[Cause] N/A
[Solution] N/A
[Verification] Run tests: wrt-commons-tests-utils --output=text --regexp='path'

Change-Id: I1f65a1d3f324b5b8ce0d217e511f320337e0866b

11 years agoClean-up unused feature data
Jihoon Chung [Sat, 23 Mar 2013 07:27:01 +0000 (16:27 +0900)]
Clean-up unused feature data

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Current WRT uses Privilege instead of Feature
As this changes, "param" isn't used in the source code.
Deprecated :
ConfigParserData::Param
required field in the feature data struct
unused function (getResourceAttribute, getFeatureParams)
unused typedef (WidgetParamMap, WidgetParamKey, WidgetParamValue)
remove Test case
[SCMRequest] N/A

Change-Id: I9eeb80844bf55af31c3c4417b5a1124714aa0a82

11 years agoRevert "app:// to widget:// scheme for localization"
Tomasz Iwanek [Wed, 27 Mar 2013 09:09:29 +0000 (10:09 +0100)]
Revert "app:// to widget:// scheme for localization"

[Issue#]       N/A
[Bug/Feature]  Revert
[Cause]        Revert
[Solution]     Revert
[Verification] Build.

This reverts commit 03a445aa9d60d65135b403343548cb666a323fe9.

11 years agoapp:// to widget:// scheme for localization
Tomasz Iwanek [Mon, 25 Mar 2013 12:24:55 +0000 (13:24 +0100)]
app:// to widget:// scheme for localization

[Issue#]       N/A
[Feature]      App to widget scheme transition
[Cause]        N/A
[Solution]     N/A
[Verification] Build repository.

Change-Id: Ie3162f060952ceb48d6d9a61aebb29eab931f6f7

11 years agoBug fix for getPrivateLocalStoragePath() api.
Taejeong Lee [Tue, 26 Mar 2013 05:26:08 +0000 (14:26 +0900)]
Bug fix for getPrivateLocalStoragePath() api.

[Issue#] N/A
[Problem] It refered to incorrect value, TizenAppId.
[Cause] N/A
[Solution] Changed to refer to TizenPkgId.

Change-Id: Ib250247022c2933e2c678fe6e2858ea0fff584d6

11 years agoCompilation Warnings
Karol Pawlowski [Fri, 15 Mar 2013 16:34:48 +0000 (17:34 +0100)]
Compilation Warnings

[Issue#]       N/A
[Bug]          Compilation warnings
[Cause]        N/A
[Solution]     Remove them
[Verification] Check buildbot status

Change-Id: Iebaf2b8cf9cb2ec261b188a572728385a5dc286d

11 years agoMerge "Added unistd.h for GCC 4.7 compatibility."
Anas Nashif [Fri, 22 Mar 2013 14:44:26 +0000 (23:44 +0900)]
Merge "Added unistd.h for GCC 4.7 compatibility."

11 years agoSmack labels for databases are restored after database removal
Krzysztof Jackiewicz [Mon, 11 Mar 2013 14:00:06 +0000 (15:00 +0100)]
Smack labels for databases are restored after database removal

[Issue#] N/A
[Feature/Bug] N/A
[Problem] After calling wrt_reset_all.sh wrt database labels are reset to "_"
[Cause] Db files are removed and created with default label
[Solution] Old label is stored and applied to newly created files

[Verification]
1.Check /opt/dbspace/.wrt.db* labels with chsmack [filename]. It should be
"wrt-commons::db_wrt"
2.Run wrt_reset_all.sh. Check labels again. They should be the same.

Change-Id: I885638d482c921fadea0a74d773ce8a548387483

11 years ago[Release] wrt-commons_0.2.107
leerang song [Thu, 21 Mar 2013 01:58:45 +0000 (10:58 +0900)]
[Release] wrt-commons_0.2.107

Change-Id: Ida34aa7af228983f502ceb69d846821548b6746c

11 years agoAdded unistd.h for GCC 4.7 compatibility.
junfeng [Tue, 19 Mar 2013 04:44:58 +0000 (12:44 +0800)]
Added unistd.h for GCC 4.7 compatibility.

Change-Id: I181312dfcc6f8375bc85c26fa63bca29aaa716c8

11 years agoAdd Account parser.
Soyoung Kim [Tue, 19 Mar 2013 05:26:02 +0000 (14:26 +0900)]
Add Account parser.

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] add account parser.
[SCMRequest] this package should release with wrt-installer.

11 years agoGet plivilege feature for auto W3C fullsceen mode
leerang song [Wed, 13 Mar 2013 09:34:42 +0000 (18:34 +0900)]
Get plivilege feature for auto W3C fullsceen mode

[Issue#] TDIS-4313
[Problem] WebApp doesn't display with full screen
[Cause] N/A
[Solution] Set fullscreen mode API
[SCMRequest] N/A

Change-Id: Ib00cae61a8611676fd313c36191924af8130ea9c

11 years ago[Release] wrt-commons_0.2.106
Yunchan Cho [Mon, 18 Mar 2013 06:35:17 +0000 (15:35 +0900)]
[Release] wrt-commons_0.2.106

Change-Id: I0d92fee91d7bb08d3d1afe0a23eaec4415b8328f

11 years agoAdd one field for new attribute 'touch-effect' of <tizen:box-content>
Yunchan Cho [Sun, 17 Mar 2013 09:54:59 +0000 (18:54 +0900)]
Add one field for new attribute 'touch-effect' of <tizen:box-content>

[Issue#] N/A
[Problem] wrt installer can't save specific attribute for touch-effect.
[Cause] There was no field to save parsed touch-effect of <tizen:box-content>
[Solution] One field for touch-effect is added to ConfigParser structure

Change-Id: If90118ae6f5e1e96f31b3a96c152900a37ecae5c

11 years ago[Release] wrt-commons_0.2.105
Jihoon Chung [Thu, 14 Mar 2013 04:18:24 +0000 (13:18 +0900)]
[Release] wrt-commons_0.2.105

Change-Id: I35fcdee1b913d9a97ac80456cf924cb42bcee2b2

11 years agoImplement privilege for usermedia permission
Jihoon Chung [Tue, 12 Mar 2013 23:58:25 +0000 (08:58 +0900)]
Implement privilege for usermedia permission

[Issue#] TDIS-4324
[Problem] N/A
[Cause] N/A
[Solution] Implement privilege for usermedia permission popup
If web application define privilege for usermedia permission,
"http://tizen.org/privilege/mediacapture", web application is possible
to use usermedia without user permission
[SCMRequest] N/A

Change-Id: I074f19c90c4b719c31de8c3cc40272c78f187b2e

11 years agoapp uri passing by localization
Tomasz Iwanek [Mon, 4 Mar 2013 10:16:11 +0000 (11:16 +0100)]
app uri passing by localization

[Issue#]       LINUXWRT-149
[Feature]      app uri handling in localization
[Cause]        N/A
[Solution]     N/A
[Verification] No regression in working. No logical difference. Check widgets from w3c which uses locales dir (run them) or just check any widget (up to you)

Change-Id: I8d149c0c57fac6aa780191d503739ede4b685817

11 years agoUpdate unmerged source code
Jihoon Chung [Thu, 14 Mar 2013 01:23:23 +0000 (10:23 +0900)]
Update unmerged source code

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Update unmerged source code
[SCMRequest] N/A

Change-Id: I2aaaabb7eafff04f2dcf5adb050e4e5a6229b36b

11 years ago[Release] wrt-commons_0.2.104
Soyoung Kim [Mon, 11 Mar 2013 10:47:46 +0000 (19:47 +0900)]
[Release] wrt-commons_0.2.104

11 years agoRevert "Add encrypt/decrypt API from trust zone"
Soyoung Kim [Mon, 11 Mar 2013 10:26:55 +0000 (19:26 +0900)]
Revert "Add encrypt/decrypt API from trust zone"

This reverts commit 389e38f8c7060bb4d219818fa212970e85b39f72.

11 years ago[Release] wrt-commons_0.2.103
Jihoon Chung [Fri, 8 Mar 2013 08:21:57 +0000 (17:21 +0900)]
[Release] wrt-commons_0.2.103

Change-Id: Icdea57cde74737de76f9848353d161f28171c4e8

11 years agoAdd encrypt/decrypt API from trust zone
Soyoung Kim [Tue, 5 Mar 2013 06:35:59 +0000 (15:35 +0900)]
Add encrypt/decrypt API from trust zone

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add API for encryption/decryption from trust zone.
[SCMRequest] N/A

11 years agoImplement certificate confirm popup
leerang song [Tue, 26 Feb 2013 11:56:52 +0000 (20:56 +0900)]
Implement certificate confirm popup

[Issue#] N/A
[Problem] Can't storage certificate info
[Cause] Not exist certificate db
[Solution] Add certificate db
[SCMRequest] N/A

Change-Id: I698485f3945deeade8de82d21b88061767275c67

11 years agoPath class for DPL + tests
Tomasz Iwanek [Mon, 25 Feb 2013 15:36:11 +0000 (16:36 +0100)]
Path class for DPL + tests

[Issue#]       LINUXWRT-86
[Feature]      There is no utility for encapsulate paths
[Cause]        Path is constructed manually
[Solution]     Path abstarction
[Verification] Build repository. Run:
   wrt-commons-tests-utils --output=text --regexp='path_'

Change-Id: Iede9100de7a3c94e7f45256d94599c4114281c04

11 years agoReplaced VARCHAR with TEXT in databases.
Grzegorz Rynkowski [Fri, 1 Mar 2013 16:12:58 +0000 (17:12 +0100)]
Replaced VARCHAR with TEXT in databases.

[Issue#] LINUXWRT-71

[Problem] CREATE TABLE statement could be misleading - string fields are
falsely limited.

[Cause] SQLite ignore numeric arguments in parentheses of data types
(ex. VARCHAR(256), VARCHAR(8) is TEXT).

[Solution] If length of string fields are not specified, replace VARCHAR(x) to TEXT.

[Verification] Build wrt-commons, other rpms depending on
wrt-common, run tests and compare results before and after this patch.

Change-Id: I1abbea070fef250b456ac45b299cba3f2691464b

11 years agoUpdate tizen version to 2.1
Soyoung Kim [Tue, 5 Mar 2013 00:07:12 +0000 (09:07 +0900)]
Update tizen version to 2.1

[Issue#] N_SE-26985
[Problem] can't install widget has 2.0 version.
[Cause] wrong tizen version.
[Solution] update version.
[SCMRequest] N/A

Change-Id: I4ef626b8b495509a9ad34ec06ab561cb4846dab9

11 years ago[Release] wrt-commons_0.2.102
Jihoon Chung [Thu, 7 Mar 2013 00:06:24 +0000 (09:06 +0900)]
[Release] wrt-commons_0.2.102

Change-Id: Iac7679b500f150626643675743da6147dd7ef8e6

11 years agoRemove web storage & filesystem usage code
Jihoon Chung [Wed, 6 Mar 2013 07:43:26 +0000 (16:43 +0900)]
Remove web storage & filesystem usage code

[Issue#] N/A
[Problem] N/A
[Cause] Webkit deprecate API for web storage and filesystem usage
[Solution] Clean-up code for web storage and filesystem usage
[SCMRequest] must be imported with wrt-setting, wrt-installer

Change-Id: I23e55abcfc80dd499dd65e0777104e9f107f145f

11 years agotests - Return value not used
Tomasz Iwanek [Wed, 6 Mar 2013 10:43:59 +0000 (11:43 +0100)]
tests - Return value not used

[Issue#]       N/A
[Bug]          return valeu not used
[Cause]        N/A
[Solution]     N/A
[Verification] Build repo or check buildbot

Change-Id: I2d4b38ef966c62e7314ca374e8cdd1775ede350b

11 years agoFix App-control Supports
Taejeong Lee [Wed, 6 Mar 2013 07:02:21 +0000 (16:02 +0900)]
Fix App-control Supports

 * wrt-commons : Registration routine was added.

[Issue#]   N/A
[Bug]      Tizen app-control service doesn't works peroperly on wrt.
[Cause]    App-control info DB registeration routine was omitted.
[Solution] Registration routine was added.

Change-Id: Idd0202f4664a0c4fc952a30526e716986a348b17

11 years agoMerge "DPL path join for class Path to be introduced"
Zbigniew Kostrzewa [Wed, 6 Mar 2013 10:33:59 +0000 (19:33 +0900)]
Merge "DPL path join for class Path to be introduced"

11 years ago[Release] wrt-commons_0.2.101
Jihoon Chung [Wed, 6 Mar 2013 10:24:01 +0000 (19:24 +0900)]
[Release] wrt-commons_0.2.101

Change-Id: Ic69a1fe6b6950f786d6963ccbada3cf94de590db

11 years agoDPL path join for class Path to be introduced
Tomasz Iwanek [Mon, 25 Feb 2013 15:36:11 +0000 (16:36 +0100)]
DPL path join for class Path to be introduced

[Issue#]       LINUXWRT-86
[Feature]      Utilities before introducing class Path to utils DPL module
[Cause]        N/A
[Solution]     N/A
[Verification] Build repository with tests. Run:
   wrt-commons-tests-core --output=text --regexp='String_Join'     #join implementation for joining paths
   wrt-commons-tests-core --output=text --regexp='ScopedDir_Basic' #scoped dir for to simplify tests

Change-Id: Ie7c3a4fad47cc7aa029a1ead15770b0d9f4b8a2c

11 years agoCSP report only support
Andrzej Surdej [Wed, 27 Feb 2013 13:28:31 +0000 (14:28 +0100)]
CSP report only support

[Issue#] N/A
[Problem] csp report only tag is not supported by wrt database
[Cause] N/A
[Solution] Added place for csp-report-only policy
[Verification] Build repo.

Change-Id: I61a5967964631d85d729114e544d345da74e785f

11 years ago[Release] wrt-commons_0.2.100
leerang song [Thu, 28 Feb 2013 04:01:21 +0000 (13:01 +0900)]
[Release] wrt-commons_0.2.100

Change-Id: I0c561f28e1466041702fde5b65bd17d64ad83a6e

11 years agoPrepare database for additional appservice parameter
Andrzej Surdej [Thu, 21 Feb 2013 10:33:43 +0000 (11:33 +0100)]
Prepare database for additional appservice parameter

[Issue#] LINUXWRT-58
[Problem] N/A
[Cause] N/A
[Solution] N/A
[Verification] To verify build repo.

Change-Id: I1efe3251c6df8de11959b0a7503622e05aea94c2

11 years agoEnable DPL::Localization tests
Tomasz Iwanek [Tue, 19 Feb 2013 13:42:24 +0000 (14:42 +0100)]
Enable DPL::Localization tests

[Issue#]       LINUXWRT-132
[Bug]          Localization mockup were broken
[Cause]        N/A
[Solution]     Remvoe mockups, make fake db as in dao tests
[Verification] Run:
  dpl-tests-loc --output=text
  dpl-tests-core --output=text --regexp='StaticBlockInitCheck'

Change-Id: I8986e3138a87440bd3d544c753deaa5066f37754

11 years agoFix warnings shown by cppcheck for wrt-commons
Grzegorz Rynkowski [Wed, 20 Feb 2013 14:31:15 +0000 (15:31 +0100)]
Fix warnings shown by cppcheck for wrt-commons

[Issue#] LINUXWRT-126
[Problem] Cppcheck appears some warnings for wrt-commons.
[Cause] Incorrect code.

[Solution] Make some changes(not 3rdparty).

[Verification] Run cppcheck on wrt-plugins-common (with
--suppress=incorrectStringBooleanError) or check cppcheck.txt generated by build
bot (ignore warnigs like "A boolean comparison with the string literal ...
is always true"). Ignore warnings about 3rdparty.

Change-Id: I150192e3f096307bf1a4a4cc2a12f6cf0c787d11

11 years ago[Release] wrt-commons_0.2.99
leerang song [Fri, 22 Feb 2013 05:56:58 +0000 (14:56 +0900)]
[Release] wrt-commons_0.2.99

11 years agoUnused fields in WidgetRegisterInfo
Tomasz Iwanek [Mon, 11 Feb 2013 13:02:27 +0000 (14:02 +0100)]
Unused fields in WidgetRegisterInfo

[Issue#]       LINUXWRT-72
[Bug]          Unused fields
[Cause]        N/A
[Solution]     Remveo them
[Verification] Build repository wrt-commons,wrt-installer for BOTH enviroments

Change-Id: I848fdeeedbfc33c89f7c5346e9bf6e69d05d26a4

11 years agoImplement tizen privilege for w3c API
Jihoon Chung [Sat, 12 Jan 2013 08:25:26 +0000 (17:25 +0900)]
Implement tizen privilege for w3c API

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Implement tizen privilege for W3C API.
If web application contains "http://tizen.org/privilege/geolocation"
with tizen:privilege tag, web application uses geolocation without
security warning popup. In this case, only local origin is allowed to use.

Even this information is showed in the setting menu(Advanced settings->
Exceptions settings), user cannot delete it.(This list will display
by read-only property)
[SCMRequest] N/A

Change-Id: Id67e98e34da98a2639d8328255051347c4525f4c

11 years agoRenaming tests binaries
Karol Pawlowski [Mon, 18 Feb 2013 10:44:53 +0000 (11:44 +0100)]
Renaming tests binaries

[Issue#]        LINUXWRT-130
[Problem]       Tests binaries should be named <reponame>-tests-<name>
[Cause]         N/A
[Solution]      N/A
[Verification]  Build wrt-commons repository

Change-Id: I09e8be4b79dda7fe03818aeb869af3fb6fa73d74

11 years agoFixed buildrequires dukgenerator to dukgenerator-devel
Soyoung Kim [Mon, 18 Feb 2013 08:00:18 +0000 (17:00 +0900)]
Fixed buildrequires dukgenerator to dukgenerator-devel

[Issue#] N/A
[Problem] occur build break
[Cause] because dukgen.h move to dukgenerator-devel
[Solution] fixed spec file.
[SCMRequest] N/A

11 years agoModify to get encryption key requested by osp security team
Soyoung Kim [Tue, 5 Feb 2013 04:11:42 +0000 (13:11 +0900)]
Modify to get encryption key requested by osp security team

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] fixed to get device unique key from libcal to libcryptsvc.
requested by osp security team
[SCMRequest] N/A

Change-Id: I05270eaf8a78796ff59770005dba4f932ea453f0

11 years agoLocalization tests move
Karol Pawlowski [Thu, 14 Feb 2013 11:22:23 +0000 (12:22 +0100)]
Localization tests move

[Issue#] LINUXWRT-102
[Problem] Localization tests should be in wrt-commons, no wrt-extra
[Cause] N/A
[Solution] N/A
[Verification] Build wrt-commons repository

Change-Id: Id45acc35305b41c49aca69840ecefe81ff441972

11 years agoCompilation Warnings - Part 3
Tomasz Iwanek [Mon, 11 Feb 2013 11:08:54 +0000 (12:08 +0100)]
Compilation Warnings - Part 3

[Issue#]       LINUXWRT-6
[Bug]          Compilation warnings
[Cause]        N/A
[Solution]     Remove them
[Verification] Check buildbot status

Change-Id: I596584b28b346eb871e9cec1861888eecbfee097

11 years ago[Release] wrt-commons_0.2.98
Soyoung Kim [Fri, 8 Feb 2013 09:19:58 +0000 (18:19 +0900)]
[Release] wrt-commons_0.2.98

Change-Id: I28152abd536c38a75250e1c55d56e829b4faff9c

11 years agoDPL testcase description moved from wrt-extra
Tomasz Iwanek [Mon, 11 Feb 2013 14:54:35 +0000 (15:54 +0100)]
DPL testcase description moved from wrt-extra

[Issue#]       N/A
[Bug]          Test description was not moved to wrt-commons
[Cause]        N/A
[Solution]     Moving it from wrt-extra history
[Verification] Build repository

Change-Id: I6c0e8ef022bc9cc277a49998e7c00b8f189a9761

11 years agoRevert "Unused fields in WidgetRegisterInfo"
Zbigniew Kostrzewa [Wed, 13 Feb 2013 09:03:26 +0000 (10:03 +0100)]
Revert "Unused fields in WidgetRegisterInfo"

This reverts commit 19e65d3fdcde442f24e99d4df014d9ccb1bcb74e.

11 years agoUnused fields in WidgetRegisterInfo
Tomasz Iwanek [Mon, 11 Feb 2013 13:02:27 +0000 (14:02 +0100)]
Unused fields in WidgetRegisterInfo

[Issue#]       LINUXWRT-72
[Bug]          Unused fields
[Cause]        N/A
[Solution]     Remveo them
[Verification] Build repository wrt-commons,wrt-installer

Change-Id: I7b519f6f24c2106d9b397410bd0d94fd0b8def07

11 years agoFix to test framework.
Bartlomiej Grzelewski [Wed, 6 Feb 2013 14:50:49 +0000 (15:50 +0100)]
Fix to test framework.

Add option allowChildLogs in test framework.
Adopt method name to DPL convention.
Change SIGINT to SIGKILL in RUNNER_CHILD framework.

[Issue#]  N/A
[Cause]   Child process closes 1 and 2 descriptor after fork.
[Soution] Add allowChildLogs option.
[Problem] Logs from child process was not printed on screen.

[Verification] Successful compilation.

Change-Id: I97d18f94c751d14119efe02f7b84c3c142ab31d1

11 years agoCompilation warnings. Part 2
Tomasz Iwanek [Thu, 7 Feb 2013 10:23:01 +0000 (11:23 +0100)]
Compilation warnings. Part 2

[Issue#]       LINUXWRT-6
[Bug]          Compilation warnings
[Cause]        N/A
[Solution]     Remvoe them
[Verification] Build repository

Change-Id: I9bf7f3262672e3367a0a57b03dc793a3672124ba

11 years agoSource code formating unification
Pawel Sikorski [Wed, 6 Feb 2013 12:53:31 +0000 (13:53 +0100)]
Source code formating unification

[Issue#] N/A
[Problem] Source code was not formatted to any rules. In this situation
creating new patches or making review may become uncomfortable.
[Cause] No formatting rules/tool used.
[Solution] To make implementation and review process more comfortable,
whole commons repository source code has been formatted with uncrustify tool.
The configuration of the tool is located in the repository (./uncrustify.cfg).

Command used (stored in uncrustify.sh):
uncrustify -c ./uncrustify.cfg --no-backup `find . -regex
"\(.*\.cpp\|.*\.h\|.*\.c\|.*\.cc\)" | grep -v
"orm.h\|orm_generator.h\|3rdpartyi\|examples"`

[Verification] Build the repository

Change-Id: I3ee7d6af0408b760a3af003e488c1e48dfaf0395

11 years agoAdd function get appid from pkgid
Soyoung Kim [Fri, 8 Feb 2013 06:17:42 +0000 (15:17 +0900)]
Add function get appid from pkgid

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add to get appid form pkgid
[SCMRequest] N/A

Change-Id: Ib57dc1a24398adf9b860df7bd680679a4d6c444d

11 years agoCompilation warnings. Deprecated code. Part 1
Tomasz Iwanek [Tue, 5 Feb 2013 14:00:37 +0000 (15:00 +0100)]
Compilation warnings. Deprecated code. Part 1

[Issue#]       LINUXWRT-6
[Bug]          Compilation warnings
[Cause]        N/A
[Solution]     Remove them
[Verification] Build repository. Run dao tests and dpl tests. Other repositories should be able to be built: wrt-installer,wrt-plugins-common,wrt

Change-Id: Idfee10320ff474d5c8eee817215db3fb05777934

11 years agowrt_commons_reset.sh fix
Tomasz Iwanek [Tue, 5 Feb 2013 12:47:37 +0000 (13:47 +0100)]
wrt_commons_reset.sh fix

[Issue#]       N/A
[Bug]          Cleaning file system fails
[Cause]        N/A
[Solution]     N/A
[Verification] Install widget. Run script. Check if associated directory (pkgId) was removed

Change-Id: Id11fc2bdefddaead51c28a8a5c20f3452bf20d8c

11 years ago[Release] wrt-commons_0.2.97
Taejeong Lee [Wed, 6 Feb 2013 12:33:42 +0000 (21:33 +0900)]
[Release] wrt-commons_0.2.97

Change-Id: I9af0398163e18f9318bedd929380d89a114dad25

11 years agoSupport for "process per testcase" framework.
Bartlomiej Grzelewski [Fri, 1 Feb 2013 16:17:44 +0000 (17:17 +0100)]
Support for "process per testcase" framework.

Test defined in macro RUNNER_CHILD_TEST will be run
in child process.

[Issue#]   SSDWSSP-62
[Problem]  Some test must be run in child process.
[Cause]    N/A
[Solution] Add new framework to test.

[Verification] Successful compilation.

Change-Id: I6336c195ec3c7ec5b20360c239c93c9197698822

11 years agoPrepare database to support CSP policy for whole widget.
Andrzej Surdej [Fri, 25 Jan 2013 11:30:56 +0000 (12:30 +0100)]
Prepare database to support CSP policy for whole widget.

[Issue#] LINUXWRT-34
[Problem] Support for csp policy.
[Cause] N/A
[Solution] Prepared .wrt.db, widgetDAO and tests for csp handling.
[Verification] To verify build repo and run wrt-tests-dao. Two new tests
regarding csp should pass.

Change-Id: I35c332e7ebde48cc8efd7dc1e7949c7950f555ae

11 years agominizip prevent issues fixes
Lukasz Marek [Fri, 1 Feb 2013 16:09:44 +0000 (17:09 +0100)]
minizip prevent issues fixes

[Issue#] N/A
[Problem] Prevent issued some core in minizip module
[Cause] N/A
[Solution] Fixed

Change-Id: I2f1b01ba750a0d0f3ece0208c7919e71fc3d9273

11 years agoChange DPL::WaitableHandleWatchSupport's destructor not to call DPL:Aassert explicitly.
Yunchan Cho [Sat, 2 Feb 2013 07:57:41 +0000 (16:57 +0900)]
Change DPL::WaitableHandleWatchSupport's destructor not to call DPL:Aassert explicitly.

[Issue#] N_SE-23934
[Problem] When chatter, SDK sample webapp, is closed, chatter's Web Process is asserted
[Cause] DPL::WaitableHandleWatchSupport's destructor call assert if its map container has any instance.
[Solution] DPL::WaitableHandleWatchSupport's destructor doesn't call assert function explicitly in any case.
           Even if its map container has any instance, destructor of map container releases existing instances in it automatically.

Change-Id: Ieb54e1b6a692132222e72e7b41f0666d4a211afa

11 years ago[Release] wrt-commons_0.2.96
Yunchan Cho [Wed, 30 Jan 2013 08:10:04 +0000 (17:10 +0900)]
[Release] wrt-commons_0.2.96

Change-Id: I465c919d756905651ff38c6317dcac6479fc2a1a

11 years agoAdd specific fields to config parser struct for livebox
Yunchan Cho [Fri, 25 Jan 2013 11:14:11 +0000 (20:14 +0900)]
Add specific fields to config parser struct for livebox

[Issue#] N/A
[Problem] There is no fields for saving parsed mouse-event of <tizen:box-content> and type of <tizen:livebox>
[Cause] N/A
[Solution] Two fields for this are added to config parser struct

Change-Id: If7188a05879d095982fd6bb866f667e4b4d3c0ed

11 years ago[Release] wrt-commons_0.2.95
Soyoung Kim [Mon, 28 Jan 2013 08:44:32 +0000 (17:44 +0900)]
[Release] wrt-commons_0.2.95

11 years agoChange pkgname to appid Part 3.
Soyoung Kim [Mon, 28 Jan 2013 07:45:09 +0000 (16:45 +0900)]
Change pkgname to appid Part 3.

[Issue#] N/A
[Problem] if there is space in appid, widget installation failed.
[Cause] N/A
[Solution] add function to trim space.
[SCMRequest] N/A

11 years agochange pkgname to appid PART 2.
Soyoung Kim [Thu, 24 Jan 2013 06:29:18 +0000 (15:29 +0900)]
change pkgname to appid PART 2.

[Issue#] N/A
[Problem] remain pkgname in script
[Cause] N/A
[Solution] fixed pkgname to appid in wrt_commons_reset_db.sh
[SCMRequest] N/A

11 years agoChange pkgname to appid and add package id PART 1.
Soyoung Kim [Wed, 23 Jan 2013 12:11:17 +0000 (21:11 +0900)]
Change pkgname to appid and add package id PART 1.

pkgname API remain for other pakcages. But will be removed.

[Issue#] N/A
[Problem] pkgname should be appid.
[Cause] N/A
[Solution] fixed pkgname to appid.
[SCMRequest] this package should be imported with wrt-installer.

11 years ago[Release] wrt-commons_0.2.94
Taejeong Lee [Fri, 25 Jan 2013 13:34:19 +0000 (22:34 +0900)]
[Release] wrt-commons_0.2.94

Change-Id: Idb5c4a2ed52626158f2ae0d64ca57cbafb836115

11 years agoRevert "Change pkgname to appid and add package id PART 1."
Taejeong Lee [Fri, 25 Jan 2013 12:51:00 +0000 (21:51 +0900)]
Revert "Change pkgname to appid and add package id PART 1."

This reverts commit e6b7c0f4c2e379706c4ac51e127779b9591a73f3.

Change-Id: I05f0cd22990b789b0e7c2afa19d3daf1257817f5

11 years agoRevert "change pkgname to appid PART 2."
Taejeong Lee [Fri, 25 Jan 2013 12:50:29 +0000 (21:50 +0900)]
Revert "change pkgname to appid PART 2."

This reverts commit 70be5ceaf442eac4105a0e45ea39a1b63bb67b0e.

Change-Id: Ia590d04ced8298127de2c8cd93ecc3d1b3233fba

11 years agoFix build break in tests after API has been changed.
Zbigniew Kostrzewa [Thu, 24 Jan 2013 09:57:55 +0000 (10:57 +0100)]
Fix build break in tests after API has been changed.

[Issue#] N/A
[Problem] Build break in Widget DAO related test cases.
[Cause] WidgetDAO API has been modified.
[Solution] Adjust to API changes.
[SCMRequest] N/A
[Verification]
1. Build repository (with tests).
2. Run DPL and DAO tests.

Change-Id: I2d863fdb4a98393dd4a90479aa1883ecf1841981

11 years ago[Release] wrt-commons_0.2.93
Soyoung Kim [Thu, 24 Jan 2013 06:55:20 +0000 (15:55 +0900)]
[Release] wrt-commons_0.2.93

11 years agochange pkgname to appid PART 2.
Soyoung Kim [Thu, 24 Jan 2013 06:29:18 +0000 (15:29 +0900)]
change pkgname to appid PART 2.

[Issue#] N/A
[Problem] remain pkgname in script
[Cause] N/A
[Solution] fixed pkgname to appid in wrt_commons_reset_db.sh
[SCMRequest] N/A

11 years agoChange pkgname to appid and add package id PART 1.
Soyoung Kim [Wed, 23 Jan 2013 12:11:17 +0000 (21:11 +0900)]
Change pkgname to appid and add package id PART 1.

pkgname API remain for other pakcages. But will be removed.

[Issue#] N/A
[Problem] pkgname should be appid.
[Cause] N/A
[Solution] fixed pkgname to appid.
[SCMRequest] this package should be imported with wrt-installer.

Change-Id: I56e2ab5251c20ac2cacdc82be19fbed5bcde9542

11 years agoSingleton guard thread removal
Tomasz Iwanek [Tue, 22 Jan 2013 07:57:42 +0000 (08:57 +0100)]
Singleton guard thread removal

[Issue#]       N/A
[Bug]          Guard threads are not used
[Cause]        N/A
[Solution]     N/A
[Verification] Build wrt-commons,wrt. Runs any widget correctly (this should be enogh to check singleton as guard were not used)

Change-Id: Ia91f6f60c812436804842d9414274c4f9eea3e4d

11 years agoFixing saving locale for each icon
Tomasz Iwanek [Wed, 16 Jan 2013 14:38:05 +0000 (15:38 +0100)]
Fixing saving locale for each icon

[Issue#]       TDIS-1870 / LINUXWRT-24
[Bug]          Icons are not proceeded correctly
[Cause]        N/A
[Solution]     N/A
[Verification] Build repository and run tests for icons:
wrt-tests-w3c --output=text --regexp='ta_iipTwNshRg'
wrt-tests-w3c --output=text --regexp='ta_roCaKRxZhS'
wrt-tests-w3c --output=text --regexp='ta_iuJHnskSHq'
wrt-tests-w3c --output=text --regexp='ta_FAFYMEGELU'

See no regression is precentage of tests that passed

Change-Id: Iad468faeaefe315bedf25824b3f98e0d7c704a13

11 years agoRemoving hard-coding in ORDER BY statement
Tomasz Iwanek [Thu, 17 Jan 2013 09:40:10 +0000 (10:40 +0100)]
Removing hard-coding in ORDER BY statement

[Issue#]       N/A
[Bug]          Need of hard coding order by statement
[Cause]        N/A
[Problem]      N/A
[Solution]     N/A
[Verification] Build repository with --define="WITH_TESTS ON"
Run:
dpl-tests-db --output=text --regexp='ORM_SelectOrderByMultipleColumns'
dpl-tests-db --output=text --regexp='ORM_Delete'
Tests should pass

Change-Id: I272bc01cf1ed0a60d00a57f7a41d10b61a173544

11 years agoMerge "Support for GCC 4.7"
Zbigniew Kostrzewa [Mon, 21 Jan 2013 13:40:09 +0000 (22:40 +0900)]
Merge "Support for GCC 4.7"

11 years agoSupport for GCC 4.7
Grzegorz Krawczyk [Fri, 18 Jan 2013 14:28:46 +0000 (15:28 +0100)]
Support for GCC 4.7

Compatibility with GCC v 4.7 is required.

This commit fix problems with compilation GCC 4.7.

[Issue#] N/A
[Bug] The repository causes build break with GCC 4.7
[Cause] N/A
[Solution] Source code adjusted to GCC 4.7

[Verification]
1. Build repository (with current version = 4.5)

Change-Id: I78ef8c986dd811841605d0e1b18fc641343287e3

11 years agoChanged PkgName type from Optional<String> to String PART 5
Jan Olszak [Thu, 3 Jan 2013 14:41:42 +0000 (15:41 +0100)]
Changed PkgName type from Optional<String> to String PART 5

[Issue] Deleting temporary API.
[Bug] N/A
[Cause] N/A
[Solution] Changed Pkgname type, changed api methods.
[Verification] Build commons, installer. Run all tests.

Change-Id: If76af2c0b9655260a8b35883bf693e30128cb66a

11 years ago[Release] wrt-commons_0.2.92
Jihoon Chung [Wed, 16 Jan 2013 01:52:48 +0000 (10:52 +0900)]
[Release] wrt-commons_0.2.92

Change-Id: I3f14d23ee14d095dfebd0d8844cfcb19abbcdea4

11 years agoAdd method for reset crossEventCallHandler
Taejeong Lee [Tue, 15 Jan 2013 15:40:36 +0000 (00:40 +0900)]
Add method for reset crossEventCallHandler

[Issue#] JIRA(#N_SE-20674)
[Problem] Event handler isn't called
[Cause] After add commit for enhancement launching time,
event handler doesn't work.
Root cause is that pipe in the event handler is copyed during forking.
This cause occurred that event sends to parent process(UI)
even event is created by child process.
[Solution] Add reset method for event handler.
This method will be used in the webkit bundle.
[SCMRequest] N/A

Change-Id: I3875ab86a841ea7b8074b8936845cbdf45b7adc1

11 years agoImprove XML test results collector.
Zbigniew Kostrzewa [Mon, 14 Jan 2013 09:40:13 +0000 (10:40 +0100)]
Improve XML test results collector.

[Issue#]       N/A
[Bug]          testsuite tag attributes are not filled out when
segmentation fault occurs
[Cause]        values of those attributes are filled out at the end of a
successful run of a test binary
[Solution]     update attributes values after each test case
[Verification]
1. Build repository
2. Run wrt-tests-misc test suite with output set to xml and text
  `wrt-tests-misc --output=xml --output=text`
3. Compare results
4. Check whether file results.xml is a valid XML document.

Change-Id: Ic3c5fa0b3ce6b943cf1ac949b3313d436ed4f8b0

11 years agoClean up unnecessary cmake log.
Zbigniew Kostrzewa [Thu, 10 Jan 2013 13:03:30 +0000 (14:03 +0100)]
Clean up unnecessary cmake log.

[Issue#]       N/A
[Bug]          N/A
[Cause]        N/A
[Solution]     N/A
[Verification] Build repository with tests.

Change-Id: Ic1145ec17f446c1ac2393211fc078791daa89afc