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
Rafal Galka [Tue, 30 Dec 2014 18:12:37 +0000 (19:12 +0100)]
[DataSync] Fix JS
This fixes module loading.
Change-Id: I007520c1f3678e5b305b37c13ccaf4a33e83fc46
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>
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>
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>
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>
Jerzy Pabich [Tue, 30 Dec 2014 13:16:48 +0000 (22:16 +0900)]
Merge "[Archive] Fixes for TCTs" into devel/master
Jerzy Pabich [Tue, 30 Dec 2014 13:15:19 +0000 (22:15 +0900)]
Merge "[Archive] Fixes for errorCallbacks" into devel/master
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>
Jerzy Pabich [Tue, 30 Dec 2014 11:58:45 +0000 (20:58 +0900)]
Merge "[Messaging] findFolders implementation" 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
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>
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>
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>
Seungkeun Lee [Tue, 30 Dec 2014 00:03:15 +0000 (09:03 +0900)]
Merge "[power] fix OnScreenStateChanged error" into devel/master
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>
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>
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>
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>
Jerzy Pabich [Mon, 29 Dec 2014 14:05:23 +0000 (23:05 +0900)]
Merge "[Messaging] findMessages implementation" into devel/master
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>
Jerzy Pabich [Mon, 29 Dec 2014 13:57:04 +0000 (22:57 +0900)]
Merge "[NFC] NFCTag attributes implemented" 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
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
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
Jerzy Pabich [Mon, 29 Dec 2014 13:17:08 +0000 (22:17 +0900)]
Merge "[TV Display] Sync methods implemented" into devel/master
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>
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>
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>
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>
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
Jerzy Pabich [Mon, 29 Dec 2014 12:36:15 +0000 (21:36 +0900)]
Merge "[Archive] Add C++ code from old implementation." 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
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>
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>
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
Jerzy Pabich [Mon, 29 Dec 2014 08:13:16 +0000 (17:13 +0900)]
Merge "[NFC] NDEFMessage.toByte() implemented" 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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Jerzy Pabich [Tue, 23 Dec 2014 09:18:21 +0000 (18:18 +0900)]
Merge "[NFC] NDEFMessage C++ layer constructor implemented" into devel/master
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>
Jerzy Pabich [Mon, 22 Dec 2014 16:34:01 +0000 (01:34 +0900)]
Merge "[NFC] NFCTag attributes stubs" into devel/master
Jerzy Pabich [Mon, 22 Dec 2014 15:49:38 +0000 (00:49 +0900)]
Merge "[Messaging] moved MessageFolder class" into devel/master
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>
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>
Jerzy Pabich [Mon, 22 Dec 2014 15:10:03 +0000 (00:10 +0900)]
Merge "[Messaging] removeMessages" into devel/master
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>
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>
Jerzy Pabich [Mon, 22 Dec 2014 14:33:17 +0000 (23:33 +0900)]
Merge "[Systeminfo] Fixes for tct test" 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
Jerzy Pabich [Mon, 22 Dec 2014 14:31:35 +0000 (23:31 +0900)]
Merge "[NFC] Added set(unset)ReceiveNDEFListener implementation." into devel/master
Jerzy Pabich [Mon, 22 Dec 2014 14:30:54 +0000 (23:30 +0900)]
Merge "[Messaging] loadMessageBody" into devel/master
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>
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>
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>
Seungkeun Lee [Mon, 22 Dec 2014 10:41:30 +0000 (19:41 +0900)]
[power] fix OnScreenStateChanged error
Change-Id: Ia1d91ff7ef2190fb40999cd5b47bde31e39b129b
Seungkeun Lee [Mon, 22 Dec 2014 10:26:43 +0000 (19:26 +0900)]
[Power] fix OnScreenStateChanged error
Change-Id: Ie9df2411fd5ddab1be83930e6a27687e5b5533ed
Jerzy Pabich [Mon, 22 Dec 2014 10:21:39 +0000 (19:21 +0900)]
Merge "[FMRadio][feature] interface draft" into devel/master
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
Rafal Galka [Thu, 18 Dec 2014 12:47:49 +0000 (13:47 +0100)]
[Contact] native_.call() does not return value
Change-Id: If29973705aaf07317b1474e1073b3dfccb5d4e41
Rafal Galka [Mon, 22 Dec 2014 09:42:33 +0000 (10:42 +0100)]
[Contact] getAddressBooks() implementation
[Verification]
tizen.contact.getAddressBooks(function(addressbooks) {
console.log('addressbooks length: ' + addressbooks.length);
if (addressbooks.length) {
var addressbook = addressbooks[0];
console.log('The addressbook type is ' + addressbook.type +
' and name ' + addressbook.name);
}
}, function (e) {
console.log(e.name + ': ' + e.message);
console.log(e.stack);
});
Change-Id: I02ce69482667dbd25d958d866a32abeb4302a8d6
Jerzy Pabich [Mon, 22 Dec 2014 09:20:28 +0000 (18:20 +0900)]
Merge "[NFC] added C++ constructors for Records" into devel/master
Tomasz Marciniak [Mon, 22 Dec 2014 08:46:54 +0000 (09:46 +0100)]
[NFC] Added setPeerListener/unsetPeerListener implementation.
[Verification] Code compiles without errors.
Change-Id: I765d1877665c7f136d15779576aa03e1812f3a03
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Lukasz Bardeli [Sun, 21 Dec 2014 12:24:19 +0000 (13:24 +0100)]
[NFC] fix for UTC tests
Change-Id: I0dd54c94350d5406b895afd9baaeb17c2b8ce6ed
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Jerzy Pabich [Mon, 22 Dec 2014 08:31:36 +0000 (17:31 +0900)]
Merge "[NFC] NDEFMessage, NDEFRecord and children classes added in JS" into devel/master
Piotr Kosko [Sun, 21 Dec 2014 06:55:12 +0000 (07:55 +0100)]
[NFC] added C++ constructors for Records
[Feature] now NDEFRecord, NDEFRecordText, NDEFRecordURI and NDEFRecordMedia
constructors fill objects with correct data.
[Verification] Code compiles without errors.
Verified in console.
Change-Id: I46726d9645a1f763de2c8e6eb9451c8e655e8169
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Lukasz Bardeli [Sun, 21 Dec 2014 13:31:39 +0000 (14:31 +0100)]
[NFC] add and remove TransactionEventListener implementation
[Verification] Code compiles without errors.
Change-Id: I739ff828eb6c81a2c48142f3002e13b564db9f24
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Tomasz Marciniak [Fri, 19 Dec 2014 09:27:17 +0000 (10:27 +0100)]
[Callhistory] Change Common into NativeManager.
[Feature] Code cleaning, added missing logs,
using NativeManager instead of Common.
[Verification] Code compiles without errors.
UTC and TCT passrate 100%
Change-Id: I9e1cfb12bd9ab572db27327d1d12551364a132dd
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Lukasz Bardeli [Sun, 21 Dec 2014 12:19:57 +0000 (13:19 +0100)]
[Common] Fix for checking {} and [] as Listener parameters
Change-Id: If49b8dfc106e07e89de5d445d0024b1608c35fb1
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Tomasz Marciniak [Tue, 16 Dec 2014 10:42:32 +0000 (11:42 +0100)]
[Callhistory] Added find method implementation.
[Verification] Code compiles without errors.
find() returns CallHistoryEntry array.
TCT passrate 100%
Change-Id: Ia04876dd7c74cc25e3a884904953ce1df1840e65
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Piotr Kosko [Sat, 20 Dec 2014 14:19:24 +0000 (15:19 +0100)]
[NFC] NDEFMessage, NDEFRecord and children classes added in JS
[Feature] NDEFMessage, NDEFRecord, NDEFRecordText, NDEFRecordURI, NDEFRecordMedia
classes was added to JS layer. Creation of them is possible.
[Verification] Code compiles without errors.
tizen.NDEFMessage
tizen.NDEFRecord
tizen.NDEFRecordText
tizen.NDEFRecordURI
tizen.NDEFRecordMedia
are visible and can be created as mentioned in widl.
//correct calls
var a = new tizen.NDEFMessage([new tizen.NDEFRecord(1,[1],[2])]);
var b = new tizen.NDEFRecordURI("some_uri");
//invalid constructor calls
var a = new tizen.NDEFRecord(1,2,3,4,5);
var b = new tizen.NDEFRecordURI();
Change-Id: Ia4fc3ad07603a669cb447abf82370f55bc08bc06
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Fri, 19 Dec 2014 11:49:01 +0000 (12:49 +0100)]
[Systeminfo] Fixes for tct test
Change-Id: I4664e23f9239bdbf263dbbce1f365f93b0a67f6b
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Dominik Rekawek [Fri, 12 Dec 2014 18:17:39 +0000 (19:17 +0100)]
[FMRadio][feature] interface draft
JS: Attributes and functions defined
Cpp: Functions in instance defined
Verify:
> tizen.fmradio
{ frequency: 'TEST',
frequencyUpperBound: 'TEST',
frequencyLowerBound: 'TEST',
signalStrength: 'TEST',
state: 'TEST',
isAntennaConnected: 'TEST',
mute: 'TEST' }
Change-Id: I60f31a81ff6ba3d1a2f13da5eb8f8346649eb535
Signed-off-by: Dominik Rekawek <d.rekawek@samsung.com>
Maciek Blim [Thu, 18 Dec 2014 15:17:52 +0000 (16:17 +0100)]
[Messaging] loadMessageBody
Change-Id: I5ec96330ac6e874bdb572625e13dbaf379977aa4
Signed-off-by: Maciek Blim <m.blim@samsung.com>
Krzysztof Lachacz [Fri, 19 Dec 2014 12:47:37 +0000 (13:47 +0100)]
[Archive] Implementation of filesystem classes required by module
[Verification] Code compiles without errors.
Archive object is visible in tizen namespace.
Change-Id: Ia1613bf84ebed2f2cce244b3887e7537443e39a6
Signed-off-by: Krzysztof Lachacz <k.lachacz@samsung.com>
Krzysztof Lachacz [Tue, 16 Dec 2014 20:25:02 +0000 (21:25 +0100)]
[Archive] Add C++ code from old implementation.
[Veryfication] Code compile without errors,
Archive object is available through tizen object.
Change-Id: Id8efcdf429b2eda46dab1f2a2bd06a38984e826c
Signed-off-by: Andrzej Jacak <a.jacak@partner.samsung.com>
Signed-off-by: Krzysztof Lachacz <k.lachacz@samsung.com>
Jerzy Pabich [Sat, 20 Dec 2014 13:32:43 +0000 (22:32 +0900)]
Merge "[Messaging] sendMessage functionality for email messages" into devel/master
Robert Karolak [Wed, 17 Dec 2014 20:48:08 +0000 (21:48 +0100)]
[Messaging] sendMessage functionality for email messages
[Verification] Code compiles without errors.
Function sendMessage was tested in node console.
Change-Id: I1e82a3460e9fa16fc5144d52ee34b35dd872a2d2
Signed-off-by: Robert Karolak <r.karolak@samsung.com>
Jerzy Pabich [Sat, 20 Dec 2014 13:19:15 +0000 (22:19 +0900)]
Merge "[Messaging] Added findMessages in C++ layer" into devel/master
Jerzy Pabich [Sat, 20 Dec 2014 13:18:57 +0000 (22:18 +0900)]
Merge "[Messaging] MsgCommon with Tizen filters" into devel/master
Jerzy Pabich [Sat, 20 Dec 2014 13:01:40 +0000 (22:01 +0900)]
Merge "[Messaging] Adding attachments to email" into devel/master
Jerzy Pabich [Sat, 20 Dec 2014 10:20:12 +0000 (11:20 +0100)]
[Messaging] Added findMessages in C++ layer
[Verification] N/A
Change-Id: I47aa4e4e266d17dd4d33c949c50b85f63707c67b
Signed-off-by: Jerzy Pabich <j.pabich@samsung.com>
Jerzy Pabich [Fri, 19 Dec 2014 18:30:23 +0000 (19:30 +0100)]
[Messaging] MsgCommon with Tizen filters
[Verification] Message derives from FilterableObject and
its constructor works fine:
var m = new tizen.Message("messaging.email");
Change-Id: Ia457e8b48a898106166ecf257a84dbc2052cd4d4
Signed-off-by: Jerzy Pabich <j.pabich@samsung.com>