platform/core/api/webapi-plugins.git
9 years ago[NFC] implementation sendNDEF
Lukasz Bardeli [Mon, 5 Jan 2015 13:55:09 +0000 (14:55 +0100)]
[NFC] implementation sendNDEF

[Verification] Code compiles without error

Change-Id: I465536d0ec30ca8ea83f20033275825628277645
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
9 years ago[NFC] getCachedMessage implementation
Lukasz Bardeli [Tue, 23 Dec 2014 10:43:44 +0000 (11:43 +0100)]
[NFC] getCachedMessage implementation

[Verification] Code compiles without errors

Change-Id: I9047dd9ecaf828cbcd6bec4985697a4290d5f553
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
9 years agoMerge "[NFC] NFCTag::transceive implementation" into devel/master
Jerzy Pabich [Wed, 7 Jan 2015 09:47:43 +0000 (18:47 +0900)]
Merge "[NFC] NFCTag::transceive implementation" into devel/master

9 years agoMerge "[NFC] NFCTag::writeNDEF implementation" into devel/master
Jerzy Pabich [Wed, 7 Jan 2015 09:47:18 +0000 (18:47 +0900)]
Merge "[NFC] NFCTag::writeNDEF implementation" into devel/master

9 years ago[Power] Fix SetScreenBrightness method and exceptions types
Adam Banasiak [Mon, 5 Jan 2015 13:41:06 +0000 (14:41 +0100)]
[Power] Fix SetScreenBrightness method and exceptions types

[Verification] Tests:
    - PowerManager_getScreenBrightness_check_change
    - PowerManager_request_TypeMismatch
    - PowerManager_request_missarg
    - PowerManager_request_state_TypeMismatch
    - PowerManager_setScreenBrightness
    should pass.

Change-Id: If5b68c6ebc73fe8995ca1458c3da8d8c16fd568a
Signed-off-by: Adam Banasiak <a.banasiak@samsung.com>
9 years ago[NFC] NFCTag::transceive implementation
Marcin Kaminski [Fri, 2 Jan 2015 14:57:24 +0000 (15:57 +0100)]
[NFC] NFCTag::transceive implementation

Function implemented and tested with some workarounds
or forced callback invocation.

Change-Id: Ief20af70a260285010497508d66e901fe2f9659c
Signed-off-by: Marcin Kaminski <marcin.ka@samsung.com>
9 years ago[NFC] NFCTag::writeNDEF implementation
Marcin Kaminski [Mon, 29 Dec 2014 14:18:00 +0000 (15:18 +0100)]
[NFC] NFCTag::writeNDEF implementation

Exception throwing from function will be added
soon after necessary fixes merged into repository.

Change-Id: I9affbd232919e560edd5f60cd40632ba606a3135
Signed-off-by: Marcin Kaminski <marcin.ka@samsung.com>
9 years ago[FMRadio] Fix for build break
Jerzy Pabich [Wed, 31 Dec 2014 12:19:36 +0000 (13:19 +0100)]
[FMRadio] Fix for build break

Change-Id: Ifa7130df6079e3faf667ec5296ab44f4273a991d
Signed-off-by: Jerzy Pabich <j.pabich@samsung.com>
9 years agoMerge "[FMRadio][Feature] Getters" into devel/master
Jerzy Pabich [Wed, 31 Dec 2014 11:27:53 +0000 (20:27 +0900)]
Merge "[FMRadio][Feature] Getters" into devel/master

9 years agoMerge "[FMRadio][Features]Async methods implementation" into devel/master
Jerzy Pabich [Wed, 31 Dec 2014 11:25:46 +0000 (20:25 +0900)]
Merge "[FMRadio][Features]Async methods implementation" into devel/master

9 years ago[Calendar] Fix wrong "this" in CalendarAlarm
Rafal Galka [Tue, 30 Dec 2014 18:15:07 +0000 (19:15 +0100)]
[Calendar] Fix wrong "this" in CalendarAlarm

Change-Id: Ic9e280ca53aa3989e30c5e51300f1c86ee5757bc

9 years ago[Contact] {add|remove}AddressBook implementation
Rafal Galka [Tue, 30 Dec 2014 17:10:23 +0000 (18:10 +0100)]
[Contact] {add|remove}AddressBook implementation

[Verification] Following TCT should pass:
- AddressBook_constructor
- ContactManager_addAddressBook_exist
- ContactManager_removeAddressBook_exist

Change-Id: I529231699bac5b4b0108905467c0e13415aca5d7

9 years ago[Contact] TCT fixes vol. 2
Rafal Galka [Tue, 30 Dec 2014 14:17:57 +0000 (15:17 +0100)]
[Contact] TCT fixes vol. 2

[Verification] Following TCT should pass:
- ContactName_nicknames_not_nullable
- Contact_convertToString_with_null
- ContactEmailAddress_label_attribute
- ContactInstantMessenger_imAddress_attribute
- ContactInstantMessenger_type_attribute

Change-Id: I99d90c7d2809d5522cef1e9e4059fb79648255d0

9 years ago[Contact] TCT fixes
Rafal Galka [Mon, 29 Dec 2014 14:59:54 +0000 (15:59 +0100)]
[Contact] TCT fixes

[Verification] Following TCT should pass:
- ContactManager_get_personId_invalid
- ContactManager_getAddressBook_addressBookId_invalid
- ContactManager_remove_personId_invalid
- AddressBook_get_id_invalid
- AddressBook_getGroup_groupId_invalid
- AddressBook_remove_id_invalid
- AddressBook_removeGroup_groupId_invalid
- AddressBook_removeGroup_invalid_argument
- AddressBook_updateGroup_invalid_argument
- Person_link_personId_invalid
- Person_unlink_contactId_invalid

Change-Id: If93d0c5abfe188409d31735a38146247ca7f0ca6

9 years ago[Contact] Filter, sort
Rafal Galka [Mon, 29 Dec 2014 13:39:22 +0000 (14:39 +0100)]
[Contact] Filter, sort

[Verification] Following TCT should pass:
- PersonArraySuccessCallback_onsuccess
- AddressBook_find_errorCallback_invoked
- ContactManager_find_errorCallback_invoked

Change-Id: Ib186d9b1a3219dce6c9991990c05711b75af0bf7

9 years ago[Tizen] Filters, SortMode, SimpleCoordinates update
Rafal Galka [Mon, 29 Dec 2014 13:28:24 +0000 (14:28 +0100)]
[Tizen] Filters, SortMode, SimpleCoordinates update

Implementation ported from old webapi-plugins.

Change-Id: I4ee5a9faebb02c172bf5e0efc4b350f1f1a3a4c4

9 years ago[Messaging] Fix for opId in syncFolder
Jerzy Pabich [Wed, 31 Dec 2014 08:52:03 +0000 (09:52 +0100)]
[Messaging] Fix for opId in syncFolder

Change-Id: Id5ec8ed618ede37c7e070bcc772f40e079029ed7
Signed-off-by: Jerzy Pabich <j.pabich@samsung.com>
9 years agoMerge "[Messaging] Added syncFolder" into devel/master
Jerzy Pabich [Wed, 31 Dec 2014 08:24:30 +0000 (17:24 +0900)]
Merge "[Messaging] Added syncFolder" into devel/master

9 years agoMerge "[Messaging] Fix method getValueFromJSONObject" into devel/master
Jerzy Pabich [Wed, 31 Dec 2014 08:24:05 +0000 (17:24 +0900)]
Merge "[Messaging] Fix method getValueFromJSONObject" into devel/master

9 years agoMerge "[Messaging] MessageStorage::removeConversations: check 'conversations' array...
Jerzy Pabich [Wed, 31 Dec 2014 07:58:04 +0000 (16:58 +0900)]
Merge "[Messaging] MessageStorage::removeConversations: check 'conversations' array for elements' types" into devel/master

9 years ago[Messaging] Added syncFolder
Jerzy Pabich [Wed, 31 Dec 2014 07:50:03 +0000 (08:50 +0100)]
[Messaging] Added syncFolder

Change-Id: I5286ca8cabac4e69af9163c6ece50d3ea05cdc09
Signed-off-by: Jerzy Pabich <j.pabich@samsung.com>
9 years ago[DataSync] Fix JS
Rafal Galka [Tue, 30 Dec 2014 18:12:37 +0000 (19:12 +0100)]
[DataSync] Fix JS

This fixes module loading.

Change-Id: I007520c1f3678e5b305b37c13ccaf4a33e83fc46

9 years ago[Messaging] Fix method getValueFromJSONObject
Robert Karolak [Tue, 30 Dec 2014 14:55:53 +0000 (15:55 +0100)]
[Messaging] Fix method getValueFromJSONObject

[Verification] more tests passes

Change-Id: Id49bba51fe937f5514e6c37ab1da63c2acfd3d30
Signed-off-by: Robert Karolak <r.karolak@samsung.com>
9 years ago[Contact] ContactRelationship fix
Pawel Kaczmarek [Tue, 30 Dec 2014 14:02:33 +0000 (15:02 +0100)]
[Contact] ContactRelationship fix

[Verification]
Below TCT should pass:
ContactRelationship_type_attribute

Change-Id: I27de448a24feebf823d060e8bec152c6390aef9f
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
9 years ago[Contact] messageAlertURI, vibrationURI fix
Pawel Kaczmarek [Tue, 30 Dec 2014 13:14:20 +0000 (14:14 +0100)]
[Contact] messageAlertURI, vibrationURI fix

[Verification]
Below TCT should pass:
Contact_messageAlertURI_attribute
Contact_vibrationURI_attribute

Change-Id: I16b1895f640f26f90b85e7a4354082397e88897f
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
9 years ago[Time] TimeDuration fix
Pawel Kaczmarek [Tue, 30 Dec 2014 10:30:22 +0000 (11:30 +0100)]
[Time] TimeDuration fix

[Verification]
var duration = new tizen.TimeDuration(30, "MINS");
console.log('length: ' + duration.length);
console.log('unit: ' + duration.unit);
Should print:
length: 30
unit: MINS

Change-Id: I744a34ed0561a87f37e6c21ffc55817f36692605
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
9 years ago[Calendar] Working calendar alarms platform calls
Wojciech Kosowicz [Tue, 30 Dec 2014 10:07:19 +0000 (11:07 +0100)]
[Calendar] Working calendar alarms platform calls

Due to platform changes alarms platform calls had to be changed

[Verification] TCT CalendarAlarm_attribute_valid_value_CalendarEvent passes

Change-Id: Ic8a9ba3e1ef05ed7b9292bba2333b533f09d88d9
Signed-off-by: Wojciech Kosowicz <w.kosowicz@samsung.com>
9 years agoMerge "[Archive] Fixes for TCTs" into devel/master
Jerzy Pabich [Tue, 30 Dec 2014 13:16:48 +0000 (22:16 +0900)]
Merge "[Archive] Fixes for TCTs" into devel/master

9 years agoMerge "[Archive] Fixes for errorCallbacks" into devel/master
Jerzy Pabich [Tue, 30 Dec 2014 13:15:19 +0000 (22:15 +0900)]
Merge "[Archive] Fixes for errorCallbacks" into devel/master

9 years ago[Messaging] fix compilation warnings
Robert Karolak [Tue, 30 Dec 2014 12:14:31 +0000 (13:14 +0100)]
[Messaging] fix compilation warnings

Change-Id: Iffaaad2b7171da756e9a40d582b93237d76bff00
Signed-off-by: Robert Karolak <r.karolak@samsung.com>
9 years ago[FMRadio][Feature] Getters
Dominik Rekawek [Sat, 20 Dec 2014 16:36:27 +0000 (17:36 +0100)]
[FMRadio][Feature] Getters

[Description]
Getters for readonly atributes added

JS:
Frequency
Signal Strength
Connected
State

Cpp:
Frequency
Signal Strength

[Validation]
tizen.fmradio.frequency etc.
Tested on Z910, working

Change-Id: I4ecca1ead395e96792fa4646500bf42307286077
Signed-off-by: Dominik Rekawek <d.rekawek@samsung.com>
9 years agoMerge "[Messaging] findFolders implementation" into devel/master
Jerzy Pabich [Tue, 30 Dec 2014 11:58:45 +0000 (20:58 +0900)]
Merge "[Messaging] findFolders implementation" into devel/master

9 years agoMerge "[Messaging] findConversations implementation for email" into devel/master
Jerzy Pabich [Tue, 30 Dec 2014 11:46:47 +0000 (20:46 +0900)]
Merge "[Messaging] findConversations implementation for email" into devel/master

9 years ago[Archive] Fixes for TCTs
Piotr Kosko [Tue, 30 Dec 2014 11:08:19 +0000 (12:08 +0100)]
[Archive] Fixes for TCTs

[Verification] TCT passrate 97/105

Change-Id: I27053813629c2a32d31977615cc55cd041559322
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
9 years ago[FMRadio][Features]Async methods implementation
Dominik Rekawek [Tue, 16 Dec 2014 14:11:11 +0000 (15:11 +0100)]
[FMRadio][Features]Async methods implementation

JS,Cpp: Start() Stop() seekUp seekDown()

Both: code required to mantain provided functions

Validation:
-Compile success
-Module visible on target device
-Functional validation performed by hardcoding callbacks invocations

Change-Id: I9a0d6b18b483dc66c713b3b5843cd6560d6d8fbe
Signed-off-by: Dominik Rekawek <d.rekawek@samsung.com>
9 years ago[Messaging] findFolders implementation
Robert Karolak [Mon, 29 Dec 2014 19:32:58 +0000 (20:32 +0100)]
[Messaging] findFolders implementation

[Verification] Code compiles without errors
Tested in node console

Change-Id: I96f6c8f499ea388f3f00e2dbe9bf2f6d23d98a03
Signed-off-by: Robert Karolak <r.karolak@samsung.com>
9 years ago[Messaging] MessageStorage::removeConversations: check 'conversations' array for...
Piotr Dabrowski [Tue, 30 Dec 2014 10:45:22 +0000 (11:45 +0100)]
[Messaging] MessageStorage::removeConversations: check 'conversations' array for elements' types

Change-Id: I0bfd0d1bcf93f35ac729bf76637b01f64a41b19e
Signed-off-by: Piotr Dabrowski <p.dabrowski2@samsung.com>
9 years agoMerge "[power] fix OnScreenStateChanged error" into devel/master
Seungkeun Lee [Tue, 30 Dec 2014 00:03:15 +0000 (09:03 +0900)]
Merge "[power] fix OnScreenStateChanged error" into devel/master

9 years ago[Messaging] findConversations implementation for email
Robert Karolak [Mon, 29 Dec 2014 17:08:44 +0000 (18:08 +0100)]
[Messaging] findConversations implementation for email

[Verification] Code compiles withouts errors
Tested well in node console

Change-Id: Ice89c877d5304a3c2535f222020a1b941319c761
Signed-off-by: Robert Karolak <r.karolak@samsung.com>
9 years ago[Contact] AddresBook_batchFunc implementation.
Rafal Galka [Mon, 29 Dec 2014 11:51:50 +0000 (12:51 +0100)]
[Contact] AddresBook_batchFunc implementation.

[Verification] Following TCT should pass:
- AddressBook_removeBatch
- AddressBook_updateBatch
- AddressBook_updateBatch_with_successCallback
- AddressBook_updateBatch_with_errorCallback
- AddressBook_removeBatch_with_errorCallback
- AddressBook_removeBatch_with_successCallback
- ContactManager_updateBatch_with_errorCallback
- ContactManager_updateBatch_with_successCallback
- ContactManager_removeBatch_with_errorCallback
- ContactManager_removeBatch_with_successCallback

Change-Id: Iecdc3ae503f5b474458cd7f7cf320a7d2b3c3b97
Signed-off-by: Adam Banasiak <a.banasiak@samsung.com>
9 years ago[Archive] Fixes for errorCallbacks
Piotr Kosko [Mon, 29 Dec 2014 14:29:29 +0000 (15:29 +0100)]
[Archive] Fixes for errorCallbacks

Change-Id: I6b16caedc9eb546cb7b1c7c23dc4e01d1e35315a
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
9 years ago[NFC] NFCTag::readNDEF implementation added
Marcin Kaminski [Sat, 27 Dec 2014 17:28:54 +0000 (18:28 +0100)]
[NFC] NFCTag::readNDEF implementation added

Code compiles without errors. Implementation partially verified
after exporting NFCTag constructor - all error callbacks
called properly, unable to test success callback

Change-Id: Iea80a96276cf5c2a331bd06d5784573b34108cb5
Signed-off-by: Marcin Kaminski <marcin.ka@samsung.com>
9 years agoMerge "[Messaging] findMessages implementation" into devel/master
Jerzy Pabich [Mon, 29 Dec 2014 14:05:23 +0000 (23:05 +0900)]
Merge "[Messaging] findMessages implementation" into devel/master

9 years ago[Messaging] findMessages implementation
Robert Karolak [Mon, 29 Dec 2014 13:11:11 +0000 (14:11 +0100)]
[Messaging] findMessages implementation

[Verification] Code compiles without errors.
Functionality tested in node console

Change-Id: Ia2dcedb82a33e6065fa393f216c03a0ac381eb40
Signed-off-by: Robert Karolak <r.karolak@samsung.com>
9 years agoMerge "[NFC] NFCTag attributes implemented" into devel/master
Jerzy Pabich [Mon, 29 Dec 2014 13:57:04 +0000 (22:57 +0900)]
Merge "[NFC] NFCTag attributes implemented" into devel/master

9 years agoMerge "[Messaging] implemented removeConversations API method" into devel/master
Jerzy Pabich [Mon, 29 Dec 2014 13:53:42 +0000 (22:53 +0900)]
Merge "[Messaging] implemented removeConversations API method" into devel/master

9 years ago[Contact] ContactManager.find() implementation
Rafal Galka [Mon, 29 Dec 2014 09:00:35 +0000 (10:00 +0100)]
[Contact] ContactManager.find() implementation
(without filters & sorting)

[Verification]
TCT "ContactManager_find" should pass

Change-Id: Ic819e80d4c047f916125185f863811c193187231

9 years ago[common] filter-utils ported from old webapi-plugins repository
Rafal Galka [Tue, 23 Dec 2014 15:41:25 +0000 (16:41 +0100)]
[common] filter-utils ported from old webapi-plugins repository

Change-Id: Ie02d2a560c405a57a601bfe03584854b009eb7e0

9 years agoMerge "[TV Display] Sync methods implemented" into devel/master
Jerzy Pabich [Mon, 29 Dec 2014 13:17:08 +0000 (22:17 +0900)]
Merge "[TV Display] Sync methods implemented" into devel/master

9 years ago[Archive] some bugfixing for tests
Piotr Kosko [Tue, 23 Dec 2014 14:16:53 +0000 (15:16 +0100)]
[Archive] some bugfixing for tests

Change-Id: If5f334b91db26a7e80cbd206f31a7ac2885b7652
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
9 years ago[Archive] Added support for widget paths.
Pawel Andruszkiewicz [Mon, 22 Dec 2014 14:21:40 +0000 (15:21 +0100)]
[Archive] Added support for widget paths.

[Verification] TCT pass rate 80/106.

Change-Id: If0e2c62fd63aaf6ec07704deb3abe35b75ac7880
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
9 years ago[Common] Ported CurrentApplication class from old webapi-plugins repository.
Pawel Andruszkiewicz [Mon, 22 Dec 2014 11:37:51 +0000 (12:37 +0100)]
[Common] Ported CurrentApplication class from old webapi-plugins repository.

Change-Id: I6a1504610c8f96e2e5b6f8f79e812ae6f0d374cb
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
9 years ago[Archive] Implementation of callbacks in all async methods.
Krzysztof Lachacz [Sat, 20 Dec 2014 13:39:57 +0000 (14:39 +0100)]
[Archive] Implementation of callbacks in all async methods.

[Verification] Code compiles without errors.
Archive object is visible in tizen namespace.
Achive TCT passrate is 61% (65 of 106 tests is passed).

Change-Id: I7c8185b0471e6bb4bd5af77dded8945edbe1dd47
Signed-off-by: Krzysztof Lachacz <k.lachacz@samsung.com>
9 years agoMerge "[Archive] Implementation of filesystem classes required by module" into devel...
Jerzy Pabich [Mon, 29 Dec 2014 12:36:31 +0000 (21:36 +0900)]
Merge "[Archive] Implementation of filesystem classes required by module" into devel/master

9 years agoMerge "[Archive] Add C++ code from old implementation." into devel/master
Jerzy Pabich [Mon, 29 Dec 2014 12:36:15 +0000 (21:36 +0900)]
Merge "[Archive] Add C++ code from old implementation." into devel/master

9 years agoMerge "[Callhistory] Change Common into NativeManager." into devel/master
Jerzy Pabich [Mon, 29 Dec 2014 11:56:21 +0000 (20:56 +0900)]
Merge "[Callhistory] Change Common into NativeManager." into devel/master

9 years ago[Exif] Use validator_.isConstructorCall()
Rafal Lelusz [Tue, 23 Dec 2014 16:33:48 +0000 (17:33 +0100)]
[Exif] Use validator_.isConstructorCall()

Change-Id: Ie3c791e27a1fa9ee22c0ea77c44a2aa378776a78
Signed-off-by: Rafal Lelusz <r.lelusz@samsung.com>
9 years ago[Contact] AddressBook.find implementation (without filters & sorting)
Rafal Galka [Mon, 29 Dec 2014 08:42:45 +0000 (09:42 +0100)]
[Contact] AddressBook.find implementation (without filters & sorting)

[Verification]
TCT test "AddressBook_find" should pass

Change-Id: Ibde12ed4351ed2d70e1279c209fd009a4f0ad02a
Signed-off-by: Wojciech Kosowicz <w.kosowicz@samsung.com>
9 years ago[Contact] TCT fixes
Rafal Galka [Tue, 23 Dec 2014 14:49:37 +0000 (15:49 +0100)]
[Contact] TCT fixes

[Verification] following tests should pass:
- ContactManager_getUnifiedAddressBook_extra_argument
- Person_notexist
- Person_unlink
- AddressBook_get_check_fields
- ContactPhoneNumber_number_attribute

Change-Id: I4bfacfd1cee5ece455a4f064db4fb73cc0ac1d2c

9 years agoMerge "[NFC] NDEFMessage.toByte() implemented" into devel/master
Jerzy Pabich [Mon, 29 Dec 2014 08:13:16 +0000 (17:13 +0900)]
Merge "[NFC] NDEFMessage.toByte() implemented" into devel/master

9 years agoMerge "[Callhistory] Added find method implementation." into devel/master
Jerzy Pabich [Mon, 29 Dec 2014 08:12:26 +0000 (17:12 +0900)]
Merge "[Callhistory] Added find method implementation." into devel/master

9 years ago[Messaging] implemented removeConversations API method
Piotr Dabrowski [Mon, 29 Dec 2014 08:08:41 +0000 (09:08 +0100)]
[Messaging] implemented removeConversations API method

conversations_callback_user_data.* copied from previous implementation and modified

Change-Id: I86254bda90acb300ec6132ec2d512581dcb4d7fc
Signed-off-by: Piotr Dabrowski <p.dabrowski2@samsung.com>
9 years ago[NFC] NFCTag attributes implemented
Marcin Kaminski [Sat, 27 Dec 2014 13:58:52 +0000 (14:58 +0100)]
[NFC] NFCTag attributes implemented

Added full implementation for following NFCTag attrs:
- type
- isSupportedNDEF
- ndefSize
- properties
If tag is disconnected or core function fails to get
some information then 'undefined' is returned and
it is intentional.

Change-Id: I6887464940651e9a7c0b00b591c2cc23993f36cb
Signed-off-by: Marcin Kaminski <marcin.ka@samsung.com>
9 years ago[NFC] NFCTag listener and isConnected
Marcin Kaminski [Mon, 22 Dec 2014 07:53:00 +0000 (08:53 +0100)]
[NFC] NFCTag listener and isConnected

NFCTag listener setting and unsetting added
with listener implementation.
Full implementation of NFTag::isConnected attribute

Change-Id: I122ec4978288f7f230a70624f6361710c7aad53e
Signed-off-by: Marcin Kaminski <marcin.ka@samsung.com>
9 years ago[Messaging] add jsonToSortMode and jsonToAttributeFilter methods
Robert Karolak [Mon, 22 Dec 2014 15:09:42 +0000 (16:09 +0100)]
[Messaging] add jsonToSortMode and jsonToAttributeFilter methods

[Verification] Code compiles without errors

Change-Id: I370f79a55b0b91b4e1f836e0f6ab7ef2031ab498
Signed-off-by: Robert Karolak <r.karolak@samsung.com>
9 years ago[Messaging] add updateMessages method
Robert Karolak [Fri, 19 Dec 2014 21:16:38 +0000 (22:16 +0100)]
[Messaging] add updateMessages method

[Verification] Code compiles without errors.
Message update properly during test in node console.

Change-Id: Icda70a06f2e1e0ac96bb02b39848d4d40e2b754a
Signed-off-by: Robert Karolak <r.karolak@samsung.com>
9 years ago[Messaging] moved MessageConversation class
Maciek Blim [Sun, 21 Dec 2014 09:05:10 +0000 (10:05 +0100)]
[Messaging] moved MessageConversation class

Change-Id: I0134a4ae62e3ab4df54f65499f87ba945b9f1352
Signed-off-by: Maciek Blim <m.blim@samsung.com>
9 years ago[Messaging] addMessagesListener - messageadded messageupdated (for emails)
Maciek Blim [Mon, 22 Dec 2014 13:35:39 +0000 (14:35 +0100)]
[Messaging] addMessagesListener - messageadded messageupdated (for emails)

Change-Id: I33ba7c429862b9bbb537842caf0c6239428244e7
Signed-off-by: Maciek Blim <m.blim@samsung.com>
9 years ago[Messaging] addMessagesListener - messageremoved (for emails)
Maciek Blim [Mon, 22 Dec 2014 12:38:13 +0000 (13:38 +0100)]
[Messaging] addMessagesListener - messageremoved (for emails)

Change-Id: I3ffeb42f3e996258df6a69ecfb49eea13460e205
Signed-off-by: Maciek Blim <m.blim@samsung.com>
9 years ago[Calendar] Fix TCT
Pawel Kaczmarek [Tue, 23 Dec 2014 15:41:41 +0000 (16:41 +0100)]
[Calendar] Fix TCT

[Verification]
Below TCT should pass:
Calendar_accountId_attribute
CalendarTaskInit_attributeType

Change-Id: Ib6a3528cc77ebcbd78ca9b784e20e38abf2efdbd
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
9 years ago[Exif] Added validation of parameters
Konrad Zdunczyk [Mon, 15 Dec 2014 11:17:51 +0000 (12:17 +0100)]
[Exif] Added validation of parameters

Moved old implementation of exif to src/old/exif

[Verification]
1. Run TCT test for ExifInformation (24 tests)
 - One test is broken
 - One test uses not implemented methods

Result: 22/24

Change-Id: I84522fb878ba22bb86b7ce3e77acc152169f50eb
Signed-off-by: Konrad Zdunczyk <k.zdunczyk@samsung.com>
9 years ago[Calendar] working listeners
Wojciech Kosowicz [Mon, 22 Dec 2014 14:44:54 +0000 (15:44 +0100)]
[Calendar] working listeners

[Verification]
eventInit = {description:"HTML5 Introduction",
  summary:"HTML5 Webinar",
  startDate: new tizen.TZDate(2011, 3, 30, 10, 0),
  duration: new tizen.TimeDuration(1, "HOURS"),
  location:"Huesca"};
watcher = {
  onitemsadded: function (items) {
      console.log('entered');
  },
  onitemsupdated: function (items) {
  },
  onitemsremoved: function (ids) {
  }
};
calendar = tizen.calendar.getDefaultCalendar("EVENT");
watcherId = calendar.addChangeListener(watcher);
ev = new tizen.CalendarEvent(eventInit);
calendar.add(ev);

Change-Id: I4e4304fca036d97eccd62676bfebfbebd5f5f3b5
Signed-off-by: Wojciech Kosowicz <w.kosowicz@samsung.com>
9 years ago[Calenda][Tizen] Filter - JS implementation
Pawel Kaczmarek [Tue, 23 Dec 2014 11:27:39 +0000 (12:27 +0100)]
[Calenda][Tizen] Filter - JS implementation

[Verification]
Below TCT should pass:
Calendar_find_with_filter

Change-Id: Ic60fc5ab4e81ed16f9a75676f6c266519379e521
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
9 years ago[Contact] ContactManager addChangeListener fix
Karol Pawlowski [Tue, 23 Dec 2014 12:19:38 +0000 (13:19 +0100)]
[Contact] ContactManager addChangeListener fix

[Verification]

exports.onRequest = function() {

console.log("Service Start~!");
try {
watcher = {
        onpersonsadded: function (persons) {
            console.log("Contact manager works");
            tizen.contact.removeChangeListener(watcherId);
            console.log("Listener removed");
        },
        onpersonsupdated: function (persons) {
        },
        onpersonsremoved: function (ids) {
        }
    };
    watcherId = tizen.contact.addChangeListener(watcher);
    contact = new tizen.Contact({
        addresses: [new tizen.ContactAddress({
            country: "London"
        })]
    });
    defaultAddressBook = tizen.contact.getDefaultAddressBook();
    defaultAddressBook.add(contact);
}catch (e) {
        console.log(e.name + ': ' + e.message);
        console.log(e.stack);
}
};

Change-Id: I8555031e16dbc769546d712b5b616a7f7ecce8c5
Signed-off-by: Karol Pawlowski <k.pawlowski@samsung.com>
9 years agoAdded require in spec when using sync-agent
Wojciech Kosowicz [Tue, 23 Dec 2014 11:37:20 +0000 (12:37 +0100)]
Added require in spec when using sync-agent

Now when build was done with sync-agent installation
without --nodeps will be shown information about missing
dependency

Change-Id: I28664dbdef41eba0b39ba83cb914dedd7ebccc59
Signed-off-by: Wojciech Kosowicz <w.kosowicz@samsung.com>
9 years ago[NFC] NDEFMessage.toByte() implemented
Piotr Kosko [Tue, 23 Dec 2014 09:58:57 +0000 (10:58 +0100)]
[NFC] NDEFMessage.toByte() implemented

[Feature] Implemented method toByte and fixed NDEFMessage constructor for raw data.

[Verification] Code compiles without errors.
var a = new tizen.NDEFMessage([new tizen.NDEFRecord(1,[1],[2])]); a.records
var bytes = a.toByte();
var b = new tizen.NDEFMessage(bytes); b.records
//both a and b holds same record

Change-Id: I7ae023df8ec757069f1be98538c934acda7e57c3
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
9 years ago[Contact] AddressBook addChangeListener fix
Karol Pawlowski [Mon, 22 Dec 2014 11:41:49 +0000 (12:41 +0100)]
[Contact] AddressBook addChangeListener fix

[Verification]

Use code:

exports.onRequest = function() {

console.log("Service Start~!");
try {
    addressBook = tizen.contact.getDefaultAddressBook();

    contact = new tizen.Contact({
        name: new tizen.ContactName({
            firstName: "John",
            lastName: "Doe"
        }),
        addresses: [new tizen.ContactAddress({
            country: "United States",
            region: "Florida",
            city: "Miami",
            streetAddress: "124 SW 17th Ave."
        })]
    });
    watcher = {
        oncontactsadded: function (contacts) {
            console.log("Works");
            addressBook.removeChangeListener(listener);
            console.log("Listener removed");
        },
        oncontactsupdated: function (contacts) {
        },
        oncontactsremoved: function (ids) {
        }
    };

    listener = addressBook.addChangeListener(watcher);

    addressBook.add(contact);

}catch (e) {
    console.log(e.name + ': ' + e.message);
    console.log(e.stack);
}

};

Efect:
"Works" and "Listener removed" should be visible in dlog

Change-Id: I0c4ee0c224571da554dabc87cbfad6db73675ae6
Signed-off-by: Karol Pawlowski <k.pawlowski@samsung.com>
9 years ago[Calendar] calendar.get, calendar.add
Pawel Kaczmarek [Fri, 19 Dec 2014 10:02:22 +0000 (11:02 +0100)]
[Calendar] calendar.get, calendar.add

[Verification]
var calendar = tizen.calendar.getDefaultCalendar('TASK');
var task = new tizen.CalendarTask({
  description:'Tizen description',
  summary:'Tizen summary',
  startDate: new tizen.TZDate(2015, 2, 20, 10, 0)
});

try {
  calendar.add(task);
  calendar.get(task.id);
  console.log("Successfully retrieved item with id: " + task.id);
} catch (err) {
  console.log('Error: ' + err.name);
}

Change-Id: Ic4cbf66a9242eee41810d7fdeaa5966c00462ded
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
9 years ago[Calendar] Added implementation of asynchrouous methods
Wojciech Kosowicz [Fri, 19 Dec 2014 11:57:39 +0000 (12:57 +0100)]
[Calendar] Added implementation of asynchrouous methods

Change-Id: I3ac21f41d08c0a313f78f511424977438be857ef
Signed-off-by: Wojciech Kosowicz <w.kosowicz@samsung.com>
9 years agoMerge "[NFC] NDEFMessage C++ layer constructor implemented" into devel/master
Jerzy Pabich [Tue, 23 Dec 2014 09:18:21 +0000 (18:18 +0900)]
Merge "[NFC] NDEFMessage C++ layer constructor implemented" into devel/master

9 years ago[FIX] Disabling FMRadio to avoid problems
Marcin Kaminski [Mon, 22 Dec 2014 17:37:27 +0000 (18:37 +0100)]
[FIX] Disabling FMRadio to avoid problems

Libraries related to FMRadio are not installed on emulator
or are broken what causes segmentation fault in node console.
This commit disables FMRadio plugin buidling

Change-Id: Icde9595dc11e62bda10616804b4d2c44dfd5f826
Signed-off-by: Marcin Kaminski <marcin.ka@samsung.com>
9 years agoMerge "[NFC] NFCTag attributes stubs" into devel/master
Jerzy Pabich [Mon, 22 Dec 2014 16:34:01 +0000 (01:34 +0900)]
Merge "[NFC] NFCTag attributes stubs" into devel/master

9 years agoMerge "[Messaging] moved MessageFolder class" into devel/master
Jerzy Pabich [Mon, 22 Dec 2014 15:49:38 +0000 (00:49 +0900)]
Merge "[Messaging] moved MessageFolder class" into devel/master

9 years ago[Calendar] getCalendars() implementation
Wojciech Kosowicz [Thu, 18 Dec 2014 14:26:23 +0000 (15:26 +0100)]
[Calendar] getCalendars() implementation

[Verification]
    function successCall() {
       console.log('entered success');
    }
    function errorCall() {
       console.log('entered error');
    }
    tizen.calendar.getCalendars("EVENT", successCall, errorCall);

Change-Id: I7f0267cf50f9634060dfedf0e86375ea28f9c299
Signed-off-by: Wojciech Kosowicz <w.kosowicz@samsung.com>
9 years ago[Messaging] moved MessageFolder class
Maciek Blim [Sun, 21 Dec 2014 09:51:56 +0000 (10:51 +0100)]
[Messaging] moved MessageFolder class

Change-Id: I0a40ecf65c5b4973cf058064de81f2ae7a250a88
Signed-off-by: Maciek Blim <m.blim@samsung.com>
9 years agoMerge "[Messaging] removeMessages" into devel/master
Jerzy Pabich [Mon, 22 Dec 2014 15:10:03 +0000 (00:10 +0900)]
Merge "[Messaging] removeMessages" into devel/master

9 years ago[Messaging] removeMessages
Maciek Blim [Sat, 20 Dec 2014 10:22:55 +0000 (11:22 +0100)]
[Messaging] removeMessages

Change-Id: Iab2b4c65c1b8e6e68c8f470526dfc1541013d75b
Signed-off-by: Maciek Blim <m.blim@samsung.com>
9 years ago[NFC] NFCTag attributes stubs
Marcin Kaminski [Sat, 20 Dec 2014 17:19:20 +0000 (18:19 +0100)]
[NFC] NFCTag attributes stubs

NFCTag attributes stubs added on both
JS and C++ layer.

Change-Id: I392b78ee4fc619c479c960c2cd0a355337635455
Signed-off-by: Marcin Kaminski <marcin.ka@samsung.com>
9 years agoMerge "[Systeminfo] Fixes for tct test" into devel/master
Jerzy Pabich [Mon, 22 Dec 2014 14:33:17 +0000 (23:33 +0900)]
Merge "[Systeminfo] Fixes for tct test" into devel/master

9 years agoMerge "[Common] Fix for checking {} and [] as Listener parameters" into devel/master
Jerzy Pabich [Mon, 22 Dec 2014 14:32:44 +0000 (23:32 +0900)]
Merge "[Common] Fix for checking {} and [] as Listener parameters" into devel/master

9 years agoMerge "[NFC] Added set(unset)ReceiveNDEFListener implementation." into devel/master
Jerzy Pabich [Mon, 22 Dec 2014 14:31:35 +0000 (23:31 +0900)]
Merge "[NFC] Added set(unset)ReceiveNDEFListener implementation." into devel/master

9 years agoMerge "[Messaging] loadMessageBody" into devel/master
Jerzy Pabich [Mon, 22 Dec 2014 14:30:54 +0000 (23:30 +0900)]
Merge "[Messaging] loadMessageBody" into devel/master

9 years ago[Contact] Add AddressBook_addBatch
Adam Banasiak [Thu, 18 Dec 2014 17:48:55 +0000 (18:48 +0100)]
[Contact] Add AddressBook_addBatch

[DependsOn] http://168.219.209.56/gerrit/#/c/13383/

[Verification]
    function errorCB(err) {
        console.log('The following error occurred: ' +  err.name);
    }
    function contactsAddedCB(contacts) {
        console.log(contacts.length + ' contact(s) were successfully added to an Address Book');
    };
    var addressbook = tizen.contact.getDefaultAddressBook();
    var c1 = new tizen.Contact({name: new tizen.ContactName({firstName:'Jeffrey',
        lastName:'Hyman', nicknames:['joey ramone']}),
        emails:[new tizen.ContactEmailAddress('user1@domain.com')],
        phoneNumbers:[new tizen.ContactPhoneNumber('123456789')]});
    var c2 = new tizen.Contact({name: new tizen.ContactName({firstName:'Elton',
        lastName:'John', nicknames:['El']}),
        emails:[new tizen.ContactEmailAddress('user2@domain.com')],
        phoneNumbers:[new tizen.ContactPhoneNumber('987654321')]});
    addressbook.addBatch([c1, c2], contactsAddedCB, errorCB);

Change-Id: I8643ad3bd1361e161936cacd3b719375c65fabeb
Signed-off-by: Adam Banasiak <a.banasiak@samsung.com>
9 years ago[NFC] NDEFMessage C++ layer constructor implemented
Piotr Kosko [Mon, 22 Dec 2014 06:52:09 +0000 (07:52 +0100)]
[NFC] NDEFMessage C++ layer constructor implemented

[Feature] Added implementation for correctly constructing message based on
  raw data.

[Verification] Code compiles without error.

Change-Id: Ifd4eaccb5bfd7e70b2568d1193c34db731a666e3
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
9 years ago[NFC] Added set(unset)ReceiveNDEFListener implementation.
Tomasz Marciniak [Mon, 22 Dec 2014 12:23:58 +0000 (13:23 +0100)]
[NFC] Added set(unset)ReceiveNDEFListener implementation.

[Verification] Code compiles without errors.

Change-Id: I14e315280a7f429d1434330f2d91a433d3b65941
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
9 years ago[power] fix OnScreenStateChanged error
Seungkeun Lee [Mon, 22 Dec 2014 10:41:30 +0000 (19:41 +0900)]
[power] fix OnScreenStateChanged error

Change-Id: Ia1d91ff7ef2190fb40999cd5b47bde31e39b129b

9 years ago [Power] fix OnScreenStateChanged error
Seungkeun Lee [Mon, 22 Dec 2014 10:26:43 +0000 (19:26 +0900)]
 [Power] fix OnScreenStateChanged error

Change-Id: Ie9df2411fd5ddab1be83930e6a27687e5b5533ed

9 years agoMerge "[FMRadio][feature] interface draft" into devel/master
Jerzy Pabich [Mon, 22 Dec 2014 10:21:39 +0000 (19:21 +0900)]
Merge "[FMRadio][feature] interface draft" into devel/master

9 years ago[Tizen] WebAPIException improvements
Rafal Galka [Mon, 22 Dec 2014 09:23:23 +0000 (10:23 +0100)]
[Tizen] WebAPIException improvements

[Message]
Implementation adapted from previous webapi-plugins architecture.

Change-Id: I4ba6b055b7ee39feec41c6e42b110530a585e5a1

9 years ago[Contact] native_.call() does not return value
Rafal Galka [Thu, 18 Dec 2014 12:47:49 +0000 (13:47 +0100)]
[Contact] native_.call() does not return value

Change-Id: If29973705aaf07317b1474e1073b3dfccb5d4e41