platform/core/api/webapi-plugins.git
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>
9 years ago[Sound] VolumeChangeListener
Ryszard Matuszyk [Tue, 10 Feb 2015 13:51:37 +0000 (14:51 +0100)]
[Sound] VolumeChangeListener

[Verification] Related TCT should pass

Change-Id: I07eda968c62e79fdd1bec5d09607fe760cf94217
Signed-off-by: Ryszard Matuszyk <r.matuszyk@samsung.com>
9 years ago[Sound] SoundModeChangeListener
Kamil Lysik [Mon, 9 Feb 2015 11:58:27 +0000 (12:58 +0100)]
[Sound] SoundModeChangeListener

[Verification] Build required

Change-Id: I7662d34c1f66a5a6f761e18d9b77187cfdb81067
Signed-off-by: Kamil Lysik <k.lysik@samsung.com>
9 years ago[systemsetting] Small refactoring
Grzegorz Rynkowski [Fri, 6 Feb 2015 14:49:54 +0000 (15:49 +0100)]
[systemsetting] Small refactoring

Description:    Prepared the code to provide returning result status from methods.
Verification:   Build the code.

Change-Id: Ib4128b621c741e666ab597847140ecb5fb6d092c
Signed-off-by: Grzegorz Rynkowski <g.rynkowski@samsung.com>
9 years ago[common] Provided PlatformResult to wrap platform error
Grzegorz Rynkowski [Tue, 10 Feb 2015 10:54:52 +0000 (11:54 +0100)]
[common] Provided PlatformResult to wrap platform error

Description:
- Provided PlatformResult class that wraps an error and
  a optional message
- Changed value of NO_ERROR to 0, as it is in C/C++ convention of
  return value.
- Moved error codes to common scope, to avoid circular referencing
  between tizen and common

Verification:
Build the code.

Change-Id: I0eeef2bcd205cab13c210cc7dc7eb653b5912924
Signed-off-by: Grzegorz Rynkowski <g.rynkowski@samsung.com>
9 years ago[Common] ReportError/ReportSuccess should be always available.
Pawel Andruszkiewicz [Mon, 22 Dec 2014 14:20:23 +0000 (15:20 +0100)]
[Common] ReportError/ReportSuccess should be always available.

Change-Id: I077baf5c93a8b80c5e7a4cf9936adc615c9a318a
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
9 years ago[Bluetooth] Changed services getter.
Tomasz Marciniak [Tue, 10 Feb 2015 11:30:37 +0000 (12:30 +0100)]
[Bluetooth] Changed services getter.

[Feature] services getter returns copy of the
services array to avoid changing values.

[Verification] Code compiles without errors.

Change-Id: I0999570a52401585143e618960ad9567b6c5402e
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
9 years ago[application] fixed some TCT errors related with AppControlData
Sunggyu Choi [Mon, 9 Feb 2015 09:08:58 +0000 (18:08 +0900)]
[application] fixed some TCT errors related with AppControlData

[verfication] self-test + TCT

Change-Id: I35284d9470ae93be83b479bd036ad268bfcd2332
Signed-off-by: Sunggyu Choi <sunggyu.choi@samsung.com>
9 years ago[Common] Logger using streams - inspired by chromium's logging.h
Rafal Galka [Wed, 4 Feb 2015 09:15:06 +0000 (10:15 +0100)]
[Common] Logger using streams - inspired by chromium's logging.h

It's C++ alternative to default dlog macro which forces
explicit values conversion to C types.

[Verification]
std::string foo("bar")
LoggerD("%s", foo.c_str());
LOGGER(DEBUG) << foo;

should generate same message format in dlog, eg:
D/WEBAPI_PLUGINS( 2592): file_name.cc: function_name(line_number) > bar

Change-Id: I5069d7acc0763c3d0104091f1c0d9ce6eb7991a9

9 years ago[Datacontrol] fix mistaking package dependency name
pius.lee [Wed, 11 Feb 2015 02:20:12 +0000 (11:20 +0900)]
[Datacontrol] fix mistaking package dependency name

Change-Id: Ia46a593aa26477899a0ea1e337dc827e9344b483
Signed-off-by: pius.lee <pius.lee@samsung.com>
9 years ago[Sound] getSoundMode
Ryszard Matuszyk [Mon, 9 Feb 2015 10:04:28 +0000 (11:04 +0100)]
[Sound] getSoundMode

[Verification] Build required

Change-Id: I9e467d88ecafd88ab992127522fb7eb2454682f2
Signed-off-by: Ryszard Matuszyk <r.matuszyk@samsung.com>
9 years ago[NBS] NBS Native implementation
Kamil Lysik [Wed, 4 Feb 2015 08:55:25 +0000 (09:55 +0100)]
[NBS] NBS Native implementation

[Verification]
TCT pass: 24/25

Change-Id: I378e81df677ed17863ebb40b8e558c420ab27c9f
Signed-off-by: Kamil Lysik <k.lysik@samsung.com>
9 years ago[Datacontrol] add dependency to capi-base-common
pius.lee [Tue, 10 Feb 2015 15:35:04 +0000 (00:35 +0900)]
[Datacontrol] add dependency to capi-base-common

Change-Id: I13d5c21b723c17be284d434bde1eb164e4cfd4b8
Signed-off-by: pius.lee <pius.lee@samsung.com>
9 years ago[Common] fix typeutil widl longlong typchecking
pius.lee [Tue, 10 Feb 2015 04:20:07 +0000 (13:20 +0900)]
[Common] fix typeutil widl longlong typchecking

Change-Id: If9e45ce884e97b687e83a2d0f64371e8fd03ca00
Signed-off-by: pius.lee <pius.lee@samsung.com>
9 years ago[Common] fix scope exit macro enable to use multiple in a scope.
pius.lee [Tue, 10 Feb 2015 03:53:01 +0000 (12:53 +0900)]
[Common] fix scope exit macro enable to use multiple in a scope.

Change-Id: Idd8dd5cb346c485c442211127ee1072b74a60aee
Signed-off-by: pius.lee <pius.lee@samsung.com>
9 years ago[Common] fix typeutil overflowed very long type
pius.lee [Tue, 10 Feb 2015 03:52:10 +0000 (12:52 +0900)]
[Common] fix typeutil overflowed very long type

Change-Id: Iadeef968d7bd421cc42f7c20117dd70abfcf2c4d
Signed-off-by: pius.lee <pius.lee@samsung.com>
9 years ago[Bluetooth] Changed uuids getter.
Tomasz Marciniak [Mon, 9 Feb 2015 10:26:12 +0000 (11:26 +0100)]
[Bluetooth] Changed uuids getter.

[Feature] To avoid changing uuids array values
getter returns array copy now.

[Verification] Code compiles without errors.

Change-Id: I6bf7747b8bf26c56698b2bb04d9f8ee7664deb58
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
9 years ago[Sound] getVolume
Ryszard Matuszyk [Thu, 5 Feb 2015 13:19:07 +0000 (14:19 +0100)]
[Sound] getVolume

[Verification] SoundManager_getVolume tct test should be pass

Change-Id: Idad3d08915060cff025c5afe8f1633de271cb461
Signed-off-by: Ryszard Matuszyk <r.matuszyk@samsung.com>
9 years ago[Sound] setVolume
Ryszard Matuszyk [Thu, 5 Feb 2015 13:19:07 +0000 (14:19 +0100)]
[Sound] setVolume

[Verification] SoundManager_setVolume tct test should be pass

Change-Id: Id9946ed5c471585116bf48343888fb8c20420194
Signed-off-by: Ryszard Matuszyk <r.matuszyk@samsung.com>
9 years ago[Sound] Manager stub
Ryszard Matuszyk [Thu, 5 Feb 2015 13:19:07 +0000 (14:19 +0100)]
[Sound] Manager stub

[Verification] Build required

Change-Id: I5da13f20875ee8d15be33b881b3e4283ab441694
Signed-off-by: Ryszard Matuszyk <r.matuszyk@samsung.com>
9 years ago[NBS] Listeners JS part
Pawel Kaczmarek [Thu, 5 Feb 2015 08:56:31 +0000 (09:56 +0100)]
[NBS] Listeners JS part

[Verification] TCT 19/25

Change-Id: I67ea91a64876157492adb1684ff213f7b389568f
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
9 years ago[Sound] setVolume - TCT fix
Pawel Kaczmarek [Wed, 4 Feb 2015 13:42:44 +0000 (14:42 +0100)]
[Sound] setVolume - TCT fix

[Verification]
tizen.sound.setVolume("SYSTEM", 3);
should throw invalid value exception
TCT 20/25

Change-Id: I0e6c0f5f59913b43c0ae263e70a3efdd474e148c
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
9 years ago[Sound] Change listeners JS part
Pawel Kaczmarek [Wed, 4 Feb 2015 11:53:36 +0000 (12:53 +0100)]
[Sound] Change listeners JS part

[Verification] TCT 19/25

Change-Id: Ia7760da31f619352875057e6b164d338dd7544b8
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
9 years ago[Sound] Enabled feature in profiles
Ryszard Matuszyk [Tue, 3 Feb 2015 09:26:38 +0000 (10:26 +0100)]
[Sound] Enabled feature in profiles

Change-Id: I99692b8675afad201285cdaa3c6422684d77d331
Signed-off-by: Ryszard Matuszyk <r.matuszyk@samsung.com>
9 years ago[FMRadio][Feature]Getters,Interrupt,Antenna,Seek
Dominik Rekawek [Sun, 21 Dec 2014 12:52:05 +0000 (13:52 +0100)]
[FMRadio][Feature]Getters,Interrupt,Antenna,Seek

[Validation]
Getters:
All working and tested

JS:
seekUp - tested with documentation code, works
seekDown  -tested with documentation code, works

[FMRadio][Feature]Mute,Interrupted,Antenna

[Feature]
JS and Cpp mute implementation.

[Verification]
Verified basing on tizen.fmradio.mute and console logs.

[Feature]
FMRadio Interrupted Listener

[Validated]
Validated manualy by hardcoding callbacks

[Feature]
Antenna listener

[Verification]
 function antennaCallback(isAntennaConnected) {
    console.log("Antenna status has been changed. It is now " + (isAntennaConnected ? "connected" : "disconnected"));
 }
 tizen.fmradio.setAntennaChangeListener(antennaCallback);

Change-Id: Ie14bfad76b2b9ab52bed209212c159ae2ef1e405
Signed-off-by: Dominik Rekawek <d.rekawek@samsung.com>
9 years ago[Bluetooth] Ported old bluetooth code.
Pawel Andruszkiewicz [Mon, 2 Feb 2015 17:21:33 +0000 (18:21 +0100)]
[Bluetooth] Ported old bluetooth code.

Change-Id: I63a940295b3d80dffcadac60ef70e0cead3ffbdc
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
9 years ago[Messaging] Removed old implementation.
Tomasz Marciniak [Wed, 4 Feb 2015 08:02:18 +0000 (09:02 +0100)]
[Messaging] Removed old implementation.

[Verification] Code compiles without errors.

Change-Id: Ie6fad19a569b1a42b08057658b4e4af306f17536
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
9 years ago[Messaging] Show file path if attachment is loaded.
Tomasz Marciniak [Wed, 4 Feb 2015 07:38:24 +0000 (08:38 +0100)]
[Messaging] Show file path if attachment is loaded.

[Verification] Code compiles without errors.

Change-Id: Iac52889c500de47e1fb6067492f2ddf11b9177e9
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
9 years ago[TVWindow] Stubs
Piotr Czaja [Fri, 12 Dec 2014 13:49:53 +0000 (14:49 +0100)]
[TVWindow] Stubs

Change-Id: I729f6d26fdb493d757a04a797e20db51c3317e00
Signed-off-by: Piotr Czaja <p.czaja@samsung.com>
9 years ago[TVInputDevice] Stub
Mariusz Polasinski [Mon, 29 Dec 2014 12:29:38 +0000 (13:29 +0100)]
[TVInputDevice] Stub

[Verification]
Code complies without error
Methods are visible in node (and returns hardcoded values)

Change-Id: Id5bd9cb20141cf4f63f69ba5eebe69b801a6b4b8
Signed-off-by: Mariusz Polasinski <m.polasinski@samsung.com>
9 years ago[building][spec] Changes to enable building for TVInputDevice
Mariusz Polasinski [Mon, 29 Dec 2014 12:53:21 +0000 (13:53 +0100)]
[building][spec] Changes to enable building for TVInputDevice

[Verification]
Code complied without errors

Change-Id: I6f7ac451c079ff534d93fe7492c9808c66dc4862
Signed-off-by: Mariusz Polasinski <m.polasinski@samsung.com>
9 years ago[Messaging] Fix for mms message id.
Tomasz Marciniak [Tue, 3 Feb 2015 10:57:26 +0000 (11:57 +0100)]
[Messaging] Fix for mms message id.

[Verification] Code compiles without errors.

Change-Id: I63fac423f2bc6b5a64c8212aa29dc0a231865f77
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
9 years ago[Archive] - Not found error resolved
Andrzej Popowski [Tue, 3 Feb 2015 13:46:49 +0000 (14:46 +0100)]
[Archive] - Not found error resolved

Change-Id: Ib7a3c0a14c16f49c7a2efd88f1a883c0082cba17
Signed-off-by: Andrzej Popowski <a.popowski@samsung.com>
9 years ago[NFC] Fixes for Messages and Records
Piotr Kosko [Tue, 3 Feb 2015 13:02:26 +0000 (14:02 +0100)]
[NFC] Fixes for Messages and Records

Change-Id: Ibc3be0fc8ae11d0266610eb756fb8bf882f681a8
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
9 years ago[Bookmark] Method name changes
Wojciech Kosowicz [Tue, 3 Feb 2015 10:09:16 +0000 (11:09 +0100)]
[Bookmark] Method name changes

[Verification]  TCT without changes

Change-Id: Iaafb7098ae93cd370ae6eede9b1bb5cd322d455a
Signed-off-by: Wojciech Kosowicz <w.kosowicz@samsung.com>
9 years ago[Websetting] Changing plugin to generator convention
Ryszard Matuszyk [Mon, 2 Feb 2015 13:20:15 +0000 (14:20 +0100)]
[Websetting] Changing plugin to generator convention

[Verification] TCT without change

Change-Id: Ibfee920b7c41900a2ac80829a8fb1db84a9a8390
Signed-off-by: Ryszard Matuszyk <r.matuszyk@samsung.com>
9 years ago[NetworkBearerSelection] Initial implementation
Pawel Kaczmarek [Mon, 2 Feb 2015 15:56:19 +0000 (16:56 +0100)]
[NetworkBearerSelection] Initial implementation

[Verification]
console.log(typeof tizen.networkbearerselection);
should return object

Change-Id: I33110f8ebc94d8990d0a1fad713679080d22eac2
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
9 years ago[Common] Logger TIZEN_DEBUG_ENABLE moved to GYP
Rafal Galka [Mon, 2 Feb 2015 13:16:17 +0000 (14:16 +0100)]
[Common] Logger TIZEN_DEBUG_ENABLE moved to GYP

extension_build_type == "Debug" is set by default in spec

Change-Id: I06e34c1cee50932163d3ae5e7cd6ff3bec19c8c9

9 years agoMerge "[application] removed lint errors of .js/.h/.cc files" into devel/master
Jinwoo Jeong [Tue, 3 Feb 2015 04:07:57 +0000 (13:07 +0900)]
Merge "[application] removed lint errors of .js/.h/.cc files" into devel/master

9 years ago[NFC] Fixed constuctor calls and undefined symbol
Piotr Kosko [Mon, 2 Feb 2015 13:22:31 +0000 (14:22 +0100)]
[NFC] Fixed constuctor calls and undefined symbol

Change-Id: I8cb9be150968acbb742f5d8bceee92c745efbe4c
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
9 years ago[TV Display] Implementation of async function
Marcin Wasowski [Tue, 30 Dec 2014 13:40:22 +0000 (14:40 +0100)]
[TV Display] Implementation of async function

Change-Id: I27fb9e9e7ffc7bbf3d5364a4ce939ebb069b7b71
Signed-off-by: Marcin Wasowski <m.wasowski2@samsung.com>
9 years ago[TV Display] Fixes for js api
Marcin Wasowski [Fri, 19 Dec 2014 18:36:01 +0000 (19:36 +0100)]
[TV Display] Fixes for js api

- NativeManager helper used
- is3DModeEnabled() returns enum now
- js implementation of getSupported3DEffectModeList()

Change-Id: I0ce69c399f384ea53ec3ed7a13741f48599f84a7
Signed-off-by: Marcin Wasowski <m.wasowski2@samsung.com>
9 years ago[SystemInfo] - Resolving problem with the datacontrol capability
Andrzej Popowski [Mon, 2 Feb 2015 12:55:02 +0000 (13:55 +0100)]
[SystemInfo] - Resolving problem with the datacontrol capability

Change-Id: Ib00fb3cc57780232e3a9aaa61d48d674b93c2392
Signed-off-by: Andrzej Popowski <a.popowski@samsung.com>
9 years ago[Sound] Initial implementation of Sound module
Pawel Kaczmarek [Mon, 2 Feb 2015 12:18:00 +0000 (13:18 +0100)]
[Sound] Initial implementation of Sound module

[Verification]
console.log(typeof tizen.sound);
should return object

Change-Id: Icf72d5644238b76e3e4d1316a9c2524865aaf84a
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
9 years ago[TV][Channel] Modification for different TV standards.
Lukasz Foniok [Thu, 29 Jan 2015 13:16:36 +0000 (14:16 +0100)]
[TV][Channel] Modification for different TV standards.

[Verification] Tune feature should work regardles of which tv standard is used.

Change-Id: Ia142ab700ae98af12b74205c15d82ab3a54b4410
Signed-off-by: Lukasz Foniok <l.foniok@samsung.com>
9 years ago[TV][Channel] tuneUp, tuneDown implementation
Lukasz Foniok [Tue, 23 Dec 2014 09:03:42 +0000 (10:03 +0100)]
[TV][Channel] tuneUp, tuneDown implementation

[Verification]
Following code should witch one channel up/down at a time
tizen.tvchannel.tuneUp( function(){console.log("success")} )
tizen.tvchannel.tuneDown( function(){console.log("success")} )

Change-Id: Ic5ba6d40f17004da7cec038bccf358b9e7cb6c6c
Signed-off-by: Lukasz Foniok <l.foniok@samsung.com>
9 years ago[Calendar] Renaming methods to match google style
Pawel Kaczmarek [Mon, 2 Feb 2015 11:59:37 +0000 (12:59 +0100)]
[Calendar] Renaming methods to match google style

[Verification]
Code compile
TCT without change

Change-Id: I958f846781790a79a6fef9b027aed3a0972edcf6
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
9 years ago[Tool][Generator] fix async
Pawel Kaczmarek [Mon, 2 Feb 2015 11:36:57 +0000 (12:36 +0100)]
[Tool][Generator] fix async

[Verification]
Should generate callNativeWithCallback in JS for async methods

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