Szymon Jastrzebski [Thu, 22 Feb 2018 11:55:36 +0000 (12:55 +0100)]
[NFC] Fix for casting signed value to unsigned int
SVACE ID #310366
[Verification] TW2 NFC M&A TCT pass rate 100%.
Change-Id: Id329ba99d1ae62c6380c672dc3a06d2cd581011b
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Piotr Kosko [Wed, 21 Feb 2018 13:32:23 +0000 (13:32 +0000)]
Merge "[Systeminfo] Prevention for unnecessary double mutex-locking" into tizen
Piotr Kosko [Wed, 21 Feb 2018 06:58:18 +0000 (06:58 +0000)]
Merge "[MessagePort] Removing unreachable and optimizing code" into tizen
Piotr Kosko [Wed, 21 Feb 2018 06:31:54 +0000 (06:31 +0000)]
Merge "[Power] Refactoring module" into tizen
Szymon Jastrzebski [Tue, 20 Feb 2018 09:58:55 +0000 (10:58 +0100)]
[MessagePort] Removing unreachable and optimizing code
SVACE ids: #312935, #312936.
[Verification] MessagePort TCT 100% pass rate.
Change-Id: I1e17e53cef6fa7a5557485e01375c787b8f8c6d7
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Szymon Jastrzebski [Tue, 20 Feb 2018 14:09:48 +0000 (15:09 +0100)]
[Systeminfo] Prevention for unnecessary double mutex-locking
The mutex locking may hang the application if all getters fail.
[Verification] Systeminfo TCT 100% pass rate + manually tested in console.
Change-Id: I270c6f5a5cb40f3975104476aa4e7de3179e0e64
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Piotr Kosko [Tue, 20 Feb 2018 14:33:01 +0000 (14:33 +0000)]
Merge "[Package] refactor module" into tizen
Lukasz Bardeli [Tue, 20 Feb 2018 08:54:28 +0000 (09:54 +0100)]
[Package] refactor module
Remove setMessageListener from package_api.js and start using from utils_api.js
[Verification] Code compiles without error. TCT passrate 100%
Change-Id: I5e5f96a4a836dd85e11c3989233092407d681d28
Szymon Jastrzebski [Tue, 10 Oct 2017 06:56:25 +0000 (08:56 +0200)]
[Power] Refactoring module
Previous implementation depended partly on Deviced functions through the
dbus interface. Currently, the implementation uses only DeviceD Native API
(except the ReleaseBrightness and SetBrightness methods).
TheReleaseBrightness is still not wrapped into the Native C DeviceD API).
[Verification] TCT pass: A/M - 100%.
Change-Id: I03124c0d332bf03cd5481ac2b38c9e5c9a534063
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Piotr Kosko [Wed, 7 Feb 2018 08:45:44 +0000 (08:45 +0000)]
Merge "[Contact] photoURI attribute of Person object is now readonly" into tizen
Piotr Kosko [Tue, 6 Feb 2018 09:57:25 +0000 (09:57 +0000)]
Merge "[Exif] Fix exception throwing constructor" into tizen
Pawel Kaczmarczyk [Thu, 1 Feb 2018 12:43:25 +0000 (13:43 +0100)]
[Exif] Fix exception throwing constructor
Invalid values error could be thrown by ExifInformation constructor.
[Verification] tct-exif-tizen-tests passrate: 100%
Change-Id: Icee96c47faa4c8327b8dec9c9509bd9a53720e15
Signed-off-by: Pawel Kaczmarczyk <p.kaczmarczy@samsung.com>
Piotr Kosko [Mon, 5 Feb 2018 07:03:27 +0000 (08:03 +0100)]
Merge branch 'tizen_4.0' into tizen
Change-Id: I688196f478770706efdf5843ed34c6524f11a848
Piotr Kosko [Mon, 5 Feb 2018 06:57:27 +0000 (07:57 +0100)]
Merge branch 'tizen_3.0' into tizen_4.0
Change-Id: I341501004603b29f58f41320ab1093f09f039af6
Piotr Kosko [Mon, 5 Feb 2018 06:49:29 +0000 (07:49 +0100)]
[version] 2.16
Change-Id: I7316b54e3c6ab3fe41b5e2e1ac6e4b1a9e7dfa35
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Mon, 5 Feb 2018 06:10:16 +0000 (06:10 +0000)]
Merge "[Bluetooth] Fixing undefined behaviour during cast" into tizen_3.0
Michal Bistyga [Fri, 2 Feb 2018 15:09:33 +0000 (16:09 +0100)]
[NFC] Fixing undefined behaviour during static_cast to unsigned char
Validation:
Automatic tests 100% pass rate
TODO manual tests
Change-Id: I9c15efc77c82f0f7e4019913b2bd02d0f8047bb1
Signed-off-by: Michal Bistyga <m.bistyga@samsung.com>
Michal Bistyga [Fri, 2 Feb 2018 11:37:08 +0000 (12:37 +0100)]
[Bluetooth] Fixing undefined behaviour during cast
Char is unsigned by default on ARM architecture. static_cast from double to unsigned char is undefined behaviour and complier overwritten any negative value with 0.
[Validation]
tests 100% pass rate
Change-Id: Iec39a3c17b18ec7aa4f020fe5de709d66fa426fd
Signed-off-by: Michal Bistyga <m.bistyga@samsung.com>
Szymon Jastrzebski [Mon, 15 Jan 2018 08:19:22 +0000 (09:19 +0100)]
[Common] Adding macro to check file access
[Verification] The macro works as intended on applications with required
version 4.0 and 5.0.
Change-Id: I2d530cd6c2447616bb963fb3640bd16b8b1b8fd9
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Szymon Jastrzebski [Mon, 29 Jan 2018 08:01:41 +0000 (09:01 +0100)]
[Contact] photoURI attribute of Person object is now readonly
[Verification] 1 tc fails, DPTTIZEN needs to be requested
Change-Id: I038662501bdc5b0409945e3da4a65bab961a4e60
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Piotr Kosko [Fri, 26 Jan 2018 10:10:36 +0000 (11:10 +0100)]
Merge branch 'tizen_3.0' into tizen_4.0
Conflicts:
src/download/download_instance.cc
Change-Id: I58ad10dac86b0a93074499fc839b30dd365b0f59
Piotr Kosko [Fri, 26 Jan 2018 10:04:18 +0000 (11:04 +0100)]
[version] 2.15
- version increased
- fixed minor style issue
Change-Id: I70a371ce7e6834bf73c413e19de37111168c9147
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Lukasz Bardeli [Fri, 26 Jan 2018 09:37:21 +0000 (10:37 +0100)]
[Download] refactoring module
Remove setMessageListener from download_api.js and start using from utils_api.js
Remove method declarations from .cc file getDownloadRequest and setListener
Variable name changes
Delete element from callbacks after finished, cancel or failed download
[Verification] Code compiles without error. TCT passrate 100%
Change-Id: Idcca394f4ec6bda7ea3097248a9c900b2a542f7a
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Piotr Kosko [Fri, 26 Jan 2018 09:01:47 +0000 (09:01 +0000)]
Merge "[Utils] Fix Long conversion (allow hex string value)" into tizen_3.0
Jakub Skowron [Wed, 17 Jan 2018 13:27:09 +0000 (14:27 +0100)]
[Utils] Fix Long conversion (allow hex string value)
Until now string "0x15" would be converted 0. This change affects
all numeric conversions which use _toLong.
According to https://www.w3.org/TR/WebIDL-1/#es-long value
should be initialized by ToNumber, which is defined in
https://tc39.github.io/ecma262/#sec-tonumber-applied-to-the-string-type
and allows value to be in form of HexIntegerLiteral.
Change-Id: Ib719ce8fd5beccc5947b761dc905c49ac0469490
Jakub Skowron [Tue, 23 Jan 2018 12:19:10 +0000 (13:19 +0100)]
[Filesystem] Add support for ISO-8859-1
Latin-1 encoding in FileReadString and FileWriteString
Change-Id: I2cd7942481619989891c3019d3f7d4325b962892
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
Piotr Kosko [Fri, 26 Jan 2018 06:21:20 +0000 (06:21 +0000)]
Merge "[Filesystem] Remove special case for zero in readBytes/writeBytes" into tizen_4.0
Piotr Kosko [Fri, 26 Jan 2018 06:18:08 +0000 (06:18 +0000)]
Merge "[Download] Fix preventing crash. Prevent call callback twice" into tizen_4.0
Lukasz Bardeli [Thu, 25 Jan 2018 10:53:43 +0000 (11:53 +0100)]
[Download] Fix preventing crash. Prevent call callback twice
Add condition to prevent call some callback twice and modify body of methods
OnFinished, OnCanceled and OnFailed to prevent crash.
[Verification] Code compiles without error. TCT passrate 100%
Change-Id: I7d194b4d762a52f0281e22555bfd54caa3cb4579
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Lukasz Bardeli [Thu, 25 Jan 2018 10:53:43 +0000 (11:53 +0100)]
[Download] Fix preventing crash. Prevent call callback twice
Add condition to prevent call some callback twice and modify body of methods
OnFinished, OnCanceled and OnFailed to prevent crash.
[Verification] Code compiles without error. TCT passrate 100%
Change-Id: I7d194b4d762a52f0281e22555bfd54caa3cb4579
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Piotr Kosko [Thu, 25 Jan 2018 10:19:16 +0000 (10:19 +0000)]
Merge "[Application] Removing useless comment" into tizen
Piotr Kosko [Thu, 25 Jan 2018 10:15:55 +0000 (10:15 +0000)]
Merge "[Common] Improve performance of picojson::serialize_str" into tizen_4.0
Rafal Walczyna [Thu, 25 Jan 2018 09:01:43 +0000 (10:01 +0100)]
[humanactivitymonitor] Fix crash when WRIST_UP event was called
[Verification] Tested with custom app - event fires properly
Auto test on TW2 - 100% passrate
Change-Id: I762a2a0950c4b17333f78b11eb320680f8ec1128
Signed-off-by: Rafal Walczyna <r.walczyna@partner.samsung.com>
Jakub Skowron [Wed, 24 Jan 2018 08:44:34 +0000 (09:44 +0100)]
[Filesystem] Remove special case for zero in readBytes/writeBytes
Null character in Unicode sequence is correctly interpreted
by picojson and crosswalk, so remove mapping 0 to 0x100.
Change-Id: I61988a1089ecdab006ce5cc2492960d526fb9455
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
Jakub Skowron [Fri, 19 Jan 2018 11:00:53 +0000 (12:00 +0100)]
[Common] Remove unused member and parameters from ScopeLogger
Change-Id: I1ce2a5747c31e7a751f75005b0574e983e860fb1
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
Jakub Skowron [Tue, 23 Jan 2018 10:29:48 +0000 (11:29 +0100)]
[Common] Improve performance of picojson::serialize_str
Remove snprintf by mapping all C0 control characters
in a static array.
Change-Id: I3c801551845523b8c33d74426cdddc30103d426d
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
Piotr Kosko [Tue, 23 Jan 2018 08:39:18 +0000 (09:39 +0100)]
[Sound] Using new native API
[Feature] Old native API was removed with ACR-1128, so there is need to use
new API instead.
[Verification] TCT passrate 100%
Change-Id: I9cd4343294f10a7d56fea597adda0cf1153d1300
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Tue, 23 Jan 2018 07:04:57 +0000 (08:04 +0100)]
Merge branch 'tizen_4.0' into tizen
Change-Id: Icf932b14b5aecf7a4e381a464f4fb5a81f64e6fc
Piotr Kosko [Thu, 18 Jan 2018 12:35:15 +0000 (13:35 +0100)]
Merge branch 'tizen_3.0' into tizen_4.0
Conflicts:
src/filesystem/filesystem_file.cc
Change-Id: I0360e670aefd456dd14b93948c1f2e3e4640e88e
Piotr Kosko [Thu, 18 Jan 2018 12:32:21 +0000 (13:32 +0100)]
[version] 2.14
Change-Id: I7b9924c14471bce00e2e5eaf607080c869ad92b1
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Thu, 18 Jan 2018 11:45:51 +0000 (11:45 +0000)]
Merge "[Filesystem] Remove unused Base64 and UTF-8 functions" into tizen_3.0
Piotr Kosko [Thu, 18 Jan 2018 11:45:14 +0000 (11:45 +0000)]
Merge "[Filesystem] Speed up conversion to octet in writeBytes" into tizen_3.0
Piotr Kosko [Thu, 18 Jan 2018 11:44:56 +0000 (11:44 +0000)]
Merge "[Filesystem] Write file performace improvement (binary data through UTF-8)" into tizen_3.0
Piotr Kosko [Thu, 18 Jan 2018 11:44:07 +0000 (11:44 +0000)]
Merge "[Filesystem] Read file performace improvement (binary data through UTF-8)" into tizen_3.0
Szymon Jastrzebski [Mon, 15 Jan 2018 11:57:52 +0000 (12:57 +0100)]
[Application] Removing useless comment
The Context-History related features are available on Mobile&Wearables.
Change-Id: I1c232b55e80760dbbe08b8b69be2121e9cd000b4
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Jakub Skowron [Wed, 17 Jan 2018 16:04:49 +0000 (17:04 +0100)]
[Filesystem] Remove unused Base64 and UTF-8 functions
removed: encodeString, decode, decodeString, getCodePoint,
_utf8_encode, _utf8_decode
Change-Id: I269cd71eb252e2f6ea9b266a50acde3f769db50e
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
Jakub Skowron [Wed, 17 Jan 2018 14:43:31 +0000 (15:43 +0100)]
[Filesystem] Speed up conversion to octet in writeBytes
Do not use validateArgs to validate each value in array
Change-Id: I9ac59f59187c7f57a0213778d0f2552cb9de4538
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
Jakub Skowron [Wed, 17 Jan 2018 12:46:16 +0000 (13:46 +0100)]
[Filesystem] Write file performace improvement (binary data through UTF-8)
Improve performance of write, writeBytes, writeBase64 by
pushing binary data through UTF-8 null-terminated string.
Byte 0x00 is encoded as U+0100.
Removed class FilesystemFile.
[Verification] TCT pass rate is 100%
tct-filesystem-tizen-tests
Change-Id: Iee5983a429ed484eb0fd6a6d35ea794d292de8de
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
Jakub Skowron [Wed, 10 Jan 2018 06:54:35 +0000 (07:54 +0100)]
[Filesystem] Read file performace improvement (binary data through UTF-8)
Improve performance of readBytes, readBase64 by pushing binary data
through UTF-8 null-terminated string.
Byte 0x00 is encoded as U+0100.
Removed not used functions in FilesystemFile. Improved performance of
readAsText.
[Verification] TCT pass rate is 100%
tct-filesystem-tizen-tests
Change-Id: I41fe2f9c7855721b38ad4bbf268e8eb7851b10eb
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
Rafal Walczyna [Wed, 17 Jan 2018 13:43:45 +0000 (14:43 +0100)]
[humanactivitymonitor] Fix timestamp in HumanActivityRecognitionData
[Verification] auto and manual tests which use this data pass
Change-Id: I8f174925147c561cfcf22590cc5d4b5abbbba506
Signed-off-by: Rafal Walczyna <r.walczyna@partner.samsung.com>
(cherry picked from commit
f3123977c14bad5410ee36b520f07c4061d4fc3a)
Piotr Kosko [Wed, 17 Jan 2018 13:51:07 +0000 (13:51 +0000)]
Merge "[humanactivitymonitor] Fix timestamp in HumanActivityRecognitionData" into tizen_4.0
Piotr Kosko [Wed, 17 Jan 2018 11:52:50 +0000 (12:52 +0100)]
[HAM] Added missing conversion of alwaysOn parameter
[Verification] TCT passrate on Solis binary increased, some TCT issues left,
but webapi code seems to be valid now.
Change-Id: I7f5e1cd4ff7ea8f3a9f141f46794afc3a4789f06
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Rafal Walczyna [Wed, 17 Jan 2018 13:43:45 +0000 (14:43 +0100)]
[humanactivitymonitor] Fix timestamp in HumanActivityRecognitionData
[Verification] auto and manual tests which use this data pass
Change-Id: I8f174925147c561cfcf22590cc5d4b5abbbba506
Signed-off-by: Rafal Walczyna <r.walczyna@partner.samsung.com>
Piotr Kosko [Tue, 16 Jan 2018 09:48:26 +0000 (10:48 +0100)]
Merge branch 'tizen_3.0' into tizen_4.0
Conflicts:
src/filesystem/filesystem_instance.cc
src/filesystem/js/file.js
Change-Id: I355ce9bb6d27d1990267994f0cfec5c7eaa07792
Piotr Kosko [Tue, 16 Jan 2018 09:38:34 +0000 (10:38 +0100)]
[version] 2.13
Code format was also fixed
Change-Id: Iae0d214d3caeeb67cdbfe1938718863d70a15789
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Tue, 16 Jan 2018 09:02:37 +0000 (09:02 +0000)]
Merge "[Archive] Fix for retrieving virtual roots" into tizen
Piotr Kosko [Mon, 15 Jan 2018 09:51:03 +0000 (10:51 +0100)]
Merge branch 'tizen_4.0' into tizen
Change-Id: Ifdbc9dc1034e82a33cef52fffc1656cd91920da7
Piotr Kosko [Mon, 15 Jan 2018 09:47:41 +0000 (09:47 +0000)]
Merge "[Alarm] Delete (add/get)AlarmNotification from tv, common and ivi profiles" into tizen_4.0
Szymon Jastrzebski [Fri, 12 Jan 2018 10:07:53 +0000 (11:07 +0100)]
[Archive] Fix for retrieving virtual roots
Current implmentation gets only internal virtual roots. This change adds
getting external roots as well.
[Verification] TCT Archive passed with 100% p.r.
Change-Id: Ia961dd276901ed31d42b22d93148d51066276163
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Piotr Kosko [Thu, 11 Jan 2018 08:23:10 +0000 (08:23 +0000)]
Merge "[NFC] Fix for passing wrong values to APDU response" into tizen_3.0
Arkadiusz Pietraszek [Mon, 8 Jan 2018 15:52:30 +0000 (16:52 +0100)]
[Filesystem] Fix to commit
50ec63f0b8 to read 64 Kb and greater files
[Verification] TCT pass rate is 100%
Automated tests has been run:
tct-archive-tizen-tests
tct-systeminfo-tizen-tests
tct-content-tizen-tests
tct-filesystem-tizen-tests
Commit
50ec63f0b8 has introduced error in which only first 64 Kb of
text file was read.
Change-Id: I679cb4a6447c6996a882388c304989e14f6ec6be
Arkadiusz Pietraszek [Mon, 8 Jan 2018 15:23:33 +0000 (16:23 +0100)]
[Filesystem] Fix to commit
ce958812096 to read 64 Kb and greater files
Commit
ce958812096 has introduced error in which only first 64 Kb of
text file was read.
[Verification] TCT pass rate is 100%
Automated tests has been run:
tct-archive-tizen-tests
tct-systeminfo-tizen-tests
tct-content-tizen-tests
tct-filesystem-tizen-tests
Change-Id: I266c839e78af9420bdad328e8fa4332bdc16b8a4
Pawel Kaczmarczyk [Mon, 8 Jan 2018 11:19:26 +0000 (12:19 +0100)]
[NFC] Fix for passing wrong values to APDU response
Issue: http://suprem.sec.samsung.net/jira/browse/XWALK-1747
Bug: Wrong type of data in array.
Verification: NFC auto tct passrate 100% (emulator wearable)
Change-Id: I5824e51ce677d6c1c7de006ad10b509b84f00a6a
Signed-off-by: Pawel Kaczmarczyk <p.kaczmarczy@partner.samsung.com>
Piotr Kosko [Mon, 8 Jan 2018 10:39:36 +0000 (10:39 +0000)]
Merge "[Utils] remove Native Bridge from utils_api.js" into tizen_4.0
Arkadiusz Pietraszek [Thu, 4 Jan 2018 12:01:16 +0000 (13:01 +0100)]
[Filesystem] Quick fix to speed up, by not encoding strings
FileStream.write and FilesStream.read API methods has been speed up by
removing encoding and decoding operations when passing string data
through XWalk
[Verification] TCT pass rate is 100%
Automated tests has been run:
tct-archive-tizen-tests
tct-systeminfo-tizen-tests
tct-content-tizen-tests
tct-filesystem-tizen-tests
FilesystemInstance::FileRead method was unused and because of that has
been removed.
Change-Id: Ifa48e73f8b795969b584c362de3744fe774e9501
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
Piotr Kosko [Mon, 8 Jan 2018 10:09:16 +0000 (10:09 +0000)]
Merge "[Filesystem] Quick fix to speed up, by not encoding strings" into tizen_4.0
Arkadiusz Pietraszek [Thu, 4 Jan 2018 12:01:16 +0000 (13:01 +0100)]
[Filesystem] Quick fix to speed up, by not encoding strings
FileStream.write and FilesStream.read API methods has been speed up by
removing encoding and decoding operations when passing string data
through XWalk
[Verification] TCT pass rate is 100%
Automated tests has been run:
tct-archive-tizen-tests
tct-systeminfo-tizen-tests
tct-content-tizen-tests
tct-filesystem-tizen-tests
FilesystemInstance::FileRead method was unused and because of that has
been removed.
Change-Id: Ifa48e73f8b795969b584c362de3744fe774e9501
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
Lukasz Bardeli [Fri, 5 Jan 2018 12:42:13 +0000 (13:42 +0100)]
[SPEC] fix for error while uninstalling webapi-plugins on emulator
On emulator there are two packages webapi-plugins-<profile>-extension-emulator and
webapi-plugins-profile_<profile>. Uninstalling one of them causes error
rm: cannot remove `/usr/lib/tizen-extensions-crosswalk/libtizen*.so': No such file or directory
rm: cannot remove `/usr/lib/tizen-extensions-crosswalk/plugins.json': No such file or directory
That's why it is needed to be check if file exists before remove
Change-Id: I25cf8d854a019637bcd05a3c686d86f4020a1cc2
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Lukasz Bardeli [Wed, 3 Jan 2018 12:09:24 +0000 (13:09 +0100)]
[Download] fix crash while getting map element
There may be situation when while destroying DownloadInfoPtr in DownloadInstance
destructor on second thread static method is called and check if instance is exist
and later try to read info from DownloadInfoPtr. To avoid this situation lock_guard
is moved just before part of code responsible for destroying DownloadInfoPtr
[Verification] Code compiles without error. 100% passrate
Change-Id: I20b0b0fc1b021d91d2f7daaf36500e4c2b83766c
Lukasz Bardeli [Thu, 21 Dec 2017 11:19:32 +0000 (12:19 +0100)]
[SPEC] Fix to build plugins with specific profile and disable some plugins
[Verification] Code compiles without error
Change-Id: I62ca497792f02b2240f66b3b66cb9a88edc6792c
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Lukasz Bardeli [Wed, 20 Dec 2017 10:20:29 +0000 (11:20 +0100)]
[version] 2.13
Change-Id: I8d88c1dad219f6aab62c8a0af371a9a3a2758c66
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Lukasz Bardeli [Wed, 20 Dec 2017 09:29:43 +0000 (10:29 +0100)]
[DataControl] Fix for addChangeListener
[Verification] Code compiles without error. TCT passrate 100%
Change-Id: I6ad313b82498f1517d65f53d3cf5bdba600fe521
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Lukasz Bardeli [Tue, 19 Dec 2017 08:46:05 +0000 (09:46 +0100)]
[Utils] remove Native Bridge from utils_api.js
Remove NativeBridge from code. Native Bridge is not used anymore in
webapi plugins.
[Verification] Code compiles without error. TCT passrate alarm, filesystem, archive and
systeminfo 100%
Change-Id: Ia2da038df334b08425739bc3e18f0d3a3fc688ab
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Lukasz Bardeli [Mon, 18 Dec 2017 11:13:28 +0000 (12:13 +0100)]
[Alarm] Delete (add/get)AlarmNotification from tv, common and ivi profiles
addAlarmNotification and getAlarmNotification methods are available
on mobile and wearable profiles only. This fix delete those property from
AlarmManager when plugins are build on different profile.
[Verification] Code compiles without error. Checked in chrome console.
TCT passrate on wearable 100%
Change-Id: I5d35656845edfb10c06b3f3c978423ff3f0b6866
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Szymon Jastrzebski [Tue, 12 Dec 2017 10:31:44 +0000 (11:31 +0100)]
[Feedback] Refactoring JS layer
[Verification] TCT M&A 100% pass rate
Change-Id: I98c80653b370292332c48feb0dd764d2e0634acd
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Szymon Jastrzebski [Tue, 12 Dec 2017 09:19:56 +0000 (10:19 +0100)]
[Feedback] Removing NotSupported exception in isPatternSupported method
[Verification] TCT passed 100%
Change-Id: Ic92d01d2335f038ee671ee9a9f4d516d5cb8ef5f
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Jakub Skowron [Thu, 14 Dec 2017 16:57:31 +0000 (17:57 +0100)]
[Common] Build as C++14, and with -Werror
Tool chain has already been changed to GCC 6.2.1, which fully
supports -std=c++14
Change-Id: I5a2c82fabcbb599f02fcbac9ff27cd2ce4cb3b65
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
Lukasz Bardeli [Thu, 14 Dec 2017 11:06:41 +0000 (12:06 +0100)]
[SPEC] fix for building emulator wearable or mobile
When profile is defined this fix help build plugins on emulator
[Verification] Code complies without error. Proper modules are visible in chrome
console. All rpm's were checked if proper .so are included.
Change-Id: Idde16b44e54370a36428b76f0346282dcb2739d2
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Lukasz Bardeli [Tue, 12 Dec 2017 05:57:57 +0000 (06:57 +0100)]
[Spec] fix for profile build
[Verification] Code compiles without error. Plugins on different repositories build
properly.
Change-Id: Ic10cb4937738f45aa619ec927f7d8883a0417e58
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Piotr Kosko [Fri, 8 Dec 2017 07:31:01 +0000 (16:31 +0900)]
Merge branch 'tizen_3.0' into tizen_4.0
Change-Id: Id6b6e8aa88c05c25c4be7ae3fb6fe5ef8b7dc68e
Piotr Kosko [Fri, 8 Dec 2017 07:09:12 +0000 (16:09 +0900)]
[version] 2.12
Change-Id: I55a1a98894acfed37f0524afdb3844684d1fbc3b
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Lukasz Bardeli [Thu, 7 Dec 2017 12:09:10 +0000 (13:09 +0100)]
[Iotcon] fix for crash while finding resource
Fix for crash when ResourceFoundCallback is called first time with TIMEOUT
and second time with proper value. Now data is deleted 10 seconds after
time when device stopped finding resources
[Verification] Code compiles without error. TCT tests 100% passrate
Change-Id: I3320a70dabddbbb1b5ff8fcc0161dbe1ffc23b95
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Piotr Kosko [Thu, 7 Dec 2017 08:52:24 +0000 (09:52 +0100)]
[common] Fixed spec file for wearable emulator build
Change-Id: I759f43851410febffbcf419433dfc200bac85717
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Wed, 6 Dec 2017 12:49:57 +0000 (13:49 +0100)]
Merge branch 'tizen_3.0' into tizen_4.0
Change-Id: Ie5069386d12e786e3e3c0d3495814e2c458bd5fb
Piotr Kosko [Wed, 6 Dec 2017 11:53:38 +0000 (12:53 +0100)]
[version] 2.11
Change-Id: Ice6548513ef6a67b213c1c33ae92f7f6c3e601c0
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Wed, 6 Dec 2017 11:39:32 +0000 (11:39 +0000)]
Merge "[Bluetooth] Fix bug with ConnectStateChangeListener" into tizen_3.0
Michal Bistyga [Mon, 27 Nov 2017 13:20:25 +0000 (14:20 +0100)]
[Bluetooth] Fix bug with ConnectStateChangeListener
ConnectStateChangeListener's onConnected callback has been called even when connection failed.
[Verification] 1) automatic bluetooth tests have pass rate 100%
2) All manual tests related to add*/removeConnectStateChangeListener functions passed.
Change-Id: Ic765cc6710c64f82132c96f4b76edcd62bc69305
Signed-off-by: Michal Bistyga <m.bistyga@samsung.com>
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Lukasz Bardeli [Wed, 6 Dec 2017 09:25:21 +0000 (09:25 +0000)]
Merge "[Application] Killing and launching moved to main thread" into tizen_3.0
Piotr Kosko [Wed, 6 Dec 2017 09:08:32 +0000 (09:08 +0000)]
Merge "[Package] Fix SVACE issue - memory leak" into tizen_3.0
Piotr Kosko [Wed, 6 Dec 2017 08:57:40 +0000 (09:57 +0100)]
[Package] Fix SVACE issue - memory leak
[Fix] pkg_info is now destroyed properly
[Verification] TCT auto and manual 100% passrate
Change-Id: I2918fd9eeb85d1ca983f0770af6371f0a1f8a16b
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Rafal Walczyna [Tue, 5 Dec 2017 12:39:17 +0000 (13:39 +0100)]
[Application] Killing and launching moved to main thread
Because of the fact that appfw APIs are not thread safe
some functions need to be called from main thread
[Verification] 100% passrate on TM1:
tct-appcontrol-tizen-tests
tct-application-tizen-tests
Change-Id: I092cc84e2ac244cfd6439566c3c65a5e2652813c
Signed-off-by: Rafal Walczyna <r.walczyna@partner.samsung.com>
Piotr Kosko [Tue, 5 Dec 2017 07:53:46 +0000 (07:53 +0000)]
Merge "[Iotcon] Fix preventing crash." into tizen_4.0
Lukasz Bardeli [Mon, 4 Dec 2017 14:49:52 +0000 (15:49 +0100)]
[Iotcon] Fix preventing crash.
Fix with adding id to vector to hold information about possible remote resources.
If id is present in vector then map with remote resources is checked if
pointer exist. If not then callback is ignored
[Verification] Tested in chrome console. TCT auto tests 100%
Change-Id: I2032e0c8c93846ef84ac871944bbf326b8eafac7
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Lukasz Bardeli [Mon, 4 Dec 2017 14:49:52 +0000 (15:49 +0100)]
[Iotcon] Fix preventing crash.
Fix with adding id to vector to hold information about possible remote resources.
If id is present in vector then map with remote resources is checked if
pointer exist. If not then callback is ignored
[Verification] Tested in chrome console. TCT auto tests 100%
Change-Id: I2032e0c8c93846ef84ac871944bbf326b8eafac7
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Piotr Kosko [Fri, 1 Dec 2017 12:37:50 +0000 (13:37 +0100)]
Merge branch 'tizen_3.0' into tizen_4.0
Change-Id: I666744134deb6ffadb685a310f57df48a96e1f10
Piotr Kosko [Mon, 27 Nov 2017 07:07:18 +0000 (08:07 +0100)]
[Common] Preventing logger from runtime format definition
[Bug]
1. ScopeLogger macro was using string format defined in
runtime, instead of compilation time.
2. Some logs had invalid format specifiers, needed a hack
with replacing body of ScopeLogger and Logger* with printf
to discover them.
[Solution] ScopeLogger class constructor is now not responsible
for logging object creation. This log was moved to macro,
which makes possible compilation time format specification.
[Verification] Currently, __dlog_print implementation seems not
to validate formats as printf() does. I replaced the body of
ScopeLogger macro with printf() call, to find invalid format
cases(compilation warnings appeared). After fixing, I
recovered __dlog_print based implementation.
1. Code compiles without errors.
2. ScopeLogger enter and exit logs appear correctly.
3. Undefining TIZEN_DEBUG_ENABLE makes that ScopeLogger objects
are no longer created - checked with logs and chrome console.
Change-Id: I736ad5ed7ce191c7099417ef2e0cd81de4eb00a2
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Fri, 1 Dec 2017 11:29:00 +0000 (12:29 +0100)]
[version] 2.10
Change-Id: I8bb24470539accbf96eb383ebe4ae521b11f3908
Pawel Kaczmarczyk [Thu, 30 Nov 2017 14:03:33 +0000 (15:03 +0100)]
[Messaging] Fix problem with adding drafts
[Bug] Managers were created in wrong order.
MessagingManager calls registerStatusCallback on
ShortMsgManager, so ShortMsgManager has to be
created before.
[Verification] 100% passrate (with re-run)
tct-messaging-email-tizen-tests
tct-messaging-sms-tizen-tests
tct-messaging-mms-tizen-tests
change-Id: Ia4e4b1771f40e60a4f5ef4fcd6f3c5f420637546
Signed-off-by: Pawel Kaczmarczyk <p.kaczmarczy@partner.samsung.com>
Lukasz Bardeli [Mon, 20 Nov 2017 07:43:04 +0000 (08:43 +0100)]
[Content] remove deprecated methods set/unset db updated
remove methods:
media_content_set_db_updated_cb
media_content_unset_db_updated_cb
[Verification] Passrate didn't change
Change-Id: I903d75b49dc648dc1910e6fa23ffc2eab40d57ee
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Lukasz Bardeli [Fri, 24 Nov 2017 07:42:32 +0000 (08:42 +0100)]
Merge branch 'tizen_4.0' into tizen
voice control temporally disabled until voice-control package will be synchronized
Change-Id: I2106ffe625259361cb5db18207742b66d80a5716
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>