platform/core/api/webapi-plugins.git
9 years ago[Archive] - adding error code specific for Archive module
Andrzej Popowski [Mon, 23 Feb 2015 11:07:23 +0000 (12:07 +0100)]
[Archive] - adding error code specific for Archive module

Change-Id: I3589ca67a1fbc94dfd91009efbb47be05b6bcd6b
Signed-off-by: Andrzej Popowski <a.popowski@samsung.com>
9 years ago[common] Added assert.h
Grzegorz Rynkowski [Wed, 25 Feb 2015 17:55:03 +0000 (18:55 +0100)]
[common] Added assert.h

Problem: Using plain assert does not print any information about the
         source of assertion.

Change-Id: I66192909d6fe5836b098b0e2225a79ec1de86f8d
Signed-off-by: Grzegorz Rynkowski <g.rynkowski@samsung.com>
9 years ago[Contact] Fix std::map::insert for tizen 3.0
Tomasz Iwanek [Fri, 27 Feb 2015 10:16:35 +0000 (11:16 +0100)]
[Contact] Fix std::map::insert for tizen 3.0

Change-Id: I97dd24db78616aca3e7712022e6dc0fc2af5341a
Signed-off-by: Tomasz Iwanek <t.iwanek@samsung.com>
9 years agoDisabling TVDisplay module
Pawel Sikorski [Fri, 27 Feb 2015 09:09:52 +0000 (10:09 +0100)]
Disabling TVDisplay module

On tizen 2.4/3.0 capi-system-info module is different than in 2.3.
Hence TVDisplay does not build. This patch disables TVDisplay from build.

Change-Id: I10b32a2b016f77b60c922b8087997d699aac3e85
Signed-off-by: Pawel Sikorski <p.sikorski@samsung.com>
9 years ago[Filesystem] fix createFile
Pawel Kaczmarek [Thu, 26 Feb 2015 11:29:45 +0000 (12:29 +0100)]
[Filesystem] fix createFile

Change-Id: I0b21c7e471df43c3455ea2a76479ac3d27d594eb
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
9 years agoDataSync module removal
Pawel Sikorski [Fri, 27 Feb 2015 07:22:54 +0000 (08:22 +0100)]
DataSync module removal

SyncAgent will not be supported on 2.4/3.0.
Hence, DataSync module should be removed.

Change-Id: Ibd34d5f922fdcf219c64bb382aa464b3fea260cc
Signed-off-by: Pawel Sikorski <p.sikorski@samsung.com>
9 years agoTurning off tvs-api and libavoc dependency.
Pawel Sikorski [Thu, 26 Feb 2015 08:46:50 +0000 (09:46 +0100)]
Turning off tvs-api and libavoc dependency.

Since, Tizen 3.0 does not have tvs-api and libavoc package, for now,
the dependent webapi modules have been disabled:
* tv-audio (libavoc)
* tv-channel (tvs-api)
* tv-window (this module is enabled, but tvs-api dep in gyp file is removed)

Change-Id: If9d5bcb9c106fd67ad6c750c66c21fcc978b7199
Signed-off-by: Pawel Sikorski <p.sikorski@samsung.com>
9 years agoSpec file - skip defining profile if defined
Tomasz Iwanek [Tue, 24 Feb 2015 11:44:08 +0000 (12:44 +0100)]
Spec file - skip defining profile if defined

Change-Id: Ifd7e60d2409ead505c5971397cdd4c040ce60627
Signed-off-by: Tomasz Iwanek <t.iwanek@samsung.com>
9 years agoBuild break fix for tizen 3.0
Pawel Sikorski [Wed, 25 Feb 2015 14:14:13 +0000 (15:14 +0100)]
Build break fix for tizen 3.0

VCONF_OK was originally defined in vconf.h external header.
However, in tizen 3, it has been removed from there. Now,
it is only declared in vconf-internals.h.

Since, it is not clear, if that is a final solution, this
patch redefines this constant.

Change-Id: I4beb5677f94c0b3a54bc8fd1a1cda19c780239f2
Signed-off-by: Pawel Sikorski <p.sikorski@samsung.com>
9 years agoMerge "[Content] build error fixed for 3.0" into devel/master
HyunJin Park [Thu, 26 Feb 2015 06:23:50 +0000 (15:23 +0900)]
Merge "[Content] build error fixed for 3.0" into devel/master

9 years ago[Content] build error fixed for 3.0
Dongyoung Kim [Thu, 26 Feb 2015 06:17:45 +0000 (15:17 +0900)]
[Content] build error fixed for 3.0

Change-Id: I45b1d0f7f15d616bb1a7e036897b71d761d70c48

9 years ago[Bluetooth] Google coding style adjustment.
Tomasz Marciniak [Wed, 25 Feb 2015 11:05:48 +0000 (12:05 +0100)]
[Bluetooth] Google coding style adjustment.

[Verification] Code compiles without errors.

Change-Id: I17708a174180de7ad846f2042bccf3d0eb15c4c4
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
9 years ago[Bluetooth] Fix for SetPowered issue.
Tomasz Marciniak [Wed, 25 Feb 2015 10:27:56 +0000 (11:27 +0100)]
[Bluetooth] Fix for SetPowered issue.

[Feature] If new state is required success callback
should be called from StateChangedCB().

[Verification] Code compiles without errors.

Change-Id: I830655ea05396f021cf2a0925f07c81d92444008
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
9 years ago[contact] Google code style
Ryszard Matuszyk [Wed, 25 Feb 2015 11:11:04 +0000 (12:11 +0100)]
[contact] Google code style

Verification] TCT test should pass: 438/438

Change-Id: I1264b699bc8d85027f847effe70d2c9a713e5fe7
Signed-off-by: Ryszard Matuszyk <r.matuszyk@samsung.com>
9 years ago[contact] Removed try/catch error handling
Ryszard Matuszyk [Wed, 25 Feb 2015 08:31:21 +0000 (09:31 +0100)]
[contact] Removed try/catch error handling

Verification] TCT test should pass: 438/438

Change-Id: I9d8c5b2aca7c9ccc1d9d8526cd6d493bd9cf99dd
Signed-off-by: Ryszard Matuszyk <r.matuszyk@samsung.com>
9 years ago[contact][Calendar] Removed try/catch error handling - filter utils
Ryszard Matuszyk [Tue, 24 Feb 2015 15:05:46 +0000 (16:05 +0100)]
[contact][Calendar] Removed try/catch error handling - filter utils

Verification] Build required

Change-Id: I95246ec39e03b1fdf6fa549750162fff17a6ed55
Signed-off-by: Ryszard Matuszyk <r.matuszyk@samsung.com>
9 years ago[Application] Resolved 3.0 build error
Sunggyu Choi [Wed, 25 Feb 2015 00:59:00 +0000 (09:59 +0900)]
[Application] Resolved 3.0 build error

- because using ipc for app hide/exit deprecated, related codes are removed

- fixed detected error related with attribute

[Verification] selftest

Change-Id: Idb2d0dff6f9c739d85bdf66d67e59135cb9ecd43
Signed-off-by: Sunggyu Choi <sunggyu.choi@samsung.com>
9 years agoSpec file small fix (enabling badge and nbs macros
Pawel Sikorski [Mon, 23 Feb 2015 11:26:03 +0000 (12:26 +0100)]
Spec file small fix (enabling badge and nbs macros

Change-Id: I77e2c8b5fc3441e957bd966e9ad53b5ad25f194a
Signed-off-by: Pawel Sikorski <p.sikorski@samsung.com>
9 years ago[Bluetooth] Removed ReportError/Success from bluetooth_util
Tomasz Marciniak [Tue, 24 Feb 2015 10:22:06 +0000 (11:22 +0100)]
[Bluetooth] Removed ReportError/Success from bluetooth_util

[Verification] Code compiles without errors.

Change-Id: I55cb11461d4582aa1abf32904e59a3b3da2d9570
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
9 years ago[Bluetooth] Removed try/catch - part 3
Tomasz Marciniak [Tue, 24 Feb 2015 08:16:48 +0000 (09:16 +0100)]
[Bluetooth] Removed try/catch - part 3

[Verification] Code compiles without errors.

Change-Id: I8a0a558ae8ed8969cdcfe80290f648bcd436e775
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
9 years ago[Bluetooth] Removed try/catch - part 2.
Tomasz Marciniak [Tue, 24 Feb 2015 07:23:06 +0000 (08:23 +0100)]
[Bluetooth] Removed try/catch - part 2.

[Verification] Code compiles without errors.

Change-Id: I9f0b616f81259943fa67e99af3b0f29ef698e428
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
9 years ago[Bluetooth] Removed try/catch - part 1.
Tomasz Marciniak [Mon, 23 Feb 2015 09:23:29 +0000 (10:23 +0100)]
[Bluetooth] Removed try/catch - part 1.

[Verification] Code compiles without errors.

Change-Id: I66bea516e9f5d134a718216a6dacd00fcf530854
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
9 years ago[NFC] Remove try/catch to adjust to google coding style - part 2
Lukasz Bardeli [Tue, 24 Feb 2015 12:51:27 +0000 (13:51 +0100)]
[NFC] Remove try/catch to adjust to google coding style - part 2

Change-Id: I32d703e9e74a5917907b056042df8e2397425748
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
9 years agoMerge "[Filesystem] File.deleteDirectory JS part" into devel/master
pius lee [Tue, 24 Feb 2015 14:56:12 +0000 (23:56 +0900)]
Merge "[Filesystem] File.deleteDirectory JS part" into devel/master

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[Filesystem] File.deleteDirectory JS part
Pawel Kaczmarek [Wed, 18 Feb 2015 10:33:46 +0000 (11:33 +0100)]
[Filesystem] File.deleteDirectory JS part

[Verification]
var documentsDir;
 function onsuccess(files) {
   for (var i = 0; i < files.length; i++) {
     if (files[i].isDirectory) {
       documentsDir.deleteDirectory(
           files[i].fullPath,
           false,
           function() {
             console.log("Directory 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");
 }

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

//should remove all directories from documents directory

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

Change-Id: I09ba7a2e3552b857e34e944758248a147977ad34
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@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>