platform/core/api/webapi-plugins.git
6 years ago[version] 2.10 66/162466/1 accepted/tizen/3.0/common/20171204.105119 accepted/tizen/3.0/mobile/20171203.092251 accepted/tizen/3.0/tv/20171203.092256 accepted/tizen/3.0/wearable/20171203.092300 submit/tizen_3.0/20171201.130218
Piotr Kosko [Fri, 1 Dec 2017 11:29:00 +0000 (12:29 +0100)]
[version] 2.10

Change-Id: I8bb24470539accbf96eb383ebe4ae521b11f3908

6 years ago[Messaging] Fix problem with adding drafts 41/162441/3
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>
6 years ago[version] 2.09 03/161303/1 accepted/tizen/3.0/common/20171127.084418 accepted/tizen/3.0/mobile/20171127.041617 accepted/tizen/3.0/tv/20171127.041621 accepted/tizen/3.0/wearable/20171127.041625 submit/tizen_3.0/20171123.103244
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>
6 years ago[Messaging] Refactor singleton managers into instance's fields 12/160912/2
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>
6 years ago[version] 2.08 64/160664/1 accepted/tizen/3.0/common/20171120.094037 accepted/tizen/3.0/mobile/20171119.231603 accepted/tizen/3.0/tv/20171119.231607 accepted/tizen/3.0/wearable/20171119.231634 submit/tizen_3.0/20171117.110035
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>
6 years ago[humanactivitymonitor] Fix generating query for recording 61/160661/2
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>
6 years ago[version] 2.07 21/159321/1 accepted/tizen/3.0/common/20171109.103509 accepted/tizen/3.0/mobile/20171108.221511 accepted/tizen/3.0/tv/20171108.221531 accepted/tizen/3.0/wearable/20171108.221536 submit/tizen_3.0/20171108.104119
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>
6 years agoMerge "[Documentation] Add license information for tools in doc" into tizen_3.0
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

6 years ago[Documentation] Add license information for tools in doc 49/159249/1
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

6 years ago[Documentation] Remove unnecessary file logo.png 72/159172/1
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

6 years agoMerge "[Exif] remove unnecessary semicolon" into tizen_3.0
Piotr Kosko [Tue, 7 Nov 2017 07:16:29 +0000 (07:16 +0000)]
Merge "[Exif] remove unnecessary semicolon" into tizen_3.0

6 years ago[Exif] remove unnecessary semicolon 46/159146/1
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>
6 years agoMerge "[version] 2.06" into tizen_3.0
Piotr Kosko [Mon, 6 Nov 2017 09:02:08 +0000 (09:02 +0000)]
Merge "[version] 2.06" into tizen_3.0

6 years ago[version] 2.06 05/159005/1
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>
6 years agoMerge "[Tools] Added scripts for code style validation and auto fixing" into tizen_3.0
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

6 years agoMerge "[Logger] Removing warning from code analysis" into tizen_3.0
Piotr Kosko [Fri, 3 Nov 2017 11:24:16 +0000 (11:24 +0000)]
Merge "[Logger] Removing warning from code analysis" into tizen_3.0

6 years ago[Logger] Removing warning from code analysis 16/158716/2
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>
6 years agoMerge "[Content] Crash in CreateThumbnail fixed" into tizen_3.0
Piotr Kosko [Fri, 3 Nov 2017 10:33:47 +0000 (10:33 +0000)]
Merge "[Content] Crash in CreateThumbnail fixed" into tizen_3.0

6 years ago[Content] Crash in CreateThumbnail fixed 20/158820/2
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>
6 years ago[Callhistory] Fix for find method 96/158396/6
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>
6 years ago[PROJECT] Refactoring entering logs into ScopeLogger 11/150711/12
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>
6 years ago[Tools] Added scripts for code style validation and auto fixing 98/154498/3
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>
6 years ago[Sensor] Fixed some bugs 37/157037/3
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>
6 years ago[version] 2.05 66/156466/1 accepted/tizen/3.0/common/20171019.135605 accepted/tizen/3.0/mobile/20171019.104608 accepted/tizen/3.0/tv/20171019.104623 accepted/tizen/3.0/wearable/20171019.104640 submit/tizen_3.0/20171018.113206
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>
6 years ago[Iotcon] fix to prevent crash. 89/155789/5
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>
6 years ago[version] 2.04 77/154877/1
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>
6 years ago[Download] Added information about HTTP status in error message 05/153905/3
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>
6 years agoRevert "[version] 2.04" 76/154876/1
Piotr Kosko [Wed, 11 Oct 2017 09:41:37 +0000 (11:41 +0200)]
Revert "[version] 2.04"

This reverts commit 89b277b80e408f1527ce145e9cb79a4a128f6b5f.

Change-Id: I9aac524a3b19a54c92a30436a77f4ed5dcff0d26

6 years ago[version] 2.04 35/154835/1
Piotr Kosko [Wed, 11 Oct 2017 09:27:55 +0000 (11:27 +0200)]
[version] 2.04

Change-Id: Ieae2c1837b41a866fa3288270b674305b643a9c7
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
6 years agoRevert "[Iotcon] Prevent posible crash." 34/154834/1
Piotr Kosko [Wed, 11 Oct 2017 09:21:48 +0000 (11:21 +0200)]
Revert "[Iotcon] Prevent posible crash."

This reverts commit 7d553b6906feb5205c93da6e3ed0428a3d2c1edd.

Change-Id: I42eec0d4ce0f24dea8895aed3a8bbda4ca1d6426

6 years agoMerge "[Iotcon] Prevent posible crash." into tizen_3.0
Piotr Kosko [Thu, 5 Oct 2017 09:53:02 +0000 (09:53 +0000)]
Merge "[Iotcon] Prevent posible crash." into tizen_3.0

6 years ago[Iotcon] Prevent posible crash. 25/154025/4
Lukasz Bardeli [Thu, 5 Oct 2017 09:12:24 +0000 (11:12 +0200)]
[Iotcon] Prevent posible crash.

[Feature] If Timeout was returned then it is possible to call
RemoteResourceResponseCallback again.
In this case data is deleted, but not set to null.
Call data->fun causes crash.

[Verification] Code compiles without error. Auto tests 100% passrate.

Change-Id: I07a3d1e38c933506620184f811b571d60e4b59fd
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
6 years ago[Common] Upgrading ScopeLogger 72/153972/4
Michal Bistyga [Wed, 4 Oct 2017 11:01:35 +0000 (13:01 +0200)]
[Common] Upgrading ScopeLogger

Changes:
- Extra argument to entering logs is not written at the end of scope

Change-Id: Id8824d5a91df54c9cb97f02b501e0da8f49852a2
Signed-off-by: Michal Bistyga <m.bistyga@samsung.com>
6 years ago[version] 2.03 45/152945/1
Piotr Kosko [Wed, 27 Sep 2017 10:56:29 +0000 (12:56 +0200)]
[version] 2.03

Change-Id: I940a2aa78782ddcba3c5031442d8821f9c932c8a
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
6 years ago[Convergence] Removing Convergence API 46/152146/3
Szymon Jastrzebski [Mon, 25 Sep 2017 09:28:02 +0000 (11:28 +0200)]
[Convergence] Removing Convergence API

  segwon.han has requested to remove Convergence API.

  Code compiles.

Change-Id: I89ab9f753de111277e444ca1b659ce301a13ae1a
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
6 years ago[PROJECT][C++] Reformatting the whole project 26/150326/3
Szymon Jastrzebski [Mon, 25 Sep 2017 12:54:56 +0000 (14:54 +0200)]
[PROJECT][C++] Reformatting the whole project

The refactoring was requested by yj99.shin.
With this change, the cpplint does not find any more errors.
The change has been applied to C++ files only.

[Verification] Code compiles.

Change-Id: I03534fa2140a98b78099c78a1a915f9917c3927d
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
6 years ago[Utils] Fixing typo 84/152284/1
Szymon Jastrzebski [Mon, 25 Sep 2017 12:14:23 +0000 (14:14 +0200)]
[Utils] Fixing typo

Change-Id: I853c37c6f0ba6039ed1bce64b61bab86f0aa962e
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
6 years ago[Sensor] fixing listener behaviours 77/151677/2 accepted/tizen_3.0_ivi accepted/tizen/3.0/common/20170929.203111 accepted/tizen/3.0/ivi/20170922.023214 accepted/tizen/3.0/mobile/20170922.023152 accepted/tizen/3.0/tv/20170922.023143 accepted/tizen/3.0/wearable/20170922.023113 submit/tizen_3.0/20170921.132449
Piotr Kosko [Thu, 21 Sep 2017 10:13:10 +0000 (12:13 +0200)]
[Sensor] fixing listener behaviours

[Bug] Listeners are not called in deterministic way,
  several "api calls order" issues are fixed.

[Verification] Code compiles properly
  TCT passrate 100% - auto & manual
  Web widget service tests of sensor - 119 pass - 100% passrate

Change-Id: I720e23e0f23a9a849fb2d507e8721f196578ac48
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
6 years agoMerge "[Download] Checking if device is connected before" into tizen_3.0
Piotr Kosko [Wed, 20 Sep 2017 07:40:40 +0000 (07:40 +0000)]
Merge "[Download] Checking if device is connected before" into tizen_3.0

6 years ago[version] 2.02 49/151149/1 accepted/tizen/3.0/ivi/20170920.094005 accepted/tizen/3.0/mobile/20170920.094235 accepted/tizen/3.0/tv/20170920.094239 accepted/tizen/3.0/wearable/20170920.094305 submit/tizen_3.0/20170920.055526
Piotr Kosko [Wed, 20 Sep 2017 05:07:18 +0000 (07:07 +0200)]
[version] 2.02

Change-Id: I80ac163b28617a3aa31400acd7042f57fdc06af2
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
6 years ago[Download] Checking if device is connected before 86/150386/4
Michal Bistyga [Fri, 15 Sep 2017 09:46:00 +0000 (11:46 +0200)]
[Download] Checking if device is connected before

When wi-fi has been disconnected, plugins would throw not intuitive error description.
It was especially important on XU3, where short disconnect occurs more often.

[Verification] 100% TCT pass rate on TM1

Change-Id: I22712dd8e815ac810b8fec5549c370e91498ed85
Signed-off-by: Michal Bistyga <m.bistyga@samsung.com>
6 years agoMerge "[Sensor] Not using ECMAScript6 code" into tizen_3.0 submit/tizen_3.0/20170919.131120
Piotr Kosko [Tue, 19 Sep 2017 11:42:31 +0000 (11:42 +0000)]
Merge "[Sensor] Not using ECMAScript6 code" into tizen_3.0

6 years ago[Sensor] Not using ECMAScript6 code 27/151027/1
Piotr Kosko [Tue, 19 Sep 2017 11:06:47 +0000 (13:06 +0200)]
[Sensor] Not using ECMAScript6 code

[Bug] Web Widget Engine does not support ECMAScript6,
  so it is needed to workaround internal code which used it.

[Verification] Code compiles without errors.
  TCT passrate of sensors is 100%.
  Some Web Widget tests passed without error.

Change-Id: I2110b35ce0ed9a4a8e3660b9c77b2a687585063f
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
6 years ago[MediaController] Fixing typo 22/151022/1
Szymon Jastrzebski [Tue, 19 Sep 2017 11:03:20 +0000 (13:03 +0200)]
[MediaController] Fixing typo

Change-Id: Iff3d210bafb9bbf98c44511910c38f6ffc0c266d
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
6 years ago[MediaControler] Adding missing enum mapping 79/150979/1
Szymon Jastrzebski [Tue, 19 Sep 2017 08:18:10 +0000 (10:18 +0200)]
[MediaControler] Adding missing enum mapping

  Native API uses MC_SERVER_STATE_NONE, which must be mapped to 'INACTIVE'
  Web API enum. The 'NONE' state is the default state for native MC server.

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

Change-Id: Ida2acbad265dfa7b9a91d79e64e90bccb6632e56
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
6 years ago[NBS] Removing unnecessary code 80/150380/2
Szymon Jastrzebski [Fri, 15 Sep 2017 09:41:15 +0000 (11:41 +0200)]
[NBS] Removing unnecessary code

[Verification] Code compiles. TCT NBS 100%

Change-Id: Ibeb40bcf0f22f6765ca4e92464dc57373d07fbb4
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
6 years ago[widgetservice] Check if widget_id is not null 34/150134/3
Rafal Walczyna [Thu, 14 Sep 2017 10:27:32 +0000 (12:27 +0200)]
[widgetservice] Check if widget_id is not null

[verification] TCT pass rate 100% on TM1

[svace] 289591

Change-Id: I03b2fd5914965e3c52c69fef7bdb2fc3c73c99a5
Signed-off-by: Rafal Walczyna <r.walczyna@partner.samsung.com>
6 years agoMerge "[CallHistory] Fix for find method" into tizen_3.0
Piotr Kosko [Mon, 11 Sep 2017 07:53:11 +0000 (07:53 +0000)]
Merge "[CallHistory] Fix for find method" into tizen_3.0

6 years ago[CallHistory] Fix for find method 55/148355/4
Michal Bistyga [Thu, 7 Sep 2017 13:18:04 +0000 (15:18 +0200)]
[CallHistory] Fix for find method

[Bug]Multiple threads could access one vector, which resulted in crash.

[Verification]Pass rate didn't change.

Change-Id: I46a809c0df2965220b35a8e78389f2fdc8746c77
Signed-off-by: Michal Bistyga <m.bistyga@samsung.com>
6 years ago[version] 2.01 71/148371/1 submit/tizen_3.0/20170907.153038
Lukasz Bardeli [Thu, 7 Sep 2017 15:25:18 +0000 (17:25 +0200)]
[version] 2.01

Change-Id: I836d8a6a5ddcc6adfb07808d529ec1aa29ec1293
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
6 years ago[Systeminfo] Fix core dump in SystemInfoManager 68/148368/1
Jakub Skowron [Thu, 7 Sep 2017 14:41:04 +0000 (16:41 +0200)]
[Systeminfo] Fix core dump in SystemInfoManager

Cellular network listener was not unregistered, which caused
core dump if network status changed after SystemInfoManager
destructor.
This is a hack, more robust solution should be developed.

Change-Id: Id4d26492426028a87ebaf1109e4f7750dd10b7c4
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
6 years ago[version] 2.0 53/148053/1 submit/tizen_3.0/20170906.125436
Piotr Kosko [Wed, 6 Sep 2017 11:13:08 +0000 (13:13 +0200)]
[version] 2.0

Change-Id: I5904cd964c4449cdb22447654b38cd36d29fb622
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
6 years agoMerge "[MediaController] Fixing client's listeners" into tizen_3.0
Piotr Kosko [Wed, 6 Sep 2017 11:08:24 +0000 (11:08 +0000)]
Merge "[MediaController] Fixing client's listeners" into tizen_3.0

6 years agoMerge "[NBS] Fix for releasing domains." into tizen_3.0
Piotr Kosko [Wed, 6 Sep 2017 11:07:52 +0000 (11:07 +0000)]
Merge "[NBS] Fix for releasing domains." into tizen_3.0

6 years ago[NBS] Fix for releasing domains. 14/144714/4
Szymon Jastrzebski [Tue, 5 Sep 2017 10:31:17 +0000 (12:31 +0200)]
[NBS] Fix for releasing domains.

Change-Id: I47a2a86d93e11b6b2f7d02001ec6eda4f65e0b30
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
6 years agoMerge "[Application] Adding debug logs" into tizen_3.0
Piotr Kosko [Wed, 6 Sep 2017 09:45:21 +0000 (09:45 +0000)]
Merge "[Application] Adding debug logs" into tizen_3.0

6 years ago[Application] Adding debug logs 27/146627/4
Michal Bistyga [Tue, 29 Aug 2017 15:20:39 +0000 (17:20 +0200)]
[Application] Adding debug logs

Change-Id: I9fca94f5bda30b39bfff700f8cd37c5abe81d9f3
Signed-off-by: Michal Bistyga <m.bistyga@samsung.com>
6 years ago[MediaController] Fixing client's listeners 24/147124/1
Szymon Jastrzebski [Thu, 31 Aug 2017 11:54:52 +0000 (13:54 +0200)]
[MediaController] Fixing client's listeners

Listeners, which are registered per MediaControllerServerInfo object
work globally. This causes to invoke the registered listener for every
change in any server.

[Verification] TCT MC 100% pass rate.

Change-Id: I950e047b07a16d351959fe98e47ea1ca7ff68518
Saaigned-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
6 years agoMerge "[Download] Enable download with net_proxy" into tizen_3.0
Piotr Kosko [Thu, 31 Aug 2017 05:55:44 +0000 (05:55 +0000)]
Merge "[Download] Enable download with net_proxy" into tizen_3.0

6 years ago[Download] Enable download with net_proxy 36/146636/4
Pawel Wasowski [Tue, 29 Aug 2017 14:12:17 +0000 (16:12 +0200)]
[Download] Enable download with net_proxy

[Verification] TCT download pass rate, (wearable connected
               to the internet with Android mobile as a network proxy,
               no Wi-Fi/cellular network connection): 100 %

Change-Id: I0efb8c2d5281d5249dad46d58eaf8aa7c5ddc930
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
6 years ago[version] 1.99 74/146774/1 submit/tizen_3.0/20170830.121521
Piotr Kosko [Wed, 30 Aug 2017 10:30:29 +0000 (12:30 +0200)]
[version] 1.99

Change-Id: I7ddff1b2974fe3361f62d498f736ec9ab779681d
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
6 years ago[Sensor] Check if error callback exists before calling 31/146431/2
Tomasz Marciniak [Mon, 28 Aug 2017 12:27:47 +0000 (14:27 +0200)]
[Sensor] Check if error callback exists before calling

[Verification] Code compiles. Exception is not throw if
error callback is not defined. TCT pass rate did not change.

Change-Id: I95053c70e598c1a17022edebdd6be8a334a05a06
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
6 years ago[version] 1.98 33/145133/1 accepted/tizen/3.0/common/20170823.101002 accepted/tizen/3.0/ivi/20170822.222105 accepted/tizen/3.0/mobile/20170822.222050 accepted/tizen/3.0/wearable/20170822.222501 submit/tizen_3.0/20170821.110224
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>
6 years ago[Sensor] Fixing DefaultEventComparator 61/142361/6
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>
6 years agoMerge "[Sensor] Fix for HRM Sensor" into tizen_3.0
Piotr Kosko [Mon, 21 Aug 2017 06:16:38 +0000 (06:16 +0000)]
Merge "[Sensor] Fix for HRM Sensor" into tizen_3.0

6 years agoMerge "[Sensor] Fix for HRM Sensor Change Listener" into tizen_3.0
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

6 years ago[version 1.97] 04/144704/1 accepted/tizen/3.0/common/20170821.093537 accepted/tizen/3.0/ivi/20170820.233542 accepted/tizen/3.0/mobile/20170820.233538 accepted/tizen/3.0/tv/20170820.233516 accepted/tizen/3.0/wearable/20170820.233533 submit/filesyste_fix_version/20170817.121904 submit/tizen_3.0/20170817.122045
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>
6 years agoMerge "[Filesystem] Fix for moving files on different file systems" into tizen_3.0
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

6 years ago[Filesystem] Fix for moving files on different file systems 49/144649/3
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>
6 years ago[Sensor] Fix for HRM Sensor Change Listener 56/144556/2
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>
6 years ago[Sensor] Fix for HRM Sensor 94/144294/5
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>
6 years ago[version] 1.96 63/144363/1 accepted/tizen/3.0/common/20170816.145401 accepted/tizen/3.0/ivi/20170816.131448 accepted/tizen/3.0/mobile/20170816.131459 accepted/tizen/3.0/tv/20170816.131438 accepted/tizen/3.0/wearable/20170816.131445 submit/tizen_3.0/20170816.101851
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>
6 years agoRevert "[Utils] Fix privilege bypass, StringCopy function" 42/144342/1
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>
6 years ago[version] 1.95 73/143573/1 accepted/tizen/3.0/common/20170814.174807 accepted/tizen/3.0/ivi/20170813.224734 accepted/tizen/3.0/mobile/20170813.224714 accepted/tizen/3.0/tv/20170813.224718 submit/tizen_3.0/20170810.110358
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>
6 years ago[Systeminfo] Get status and mac address if WiFi is off 70/143570/1
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>
6 years ago[version] 1.94 18/143318/1 accepted/tizen/3.0/common/20170810.115228 accepted/tizen/3.0/ivi/20170809.222418 accepted/tizen/3.0/mobile/20170809.222403 accepted/tizen/3.0/tv/20170809.222410 accepted/tizen/3.0/wearable/20170809.222414 submit/tizen_3.0/20170809.085231
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>
6 years agoMerge "[Sensor] Delay invokation of successCallback in start() method" into tizen_3.0 submit/tizen_3.0/20170809.084553
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

6 years ago[Sensor] Delay invokation of successCallback in start() method 95/143095/1
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

6 years ago[Sensor] Fixing setChangeListener method 62/142362/1
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>
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[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>
6 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>
6 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

6 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

6 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

6 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>
6 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>
6 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>
6 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>
6 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

6 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

6 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

6 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>
6 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>
6 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>
6 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>
6 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>
6 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

6 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

6 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