platform/core/api/webapi-plugins.git
6 years ago[Application] Implementation for getAppsUsageInfo method 35/143535/3
Szymon Jastrzebski [Fri, 11 Aug 2017 11:38:57 +0000 (13:38 +0200)]
[Application] Implementation for getAppsUsageInfo method

[Verification] Code compiles. Manually tested in Web Console.

Change-Id: I743397bf67e6da504c75e96dbda344f6e0103b54
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
6 years agoMerge "[Application] Refactoring getBatteryUsageInfo method into async method" into...
Lukasz Bardeli [Wed, 9 Aug 2017 07:30:00 +0000 (07:30 +0000)]
Merge "[Application] Refactoring getBatteryUsageInfo method into async method" into tizen

6 years agoMerge "[Application] Refactoring GetBatteryUsageInfo method" into tizen
Lukasz Bardeli [Wed, 9 Aug 2017 07:29:31 +0000 (07:29 +0000)]
Merge "[Application] Refactoring GetBatteryUsageInfo method" into tizen

6 years ago[Application] Refactoring getBatteryUsageInfo method into async method 68/140768/8
Szymon Jastrzebski [Wed, 2 Aug 2017 07:54:57 +0000 (09:54 +0200)]
[Application] Refactoring getBatteryUsageInfo method into async method

[Verification] Code compiles, manually tested with chromium console

Change-Id: I7b891980977b59c799d302d4799a2cc20144a258
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
6 years ago[Application] Refactoring GetBatteryUsageInfo method 34/140334/7
Szymon Jastrzebski [Wed, 9 Aug 2017 07:21:20 +0000 (09:21 +0200)]
[Application] Refactoring GetBatteryUsageInfo method

The refactoring is needed for future features,
which use Context Native API.

[Verification] Code compiles

Change-Id: Iadae3cbf53ef9f4c338e4dc18edd4c1eb26cb001
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
6 years agoMerge "[NFC] Implementation for NFC preferred application" into tizen
Lukasz Bardeli [Mon, 7 Aug 2017 06:52:53 +0000 (06:52 +0000)]
Merge "[NFC] Implementation for NFC preferred application" into tizen

6 years agoMerge branch 'tizen_3.0' into tizen 29/142029/1 accepted/tizen/4.0/unified/20170816.013544 accepted/tizen/4.0/unified/20170816.015959 accepted/tizen/unified/20170803.010539 submit/tizen/20170802.090121 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
Lukasz Bardeli [Wed, 2 Aug 2017 08:29:53 +0000 (10:29 +0200)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I6cb725dc57b234ae1817545c73032de64677cd0f

6 years ago[version] 1.93 10/142010/1 accepted/tizen/3.0/common/20170803.140705 accepted/tizen/3.0/mobile/20170803.011246 accepted/tizen/3.0/tv/20170803.011252 accepted/tizen/3.0/wearable/20170803.011256 submit/tizen_3.0/20170802.080927
Lukasz Bardeli [Wed, 2 Aug 2017 07:43:59 +0000 (09:43 +0200)]
[version] 1.93

Change-Id: I82e136107d2f03a2ed163b33d1295d5513f5fc8c
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
6 years ago[NFC] Implementation for NFC preferred application 31/137331/4
Szymon Jastrzebski [Wed, 5 Jul 2017 07:36:37 +0000 (09:36 +0200)]
[NFC] Implementation for NFC preferred application

Change-Id: I7322a9f5a40e9b8fd5453a3b39f6dbf1b947ba25
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
7 years agoMerge "[Notification] Set*FromJson methods implemented" into tizen
Lukasz Bardeli [Mon, 31 Jul 2017 12:21:34 +0000 (12:21 +0000)]
Merge "[Notification] Set*FromJson methods implemented" into tizen

7 years agoMerge "[Notification] Add*ToJson methods implemented" into tizen
Lukasz Bardeli [Mon, 31 Jul 2017 12:21:19 +0000 (12:21 +0000)]
Merge "[Notification] Add*ToJson methods implemented" into tizen

7 years agoMerge "[Notification] skeleton for FromJson and ToJson methods" into tizen
Lukasz Bardeli [Mon, 31 Jul 2017 12:21:05 +0000 (12:21 +0000)]
Merge "[Notification] skeleton for FromJson and ToJson methods" into tizen

7 years agoMerge "[Notification] added C++ stubs for UserNotification" into tizen
Lukasz Bardeli [Mon, 31 Jul 2017 12:20:50 +0000 (12:20 +0000)]
Merge "[Notification] added C++ stubs for UserNotification" into tizen

7 years agoMerge "[Notification] prepared stubs for UserNotification" into tizen
Lukasz Bardeli [Mon, 31 Jul 2017 12:20:36 +0000 (12:20 +0000)]
Merge "[Notification] prepared stubs for UserNotification" into tizen

7 years ago[Notification] Set*FromJson methods implemented 63/140963/5
Piotr Kosko [Fri, 28 Jul 2017 12:42:59 +0000 (14:42 +0200)]
[Notification] Set*FromJson methods implemented

[Feature] Implemented body of Set*FromJson methods of UserNotification and
  some refactoring of Status notification code.

[Verification] Code compiles without errors.
  Passrate didn't change.
  Checked in console. User notification interface works correctly when testing manually.

Change-Id: I7ef4b98120899a1b9000f26b97d39493e43dac88
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
7 years ago[Notification] Add*ToJson methods implemented 86/140286/4
Piotr Kosko [Fri, 28 Jul 2017 12:42:04 +0000 (14:42 +0200)]
[Notification] Add*ToJson methods implemented

[Feature] Implemented body of ToJson method of UserNotification and
  some refactoring of Status notification code.

[Verification] Code compiles without errors.
  TCT passrate didn't change.

Change-Id: Ibf7816c41051bb985f41d814b95835309c883469
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
7 years ago[Notification] skeleton for FromJson and ToJson methods 48/138548/2
Piotr Kosko [Thu, 6 Jul 2017 13:01:50 +0000 (15:01 +0200)]
[Notification] skeleton for FromJson and ToJson methods

[Feature]
  - prepared *FromJson and ToJson methods
  - extracted common methods to remove code duplication

[Verification] Passrate didn't change

Change-Id: Idf6fa7f28bcd62af4b16c17906c85ee8fd3a4eb6
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
7 years ago[Notification] added C++ stubs for UserNotification 66/137566/2
Piotr Kosko [Wed, 5 Jul 2017 12:42:40 +0000 (14:42 +0200)]
[Notification] added C++ stubs for UserNotification

[Verification] Code compiles without error.
  TCT passrate didn't change.

Change-Id: I83deb2c0ce692ee67c86213d3a9552dadceb7bb9
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
7 years ago[Sensor] Add uncalibrated gyroscope and geomagnetic sensor types 61/139761/2
Pawel Wasowski [Wed, 19 Apr 2017 11:56:01 +0000 (13:56 +0200)]
[Sensor] Add uncalibrated gyroscope and geomagnetic sensor types

Change-Id: Ideac79341070ce075fec3d3baa509c88dbd117a2
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 80/139980/4 accepted/tizen/unified/20170724.155149 submit/tizen/20170721.123311
Piotr Kosko [Fri, 21 Jul 2017 11:52:29 +0000 (13:52 +0200)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Idbc1f99c62d8d9ba2e43b3732142284737b755f3

7 years ago[HAM] fixed SVACE issue 41/140041/1 accepted/tizen/3.0/common/20170724.092944 accepted/tizen/3.0/ivi/20170724.075543 accepted/tizen/3.0/mobile/20170724.075511 accepted/tizen/3.0/tv/20170724.075516 accepted/tizen/3.0/wearable/20170724.075520 submit/tizen_3.0/20170721.122334
Piotr Kosko [Fri, 21 Jul 2017 09:43:43 +0000 (11:43 +0200)]
[HAM] fixed SVACE issue

[Verification] HAM tct 100%

Change-Id: Ibba5969d26a0eb95b4320ab1c62c276d7454d68f
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
7 years ago[version] 1.92 47/139947/1
Piotr Kosko [Fri, 21 Jul 2017 06:19:09 +0000 (08:19 +0200)]
[version] 1.92

Change-Id: If809da9009b050536c900907457f633c60c606de
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
7 years agoRevert "Merge "[version] 1.92" into tizen" 45/139945/1
Piotr Kosko [Fri, 21 Jul 2017 06:27:21 +0000 (08:27 +0200)]
Revert "Merge "[version] 1.92" into tizen"

This reverts commit 8e9d32ce4179a97f00a92244b69c6bdca7c3bfb3, reversing
changes made to b4ea08a3cd8c5cc6bbba2a6ca6adf8d1b81b5888.

Change-Id: I5921609c2573fff0cd7b82b7cb22752c568d6579

7 years agoMerge "[version] 1.92" into tizen
Piotr Kosko [Fri, 21 Jul 2017 06:20:13 +0000 (06:20 +0000)]
Merge "[version] 1.92" into tizen

7 years ago[version] 1.92 41/139941/1
Piotr Kosko [Fri, 21 Jul 2017 06:19:09 +0000 (08:19 +0200)]
[version] 1.92

Change-Id: I8a2845d28e334b35300df8b82417e8510a228be6
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
7 years agoMerge "[spec][sensor]Enabling sensor support for TW2 emul" into tizen
Piotr Kosko [Thu, 20 Jul 2017 14:03:31 +0000 (14:03 +0000)]
Merge "[spec][sensor]Enabling sensor support for TW2 emul" into tizen

7 years ago[spec][sensor]Enabling sensor support for TW2 emul 21/139821/2
Michal Bistyga [Thu, 20 Jul 2017 13:22:41 +0000 (15:22 +0200)]
[spec][sensor]Enabling sensor support for TW2 emul

Change-Id: I0279827bb9294d3efcf3470f019ad84c2b3ddb9e
Signed-off-by: Michal Bistyga <m.bistyga@samsung.com>
7 years agoMerge "[HAM] Adding casting int64_t to float" into tizen_3.0
Piotr Kosko [Thu, 20 Jul 2017 13:51:22 +0000 (13:51 +0000)]
Merge "[HAM] Adding casting int64_t to float" into tizen_3.0

7 years agoMerge "[SystemInfo] Adding casting int to double + fix InchToMm constant" into tizen_3.0
Piotr Kosko [Thu, 20 Jul 2017 13:50:01 +0000 (13:50 +0000)]
Merge "[SystemInfo] Adding casting int to double + fix InchToMm constant" into tizen_3.0

7 years agoMerge "[Messaging] Adding checking return value of calloc" into tizen_3.0
Piotr Kosko [Thu, 20 Jul 2017 13:49:02 +0000 (13:49 +0000)]
Merge "[Messaging] Adding checking return value of calloc" into tizen_3.0

7 years ago[NBS] Add support for ipv6 addresses. 54/139754/2
Tomasz Marciniak [Thu, 13 Jul 2017 13:35:18 +0000 (15:35 +0200)]
[NBS] Add support for ipv6 addresses.

[Verification] Code compiles.
TCT pass rate is 100% (24/24/0/0/0)

Change-Id: Iee84d0ba90acfb78ed33c0f759430ffb05644efb
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
7 years ago[HAM] Adding casting int64_t to float 00/139600/2
Szymon Jastrzebski [Wed, 19 Jul 2017 11:26:34 +0000 (13:26 +0200)]
[HAM] Adding casting int64_t to float

SVACE detected problem with code NO_CAST.INTEGER_DIVISION (25137).
[Verification] Code compiles, TCT HAM passed 100%.

Change-Id: Ie48c2250b70f79c29ea002d2c1e9b89f81e0ac24
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
7 years ago[SystemInfo] Adding casting int to double + fix InchToMm constant 17/139517/3
Szymon Jastrzebski [Wed, 19 Jul 2017 10:35:55 +0000 (12:35 +0200)]
[SystemInfo] Adding casting int to double + fix InchToMm constant

SVACE detected problem with code NO_CAST.INTEGER_DIVISION.

[Verification] Code compiles, TCT SystemInfo passed 100%.

Change-Id: Ie6249780860cd61a8c331d77648b6d37b9241c4c
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
7 years ago[Messaging] Adding checking return value of calloc 23/139523/3
Szymon Jastrzebski [Wed, 19 Jul 2017 08:26:56 +0000 (10:26 +0200)]
[Messaging] Adding checking return value of calloc

SVACE detected problem with code DEREF_OF_NULL.RET.ALLOC.

[Verification] Code compiles.

Change-Id: Ibf604637e9f9d08e8c486a421afd94bbe6d6bddc
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 19/139519/1 accepted/tizen/unified/20170719.132325 submit/tizen/20170719.080849 submit/tizen/20170719.081707
Lukasz Bardeli [Wed, 19 Jul 2017 07:57:08 +0000 (09:57 +0200)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I5d4245b4f62c0802e9d73397df97d097683d05b9

7 years ago[version] 1.91 04/139504/1 accepted/tizen/3.0/common/20170720.141723 accepted/tizen/3.0/ivi/20170720.010552 accepted/tizen/3.0/mobile/20170720.010538 accepted/tizen/3.0/tv/20170720.010544 accepted/tizen/3.0/wearable/20170720.010548 submit/tizen_3.0/20170719.073651
Lukasz Bardeli [Wed, 19 Jul 2017 07:07:36 +0000 (09:07 +0200)]
[version] 1.91

Change-Id: I253cb2dfb07843f3a46694eba5a69719d6006450

7 years ago[SystemInfo] adding support vfpv4 01/139501/1
Lukasz Bardeli [Wed, 19 Jul 2017 06:39:23 +0000 (08:39 +0200)]
[SystemInfo] adding support vfpv4

[Verification] Code compiles without error. TCT passrate 100%

Change-Id: Ibdca896ec76ca69b0269285c1eb735e4b10a1064
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
7 years agoMerge "[Systeminfo] Fixed condition, which caused to call successCallback when not...
Piotr Kosko [Tue, 18 Jul 2017 12:23:46 +0000 (12:23 +0000)]
Merge "[Systeminfo] Fixed condition, which caused to call successCallback when not needed" into tizen_3.0

7 years agoMerge "[Contact] Fixing bug when adding Contact to AddressBook" into tizen_3.0
Piotr Kosko [Tue, 18 Jul 2017 10:52:28 +0000 (10:52 +0000)]
Merge "[Contact] Fixing bug when adding Contact to AddressBook" into tizen_3.0

7 years ago[Systeminfo] Fixed condition, which caused to call successCallback when not needed 02/139302/1
Szymon Jastrzebski [Tue, 18 Jul 2017 09:20:35 +0000 (11:20 +0200)]
[Systeminfo] Fixed condition, which caused to call successCallback when not needed

According to documentation, the successCallback is called in
4 different possible situations.
The condition, which fills the requirements is optimized.

[Verification] SystemInfo TCT passed 100%.

Change-Id: Ie6b24853ed233ecb8ac9d5ee28677e84d2b22f2f
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
7 years ago[EXIF] Fix privilege issue 86/137786/5
Pawel Wasowski [Fri, 7 Jul 2017 16:02:53 +0000 (18:02 +0200)]
[EXIF] Fix privilege issue

Problem: implementation of getExifInfo() used Web API filesystem
resolve() function to check, if file exists on the device. Use of this
function required declaring http://tizen.org/privilege/filesystem.read.

File existence checking has been implemented in EXIF plugin and does not
require declaring any additional privileges.

[Verification] TCT EXIF: 100% pass rate,
        manuall tests with Chrome DevTools did not show any problems

Change-Id: Id9d19965eddb31902f14817eac0bd5ad897f1568
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
7 years ago[Application] Fix category array population bug 90/138790/2
Pawel Wasowski [Thu, 13 Jul 2017 19:57:37 +0000 (21:57 +0200)]
[Application] Fix category array population bug

Problem: application's categories were not passed from C++ to JS layer

Verification: it has been proved in tests in Chrome DevTools, that
        application's categories may be obtained with Application API
        TCT Application pass rate: 100%

Change-Id: I0995cd464315c9194196874fa488d52de49b1e69
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
7 years ago[Contact] Fixing bug when adding Contact to AddressBook 59/138659/1
Szymon Jastrzebski [Thu, 13 Jul 2017 06:19:53 +0000 (08:19 +0200)]
[Contact] Fixing bug when adding Contact to AddressBook

There was a bug, which caused application to crash everytime
when adding more than one nickname.
In every iteration of nicknames, the same nickname-handler
was added to parent-handler. The crash happened during attempting
to free parent-handler with all its children (double free).

Contact TCT passed 100%.

Change-Id: Ibaddf2ce17aacb6dcf40422fc0303ec5e1142089
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 02/138502/1 accepted/tizen/unified/20170712.165344 submit/tizen/20170712.103342
Piotr Kosko [Wed, 12 Jul 2017 09:41:18 +0000 (11:41 +0200)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Ie257aa60a47ad602754cef3ce68590795c71e258

7 years ago[version] 1.90 89/138489/1 accepted/tizen/3.0/common/20170713.114200 accepted/tizen/3.0/ivi/20170712.221608 accepted/tizen/3.0/mobile/20170712.221554 accepted/tizen/3.0/tv/20170712.221600 accepted/tizen/3.0/wearable/20170712.221604 submit/tizen_3.0/20170712.103254
Piotr Kosko [Wed, 12 Jul 2017 09:28:36 +0000 (11:28 +0200)]
[version] 1.90

Change-Id: Iae694af4c97bdd2a918a8a2ca59d2633f1863b7b
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
7 years agoMerge "[FMRadio] Fixing memory leak" into tizen_3.0
Piotr Kosko [Tue, 11 Jul 2017 10:54:26 +0000 (10:54 +0000)]
Merge "[FMRadio] Fixing memory leak" into tizen_3.0

7 years agoMerge "[Messaging] Replacing call of email_attachment_data_t structure constructor...
Piotr Kosko [Tue, 11 Jul 2017 10:53:38 +0000 (10:53 +0000)]
Merge "[Messaging] Replacing call of email_attachment_data_t structure constructor to calloc" into tizen_3.0

7 years agoMerge "[Bluetooth] Fixing memory leak" into tizen_3.0
Piotr Kosko [Tue, 11 Jul 2017 10:17:25 +0000 (10:17 +0000)]
Merge "[Bluetooth] Fixing memory leak" into tizen_3.0

7 years ago[Bluetooth] Fixing memory leak 51/137951/2
Szymon Jastrzebski [Mon, 10 Jul 2017 11:12:39 +0000 (13:12 +0200)]
[Bluetooth] Fixing memory leak

user_data was lost when native function app_control_send_launch_request
returned value different from APP_CONTROL_ERROR_NONE.
In case of fail, we need to delete allocated memory manually.

TCT bluetooth passed 100%.

Change-Id: I5aa08bfdda97a5dfab7718177be0fbb3f4c9dae0
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
7 years ago[Messaging] Replacing call of email_attachment_data_t structure constructor to calloc 44/137944/2
Szymon Jastrzebski [Fri, 7 Jul 2017 12:41:54 +0000 (14:41 +0200)]
[Messaging] Replacing call of email_attachment_data_t structure constructor to calloc

Native function email_free_attachment_data uses free() to release allocated
memory pointing by tmp. Thus, we should call calloc() instead of structure's
constructor.
Messaging-email TCT passed 100%.

Change-Id: Ib81f1da2e0270cfa76aef0eab7005d968c1f102c
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
7 years ago[FMRadio] Fixing memory leak 45/137945/3
Szymon Jastrzebski [Mon, 10 Jul 2017 10:31:20 +0000 (12:31 +0200)]
[FMRadio] Fixing memory leak

There was a memory leak, which happened when user called
tizen.fmradio.scanStop, after starting scanning.
user_data was allocated in method FMRadioManager::ScanStart
but it was lost when scanning was interrupted.

FMRadio TCT passed 100%.

Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Change-Id: I2f4b8b74c8a7703dd9d31f5ca8e338caa5e90c45

7 years ago[Filesystem] Support for 2GB+ files added 37/137937/1
Piotr Kosko [Mon, 10 Jul 2017 09:46:02 +0000 (11:46 +0200)]
[Filesystem] Support for 2GB+ files added

[Feature] Plugins are build with '-D_FILE_OFFSET_BITS=64' flag to
  support files larger that 2GB.

[Verification] Code compiles without errors.
  TCT passrate 100%.
  Checked in console with code:
// bigfiletest contains 4GB file
 tizen.filesystem.resolve(
   'images/bigfiletest',
   function(dir) {
     function onsuccess(files) {
       for (var i = 0; i < files.length; i++) {
         console.log(files[i].name + "  size: "  + files[i].fileSize );
       }
     }
     dir.listFiles(onsuccess);
   }, function(e) {
     console.log("Error: " + e.message);
   }, "r"
 );
/// result
// BIG.txt  size: 4294967296

Change-Id: I21513b533eeee0294267888d416ec3d0a85c91bf
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
7 years agoMerge "[Filesystem, Archive] Remove deprecated function" into tizen
Lukasz Bardeli [Wed, 5 Jul 2017 09:25:52 +0000 (09:25 +0000)]
Merge "[Filesystem, Archive] Remove deprecated function" into tizen

7 years agoMerge branch 'tizen_3.0' into tizen 83/137283/1 accepted/tizen/unified/20170706.193412 submit/tizen/20170705.072319
Piotr Kosko [Wed, 5 Jul 2017 07:11:24 +0000 (09:11 +0200)]
Merge branch 'tizen_3.0' into tizen

Change-Id: If294b49e1c218d77cd02c7701184dbc48c6fb8c8

7 years ago[version] 1.89 71/137271/1 accepted/tizen/3.0/common/20170706.101416 accepted/tizen/3.0/ivi/20170705.230447 accepted/tizen/3.0/mobile/20170705.230433 accepted/tizen/3.0/wearable/20170705.230443 submit/tizen_3.0/20170705.072305
Piotr Kosko [Wed, 5 Jul 2017 07:10:11 +0000 (09:10 +0200)]
[version] 1.89

Change-Id: Icf0dcfdfa530d3fad644cc560a00ea1933064188
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
7 years ago[Filesystem, Archive] Remove deprecated function 80/136880/2
Tomasz Marciniak [Mon, 3 Jul 2017 08:50:37 +0000 (10:50 +0200)]
[Filesystem, Archive] Remove deprecated function

[Feature] readdir_r is deprecated. Now readdir is used

[Verification] Code compiles. There is no warning while compiling.
TCT pass rate for filesystem and archive modules is 100%.

Change-Id: Idf32278fb1b53c3d49d6b7d75c23e35b4b2e403f
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
7 years ago[Utils] Fix privilege bypass, StringCopy function 48/136648/2
Jakub Skowron [Fri, 30 Jun 2017 14:02:34 +0000 (16:02 +0200)]
[Utils] Fix privilege bypass, StringCopy function

User could redefine String and String.indexOf to bypass privilege
check and to go outside of virtual-root by ../ in path

Change-Id: Ia9f7210ba685d1df18c9c443706361f624a38c1e
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 28/136128/1 accepted/tizen/unified/20170703.064045 submit/tizen/20170628.112919
Piotr Kosko [Wed, 28 Jun 2017 06:56:39 +0000 (08:56 +0200)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I760ff213dc53919d95f68dfa8de503505ce1a932

7 years ago[version] 1.88 25/136125/1 accepted/tizen/3.0/common/20170630.144402 accepted/tizen/3.0/ivi/20170630.081346 accepted/tizen/3.0/mobile/20170630.081308 accepted/tizen/3.0/tv/20170630.081319 accepted/tizen/3.0/wearable/20170630.081334 submit/tizen_3.0/20170628.113010
Piotr Kosko [Wed, 28 Jun 2017 06:48:39 +0000 (08:48 +0200)]
[version] 1.88

Change-Id: I8944a33b7b9421c481f988f09f753c668fae927c
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
7 years ago[Application][Alarm] Free app_control_h using app_control_destroy 17/136117/2
Lukasz Bardeli [Wed, 28 Jun 2017 06:24:32 +0000 (08:24 +0200)]
[Application][Alarm] Free app_control_h using app_control_destroy

[Verification] Code compiles without error. TCT passrate
               Alarm 100%
               AppControl 100%
               Application 100%

Change-Id: I5c32e2307d9b7e8b36df0919c670c97b5828a572

7 years ago[SystemInfo] Fix for "BATTERY" property value change listener callbacks 60/135460/1
Pawel Wasowski [Thu, 22 Jun 2017 10:29:13 +0000 (12:29 +0200)]
[SystemInfo] Fix for "BATTERY" property value change listener callbacks

Callbacks called on "BATTERY" property value change threw an exception,
if "lowThreshold" or "highThreshold" SystemInfoOptions were specified.

[Verification] Tested in Chrome DevTools, registered callbacks work
fine.

Change-Id: Ie50dfb0710e9b203e072ff5336b77ff27c464031
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 59/133959/1 accepted/tizen/unified/20170630.082955 submit/tizen/20170614.061000
Piotr Kosko [Wed, 14 Jun 2017 05:59:02 +0000 (07:59 +0200)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I84386ce3a6d69a97e8e5f427e39d8212cc7df212

7 years ago[version] 1.87 57/133957/1 accepted/tizen/3.0/common/20170616.064038 accepted/tizen/3.0/ivi/20170614.223709 accepted/tizen/3.0/mobile/20170614.223659 accepted/tizen/3.0/tv/20170614.223703 accepted/tizen/3.0/wearable/20170614.223706 submit/tizen_3.0/20170614.060924
Piotr Kosko [Wed, 14 Jun 2017 05:26:56 +0000 (07:26 +0200)]
[version] 1.87

Change-Id: Ic2a1806af385df069553fcdb38d57e362ff94c36
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
7 years ago[Notification] prepared stubs for UserNotification 84/132684/2
Piotr Kosko [Wed, 7 Jun 2017 06:39:54 +0000 (08:39 +0200)]
[Notification] prepared stubs for UserNotification

[Feature] Added stubs for UserNotifcation object,
  added stubs for new versions of post, update, get, getAll.

[Verification] Code compiles without error.
  TCT passrate didn't change.
  Checked in chrome console.

Change-Id: I138a08e56149090c0c263cec66833aac6a5c65db
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
7 years ago[Power] Restore system side brightness 41/132741/1
Tomasz Marciniak [Wed, 7 Jun 2017 10:07:09 +0000 (12:07 +0200)]
[Power] Restore system side brightness

[Verification] Code compiles.
TCT pass rate 100% (auto and manual)
Now system side brightness is restored when
application is closed/terminated.

Change-Id: I9fe5a60c7f4f85e5ed9f891f16fb7e5cf57ee857
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
(cherry picked from commit 6b9c2ba596d9358e319717139a7c51c6de261563)

7 years ago[Power] Restore system side brightness 38/132738/1
Tomasz Marciniak [Wed, 7 Jun 2017 10:07:09 +0000 (12:07 +0200)]
[Power] Restore system side brightness

[Verification] Code compiles.
TCT pass rate 100% (auto and manual)
Now system side brightness is restored when
application is closed/terminated.

Change-Id: I9fe5a60c7f4f85e5ed9f891f16fb7e5cf57ee857
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 94/132694/1 accepted/tizen/unified/20170608.072317 submit/tizen/20170607.071201
Piotr Kosko [Wed, 7 Jun 2017 06:56:45 +0000 (08:56 +0200)]
Merge branch 'tizen_3.0' into tizen

Conflicts:
packaging/webapi-plugins.spec
src/archive/un_zip_extract_request.cc

Change-Id: I1388b6e53bbf293816e32760e4113ecc48b2d4b9

7 years ago[version] 1.86 90/132690/1 accepted/tizen/3.0/common/20170608.115433 accepted/tizen/3.0/ivi/20170608.070900 accepted/tizen/3.0/mobile/20170608.070851 accepted/tizen/3.0/tv/20170608.070854 accepted/tizen/3.0/wearable/20170608.070857 submit/tizen_3.0/20170607.071303
Piotr Kosko [Wed, 7 Jun 2017 06:47:54 +0000 (08:47 +0200)]
[version] 1.86

Change-Id: Ifcc9c5bcf836582ab986f53808fdf1ec3ce14ce7

7 years ago[Archive] checking if dynamic_cast succeeded 76/132676/1
Lukasz Bardeli [Wed, 7 Jun 2017 06:27:26 +0000 (08:27 +0200)]
[Archive] checking if dynamic_cast succeeded

[Verification] Code compiles without error

Change-Id: Id48b95aaea1d69573a1e50acaa12304b338b8ef8

7 years agoMerge "[Spec] fix for common profile" into tizen
Piotr Kosko [Wed, 7 Jun 2017 05:43:20 +0000 (05:43 +0000)]
Merge "[Spec] fix for common profile" into tizen

7 years agoMerge "[Convergence] Disabling Convergence module" into tizen_3.0
Piotr Kosko [Wed, 7 Jun 2017 05:41:52 +0000 (05:41 +0000)]
Merge "[Convergence] Disabling Convergence module" into tizen_3.0

7 years ago[Archive][Convergence][Sound] fix cppTest issue 42/132342/2
Lukasz Bardeli [Fri, 2 Jun 2017 09:55:09 +0000 (11:55 +0200)]
[Archive][Convergence][Sound] fix cppTest issue

[verification] Code compiles without error

Change-Id: Iee11cdaf9647103fa54ede1c00168413f747016b
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
7 years ago[Archive][Convergence][Sound] fix cppTest issue 73/132473/2
Lukasz Bardeli [Fri, 2 Jun 2017 09:55:09 +0000 (11:55 +0200)]
[Archive][Convergence][Sound] fix cppTest issue

[verification] Code compiles without error

Change-Id: Iee11cdaf9647103fa54ede1c00168413f747016b
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
7 years ago[Convergence] Disabling Convergence module 38/132438/2
Szymon Jastrzebski [Mon, 5 Jun 2017 07:16:04 +0000 (09:16 +0200)]
[Convergence] Disabling Convergence module

HQ requested to remove Convergence API from Tizen 3.0.

Change-Id: Ide749fe9bd2f23c1d0c845042d7530fe3146cafc

7 years agoMerge branch 'tizen_3.0' into tizen 82/131982/1 accepted/tizen/unified/20170602.153957 submit/tizen/20170531.113608
Piotr Kosko [Wed, 31 May 2017 10:20:40 +0000 (12:20 +0200)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I715e107cdc566dbb19c6bf6299b7a4df157155d1

7 years ago[version] 1.85 66/131966/1 accepted/tizen/3.0/common/20170602.150535 accepted/tizen/3.0/ivi/20170601.235936 accepted/tizen/3.0/mobile/20170601.235927 accepted/tizen/3.0/tv/20170601.235930 accepted/tizen/3.0/wearable/20170601.235933 submit/tizen_3.0/20170531.113531
Piotr Kosko [Wed, 31 May 2017 10:14:21 +0000 (12:14 +0200)]
[version] 1.85

Change-Id: Ib8a70c3f450f4e96598b13f3018bb4bd37b74c1c

7 years ago[MediaKey] disabled on tv build 26/131526/1 accepted/tizen/unified/20170529.163228 submit/tizen/20170529.143245 tizen_4.0.m1_release
Piotr Kosko [Mon, 29 May 2017 14:30:42 +0000 (16:30 +0200)]
[MediaKey] disabled on tv build

Change-Id: Iac1d6be28ab1eb1b616e08c5db65fb3c3c150dd6
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
7 years agoMerge "[Iotcon] fix for iotcon, pass information about representation" into tizen_3.0
Piotr Kosko [Mon, 29 May 2017 12:56:34 +0000 (12:56 +0000)]
Merge "[Iotcon] fix for iotcon, pass information about representation" into tizen_3.0

7 years ago[Sensor] Disable sensor for TW2 device 13/131513/1 submit/tizen/20170529.115637
Piotr Kosko [Mon, 29 May 2017 11:49:09 +0000 (13:49 +0200)]
[Sensor] Disable sensor for TW2 device

[Feature] sensor is now not supported on TW2 device - official 4.0 device,
  so it is needed to disable it in TW2 build.

Change-Id: If6fb85627f8624baf51c51c8736911e83ae6c00b
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
7 years agofixed setters of DownloadRequest 48/131148/2
Piotr Kosko [Thu, 25 May 2017 12:10:25 +0000 (14:10 +0200)]
fixed setters of DownloadRequest

[Verification] Code checked with chrome console.
  TCT passrate 100%.

Change-Id: I7c9976efaf900452ee3da63fb13a3de1f0fa4466
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
7 years agofixed setters of DownloadRequest 50/131150/2
Piotr Kosko [Thu, 25 May 2017 12:10:25 +0000 (14:10 +0200)]
fixed setters of DownloadRequest

[Verification] Code checked with chrome console.
  TCT passrate 100%.

Change-Id: I7c9976efaf900452ee3da63fb13a3de1f0fa4466
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 54/130954/2 submit/tizen/20170525.061022
Piotr Kosko [Wed, 24 May 2017 12:44:59 +0000 (14:44 +0200)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I89e72fb15e29c3af954729bfcf509e4ab0765c6d

7 years ago[version] 1.84 04/130904/1 accepted/tizen/3.0/common/20170525.123724 accepted/tizen/3.0/ivi/20170525.080520 accepted/tizen/3.0/mobile/20170525.080503 accepted/tizen/3.0/tv/20170525.080505 accepted/tizen/3.0/wearable/20170525.080517 submit/tizen_3.0/20170524.101153
Piotr Kosko [Wed, 24 May 2017 10:10:23 +0000 (12:10 +0200)]
[version] 1.84

Change-Id: I96ee3646219e313a394cdf73595eaea57876aca6

7 years ago[SystemInfo] Throwing NOT_SUPPORTED_ERR added 02/130902/1
Szymon Jastrzebski [Fri, 19 May 2017 10:58:22 +0000 (12:58 +0200)]
[SystemInfo] Throwing NOT_SUPPORTED_ERR added

[Verification] TCT SystemInfo passed 100% (TM1, TW1, TV)
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Change-Id: I30f56f7539be3baa59ec68fe75c357b4b26080e5

7 years agoRevert "Merge "[SystemInfo] Throwing NOT_SUPPORTED_ERR added" into tizen_3.0" 57/130857/1
Piotr Kosko [Wed, 24 May 2017 07:28:31 +0000 (09:28 +0200)]
Revert "Merge "[SystemInfo] Throwing NOT_SUPPORTED_ERR added" into tizen_3.0"

This reverts commit 419840dd69b04b96c04d7e1eadc0b00638416d2b, reversing
changes made to 1bd2aeb95e97cded73f308ec47daaf845eb2ab07.

Change-Id: I1ce726dccc97afd5d5d2423e85a053db4bedbd50

7 years ago[Iotcon] fix for iotcon, pass information about representation 27/130827/1
Lukasz Bardeli [Wed, 24 May 2017 06:14:00 +0000 (08:14 +0200)]
[Iotcon] fix for iotcon, pass information about representation

[verification] Code compiles without error
               Passrate 1 run 1 block, second run 100%

Change-Id: I2cfc09dd6244a2664dc901ba6ecc3bd151574f60
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
7 years agoMerge "[SystemInfo] Throwing NOT_SUPPORTED_ERR added" into tizen_3.0
Piotr Kosko [Wed, 24 May 2017 05:58:58 +0000 (05:58 +0000)]
Merge "[SystemInfo] Throwing NOT_SUPPORTED_ERR added" into tizen_3.0

7 years ago[Power] Calling "lockstate_nopt" instead of "lockstate" 03/130403/1 accepted/tizen/unified/20170522.190625 submit/tizen/20170522.103041
Szymon Jastrzebski [Mon, 22 May 2017 07:54:39 +0000 (09:54 +0200)]
[Power] Calling "lockstate_nopt" instead of "lockstate"

Since Tizen 4.0 dbus method "lockstate" requires privilege,
thus from now, we call method "lockstate_nopt".

[Verification] Power TCT (M/A) passed 100%

Change-Id: I1b39a250dbef21573bf96a008baaa71da6ba99d2
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
7 years ago[SystemInfo] Throwing NOT_SUPPORTED_ERR added 44/127744/5
Szymon Jastrzebski [Fri, 19 May 2017 10:58:22 +0000 (12:58 +0200)]
[SystemInfo] Throwing NOT_SUPPORTED_ERR added

[Verification] TCT SystemInfo passed 100% (TM1, TW1, TV)
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Change-Id: I18753fcf052b954dd3f88839db58616b137bfd3b

7 years ago[Filesystem] Add validation of decoded UTF-8 characters 95/130095/1
Pawel Wasowski [Thu, 18 May 2017 09:50:31 +0000 (11:50 +0200)]
[Filesystem] Add validation of decoded UTF-8 characters

_utf8_decode function used to throw a RangeError exception, when an
invalid UTF-8 sequence was converted to a Unicode code point.

Byte sequences, invalid in terms of UTF-8, are now substituted with
an Unicode replacement character.

[Verification] TCT tct-filesystem-tizen-tests and tct-file-cordova-tests
               pass rate on a Z400 mobile device is 100%.
               Decoding was tested manually against numerous problematic
               byte sequences.

Change-Id: If8aefd3434a1b96ead11e36a1db1ddee4f2c3904
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
(cherry picked from commit 3c44b8fe425f22c41bea2c54ce04de60e29135e4)

7 years ago[Filesystem] Add validation of decoded UTF-8 characters 70/129970/1
Pawel Wasowski [Thu, 18 May 2017 09:50:31 +0000 (11:50 +0200)]
[Filesystem] Add validation of decoded UTF-8 characters

_utf8_decode function used to throw a RangeError exception, when an
invalid UTF-8 sequence was converted to a Unicode code point.

Byte sequences, invalid in terms of UTF-8, are now substituted with
an Unicode replacement character.

[Verification] TCT tct-filesystem-tizen-tests and tct-file-cordova-tests
               pass rate on a Z400 mobile device is 100%.
               Decoding was tested manually against numerous problematic
               byte sequences.

Change-Id: If8aefd3434a1b96ead11e36a1db1ddee4f2c3904
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
7 years agoMerge "[Feedback] Error codes adjusted to the documentation." into tizen
Piotr Kosko [Thu, 18 May 2017 10:30:57 +0000 (10:30 +0000)]
Merge "[Feedback] Error codes adjusted to the documentation." into tizen

7 years ago[Feedback] Error codes adjusted to the documentation. 20/129920/1
Tomasz Marciniak [Thu, 18 May 2017 08:37:21 +0000 (10:37 +0200)]
[Feedback] Error codes adjusted to the documentation.

[Verification] Code compiles.
TCT pass rate 100% (TW1)

Change-Id: I38fc1ad18b445253c0e87366c6c2841ebd54f13e
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
7 years ago[Feedback] Error codes adjusted to the documentation. 77/129877/1
Tomasz Marciniak [Thu, 18 May 2017 08:37:21 +0000 (10:37 +0200)]
[Feedback] Error codes adjusted to the documentation.

[Verification] Code compiles.
TCT pass rate 100% (TW1)

Change-Id: I38fc1ad18b445253c0e87366c6c2841ebd54f13e
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 47/129647/1 accepted/tizen/unified/20170518.061218 submit/tizen/20170517.101800
Piotr Kosko [Wed, 17 May 2017 08:55:34 +0000 (10:55 +0200)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I2b7b0295b943f1e98fd66f9b530501bdf897ea5c

7 years ago[version] 1.83 46/129646/1 accepted/tizen/3.0/common/20170519.185901 accepted/tizen/3.0/ivi/20170519.065935 accepted/tizen/3.0/mobile/20170519.065926 accepted/tizen/3.0/tv/20170519.065929 accepted/tizen/3.0/wearable/20170519.065932 submit/tizen_3.0/20170517.100934
Piotr Kosko [Wed, 17 May 2017 08:53:56 +0000 (10:53 +0200)]
[version] 1.83

Change-Id: Ib1ddf07b8fc019d0145271fa6728f674060f3073

7 years ago[Spec] fix for common profile 67/129167/1
Lukasz Bardeli [Mon, 15 May 2017 08:17:36 +0000 (10:17 +0200)]
[Spec] fix for common profile

[Verification] Code compiles without error

Change-Id: Id05a564ba6cba2a2431990fac1f70cf9f25283e1
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
7 years agoMerge "Merge branch 'tizen_3.0' into tizen" into tizen accepted/tizen/unified/20170512.170106 submit/tizen/20170512.112145
Piotr Kosko [Fri, 12 May 2017 09:57:14 +0000 (09:57 +0000)]
Merge "Merge branch 'tizen_3.0' into tizen" into tizen

7 years agoMerge branch 'tizen_3.0' into tizen 01/129001/1
Piotr Kosko [Fri, 12 May 2017 09:46:35 +0000 (11:46 +0200)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I3e73fa96331002393ccfdcfbdb2e97ee23b1993e

7 years agoMerge "[Filesystem] SVACE issue fix" into tizen_3.0 accepted/tizen/3.0/common/20170515.150258 accepted/tizen/3.0/ivi/20170515.064334 accepted/tizen/3.0/mobile/20170515.064326 accepted/tizen/3.0/tv/20170515.064329 accepted/tizen/3.0/wearable/20170515.064331 submit/tizen_3.0/20170512.112122
Lukasz Bardeli [Fri, 12 May 2017 07:20:36 +0000 (07:20 +0000)]
Merge "[Filesystem] SVACE issue fix" into tizen_3.0