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
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
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
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
Zbigniew Kostrzewa [Mon, 21 Jan 2013 13:40:09 +0000 (22:40 +0900)]
Merge "Support 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
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
Jihoon Chung [Wed, 16 Jan 2013 01:52:48 +0000 (10:52 +0900)]
[Release] wrt-commons_0.2.92
Change-Id: I3f14d23ee14d095dfebd0d8844cfcb19abbcdea4
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
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
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
Lukasz Marek [Wed, 12 Dec 2012 17:04:19 +0000 (18:04 +0100)]
Removal of popup implementation
[Issue#] N/A.
[Bug] N/A
[Cause] N/A
[Solution] Removal of unused popup API.
[Verification] Build all repositories (security-server is also advised) and optionally run any widget.
Change-Id: I6da11f153656b9e590eb825828833798c0a8e897
leerang song [Wed, 9 Jan 2013 09:06:32 +0000 (18:06 +0900)]
[Release] wrt-commons_0.2.91
Change-Id: I5efc2422d95c9117c59ba9db7768705dfe51d4c6
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
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
Hoseon LEE [Tue, 8 Jan 2013 04:16:56 +0000 (13:16 +0900)]
Merge "[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
Hoseon LEE [Tue, 8 Jan 2013 02:21:04 +0000 (11:21 +0900)]
Merge "Add app-control element."
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
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
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
Jihoon Chung [Wed, 2 Jan 2013 02:02:45 +0000 (11:02 +0900)]
[Release] wrt-commons_0.2.89
Change-Id: If735aae7d9b58b2fe28b688a5470ea7f8148e395
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
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
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
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
Jihoon Chung [Sat, 29 Dec 2012 05:04:25 +0000 (14:04 +0900)]
[Release] wrt-commons_0.2.88
Change-Id: Idd9dba95fd60f42f6f9d8a7d0a4553dad56285ab
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
Soyoung Kim [Fri, 28 Dec 2012 11:48:25 +0000 (20:48 +0900)]
[Release] wrt-commons_0.2.87
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
Soyoung Kim [Fri, 28 Dec 2012 08:43:36 +0000 (17:43 +0900)]
[Release] wrt-commons_0.2.86
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.
Soyoung Kim [Fri, 28 Dec 2012 05:10:21 +0000 (14:10 +0900)]
[Release] wrt-commons_0.2.85
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
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
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
lke01.lee [Fri, 21 Dec 2012 08:05:57 +0000 (17:05 +0900)]
[Release] wrt-commons_0.2.83
Change-Id: I04f8f04db3d81998289223a0776088a98601c572
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
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
Jihoon Chung [Thu, 20 Dec 2012 00:10:27 +0000 (09:10 +0900)]
[Release] wrt-commons_0.2.82
Change-Id: I60340200a3dd45921da97dbc92ff82fe7885ffcc
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
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
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
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
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
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
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
Jihoon Chung [Sun, 16 Dec 2012 00:11:06 +0000 (09:11 +0900)]
[Release] wrt-commons_0.2.81
Change-Id: I0746e6c7724e45a814597c8f6db6e5be9e1592b7
Hoseon LEE [Sun, 16 Dec 2012 00:06:05 +0000 (09:06 +0900)]
Merge "Fix 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
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
Jihoon Chung [Fri, 14 Dec 2012 01:32:21 +0000 (10:32 +0900)]
[Release] wrt-commons_0.2.80
Change-Id: I156406445c172b04dbb8df4b1b855677b23b5f1f
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
Jihoon Chung [Thu, 13 Dec 2012 02:26:04 +0000 (11:26 +0900)]
[Release] wrt-commons_0.2.79
Change-Id: I2d4963ac682136a0964108b6dfad47e8e034bfb6
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
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
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
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
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
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
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
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
Jihoon Chung [Mon, 10 Dec 2012 01:21:24 +0000 (10:21 +0900)]
[Release] wrt-commons_0.2.78
Change-Id: I5662c36253706c1089d3481a4e3c7cee691f3d6a
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
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
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
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
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
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
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
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
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
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
Soyoung Kim [Fri, 30 Nov 2012 08:54:13 +0000 (17:54 +0900)]
[Release] wrt-commons_0.2.76
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.
Soyoung Kim [Fri, 30 Nov 2012 08:37:22 +0000 (17:37 +0900)]
Revert "Pkgname (tizen id) - not null"
This reverts commit
1800f55be353602203725d82c392f5af0c98e3c8.
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
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
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
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
Hoseon LEE [Tue, 27 Nov 2012 06:49:56 +0000 (15:49 +0900)]
Merge "Add share directory"
Hoseon LEE [Tue, 27 Nov 2012 06:49:35 +0000 (15:49 +0900)]
Merge "Add category element for manifest.xml"
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
Hoseon LEE [Fri, 23 Nov 2012 13:34:47 +0000 (22:34 +0900)]
Merge "[Release] wrt-commons_0.2.75"
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
Taejeong Lee [Fri, 23 Nov 2012 13:00:04 +0000 (22:00 +0900)]
[Release] wrt-commons_0.2.75
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
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
Jihoon Chung [Fri, 23 Nov 2012 01:13:40 +0000 (10:13 +0900)]
[Release] wrt-commons_0.2.74
Change-Id: I29b37449b56b3f3c0ce604584e77664d47c72d02
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
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
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
Jihoon Chung [Thu, 22 Nov 2012 11:49:14 +0000 (20:49 +0900)]
[Release] wrt-commons_0.2.73
Change-Id: I40c5c30da75d1ba629f8d79490ee98da836c6c79
Hoseon LEE [Thu, 22 Nov 2012 11:44:21 +0000 (20:44 +0900)]
Merge "Implement security settings in the widgetDAO"
Hoseon LEE [Thu, 22 Nov 2012 11:44:06 +0000 (20:44 +0900)]
Merge "Implement security origin dao for setting menu"
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
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
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
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
Soyoung Kim [Tue, 13 Nov 2012 08:17:31 +0000 (17:17 +0900)]
[Release] wrt-commons_0.2.72