Piotr Kosko [Thu, 24 Aug 2017 10:03:13 +0000 (12:03 +0200)]
[Alarm] Changed behaviour of AlarmNotification
[Feature] addAlarmNotification can use both Status* and UserNotification
getAlarmNotification creates UserNotification object.
[Verification] Code compiles without errors.
Checked in Chrome console.
Alarm TCTs - 97.10% (two tests need to be changed
Change-Id: I52c172f4a1c3068b105445ae7ee7c8aeb49df9bc
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Mon, 21 Aug 2017 10:56:24 +0000 (12:56 +0200)]
Merge branch 'tizen_3.0' into tizen
Change-Id: I08b78656520b988f0860e48fdae911a83a0c649b
Piotr Kosko [Mon, 21 Aug 2017 10:30:13 +0000 (12:30 +0200)]
[version] 1.98
Change-Id: I751ce338fdcce6ab1de120b31b427cbbad065b34
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Szymon Jastrzebski [Mon, 21 Aug 2017 09:35:52 +0000 (11:35 +0200)]
[Sensor] Fixing DefaultEventComparator
Comparator DefaultEventComparator should iterate through
all received values. It should NOT compare timestamps.
The amount of received values depend on the type of used
sensor. The sensor_value_count_ values are taken from
Native Sensor's Guides.
[Verification] Code compiles. TCT (TW1) passed 100%.
Change-Id: I60d5af338a7feea2dd4fb40cdff0f6bd03f8d650
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Piotr Kosko [Mon, 21 Aug 2017 08:11:07 +0000 (08:11 +0000)]
Merge "[Notification] Return UserNotification object from template" into tizen
Piotr Kosko [Mon, 21 Aug 2017 08:10:49 +0000 (08:10 +0000)]
Merge "[Notification] Added validation for JS UserNotification" into tizen
Piotr Kosko [Mon, 21 Aug 2017 06:16:38 +0000 (06:16 +0000)]
Merge "[Sensor] Fix for HRM Sensor" into tizen_3.0
Piotr Kosko [Mon, 21 Aug 2017 06:02:28 +0000 (06:02 +0000)]
Merge "[Application] Fixing type of returned objects" into tizen
Piotr Kosko [Mon, 21 Aug 2017 05:48:59 +0000 (05:48 +0000)]
Merge "[Sensor] Fix for HRM Sensor Change Listener" into tizen_3.0
Piotr Kosko [Fri, 18 Aug 2017 10:22:03 +0000 (10:22 +0000)]
Merge "[Convergence] Change to not support convergence feature." into tizen
Segwon [Wed, 16 Aug 2017 02:56:49 +0000 (11:56 +0900)]
[Convergence] Change to not support convergence feature.
The native API is being refactored now.
Till the refactoring is not finished, webapi module should be disabled.
Signed-off-by: Segwon <segwon.han@samsung.com>
Change-Id: I0db5b10a4193b9abf28f9ec029d7aefc51f55a69
Tomasz Marciniak [Thu, 17 Aug 2017 12:22:08 +0000 (14:22 +0200)]
Merge branch 'tizen_3.0' into tizen
Change-Id: I27b8621529496367f226110e441b91cd81eb1a3e
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Tomasz Marciniak [Thu, 17 Aug 2017 12:17:20 +0000 (14:17 +0200)]
[version 1.97]
Change-Id: I84d1035105246be61f76dc052f626c52fc83faa3
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Lukasz Bardeli [Thu, 17 Aug 2017 12:12:55 +0000 (12:12 +0000)]
Merge "[Filesystem] Fix for moving files on different file systems" into tizen_3.0
Tomasz Marciniak [Wed, 16 Aug 2017 12:39:52 +0000 (14:39 +0200)]
[Filesystem] Fix for moving files on different file systems
[Verification] Code compiles. Now files can be moved
between different mounted file systems.
TCT pass rate 100% (286/286/0/0/0)
Change-Id: I5b70bc96f14a53bcebd2b2db3f12748949aab410
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Szymon Jastrzebski [Thu, 17 Aug 2017 07:00:14 +0000 (09:00 +0200)]
[Sensor] Fix for HRM Sensor Change Listener
An exception was thrown when trying to call 'tryCall' with data received
from C++ layer, making it not possible to set listener for HRM Sensor.
sensorType string starts with 'LED_' but there are no any sensor in
_sensorListeners object.
[Verification] Sensor TCT passed 100% (TW1).
Change-Id: I1b4ffe6ac754c6c407ebafea94b1eda48b59844d
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Szymon Jastrzebski [Thu, 17 Aug 2017 07:05:15 +0000 (09:05 +0200)]
[Sensor] Fix for HRM Sensor
Currently, successCallback nor errorCallback functions are invoked after
calling start() method for HRM sensor. This occurs only on platforms
that do not support HRM sensor.
Thus, it's better to invoke errorCallback in above case instead of
successCallback.
[Verification] Code compiles, TCT 100% pass rate (TM1, TW1), except
emulators, which do not support HRM sensor.
Sensor startSuccessCallbacks are invoked after
receiving an event from sensors.
Change-Id: I6484b44fd66f966c72b29fbc277b14f9006ca205
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Lukasz Bardeli [Wed, 16 Aug 2017 10:19:42 +0000 (12:19 +0200)]
Merge branch 'tizen_3.0' into tizen
Change-Id: I627511d63cec70f864317fe576ec40c55ddc0edd
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Lukasz Bardeli [Wed, 16 Aug 2017 10:13:47 +0000 (12:13 +0200)]
[version] 1.96
Change-Id: I245b3ee789170f473b94addb7b305144f6d17e9c
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Szymon Jastrzebski [Wed, 16 Aug 2017 09:06:03 +0000 (11:06 +0200)]
Revert "[Utils] Fix privilege bypass, StringCopy function"
This reverts commit
3b71b0bac5e1bb09c50c97168dba1619b3ed40d6.
Change-Id: I2e8c2480e2fa3632853ef35d7a457ffed19ae7ce
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Lukasz Bardeli [Fri, 11 Aug 2017 11:59:15 +0000 (11:59 +0000)]
Merge "[DataControl] Add addChangeListener and removeChangeListener implementation" into tizen
Lukasz Bardeli [Fri, 11 Aug 2017 11:59:01 +0000 (11:59 +0000)]
Merge "[Application] Implementation for getAppsUsageInfo method" into tizen
Lukasz Bardeli [Fri, 11 Aug 2017 11:45:05 +0000 (13:45 +0200)]
[DataControl] Add addChangeListener and removeChangeListener implementation
[Verification] Code compiles without error
Change-Id: Ifd05e4a4746e64500d4336e1c5598159194c5a6e
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
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>
Tomasz Marciniak [Thu, 10 Aug 2017 11:05:29 +0000 (13:05 +0200)]
Merge branch 'tizen_3.0' into tizen
Change-Id: Ia5808f481ec1441a324a73a975c49f13cee37020
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Tomasz Marciniak [Thu, 10 Aug 2017 11:01:13 +0000 (13:01 +0200)]
[version] 1.95
Change-Id: I2da7ee4bcf674c0e740473b0c58d03af1e47e50e
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Tomasz Marciniak [Thu, 10 Aug 2017 08:26:32 +0000 (10:26 +0200)]
[Systeminfo] Get status and mac address if WiFi is off
[Feature] Status and mac address of the WiFi interface
were retrieved only if device was connected to some AP.
Now they are retrieved always.
[Verification] Code compiles. TCT pass rate 100%
Change-Id: Ia16d22f204a71d4084e13ce5ab647b60c7acee60
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Szymon Jastrzebski [Thu, 10 Aug 2017 08:58:27 +0000 (10:58 +0200)]
[Application] Fixing type of returned objects
The method getBatteryUsageInfo should provide objects of type
ApplicationBatteryUsage, not simply Object.
Change-Id: I8371464bf55e3c18fba63bebd050d57521efcd12
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Lukasz Bardeli [Wed, 9 Aug 2017 09:06:50 +0000 (11:06 +0200)]
Merge branch 'tizen_3.0' into tizen
Change-Id: I3ef80b52af4eb63c41db4a46a5e2c413e966e015
Lukasz Bardeli [Wed, 9 Aug 2017 08:47:39 +0000 (10:47 +0200)]
[version] 1.94
Change-Id: I753bfbe604e766f46a55ef671900d178bf47227f
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Lukasz Bardeli [Wed, 9 Aug 2017 08:34:45 +0000 (08:34 +0000)]
Merge "[Sensor] Delay invokation of successCallback in start() method" into tizen_3.0
Lukasz Bardeli [Wed, 9 Aug 2017 07:30:00 +0000 (07:30 +0000)]
Merge "[Application] Refactoring getBatteryUsageInfo method into async method" into tizen
Lukasz Bardeli [Wed, 9 Aug 2017 07:29:31 +0000 (07:29 +0000)]
Merge "[Application] Refactoring GetBatteryUsageInfo method" into tizen
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>
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>
Tomasz Marciniak [Mon, 7 Aug 2017 12:58:54 +0000 (14:58 +0200)]
[Notification] Return UserNotification object from template
[Verification] Code compiles.
Change-Id: Id5c1ac3ad87e12790707c24298f77724f9f3eaa7
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Szymon Jastrzebski [Tue, 8 Aug 2017 11:16:03 +0000 (13:16 +0200)]
[Sensor] Delay invokation of successCallback in start() method
It is not guaranted that after calling successCallback,
user will be able to receive instantly sensor data values
by calling get<sensor>SensorData methods.
Thus, we need to delay invokation of successCallback
to make sure that there will not be timing issues.
Now, successCallback will be called after receiving the first
sensor event. The callback is used once, every time sensor
is started.
[Requester] ethan.jeong@samsung.com
[Verification] TCT Sensor passed 100%.
Change-Id: I5a8ebc9b851d26a35189258b13dacec0ae17149c
Piotr Kosko [Tue, 1 Aug 2017 11:57:01 +0000 (13:57 +0200)]
[Notification] Added validation for JS UserNotification
[Feature] Added validation of members of UserNotification object
Invalid values are replaced with default ones.
[Verification] TCT passrate didn't change.
Checked in chrome console for several invalid values, seems working well.
Change-Id: Id67026153c548a818c6fb35437adb9424b11ad09
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Lukasz Bardeli [Mon, 7 Aug 2017 06:52:53 +0000 (06:52 +0000)]
Merge "[NFC] Implementation for NFC preferred application" into tizen
Szymon Jastrzebski [Thu, 3 Aug 2017 13:31:21 +0000 (15:31 +0200)]
[Sensor] Fixing setChangeListener method
According to the documentation parameter 'batchLatency'
in setChangeListener method should only be optional,
not nullable.
[Verification] TCT passed 100%.
Change-Id: I811dedb1e8779cc6fbb8e21310577d8b9979111c
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Lukasz Bardeli [Wed, 2 Aug 2017 08:29:53 +0000 (10:29 +0200)]
Merge branch 'tizen_3.0' into tizen
Change-Id: I6cb725dc57b234ae1817545c73032de64677cd0f
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>
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>
Lukasz Bardeli [Mon, 31 Jul 2017 12:21:34 +0000 (12:21 +0000)]
Merge "[Notification] Set*FromJson 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
Lukasz Bardeli [Mon, 31 Jul 2017 12:21:05 +0000 (12:21 +0000)]
Merge "[Notification] skeleton for FromJson and ToJson methods" into tizen
Lukasz Bardeli [Mon, 31 Jul 2017 12:20:50 +0000 (12:20 +0000)]
Merge "[Notification] added C++ 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
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>
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>
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>
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>
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>
Piotr Kosko [Fri, 21 Jul 2017 11:52:29 +0000 (13:52 +0200)]
Merge branch 'tizen_3.0' into tizen
Change-Id: Idbc1f99c62d8d9ba2e43b3732142284737b755f3
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>
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>
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
Piotr Kosko [Fri, 21 Jul 2017 06:20:13 +0000 (06:20 +0000)]
Merge "[version] 1.92" into tizen
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>
Piotr Kosko [Thu, 20 Jul 2017 14:03:31 +0000 (14:03 +0000)]
Merge "[spec][sensor]Enabling sensor support for TW2 emul" into tizen
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>
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
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
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
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>
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>
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>
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>
Lukasz Bardeli [Wed, 19 Jul 2017 07:57:08 +0000 (09:57 +0200)]
Merge branch 'tizen_3.0' into tizen
Change-Id: I5d4245b4f62c0802e9d73397df97d097683d05b9
Lukasz Bardeli [Wed, 19 Jul 2017 07:07:36 +0000 (09:07 +0200)]
[version] 1.91
Change-Id: I253cb2dfb07843f3a46694eba5a69719d6006450
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>
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
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
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>
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>
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>
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>
Piotr Kosko [Wed, 12 Jul 2017 09:41:18 +0000 (11:41 +0200)]
Merge branch 'tizen_3.0' into tizen
Change-Id: Ie257aa60a47ad602754cef3ce68590795c71e258
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>
Piotr Kosko [Tue, 11 Jul 2017 10:54:26 +0000 (10:54 +0000)]
Merge "[FMRadio] Fixing memory leak" into tizen_3.0
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
Piotr Kosko [Tue, 11 Jul 2017 10:17:25 +0000 (10:17 +0000)]
Merge "[Bluetooth] Fixing memory leak" into tizen_3.0
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>
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>
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
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>
Lukasz Bardeli [Wed, 5 Jul 2017 09:25:52 +0000 (09:25 +0000)]
Merge "[Filesystem, Archive] Remove deprecated function" into tizen
Piotr Kosko [Wed, 5 Jul 2017 07:11:24 +0000 (09:11 +0200)]
Merge branch 'tizen_3.0' into tizen
Change-Id: If294b49e1c218d77cd02c7701184dbc48c6fb8c8
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>
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>
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>
Piotr Kosko [Wed, 28 Jun 2017 06:56:39 +0000 (08:56 +0200)]
Merge branch 'tizen_3.0' into tizen
Change-Id: I760ff213dc53919d95f68dfa8de503505ce1a932
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>
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
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>
Piotr Kosko [Wed, 14 Jun 2017 05:59:02 +0000 (07:59 +0200)]
Merge branch 'tizen_3.0' into tizen
Change-Id: I84386ce3a6d69a97e8e5f427e39d8212cc7df212
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>
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>
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)
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>