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
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
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>
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>
Piotr Kosko [Wed, 22 Nov 2017 13:49:17 +0000 (14:49 +0100)]
Merge branch 'tizen_3.0' into tizen_4.0
Change-Id: I1d0e1011a39025df17d98be6a7d903e7cc0dad6c
Piotr Kosko [Wed, 22 Nov 2017 13:48:04 +0000 (14:48 +0100)]
[version] 2.09
Change-Id: I53fba98b16652feeabc5285b0bfba978767c2350
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Pawel Kaczmarczyk [Mon, 20 Nov 2017 10:39:32 +0000 (11:39 +0100)]
[Messaging] Refactor singleton managers into instance's fields
to prevent crash
Callback could be called even after MessagingInstance
object was destroyed.
[Verification] Passrate didn't change
Change-Id: I3ac0db270f9f7a07613a9bd53e18f3b954952944
Signed-off-by: Pawel Kaczmarczyk <p.kaczmarczy@partner.samsung.com>
Piotr Kosko [Fri, 17 Nov 2017 10:55:07 +0000 (10:55 +0000)]
Merge "[Docs] Updating docs/src for Tizen 4.0" into tizen_4.0
Piotr Kosko [Fri, 17 Nov 2017 10:28:43 +0000 (11:28 +0100)]
Merge branch 'tizen_3.0' into tizen_4.0
Conflicts:
src/humanactivitymonitor/humanactivitymonitor_manager.cc
Change-Id: Iae74a00bd144f06f0bd6aed5ee881019c5a0bc1e
Piotr Kosko [Fri, 17 Nov 2017 10:14:10 +0000 (11:14 +0100)]
[version] 2.08
Change-Id: Ic0dd5f3b4fb5f004f3b3f7d993bbae2761f84392
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Rafal Walczyna [Mon, 23 Oct 2017 13:19:47 +0000 (15:19 +0200)]
[humanactivitymonitor] Fix generating query for recording
[Verification] 100% passrate on TW1
Before fix function readRecorderData() returned only one value,
now it returns multiple values - as expected
Change-Id: I2d0de2633e2e7fd55aa6f04aadad4a0fb3569d4a
Signed-off-by: Rafal Walczyna <r.walczyna@partner.samsung.com>
Lukasz Bardeli [Fri, 17 Nov 2017 07:56:27 +0000 (07:56 +0000)]
Merge "[DataControl] Crash when changeListener was not removed properly fixed" into tizen_4.0
Rafal Walczyna [Thu, 16 Nov 2017 06:52:50 +0000 (07:52 +0100)]
[DataControl] Crash when changeListener was not removed properly fixed
[Verification] Passrate 100%
Change-Id: Ie9e5fd96a215a30e2ff53d9bfb4b9ed8a16406a8
Signed-off-by: Rafal Walczyna <r.walczyna@partner.samsung.com>
Michal Bistyga [Thu, 16 Nov 2017 08:25:39 +0000 (09:25 +0100)]
[Power][Common] Calling "lockstate" instead "lockstate_nopt"
Native API reverted its changes. Now we should call "lockstate" again.
With this change API can request DIM brightness again.
[Native changes]
https://review.tizen.org/gerrit/#/c/159981/
https://review.tizen.org/gerrit/#/c/159994/
https://review.tizen.org/gerrit/#/c/159993/
https://review.tizen.org/gerrit/#/c/159980/
[Verification] 100% pass rate on power manual and automatic tests
Change-Id: I2ec53da7d9f79d5f583603a0f75f3fd7ce35fb91
Signed-off-by: Michal Bistyga <m.bistyga@samsung.com>
Szymon Jastrzebski [Thu, 9 Nov 2017 09:28:52 +0000 (10:28 +0100)]
[Docs] Updating docs/src for Tizen 4.0
+ adding conversion table
+ adding guide for example WIDL code style
Change-Id: I59a6d885b567a848c546f0ef3e660057558bfa58
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Lukasz Bardeli [Mon, 13 Nov 2017 12:52:05 +0000 (12:52 +0000)]
Merge "[PROJECT] Removing deprecated logs" into tizen_4.0
Michal Bistyga [Fri, 27 Oct 2017 13:36:50 +0000 (15:36 +0200)]
[PROJECT] Removing deprecated logs
[Verification] 1) Code compiles
2) Exif package 100% passrate
3) NFC automatic package 100% passrate
Change-Id: I97e40576fa0551905ef84befee2996b93eb678bf
Signed-off-by: Michal Bistyga <m.bistyga@samsung.com>
Piotr Kosko [Thu, 9 Nov 2017 11:32:10 +0000 (12:32 +0100)]
[spec] enabled sensor for wearable profile
[Requester]
20171109
1. [정군왕 / GunWang Jeong]
Sensor module is a very important feature of wearable device. So it should be added and verified for wearable profile.
2. [정석원 / SEOKWON JEONG]
just enable feature only without api behavior change or add new api something?
[Verification] code compiles without errors.
web-tct_4.0_r1_rc33:
- with manually enabled sensor TCT for wearable:
tct-namespace-tizen-tests (31/31 - 100%)
tct-sensor-tizen-tests (A:97/97 M:6/6 - 100%)
tct-capability-tests (32/32 - 100%)
webWidgetTCT_4.0_r5 for sensor 100%
Change-Id: If6bac42bddfd51a2179878c1e0d47010067291b0
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Thu, 9 Nov 2017 08:33:58 +0000 (09:33 +0100)]
[spec] fixing build for wearable
Change-Id: I27d8bf258d19c961d10266a2354f99fe6d1fd74d
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Wed, 8 Nov 2017 07:24:44 +0000 (08:24 +0100)]
Merge branch 'tizen_3.0' into tizen_4.0
Change-Id: I863b34ebe42e5cb07021d2265b31ba3879dd6ae6
Piotr Kosko [Wed, 8 Nov 2017 07:20:25 +0000 (08:20 +0100)]
[version] 2.07
Change-Id: Ia8d9706056bab38aabd9d5cda41980b8bd527b33
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Wed, 8 Nov 2017 07:10:25 +0000 (07:10 +0000)]
Merge "[Documentation] Add license information for tools in doc" into tizen_3.0
Piotr Kosko [Wed, 8 Nov 2017 06:09:13 +0000 (06:09 +0000)]
Merge "[Spec] fix privilege engine to common profile" into tizen_4.0
Jakub Skowron [Tue, 7 Nov 2017 17:28:52 +0000 (18:28 +0100)]
[Documentation] Add license information for tools in doc
Some parts of automatically generated documentation was missing
license information.
Change-Id: I1df6f3145050800d5fbd6babcc5234bd76128d6b
Piotr Kosko [Tue, 7 Nov 2017 12:59:18 +0000 (12:59 +0000)]
Merge "[Exif] Fixing warning: control reaches end of non-void function" into tizen_4.0
Szymon Jastrzebski [Tue, 7 Nov 2017 10:44:27 +0000 (11:44 +0100)]
[Exif] Fixing warning: control reaches end of non-void function
[Verification] Code compiles
Change-Id: I8d89d09dc864bfa4b43f2aec78327a38a0960c81
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Lukasz Bardeli [Tue, 7 Nov 2017 11:47:49 +0000 (12:47 +0100)]
[Spec] fix privilege engine to common profile
Change-Id: I3cb42546442911adbf46394b8a492d79f23c971a
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Jakub Skowron [Mon, 6 Nov 2017 13:36:22 +0000 (14:36 +0100)]
[Documentation] Remove unnecessary file logo.png
This is a logo for documentation generator. Not used in documentation
Change-Id: I508793c952bd35ede3ec95b31e6876f942f2dab5
Piotr Kosko [Tue, 7 Nov 2017 07:16:29 +0000 (07:16 +0000)]
Merge "[Exif] remove unnecessary semicolon" into tizen_3.0
Lukasz Bardeli [Tue, 7 Nov 2017 07:14:13 +0000 (08:14 +0100)]
[Exif] remove unnecessary semicolon
Change-Id: If8ad91e6faf4be242067278b611d260b5d967e84
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Piotr Kosko [Tue, 7 Nov 2017 06:45:26 +0000 (06:45 +0000)]
Merge "[PROJECT] Refactoring entering logs into ScopeLogger" into tizen_4.0
Piotr Kosko [Tue, 7 Nov 2017 06:44:04 +0000 (06:44 +0000)]
Merge "[Project] Fixing formatting + errors found by cpplint" into tizen_4.0
Szymon Jastrzebski [Mon, 6 Nov 2017 13:02:09 +0000 (14:02 +0100)]
[PROJECT] Refactoring entering logs into ScopeLogger
[Verification] Code compiles
Change-Id: I2733b7a7bcafa50f5a6a87195ec9efbcec97c574
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Piotr Kosko [Mon, 6 Nov 2017 09:03:17 +0000 (10:03 +0100)]
Merge branch 'tizen_3.0' into tizen_4.0
Change-Id: I14a16192e54058421fb745bcdbd8a78adc1fb8ff
Piotr Kosko [Mon, 6 Nov 2017 09:02:08 +0000 (09:02 +0000)]
Merge "[version] 2.06" into tizen_3.0
Piotr Kosko [Mon, 6 Nov 2017 09:01:24 +0000 (10:01 +0100)]
[version] 2.06
Change-Id: I6076c3c5b8269e4c27b7cdcb1f4437f36e5821a5
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Mon, 6 Nov 2017 07:53:22 +0000 (07:53 +0000)]
Merge "[Tools] Added scripts for code style validation and auto fixing" into tizen_3.0
Szymon Jastrzebski [Mon, 6 Nov 2017 07:39:40 +0000 (08:39 +0100)]
[Project] Fixing formatting + errors found by cpplint
[Verification] Code compiles
Change-Id: I9a501c568d7da8348284977ec5d1f58837170e70
Piotr Kosko [Fri, 3 Nov 2017 11:24:16 +0000 (11:24 +0000)]
Merge "[Logger] Removing warning from code analysis" into tizen_3.0
Michal Bistyga [Thu, 2 Nov 2017 13:59:11 +0000 (14:59 +0100)]
[Logger] Removing warning from code analysis
[Verification] Code compiles, random packages pass their tests
Change-Id: Ibfa0053c23faa5b4b6a1e49da633289719af1bd7
Signed-off-by: Michal Bistyga <m.bistyga@samsung.com>
Piotr Kosko [Fri, 3 Nov 2017 10:33:47 +0000 (10:33 +0000)]
Merge "[Content] Crash in CreateThumbnail fixed" into tizen_3.0
Rafal Walczyna [Thu, 2 Nov 2017 14:08:00 +0000 (15:08 +0100)]
[Content] Crash in CreateThumbnail fixed
[verification] 100% passrate on TM1 target and emulator
Change-Id: Ia2f8fe4ab6996ba872573235cfccc600282cc8f0
Signed-off-by: Rafal Walczyna <r.walczyna@partner.samsung.com>
Piotr Kosko [Fri, 3 Nov 2017 09:32:30 +0000 (09:32 +0000)]
Merge "[Sensor] Fix for HRM_RAW sensor" into tizen_4.0
Pawel Kaczmarczyk [Tue, 31 Oct 2017 12:53:47 +0000 (13:53 +0100)]
[Callhistory] Fix for find method
[Bug] LoadPhoneNumbers must be called before FindThread.
Because of critical section of LoadPhoneNumbers lasts for
whole scope, so they can be called sequentially.
[Verification] Passrate 100%
Change-Id: I8207f488f0f4926d70d2289d42b1a46d2b98ee75
Signed-off-by: Pawel Kaczmarczyk <p.kaczmarczy@partner.samsung.com>
Piotr Kosko [Thu, 2 Nov 2017 13:39:09 +0000 (14:39 +0100)]
Merge branch 'tizen_3.0' into tizen_4.0
Conflicts:
src/application/application_manager.cc
src/exif/exif_gps_location.cc
src/exif/rational.cc
src/humanactivitymonitor/humanactivitymonitor_instance.cc
src/nfc/nfc_util.cc
src/notification/notification_instance.cc
src/notification/notification_manager.cc
src/notification/status_notification.cc
src/systeminfo/systeminfo_manager.cc
src/systeminfo/systeminfo_properties_manager.cc
Change-Id: I1e6dffb7fb8bc7a088b55a18bee700887550d03f
Szymon Jastrzebski [Mon, 18 Sep 2017 09:30:34 +0000 (11:30 +0200)]
[PROJECT] Refactoring entering logs into ScopeLogger
Removing logs in trivial function and adding when they are missed will be part of another commit
PS2 Rebase
PS3 Change some left Loggers
PS4 After using clang
PS5 Utilizing changes in ScopeLogger
PS6 Cleaning up
PS8 Adding missing logs - not formatted
PS9 Clang
PS10 Rebase
[Verification] Code compiles
10 random packages has 100% passrate:
alarm, systemsetting, systeminfo, security, content, filesystem, iotcon,
push, capability, privillege
Change-Id: I7972fee44dd13277d9ef7693433aad7b0321dd68
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Signed-off-by: Michal Bistyga <m.bistyga@samsung.com>
Jakub Skowron [Tue, 31 Oct 2017 11:59:56 +0000 (12:59 +0100)]
[Notification] Remove warning: 'visibility' attribute ignored [-Wattributes]
typedef does not need to be exported from shared object
[Verification] TCT Pass 100% (alarm, notification)
Change-Id: I0ea19c255f03e62fb16ee01c956acc183327a9ee
Piotr Kosko [Mon, 9 Oct 2017 11:57:35 +0000 (13:57 +0200)]
[Tools] Added scripts for code style validation and auto fixing
[Feature] Added below scripts:
- tools/codestyle/code_formatter.sh - common formatter for both C and JS
(changes files)
- tools/codestyle/code_validation.sh - common validator for both C and JS
(does not change files)
- tools/codestyle/c++_clang_formatter.sh - for auto formating C++ files
- tools/codestyle/js_clang_formatter.sh - for auto formating JS files
- tools/codestyle/cpplint_tizen_160919.py and tools/codestyle/cpplint_tizen_dir.sh
scripts for C++ code style validation, provided by HQ
- tools/codestyle/eslint_config_mandatory_length90.js - coding rules for
JS sources validation - provided by HQ
- code_format and code_validate - links to scripts for easier access
[Help] You can check usage for code_format and code_validate using '-h' option
[Verification] Checked manually. Analysis seem to be done properly.
Since now, we should reformat new code using:
./code_format -c <path/to/changed/module>
and validate:
./code_validate -c <path/to/changed/module>
Using scripts for JS sources is not recommended for now.
Change-Id: I4af01a1f23c93547cd140ba7e5fed6294726c161
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Jakub Skowron [Mon, 30 Oct 2017 11:22:11 +0000 (12:22 +0100)]
[Systeminfo] Fix unregister callback functions
Ensure all callbacks are unregistered, even in case
of previous error in unregister function.
[Verification] TCT Tests: 100% Pass
Change-Id: If0bc0342b77985ecfa09c99111298c7d62e51dab
Piotr Kosko [Thu, 26 Oct 2017 08:30:09 +0000 (08:30 +0000)]
Merge "[PPM] requestPermission implementation" into tizen_4.0
Piotr Kosko [Thu, 26 Oct 2017 08:29:49 +0000 (08:29 +0000)]
Merge "[PPM] stubs implementation and checkPermission implementation" into tizen_4.0
Lukasz Bardeli [Thu, 26 Oct 2017 07:51:47 +0000 (09:51 +0200)]
[PPM] requestPermission implementation
[Verification] Code compiles without error. Tested in chrome console.
Change-Id: I2515dd8c5e8e10e3f92da8104d519ccc81fea970
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Lukasz Bardeli [Wed, 25 Oct 2017 13:18:26 +0000 (15:18 +0200)]
[PPM] stubs implementation and checkPermission implementation
[Verification] Code compiles without error
Change-Id: I865ba4c1b60050faa685891283567cdd696bd2fb
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Pawel Kaczmarczyk [Wed, 25 Oct 2017 09:32:21 +0000 (11:32 +0200)]
[Datacontrol] Fix SVACE issue
[Verification] Passrate didn't change
Change-Id: I3c30d9d913bd0048c127b4e2435998a936542e4a
Signed-off-by: Pawel Kaczmarczyk <p.kaczmarczy@partner.samsung.com>
Piotr Kosko [Tue, 24 Oct 2017 13:33:20 +0000 (15:33 +0200)]
[version] 2.06
Change-Id: Id2815094c6f831cfafcb26913585313b8091ae9a
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Tue, 24 Oct 2017 12:00:17 +0000 (12:00 +0000)]
Merge "[humanactivitymonitor] Fix generating query for recording" into tizen_4.0
Piotr Kosko [Tue, 24 Oct 2017 09:47:14 +0000 (09:47 +0000)]
Merge "[DataControl] fix for callback in addChangeListener" into tizen_4.0
Lukasz Bardeli [Tue, 24 Oct 2017 09:30:34 +0000 (11:30 +0200)]
[DataControl] fix for callback in addChangeListener
[Verification] Code compiles without error. Tested in chrome console.
TCT passrate didn't change
Change-Id: Ic03b2edc005ca2d6b609b2b36d641615ad5f861d
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Rafal Walczyna [Mon, 23 Oct 2017 13:19:47 +0000 (15:19 +0200)]
[humanactivitymonitor] Fix generating query for recording
[Verification] Passrate changed from 86.11% to 98.15%
Change-Id: If66bccc0df9e10d7ac8aad14934cc1e0b58ace4e
Signed-off-by: Rafal Walczyna <r.walczyna@partner.samsung.com>
Piotr Kosko [Wed, 4 Oct 2017 07:45:45 +0000 (09:45 +0200)]
[Sensor] Fixed some bugs
[Bug]
- listener interval in case of multiple setListener calls was not updated
- start/stop/setListener/unsetListener was not protected against multithread access
- different behaviour in below scenarios:
a.> HRMrawsensor = tizen.sensorservice.getDefaultSensor("HRM_RAW");
> HRMrawsensor.stop()
undefined /// nothing happen
b.> HRMrawsensor = tizen.sensorservice.getDefaultSensor("HRM_RAW");
> HRMrawsensor.start(function(s){console.log(s)}, function(s){console.log(s)})
WebAPIException {code: 9, name: "NotSupportedError", message: "None HRM LED sensor is supported."}
> HRMrawsensor.stop()
Uncaught WebAPIException {code: 9, name: "NotSupportedError", message: "None HRM LED sensor is supported."}
[Verification] Manual and Auto TCT passed 100% (s.jastrzebsk)
Change-Id: I4862823f84fc386d05eabfeb3dabb7345e9c592c
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Arkadiusz Pietraszek [Thu, 19 Oct 2017 17:02:47 +0000 (19:02 +0200)]
[Common] Fixing expectation of datatypes warnings in Logger methods
Either formats %_ corrected to expect correct datatype or dytatype
casting while passing it to Logger method.
[Verification] Code compiles without warnings regarding datatypes passed
to Logger methods.
Change-Id: I8bf50728aee0c09b4b998614f3854972ef178aa5
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
Szymon Jastrzebski [Tue, 26 Sep 2017 11:24:19 +0000 (13:24 +0200)]
[Sensor] Fix for HRM_RAW sensor
The getDefaultSensor method should throw exception while getting the
'HRM_RAW' sensor, if it is not supported.
Change-Id: Ib55d5088df6462a96a167103d3b9d76a4eade130
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Piotr Kosko [Wed, 18 Oct 2017 11:38:48 +0000 (13:38 +0200)]
Merge branch 'tizen_3.0' into tizen_4.0
Change-Id: I5f9b5954fd3767856b4e4d9b23a9d77f6c1582e5
Piotr Kosko [Wed, 18 Oct 2017 11:27:07 +0000 (13:27 +0200)]
[version] 2.05
Change-Id: I26e4d40ed0d09cbcf4c55f1c0e19082d3c6c6262
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Szymon Jastrzebski [Wed, 18 Oct 2017 09:48:32 +0000 (11:48 +0200)]
[VoiceControl] Refactoring/reformatting module
+ refactor the code and replace static VoiceControlClient into member of
VoiceControlInstace to prevent possible crashes
+ moving VcConvertCmdType function into the vc_utils
[Verification] Code compiles
Change-Id: Ibe76be9af93df3825917c7fb2115afb0d8826d76
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Suyeon Hwang [Mon, 19 Jun 2017 02:43:03 +0000 (11:43 +0900)]
[VoiceControl] Add new web APIs for voice control
Change-Id: I497d96e45158b398189761952953cfc6253c7698
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Lukasz Bardeli [Tue, 17 Oct 2017 09:38:26 +0000 (11:38 +0200)]
[Iotcon] fix to prevent crash.
Store data in vector and check in every call
RemoteResourceResponseCallback if wasn't free earlier.
[Verification] Code compiles without errors. TCT passrate 100%
Change-Id: Ia3feb69460de99a0ad70915ae4b7098980fecb91
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Lukasz Bardeli [Tue, 17 Oct 2017 09:38:26 +0000 (11:38 +0200)]
[Iotcon] fix to prevent crash.
Store data in vector and check in every call
RemoteResourceResponseCallback if wasn't free earlier.
[Verification] Code compiles without errors. TCT passrate 100%
Change-Id: Ia3feb69460de99a0ad70915ae4b7098980fecb91
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Piotr Kosko [Wed, 11 Oct 2017 10:42:48 +0000 (12:42 +0200)]
Merge branch 'tizen_3.0' into tizen_4.0
Change-Id: I4da4b84922e6acc2c5259508221017da5a47ea61
Szymon Jastrzebski [Wed, 11 Oct 2017 07:32:02 +0000 (09:32 +0200)]
[Application] Extending Native Context History API usage to wearable profile
Currently getBatteryUsageInfo() and getAppsUsageInfo() methods are
available only on mobile profile.
[Verification] Tested manually in console. Both methods seem to work properly.
Change-Id: Ifc1835054281d995ade4859546aa981e5d289bdf
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Piotr Kosko [Wed, 11 Oct 2017 09:43:14 +0000 (11:43 +0200)]
[version] 2.04
Change-Id: Ica388eef8319574e89f2c0c7f586d8a1f7ef0f98
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Tue, 3 Oct 2017 06:29:50 +0000 (08:29 +0200)]
[Download] Added information about HTTP status in error message
[Feature] Error message of onfailed callback of start method, return only
Unknown error. Now information about HTTP status was added into message.
[Verification] Checked in chrome console.
TCT passrate - 100%.
Change-Id: I157053d10a1e770c070b55465f1a7351c0c80cce
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>