platform/core/api/webapi-plugins.git
10 years ago[Notification] Fix TCT update - not posted notification
Pawel Kaczmarek [Tue, 24 Mar 2015 08:16:02 +0000 (09:16 +0100)]
[Notification] Fix TCT update - not posted notification

[Verification]
TCT NotificationManager_update_notposted - should pass

Change-Id: I4c7bf53fdce8077939d0330a062b9a0bf1d93dd8
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
10 years agobuild error - remove 'wrt-plugins-ipc-message'
Hyunjin Park [Tue, 24 Mar 2015 04:44:29 +0000 (13:44 +0900)]
build error - remove 'wrt-plugins-ipc-message'
'wrt-plugins-ipc-message' is deleted in tizen 2.4

Change-Id: I769cf3cbf0f12f292d4039710845df7822707e75

10 years agoMerge "[Application] Fix for launchAppControl and error handling." into tizen_2.4
pius lee [Mon, 23 Mar 2015 15:51:18 +0000 (00:51 +0900)]
Merge "[Application] Fix for launchAppControl and error handling." into tizen_2.4

10 years ago[Content] TCT tests fixes
Wojciech Kosowicz [Mon, 23 Mar 2015 15:03:12 +0000 (16:03 +0100)]
[Content] TCT tests fixes

Fixed throwing errors in playlist methods. Added releaseDate for
video elements

[Verification] All tests passed 230/230
Change-Id: I62007eb557294e775a9283e90f1454a6ebeb6824
Signed-off-by: Wojciech Kosowicz <w.kosowicz@samsung.com>
10 years ago[Content] getDirectories() fix
Rafal Galka [Mon, 23 Mar 2015 14:42:21 +0000 (15:42 +0100)]
[Content] getDirectories() fix

[Verification]
ContentDirectory_modifiedDate_attribute
and other ContentDirectory_* tests should pass

Change-Id: I63e9f842908c31504cb204fbf0dadbc11238ffbd

10 years ago[Content] Playlist tct fixes
Wojciech Kosowicz [Mon, 23 Mar 2015 10:05:02 +0000 (11:05 +0100)]
[Content] Playlist tct fixes

[Verification] 225/230 tct tests passed

Change-Id: I5384aa9f70dc22b4ed6800de18e4b9805fae9715
Signed-off-by: Wojciech Kosowicz <w.kosowicz@samsung.com>
10 years ago[Notification] Fix checking paths
Pawel Kaczmarek [Mon, 23 Mar 2015 12:21:56 +0000 (13:21 +0100)]
[Notification] Fix checking paths

[Verification]
Related TCT should pass

Change-Id: I7e9fcdc8d2cc72031f608ad1a0f19ffdc8be2ef4
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
10 years ago[Content] TCT fixes
Rafal Galka [Mon, 23 Mar 2015 12:53:19 +0000 (13:53 +0100)]
[Content] TCT fixes

[Verification]
Following tests should pass:
- ContentManager_find_with_sortMode
- AudioContent_lyrics_attribute
- AudioContentLyrics_extend
- AudioContentLyrics_type_attribute
- AudioContentLyrics_timestamps_attribute
- AudioContentLyrics_texts_attribute
- Playlist_thumbnailURI_attribute

Change-Id: I830b01af0bd6e41d2f8be6ce9562ad379c0f12cd

10 years ago[Content] Playlist fixes
Wojciech Kosowicz [Fri, 20 Mar 2015 14:40:13 +0000 (15:40 +0100)]
[Content] Playlist fixes

[Verification] 202/230 tests passed
Change-Id: I3dec19f796db5c60be1fd8f8514c4830fb2486f2
Signed-off-by: Wojciech Kosowicz <w.kosowicz@samsung.com>
10 years ago[Content] TCT fixes
Rafal Galka [Fri, 20 Mar 2015 14:24:03 +0000 (15:24 +0100)]
[Content] TCT fixes

[Verification]
Following tests should pass:
- ContentManager_updateBatch
- ContentManager_find_nullableArgs
- ContentDirectoryArraySuccessCallback_onsuccess
- Content_thumbnailURIs_attribute
- Content_rating_attribute
- ContentManager_unsetChangeListener
- AudioContent_genres_attribute

Change-Id: I36ab340d118c92357571fbe887761e2631af0cd2

10 years ago[Content] JavaScript Datatypes
Wojciech Kosowicz [Thu, 19 Mar 2015 17:58:53 +0000 (18:58 +0100)]
[Content] JavaScript Datatypes

[Verification] Attributes tests should pass

Change-Id: I1db4d0937271a3b122e0b3dbdb411fd0b2c87344
Signed-off-by: Wojciech Kosowicz <w.kosowicz@samsung.com>
10 years ago[content] TCT fixes after js refactoring
Rafal Galka [Thu, 19 Mar 2015 15:23:22 +0000 (16:23 +0100)]
[content] TCT fixes after js refactoring

[Verification]
TCT 2.4 result: 113/230

Change-Id: Ie3e8c79de738be2d65e81aed7e2da9c0c0fa6132

10 years ago[content] js refactoring
Rafal Galka [Thu, 19 Mar 2015 13:58:55 +0000 (14:58 +0100)]
[content] js refactoring

[Verification]
TCT 2.4 result: 85/230

Change-Id: I34f146a4a2c112512e18af85685c06fe127b490a

10 years ago[Content] Added update of image orientation
Rafal Galka [Fri, 20 Mar 2015 14:30:41 +0000 (15:30 +0100)]
[Content] Added update of image orientation

[Verification] Following tct tests should pass:
               ContentManager_update_image_orientation
               ContentManager_updateBatch_image_orientation

Change-Id: I6761d4231368ad67beac60c01204ee66f1a87529
Signed-off-by: Wojciech Kosowicz <w.kosowicz@samsung.com>
10 years ago[Notification] post fix
Ryszard Matuszyk [Thu, 19 Mar 2015 10:12:47 +0000 (11:12 +0100)]
[Notification] post fix

[Verification] TCT 85/77 with modified TestNotification.js

Change-Id: I13c83cbf2cfc7474849cacae0d25dc0820717046
Signed-off-by: Ryszard Matuszyk <r.matuszyk@samsung.com>
10 years ago[SystemSettings] Proper error handling
Kamil Lysik [Tue, 17 Mar 2015 14:40:44 +0000 (15:40 +0100)]
[SystemSettings] Proper error handling

This module handled errors in invalid way.
Module should invoke util's getErrorObject.

This commit is required to Tizen TCT.

Change-Id: I73520b58d1800be74034ef3a1cbec8ae919d8678
Signed-off-by: Kamil Lysik <k.lysik@samsung.com>
10 years ago[Content] Implemented native filtering
Wojciech Kosowicz [Tue, 17 Mar 2015 09:42:15 +0000 (10:42 +0100)]
[Content] Implemented native filtering

Implemented filtering and also some small fixes for tct

[Verification] If media content available 194 tests
               pass
Change-Id: I89fd8cd06e5b463197ee8dd0c2fd398c6daa7010
Signed-off-by: Wojciech Kosowicz <w.kosowicz@samsung.com>
10 years ago[Common] Added method capable of checking multiple privileges at once.
Pawel Andruszkiewicz [Thu, 19 Mar 2015 14:06:18 +0000 (15:06 +0100)]
[Common] Added method capable of checking multiple privileges at once.

Change-Id: I03b7964373ec6e56a5e62645a2c3e0e373a631b8

10 years ago[Messaging] Removed throw/try/catch.
Pawel Andruszkiewicz [Mon, 9 Feb 2015 14:58:25 +0000 (15:58 +0100)]
[Messaging] Removed throw/try/catch.

This commit consists of:
31e6edf [Messaging] Remove throw/try/catch from sendMessage().
1305c3d [Messaging] Remove throw/try/catch from loadMessageBody().
7a5c041 [Messaging] Remove throw/try/catch from getMessageServices().
b2e6686 [Messaging] Removed try/catch from addDraft method
fcda037 [Messaging] Remove throw/try/catch from loadMessageAttachment().
e50e5ec [Messaging] Remove throw/try/catch from sync().
409d9ab [Messaging] Remove throw/try/catch from syncFolder().
e222f4d [Messaging] Remove throw/try/catch from stopSync().
bfe0dd4 [Messaging] updateMessages and removeMessages refactored
10ad44d [Messaging] findMessages() refactored for Emails.
97fe5f7 [Messaging] try/catch removed from findConversations()
0cdd325 [Messaging] removeConversations and findFolders refactored
6e9f3d1 [Messaging] Filters refactored to not use throw
4f0aacb [Messaging] - Removing try and catch in MessageStorage
a90d5a9 [Messaging] remove try/catch next part
1723e3d [Messaging] refactored throws and error-related TODOs
0800313 [Messaging] Refactored callback cleaning and removed checking type in C++
01d4818 [Messaging] picojson .at() calls wrapped with if
9dc5931 [Messaging] Removing throws from ithe email manager constructor
7264508 [Messaging] - Checking service type in JS
ee97991 [Messaging] - Removing try and catch from DBus ditectory
64c13f7 [Messaging] Removed throws from filters.

MessagingEmail pass rate: 100%
MessagingMMS pass rate:   100%
MessagingSMS pass rate:   100%

Change-Id: I4422236b59725ed6704a02b57f0ecda721f5809e
(cherry picked from commit 101612406b8beed50fa8b878b11631920478184c)

10 years ago[Systeminfo] DeviceOrientation property changed to use sensor api
Piotr Kosko [Tue, 10 Mar 2015 11:14:53 +0000 (12:14 +0100)]
[Systeminfo] DeviceOrientation property changed to use sensor api

[Feature] Removed DBUS implementation and changed to sensor API.

[Verification] getProperty and add listener features work fine.

Change-Id: Ieaab9d779025ae81d394e64625b90af15e842f8d
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
(cherry picked from commit 7ebc432f658b06fbc61ee870d100c65ae3f102cc)

10 years ago[MediaKey] Media Key plugin implementation
Piotr Czaja [Tue, 3 Feb 2015 13:22:24 +0000 (14:22 +0100)]
[MediaKey] Media Key plugin implementation

Change-Id: I8809fffcdc9f26056891f079578ccad24cfb784e
Signed-off-by: Piotr Czaja <p.czaja@samsung.com>
(cherry picked from commit 4fa8e41737600982834f219cd71e03fac9acc031)

10 years ago[Messaging] Restore function used to set mimeType.
Tomasz Marciniak [Thu, 19 Mar 2015 14:06:57 +0000 (15:06 +0100)]
[Messaging] Restore function used to set mimeType.

[Verification] Code compiles without errors.

Change-Id: I8485f7fca3b26b4ee40ee33fe75da7c823b4f89d
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
(cherry picked from commit 3ba5663281a25a3fc8f3bd18543fd407174fd96e)

10 years ago[Application] Fix for launchAppControl and error handling.
Kamil Lysik [Wed, 18 Mar 2015 09:25:51 +0000 (10:25 +0100)]
[Application] Fix for launchAppControl and error handling.

Error handling should be implemented using utils's getErrorObject.

launchAppControl should call error callback with NotFoundException
when applcation's ID cannot be found (instead of 'rejected').

Change-Id: I204f7f647d787975abf1d824e699efad72dd09a1
Signed-off-by: Kamil Lysik <k.lysik@samsung.com>
10 years ago[Common] Added mechanism to check privileges from JS code.
Pawel Andruszkiewicz [Thu, 19 Mar 2015 10:20:50 +0000 (11:20 +0100)]
[Common] Added mechanism to check privileges from JS code.

Change-Id: I520da2250db9606f62c851cd6d8067bfba2d354e

10 years ago[Notification] remove
Ryszard Matuszyk [Tue, 17 Mar 2015 12:39:50 +0000 (13:39 +0100)]
[Notification] remove

[Verification] Build required

Change-Id: If37fdae1c7042c56e5e9b203f781adad4c91d116
Signed-off-by: Ryszard Matuszyk <r.matuszyk@samsung.com>
10 years ago[Notification] post
Ryszard Matuszyk [Tue, 17 Mar 2015 08:55:45 +0000 (09:55 +0100)]
[Notification] post

[Verification] TCT 85/69 with modified TestNotification.js

Change-Id: Ibf9c992ca7105928fcef36d43466a00e1ba87767
Signed-off-by: Ryszard Matuszyk <r.matuszyk@samsung.com>
10 years ago[Notification] getAll
Ryszard Matuszyk [Tue, 17 Mar 2015 12:11:44 +0000 (13:11 +0100)]
[Notification] getAll

[Verification] Build required

Change-Id: I2512e66dca6082a791710afef020b6c686cc578f
Signed-off-by: Ryszard Matuszyk <r.matuszyk@samsung.com>
10 years ago[Common] Implementation of security access checks.
Pawel Andruszkiewicz [Tue, 17 Mar 2015 15:08:45 +0000 (16:08 +0100)]
[Common] Implementation of security access checks.

Change-Id: I7d0460d274e957487a6fa54a21f4caa73525f311

10 years ago[Utils] Moving method repackFilter to utils
Wojciech Kosowicz [Tue, 17 Mar 2015 13:00:24 +0000 (14:00 +0100)]
[Utils] Moving method repackFilter to utils

This method is used by Calendar, Contact, Content when dealing with
filter therefore it was moved to utils

[Verification] Calendar, Contact tct without changes

Change-Id: I58448ee35924531ccfc9e4cbfe1cf6d391c60e27
Signed-off-by: Wojciech Kosowicz <w.kosowicz@samsung.com>
10 years ago[NFC] HCE initial JS part
Pawel Kaczmarek [Mon, 16 Mar 2015 15:02:42 +0000 (16:02 +0100)]
[NFC] HCE initial JS part

[Verification]
TCT without change 91/91

Change-Id: I57234eb7a18072b10a5489b1516a8b1e0149901c
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
10 years ago[Notification] removeAll
Ryszard Matuszyk [Tue, 17 Mar 2015 10:44:18 +0000 (11:44 +0100)]
[Notification] removeAll

[Verification] Build required

Change-Id: I91eb560d72ba302019ceac70ade55b0c96ab83f1
Signed-off-by: Ryszard Matuszyk <r.matuszyk@samsung.com>
10 years ago[Common] Switched back to asynchronous calls in Archive and Messaging.
Pawel Andruszkiewicz [Mon, 16 Mar 2015 14:47:32 +0000 (15:47 +0100)]
[Common] Switched back to asynchronous calls in Archive and Messaging.

Change-Id: I7af4c81f6bf8a21b6e9f09acabbdceebc907e43f

10 years ago[Notification] Fix multiple TCT
Pawel Kaczmarek [Mon, 16 Mar 2015 13:20:29 +0000 (14:20 +0100)]
[Notification] Fix multiple TCT

[Verification]
TCT result should be much better with this patch
Tested with fake response data.

Change-Id: Ic0f5d0b3849fdb47b4a41b907bf906cc74398610
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
10 years ago[Notification] get
Ryszard Matuszyk [Fri, 13 Mar 2015 12:52:15 +0000 (13:52 +0100)]
[Notification] get

[Verification] Build required

Change-Id: Id3ba2e6782226fb6ba796afffb7601a2852e2778
Signed-off-by: Ryszard Matuszyk <r.matuszyk@samsung.com>
10 years ago[tizen] WebAPI{Exception|Error} constructors exported into global scope.
Rafal Galka [Mon, 16 Mar 2015 09:44:07 +0000 (10:44 +0100)]
[tizen] WebAPI{Exception|Error} constructors exported into global scope.

For compliance reasons constructors should not be exported into tizen namespace,
but should be available internally to allow throwing exceptions from modules.

Change related to http://168.219.209.56/gerrit/#/c/23472/

[Verification] TCT pass rate:
- tizen 77/81 (all WebAPIException related TCs should pass)
- other modules - results without change

Change-Id: I58e5dc9932b24afc8516a37564ac1497618e709f

10 years ago[Notification] JS API part
Pawel Kaczmarek [Fri, 13 Mar 2015 15:58:23 +0000 (16:58 +0100)]
[Notification] JS API part

[Verification]
TCT 44/85

Change-Id: I83552009ad636c50f026ae70e311a44c0f3c58bd
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
10 years ago[nfc] Fixes that check whether listeners are set
Grzegorz Rynkowski [Thu, 12 Mar 2015 12:46:56 +0000 (13:46 +0100)]
[nfc] Fixes that check whether listeners are set

Verification:
TCT result after the fix should be the same to before the fix -
100% pass (91/91).

Change-Id: Ie95be6ff7e3d05198609f0932208f01d8bef67c9
Signed-off-by: Grzegorz Rynkowski <g.rynkowski@samsung.com>
10 years ago[Power] Remove try/catch
Tomasz Iwanek [Tue, 10 Mar 2015 12:00:47 +0000 (13:00 +0100)]
[Power] Remove try/catch

Change-Id: I641e61e5769e7cef10277be3c734b0c68e530e60
Signed-off-by: Tomasz Iwanek <t.iwanek@samsung.com>
10 years ago[Tizen] Protect constructor calls. Add error codes to WebAPIException
Kamil Lysik [Wed, 11 Mar 2015 11:28:06 +0000 (12:28 +0100)]
[Tizen] Protect constructor calls. Add error codes to WebAPIException

Also SimpleCoordinates boundary values check was fixed.

[Verification]
TCT passrate: 74/81

Change-Id: I4f8f55085ea40f5169f0193eaa4fa1500c569ed7
Signed-off-by: Kamil Lysik <k.lysik@samsung.com>
10 years agoMerge branch 'devel/master' into tizen_2.4
pius.lee [Thu, 12 Mar 2015 11:11:11 +0000 (20:11 +0900)]
Merge branch 'devel/master' into tizen_2.4

Change-Id: I8a6458124ac9459dd49503ad1b1f503720b51d87

10 years ago[Utils] Add createException, createError Factory function to Utils
pius.lee [Tue, 10 Mar 2015 11:23:41 +0000 (20:23 +0900)]
[Utils] Add createException, createError Factory function to Utils

Change-Id: I0cad2180d144af3711e5a03fb79185bc31aa3d1b
Signed-off-by: pius.lee <pius.lee@samsung.com>
10 years ago[Filesystem] Fix File.fullPath property. Fix virtual path resolving
Kamil Lysik [Tue, 10 Mar 2015 10:59:17 +0000 (11:59 +0100)]
[Filesystem] Fix File.fullPath property. Fix virtual path resolving

File.fullPath property returned real path that is not expected.
This property should return virtual path.
Moreover, cacheRealToVirtual was removed as obsolete.

[Verification]
TCT tests should pass.
File.fullPath property should return virtual root path.

Change-Id: I8cd712e0830e38e7823bcb8b902830385d2b24cb
Signed-off-by: Kamil Lysik <k.lysik@samsung.com>
10 years agobuild error fix - change capi-system-power to deviced
Hyunjin Park [Thu, 12 Mar 2015 09:03:32 +0000 (18:03 +0900)]
build error fix - change capi-system-power to deviced

Change-Id: Id5ed71e5b7105a4d355405107ae63208524be0a1

10 years ago[SystemInfo] Added CAMERA_FLASH property
Wojciech Kosowicz [Fri, 27 Feb 2015 13:34:56 +0000 (14:34 +0100)]
[SystemInfo] Added CAMERA_FLASH property

CAMERA_FLASH property was added in accordance with
http://168.219.209.56/gerrit/#/c/18933/
This is initial commit as still there are issues of WIDL that
have to be resolved

Change-Id: Ibaaf88a46eb72830ff05b210c692e53387287683
Signed-off-by: Wojciech Kosowicz <w.kosowicz@samsung.com>
10 years ago[Sensor] Added implementation of HRM_RAW to C++.
Pawel Andruszkiewicz [Tue, 3 Mar 2015 07:12:15 +0000 (08:12 +0100)]
[Sensor] Added implementation of HRM_RAW to C++.

Change-Id: I886a2ec97122f15b4bbd598bc7884fea43dabca9

10 years agoAsync calls performed by sendSyncMessage
Rafal Galka [Tue, 3 Mar 2015 07:59:31 +0000 (08:59 +0100)]
Async calls performed by sendSyncMessage

[Message] Changes related to:
http://168.219.209.56/gerrit/#/c/15196

[Verification]
TCT results without change.

Change-Id: Ifad63fba9fe4453053e5472211f8791383a1c29e

10 years ago[Common] Async calls performed by sendSyncMessage
Rafal Galka [Mon, 12 Jan 2015 10:04:29 +0000 (11:04 +0100)]
[Common] Async calls performed by sendSyncMessage

[Message] This allows to handle exceptions thrown
before async operation starts (eg. SecurityException).

This patch replaces:
http://168.219.209.56/gerrit/#/c/14446/
http://168.219.209.56/gerrit/#/c/14479/

Change-Id: Ifac6f168580fa4209741ff5f8b4f8a219820d7ef

10 years ago[Sensor] Refactoring of SensorData to allow inheritance.
Pawel Andruszkiewicz [Thu, 26 Feb 2015 14:51:26 +0000 (15:51 +0100)]
[Sensor] Refactoring of SensorData to allow inheritance.

Change-Id: I3df7f73b89b365cece131164674970bed7424d83

10 years ago[Sensor] Added implementation of HRM_RAW to JS.
Pawel Andruszkiewicz [Thu, 26 Feb 2015 09:25:25 +0000 (10:25 +0100)]
[Sensor] Added implementation of HRM_RAW to JS.

Change-Id: Idcf0cbfc2057c88d3f15dc7bc914b83dd9bbbb20

10 years ago[NFC] Remove try/catch to adjust to google coding style - part 5
Lukasz Bardeli [Tue, 10 Mar 2015 10:41:59 +0000 (11:41 +0100)]
[NFC] Remove try/catch to adjust to google coding style - part 5

Change-Id: I110cb21f69555670624f3347492b5a32b1159058
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
10 years ago[NFC] Remove try/catch to adjust to google coding style - part 4.
Lukasz Bardeli [Mon, 9 Mar 2015 08:56:07 +0000 (09:56 +0100)]
[NFC] Remove try/catch to adjust to google coding style - part 4.

[Verification] Code compiles without error.

Change-Id: Id7c5324a99c65432aede0bfa034413fba1a141af
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
10 years ago[Alarm] Changed alarm.id property to be read only.
Tomasz Marciniak [Tue, 10 Mar 2015 13:27:53 +0000 (14:27 +0100)]
[Alarm] Changed alarm.id property to be read only.

[Verification] Code compiles without errors.
alarm.id property cannot be changed now.

Change-Id: I5284361905945749a313bdb92c7bb965d855b4db
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
10 years agoMerge "[Media Content] bug fixed for TCT" into devel/master
Jinwoo Jeong [Wed, 11 Mar 2015 05:25:36 +0000 (14:25 +0900)]
Merge "[Media Content] bug fixed for TCT" into devel/master

10 years ago[Media Content] bug fixed for TCT
Dongyoung Kim [Wed, 11 Mar 2015 04:53:47 +0000 (13:53 +0900)]
[Media Content] bug fixed for TCT

Change-Id: I1c528eeac0f07b683b700852b0b40006cbd61ee2

10 years ago[Filesystem] Add detection to invalid virtual paths.
Kamil Lysik [Mon, 9 Mar 2015 15:22:43 +0000 (16:22 +0100)]
[Filesystem] Add detection to invalid virtual paths.

Not all cases of invalid virtual path was handled.
This commit introduces detection of invalid path
and updates to all virtual path resolve occurences.

[Verification]
Test File_moveTo_with_path_invalid should pass.

Change-Id: I9be07699737a7f30b8db63c86084dc2f150108bb
Signed-off-by: Kamil Lysik <k.lysik@samsung.com>
10 years ago[Notification] Manager initial commit
Ryszard Matuszyk [Tue, 10 Mar 2015 09:50:48 +0000 (10:50 +0100)]
[Notification] Manager initial commit

[Verification] Build required

Change-Id: I39935d71d8f74b553fb8d10cb1fbe0b7b04cabd0
Signed-off-by: Ryszard Matuszyk <r.matuszyk@samsung.com>
10 years ago[NFC] Fix type_
Pawel Kaczmarek [Tue, 10 Mar 2015 10:07:34 +0000 (11:07 +0100)]
[NFC] Fix type_

{verification]
TCT without change 91/91

Change-Id: I014b34bd37940fa2c5babe6bee15f97d6eb97e78
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
10 years ago[NFC] Fix JS code style
Pawel Kaczmarek [Tue, 10 Mar 2015 08:42:30 +0000 (09:42 +0100)]
[NFC] Fix JS code style

[Verification]
TCT without change 91/91

Change-Id: I5eb17fa906da8e1763fff5d663c8aa8620488fd7
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
10 years ago[Alarm] Added some fixes for return result and conditions.
Tomasz Marciniak [Mon, 9 Mar 2015 14:35:26 +0000 (15:35 +0100)]
[Alarm] Added some fixes for return result and conditions.

[Verification] Code compiles without errors.

Change-Id: I145bc8bece371bf7e37d3e0b7fb56b1fcf8d4e19
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
10 years ago[Alarm] Added AlarmRelative/Absolute methods implementation.
Tomasz Marciniak [Mon, 9 Mar 2015 13:00:28 +0000 (14:00 +0100)]
[Alarm] Added AlarmRelative/Absolute methods implementation.

[Feature] Added getRemainingSeconds() and
getNextScheduledDate() methods implementation.

Change-Id: I58b2f11fd0a00795fc5db2f6c5a7468510474488
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
10 years ago[Alarm] Added Get/GetAll methods implementation.
Tomasz Marciniak [Mon, 9 Mar 2015 08:23:49 +0000 (09:23 +0100)]
[Alarm] Added Get/GetAll methods implementation.

[Verification] Code compiles without errors.
Alarms can be retrieved using both Get() or GetAll().

Change-Id: I62322cf11aa026694640ada122746e120a849ebe
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
10 years ago[Alarm] Added methods add/remove/removeAll.
Tomasz Marciniak [Fri, 6 Mar 2015 14:32:01 +0000 (15:32 +0100)]
[Alarm] Added methods add/remove/removeAll.

[Verification] Code compiles without errors.
Alarm can be successfully created or removed.

Change-Id: Ieaf6a078f5a248af79bfd0054e3962ef7ce49bb9
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
10 years ago[Alarm] Stubs and ported JS layer.
Tomasz Marciniak [Fri, 6 Mar 2015 14:14:44 +0000 (15:14 +0100)]
[Alarm] Stubs and ported JS layer.

Change-Id: Id4a2c9c4bae6b24f7d81696316c6c360f5de69f3
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
10 years ago[Sound] Added implementation for tizen 2.4
Tomasz Marciniak [Tue, 3 Mar 2015 06:40:12 +0000 (07:40 +0100)]
[Sound] Added implementation for tizen 2.4

[Verification] Code compiles without errors.
Functions successfully tested.

Change-Id: Ie1b4442cdaac4f039d21e792f48638ee117cf106
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
10 years ago[Exif] TCT fixes
Rafal Galka [Wed, 4 Mar 2015 14:23:39 +0000 (15:23 +0100)]
[Exif] TCT fixes

[Verification]
TCT result 100% (63/63)

Change-Id: I4cf2ab45ee8b2ef045c42418a8d9335e0d202892

10 years ago[Exif] Removed try/catch/throw
Rafal Galka [Mon, 9 Mar 2015 12:07:19 +0000 (13:07 +0100)]
[Exif] Removed try/catch/throw

[Verification]
TCT results without change (60 / 63)

Change-Id: Ibf27487398134b15482dc9abad3ec89a6fb64f5f
Signed-off-by: Grzegorz Rynkowski <g.rynkowski@samsung.com>
Signed-off-by: Rafal Galka <r.galka@samsung.com>
10 years ago[common] Added deleter.h
Grzegorz Rynkowski [Fri, 27 Feb 2015 14:19:31 +0000 (15:19 +0100)]
[common] Added deleter.h

Change-Id: Iafbd273fcbd47187591ee7d5e8395bd2daedc549
Signed-off-by: Grzegorz Rynkowski <g.rynkowski@samsung.com>
10 years ago[Sound] Removed try/catch error handling
Ryszard Matuszyk [Mon, 9 Mar 2015 10:58:30 +0000 (11:58 +0100)]
[Sound] Removed try/catch error handling

[Verification] TCT test should pass: 33/33

Change-Id: Ic96fe619da3c206f693458a49b3564d1066c3af9
Signed-off-by: Ryszard Matuszyk <r.matuszyk@samsung.com>
10 years ago[Calendar] Removed try/catch error handling
Ryszard Matuszyk [Thu, 5 Mar 2015 11:42:56 +0000 (12:42 +0100)]
[Calendar] Removed try/catch error handling

Verification] TCT test should pass: 352/351

Change-Id: Icbf2266c8ae31b94933cec0b53d6b1c6d32c6991
Signed-off-by: Ryszard Matuszyk <r.matuszyk@samsung.com>
10 years ago[Filesystem] TCT fix
Pawel Kaczmarek [Thu, 5 Mar 2015 14:25:01 +0000 (15:25 +0100)]
[Filesystem] TCT fix

[Verification]
This patch fix multiple fails

Change-Id: I3abb6ed7062cac33e8b36fac6c814896eef2bd01
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
10 years ago[Filesystem] Added implementation of copyTo method
Wojciech Kosowicz [Mon, 2 Mar 2015 14:20:03 +0000 (15:20 +0100)]
[Filesystem] Added implementation of copyTo method

[Verification] copyTo tct tests pass

Change-Id: I0693a269368afbc0ab7dd054a248c3826af22a81
Signed-off-by: Wojciech Kosowicz <w.kosowicz@samsung.com>
Signed-off-by: Kamil Lysik <k.lysik@samsung.com>
10 years ago[Archive] - removing try catch
Andrzej Popowski [Mon, 23 Feb 2015 11:04:11 +0000 (12:04 +0100)]
[Archive] - removing try catch

Change-Id: I6ebfc005dfb6e0429931da579c4d3718983225c1
Signed-off-by: Andrzej Popowski <a.popowski@samsung.com>
10 years ago[SystemSetting] fixes for 3.0
Lukasz Bardeli [Fri, 27 Feb 2015 10:16:09 +0000 (11:16 +0100)]
[SystemSetting] fixes for 3.0

Change-Id: Ic1cc455dab0fc6be5deb1e777646d8430e8b2554
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
10 years ago[SystemInfo] fixes for 3.0
Lukasz Bardeli [Fri, 27 Feb 2015 10:11:05 +0000 (11:11 +0100)]
[SystemInfo] fixes for 3.0

Change-Id: I04bb8160da83c6c64697c1d4e5fb8f222386ab20
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
10 years ago[Callhistory] fixed for 3.0
Lukasz Bardeli [Thu, 26 Feb 2015 13:42:14 +0000 (14:42 +0100)]
[Callhistory] fixed for 3.0

Change-Id: I8db6f384b59be8e15b4e3b44d4f0f427a0184821
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
10 years ago[SE] fixes for 3.0
Lukasz Bardeli [Fri, 27 Feb 2015 06:36:30 +0000 (07:36 +0100)]
[SE] fixes for 3.0

Change-Id: Iaa6bfa1fae9d0d57b86fc89f836bd46f38b8e715
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
10 years ago[FMRadio] fixes to 3.0
Lukasz Bardeli [Thu, 26 Feb 2015 14:01:57 +0000 (15:01 +0100)]
[FMRadio] fixes to 3.0

Change-Id: I93cb8468db2a9c77806034fd6e2259674bad9881
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
10 years ago[NFC] build error fixed for 3.0
Lukasz Bardeli [Thu, 26 Feb 2015 11:44:19 +0000 (12:44 +0100)]
[NFC] build error fixed for 3.0

Change-Id: I3fe456e58bc4b2c9c1e4e1ed6555e300d7d0bff8
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
10 years ago[NFC] Remove try/catch to adjust to google coding style - part 3
Lukasz Bardeli [Wed, 4 Mar 2015 11:05:33 +0000 (12:05 +0100)]
[NFC] Remove try/catch to adjust to google coding style - part 3

[Verification] Code compiles without error.

Change-Id: I8cd2134cfe0b1ce87bc2c3f5e21a38e2a0230e65
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
10 years agoMerge "[Messaging] Inclusion of msg_product.h has been removed." into devel/master
HyunJin Park [Wed, 4 Mar 2015 04:37:34 +0000 (13:37 +0900)]
Merge "[Messaging] Inclusion of msg_product.h has been removed." into devel/master

10 years ago[Exif] Old code removed
Rafal Galka [Tue, 3 Mar 2015 10:55:14 +0000 (11:55 +0100)]
[Exif] Old code removed

[Verification]
TCT results without change (60 / 63)

Change-Id: I81156e2c1d3fc476a3dbb89efb99e0cae5487240
Signed-off-by: Rafal Galka <r.galka@samsung.com>
10 years ago[Messaging] Fix tizen 2.4 mobile profile buildbreak
Tomasz Iwanek [Mon, 2 Mar 2015 11:27:47 +0000 (12:27 +0100)]
[Messaging] Fix tizen 2.4 mobile profile buildbreak

Missing ecore file (Ecore_File.h) is in other pkgconfig for 2.4

Change-Id: Ib049b11489238f6534f39924c93ed734b2d552fe
Signed-off-by: Tomasz Iwanek <t.iwanek@samsung.com>
10 years ago[Filesystem] File.moveTo JS part
Pawel Kaczmarek [Fri, 27 Feb 2015 09:31:58 +0000 (10:31 +0100)]
[Filesystem] File.moveTo JS part

[Verification]
var documentsDir;
 function onsuccess(files) {
   for (var i = 0; i < files.length; i++) {
     if (files[i].isDirectory == false) {
       documentsDir.moveTo(files[i].fullPath,
                           "images/newDir/" + files[i].name,
                           false,
                           function() {console.log("file moved");});
     }
   }
 }

 function onerror(error) {
   console.log("The error " + error.message +
               " occurred during listing the files in the selected folder");
 }

 tizen.filesystem.resolve(
     'documents',
     function(dir) {
       documentsDir = dir;
       dir.listFiles(onsuccess, onerror);
     }, function(e) {
       console.log("Error" + e.message);
     }, "rw"
 );

//should move all files from documents dir to images/newDir

Change-Id: If02186dd2e01bfa92d947f1ad43bbb1544e54ad6
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
10 years ago[Exif] Style refactoring
Rafal Galka [Tue, 3 Mar 2015 10:53:51 +0000 (11:53 +0100)]
[Exif] Style refactoring

[Verification]
TCT results without change (60 / 63)

Change-Id: I0ac76fc7859910394a1a1d04a7a869e7792f6ed9
Signed-off-by: Grzegorz Rynkowski <g.rynkowski@samsung.com>
10 years ago[Filesystem] File.resolve throws NOT_FOUND exception when fails
Wojciech Kosowicz [Mon, 2 Mar 2015 11:49:54 +0000 (12:49 +0100)]
[Filesystem] File.resolve throws NOT_FOUND exception when fails

This fix is required for increase passrate of TCT tests

Change-Id: Iba629bda3ad38dcb89aaf3c51a4ab4918924517b
Signed-off-by: Wojciech Kosowicz <w.kosowicz@samsung.com>
10 years ago[Filesystem] FileStream.close
Pawel Kaczmarek [Tue, 3 Mar 2015 10:22:44 +0000 (11:22 +0100)]
[Filesystem] FileStream.close

[Verification]
Following TCT should pass:
FileStream_close

Change-Id: I612de747f0c248043542d61b210109cd5a8c26a8
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
10 years ago[Filesystem] FileStream.write, FileStream.writeBytes, FileStream.writeBase64
Pawel Kaczmarek [Mon, 2 Mar 2015 14:36:34 +0000 (15:36 +0100)]
[Filesystem] FileStream.write, FileStream.writeBytes, FileStream.writeBase64

[Verification]
var documentsDir;
function onsuccess(files) {
  for (var i = 0; i < files.length; i++) {
    console.log("File Name is " + files[i].name);
  }

  var testFile = documentsDir.createFile('testFile01.txt');
  console.log('testFile', testFile);
  if (testFile !== null) {
    testFile.openStream(
            "rw",
            function (fs) {
              fs.write('This is test file data');
            }, function (e) {
      console.log("Error " + e.message);
    }, "UTF-8"
            );
  }
}

function onerror(error) {
  console.log("The error " + error.message + " occurred when listing the files in the selected folder");
}

tizen.filesystem.resolve(
        'documents',
        function (dir) {
          documentsDir = dir;
          dir.listFiles(onsuccess, onerror);
        }, function (e) {
    console.log("Error" + e.message);
  }, "rw"
);

Change-Id: I67b076ee8e26a4d9cf32c629bb821a65f8335443
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
10 years ago[Filesystem] Make directory does not throw if dir already exists
Wojciech Kosowicz [Mon, 2 Mar 2015 09:34:42 +0000 (10:34 +0100)]
[Filesystem] Make directory does not throw if dir already exists

This issue was causing many testcases fail in tct. In case the dir
already existed we should not throw as the method goes recursively
so some dirs might already exist

Change-Id: I6e7b30857e6204ad9d9617e6a49f0222385989dd
Signed-off-by: Wojciech Kosowicz <w.kosowicz@samsung.com>
10 years ago[Filesystem] File.openStream, FileStream.read, FileStream.readBytes, FileStream.readB...
Pawel Kaczmarek [Mon, 2 Mar 2015 13:21:28 +0000 (14:21 +0100)]
[Filesystem] File.openStream, FileStream.read, FileStream.readBytes, FileStream.readBase64

var documentsDir;
function onsuccess(files) {
  for (var i = 0; i < files.length; i++) {
    console.log("File Name is " + files[i].name);
  }

  var testFile = files[0];
  if (testFile !== null) {
    testFile.openStream(
            "r",
            function (fs) {
              var r1 = fs.read(200);
              console.log('Readed: ', r1);
              var r2 = fs.readBytes(200);
              console.log('Readed bytes: ', r2);
              var r3 = fs.readBase64(200);
              console.log('Readed base64: ', r3);
            }, function (e) {
      console.log("Error " + e.message);
    }, "UTF-8"
    );
  }
}

function onerror(error) {
  console.log("The error " + error.message + " occurred when listing the files in the selected folder");
}

tizen.filesystem.resolve(
        'documents',
        function (dir) {
          documentsDir = dir;
          dir.listFiles(onsuccess, onerror);
        }, function (e) {
  console.log("Error" + e.message);
}, "rw");

//should return text/bytes/base64 from first file in documents directory

Change-Id: I2c911f8eb37f2a83df8b188332e28197dab1a6b3
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
10 years ago[Filesystem] File.readAsText JS part
Pawel Kaczmarek [Mon, 2 Mar 2015 08:28:24 +0000 (09:28 +0100)]
[Filesystem] File.readAsText JS part

[Verification]
Should return string from given file

[Depends on]
http://168.219.209.56/gerrit/#/c/20600/

Change-Id: I147395ba24cd8bf50ac19e2c7327aef3732881fa
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
10 years ago[Filesystem] Fix file counting in File_stat method
Kamil Lysik [Mon, 2 Mar 2015 13:06:01 +0000 (14:06 +0100)]
[Filesystem] Fix file counting in File_stat method

File_stat reported invalid file count. Now, a proper method to count
was added. This method count all entries in directory.

Change-Id: Ic69687b104011b3b869f44ff7fdf2d81b1b6b89b
Signed-off-by: Kamil Lysik <k.lysik@samsung.com>
10 years ago[Filesystem] File read and write native API
Kamil Lysik [Tue, 17 Feb 2015 12:44:05 +0000 (13:44 +0100)]
[Filesystem] File read and write native API

Change-Id: If8aadda4ae5cf167d3e2c974a78c0da4df267466
Signed-off-by: Kamil Lysik <k.lysik@samsung.com>
10 years ago[exif] Fixes based on tests fails, part 2
Grzegorz Rynkowski [Fri, 13 Feb 2015 14:25:32 +0000 (15:25 +0100)]
[exif] Fixes based on tests fails, part 2

[Problem]   Fails and timeouts.

[Verification]
    1. Build the code.
    2. Run Exif tests.
    3. All tests should pass except:
        ExifManager_getExifInfo_errorCallback_invoked_InvalidValuesError
        ExifManager_getThumbnail_errorCallback_invoked_InvalidValuesError
        ExifManager_saveExifInfo_errorCallback_invoked_InvalidValuesError

[SCMRequest]
    Required commit to verification:
    https://mcdsrvbld02.digital.local/review/#/c/20331/

Change-Id: I87c814348ac73b7024d87809c8c5e0a643166b63
Signed-off-by: Grzegorz Rynkowski <g.rynkowski@samsung.com>
10 years ago[Time] Remove exceptions
Tomasz Iwanek [Mon, 2 Mar 2015 09:41:44 +0000 (10:41 +0100)]
[Time] Remove exceptions

Change-Id: Ibf99fa1ea9612999294abffc493437a998d05761
Signed-off-by: Tomasz Iwanek <t.iwanek@samsung.com>
10 years ago[Bookmark] Remove exceptions
Tomasz Iwanek [Fri, 27 Feb 2015 08:43:07 +0000 (09:43 +0100)]
[Bookmark] Remove exceptions

Just print error. We can do nothing with errors in extension creation code.

Change-Id: Ic59dd714990f58c0bb3f9bc7be09dbadf1566762
Signed-off-by: Tomasz Iwanek <t.iwanek@samsung.com>
10 years agoUpdate message-port implementation
Jin-Woo Jeong [Mon, 2 Mar 2015 23:06:30 +0000 (08:06 +0900)]
Update message-port implementation

Change-Id: Ia8a8d4d52bff3524a097cc12cebc1df92ef1ede6

10 years agoPassing tizen_features flags to gyp
Tomasz Iwanek [Mon, 23 Feb 2015 15:56:34 +0000 (16:56 +0100)]
Passing tizen_features flags to gyp

Change-Id: Iba0c61f106dce1576bcadab021d34859c80628ae
Signed-off-by: Tomasz Iwanek <t.iwanek@samsung.com>
10 years ago[Archive] - adding error code specific for Archive module
Andrzej Popowski [Mon, 23 Feb 2015 11:07:23 +0000 (12:07 +0100)]
[Archive] - adding error code specific for Archive module

Change-Id: I3589ca67a1fbc94dfd91009efbb47be05b6bcd6b
Signed-off-by: Andrzej Popowski <a.popowski@samsung.com>
10 years ago[common] Added assert.h
Grzegorz Rynkowski [Wed, 25 Feb 2015 17:55:03 +0000 (18:55 +0100)]
[common] Added assert.h

Problem: Using plain assert does not print any information about the
         source of assertion.

Change-Id: I66192909d6fe5836b098b0e2225a79ec1de86f8d
Signed-off-by: Grzegorz Rynkowski <g.rynkowski@samsung.com>
10 years ago[Contact] Fix std::map::insert for tizen 3.0
Tomasz Iwanek [Fri, 27 Feb 2015 10:16:35 +0000 (11:16 +0100)]
[Contact] Fix std::map::insert for tizen 3.0

Change-Id: I97dd24db78616aca3e7712022e6dc0fc2af5341a
Signed-off-by: Tomasz Iwanek <t.iwanek@samsung.com>