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

9 years agoMerge "[Callhistory] Added listeners implementation." into devel/master
Jerzy Pabich [Fri, 19 Dec 2014 09:53:43 +0000 (18:53 +0900)]
Merge "[Callhistory] Added listeners implementation." into devel/master

9 years agoMerge "[NFC] NFCAdapter::setExclusiveModeForTransaction" into devel/master
Jerzy Pabich [Fri, 19 Dec 2014 09:52:30 +0000 (18:52 +0900)]
Merge "[NFC] NFCAdapter::setExclusiveModeForTransaction" into devel/master

9 years agoMerge "[NFC] NFCAdapter::activeSecureElement impl." into devel/master
Jerzy Pabich [Fri, 19 Dec 2014 09:52:15 +0000 (18:52 +0900)]
Merge "[NFC] NFCAdapter::activeSecureElement impl." into devel/master

9 years agoMerge "[NFC] Adapter::cardEmulationMode implementation" into devel/master
Jerzy Pabich [Fri, 19 Dec 2014 09:51:55 +0000 (18:51 +0900)]
Merge "[NFC] Adapter::cardEmulationMode implementation" into devel/master

9 years agoMerge "[Messaging] Added stopSync() method" into devel/master
Jerzy Pabich [Thu, 18 Dec 2014 18:44:39 +0000 (03:44 +0900)]
Merge "[Messaging] Added stopSync() method" into devel/master

9 years ago[Messaging] Added stopSync() method
Jerzy Pabich [Thu, 18 Dec 2014 16:52:41 +0000 (17:52 +0100)]
[Messaging] Added stopSync() method

[Verification] The code below works fine:

var email_serv;

// Defines the success callback.
function serviceSynced() {
console.log("New messages are fetched!");
}

// Defines the success callback.
function servicesListSuccessCB(services) {
console.log("services");
email_serv = services[0];
//services[0].sync(serviceSynced, null, 30);
// Subscribes to MessageStorage notification
}

tizen.messaging.getMessageServices("messaging.email", servicesListSuccessCB);

var op_id = email_serv.sync(function(){console.log("hura")}, function(e){console.log("name: " + e.name); console.log("message: " + e.message);});
email_serv.stopSync(op_id);

Change-Id: I7cabadf3825c8f9670d30196f5f0f9ea1e9a09ac
Signed-off-by: Jerzy Pabich <j.pabich@samsung.com>
9 years agoMerge "[Archive] JS implementation" into devel/master
Jerzy Pabich [Thu, 18 Dec 2014 17:50:48 +0000 (02:50 +0900)]
Merge "[Archive] JS implementation" into devel/master

9 years ago[NFC] add and remove CardEmulationModeChangeListener implementation
Lukasz Bardeli [Thu, 18 Dec 2014 13:15:40 +0000 (14:15 +0100)]
[NFC] add and remove CardEmulationModeChangeListener implementation

[Verification] Code compiles without errors.

Change-Id: I94f4471cb16330f33d72601b11b68cf63f49e521
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
9 years ago[NFC] NFCAdapter::setExclusiveModeForTransaction
Marcin Kaminski [Thu, 18 Dec 2014 12:48:45 +0000 (13:48 +0100)]
[NFC] NFCAdapter::setExclusiveModeForTransaction

Added:
NFCAdapter::setExclusiveModeForTransaction()
Fixed:
NFCManager::setExclusiveMode()
Error reporting in C++ layer

Change-Id: Ie6dcbde394d724219a194c78ac2c8118b68a2fb9
Signed-off-by: Marcin Kaminski <marcin.ka@samsung.com>
9 years ago[Messaging] Added errorCallback to sync() method
Jerzy Pabich [Wed, 17 Dec 2014 11:31:45 +0000 (12:31 +0100)]
[Messaging] Added errorCallback to sync() method

[Verification] The code below works fine:

var email_serv;

// Defines the success callback.
function serviceSynced() {
console.log("New messages are fetched!");
}

// Defines the success callback.
function servicesListSuccessCB(services) {
console.log("services");
email_serv = services[0];
//services[0].sync(serviceSynced, null, 30);
// Subscribes to MessageStorage notification
}

tizen.messaging.getMessageServices("messaging.email", servicesListSuccessCB);

var op_id = email_serv.sync(function(){console.log("hura")}, function(e){console.log("name: " + e.name); console.log("message: " + e.message);});

Change-Id: I00ea7015cebf79f6d4fd9d3a4877000bdf8e9679
Signed-off-by: Jerzy Pabich <j.pabich@samsung.com>
9 years ago[Contact] AddressBook.getGroups() fix
Rafal Galka [Wed, 17 Dec 2014 15:53:17 +0000 (16:53 +0100)]
[Contact] AddressBook.getGroups() fix

[Verification]
var book = tizen.contact.getDefaultAddressBook();
var groups = book.getGroups();
console.log('groups found: ' + groups.length);

Should be more than zero groups.

Change-Id: Ided1e83cdf97305bd95f4fe61114dca2a76f2c26

9 years agoMerge "[NFC] setPowered implementation" into devel/master
Jerzy Pabich [Thu, 18 Dec 2014 09:13:43 +0000 (18:13 +0900)]
Merge "[NFC] setPowered implementation" into devel/master

9 years ago[SystemInfo] Memory property implemented
Piotr Kosko [Thu, 18 Dec 2014 08:45:23 +0000 (09:45 +0100)]
[SystemInfo] Memory property implemented

[Feature] getPropertyValue and addPropertyValueChangeListener for MEMORY work.

[Verification] Code compiles without errors.
  Tested in console. Getting property and registering listener is possible.

Change-Id: I8999df5b0e80b49dd11dcbd6c9122b9d71b1e1c3
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
9 years ago[Systeminfo] added array properties handling
Piotr Kosko [Wed, 17 Dec 2014 10:44:16 +0000 (11:44 +0100)]
[Systeminfo] added array properties handling

[Feature] Added getPropertyValueArray, setPropertyValueArrayChangeListener implemented.

[Verification] Code compiles without errors.
  Tested in console. All methods work fine.

Change-Id: Ibbc5788198104579b78941acda0a9bde1c97f0be
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
9 years agoMerge "[Systeminfo] added methods from 2.3" into devel/master
Jerzy Pabich [Thu, 18 Dec 2014 08:30:12 +0000 (17:30 +0900)]
Merge "[Systeminfo] added methods from 2.3" into devel/master

9 years ago[DataSync] Fix for correct loading DataSync module
Pawel Czajkowski [Wed, 17 Dec 2014 09:30:37 +0000 (10:30 +0100)]
[DataSync] Fix for correct loading DataSync module

[Verification]
    1. Load tizen module in node.
    2. Type tizen.datasync. It should be presented as object {}

Change-Id: Icbaaebae925089a90026c94de77523b8e02e621c
Signed-off-by: Pawel Czajkowski <p.czajkowski@samsung.com>
9 years ago[DataSync] Refactoring: Logger
Ryszard Matuszyk [Wed, 17 Dec 2014 10:52:23 +0000 (11:52 +0100)]
[DataSync] Refactoring: Logger

Change-Id: Iae6d79130e22794445f55010a048541fadd88eaf
Signed-off-by: Ryszard Matuszyk <r.matuszyk@samsung.com>
9 years agoMerge "[Systeminfo] ported implementation based on Node.js" into devel/master
Jerzy Pabich [Thu, 18 Dec 2014 08:16:27 +0000 (17:16 +0900)]
Merge "[Systeminfo] ported implementation based on Node.js" into devel/master

9 years ago[Archive] JS implementation
Krzysztof Lachacz [Thu, 18 Dec 2014 07:52:21 +0000 (08:52 +0100)]
[Archive] JS implementation

[Verification] Code compiles without errors.

Change-Id: I5b439d5de63bcc0f5374a66ccd0275778956103d
Signed-off-by: Krzysztof Lachacz <k.lachacz@samsung.com>
9 years ago[NFC] NFCAdapter::activeSecureElement impl.
Marcin Kaminski [Wed, 17 Dec 2014 18:51:05 +0000 (19:51 +0100)]
[NFC] NFCAdapter::activeSecureElement impl.

Added support for activeSecureElement attribute in NFCAdapter.
Some logs added in cardEmulationMode attribute handling.

Change-Id: I3209ac80b0f4a04d7480df6b8d15debaf85f3649
Signed-off-by: Marcin Kaminski <marcin.ka@samsung.com>
9 years agoMerge "[Tizen] Fix for optional error code param" into devel/master
Jerzy Pabich [Thu, 18 Dec 2014 06:26:49 +0000 (15:26 +0900)]
Merge "[Tizen] Fix for optional error code param" into devel/master

9 years agoChange LOG_TAG of webapi-plugins to WEBAPI_PLUGINS from WEBAPI-PLUGINS
WonYoung Choi [Thu, 18 Dec 2014 01:43:48 +0000 (10:43 +0900)]
Change LOG_TAG of webapi-plugins to WEBAPI_PLUGINS from WEBAPI-PLUGINS

Change-Id: I319b761a746c1d32a7c636efb94ed7ecde772e64

9 years ago[NFC] Adapter::cardEmulationMode implementation
Marcin Kaminski [Tue, 16 Dec 2014 18:09:29 +0000 (19:09 +0100)]
[NFC] Adapter::cardEmulationMode implementation

Support for cardEmulationMode attribute of NFCAdaper added.

Change-Id: Ifc700942695702326387b662a596ed96bcf1d0d7
Signed-off-by: Marcin Kaminski <marcin.ka@samsung.com>
9 years ago[Tizen] Fix for optional error code param
Jerzy Pabich [Wed, 17 Dec 2014 11:34:55 +0000 (12:34 +0100)]
[Tizen] Fix for optional error code param

Change-Id: I4dcc281e85fc3bf2ea74396e947696ca998f0d6c
Signed-off-by: Jerzy Pabich <j.pabich@samsung.com>
9 years ago[NFC] setPowered implementation
Lukasz Bardeli [Wed, 17 Dec 2014 11:09:07 +0000 (12:09 +0100)]
[NFC] setPowered implementation

[Verification] Code compiles without error;

Change-Id: Ide0644d97f6b735dfe5804c46c6c0a104975a748
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
9 years ago[Calendar] JavaScript files refactoring
Pawel Kaczmarek [Wed, 17 Dec 2014 08:11:36 +0000 (09:11 +0100)]
[Calendar] JavaScript files refactoring

Change-Id: I5a7a930956ba5f0c3a316c27cdf20995df984a79
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>