platform/framework/web/wrt-commons.git
11 years agoImplement certificate confirm popup
leerang song [Tue, 26 Feb 2013 11:56:52 +0000 (20:56 +0900)]
Implement certificate confirm popup

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

Change-Id: I698485f3945deeade8de82d21b88061767275c67

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

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

Change-Id: Iede9100de7a3c94e7f45256d94599c4114281c04

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

[Issue#] LINUXWRT-71

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

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

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

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

Change-Id: I1abbea070fef250b456ac45b299cba3f2691464b

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

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

Change-Id: I4ef626b8b495509a9ad34ec06ab561cb4846dab9

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

Change-Id: Iac7679b500f150626643675743da6147dd7ef8e6

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

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

Change-Id: I23e55abcfc80dd499dd65e0777104e9f107f145f

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

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

Change-Id: I2d4b38ef966c62e7314ca374e8cdd1775ede350b

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

 * wrt-commons : Registration routine was added.

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

Change-Id: Idd0202f4664a0c4fc952a30526e716986a348b17

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

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

Change-Id: Ic69a1fe6b6950f786d6963ccbada3cf94de590db

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

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

Change-Id: Ie7c3a4fad47cc7aa029a1ead15770b0d9f4b8a2c

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

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

Change-Id: I61a5967964631d85d729114e544d345da74e785f

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

Change-Id: I0c561f28e1466041702fde5b65bd17d64ad83a6e

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

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

Change-Id: I1efe3251c6df8de11959b0a7503622e05aea94c2

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

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

Change-Id: I8986e3138a87440bd3d544c753deaa5066f37754

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

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

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

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

Change-Id: I150192e3f096307bf1a4a4cc2a12f6cf0c787d11

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

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

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

Change-Id: I848fdeeedbfc33c89f7c5346e9bf6e69d05d26a4

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

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

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

Change-Id: Id67e98e34da98a2639d8328255051347c4525f4c

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

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

Change-Id: I09e8be4b79dda7fe03818aeb869af3fb6fa73d74

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

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

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

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

Change-Id: I05270eaf8a78796ff59770005dba4f932ea453f0

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

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

Change-Id: Id45acc35305b41c49aca69840ecefe81ff441972

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

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

Change-Id: I596584b28b346eb871e9cec1861888eecbfee097

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

Change-Id: I28152abd536c38a75250e1c55d56e829b4faff9c

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

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

Change-Id: I6c0e8ef022bc9cc277a49998e7c00b8f189a9761

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

This reverts commit 19e65d3fdcde442f24e99d4df014d9ccb1bcb74e.

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

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

Change-Id: I7b519f6f24c2106d9b397410bd0d94fd0b8def07

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

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

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

[Verification] Successful compilation.

Change-Id: I97d18f94c751d14119efe02f7b84c3c142ab31d1

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

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

Change-Id: I9bf7f3262672e3367a0a57b03dc793a3672124ba

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

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

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

[Verification] Build the repository

Change-Id: I3ee7d6af0408b760a3af003e488c1e48dfaf0395

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

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

Change-Id: Ib57dc1a24398adf9b860df7bd680679a4d6c444d

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

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

Change-Id: Idfee10320ff474d5c8eee817215db3fb05777934

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

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

Change-Id: Id11fc2bdefddaead51c28a8a5c20f3452bf20d8c

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

Change-Id: I9af0398163e18f9318bedd929380d89a114dad25

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

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

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

[Verification] Successful compilation.

Change-Id: I6336c195ec3c7ec5b20360c239c93c9197698822

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

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

Change-Id: I35c332e7ebde48cc8efd7dc1e7949c7950f555ae

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

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

Change-Id: I2f1b01ba750a0d0f3ece0208c7919e71fc3d9273

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

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

Change-Id: Ieb54e1b6a692132222e72e7b41f0666d4a211afa

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

Change-Id: I465c919d756905651ff38c6317dcac6479fc2a1a

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

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

Change-Id: If7188a05879d095982fd6bb866f667e4b4d3c0ed

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

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

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

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

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

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

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

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

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

Change-Id: Idb5c4a2ed52626158f2ae0d64ca57cbafb836115

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

This reverts commit e6b7c0f4c2e379706c4ac51e127779b9591a73f3.

Change-Id: I05f0cd22990b789b0e7c2afa19d3daf1257817f5

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

This reverts commit 70be5ceaf442eac4105a0e45ea39a1b63bb67b0e.

Change-Id: Ia590d04ced8298127de2c8cd93ecc3d1b3233fba

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

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

Change-Id: I2d863fdb4a98393dd4a90479aa1883ecf1841981

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

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

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

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

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

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

Change-Id: I56e2ab5251c20ac2cacdc82be19fbed5bcde9542

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

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

Change-Id: Ia91f6f60c812436804842d9414274c4f9eea3e4d

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

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

See no regression is precentage of tests that passed

Change-Id: Iad468faeaefe315bedf25824b3f98e0d7c704a13

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

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

Change-Id: I272bc01cf1ed0a60d00a57f7a41d10b61a173544

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

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

Compatibility with GCC v 4.7 is required.

This commit fix problems with compilation GCC 4.7.

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

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

Change-Id: I78ef8c986dd811841605d0e1b18fc641343287e3

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

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

Change-Id: If76af2c0b9655260a8b35883bf693e30128cb66a

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

Change-Id: I3f14d23ee14d095dfebd0d8844cfcb19abbcdea4

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

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

Change-Id: I3875ab86a841ea7b8074b8936845cbdf45b7adc1

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

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

Change-Id: Ic3c5fa0b3ce6b943cf1ac949b3313d436ed4f8b0

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

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

Change-Id: Ic1145ec17f446c1ac2393211fc078791daa89afc

11 years agoRemoval of popup implementation
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

11 years ago[Release] wrt-commons_0.2.91 submit/trunk/20130110.102643
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" submit/trunk/20130108.042222
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 submit/trunk/20130108.041657
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 submit/trunk/20130102.020305
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 submit/trunk/20121229.050449
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 submit/trunk/20121228.114913
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 submit/trunk/20121228.084520
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 submit/trunk/20121228.054651
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 submit/trunk/20121221.080644
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 submit/trunk/20121220.070221
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 submit/trunk/20121216.001128
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."