Bartlomiej Grzelewski [Wed, 6 Feb 2013 14:50:49 +0000 (15:50 +0100)]
Fix to test framework.
Add option allowChildLogs in test framework.
Adopt method name to DPL convention.
Change SIGINT to SIGKILL in RUNNER_CHILD framework.
[Issue#] N/A
[Cause] Child process closes 1 and 2 descriptor after fork.
[Soution] Add allowChildLogs option.
[Problem] Logs from child process was not printed on screen.
[Verification] Successful compilation.
Change-Id: I97d18f94c751d14119efe02f7b84c3c142ab31d1
Tomasz Iwanek [Thu, 7 Feb 2013 10:23:01 +0000 (11:23 +0100)]
Compilation warnings. Part 2
[Issue#] LINUXWRT-6
[Bug] Compilation warnings
[Cause] N/A
[Solution] Remvoe them
[Verification] Build repository
Change-Id: I9bf7f3262672e3367a0a57b03dc793a3672124ba
Pawel Sikorski [Wed, 6 Feb 2013 12:53:31 +0000 (13:53 +0100)]
Source code formating unification
[Issue#] N/A
[Problem] Source code was not formatted to any rules. In this situation
creating new patches or making review may become uncomfortable.
[Cause] No formatting rules/tool used.
[Solution] To make implementation and review process more comfortable,
whole commons repository source code has been formatted with uncrustify tool.
The configuration of the tool is located in the repository (./uncrustify.cfg).
Command used (stored in uncrustify.sh):
uncrustify -c ./uncrustify.cfg --no-backup `find . -regex
"\(.*\.cpp\|.*\.h\|.*\.c\|.*\.cc\)" | grep -v
"orm.h\|orm_generator.h\|3rdpartyi\|examples"`
[Verification] Build the repository
Change-Id: I3ee7d6af0408b760a3af003e488c1e48dfaf0395
Soyoung Kim [Fri, 8 Feb 2013 06:17:42 +0000 (15:17 +0900)]
Add function get appid from pkgid
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add to get appid form pkgid
[SCMRequest] N/A
Change-Id: Ib57dc1a24398adf9b860df7bd680679a4d6c444d
Tomasz Iwanek [Tue, 5 Feb 2013 14:00:37 +0000 (15:00 +0100)]
Compilation warnings. Deprecated code. Part 1
[Issue#] LINUXWRT-6
[Bug] Compilation warnings
[Cause] N/A
[Solution] Remove them
[Verification] Build repository. Run dao tests and dpl tests. Other repositories should be able to be built: wrt-installer,wrt-plugins-common,wrt
Change-Id: Idfee10320ff474d5c8eee817215db3fb05777934
Tomasz Iwanek [Tue, 5 Feb 2013 12:47:37 +0000 (13:47 +0100)]
wrt_commons_reset.sh fix
[Issue#] N/A
[Bug] Cleaning file system fails
[Cause] N/A
[Solution] N/A
[Verification] Install widget. Run script. Check if associated directory (pkgId) was removed
Change-Id: Id11fc2bdefddaead51c28a8a5c20f3452bf20d8c
Taejeong Lee [Wed, 6 Feb 2013 12:33:42 +0000 (21:33 +0900)]
[Release] wrt-commons_0.2.97
Change-Id: I9af0398163e18f9318bedd929380d89a114dad25
Bartlomiej Grzelewski [Fri, 1 Feb 2013 16:17:44 +0000 (17:17 +0100)]
Support for "process per testcase" framework.
Test defined in macro RUNNER_CHILD_TEST will be run
in child process.
[Issue#] SSDWSSP-62
[Problem] Some test must be run in child process.
[Cause] N/A
[Solution] Add new framework to test.
[Verification] Successful compilation.
Change-Id: I6336c195ec3c7ec5b20360c239c93c9197698822
Andrzej Surdej [Fri, 25 Jan 2013 11:30:56 +0000 (12:30 +0100)]
Prepare database to support CSP policy for whole widget.
[Issue#] LINUXWRT-34
[Problem] Support for csp policy.
[Cause] N/A
[Solution] Prepared .wrt.db, widgetDAO and tests for csp handling.
[Verification] To verify build repo and run wrt-tests-dao. Two new tests
regarding csp should pass.
Change-Id: I35c332e7ebde48cc8efd7dc1e7949c7950f555ae
Lukasz Marek [Fri, 1 Feb 2013 16:09:44 +0000 (17:09 +0100)]
minizip prevent issues fixes
[Issue#] N/A
[Problem] Prevent issued some core in minizip module
[Cause] N/A
[Solution] Fixed
Change-Id: I2f1b01ba750a0d0f3ece0208c7919e71fc3d9273
Yunchan Cho [Sat, 2 Feb 2013 07:57:41 +0000 (16:57 +0900)]
Change DPL::WaitableHandleWatchSupport's destructor not to call DPL:Aassert explicitly.
[Issue#] N_SE-23934
[Problem] When chatter, SDK sample webapp, is closed, chatter's Web Process is asserted
[Cause] DPL::WaitableHandleWatchSupport's destructor call assert if its map container has any instance.
[Solution] DPL::WaitableHandleWatchSupport's destructor doesn't call assert function explicitly in any case.
Even if its map container has any instance, destructor of map container releases existing instances in it automatically.
Change-Id: Ieb54e1b6a692132222e72e7b41f0666d4a211afa
Yunchan Cho [Wed, 30 Jan 2013 08:10:04 +0000 (17:10 +0900)]
[Release] wrt-commons_0.2.96
Change-Id: I465c919d756905651ff38c6317dcac6479fc2a1a
Yunchan Cho [Fri, 25 Jan 2013 11:14:11 +0000 (20:14 +0900)]
Add specific fields to config parser struct for livebox
[Issue#] N/A
[Problem] There is no fields for saving parsed mouse-event of <tizen:box-content> and type of <tizen:livebox>
[Cause] N/A
[Solution] Two fields for this are added to config parser struct
Change-Id: If7188a05879d095982fd6bb866f667e4b4d3c0ed
Soyoung Kim [Mon, 28 Jan 2013 08:44:32 +0000 (17:44 +0900)]
[Release] wrt-commons_0.2.95
Soyoung Kim [Mon, 28 Jan 2013 07:45:09 +0000 (16:45 +0900)]
Change pkgname to appid Part 3.
[Issue#] N/A
[Problem] if there is space in appid, widget installation failed.
[Cause] N/A
[Solution] add function to trim space.
[SCMRequest] N/A
Soyoung Kim [Thu, 24 Jan 2013 06:29:18 +0000 (15:29 +0900)]
change pkgname to appid PART 2.
[Issue#] N/A
[Problem] remain pkgname in script
[Cause] N/A
[Solution] fixed pkgname to appid in wrt_commons_reset_db.sh
[SCMRequest] N/A
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.
Taejeong Lee [Fri, 25 Jan 2013 13:34:19 +0000 (22:34 +0900)]
[Release] wrt-commons_0.2.94
Change-Id: Idb5c4a2ed52626158f2ae0d64ca57cbafb836115
Taejeong Lee [Fri, 25 Jan 2013 12:51:00 +0000 (21:51 +0900)]
Revert "Change pkgname to appid and add package id PART 1."
This reverts commit
e6b7c0f4c2e379706c4ac51e127779b9591a73f3.
Change-Id: I05f0cd22990b789b0e7c2afa19d3daf1257817f5
Taejeong Lee [Fri, 25 Jan 2013 12:50:29 +0000 (21:50 +0900)]
Revert "change pkgname to appid PART 2."
This reverts commit
70be5ceaf442eac4105a0e45ea39a1b63bb67b0e.
Change-Id: Ia590d04ced8298127de2c8cd93ecc3d1b3233fba
Zbigniew Kostrzewa [Thu, 24 Jan 2013 09:57:55 +0000 (10:57 +0100)]
Fix build break in tests after API has been changed.
[Issue#] N/A
[Problem] Build break in Widget DAO related test cases.
[Cause] WidgetDAO API has been modified.
[Solution] Adjust to API changes.
[SCMRequest] N/A
[Verification]
1. Build repository (with tests).
2. Run DPL and DAO tests.
Change-Id: I2d863fdb4a98393dd4a90479aa1883ecf1841981
Soyoung Kim [Thu, 24 Jan 2013 06:55:20 +0000 (15:55 +0900)]
[Release] wrt-commons_0.2.93
Soyoung Kim [Thu, 24 Jan 2013 06:29:18 +0000 (15:29 +0900)]
change pkgname to appid PART 2.
[Issue#] N/A
[Problem] remain pkgname in script
[Cause] N/A
[Solution] fixed pkgname to appid in wrt_commons_reset_db.sh
[SCMRequest] N/A
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