framework/web/wrt-commons.git
11 years ago[Release] wrt-commons_0.2.91
leerang song [Wed, 9 Jan 2013 09:06:32 +0000 (18:06 +0900)]
[Release] wrt-commons_0.2.91

Change-Id: I5efc2422d95c9117c59ba9db7768705dfe51d4c6

11 years ago[Prevent] Fixing issues: 17677
Tomasz Iwanek [Tue, 8 Jan 2013 13:15:47 +0000 (14:15 +0100)]
[Prevent] Fixing issues: 17677

[Issue#]       LINUXNGWAP-651
[Bug]          Unreachable code
[Cause]        N/A
[Solution]     Remove it
[Verification] Build repository

Change-Id: I110b0ed03d7993d137eff73cf38b0f59dbdf0c24

11 years agoFix issue Prevent Defect -17677
leerang song [Wed, 9 Jan 2013 04:57:47 +0000 (13:57 +0900)]
Fix issue Prevent Defect -17677

[Issue#] Prevent Defect -17677
[Problem] N/A
[Cause] N/A
[Solution] remove return std::sting();
[Request] N/A

Change-Id: I0e1729162a5d899d0cd45ef769123ecdb0a446bb

11 years agoMerge "[Release] wrt-commons_0.2.90"
Hoseon LEE [Tue, 8 Jan 2013 04:16:56 +0000 (13:16 +0900)]
Merge "[Release] wrt-commons_0.2.90"

11 years ago[Release] wrt-commons_0.2.90
Jihoon Chung [Tue, 8 Jan 2013 02:14:17 +0000 (11:14 +0900)]
[Release] wrt-commons_0.2.90

Change-Id: Iabbede9e25f18fef1f3aedfbae7e8983bb433d12

11 years agoMerge "Add app-control element."
Hoseon LEE [Tue, 8 Jan 2013 02:21:04 +0000 (11:21 +0900)]
Merge "Add app-control element."

11 years agoChanged PkgName type from DPL::Optional<DPL::String> to DPL::String. PART 4
Jan Olszak [Wed, 2 Jan 2013 10:16:17 +0000 (11:16 +0100)]
Changed PkgName type from DPL::Optional<DPL::String> to DPL::String. PART 4

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

Change-Id: I3c7b8bf85f0fc2406976ff4a5e6e90ba8cc4e337

11 years agoAdd app-control element.
Soyoung Kim [Wed, 2 Jan 2013 06:59:42 +0000 (15:59 +0900)]
Add app-control element.

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] add app-control and appservice will be removed.
[SCMRequest] have to release with wrt-installer.

Change-Id: I289f24d576c247b2bafd3b5c773541978865d0bf

11 years agoUser agent database update
leerang song [Fri, 4 Jan 2013 02:54:06 +0000 (11:54 +0900)]
User agent database update

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] User agent database update
[Request] N/A

Change-Id: I341a986448e8ce486358c6740405d6e1c227aff9

11 years ago[Release] wrt-commons_0.2.89
Jihoon Chung [Wed, 2 Jan 2013 02:02:45 +0000 (11:02 +0900)]
[Release] wrt-commons_0.2.89

Change-Id: If735aae7d9b58b2fe28b688a5470ea7f8148e395

11 years agoAdd vconf key for memory saving mode
Jihoon Chung [Tue, 1 Jan 2013 23:48:49 +0000 (08:48 +0900)]
Add vconf key for memory saving mode

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add vconf key for memory saving mode
[SCMRequest] N/A

Change-Id: Ia368331d630467fb402aae967b78a409aa630d26

11 years ago[Prevent] Deleted unreachable code.
Jan Olszak [Fri, 21 Dec 2012 08:43:34 +0000 (09:43 +0100)]
[Prevent] Deleted unreachable code.

[Issue] Unreachable code.
[Bug] N/A
[Cause] N/A
[Solution] Deleted two unreachable return statements.
[Verification] Build commons.

Change-Id: I07be1ad33fcd045c109ee18c158f5fc0010b3ef0

11 years ago[Prevent] Deleted array to 0 comparison.
Jan Olszak [Fri, 28 Dec 2012 08:25:21 +0000 (09:25 +0100)]
[Prevent] Deleted array to 0 comparison.

[Issue] Array compared against 0
[Bug] N/A
[Cause] N/A
[Solution] Deleted.
[Verification] Build commons.

Change-Id: Ib9751d79fb509869ace273f4d9c1ea39ecc372e2

11 years ago[Prevent] Handle return value from pthread_setspecific.
Jan Olszak [Fri, 28 Dec 2012 08:49:46 +0000 (09:49 +0100)]
[Prevent] Handle return value from pthread_setspecific.

[Issue] Unhandled return value from pthread_setspecific
[Bug] N/A
[Cause] N/A
[Solution] Log on errors.
[Verification] Build commons.

Change-Id: I9994b421626df10a27eef90899dc0645120c765d

11 years ago[Release] wrt-commons_0.2.88
Jihoon Chung [Sat, 29 Dec 2012 05:04:25 +0000 (14:04 +0900)]
[Release] wrt-commons_0.2.88

Change-Id: Idd9dba95fd60f42f6f9d8a7d0a4553dad56285ab

11 years agoAdd path builder for vconf key
Jihoon Chung [Sat, 29 Dec 2012 03:08:56 +0000 (12:08 +0900)]
Add path builder for vconf key

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Current realization is define const to each source code for vconf
key which is used in the setting value. This commit create common inline
function for vconf key path builder.
[SCMRequest] N/A

Change-Id: I9f37edb3262d5967c522bdb4ba58fab624d551c6

11 years ago[Release] wrt-commons_0.2.87
Soyoung Kim [Fri, 28 Dec 2012 11:48:25 +0000 (20:48 +0900)]
[Release] wrt-commons_0.2.87

11 years agochanged to get encryption/decryption key from device unique key
Soyoung Kim [Fri, 28 Dec 2012 09:15:24 +0000 (18:15 +0900)]
changed to get encryption/decryption key from device unique key

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Modify get encryption key from cal library made from osp-security team
The key is made from device unique key and hashed.
[SCMRequest] N/A

Change-Id: I3f1051339a6f56e5cb6a5083489f32b69d435550

11 years ago[Release] wrt-commons_0.2.86
Soyoung Kim [Fri, 28 Dec 2012 08:43:36 +0000 (17:43 +0900)]
[Release] wrt-commons_0.2.86

11 years agoRevert "Modify get encryption/decryption key from device unique key"
Soyoung Kim [Fri, 28 Dec 2012 08:39:15 +0000 (17:39 +0900)]
Revert "Modify get encryption/decryption key from device unique key"

This reverts commit 807b066980d24c3bd5874493895fff9aee74efb0.

11 years ago[Release] wrt-commons_0.2.85
Soyoung Kim [Fri, 28 Dec 2012 05:10:21 +0000 (14:10 +0900)]
[Release] wrt-commons_0.2.85

11 years agoModify get encryption/decryption key from device unique key
Soyoung Kim [Thu, 20 Dec 2012 11:02:29 +0000 (20:02 +0900)]
Modify get encryption/decryption key from device unique key

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Modify get encryption key from osp app-fw.
The key is made from device unique key and hashed.
[SCMRequest] N/A

11 years agolivebox configuration valuables have been changed
lke01.lee [Wed, 26 Dec 2012 01:07:04 +0000 (10:07 +0900)]
livebox configuration valuables have been changed

[Issue#] N/A
[Problem]
[Cause] N/A
[Solution] livebox configuration valuables have been changed

Change-Id: I538dc45ca8ab8721da51e4be4fd3ba0f9956f5cf

11 years agoFor livebox configuration
lke01.lee [Mon, 10 Dec 2012 11:38:20 +0000 (20:38 +0900)]
For livebox configuration

[Issue#]
[Problem]
[Cause] The configuration informations has been changed from pkgname.config to config.xml
[Solution] Add parsing routine for livebox configuration
[Verification] This patch depends on http://slp-info.sec.samsung.net/gerrit/#/c/128073/,
http://slp-info.sec.samsung.net/gerrit/#/c/124174/

Change-Id: I558af74b9b200495ed531a6e2272f23506782e2b

11 years ago[Release] wrt-commons_0.2.83
lke01.lee [Fri, 21 Dec 2012 08:05:57 +0000 (17:05 +0900)]
[Release] wrt-commons_0.2.83

Change-Id: I04f8f04db3d81998289223a0776088a98601c572

11 years agoReplacing widget handle with tizenid in property DAO
Janusz Majnert [Thu, 20 Dec 2012 08:36:14 +0000 (09:36 +0100)]
Replacing widget handle with tizenid in property DAO

[Issue#] LINUXNGWAP-576
[Feature] Remove DbWidgetHandle from usage in PropertyDAO
[Cause] N/A
[Solution] Replace widget handle with package name (Tizen ID)
[Verification] Build

This commit updates the database preparation procedure to reflect a change in
db schema that will be intoroduced in a commit in wrt-commons.

Change-Id: I5ffdc56c41e701242906b786b8099151c2d00887

11 years agoChanged PkgName type from DPL::Optional<DPL::String> to DPL::String. PART 2
Jan Olszak [Tue, 18 Dec 2012 12:38:50 +0000 (13:38 +0100)]
Changed PkgName type from DPL::Optional<DPL::String> to DPL::String. PART 2

[Issue#] PkgName could have been NULL.
[Bug] N/A
[Cause] N/A
[Solution] Changed Pkgname type, changed api methods. This is a temporary change, to test if the new API work.
[Verification] Build commons, plugins, installer, wrt. Run tests.

Change-Id: I55750b51fbdf4a68f2f44d2bb1884a8981346ab9

11 years ago[Release] wrt-commons_0.2.82
Jihoon Chung [Thu, 20 Dec 2012 00:10:27 +0000 (09:10 +0900)]
[Release] wrt-commons_0.2.82

Change-Id: I60340200a3dd45921da97dbc92ff82fe7885ffcc

11 years agoCustomHandlersDAO test
Krzysztof Jackiewicz [Tue, 18 Dec 2012 09:51:44 +0000 (10:51 +0100)]
CustomHandlersDAO test

[Issue#] N/A
[Feature] N/A
[Problem] N/A
[Cause] CustomHandler needs a test
[Solution] Test for CustomHandlerDAO added

[Verification] Successfull compilation.
wrt-tests-dao --output=text --regexp=custom should pass

Change-Id: I816f17a3500cfbf04d71b7863ae6baef0aaf8785

11 years agoUnit test for custom handler dao stub
Krzysztof Jackiewicz [Tue, 18 Dec 2012 08:56:26 +0000 (09:56 +0100)]
Unit test for custom handler dao stub

[Issue#] N/A
[Feature] Custom handlers implementation test
[Problem] N/A
[Cause] N/A
[Solution] Basic test implemented

[Verification] Successfull compilation. Test should pass.

Change-Id: I23a89ed881a8181be75d328cf056ab872a9e6d30

11 years agoregisterWidgetSecuritySettings - nested transaction removal. New widget dao testcase
Tomasz Iwanek [Mon, 17 Dec 2012 14:28:30 +0000 (15:28 +0100)]
registerWidgetSecuritySettings - nested transaction removal. New widget dao testcase

[Issue#]       LINUXNGWAP-592
[Bug]          Not neccessary nested transaction
[Cause]        Not neccessary nested transaction
[Solution]     Remove it. Add testcase: widget_dao_test_register_widget_security_settings to widget_dao
[Verification] Build repository. Run new test: wrt-tests-dao --output=text --regexp="widget_dao" (21 - all should pass, including new one)

Change-Id: I40b5b6ed739809697706ed152b05df5d4a5c7f3f

11 years agoCustom Handlers DAO extended with new api
Andrzej Surdej [Mon, 17 Dec 2012 15:21:33 +0000 (16:21 +0100)]
Custom Handlers DAO extended with new api

[Issue#] N/A
[Problem] No possible way to remove all widget handlers during widget uninstall.
[Cause] N/A
[Solution] Added new api to provide this finctions.
[Verification] To verif build repo and run some custom_handlers.wgt tests

Change-Id: I9af542a35f6098f81e69e41123c389f96fd2003a

11 years agoAdd tests - DPL.
Zbigniew Kostrzewa [Wed, 12 Dec 2012 06:59:59 +0000 (07:59 +0100)]
Add tests - DPL.

[Issue#] N/A
[Feature] Add DPL tests back to wrt-commons. Build tests conditionally.
[Problem] N/A
[Cause] Unit tests should reside in the same repositories the code they test.
Tests should be built only on explicit request.
[Solution] Add DPL tests to wrt-commons repository. Build tests only
when option WITH_TESTS is set.
[SCMRequest] gbs >= 0.12

[Verification]
REQUIRES: gbs >= 0.12
1. Remove `wrt-extra` RPM package from the device, if present.
2. Make sure `dpl-tests-*` binaries are not present on the device.
3. Build repository using gbs with option `--define "WITH_TESTS OFF"`.
4. Check if subdirectory `tests/` was included in the build process
   (it should NOT be included) and if `dpl-tests-*` are included in
   the RPM package (they should NOT be included).
5. Install RPM package created in step 3.
6. Check if `dpl-tests-*` binaries are present on the device (they should
   NOT be present).
7. Build repository using gbs with option `--define "WITH_TESTS ON"`.
8. Check if subdirectory `tests/` was included in build process (it
   should be included) and if `dpl-tests-*` are included in the RPM
   package (they should be included).
9. Install RPM package created in step 7.
10. Run `dpl-tests-*` test suite.

Change-Id: Ib9a595c407ec9a4ac6c64ae9494d1063e1e4e503

11 years agoAdd tests - DAO.
Zbigniew Kostrzewa [Thu, 6 Dec 2012 17:22:13 +0000 (18:22 +0100)]
Add tests - DAO.

[Issue#] N/A
[Feature] Add DAO tests back to wrt-commons. Build tests conditionally.
[Problem] N/A
[Cause] Unit tests should reside in the same repositories the code they test.
Tests should be built only on explicit request.
[Solution] Add DAO tests to wrt-commons repository. Build tests only
when option WITH_TESTS is set.
[SCMRequest] gbs >= 0.12

[Verification]
REQUIRES: gbs >= 0.12
1. Remove `wrt-extra` RPM package from the device, if present.
2. Make sure `wrt-tests-dao` binary is not present on the device.
3. Build repository using gbs with option `--define "WITH_TESTS OFF"`.
4. Check if subdirectory `tests/` was included in the build process
   (it should NOT be included) and if `wrt-tests-dao` is included in
   the RPM package (it should NOT be included).
5. Install RPM package created in step 3.
6. Check if `wrt-tests-dao` binary is present on the device (it should
   NOT be present).
7. Build repository using gbs with option `--define "WITH_TESTS ON"`.
8. Check if subdirectory `tests/` was included in build process (it
   should be included) and if `wrt-tests-dao` is included in the RPM
   package (it should be included).
9. Install RPM package created in step 7.
10. Run `wrt-tests-dao` test suite.

Change-Id: I5dbe07a30f9ab1d2c3f106e704a4d9254f5e493f

11 years agoCustomHandlersDB API updated to handle new functionalities.
Andrzej Surdej [Wed, 12 Dec 2012 10:33:55 +0000 (11:33 +0100)]
CustomHandlersDB API updated to handle new functionalities.

[Issue#] N/A
[Problem] Supprot for custom handlers
[Cause] N/A
[Solution] Exended API provided
[Verification] To verify build repository

Change-Id: Id0f4b0b643fc311ce1b1f5a56441aaaf4800c58a

11 years ago[Release] wrt-commons_0.2.81
Jihoon Chung [Sun, 16 Dec 2012 00:11:06 +0000 (09:11 +0900)]
[Release] wrt-commons_0.2.81

Change-Id: I0746e6c7724e45a814597c8f6db6e5be9e1592b7

11 years agoMerge "Fix dependencies in DAO modules."
Hoseon LEE [Sun, 16 Dec 2012 00:06:05 +0000 (09:06 +0900)]
Merge "Fix dependencies in DAO modules."

11 years agoFix dependencies in DAO modules.
Zbigniew Kostrzewa [Fri, 14 Dec 2012 10:28:24 +0000 (11:28 +0100)]
Fix dependencies in DAO modules.

[Issue#] N/A
[Problem] Build break on build machine in project SLP:Build:Release
[Cause] Race between targets in CMake build scripts in DAO modules
[Solution] Add proper dependencies between targets
[SCMRequest] N/A

[Verification]
1. Build repository and all dependant repositories (esp. repository
   containing tests).
2. Run all tests (esp. DPL, DAO, Plugin DAO/WidgetDB, W3C Widget
   Interface).

Change-Id: Iafa4d31baafec817b96f778468068dc67e3bfa10

11 years agoMissing boilerplate added
Krzysztof Jackiewicz [Wed, 12 Dec 2012 11:47:36 +0000 (12:47 +0100)]
Missing boilerplate added

[Issue#] N/A
[Feature] N/A
[Problem] The boilerplate is missing in dir-struct.py
[Cause] N/A
[Solution] Boilerplate added

[Verification] Check that boilerplate is present. Successfull compilation.

Change-Id: I0bf05b9b8e04054a295eaaa487dbdf6d355ed791

11 years ago[Release] wrt-commons_0.2.80
Jihoon Chung [Fri, 14 Dec 2012 01:32:21 +0000 (10:32 +0900)]
[Release] wrt-commons_0.2.80

Change-Id: I156406445c172b04dbb8df4b1b855677b23b5f1f

11 years agoImplement privilege database table
Jihoon Chung [Thu, 13 Dec 2012 04:51:56 +0000 (13:51 +0900)]
Implement privilege database table

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] "Feature" name will be changed to "Privilege"
This commit create new database table for privilege.
[SCMRequest] N/A

Change-Id: Ieed9cede62936000a03ad445f523059a4246a3d4

11 years ago[Release] wrt-commons_0.2.79
Jihoon Chung [Thu, 13 Dec 2012 02:26:04 +0000 (11:26 +0900)]
[Release] wrt-commons_0.2.79

Change-Id: I2d4963ac682136a0964108b6dfad47e8e034bfb6

11 years ago[Prevent] Delete unreachable code.
Jan Olszak [Wed, 12 Dec 2012 08:46:26 +0000 (09:46 +0100)]
[Prevent] Delete unreachable code.

[Issue#] Unreachable code. Exception won't be thrown.
[Bug] N/A
[Cause] N/A
[Solution] Deleted unreachable code.
[Verification] Build commons. Run tests.

Change-Id: Ifc48801bbcfddc711c3dda82aaaa5aab3097cd0b

11 years ago[Prevent] Unhandled isWidgetInstalled return value.
Jan Olszak [Tue, 11 Dec 2012 10:44:53 +0000 (11:44 +0100)]
[Prevent] Unhandled isWidgetInstalled return value.

[Issue] Unchecked condition during setting widgets name.
[Bug] Prevent: 22806
[Cause] N/A
[Solution] Checked condition, throw exception if widget not installed
[Verification] Build commons. Run tests.

Change-Id: I24f7a1960d7fb0dad4b8a024c797b28229c447bc

11 years agoCustomHandlerDAO implementation
Krzysztof Jackiewicz [Thu, 6 Dec 2012 11:11:10 +0000 (12:11 +0100)]
CustomHandlerDAO implementation

[Issue#] N/A
[Feature] N/A
[Problem] N/A
[Cause] CustomHandlers database needs DAO
[Solution] Implementation of CustomHandlerDAO added

[Verification] Succesfull compilation. Verify with:
wrt-tests-dao --output=text --regexp=custom

Change-Id: I4e190777e7b4b53b526bdd6635e2ba1d9a387200

11 years ago[Prevent] Handle chmod return value
Jan Olszak [Mon, 10 Dec 2012 08:16:07 +0000 (09:16 +0100)]
[Prevent] Handle chmod return value

[Issue#] Return value not handled.
[Bug] N/A
[Cause] N/A
[Solution] Log error on chmod fail.
[Verification] Build commons.

Change-Id: I7196aa7da0307993a49812e29a6ff6a7189c8b86

11 years ago[Prevent] Delete unreachable code.
Jan Olszak [Tue, 11 Dec 2012 09:02:26 +0000 (10:02 +0100)]
[Prevent] Delete unreachable code.

[Issue#] Unreachable code. Exception won't be thrown.
[Bug] N/A
[Cause] N/A
[Solution] Deleted unreachable code.
[Verification] Build commons. Run tests.

Change-Id: I8be3436713afcf8af1a8a5906bd428d4f1555081

11 years ago[Prevent] Delete unreachable code.
Jan Olszak [Fri, 7 Dec 2012 13:08:56 +0000 (14:08 +0100)]
[Prevent] Delete unreachable code.

[Issue#] Unreachable code.
[Bug] N/A
[Cause] N/A
[Solution] Deleted unreachable code.
[Verification] Build commons. Run tests.

Change-Id: Iaf3347af57852a7fe72b84bccb64973bc8538511

11 years ago[Prevent] Handle remove() return value
Jan Olszak [Mon, 10 Dec 2012 09:50:33 +0000 (10:50 +0100)]
[Prevent] Handle remove() return value

[Issue#] Return value not handled.
[Bug] no. 22805
[Cause] N/A
[Solution] Log error on remove fail.
[Verification] Build commons.

Change-Id: I1c20be3caaef13d43599b3ce5522d6cbde30c330

11 years agoReplacing DbWidgetHandle with WidgetPkgName in SecurityOriginDAO
Janusz Majnert [Tue, 4 Dec 2012 12:53:21 +0000 (13:53 +0100)]
Replacing DbWidgetHandle with WidgetPkgName in SecurityOriginDAO

[Issue#] LINUXNGWAP-577
[Feature] Remove DbWidgetHandle from usage in SecurityOriginDAO
[Cause] N/A
[Solution] Replace widget handle with package name (Tizen ID)
[Verification] Build, run DAO and DPL tests.

Change-Id: I5943b2ef0f157be8fceb1b3a64851187a09a204a

11 years ago[Release] wrt-commons_0.2.78
Jihoon Chung [Mon, 10 Dec 2012 01:21:24 +0000 (10:21 +0900)]
[Release] wrt-commons_0.2.78

Change-Id: I5662c36253706c1089d3481a4e3c7cee691f3d6a

11 years agoReplacing widget handle with tizenid in property DAO
Janusz Majnert [Mon, 3 Dec 2012 09:46:55 +0000 (10:46 +0100)]
Replacing widget handle with tizenid in property DAO

[Issue#] LINUXNGWAP-576
[Feature] Remove DbWidgetHandle from usage in PropertyDAO
[Cause] N/A
[Solution] Replace widget handle with package name (Tizen ID)
[Verification] Build, Run DAO and DPL tests.

Change-Id: Id33c672cd1c574ea22b5b685dc519cec246602c4

11 years agoCustomHandlers DAO libraries stubs added
Krzysztof Jackiewicz [Fri, 30 Nov 2012 13:34:17 +0000 (14:34 +0100)]
CustomHandlers DAO libraries stubs added

[Issue#] N/A
[Feature] Custom handlers implementation
[Problem] N/A
[Cause] Custom handlers information has to be stored in the database
[Solution] Stub for custom handlers DAO added

[Verification]
1.Succesfull compilation of wrt-commons and wrt-extra.
2.Run wrt-tests-dao --output=text --regexp=custom_handler_dao_basic. It should
pass.

Change-Id: Iaf87fda801d60221d573f747a506664b987589bb

11 years agoDefault "en" language tag removed from provider
Marcin Kaminski [Tue, 4 Dec 2012 13:32:24 +0000 (14:32 +0100)]
Default "en" language tag removed from provider

[Issue#] N/A
[Cause] N/A
[Problem] Following W3C Spec. default "en"
language tag is not needed.
[Solution] Default English language tag removed

[Verification] Use localized for English language with
system set to other one or launch wrt-tests-miscunit
tests from this commit:
http://slp-info.sec.samsung.net/gerrit/#/c/121844/
and check wheteher LanguageTagsProvider tests pass

Change-Id: Ic9231a2adc4c559cbaca8e9942c815d6206e6996

11 years agoChanged PkgName type from DPL::Optional<DPL::String> to DPL::String.
Jan Olszak [Mon, 3 Dec 2012 10:09:00 +0000 (11:09 +0100)]
Changed PkgName type from DPL::Optional<DPL::String> to DPL::String.

[Issue#] PkgName could have been NULL.
[Bug] N/A
[Cause] N/A
[Solution] Changed Pkgname type, changed definition in database to NOT NULL.
[Verification] Build commons, plugins, installer,wrt. Run DAO tests.

Change-Id: Idf342238d6e290c279b2197de233b5eab57d155f

11 years agoOverload methods to run with tizen id instead of widgetHandle - fixed
Przemyslaw Ciezkowski [Tue, 27 Nov 2012 14:50:31 +0000 (15:50 +0100)]
Overload methods to run with tizen id instead of widgetHandle - fixed

[Issue#] N/A
[Bug] N/A
[Cause] N/A
[Solution] Overload methods to run with tizen id instead of widgetHandle.
[Verification] Rebuild all repos, run DAO tests. Run tests for geolocation.

Change-Id: I071e89751c5714b4740bbc697eaf065b3e94206b

11 years agoSharedFromTHis replace by STL C++0x ones
Tomasz Iwanek [Tue, 4 Dec 2012 15:14:50 +0000 (16:14 +0100)]
SharedFromTHis replace by STL C++0x ones

[Issue#]       N/A
[Bug]          Build break for wrt-extra
[Cause]        Methods were not instantiatedduring wrt-commons build
[Solution]     Fix shared_froM_this()
[Verification] Build wrt-extra based on wrt-commons

Change-Id: Ia5b304acd7e44c4147b9509ca27789ed60dc432d

11 years agoKlocwork analysis related fix
Marcin Kaminski [Fri, 30 Nov 2012 13:18:37 +0000 (14:18 +0100)]
Klocwork analysis related fix

[Issue#] N/A
[Bug] Defect reported by Klocwork
[Cause] N/A
[Solution] Unnecessary variable removed

[Verification] Build package

Change-Id: I037f31d0053941f081d8547626b519ada8e1febd

11 years agoChanged ScopedPtr to std::unique_ptr.
Jan Olszak [Wed, 28 Nov 2012 09:24:05 +0000 (10:24 +0100)]
Changed ScopedPtr to std::unique_ptr.

[Issue#] Code refactoring.
[Bug] N/A
[Cause] N/A
[Solution] Used std::unique as ScopedPtr
[Verification] Build commons, plugins, installer.

Change-Id: I005380ec1ed31229a836d927a0d5620be163088a

11 years agoChanged SharedPtr to std:shared_ptr.
Jan Olszak [Tue, 27 Nov 2012 10:12:31 +0000 (11:12 +0100)]
Changed SharedPtr to std:shared_ptr.

[Issue#] Code refactoring.
[Bug] N/A
[Cause] N/A
[Solution] Used std::shared_ptr as SharedPtr
[Verification] Build commons, plugins, installer.

Change-Id: Icf661c0a638cfae0c53e249b6cb36e84ffdb8003

11 years agoRemoving copy&paste code, part 2
Janusz Majnert [Thu, 22 Nov 2012 13:06:01 +0000 (14:06 +0100)]
Removing copy&paste code, part 2

[Issue#] N/A
[Bug/Feature] Duplicated code
[Cause] Copy&Paste
[Solution] Extract common code, generalise it
[Verification] Build this and all dependent packages, install them accordingly and run all tests

Changes:
- In modules/db/include/dpl/db/orm.h - replaced class-local BindVisitor helper
  classes with a file-wide class.
- NamedInputPipe - code was virtually identical to FileInput, so now
  NamedInputPipe inherits after FileInput.
- Removed some code that has been commented out for most part of the year

Change-Id: I67dba22a6341bf38db198bbc31c1425ce8a41a9f

11 years ago[Release] wrt-commons_0.2.76
Soyoung Kim [Fri, 30 Nov 2012 08:54:13 +0000 (17:54 +0900)]
[Release] wrt-commons_0.2.76

11 years agoRevert "Overload methods to run with tizen id instead of widgetHandle"
Soyoung Kim [Fri, 30 Nov 2012 08:37:38 +0000 (17:37 +0900)]
Revert "Overload methods to run with tizen id instead of widgetHandle"

This reverts commit 414c1eb084a4a83548d7ba8c878fd87291c4d997.

11 years agoRevert "Pkgname (tizen id) - not null"
Soyoung Kim [Fri, 30 Nov 2012 08:37:22 +0000 (17:37 +0900)]
Revert "Pkgname (tizen id) - not null"

This reverts commit 1800f55be353602203725d82c392f5af0c98e3c8.

11 years agoOverload methods to run with tizen id instead of widgetHandle
Przemyslaw Ciezkowski [Tue, 27 Nov 2012 14:50:31 +0000 (15:50 +0100)]
Overload methods to run with tizen id instead of widgetHandle

[Issue#] N/A
[Bug] N/A
[Cause] N/A
[Solution] Overload methods to run with tizen id instead of widgetHandle.
[Verification] Rebuild all repos, run DAO tests. Run tests for geolocation.

Change-Id: I4ccab399b80619182ed4520e70995bc6ee39dd19

11 years agoPkgname (tizen id) - not null
Jan Olszak [Tue, 20 Nov 2012 09:04:55 +0000 (10:04 +0100)]
Pkgname (tizen id) - not null

[Issue#] It was possible for pkgname to be null.
[Bug] N/A
[Cause] N/A
[Solution] Changed Column deffinition in db file and replaced DPL:Optional<DPL::String> with DPL::String.
[Verification] Build commons, wrt-installer, wrt-plugin-commons.

Change-Id: I635cbe9f20843ff8cf180e980b21d0b07619def2

11 years agoUpdated widget resources path in wrt_reset_all.sh
Andrzej Surdej [Mon, 26 Nov 2012 10:26:27 +0000 (11:26 +0100)]
Updated widget resources path in wrt_reset_all.sh

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] N/A
[Verification] Install some widgets -> run wrt_reset_all.sh ->
check /opt/usr/apps/ if all installed widgets' directories were removed

Change-Id: Ib96d5b5930d20ef37cbbe40836bb6d1adb544ede

11 years agoModify installed path for preload widget.
Soyoung Kim [Tue, 20 Nov 2012 06:18:20 +0000 (15:18 +0900)]
Modify installed path for preload widget.

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add db column for widget installed path at WidgetExtendedInfo
[SCMRequest] This commit should release with wrt-installer.

Change-Id: If213499637fef81ec9839f4ef24df370c8679e62

11 years agoMerge "Add share directory"
Hoseon LEE [Tue, 27 Nov 2012 06:49:56 +0000 (15:49 +0900)]
Merge "Add share directory"

11 years agoMerge "Add category element for manifest.xml"
Hoseon LEE [Tue, 27 Nov 2012 06:49:35 +0000 (15:49 +0900)]
Merge "Add category element for manifest.xml"

11 years agoAdd share directory
Soyoung Kim [Thu, 22 Nov 2012 02:51:16 +0000 (11:51 +0900)]
Add share directory

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] add share directory
[SCMRequest] N/A

Change-Id: Ic1955a09475ebb208c9647b62c07130c3828114e

11 years agoMerge "[Release] wrt-commons_0.2.75"
Hoseon LEE [Fri, 23 Nov 2012 13:34:47 +0000 (22:34 +0900)]
Merge "[Release] wrt-commons_0.2.75"

11 years agoNew packaging type added for installing widget directly from directory.
Andrzej Surdej [Wed, 21 Nov 2012 13:27:05 +0000 (14:27 +0100)]
New packaging type added for installing widget directly from directory.

[Issue#] LINUXNGWAP-572
[Problem] wrt-installer should support installing widget from directory,
not package.
[Cause] N/A
[Solution] Added new packaging type.
[Verification] Build repository.

Change-Id: I3c145976d88834963f3a2bcc2d2add3a25cde832

11 years ago[Release] wrt-commons_0.2.75
Taejeong Lee [Fri, 23 Nov 2012 13:00:04 +0000 (22:00 +0900)]
[Release] wrt-commons_0.2.75

11 years agoThrow an exception when pthread_key_create fails
Przemyslaw Ciezkowski [Fri, 23 Nov 2012 08:50:48 +0000 (09:50 +0100)]
Throw an exception when pthread_key_create fails

[Issue#] TWEB-427
[Feature] ThreadLocalVariable should not call Assert
when pthread_key_create fails
[Cause] Process gets SIGABORT when ThreadLocalVariable fails.
[Solution] Replace with exception, allow to catch it.

[Verification] Run iframes.wgt widget from wrt-extra repository.
WebProcess should not fail when counter in widget hits ~160.
Verification requires patch from plugins_common where this excepion is handled.

Change-Id: I7205afcaed091732f0233500e58d596fed1bdf4f

11 years agoSymbolic link pointed by GetVCoreDatabaseFilePath will be removed.
Bartlomiej Grzelewski [Wed, 21 Nov 2012 15:17:40 +0000 (16:17 +0100)]
Symbolic link pointed by GetVCoreDatabaseFilePath will be removed.

[Issue#]    LINUXSWAP-213
[Bug]       N/A
[Cause]     N/A
[Solution]  GetVCoreDatabaseFilePath points to database directly, now.

[Verification] build all repositories, tests for wrt-installer must pass
as before.

Change-Id: I398dea095ce1df341f9049b005f0c839bfdf66db

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 agoAdd category element for manifest.xml
Soyoung Kim [Fri, 9 Nov 2012 02:48:39 +0000 (11:48 +0900)]
Add category element for manifest.xml

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add category element at config.xml so modify parse.
Add app-control element instead of appservice. because appservice will be removed at manifest.xml.
[SCMRequest] this package should be imported with wrt-installer

Change-Id: I5c2658418476cd1b20fcc0209eda94e2018e9243

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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