platform/core/api/webapi-plugins.git
9 years agoMerge "[Media Content] bug fixed for TCT" into devel/master
Jinwoo Jeong [Wed, 11 Mar 2015 05:25:36 +0000 (14:25 +0900)]
Merge "[Media Content] bug fixed for TCT" into devel/master

9 years ago[Media Content] bug fixed for TCT
Dongyoung Kim [Wed, 11 Mar 2015 04:53:47 +0000 (13:53 +0900)]
[Media Content] bug fixed for TCT

Change-Id: I1c528eeac0f07b683b700852b0b40006cbd61ee2

9 years ago[Filesystem] Add detection to invalid virtual paths.
Kamil Lysik [Mon, 9 Mar 2015 15:22:43 +0000 (16:22 +0100)]
[Filesystem] Add detection to invalid virtual paths.

Not all cases of invalid virtual path was handled.
This commit introduces detection of invalid path
and updates to all virtual path resolve occurences.

[Verification]
Test File_moveTo_with_path_invalid should pass.

Change-Id: I9be07699737a7f30b8db63c86084dc2f150108bb
Signed-off-by: Kamil Lysik <k.lysik@samsung.com>
9 years ago[Notification] Manager initial commit
Ryszard Matuszyk [Tue, 10 Mar 2015 09:50:48 +0000 (10:50 +0100)]
[Notification] Manager initial commit

[Verification] Build required

Change-Id: I39935d71d8f74b553fb8d10cb1fbe0b7b04cabd0
Signed-off-by: Ryszard Matuszyk <r.matuszyk@samsung.com>
9 years ago[NFC] Fix type_
Pawel Kaczmarek [Tue, 10 Mar 2015 10:07:34 +0000 (11:07 +0100)]
[NFC] Fix type_

{verification]
TCT without change 91/91

Change-Id: I014b34bd37940fa2c5babe6bee15f97d6eb97e78
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
9 years ago[NFC] Fix JS code style
Pawel Kaczmarek [Tue, 10 Mar 2015 08:42:30 +0000 (09:42 +0100)]
[NFC] Fix JS code style

[Verification]
TCT without change 91/91

Change-Id: I5eb17fa906da8e1763fff5d663c8aa8620488fd7
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
9 years ago[Alarm] Added some fixes for return result and conditions.
Tomasz Marciniak [Mon, 9 Mar 2015 14:35:26 +0000 (15:35 +0100)]
[Alarm] Added some fixes for return result and conditions.

[Verification] Code compiles without errors.

Change-Id: I145bc8bece371bf7e37d3e0b7fb56b1fcf8d4e19
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
9 years ago[Alarm] Added AlarmRelative/Absolute methods implementation.
Tomasz Marciniak [Mon, 9 Mar 2015 13:00:28 +0000 (14:00 +0100)]
[Alarm] Added AlarmRelative/Absolute methods implementation.

[Feature] Added getRemainingSeconds() and
getNextScheduledDate() methods implementation.

Change-Id: I58b2f11fd0a00795fc5db2f6c5a7468510474488
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
9 years ago[Alarm] Added Get/GetAll methods implementation.
Tomasz Marciniak [Mon, 9 Mar 2015 08:23:49 +0000 (09:23 +0100)]
[Alarm] Added Get/GetAll methods implementation.

[Verification] Code compiles without errors.
Alarms can be retrieved using both Get() or GetAll().

Change-Id: I62322cf11aa026694640ada122746e120a849ebe
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
9 years ago[Alarm] Added methods add/remove/removeAll.
Tomasz Marciniak [Fri, 6 Mar 2015 14:32:01 +0000 (15:32 +0100)]
[Alarm] Added methods add/remove/removeAll.

[Verification] Code compiles without errors.
Alarm can be successfully created or removed.

Change-Id: Ieaf6a078f5a248af79bfd0054e3962ef7ce49bb9
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
9 years ago[Alarm] Stubs and ported JS layer.
Tomasz Marciniak [Fri, 6 Mar 2015 14:14:44 +0000 (15:14 +0100)]
[Alarm] Stubs and ported JS layer.

Change-Id: Id4a2c9c4bae6b24f7d81696316c6c360f5de69f3
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
9 years ago[Sound] Added implementation for tizen 2.4
Tomasz Marciniak [Tue, 3 Mar 2015 06:40:12 +0000 (07:40 +0100)]
[Sound] Added implementation for tizen 2.4

[Verification] Code compiles without errors.
Functions successfully tested.

Change-Id: Ie1b4442cdaac4f039d21e792f48638ee117cf106
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
9 years ago[Exif] TCT fixes
Rafal Galka [Wed, 4 Mar 2015 14:23:39 +0000 (15:23 +0100)]
[Exif] TCT fixes

[Verification]
TCT result 100% (63/63)

Change-Id: I4cf2ab45ee8b2ef045c42418a8d9335e0d202892

9 years ago[Exif] Removed try/catch/throw
Rafal Galka [Mon, 9 Mar 2015 12:07:19 +0000 (13:07 +0100)]
[Exif] Removed try/catch/throw

[Verification]
TCT results without change (60 / 63)

Change-Id: Ibf27487398134b15482dc9abad3ec89a6fb64f5f
Signed-off-by: Grzegorz Rynkowski <g.rynkowski@samsung.com>
Signed-off-by: Rafal Galka <r.galka@samsung.com>
9 years ago[common] Added deleter.h
Grzegorz Rynkowski [Fri, 27 Feb 2015 14:19:31 +0000 (15:19 +0100)]
[common] Added deleter.h

Change-Id: Iafbd273fcbd47187591ee7d5e8395bd2daedc549
Signed-off-by: Grzegorz Rynkowski <g.rynkowski@samsung.com>
9 years ago[Sound] Removed try/catch error handling
Ryszard Matuszyk [Mon, 9 Mar 2015 10:58:30 +0000 (11:58 +0100)]
[Sound] Removed try/catch error handling

[Verification] TCT test should pass: 33/33

Change-Id: Ic96fe619da3c206f693458a49b3564d1066c3af9
Signed-off-by: Ryszard Matuszyk <r.matuszyk@samsung.com>
9 years ago[Calendar] Removed try/catch error handling
Ryszard Matuszyk [Thu, 5 Mar 2015 11:42:56 +0000 (12:42 +0100)]
[Calendar] Removed try/catch error handling

Verification] TCT test should pass: 352/351

Change-Id: Icbf2266c8ae31b94933cec0b53d6b1c6d32c6991
Signed-off-by: Ryszard Matuszyk <r.matuszyk@samsung.com>
9 years ago[Filesystem] TCT fix
Pawel Kaczmarek [Thu, 5 Mar 2015 14:25:01 +0000 (15:25 +0100)]
[Filesystem] TCT fix

[Verification]
This patch fix multiple fails

Change-Id: I3abb6ed7062cac33e8b36fac6c814896eef2bd01
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
9 years ago[Filesystem] Added implementation of copyTo method
Wojciech Kosowicz [Mon, 2 Mar 2015 14:20:03 +0000 (15:20 +0100)]
[Filesystem] Added implementation of copyTo method

[Verification] copyTo tct tests pass

Change-Id: I0693a269368afbc0ab7dd054a248c3826af22a81
Signed-off-by: Wojciech Kosowicz <w.kosowicz@samsung.com>
Signed-off-by: Kamil Lysik <k.lysik@samsung.com>
9 years ago[Archive] - removing try catch
Andrzej Popowski [Mon, 23 Feb 2015 11:04:11 +0000 (12:04 +0100)]
[Archive] - removing try catch

Change-Id: I6ebfc005dfb6e0429931da579c4d3718983225c1
Signed-off-by: Andrzej Popowski <a.popowski@samsung.com>
9 years ago[SystemSetting] fixes for 3.0
Lukasz Bardeli [Fri, 27 Feb 2015 10:16:09 +0000 (11:16 +0100)]
[SystemSetting] fixes for 3.0

Change-Id: Ic1cc455dab0fc6be5deb1e777646d8430e8b2554
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
9 years ago[SystemInfo] fixes for 3.0
Lukasz Bardeli [Fri, 27 Feb 2015 10:11:05 +0000 (11:11 +0100)]
[SystemInfo] fixes for 3.0

Change-Id: I04bb8160da83c6c64697c1d4e5fb8f222386ab20
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
9 years ago[Callhistory] fixed for 3.0
Lukasz Bardeli [Thu, 26 Feb 2015 13:42:14 +0000 (14:42 +0100)]
[Callhistory] fixed for 3.0

Change-Id: I8db6f384b59be8e15b4e3b44d4f0f427a0184821
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
9 years ago[SE] fixes for 3.0
Lukasz Bardeli [Fri, 27 Feb 2015 06:36:30 +0000 (07:36 +0100)]
[SE] fixes for 3.0

Change-Id: Iaa6bfa1fae9d0d57b86fc89f836bd46f38b8e715
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
9 years ago[FMRadio] fixes to 3.0
Lukasz Bardeli [Thu, 26 Feb 2015 14:01:57 +0000 (15:01 +0100)]
[FMRadio] fixes to 3.0

Change-Id: I93cb8468db2a9c77806034fd6e2259674bad9881
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
9 years ago[NFC] build error fixed for 3.0
Lukasz Bardeli [Thu, 26 Feb 2015 11:44:19 +0000 (12:44 +0100)]
[NFC] build error fixed for 3.0

Change-Id: I3fe456e58bc4b2c9c1e4e1ed6555e300d7d0bff8
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
9 years ago[NFC] Remove try/catch to adjust to google coding style - part 3
Lukasz Bardeli [Wed, 4 Mar 2015 11:05:33 +0000 (12:05 +0100)]
[NFC] Remove try/catch to adjust to google coding style - part 3

[Verification] Code compiles without error.

Change-Id: I8cd2134cfe0b1ce87bc2c3f5e21a38e2a0230e65
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
9 years agoMerge "[Messaging] Inclusion of msg_product.h has been removed." into devel/master
HyunJin Park [Wed, 4 Mar 2015 04:37:34 +0000 (13:37 +0900)]
Merge "[Messaging] Inclusion of msg_product.h has been removed." into devel/master

9 years ago[Exif] Old code removed
Rafal Galka [Tue, 3 Mar 2015 10:55:14 +0000 (11:55 +0100)]
[Exif] Old code removed

[Verification]
TCT results without change (60 / 63)

Change-Id: I81156e2c1d3fc476a3dbb89efb99e0cae5487240
Signed-off-by: Rafal Galka <r.galka@samsung.com>
9 years ago[Messaging] Fix tizen 2.4 mobile profile buildbreak
Tomasz Iwanek [Mon, 2 Mar 2015 11:27:47 +0000 (12:27 +0100)]
[Messaging] Fix tizen 2.4 mobile profile buildbreak

Missing ecore file (Ecore_File.h) is in other pkgconfig for 2.4

Change-Id: Ib049b11489238f6534f39924c93ed734b2d552fe
Signed-off-by: Tomasz Iwanek <t.iwanek@samsung.com>
9 years ago[Filesystem] File.moveTo JS part
Pawel Kaczmarek [Fri, 27 Feb 2015 09:31:58 +0000 (10:31 +0100)]
[Filesystem] File.moveTo JS part

[Verification]
var documentsDir;
 function onsuccess(files) {
   for (var i = 0; i < files.length; i++) {
     if (files[i].isDirectory == false) {
       documentsDir.moveTo(files[i].fullPath,
                           "images/newDir/" + files[i].name,
                           false,
                           function() {console.log("file moved");});
     }
   }
 }

 function onerror(error) {
   console.log("The error " + error.message +
               " occurred during 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 move all files from documents dir to images/newDir

Change-Id: If02186dd2e01bfa92d947f1ad43bbb1544e54ad6
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
9 years ago[Exif] Style refactoring
Rafal Galka [Tue, 3 Mar 2015 10:53:51 +0000 (11:53 +0100)]
[Exif] Style refactoring

[Verification]
TCT results without change (60 / 63)

Change-Id: I0ac76fc7859910394a1a1d04a7a869e7792f6ed9
Signed-off-by: Grzegorz Rynkowski <g.rynkowski@samsung.com>
9 years ago[Filesystem] File.resolve throws NOT_FOUND exception when fails
Wojciech Kosowicz [Mon, 2 Mar 2015 11:49:54 +0000 (12:49 +0100)]
[Filesystem] File.resolve throws NOT_FOUND exception when fails

This fix is required for increase passrate of TCT tests

Change-Id: Iba629bda3ad38dcb89aaf3c51a4ab4918924517b
Signed-off-by: Wojciech Kosowicz <w.kosowicz@samsung.com>
9 years ago[Filesystem] FileStream.close
Pawel Kaczmarek [Tue, 3 Mar 2015 10:22:44 +0000 (11:22 +0100)]
[Filesystem] FileStream.close

[Verification]
Following TCT should pass:
FileStream_close

Change-Id: I612de747f0c248043542d61b210109cd5a8c26a8
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
9 years ago[Filesystem] FileStream.write, FileStream.writeBytes, FileStream.writeBase64
Pawel Kaczmarek [Mon, 2 Mar 2015 14:36:34 +0000 (15:36 +0100)]
[Filesystem] FileStream.write, FileStream.writeBytes, FileStream.writeBase64

[Verification]
var documentsDir;
function onsuccess(files) {
  for (var i = 0; i < files.length; i++) {
    console.log("File Name is " + files[i].name);
  }

  var testFile = documentsDir.createFile('testFile01.txt');
  console.log('testFile', testFile);
  if (testFile !== null) {
    testFile.openStream(
            "rw",
            function (fs) {
              fs.write('This is test file data');
            }, function (e) {
      console.log("Error " + e.message);
    }, "UTF-8"
            );
  }
}

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"
);

Change-Id: I67b076ee8e26a4d9cf32c629bb821a65f8335443
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
9 years ago[Filesystem] Make directory does not throw if dir already exists
Wojciech Kosowicz [Mon, 2 Mar 2015 09:34:42 +0000 (10:34 +0100)]
[Filesystem] Make directory does not throw if dir already exists

This issue was causing many testcases fail in tct. In case the dir
already existed we should not throw as the method goes recursively
so some dirs might already exist

Change-Id: I6e7b30857e6204ad9d9617e6a49f0222385989dd
Signed-off-by: Wojciech Kosowicz <w.kosowicz@samsung.com>
9 years ago[Filesystem] File.openStream, FileStream.read, FileStream.readBytes, FileStream.readB...
Pawel Kaczmarek [Mon, 2 Mar 2015 13:21:28 +0000 (14:21 +0100)]
[Filesystem] File.openStream, FileStream.read, FileStream.readBytes, FileStream.readBase64

var documentsDir;
function onsuccess(files) {
  for (var i = 0; i < files.length; i++) {
    console.log("File Name is " + files[i].name);
  }

  var testFile = files[0];
  if (testFile !== null) {
    testFile.openStream(
            "r",
            function (fs) {
              var r1 = fs.read(200);
              console.log('Readed: ', r1);
              var r2 = fs.readBytes(200);
              console.log('Readed bytes: ', r2);
              var r3 = fs.readBase64(200);
              console.log('Readed base64: ', r3);
            }, function (e) {
      console.log("Error " + e.message);
    }, "UTF-8"
    );
  }
}

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 return text/bytes/base64 from first file in documents directory

Change-Id: I2c911f8eb37f2a83df8b188332e28197dab1a6b3
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
9 years ago[Filesystem] File.readAsText JS part
Pawel Kaczmarek [Mon, 2 Mar 2015 08:28:24 +0000 (09:28 +0100)]
[Filesystem] File.readAsText JS part

[Verification]
Should return string from given file

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

Change-Id: I147395ba24cd8bf50ac19e2c7327aef3732881fa
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
9 years ago[Filesystem] Fix file counting in File_stat method
Kamil Lysik [Mon, 2 Mar 2015 13:06:01 +0000 (14:06 +0100)]
[Filesystem] Fix file counting in File_stat method

File_stat reported invalid file count. Now, a proper method to count
was added. This method count all entries in directory.

Change-Id: Ic69687b104011b3b869f44ff7fdf2d81b1b6b89b
Signed-off-by: Kamil Lysik <k.lysik@samsung.com>
9 years ago[Filesystem] File read and write native API
Kamil Lysik [Tue, 17 Feb 2015 12:44:05 +0000 (13:44 +0100)]
[Filesystem] File read and write native API

Change-Id: If8aadda4ae5cf167d3e2c974a78c0da4df267466
Signed-off-by: Kamil Lysik <k.lysik@samsung.com>
9 years ago[exif] Fixes based on tests fails, part 2
Grzegorz Rynkowski [Fri, 13 Feb 2015 14:25:32 +0000 (15:25 +0100)]
[exif] Fixes based on tests fails, part 2

[Problem]   Fails and timeouts.

[Verification]
    1. Build the code.
    2. Run Exif tests.
    3. All tests should pass except:
        ExifManager_getExifInfo_errorCallback_invoked_InvalidValuesError
        ExifManager_getThumbnail_errorCallback_invoked_InvalidValuesError
        ExifManager_saveExifInfo_errorCallback_invoked_InvalidValuesError

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

Change-Id: I87c814348ac73b7024d87809c8c5e0a643166b63
Signed-off-by: Grzegorz Rynkowski <g.rynkowski@samsung.com>
9 years ago[Time] Remove exceptions
Tomasz Iwanek [Mon, 2 Mar 2015 09:41:44 +0000 (10:41 +0100)]
[Time] Remove exceptions

Change-Id: Ibf99fa1ea9612999294abffc493437a998d05761
Signed-off-by: Tomasz Iwanek <t.iwanek@samsung.com>
9 years ago[Bookmark] Remove exceptions
Tomasz Iwanek [Fri, 27 Feb 2015 08:43:07 +0000 (09:43 +0100)]
[Bookmark] Remove exceptions

Just print error. We can do nothing with errors in extension creation code.

Change-Id: Ic59dd714990f58c0bb3f9bc7be09dbadf1566762
Signed-off-by: Tomasz Iwanek <t.iwanek@samsung.com>
9 years agoUpdate message-port implementation
Jin-Woo Jeong [Mon, 2 Mar 2015 23:06:30 +0000 (08:06 +0900)]
Update message-port implementation

Change-Id: Ia8a8d4d52bff3524a097cc12cebc1df92ef1ede6

9 years agoPassing tizen_features flags to gyp
Tomasz Iwanek [Mon, 23 Feb 2015 15:56:34 +0000 (16:56 +0100)]
Passing tizen_features flags to gyp

Change-Id: Iba0c61f106dce1576bcadab021d34859c80628ae
Signed-off-by: Tomasz Iwanek <t.iwanek@samsung.com>
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 ago[Messaging] Inclusion of msg_product.h has been removed.
Pawel Andruszkiewicz [Thu, 26 Feb 2015 07:59:23 +0000 (08:59 +0100)]
[Messaging] Inclusion of msg_product.h has been removed.

Function calls which use enumerations defined in that file
were removed as well, as they are redundant and values set
by these calls were never read.

Change-Id: I8fba1320f6f8b7d81deeb91edb5f070c7d616d19

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