platform/core/api/webapi-plugins.git
9 years ago[Filesystem] File.createFile JS part
Pawel Kaczmarek [Thu, 19 Feb 2015 12:07:50 +0000 (13:07 +0100)]
[Filesystem] File.createFile JS part

[Verification]
Should create file in given directory

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

Change-Id: Ie969f3a9583da7dd562507ffaadc75048f284212
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
9 years ago[Filesystem] File.deleteFile JS part
Pawel Kaczmarek [Tue, 24 Feb 2015 10:49:50 +0000 (11:49 +0100)]
[Filesystem] File.deleteFile JS part

[Verification]
function onsuccess(files) {
   for (var i = 0; i < files.length; i++) {
     if (!files[i].isDirectory) {
       documentsDir.deleteFile(
           files[i].fullPath,
           function() {
             console.log("File Deleted");
           }, function(e) {
             console.log("Error" + e.message);
           });
     }
   }
 }

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

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

//should remove all files from images directory

[Depends on]
http://168.219.209.56/gerrit/#/c/20599/
http://168.219.209.56/gerrit/#/c/20616/ - needed for verification

Change-Id: Ic35270fe31760b6fbb52ff4ba74e686931d2f39a
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
9 years ago[Filesystem] createDirectory JS part
Pawel Kaczmarek [Wed, 18 Feb 2015 13:59:16 +0000 (14:59 +0100)]
[Filesystem] createDirectory JS part

[Verification]
tizen.filesystem.resolve(
  'images/',
  function (dir) {
    var newDir = dir.createDirectory("newDir");
    console.log(newDir.name === 'newDir');
  }, function (e) {
  console.log("filesystem.resolve Error callback: " + e.message);
}, "rw");
//should create directory and return true

[Depends On]
http://168.219.209.56/gerrit/#/c/20563/

Change-Id: Ib3cfe7a5608f04a5d87724ec57408a54c6d5fd66
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
9 years ago[Filesystem] File.listFiles JS part
Pawel Kaczmarek [Tue, 24 Feb 2015 13:28:00 +0000 (14:28 +0100)]
[Filesystem] File.listFiles JS part

[Verification]
function onsuccess(files) {
  console.log('success callback', files.length)
}

function onerror(error) {
  console.log("The error " + error.message);
}

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

//should return number of files and folders in images directory

[Depends on]
http://168.219.209.56/gerrit/#/c/20597/
http://168.219.209.56/gerrit/#/c/20562/

Change-Id: I2037e14c18ec279f0e2bdb7c1e1ab7f12bc684ed
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
9 years agoMerge "[Package] Remove existed listener when changing listener" into devel/master
Jinwoo Jeong [Tue, 24 Feb 2015 11:15:50 +0000 (20:15 +0900)]
Merge "[Package] Remove existed listener when changing listener" into devel/master

9 years ago[Filesystem] Listeners
Wojciech Kosowicz [Thu, 19 Feb 2015 15:38:00 +0000 (16:38 +0100)]
[Filesystem] Listeners

Change-Id: Ibfb16719ed9c0c55762169e30d8291afb84f1728
Signed-off-by: Wojciech Kosowicz <w.kosowicz@samsung.com>
9 years ago[Filesystem] RemoveDirectory
Wojciech Kosowicz [Tue, 17 Feb 2015 12:48:32 +0000 (13:48 +0100)]
[Filesystem] RemoveDirectory

Change-Id: Id66f138bc69b175afa284168b8617df2a52f69a6
Signed-off-by: Wojciech Kosowicz <w.kosowicz@samsung.com>
9 years ago[Filesystem] Unlink file
Wojciech Kosowicz [Tue, 17 Feb 2015 12:48:32 +0000 (13:48 +0100)]
[Filesystem] Unlink file

Change-Id: I7856188132ba7fce9699a8e8169e2882c6026333
Signed-off-by: Wojciech Kosowicz <w.kosowicz@samsung.com>
9 years ago[Filesystem] ReadDir native implementation
Wojciech Kosowicz [Tue, 17 Feb 2015 12:26:43 +0000 (13:26 +0100)]
[Filesystem] ReadDir native implementation

Change-Id: I5d7be72190aae37cf0200a2eeb980cecbe1f8d16
Signed-off-by: Wojciech Kosowicz <w.kosowicz@samsung.com>
9 years ago[Filesystem] FileSystemManager_mkdir native API
Kamil Lysik [Mon, 16 Feb 2015 15:23:17 +0000 (16:23 +0100)]
[Filesystem] FileSystemManager_mkdir native API

Added API to create directory. This API create full path
when it is required. There are 2 versions: sync and async.

Change-Id: I81483c15bbd85d5501c3fd65b3f0399f3e2ad831
Signed-off-by: Kamil Lysik <k.lysik@samsung.com>
Signed-off-by: Pawel Sikorski <p.sikorski@samsung.com>
9 years ago[Filesystem] File_rename method
Kamil Lysik [Tue, 17 Feb 2015 11:18:54 +0000 (12:18 +0100)]
[Filesystem] File_rename method

Change-Id: I6acb306a47b25ec7b9f5ad88c94c176fdcaed19e
Signed-off-by: Kamil Lysik <k.lysik@samsung.com>
9 years ago[Package] Remove existed listener when changing listener
ByungWoo Lee [Tue, 24 Feb 2015 04:08:18 +0000 (13:08 +0900)]
[Package] Remove existed listener when changing listener

Change-Id: I253af74977066aea0cad85fe25dac4d72bbf9835

9 years agoMerge "[Filesystem] File.resolve" into devel/master
pius lee [Mon, 23 Feb 2015 15:18:44 +0000 (00:18 +0900)]
Merge "[Filesystem] File.resolve" into devel/master

9 years agoMerge "[Filesystem] Listeners, getStorage, listStorages JS part" into devel/master
pius lee [Mon, 23 Feb 2015 15:13:51 +0000 (00:13 +0900)]
Merge "[Filesystem] Listeners, getStorage, listStorages JS part" into devel/master

9 years agoMerge "[Filesystem] File_createSync native API" into devel/master
pius lee [Mon, 23 Feb 2015 15:09:32 +0000 (00:09 +0900)]
Merge "[Filesystem] File_createSync native API" into devel/master

9 years ago[exif] Fixes based on tests fails
Grzegorz Rynkowski [Fri, 13 Feb 2015 14:25:32 +0000 (15:25 +0100)]
[exif] Fixes based on tests fails

[Problem]   Fails and timeouts.
    ExifManager_getThumbnail
    ExifManager_getThumbnail_with_errorCallback
    ExifManager_getThumbnail_errorCallback_invoked_InvalidValuesError
    ExifManager_getThumbnail_errorCallback_invoked_NotFoundError
    ExifManager_saveExifInfo_errorCallback_invoked_NotFoundError
    ExifThumbnailSuccessCallback_onsuccess

[Verification]
    1. Build the code.
    2. Run Exif tests.
    3. Mentioned tests should pass.

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

Change-Id: Id7e996f8b9033ddf03327d152daa4204bb1dd8ec
Signed-off-by: Grzegorz Rynkowski <g.rynkowski@samsung.com>
9 years ago[Filesystem] File.resolve
Pawel Kaczmarek [Mon, 23 Feb 2015 15:05:43 +0000 (16:05 +0100)]
[Filesystem] File.resolve

[Verification]
tizen.filesystem.resolve(
  'documents',
  function(dir) {
    var file = dir.resolve("file.txt");
    console.log('file: ', file);
  },
  function(e) { console.log("Error" + e.message);},
  "rw");
//should return file object

Change-Id: Ifd67b9547f50b2749ce587fd137dd1991e96c4c8
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
9 years ago[Filesystem] File_createSync native API
Kamil Lysik [Tue, 17 Feb 2015 11:42:21 +0000 (12:42 +0100)]
[Filesystem] File_createSync native API

File_createSync attempts to create new file.
If file exists, then file is preserved.

Change-Id: Ie4262504be19d61dd3f500608e02ab6fe2b36163
Signed-off-by: Kamil Lysik <k.lysik@samsung.com>
9 years ago[SecureElement] Updated try/catch code to match exceptions thrown from SE library.
Pawel Andruszkiewicz [Mon, 23 Feb 2015 11:12:33 +0000 (12:12 +0100)]
[SecureElement] Updated try/catch code to match exceptions thrown from SE library.

Try/catch cannot be removed, as exceptions are generated in library used
by this module.

Change-Id: I5a1ce4ce18d5422587a80ac6fa7f5835b306f4d1

9 years ago[TVDisplay] Remove try/catch to adjust to google coding style
Piotr Czaja [Thu, 19 Feb 2015 14:09:00 +0000 (15:09 +0100)]
[TVDisplay] Remove try/catch to adjust to google coding style

[Verification] Code compiles without error.

Change-Id: Iec3decae0eb683c556abafdc8803fd6859a0a65f
Signed-off-by: Piotr Czaja <p.czaja@samsung.com>
9 years ago[Systeminfo] removed old node.js common
Piotr Kosko [Mon, 23 Feb 2015 12:20:21 +0000 (13:20 +0100)]
[Systeminfo] removed old node.js common

Change-Id: I0b32ee2eeeb53c37be4e3244e12677f0ae25f818
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
9 years ago[Systemnifo] use throw-free methods from dbus
Piotr Kosko [Fri, 20 Feb 2015 12:13:50 +0000 (13:13 +0100)]
[Systemnifo] use throw-free methods from dbus

Change-Id: Id2fa781dc34cacac1bed90c368a22c43f4fed282
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
9 years ago[Common] Added throw-free methods for dbus
Piotr Kosko [Fri, 20 Feb 2015 11:59:48 +0000 (12:59 +0100)]
[Common] Added throw-free methods for dbus

Change-Id: Ia2714beac15eee5b49036f4321d3e806aba4cead
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
9 years ago[FMRadio] Removed try/catch.
Pawel Andruszkiewicz [Fri, 20 Feb 2015 12:33:22 +0000 (13:33 +0100)]
[FMRadio] Removed try/catch.

Change-Id: I066caeab6eae0331bceb3a50bb6881afb1a6f1fb

9 years ago[NFC] Remove try/catch to adjust to google coding style - part 1
Lukasz Bardeli [Mon, 23 Feb 2015 09:21:18 +0000 (10:21 +0100)]
[NFC] Remove try/catch to adjust to google coding style - part 1

[Verification] Code compiles without error

Change-Id: I028105ee5edeba5278304f2e5356e3cf65befc2b
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
9 years ago[TV][Audio] Remove try/catch to adjust to google coding style
Piotr Czaja [Mon, 16 Feb 2015 10:29:12 +0000 (11:29 +0100)]
[TV][Audio] Remove try/catch to adjust to google coding style

[Verification] Code compiles without error.

Change-Id: I3f8839c918a55e606c36613615968172229e4d36
Signed-off-by: Piotr Czaja <p.czaja@samsung.com>
9 years agoMerge "[Filesystem] Add path to File_stat return object" into devel/master
pius lee [Mon, 23 Feb 2015 09:41:52 +0000 (18:41 +0900)]
Merge "[Filesystem] Add path to File_stat return object" into devel/master

9 years ago[Filesystem] Code style fix
Kamil Lysik [Mon, 23 Feb 2015 09:19:41 +0000 (10:19 +0100)]
[Filesystem] Code style fix

There is missing comment at the end of namespace.

Change-Id: I1b2a7bf8eea3b36916cd132e3a9687e9547cb44d
Signed-off-by: Kamil Lysik <k.lysik@samsung.com>
9 years agoMerge "[Filesystem] Refactor: Add PrepareError function" into devel/master
pius lee [Mon, 23 Feb 2015 09:14:57 +0000 (18:14 +0900)]
Merge "[Filesystem] Refactor: Add PrepareError function" into devel/master

9 years agoMerge "[Filesystem] Refactor: move FilesystemError to utils" into devel/master
pius lee [Mon, 23 Feb 2015 09:14:36 +0000 (18:14 +0900)]
Merge "[Filesystem] Refactor: move FilesystemError to utils" into devel/master

9 years ago[Common] change optional nullptr constructor to not explicit
pius.lee [Mon, 23 Feb 2015 02:41:24 +0000 (11:41 +0900)]
[Common] change optional nullptr constructor to not explicit

this patch can be return nullptr in optional type function.

Change-Id: I4471a21fd4f3d1160ae062aeffc6d40094e4449d
Signed-off-by: pius.lee <pius.lee@samsung.com>
9 years ago[Filesystem] Listeners, getStorage, listStorages JS part
Pawel Kaczmarek [Fri, 20 Feb 2015 14:09:56 +0000 (15:09 +0100)]
[Filesystem] Listeners, getStorage, listStorages JS part

Change-Id: I814d39ff82f55438e20f345120d8cac60c1a87fc
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
9 years ago[Push] Change state in onPushRegister
Przemyslaw Ciezkowski [Tue, 17 Feb 2015 11:25:38 +0000 (12:25 +0100)]
[Push] Change state in onPushRegister

onPushState is not always called when push_register()
is successfull.

[Verification]
Fixes tct test: PushManager_unregisterService

Change-Id: I8069e12ea6ad44a6a73013e42332ce683760bdee
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
9 years ago[Push] getRegistrationId and getUnreadNotifications
Przemyslaw Ciezkowski [Thu, 12 Feb 2015 14:31:57 +0000 (15:31 +0100)]
[Push] getRegistrationId and getUnreadNotifications

Change-Id: I3d161ec52bf52a57616de0a5ea9c588d93b32200
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
9 years ago[Push] unregister
Przemyslaw Ciezkowski [Thu, 12 Feb 2015 14:31:57 +0000 (15:31 +0100)]
[Push] unregister

Change-Id: I4b221c615b0c7cb09c13ba82f73bb7fd1f6031c3
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
9 years ago[Push] connectService
Przemyslaw Ciezkowski [Thu, 12 Feb 2015 12:41:09 +0000 (13:41 +0100)]
[Push] connectService

Change-Id: I52989b6826c50f54e19b280ac35cb451ac0d7dc9
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
9 years ago[Push] registerService implementation
Przemyslaw Ciezkowski [Thu, 12 Feb 2015 08:37:07 +0000 (09:37 +0100)]
[Push] registerService implementation

[Verification]
var service = new tizen.ApplicationControl(
    "http://tizen.org/appcontrol/operation/push_test");
tizen.push.registerService(service,
    function(){console.log(arguments);},
    function(){console.log(arguments);});

Change-Id: Ibd390d27e9805abe0b5a0985419be339037aba51
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
9 years ago[Syteminfo] made DBusOperation static member of DeviceOrientation
Piotr Kosko [Thu, 19 Feb 2015 13:32:13 +0000 (14:32 +0100)]
[Syteminfo] made DBusOperation static member of DeviceOrientation

Change-Id: I56e7a4e9c8804c0af90994bf5fd2681beadc764c
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
9 years ago[Systeminfo] Try/catch removed from listeners
Piotr Kosko [Thu, 19 Feb 2015 10:19:34 +0000 (11:19 +0100)]
[Systeminfo] Try/catch removed from listeners

[Feature] Removed try/catch from listeners and get*Memory methods

[Verification] Code compiles without errors.
  All features work fine.

Change-Id: I7b4aad81d2ab12efd59c9eaaf57cfbdca5aa0ff8
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
9 years ago[Systeminfo] removed try/catch from getCapability
Piotr Kosko [Wed, 18 Feb 2015 12:03:20 +0000 (13:03 +0100)]
[Systeminfo] removed try/catch from getCapability

[Feature] replaced try/catch from getCapability and getCapabilities methods.
  LOG* changed to Logger*

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

Change-Id: I69c229a0cddcb9b862b7ab463a9aecbcbec9d39e
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
9 years ago[Systeminfo] Removed try/catch from getPropertyValue
Piotr Kosko [Wed, 18 Feb 2015 07:18:56 +0000 (08:18 +0100)]
[Systeminfo] Removed try/catch from getPropertyValue

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

Change-Id: I0ad645804190dfb672c0e5f5475ab2b39a4934a1
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
9 years ago[Filesystem] Refactor: Add PrepareError function
Kamil Lysik [Wed, 18 Feb 2015 15:43:31 +0000 (16:43 +0100)]
[Filesystem] Refactor: Add PrepareError function

This function is used to report Filesystem errors
in unified way.

Change-Id: I9a197ca19d4202b3ed3b3d110587cd4e86f76fdf
Signed-off-by: Kamil Lysik <k.lysik@samsung.com>
9 years ago[Filesystem] Refactor: move FilesystemError to utils
Kamil Lysik [Wed, 18 Feb 2015 15:22:55 +0000 (16:22 +0100)]
[Filesystem] Refactor: move FilesystemError to utils

Change-Id: Ib9c0d948b2db8bc0430e50b2a8a9b5735004d671
Signed-off-by: Kamil Lysik <k.lysik@samsung.com>
9 years ago[Filesystem] Add path to File_stat return object
Kamil Lysik [Tue, 10 Feb 2015 16:36:20 +0000 (17:36 +0100)]
[Filesystem] Add path to File_stat return object

Object returned with stat method will require path as result.

Change-Id: Ib0126716fabb60e303410a24c717a5ccbc690b66
Signed-off-by: Kamil Lysik <k.lysik@samsung.com>
9 years ago[Badge] Google code style
Ryszard Matuszyk [Thu, 19 Feb 2015 09:56:59 +0000 (10:56 +0100)]
[Badge] Google code style

[Verification] Related TCT should pass

Change-Id: Iba78eed9e494998c116672837f0fb34a1effc695
Signed-off-by: Ryszard Matuszyk <r.matuszyk@samsung.com>
9 years ago[Badge] Removed try/catch error handling
Ryszard Matuszyk [Wed, 11 Feb 2015 15:04:10 +0000 (16:04 +0100)]
[Badge] Removed try/catch error handling

[Verification] Related TCT should pass

Change-Id: Ic389296b6c5b23413fe7f26f321a5a425684b9f3
Signed-off-by: Ryszard Matuszyk <r.matuszyk@samsung.com>
9 years ago[Webseting] Google code style
Ryszard Matuszyk [Tue, 17 Feb 2015 08:19:22 +0000 (09:19 +0100)]
[Webseting] Google code style

[Verification] Related TCT should pass

Change-Id: Icb91aea9a256a84493c2e1bc5c8639b9657d263e
Signed-off-by: Ryszard Matuszyk <r.matuszyk@samsung.com>
9 years ago[Websetting] Removed try/catch error handling
Ryszard Matuszyk [Mon, 16 Feb 2015 15:06:04 +0000 (16:06 +0100)]
[Websetting] Removed try/catch error handling

[Verification] Related TCT should pass

Change-Id: I6b6add2ed2dd0ff3249732cc259d8dbbe650efe6
Signed-off-by: Ryszard Matuszyk <r.matuszyk@samsung.com>
9 years ago[Datasync] Google code style
Ryszard Matuszyk [Mon, 16 Feb 2015 12:43:59 +0000 (13:43 +0100)]
[Datasync] Google code style

[Verification] Related TCT should pass

Change-Id: If1ad8c97e0cd2227caef826fa3bcfb54b8bac0f5
Signed-off-by: Ryszard Matuszyk <r.matuszyk@samsung.com>
9 years ago[Datasync] Removed try/catch error handling
Ryszard Matuszyk [Mon, 16 Feb 2015 08:50:59 +0000 (09:50 +0100)]
[Datasync] Removed try/catch error handling

[Verification] Related TCT should pass

Change-Id: Icb5d2f5c9079d8d6865bcde9cea4eb972f05b2b5
Signed-off-by: Ryszard Matuszyk <r.matuszyk@samsung.com>
9 years ago[TV Channel] Use navigation mode in tune up and down
Przemyslaw Ciezkowski [Wed, 18 Feb 2015 10:49:35 +0000 (11:49 +0100)]
[TV Channel] Use navigation mode in tune up and down

Navigation mode was always set to ALL.

[Verification]
Fixes tct tests:
ChannelManager_tuneDown_errorCallback_invoked
ChannelManager_tuneUp_errorCallback_invoked

Change-Id: Ib25c4b519356268312e7c636e56fb62de41ba9f3
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
9 years ago[TV Channel] Fix usage of native.getErrorObject()
Przemyslaw Ciezkowski [Wed, 18 Feb 2015 10:19:50 +0000 (11:19 +0100)]
[TV Channel] Fix usage of native.getErrorObject()

This method was used incorrectly, error objects created
using it had undefined code.

[Verification]
Fixes tct test: ChannelManager_tuneDown_errorCallback_invoked

Change-Id: Idbea45de7fefa8299d818dce69c0fed424ce0a6e
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
9 years ago[TVAudio] Fix argument in volumeListener
Przemyslaw Ciezkowski [Wed, 18 Feb 2015 08:47:23 +0000 (09:47 +0100)]
[TVAudio] Fix argument in volumeListener

Callback should be called with volume argument.

[Verification]
Fixes test: VolumeChangeCallback_onchanged

Change-Id: I41e6b5f6f02bbe3d9e63ec5e432d553902fcb01e
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
9 years ago[TVAudio] Throw exception if 'setVolume' is called without argument
Piotr Czaja [Tue, 17 Feb 2015 11:23:12 +0000 (12:23 +0100)]
[TVAudio] Throw exception if 'setVolume' is called without argument

[Verification] 'setVolume' called without argument throws
InvalidValuesError.

Change-Id: I2f847be94a46342916cd3fb791b87f3882e98ca6
Signed-off-by: Piotr Czaja <p.czaja@samsung.com>
9 years ago[TV Audio] Remove deadlock
Przemyslaw Ciezkowski [Mon, 16 Feb 2015 11:35:29 +0000 (12:35 +0100)]
[TV Audio] Remove deadlock

When JS tries to call unsetVolumeChangeListener() in VolumeChangeListener
callback, deadlock appears in sound manager.
Solution: call JS callback not from sound_manager callback, but
from g_idle_add() callback.

[Verification]
TCT AudioControlManager_setVolumeChangeListener now doesn't block

Change-Id: I0c1f2b1d0a77b440aa60c376b69daafd9e1be50a
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
9 years ago[TVChannel] Fix parameter name
Przemyslaw Ciezkowski [Tue, 17 Feb 2015 13:40:03 +0000 (14:40 +0100)]
[TVChannel] Fix parameter name

Parameter name in c++ layer na js layer had different
names (type and windowType).

[Verification]
Fixes test: ChannelManager_tune_tuneOption_major

Change-Id: Ic5947c1ceca7a4d4bc7c791ae09392464b32f820
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
9 years ago[TVChannel] Throw InvalidValues in getChannelList
Przemyslaw Ciezkowski [Tue, 17 Feb 2015 13:28:49 +0000 (14:28 +0100)]
[TVChannel] Throw InvalidValues in getChannelList

Throw exception when nStart or number arguments are lower
than 0.

[Verification]
Fixes tests:
ChannelManager_getChannelList_negative_nStart
ChannelManager_getChannelList_negative_number

Change-Id: I94f5cb55c92c352724c872e91a190d3204aef783
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
9 years ago[TVChannel] ChannelInfo and ProgramInfo should be extendable
Przemyslaw Ciezkowski [Tue, 17 Feb 2015 10:00:30 +0000 (11:00 +0100)]
[TVChannel] ChannelInfo and ProgramInfo should be extendable

[Verification]
TCT test pass: ChannelInfo_extend

Change-Id: I6a42f149ce3b37806180d88caea7d2b686aaef6e
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
9 years ago[TV] Public Dtor
Lukasz Foniok [Wed, 11 Feb 2015 14:12:26 +0000 (15:12 +0100)]
[TV] Public Dtor

[Verification]
Class is handling its destruction properly

Change-Id: Ic059130e73b0763eea4c0b4a348de20e065ebe96
Signed-off-by: Lukasz Foniok <l.foniok@samsung.com>
9 years ago[TVDisplayControl] Change key SYSTEM_INFO_KEY_3D_EFFECT_SUPPORTED into SYSTEM_INFO_KE...
Mariusz Polasinski [Wed, 11 Feb 2015 13:55:06 +0000 (14:55 +0100)]
[TVDisplayControl] Change key SYSTEM_INFO_KEY_3D_EFFECT_SUPPORTED into SYSTEM_INFO_KEY_3D_SUPPORT

[Verification]
Code complies without errors
Methods are tested in node

Change-Id: Ia42924ac43e58dfa2e2eb8d956af1a79e42779a6
Signed-off-by: Mariusz Polasinski <m.polasinski@samsung.com>
9 years ago[TVAudio] Rename plugin
Przemyslaw Ciezkowski [Mon, 16 Feb 2015 10:55:59 +0000 (11:55 +0100)]
[TVAudio] Rename plugin

Plugin should be available as tizen.tvaudiocontrol.

Change-Id: Id8bcefc3d42d17ab8daaa52ea225e7e5835625c1
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
9 years ago[NFC] Adjust code to google style.
Lukasz Bardeli [Tue, 17 Feb 2015 13:17:27 +0000 (14:17 +0100)]
[NFC] Adjust code to google style.

[Verification] Code compiles without error.

Change-Id: I2e2dc6037a74bd6214b0abbed5b67b66ccde8a34
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
9 years ago[Systeminfo] Indentation adjusted to Google style
Piotr Kosko [Tue, 17 Feb 2015 10:50:24 +0000 (11:50 +0100)]
[Systeminfo] Indentation adjusted to Google style

Change-Id: I40c4a63d1e3a8d61a351488fc110920f124b1f85
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
9 years ago[Sensor] Refactoring of code
Piotr Kosko [Mon, 16 Feb 2015 12:49:01 +0000 (13:49 +0100)]
[Sensor] Refactoring of code

[Feature] Changed JS listener structure and C++ SensorData class added.

[Verification] Code compiles.
  All features work fine.

Change-Id: I0d11e3f2f9def07e928473c9c6ccee95393c7bfd
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
9 years ago[Filesystem] JavaScript part implementation
Pawel Kaczmarek [Mon, 16 Feb 2015 13:52:56 +0000 (14:52 +0100)]
[Filesystem] JavaScript part implementation

Inspired on NodeJs webapi-plugins implementation
NodeJS filesystem methods has been replaced with native methods

Change-Id: I76020be166c4ac5c2d0ef1d9dd00ea6301130eca
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
9 years ago[Filesystem] Basic File API native methods.
Kamil Lysik [Tue, 10 Feb 2015 16:36:20 +0000 (17:36 +0100)]
[Filesystem] Basic File API native methods.

This commit provides API for resolve method.
List of native API:
 - File_stat
 - File_statSync
 - Filesystem_getWidgetPaths
 - FilesystemManager_fetchStorages

Change-Id: Ieca7afa7c7a67025309c3b1223bf9082dd781bfb
Signed-off-by: Kamil Lysik <k.lysik@samsung.com>
9 years ago[Media Content] Initial version
Dongyoung Kim [Mon, 16 Feb 2015 23:52:48 +0000 (08:52 +0900)]
[Media Content] Initial version

Change-Id: Ic4eac077e811bf7fa0d5ac923b228e62003eeb31

9 years ago[FMRadio] Major C++ code refactoring.
Pawel Andruszkiewicz [Tue, 10 Feb 2015 09:09:01 +0000 (10:09 +0100)]
[FMRadio] Major C++ code refactoring.

Change-Id: I75d87366fbca2ea297decd7eba8bbc1d8e483643

9 years ago[Sensor] Implementation of listeners
Piotr Kosko [Mon, 16 Feb 2015 06:25:33 +0000 (07:25 +0100)]
[Sensor] Implementation of listeners

Change-Id: I7a5ad86471814f9dc60f217213451fd1be4b4b6b
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
9 years ago[Callhistory] Adjust code to google style.
Lukasz Bardeli [Mon, 16 Feb 2015 10:35:52 +0000 (11:35 +0100)]
[Callhistory] Adjust code to google style.

[Verification] Code compiles without error.

Change-Id: I847251ca46a3a8d223948c80aedc8b8ec602c230
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
9 years ago[Callhistory] Remove try/catch to adjust to google coding style
Lukasz Bardeli [Mon, 16 Feb 2015 09:07:47 +0000 (10:07 +0100)]
[Callhistory] Remove try/catch to adjust to google coding style

[Verification] Code compiles without error. All tests pass.

Change-Id: I592bccbbbb6b5ad9b4be037f371719bd28c96fb7
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
9 years ago[Sensor] Added method to get sensors data.
Tomasz Marciniak [Fri, 13 Feb 2015 07:59:56 +0000 (08:59 +0100)]
[Sensor] Added method to get sensors data.

[Verification] Code compiles without errors.
Data for specific sensors are successfully received.

Change-Id: Id94cd6e013d955a7a736c018202962612c1a7a99
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
9 years ago[Sensor] Sensor.start() implemented
Piotr Kosko [Fri, 13 Feb 2015 06:42:43 +0000 (07:42 +0100)]
[Sensor] Sensor.start() implemented

[Feature] added implementation of start() method

[Verification] Code compiles without errors.
  Checked in console.

Change-Id: If51ba3d8304c8570b7580c6e78f2325f70cff281
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
9 years ago[Download] module implementation
Jin-Woo Jeong [Sat, 14 Feb 2015 08:14:23 +0000 (17:14 +0900)]
[Download] module implementation

Validation: - Own sample app (basic functionality test)
            - tct : 100% (62/62)

Change-Id: Iee69ab930b5a81772b69c5c736b78bae9daa00f3

9 years ago[SystemSetting] Adjust code to google style.
Lukasz Bardeli [Fri, 13 Feb 2015 13:45:56 +0000 (14:45 +0100)]
[SystemSetting] Adjust code to google style.

[Verification] Code compiles without error.

Change-Id: Ic9a43f103f6bc66a6b74af8849436f7b0083db58
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
9 years ago[Sensor] SensorService class methods implementation.
Tomasz Marciniak [Thu, 12 Feb 2015 13:24:27 +0000 (14:24 +0100)]
[Sensor] SensorService class methods implementation.

[Verification] Code compiles without errors.
Methods return proper values.

Change-Id: Ifa021ab8e7e6fde68377bf1bdef7588e1c08ca6e
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
9 years ago[Account] Another way to make AccountProvider.capabilities read only.
Pawel Andruszkiewicz [Fri, 13 Feb 2015 15:05:35 +0000 (16:05 +0100)]
[Account] Another way to make AccountProvider.capabilities read only.

Change-Id: I6ce8c67c4e6c8f739d7ea4c9d0dd4d0b8bb04afb

9 years ago[Account] Test AccountManager_getProvider_without_applicationId fixed
Andrzej Popowski [Fri, 13 Feb 2015 15:26:20 +0000 (16:26 +0100)]
[Account] Test AccountManager_getProvider_without_applicationId fixed

Change-Id: Iae844d89a95797c107b6b79bb5043efaf46a07dc
Signed-off-by: Andrzej Popowski <a.popowski@samsung.com>
9 years ago[Push] Stubs cpp
Przemyslaw Ciezkowski [Wed, 11 Feb 2015 14:44:31 +0000 (15:44 +0100)]
[Push] Stubs cpp

Change-Id: I9c2b37d248ff8fea8ae4daa92b146da40d34245b
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
9 years ago[Push] Implementation JS
Przemyslaw Ciezkowski [Wed, 11 Feb 2015 14:06:55 +0000 (15:06 +0100)]
[Push] Implementation JS

Change-Id: I3b717b2a179e4b31d7a1badae53468c343735582
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
9 years ago[Account] - GetAccount without accountId test fixed
Andrzej Popowski [Fri, 13 Feb 2015 15:13:54 +0000 (16:13 +0100)]
[Account] - GetAccount without accountId test fixed

Change-Id: I6e39fed15562eb079050910d3de326c51b82b5e9
Signed-off-by: Andrzej Popowski <a.popowski@samsung.com>
9 years ago[Account] - function getAccount fixed
Andrzej Popowski [Fri, 13 Feb 2015 14:48:33 +0000 (15:48 +0100)]
[Account] - function getAccount fixed

Change-Id: Ic303753a4fd292f38f7f14f1d209bb988554d997
Signed-off-by: Andrzej Popowski <a.popowski@samsung.com>
9 years ago[Account] Fixes for getExtendedData() and setExtendedData().
Pawel Andruszkiewicz [Fri, 13 Feb 2015 14:40:05 +0000 (15:40 +0100)]
[Account] Fixes for getExtendedData() and setExtendedData().

Change-Id: Icc708e6ce3a9f4db7f614b11dd197c7954de975c

9 years ago[Archive] - Account remove function fixed
Andrzej Popowski [Fri, 13 Feb 2015 13:35:20 +0000 (14:35 +0100)]
[Archive] - Account remove function fixed

Change-Id: I03cc177ba9033b2ea208242870a621cee46f4071
Signed-off-by: Andrzej Popowski <a.popowski@samsung.com>
9 years ago[Account] More fixes for listeners.
Pawel Andruszkiewicz [Fri, 13 Feb 2015 13:23:26 +0000 (14:23 +0100)]
[Account] More fixes for listeners.

Change-Id: Ief0cb4c71980808c9583ae91df23de989d7a507d

9 years ago[Account] - Adding, updating and removing account
Andrzej Popowski [Fri, 13 Feb 2015 07:34:36 +0000 (08:34 +0100)]
[Account] - Adding, updating and removing account

Change-Id: I8b7855711e8d1d3c9b957c01d4e341de7f3d5254
Signed-off-by: Andrzej Popowski <a.popowski@samsung.com>
9 years ago[Push] Plugin stubs
Przemyslaw Ciezkowski [Wed, 11 Feb 2015 13:01:10 +0000 (14:01 +0100)]
[Push] Plugin stubs

[Verification]
tizen.push exists and has methods:
> tizen.push.__proto__
{ registerService: [Function],
  unregisterService: [Function],
  connectService: [Function],
  disconnectService: [Function],
  getRegistrationId: [Function],
  getUnreadNotifications: [Function] }

Change-Id: Ic299568c87d09a037dc3fc6869cfcb154af56d7d
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
9 years ago[systemsetting] Removed try/catch error handling
Grzegorz Rynkowski [Wed, 11 Feb 2015 10:36:13 +0000 (11:36 +0100)]
[systemsetting] Removed try/catch error handling

[Problem]       C++ exceptions are being used at the source.
                According to Google C++ Style Guide they are prohibited.
[Solution]      Use the PlatformResult to handle error.
[Verification]  Build the code.

Change-Id: Ib58920abae920a7250c4943a33e8b85d459b808f
Signed-off-by: Grzegorz Rynkowski <g.rynkowski@samsung.com>
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
9 years ago[Account] Fixes for addAccountListener() and removeAccountListener().
Pawel Andruszkiewicz [Thu, 12 Feb 2015 10:40:22 +0000 (11:40 +0100)]
[Account] Fixes for addAccountListener() and removeAccountListener().

Change-Id: I8b6f4d9c5901605040c14937da5d722d626f9761

9 years ago[Account] Implementation of setExtendedData() and getExtendedData().
Pawel Andruszkiewicz [Thu, 12 Feb 2015 09:51:57 +0000 (10:51 +0100)]
[Account] Implementation of setExtendedData() and getExtendedData().

Change-Id: I622a1fb7e537dd777a6656bb10bbf68ab7359921

9 years ago[Common] add optional class like boost::optional
pius.lee [Tue, 10 Feb 2015 15:45:13 +0000 (00:45 +0900)]
[Common] add optional class like boost::optional

[Verified] tested with self made c++ test cases on gcc4.6 and gcc4.8

Change-Id: I640675a034b24539a18b55370e38bfa0fab0182e
Signed-off-by: pius.lee <pius.lee@samsung.com>
9 years ago[tizen] Fix of error translation at WebAPIException
Grzegorz Rynkowski [Thu, 12 Feb 2015 10:30:28 +0000 (11:30 +0100)]
[tizen] Fix of error translation at WebAPIException

[Problem]       Test BadgeManager_setBadgeCount_appId_invalid fails.
[Cause]         Incorrect translation of error.
[Solution]      Small fix.
[Verification]  Run test that expect exception, e.g. BadgeManager_setBadgeCount_appId_invalid
                The test should pass.

Change-Id: I7d3a4f44558fe948d424fcf9dd01adba3c12e369
Signed-off-by: Grzegorz Rynkowski <g.rynkowski@samsung.com>
9 years ago[Account] Fixed AccountFromResult() function.
Pawel Andruszkiewicz [Thu, 12 Feb 2015 14:36:13 +0000 (15:36 +0100)]
[Account] Fixed AccountFromResult() function.

Change-Id: I303d407825a23a60bcf2ceb0ec0a9e0be120d541

9 years ago[Sensor] Added SensorService class.
Tomasz Marciniak [Wed, 11 Feb 2015 12:52:31 +0000 (13:52 +0100)]
[Sensor] Added SensorService class.

[Verification] Code compiles without errors.

Change-Id: Ie4a1058a1af38c25b8885b349656604dbd1e193c
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
9 years ago[Sensor] Initial commit with stubs.
Piotr Kosko [Wed, 11 Feb 2015 10:50:59 +0000 (11:50 +0100)]
[Sensor] Initial commit with stubs.

[Verification] Code compiles without errors.

Change-Id: I842792ca7c06570b06a2c5128b15a145847477a9
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
9 years ago[Account] Added implementation of getAccount() and getAccounts().
Pawel Andruszkiewicz [Wed, 11 Feb 2015 15:28:08 +0000 (16:28 +0100)]
[Account] Added implementation of getAccount() and getAccounts().

Change-Id: If4b75f84bb00b747df4d3cf222cc5128f38ab50a

9 years ago[Account] - Resolving problems in the JS API module
Andrzej Popowski [Wed, 11 Feb 2015 13:52:49 +0000 (14:52 +0100)]
[Account] - Resolving problems in the JS API module

Change-Id: Ic35b8aa53f1b8cf71598c51d56174ad9cf6101fa
Signed-off-by: Andrzej Popowski <a.popowski@samsung.com>
9 years ago[Account] Initial implementation.
ByungWoo Lee [Fri, 6 Feb 2015 01:10:37 +0000 (10:10 +0900)]
[Account] Initial implementation.

[Verification] Code compiles, TCT pass rate: 57/89.

Change-Id: I1ddb7d67b6cc1b619b5b6a12c31cf907dc17fe9c

9 years ago[Filesystem] Initial implmentation
Pawel Kaczmarek [Wed, 11 Feb 2015 09:52:03 +0000 (10:52 +0100)]
[Filesystem] Initial implmentation

Change-Id: I2afa0803897becb62220b87e23bbd1114fc635cf
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
9 years ago[Sound] setVolumeChangeListener JS fix
Pawel Kaczmarek [Wed, 11 Feb 2015 07:38:29 +0000 (08:38 +0100)]
[Sound] setVolumeChangeListener JS fix

[Verification]
Related TCT should pass

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