framework/web/wrt-commons.git
11 years ago[Developer mode] Removal from wrt-commons repository
Kamil Nowac [Thu, 2 May 2013 12:27:30 +0000 (14:27 +0200)]
[Developer mode] Removal from wrt-commons repository

[Issue#] LINUXWRT-282
[Problem] Unsupported feature
[Cause] N/A
[Solution] Removing it
[Verification]
1. Check if there are any 'D(/d)eveloper' words remains in source code.
2. Build wrt repository.

Change-Id: I8e324391cb9a99377806852e35590f9229e987f3

11 years agoAdd widget_config for shared directory
Jihoon Chung [Tue, 28 May 2013 01:25:56 +0000 (10:25 +0900)]
Add widget_config for shared directory

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add path builder for shared directory
[SCMRequest] N/A

Change-Id: I2ca612caabc7673b0f6f359494706523304db55b

11 years agoClean-up unused global_config.h
Jihoon Chung [Tue, 28 May 2013 01:17:48 +0000 (10:17 +0900)]
Clean-up unused global_config.h

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Remove deprecated inline funtion regarding vconf
[SCMRequest] N/A

Change-Id: I303b8901f399dfd846261a647d81846b73b4acfd

11 years ago[Release] wrt-commons_0.2.124
sung-su.kim [Mon, 27 May 2013 08:54:43 +0000 (17:54 +0900)]
[Release] wrt-commons_0.2.124

Change-Id: I3e2aba8ee9db0a51275509e4ad8d7f93820380ec

11 years agoFixed web app can't update.
Soyoung Kim [Fri, 24 May 2013 13:49:37 +0000 (22:49 +0900)]
Fixed web app can't update.

[Issue#] N/A
[Problem] can't update
[Cause] widget preference db has tizen_appid instead of app_id(handle).
So db error occur during update.
db error is "foreign key constraint failed".
[Solution] modify foreign key from tizen_appid to app_id.
[SCMRequest] N/A

Change-Id: I7299fd34f125e574eeeeffb111ac022b08e3987b

11 years ago[Daily Tests] wrt-commons tests
Kamil Nowac [Wed, 8 May 2013 09:08:38 +0000 (11:08 +0200)]
[Daily Tests] wrt-commons tests

[Issue#] LINUXWRT-214
[Problem] Tests do not pass in 100%
[Cause] Tests in one directory must fail so it looks bad in daily tests
[Solution] Adding proper condition to CMake
[Verification]
1. Build wrt-commons repository with --define "WITH_TESTS ON" and --define "WITH_CHILD ON".
There is proper a signal during build: "Additional test subdirectory is being added"

Change-Id: I1533ac05a3e7406b5f4c67c9ba382381898b0481

11 years ago[Release] wrt-commons_0.2.123
sung-su.kim [Thu, 23 May 2013 09:22:04 +0000 (18:22 +0900)]
[Release] wrt-commons_0.2.123

Change-Id: I32406fe3bed5b6d5ab102eba3819935f8b7fea68

11 years agoAdd "getRootPluginHandleList()" api to PluginDAOReadOnly.
Taejeong Lee [Thu, 23 May 2013 07:09:51 +0000 (16:09 +0900)]
Add "getRootPluginHandleList()" api to PluginDAOReadOnly.

[Issue#] N/A
[Problem] Performance
[Cause] N/A
[Solution] Add "getRootPluginHandleList()" api to PluginDAOReadOnly.

Change-Id: I9624177e8349e81fade08e3b96e5d4d4cec751f0

11 years ago[Release] wrt-commons_0.2.122
sung-su.kim [Thu, 16 May 2013 04:27:43 +0000 (13:27 +0900)]
[Release] wrt-commons_0.2.122

Change-Id: Ic3f8591ab3f6d8be15236dfb0a4f6c1b7b53d535

11 years agoAdd new type of getFilePathInWidgetPackageFromUrl() api for performance.
Taejeong Lee [Wed, 15 May 2013 03:01:33 +0000 (12:01 +0900)]
Add new type of getFilePathInWidgetPackageFromUrl() api for performance.

 - std::string getFilePathInWidgetPackageFromUrl(const std::string &tzAppId, const std::string &url)

[Issue#] N/A
[Problem] Performance
[Cause] URI localization consumed too many CPU resource.
[Solution] Optimization to getFilePathInWidgetPackageFromUrl()

Change-Id: I6f0253067b082ab27b645682a789432d7773df1a

11 years ago[Release] wrt-commons_0.2.121
sung-su.kim [Tue, 14 May 2013 06:13:31 +0000 (15:13 +0900)]
[Release] wrt-commons_0.2.121

Change-Id: Icd244d98e2ee597c58147c3c3e02c28a09a5e185

11 years agoRemove test code for deprecated API
Jihoon Chung [Tue, 14 May 2013 04:45:03 +0000 (13:45 +0900)]
Remove test code for deprecated API

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Remove test code for deprecated API
[SCMRequest] N/A

Change-Id: I1021e1cf5938c9ef324ba3d9ba1ae990af83498d

11 years ago[Release] wrt-commons_0.2.120
Soyoung Kim [Mon, 13 May 2013 02:22:10 +0000 (11:22 +0900)]
[Release] wrt-commons_0.2.120

11 years agoMerge "Saving namespace of stored content's startpage of config.xml"
Hoseon LEE [Sun, 12 May 2013 12:46:29 +0000 (21:46 +0900)]
Merge "Saving namespace of stored content's startpage of config.xml"

11 years agoSaving namespace of stored content's startpage of config.xml
Tomasz Iwanek [Tue, 7 May 2013 13:36:05 +0000 (15:36 +0200)]
Saving namespace of stored content's startpage of config.xml

[Issue#]       LINUXWRT-314
[Feature]      tizen:content prefered before content
[Cause]        N/A
[Solution]     This is needed for wrt-installer changes
[Verification] Build repo.

Change-Id: I2fc6f868122691ec852f2a439979de513c7abd28

11 years agoRemove vconf creation code
Jihoon Chung [Fri, 10 May 2013 05:23:04 +0000 (14:23 +0900)]
Remove vconf creation code

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Remove vconf creation code
[SCMRequest] N/A

Change-Id: I7257193fd9b2a8fb4d6b937d3313ea3cce95e345

11 years ago[Release] wrt-commons_0.2.119
sung-su.kim [Fri, 10 May 2013 05:05:28 +0000 (14:05 +0900)]
[Release] wrt-commons_0.2.119

Change-Id: I3c05de3814c4cb9872f84c991b7a3b42eec976ac

11 years agoSupport tizen:metadata
Jihoon Chung [Thu, 9 May 2013 04:49:24 +0000 (13:49 +0900)]
Support tizen:metadata

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Support tizen:metadata
This key & value is written in the manifest.xml to be used by other application.
Verification : pkginfo --metadata <appid>
[SCMRequest] N/A

Change-Id: Iec6368d9c9c5ef71122309937537699d84581a5b

11 years ago[Release] wrt-commons_0.2.118
sung-su.kim [Wed, 8 May 2013 06:54:22 +0000 (15:54 +0900)]
[Release] wrt-commons_0.2.118

Change-Id: I88b3e242143c617d73b65a320dc01ad90c611443

11 years agoadd get tizen package id list
Soyoung Kim [Tue, 7 May 2013 12:18:19 +0000 (21:18 +0900)]
add get tizen package id list

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add function to get package id list.
[SCMRequest] N/A

Change-Id: I173f53ef5dcb65c286eada4a950c3184adc39885

11 years ago[Release] wrt-commons_0.2.117
Jihoon Chung [Tue, 7 May 2013 05:57:23 +0000 (14:57 +0900)]
[Release] wrt-commons_0.2.117

Change-Id: I2171f3a49d5393aa0d2b6b6cc2081b16992cec2d

11 years agoSupport Web storage permission privilege
Jihoon Chung [Sat, 4 May 2013 07:41:38 +0000 (16:41 +0900)]
Support Web storage permission privilege

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Support Web storage permission privilege
[SCMRequest] N/A

Change-Id: Ic98a5de35c9b1faa9cd5cc674065c6706a0ca3d3

11 years agoReplace minizip to use platform library
Jihoon Chung [Wed, 1 May 2013 07:07:12 +0000 (16:07 +0900)]
Replace minizip to use platform library

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Remove minizip code in the wrt-commons and replace to
usage code to platform minizip library
[SCMRequest] N/A

Change-Id: I541f715b40f16ff388451c974cae36e061282849

11 years ago[Release] wrt-commons_0.2.116
Jihoon Chung [Sat, 4 May 2013 14:24:55 +0000 (23:24 +0900)]
[Release] wrt-commons_0.2.116

Change-Id: Ib79a59d78007ccf558c9c155fb0b26af3e39f0d3

11 years agoAdd backup api for update
Soyoung Kim [Fri, 3 May 2013 11:16:38 +0000 (20:16 +0900)]
Add backup api for update

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] add backup api and restore api for update
[SCMRequest] N/A

Change-Id: I3c4c52a3566b737124ae06c214b096d24b94ce16

11 years agoFix for reset scripts.
Andrzej Surdej [Thu, 25 Apr 2013 11:17:19 +0000 (13:17 +0200)]
Fix for reset scripts.

[Issue#] LINUXWRT-278
[Problem] N/A
[Cause] N/A
[Solution] Uninstall widget before database reseting. Remove smack files. (Use --old to not uninstall)
[Verification] Install some widgets. Run wrt_reset_all.sh with and without '--old' opt.

Change-Id: Icedab43ca89e0462757d93f6f0a263e8d2bf8b8f

11 years ago[Release] wrt-commons 0.2.115
Yunchan Cho [Sun, 28 Apr 2013 14:54:18 +0000 (23:54 +0900)]
[Release] wrt-commons 0.2.115

Change-Id: I62ac66701cc20900ff087c57d86cc58f912a3756

11 years agoAdd new field of BoxContentInfo for 'fast-open' attribute of <tizen:pd>
Yunchan Cho [Thu, 25 Apr 2013 13:35:17 +0000 (22:35 +0900)]
Add new field of BoxContentInfo for 'fast-open' attribute of <tizen:pd>

[Issue#] N/A
[Problem] There is no field used by installer after parsing 'fast-open' attribute
[Cause] N/A
[Solution] For this, new field of BoxContentInfo is added

Change-Id: I3e6dafcbcf88554e021a54610c3187d9f4fe43c2

11 years ago[Release] wrt-commons 0.2.114
Jihoon Chung [Sat, 27 Apr 2013 13:17:21 +0000 (22:17 +0900)]
[Release] wrt-commons 0.2.114

Change-Id: I50b5ed36417650a05d8dade7c3587cbd1d353649

11 years agoImplement distinguish security model version
Jihoon Chung [Thu, 25 Apr 2013 07:43:06 +0000 (16:43 +0900)]
Implement distinguish security model version

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] After enable CSP and allow-navigation, WRT should
distinguish security model. This needs to avoid conflict between
each security model.
V1 : only handled by WARP
v2 : main resource - allow-navigation
     sub  resource - CSP
[SCMRequest] N/A

Change-Id: I2c7477d114828085067098df0836227f0e642338

11 years agoImplement allow-navigation
Jihoon Chung [Wed, 24 Apr 2013 08:40:24 +0000 (17:40 +0900)]
Implement allow-navigation

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Support allow-navigation
"allow-navigation" value is allowed origin for main resource
These origins only compare with main resource uri
(decidePolicyForNavigationAction, decidePolicyForNewWindowAction)
<tizen:allow-navigation>http://*.facebook.com https://*.facebook.com</tizen:allow-navigation>
[SCMRequest] N/A

Change-Id: I97403cb3d87989bae17517a5ddbfd0be77a5f8a1

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

[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 for file path resolution and appendin it back
[Verification] Run widget that uses link with query part and fragment part. Page should be loaded when URL with fragment part is given. Use wrt with app:// scheme ENABLED

Change-Id: Ie71e2fe4f421165d2677f72e9ef21c69b0ad73d9

11 years ago[Release] wrt-commons_0.2.113
Jihoon Chung [Tue, 23 Apr 2013 06:42:22 +0000 (15:42 +0900)]
[Release] wrt-commons_0.2.113

Change-Id: Ie3c1778d2627e5f377a4a77313fc5bcdea9e8e48

11 years agoBuildbreak on wrt-commons tests fix
Tomasz Iwanek [Mon, 22 Apr 2013 07:55:57 +0000 (09:55 +0200)]
Buildbreak on wrt-commons tests fix

[Issue#]       LINUXWRT-261
[Bug]          Buildbreak
[Cause]        N/A
[Solution]     N/A
[Verification] Build with tests and run: wrt-commons-tests-loc --output=tests. All should pass.

Change-Id: I0d626732654f8c4828a802ec50dac31d77e9cf1a

11 years ago[Release] wrt-commons_0.2.112
Jihoon Chung [Sun, 21 Apr 2013 13:19:30 +0000 (22:19 +0900)]
[Release] wrt-commons_0.2.112

Change-Id: I2b1434d6a84a9962f68b62d1db7f1d768bea407f

11 years agoClean-up Multiple process for application control
Jihoon Chung [Sun, 21 Apr 2013 03:33:56 +0000 (12:33 +0900)]
Clean-up Multiple process for application control

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Clean-up Multiple process for application control.
This commit change control_index to alloc each page.
[SCMRequest] must be imported with wrt, wrt-installer

Change-Id: I5716cba6c90999e9189819d1575f83c8bbec2405

11 years agoAdd remove directory of reload app during wrt_reset_all.sh
Soyoung Kim [Sun, 21 Apr 2013 12:28:36 +0000 (21:28 +0900)]
Add remove directory of reload app during wrt_reset_all.sh

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] remove directory about preload app.
[SCMRequest] N/A

11 years agoClean-up application service
Jihoon Chung [Sat, 20 Apr 2013 12:37:35 +0000 (21:37 +0900)]
Clean-up application service

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Remove deprecated code, appservice
[SCMRequest] must be imported with wrt, wrt-installer

Change-Id: I012661c5d349e1e2822f6076ce6c7051637e4ac4

11 years agoMove Wrt:DB namespace closing branket
Jihoon Chung [Sat, 20 Apr 2013 11:29:33 +0000 (20:29 +0900)]
Move Wrt:DB namespace closing branket

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Closing branket is entered wrong place.
Move branket to end of file.
[SCMRequest] N/A

Change-Id: I04d925a5c1809371f7ce61f46533b57219573ccf

11 years ago[Release] wrt-commons_0.2.111
Soyoung Kim [Fri, 19 Apr 2013 17:32:39 +0000 (02:32 +0900)]
[Release] wrt-commons_0.2.111

Change-Id: Iadb85442cefb99649cab371b6f42c89e540f3f64

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