platform/core/api/webapi-plugins.git
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 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[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

9 years ago[Contact] getAddressBooks() implementation
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

9 years agoMerge "[NFC] added C++ constructors for Records" into devel/master
Jerzy Pabich [Mon, 22 Dec 2014 09:20:28 +0000 (18:20 +0900)]
Merge "[NFC] added C++ constructors for Records" into devel/master

9 years ago[NFC] Added setPeerListener/unsetPeerListener implementation.
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>
9 years ago[NFC] fix for UTC tests
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>
9 years agoMerge "[NFC] NDEFMessage, NDEFRecord and children classes added in JS" into devel...
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

9 years ago[NFC] added C++ constructors for Records
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>
9 years ago[NFC] add and remove TransactionEventListener implementation
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>
9 years ago[Callhistory] Change Common into NativeManager.
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>
9 years ago[Common] Fix for checking {} and [] as Listener parameters
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>
9 years ago[Callhistory] Added find method implementation.
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>
9 years ago[NFC] NDEFMessage, NDEFRecord and children classes added in JS
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>
9 years ago[Systeminfo] Fixes for tct test
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>
9 years ago[FMRadio][feature] interface draft
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>
9 years ago[Messaging] loadMessageBody
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>
9 years ago[Archive] Implementation of filesystem classes required by module
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>
9 years ago[Archive] Add C++ code from old implementation.
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>
9 years agoMerge "[Messaging] sendMessage functionality for email messages" into devel/master
Jerzy Pabich [Sat, 20 Dec 2014 13:32:43 +0000 (22:32 +0900)]
Merge "[Messaging] sendMessage functionality for email messages" into devel/master

9 years ago[Messaging] sendMessage functionality for email messages
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>
9 years agoMerge "[Messaging] Added findMessages in C++ layer" into devel/master
Jerzy Pabich [Sat, 20 Dec 2014 13:19:15 +0000 (22:19 +0900)]
Merge "[Messaging] Added findMessages in C++ layer" into devel/master

9 years agoMerge "[Messaging] MsgCommon with Tizen filters" 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

9 years agoMerge "[Messaging] Adding attachments to email" 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

9 years ago[Messaging] Added findMessages in C++ layer
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>
9 years ago[Messaging] MsgCommon with Tizen filters
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>
9 years ago[Utils] Added isListenerSet to nativeManager.
Tomasz Marciniak [Fri, 19 Dec 2014 16:45:10 +0000 (17:45 +0100)]
[Utils] Added isListenerSet to nativeManager.

Change-Id: I88519f28ace57aa74ddcfea502e0b2aa0c4f3403
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
9 years ago[Messaging] converting Message to Json
Maciek Blim [Thu, 18 Dec 2014 13:42:51 +0000 (14:42 +0100)]
[Messaging] converting Message to Json

Change-Id: I99b0847b7806a48f9075a5169f0b42ec7e1f8ef2
Signed-off-by: Maciek Blim <m.blim@samsung.com>
9 years ago[Messaging] Adding attachments to email
Robert Karolak [Wed, 17 Dec 2014 14:28:18 +0000 (15:28 +0100)]
[Messaging] Adding attachments to email

[Verification] Code compiles without errors,
with disabled smack security attachments was added
properly to draft.

Change-Id: I253bb983c5e547adc440ce0b0c53b0584f98a9b1
Signed-off-by: Robert Karolak <r.karolak@samsung.com>
9 years agoMerge "[NFC] add and remove ActiveSecureElementChangeListener implementation" into...
Jerzy Pabich [Fri, 19 Dec 2014 14:10:38 +0000 (23:10 +0900)]
Merge "[NFC] add and remove ActiveSecureElementChangeListener implementation" into devel/master

9 years agoMerge "[NFC] NFCManager::getDefaultAdapter() improved" into devel/master
Jerzy Pabich [Fri, 19 Dec 2014 14:10:19 +0000 (23:10 +0900)]
Merge "[NFC] NFCManager::getDefaultAdapter() improved" into devel/master

9 years ago[Calendar] Updated C++ files
Wojciech Kosowicz [Wed, 17 Dec 2014 08:59:44 +0000 (09:59 +0100)]
[Calendar] Updated C++ files

Commit contains updated C++ files. One synchronuous method already
works.

[Verification] It builts

Change-Id: If96bfa95c2947b31016df358922bf8c5c57ca61e
Signed-off-by: Wojciech Kosowicz <w.kosowicz@samsung.com>
9 years agoMerge "[NFC] add and remove CardEmulationModeChangeListener implementation" into...
Jerzy Pabich [Fri, 19 Dec 2014 12:54:04 +0000 (21:54 +0900)]
Merge "[NFC] add and remove CardEmulationModeChangeListener implementation" into devel/master

9 years ago[DataSync] Change validation methods
Pawel Czajkowski [Wed, 17 Dec 2014 11:34:44 +0000 (12:34 +0100)]
[DataSync] Change validation methods

[Validation]
    1. Load tizen module in node.
    2. Run 'dlogutil node' command in another console.
    3. Paste sample code:
        var person = {};
        try {tizen.datasync.stopSync(person); } catch (e) { console.log(e.name) }
    3. You should find in dlog 'TypeError'.

Change-Id: I7a6040a1ff56ab2970f39f2e1d3a9c2237dfb3bc
Signed-off-by: Pawel Czajkowski <p.czajkowski@samsung.com>
9 years ago[TV Display] Sync methods implemented
Marcin Wasowski [Thu, 11 Dec 2014 11:53:21 +0000 (12:53 +0100)]
[TV Display] Sync methods implemented

- get3DEffectMode()
- is3DModeEnabled()
- stub for getSupported3DEffectModeList()

Change-Id: I51ed79fbc3c149305da60837bb778d61782a5150
Signed-off-by: Marcin Wasowski <m.wasowski2@samsung.com>
9 years ago[NFC] add and remove ActiveSecureElementChangeListener implementation
Lukasz Bardeli [Fri, 19 Dec 2014 08:54:11 +0000 (09:54 +0100)]
[NFC] add and remove ActiveSecureElementChangeListener implementation

[Verification] Code compiles without errors.

Change-Id: I9fe0482f93b0c89e706941f3f9ce0e3f9f196ce2
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
9 years ago[NFC] NFCManager::getDefaultAdapter() improved
Marcin Kaminski [Thu, 18 Dec 2014 16:52:35 +0000 (17:52 +0100)]
[NFC] NFCManager::getDefaultAdapter() improved

NFC support and exception throwing at the beginning
of getDefaultAdapter() function added.

Change-Id: I5e881cbd964724d3deca115b9be6e8f0b0c2bc21
Signed-off-by: Marcin Kaminski <marcin.ka@samsung.com>
9 years agoMerge "[SystemInfo] Memory property implemented" into devel/master
Jerzy Pabich [Fri, 19 Dec 2014 09:55:10 +0000 (18:55 +0900)]
Merge "[SystemInfo] Memory property implemented" into devel/master

9 years agoMerge "[Callhistory] Added remove, removeBatch/All implementation." into devel/master
Jerzy Pabich [Fri, 19 Dec 2014 09:54:13 +0000 (18:54 +0900)]
Merge "[Callhistory] Added remove, removeBatch/All implementation." into devel/master

9 years agoMerge "[Systeminfo] added array properties handling" into devel/master
Jerzy Pabich [Fri, 19 Dec 2014 09:53:59 +0000 (18:53 +0900)]
Merge "[Systeminfo] added array properties handling" into devel/master