platform/core/api/webapi-plugins.git
4 years agoMerge branch 'tizen_4.0' into tizen_5.0 32/210632/1
Arkadiusz Pietraszek [Mon, 22 Jul 2019 12:48:41 +0000 (14:48 +0200)]
Merge branch 'tizen_4.0' into tizen_5.0

Change-Id: Id7abc98f999b2bfb8dc0b49692f688f1b4c9ee9f

4 years agoMerge "[Application] Fixed path of getAppSharedURI" into tizen_5.0
Piotr Kosko [Mon, 22 Jul 2019 12:30:05 +0000 (12:30 +0000)]
Merge "[Application] Fixed path of getAppSharedURI" into tizen_5.0

4 years ago[Application] Fixed path of getAppSharedURI 70/210570/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Professional/삼성전자 [Mon, 22 Jul 2019 09:21:02 +0000 (11:21 +0200)]
[Application] Fixed path of getAppSharedURI

Application should return path to the 'shared' directory which follows
the description of 'shared' directory content available here:
https://developer.tizen.org/development/training/native-application/understanding-tizen-programming/file-system-directory-hierarchy

New application returns the path like:
sh-3.2# ls -al /opt/usr/home/owner/apps_rw/org.example.basic/shared/
total 20
drwxr-xr-x 4 owner  users        4096 Jul 18 13:06 .
drwxr-xr-x 5 owner  users        4096 Jul 18 13:06 ..
drwxrwsr-x 2 owner  system_share 4096 Jul 18 13:06 data
lrwxrwxrwx 1 app_fw app_fw         58 Jul 18 13:06 res -> /opt/usr/globalapps/org.example.basic/shared/res
drwxr-xr-x 2 owner  users        4096 Jul 18 13:06 trusted

Instead of the previous result:
sh-3.2# ls -al /opt/usr/globalapps/org.example.basic/shared/
total 12
drwxr-xr-x 3 tizenglobalapp root 4096 Jul 18 13:06 .
drwxr-xr-x 6 tizenglobalapp root 4096 Jul 18 13:06 ..
drwxr-xr-x 2 tizenglobalapp root 4096 Jul 18 13:06 res

[Verification] Checked manually in chrome console
  TCT Application 100% passrate

Change-Id: I0032c10bf2d98487117cd0049103767f9c7f1d09

4 years ago[Application] Fixed path of getAppSharedURI 69/210569/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Professional/삼성전자 [Mon, 22 Jul 2019 09:21:02 +0000 (11:21 +0200)]
[Application] Fixed path of getAppSharedURI

Application should return path to the 'shared' directory which follows
the description of 'shared' directory content available here:
https://developer.tizen.org/development/training/native-application/understanding-tizen-programming/file-system-directory-hierarchy

New application returns the path like:
sh-3.2# ls -al /opt/usr/home/owner/apps_rw/org.example.basic/shared/
total 20
drwxr-xr-x 4 owner  users        4096 Jul 18 13:06 .
drwxr-xr-x 5 owner  users        4096 Jul 18 13:06 ..
drwxrwsr-x 2 owner  system_share 4096 Jul 18 13:06 data
lrwxrwxrwx 1 app_fw app_fw         58 Jul 18 13:06 res -> /opt/usr/globalapps/org.example.basic/shared/res
drwxr-xr-x 2 owner  users        4096 Jul 18 13:06 trusted

Instead of the previous result:
sh-3.2# ls -al /opt/usr/globalapps/org.example.basic/shared/
total 12
drwxr-xr-x 3 tizenglobalapp root 4096 Jul 18 13:06 .
drwxr-xr-x 6 tizenglobalapp root 4096 Jul 18 13:06 ..
drwxr-xr-x 2 tizenglobalapp root 4096 Jul 18 13:06 res

[Verification] Checked manually in chrome console
  TCT Application 100% passrate

Change-Id: I0032c10bf2d98487117cd0049103767f9c7f1d09

4 years agoMerge remote-tracking branch 'origin/tizen_3.0' into tizen_4.0 30/206830/3
Arkadiusz Pietraszek [Fri, 12 Jul 2019 11:47:35 +0000 (13:47 +0200)]
Merge remote-tracking branch 'origin/tizen_3.0' into tizen_4.0

[Verification] TCT passrate 100%.

Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
Change-Id: Id004158e62f5d0b6f2c09eeee5cf300d461a9d9f

4 years ago[Project][Filesystem] Fix needed after code formating of tizen_3.0 branch 86/209486/2
Arkadiusz Pietraszek [Mon, 8 Jul 2019 08:20:14 +0000 (10:20 +0200)]
[Project][Filesystem] Fix needed after code formating of tizen_3.0 branch

Prietter code formatter treated obiect properties named 'null' and 'undefined' as keywords that should not be in apostrophes and removed those apostrophes.
This change has been reverted and //prettier-ignore tags has been added.

Change-Id: I78d502b9f674397f01c959031ad37fa139dd0b16
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
4 years ago[Mediacontroller] Added callIfPossible safeguards in ServerPlaybackInfoListener. 17/209217/1
Arkadiusz Pietraszek [Thu, 27 Jun 2019 12:12:21 +0000 (14:12 +0200)]
[Mediacontroller] Added callIfPossible safeguards in ServerPlaybackInfoListener.

Change-Id: Ic77f57e39b73acc77c67c3f1cff0352a94315206
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
4 years agoMerge "[Mediacontroller] Added callIfPossible safeguards in ServerPlaybackInfoListene...
Piotr Kosko [Wed, 3 Jul 2019 09:00:58 +0000 (09:00 +0000)]
Merge "[Mediacontroller] Added callIfPossible safeguards in ServerPlaybackInfoListener." into tizen_3.0

4 years ago[MediaController] Fix for custom command without data 15/208815/1
Rafal Walczyna [Fri, 28 Jun 2019 06:37:13 +0000 (08:37 +0200)]
[MediaController] Fix for custom command without data

If custom command was sent without additional data then
command was not parsed at all.

[Verification] Tested manually

Change-Id: Id35a5852a7fa61aff48fc181926e77ee01f65ff8
Signed-off-by: Rafal Walczyna <r.walczyna@samsung.com>
4 years ago[Mediacontroller] Added callIfPossible safeguards in ServerPlaybackInfoListener. 14/208814/1
Arkadiusz Pietraszek [Thu, 27 Jun 2019 12:12:21 +0000 (14:12 +0200)]
[Mediacontroller] Added callIfPossible safeguards in ServerPlaybackInfoListener.

[verification] TCT 100% passrate

Change-Id: Ic77f57e39b73acc77c67c3f1cff0352a94315206
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
4 years ago[mediacontroller] Declare MediaControllerContentType enum. 13/208813/1
Michal Michalski [Fri, 10 May 2019 10:09:45 +0000 (12:09 +0200)]
[mediacontroller] Declare MediaControllerContentType enum.

Extracted into separate commit from adding ContentType WebAPI
because it is needed by Search API implementation as well.

[Verification] Code compiles. Both ContentType API implementation and Search API
implementation compile as well with this commit as a parent.

Signed-off-by: Michal Michalski <m.michalski2@partner.samsung.com>
Change-Id: I1f140bb8dd608887b90a1d7b5a202c493e5fd3e4

4 years ago[mediacontroller][common] Use PlatformEnum in MediaController. 12/208812/1
Michal Michalski [Tue, 7 May 2019 08:59:32 +0000 (10:59 +0200)]
[mediacontroller][common] Use PlatformEnum in MediaController.

Refactor enums in MediaController module using PlatformEnum
template class.

[Verification] Code compiles + MC TCT passed.

Signed-off-by: Michal Michalski <m.michalski2@partner.samsung.com>
Change-Id: Ie861d1c0aca7651a2f9ce45b966773082abf6045

4 years ago[common] Define PlatformEnum class template. 11/208811/1
Michal Michalski [Tue, 7 May 2019 08:36:56 +0000 (10:36 +0200)]
[common] Define PlatformEnum class template.

Will replace current way enums are defined in webapi-plugins.

[Verification] Code compiles.

Signed-off-by: Michal Michalski <m.michalski2@partner.samsung.com>
Change-Id: Id8c53df46ae9039e81d699884494b72c20d5cba8

4 years ago[mediacontroller] Fix error handling in ReplyCommand. 10/208810/1
Michal Michalski [Tue, 16 Apr 2019 10:26:16 +0000 (12:26 +0200)]
[mediacontroller] Fix error handling in ReplyCommand.

MediaControllerServerReplyCommand function did not
handle errors returned by MediaControllerServer::CommandReply()
call. This commit handles those errors.

[Verification]
Code compiles.

Change-Id: Ibc5acacc32ff23a6d8fa7cac096ade0e40e2b697
Signed-off-by: Michal Michalski <m.michalski2@partner.samsung.com>
4 years ago[mediacontroller] Use request_id for listener matching in SendCommand. 09/208809/1
Michal Michalski [Wed, 20 Mar 2019 17:19:15 +0000 (18:19 +0100)]
[mediacontroller] Use request_id for listener matching in SendCommand.

SendCommand method was using watchId to identify CommandReply callback which
should be called. It was passed in bundle object to mc_client_send_custom_cmd
function. Now instead of passing watchId we use already available request_id
to perform the same matching for command reply listeners.

[Verification]

Manual test.
tct-mediacontroller-tizen-tests - pass 100%

Change-Id: I57e90dbe36d7726f2e2f66866b11910d5d1d5d0d
Signed-off-by: Michal Michalski <m.michalski2@partner.samsung.com>
4 years ago[MediaController] Change InvalidState to UnknownError. 08/208808/1
Lukasz Bardeli [Tue, 12 Mar 2019 12:43:18 +0000 (13:43 +0100)]
[MediaController] Change InvalidState to UnknownError.

[Verification] Code compiles without error.

Change-Id: Ibda8a419257caf071c7ed8e08e5b496b5c0efe2e
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
4 years ago[Mediacontroller] Added callIfPossible safeguards in ServerPlaybackInfoListener. 27/208727/1
Arkadiusz Pietraszek [Thu, 27 Jun 2019 12:12:21 +0000 (14:12 +0200)]
[Mediacontroller] Added callIfPossible safeguards in ServerPlaybackInfoListener.

Change-Id: Ic77f57e39b73acc77c67c3f1cff0352a94315206
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
4 years ago[Mediacontroller] Setter fixes for shuffleMode, repeatMode end position in MediaContr... 15/208715/1
Arkadiusz Pietraszek [Thu, 27 Jun 2019 09:14:58 +0000 (11:14 +0200)]
[Mediacontroller] Setter fixes for shuffleMode, repeatMode end position in MediaControllerPlaybackInfo

Previous implementation intended to check for null and undefined and in reality didn't allow for setting 'false' or '0' values.

Change-Id: I03194e81d5d0bd5ef97a88d01a014f758a6ca49d

4 years ago[Mediacontroller] Setter fixes for shuffleMode, repeatMode end position in MediaContr... 14/208714/1
Arkadiusz Pietraszek [Thu, 27 Jun 2019 09:14:58 +0000 (11:14 +0200)]
[Mediacontroller] Setter fixes for shuffleMode, repeatMode end position in MediaControllerPlaybackInfo

Previous implementation intended to check for null and undefined and in reality didn't allow for setting 'false' or '0' values.

Change-Id: I03194e81d5d0bd5ef97a88d01a014f758a6ca49d

4 years ago[version] 2.34 13/208713/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Professional/삼성전자 [Thu, 27 Jun 2019 09:36:13 +0000 (11:36 +0200)]
[version] 2.34

Change-Id: Idd416b0d826a58f7bbc72edb07d4570aa3319212

4 years ago[Mediacontroller] Setter fixes for shuffleMode, repeatMode end position in MediaContr... 12/208712/3
Arkadiusz Pietraszek [Thu, 27 Jun 2019 09:14:58 +0000 (11:14 +0200)]
[Mediacontroller] Setter fixes for shuffleMode, repeatMode end position in MediaControllerPlaybackInfo

Previous implementation intended to check for null and undefined and in reality didn't allow for setting 'false' or '0' values.

Change-Id: I03194e81d5d0bd5ef97a88d01a014f758a6ca49d

5 years ago[messaging] Fix synchronization issues 41/206641/1 accepted/tizen_5.0_unified accepted/tizen/5.0/unified/20190529.001828 submit/tizen_5.0/20190528.054019
Pawel Wasowski [Thu, 9 May 2019 11:31:49 +0000 (13:31 +0200)]
[messaging] Fix synchronization issues

Due to the delay between updating email with native C API functions and
updates of the corresponding message/thread records in the mail
database, race conditions occured in the previous implementation,
resulting in inconsitencies between thread_ids in the DB and those of
messages in JS layer. Active waits have been added to mitigate this
problems.

[Verification] tct-tizen-messaging-email pass rate: 100%

Change-Id: Ie0771ffc40e6cdee696756a8e831ae56bbe8f84d
Signed-off-by: Pawel Wasowski <p.wasowski2@samsung.com>
(cherry picked from commit 1440977fb5202077c98d86da90ee2046bc213132)

5 years ago[version] 2.33 29/205329/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Professional/삼성전자 [Thu, 2 May 2019 10:29:42 +0000 (12:29 +0200)]
[version] 2.33

Change-Id: I2a04c187950845b460b398c9b16ad963c4c2330f

5 years ago[Project] JS code formatting 84/202884/7
Arkadiusz Pietraszek [Wed, 3 Apr 2019 11:09:04 +0000 (13:09 +0200)]
[Project] JS code formatting

All project *.js files were formatted with eslint tool, to eliminate CodingRule_Auto negative marks.
Additionally Prettier tool was used for unified line breaking rules.
In few cases, the tool did not break line for very long object definitions e.g.
HumanActivityRecorderPressureData.prototype.constructor = HumanActivityRecorderPressureData;

in such cases, line was broken manually and flag // prettier-ignore was added to ignore next node.

Change-Id: I537435c652abad22364421fc4c5ebddd411defbf

5 years agoMerge branch 'tizen_4.0' into tizen_5.0 24/205324/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Professional/삼성전자 [Thu, 2 May 2019 09:00:18 +0000 (11:00 +0200)]
Merge branch 'tizen_4.0' into tizen_5.0

Change-Id: Ie11b3d545d450613ecf61ccee824744108218c73

5 years agoMerge branch 'tizen_3.0' into tizen_4.0 17/205317/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Professional/삼성전자 [Thu, 2 May 2019 07:56:41 +0000 (09:56 +0200)]
Merge branch 'tizen_3.0' into tizen_4.0

Change-Id: I0d282d007e89b4c761fa74d9b0737ca35c29ec57

5 years ago[Content] isFavorite added to editableAttributes array 21/204021/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Professional/삼성전자 [Thu, 18 Apr 2019 11:54:27 +0000 (13:54 +0200)]
[Content] isFavorite added to editableAttributes array

[Bug] Since 2.3 isFavorite is an editableAttribute, which was missing
in editableAttributes array. Now added it there.

[Verification] Code compiles without errors.

Change-Id: Ib5266a66920f0050fd5c25287602514bc4ea3762

5 years agoMerge "[Project][Codeformat] Added prettier as partial formatter for JS" into tizen_3.0
Piotr Kosko [Wed, 17 Apr 2019 10:35:16 +0000 (10:35 +0000)]
Merge "[Project][Codeformat] Added prettier as partial formatter for JS" into tizen_3.0

5 years agoMerge "[Project][code_formatter] Added u options and changed JS formatting and valida...
Piotr Kosko [Wed, 17 Apr 2019 10:34:30 +0000 (10:34 +0000)]
Merge "[Project][code_formatter] Added u options and changed JS formatting and validating tools" into tizen_3.0

5 years ago[Project][Codeformat] Added prettier as partial formatter for JS 79/203179/2
Piotr Kosko/Native/Web API (PLT) /SRPOL/Professional/삼성전자 [Wed, 10 Apr 2019 09:00:29 +0000 (11:00 +0200)]
[Project][Codeformat] Added prettier as partial formatter for JS

[Feature] Existing solution check the format using eslint and fix
some issues with predefined rules (which match the requirements
of review.tizen.org CodingRule_Auto bot rules.
However the tool checks the validity, it does not provide auto
formating of too long lines issues.
To ensure such feature, the new tool was introduced and executed before
eslint validation.
Thanks to prettier, the line breaks are unified and handled the same
way in whole project.

Change-Id: I077036521307ef28fda5388ecab01b8d850ad3e3

5 years agoMerge branch 'tizen_4.0' into tizen_5.0 83/203083/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Professional/삼성전자 [Tue, 9 Apr 2019 11:04:03 +0000 (13:04 +0200)]
Merge branch 'tizen_4.0' into tizen_5.0

Change-Id: I42897295af557b4844c1b9c4a16a687e96045cc5

5 years agoMerge branch 'tizen_3.0' into tizen_4.0 78/203078/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Professional/삼성전자 [Tue, 9 Apr 2019 10:10:15 +0000 (12:10 +0200)]
Merge branch 'tizen_3.0' into tizen_4.0

Change-Id: I8f28e19de69751b7b92328491366aa0b8c7c6847

5 years ago[version] 2.32 72/203072/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Professional/삼성전자 [Tue, 9 Apr 2019 10:08:45 +0000 (12:08 +0200)]
[version] 2.32

Change-Id: Idb24a1afa087aa101cebcfde7d46d283d459c956

5 years ago[Filesystem] listFiles method of File ignores files without access 71/203071/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Professional/삼성전자 [Mon, 8 Apr 2019 08:18:05 +0000 (10:18 +0200)]
[Filesystem] listFiles method of File ignores files without access

[Bug] Files with invalid SMACK labels (not allowed to be accessed by app)
caused exception about missing member ("location is required argument").

Fix ignores the files that cannot be accessed.

[Verification] Manually checked with Chrome console and trying to list files
with invalid SMACK label. Files are being ignored.
100% passrate for filesystem module.

Change-Id: I48ed83ebbba5d0c6cfa0e597f083a7a1abce17fa

5 years ago[Project][code_formatter] Added u options and changed JS formatting and validating... 70/202370/5
Arkadiusz Pietraszek [Wed, 27 Mar 2019 14:29:37 +0000 (15:29 +0100)]
[Project][code_formatter] Added u options and changed JS formatting and validating tools

Now eslint is used to format js files.
Not all issues can be fixed by eslint, so it prints list of issues for user to fix.
All 'u' options in formatter format appropriate files, that was changed from last commit.
Since files to format are not commited, this script backs up those files.

[Verification] Script executes without errors and proper files are chosen to format. Formated .js files have 4 spaces of indentation.

Change-Id: I10509ce3f639b25cca7e68e95e7c9419d9d82304
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
5 years ago[messaging] fixed bug with foldersupdate callback 88/201888/2
Dawid Juszczak [Wed, 20 Mar 2019 12:42:20 +0000 (13:42 +0100)]
[messaging] fixed bug with foldersupdate callback

foldersupdated callback in method addFoldersChangeListener was not
invoked when renamed folder

[Verification] Tested on device, works fine. Also tested with new
testcase added in commit:
https://review.tizen.org/gerrit/#/c/test/tct/web/api/+/201889/

Change-Id: Ic48f0740da9c73ef676d30eedf72226c7f4d5699
Signed-off-by: Dawid Juszczak <d.juszczak@samsung.com>
5 years ago[messaging] fixed bug with foldersupdate callback 77/201877/2
Dawid Juszczak [Wed, 20 Mar 2019 11:19:48 +0000 (12:19 +0100)]
[messaging] fixed bug with foldersupdate callback

foldersupdated callback in method addFoldersChangeListener was not
invoked when renamed folder

[Verification] Tested on device, works fine. Also tested with new
testcase added in commit:
https://review.tizen.org/gerrit/#/c/test/tct/web/api/+/201880/

Change-Id: I26f3ae8991218e97d1a55cf6a0abffba622ed25f
Signed-off-by: Dawid Juszczak <d.juszczak@samsung.com>
5 years ago[messaging] fixed bug with foldersupdate callback 90/201890/2
Dawid Juszczak [Wed, 20 Mar 2019 13:55:22 +0000 (14:55 +0100)]
[messaging] fixed bug with foldersupdate callback

foldersupdated callback in method addFoldersChangeListener was not
invoked when renamed folder

[Verification] Tested on device, works fine. Also tested with new
testcase added in commit:
https://review.tizen.org/gerrit/#/c/test/tct/web/api/+/201891/

Change-Id: Ia5efe12e79b7f388c2a967a7f118c33edc34d06f
Signed-off-by: Dawid Juszczak <d.juszczak@samsung.com>
5 years ago[version] 2.38 71/198871/1 accepted/tizen/5.0/unified/20190319.115547 submit/tizen_5.0/20190130.120958 submit/tizen_5.0/20190318.101254
Piotr Kosko/Native/Web API (SWP) /SRPOL/Professional/삼성전자 [Wed, 30 Jan 2019 12:07:46 +0000 (13:07 +0100)]
[version] 2.38

Change-Id: If39fca0d841550a2b4d36489374276686adcf14d
Signed-off-by: Piotr Kosko/Native/Web API (SWP) /SRPOL/Professional/삼성전자 <p.kosko@samsung.com>
5 years ago[Common] Fix preventing crash in argument validator 67/198867/1
Lukasz Bardeli [Mon, 7 Jan 2019 10:24:28 +0000 (11:24 +0100)]
[Common] Fix preventing crash in argument validator

If to method which takes object as parameter, array with one element
of this object will be passed them applicaiton will crash. This fix prevent
such situations and will throw TypeMissmatch

[Verification] Code compiles without error. Tested in chrome console and
execute automatic TCT (modules which have methods taking platform object as parameter -
account, alarm, application, bluetooth, bookmark, calendar, callhistory, contact,
content, download, exif, filesystem, iotcon, mediacontroller, messageport,
messaging, nfc, notification, push, time)
100% passrate

Change-Id: Idfd9ad6f1acc0a6d5fd140dfd655d1cab7d2291a
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
(cherry picked from commit faaf457e2aa1307f0c3406208374d71d5c98827b)

5 years ago[Messaging] Adding Log to get information about open error 12/198412/1
Lukasz Bardeli [Thu, 24 Jan 2019 09:40:40 +0000 (10:40 +0100)]
[Messaging] Adding Log to get information about open error

[Verification] Code compiles properly.

Change-Id: I41dcf32e20eea77e1c7f37a7bc3d981baaa2cc32
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
5 years agoMerge branch 'tizen_4.0' into tizen_5.0 86/197786/1 submit/tizen_5.0/20190117.055245
Piotr Kosko/Native/Web API (SWP) /SRPOL/Professional/삼성전자 [Wed, 16 Jan 2019 09:39:59 +0000 (10:39 +0100)]
Merge branch 'tizen_4.0' into tizen_5.0

Change-Id: Icf1b978d0b5a6dea865fe10426e51ed79fe0d7ae

5 years agoMerge branch 'tizen_3.0' into tizen_4.0 83/197783/1
Piotr Kosko/Native/Web API (SWP) /SRPOL/Professional/삼성전자 [Wed, 16 Jan 2019 09:08:42 +0000 (10:08 +0100)]
Merge branch 'tizen_3.0' into tizen_4.0

Change-Id: I7bdf58474ccd556f444f93dee7856566a65373b6

5 years ago[version] 2.31 81/197781/2
Piotr Kosko/Native/Web API (SWP) /SRPOL/Professional/삼성전자 [Wed, 16 Jan 2019 08:46:08 +0000 (09:46 +0100)]
[version] 2.31

Change-Id: Ic8c3ade13866c7e55ee660346c3a79103f29d006

5 years ago[Archive][Exif] Added checking return value of fseek 80/197780/2
Piotr Kosko/Native/Web API (SWP) /SRPOL/Professional/삼성전자 [Wed, 16 Jan 2019 08:45:10 +0000 (09:45 +0100)]
[Archive][Exif] Added checking return value of fseek

SVACE issues: 246302, 246317

Change-Id: If4f803b9db18c352912290b25df706a21cd07853
Signed-off-by: Piotr Kosko/Native/Web API (SWP) /SRPOL/Professional/삼성전자 <p.kosko@samsung.com>
5 years agoMerge branch 'tizen_4.0' into tizen_5.0 90/197090/1
Piotr Kosko/Native/Web API (SWP) /SRPOL/Professional/삼성전자 [Wed, 9 Jan 2019 10:54:18 +0000 (11:54 +0100)]
Merge branch 'tizen_4.0' into tizen_5.0

Change-Id: I95d2ae95dbf4f9688dcd3c4beb3fecb0aac52206

5 years agoMerge branch 'tizen_3.0' into tizen_4.0 88/197088/1
Piotr Kosko/Native/Web API (SWP) /SRPOL/Professional/삼성전자 [Wed, 9 Jan 2019 10:33:41 +0000 (11:33 +0100)]
Merge branch 'tizen_3.0' into tizen_4.0

Change-Id: Ifadc8944744fa1fe4e944670a51c184f1c36c228

5 years ago[version] 2.30 87/197087/1
Piotr Kosko/Native/Web API (SWP) /SRPOL/Professional/삼성전자 [Wed, 9 Jan 2019 10:28:49 +0000 (11:28 +0100)]
[version] 2.30

Change-Id: I701491ee275a9540c9ddb821f420898629a3f5ca
Signed-off-by: Piotr Kosko/Native/Web API (SWP) /SRPOL/Professional/삼성전자 <p.kosko@samsung.com>
5 years ago[Messaging] Prevent crash on getMessageServices call 28/196828/3
Pawel Wasowski [Wed, 19 Dec 2018 18:05:20 +0000 (19:05 +0100)]
[Messaging] Prevent crash on getMessageServices call

Calling tizen.messaging.getMessageServices() multiple times at
short intervals used to cause a crash, due to race condition, occurring
between different threads, modifying the same MessagingManager
instance's fields.
The fix moves execution of the underlying implementation to the main
thread - it is not called concurrently. The function execution time
is typically below 2 ms, so moving it to the main thread should
not worsen user experience.

[Verification] tct-tizen-messaging-email-tests pass rate: 100%
               tct-tizen-messaging-sms-tests pass rate: 100%
               tct-tizen-messaging-mms-tests pass rate: 100%
               A code snippet, that used to cause a crash, does not
               cause crash now:
               for (var i = 0; i < 1000; ++i) {
                   tizen.messaging.getMessageServices('messaging.email',
                                                      s=>{console.log(s);},
                                                      e=>{console.error(e);});
               }

Change-Id: I2f140281e64aeffea1ad9ca15f99ee38378693d3
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
5 years ago[Messaging] Prevent crash on getMessageServices call 95/196595/5
Pawel Wasowski [Wed, 19 Dec 2018 18:05:20 +0000 (19:05 +0100)]
[Messaging] Prevent crash on getMessageServices call

Calling tizen.messaging.getMessageServices() multiple times at
short intervals used to cause a crash, due to race condition, occurring
between different threads, modifying the same MessagingManager
instance's fields.
The fix moves execution of the underlying implementation to the main
thread - it is not called concurrently. The function execution time
is typically below 2 ms, so moving it to the main thread should
not worsen user experience.

[Verification] tct-tizen-messaging-email-tests pass rate: 100%
               tct-tizen-messaging-sms-tests pass rate: 100%
               tct-tizen-messaging-mms-tests pass rate: 100%
               A code snippet, that used to cause a crash, does not
               cause crash now:
               for (var i = 0; i < 1000; ++i) {
                   tizen.messaging.getMessageServices('messaging.email',
                                                      s=>{console.log(s);},
                                                      e=>{console.error(e);});
               }

Change-Id: I2f140281e64aeffea1ad9ca15f99ee38378693d3
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
5 years ago[Content] Replacing deprecated function 83/196983/1
Szymon Jastrzebski [Tue, 8 Jan 2019 09:46:38 +0000 (10:46 +0100)]
[Content] Replacing deprecated function

+ Function media_info_create_thumbnail has been deprecated since 5.0,
  media_info_generate_thumbnail is used instead.

[Verification] TCT Content 100%

Change-Id: Ic79400e6ed2f8c18aa803e1d3f9953d9c82a78c7

5 years ago[Sound] Replacing deprecated function 26/196826/1
Szymon Jastrzebski [Fri, 4 Jan 2019 14:30:25 +0000 (15:30 +0100)]
[Sound] Replacing deprecated function

[Verification] TCT Sound 100%

Change-Id: I6ad5e1142bc64a731244608a7b5629831570fef3
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
5 years agoFix ApplicationControlData creation 71/196171/1
Pawel Wasowski [Fri, 21 Dec 2018 13:16:04 +0000 (14:16 +0100)]
Fix ApplicationControlData creation

Verification: 100% TCT pass rate

Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
Change-Id: I3dc0a7eba685a0ec7e1e111350f9a68ae3f3296d

5 years agoMerge "[Filesystem] Moving execution of FSManager's methods into TaskQueue" into...
Piotr Kosko [Thu, 6 Dec 2018 13:50:43 +0000 (13:50 +0000)]
Merge "[Filesystem] Moving execution of FSManager's methods into TaskQueue" into tizen_5.0

5 years agoMerge "[MessagePort] Fixed issue with removeMessagePortListener without any added...
Piotr Kosko [Thu, 6 Dec 2018 13:31:29 +0000 (13:31 +0000)]
Merge "[MessagePort] Fixed issue with removeMessagePortListener without any added earlier" into tizen_5.0

5 years ago[MessagePort] Fixed issue with removeMessagePortListener without any added earlier 47/194647/1
Lukasz Bardeli [Wed, 5 Dec 2018 09:18:08 +0000 (10:18 +0100)]
[MessagePort] Fixed issue with removeMessagePortListener without any added earlier

If any listener was added before remove then error was thrown
'Cannot read property length of undefined'

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

Change-Id: I96000345ae483a9fa2c0b50a6be0ece427ce8e1b
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
5 years ago[MessagePort] Fixed issue with removeMessagePortListener without any added earlier 45/194645/1
Lukasz Bardeli [Wed, 5 Dec 2018 09:18:08 +0000 (10:18 +0100)]
[MessagePort] Fixed issue with removeMessagePortListener without any added earlier

If any listener was added before remove then error was thrown
'Cannot read property length of undefined'

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

Change-Id: I96000345ae483a9fa2c0b50a6be0ece427ce8e1b
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
5 years ago[MessagePort] Fixed issue with removeMessagePortListener without any added earlier 46/194446/3
Lukasz Bardeli [Wed, 5 Dec 2018 09:18:08 +0000 (10:18 +0100)]
[MessagePort] Fixed issue with removeMessagePortListener without any added earlier

If any listener was added before remove then error was thrown
'Cannot read property length of undefined'

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

Change-Id: I96000345ae483a9fa2c0b50a6be0ece427ce8e1b
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
5 years agoChanging scheduling jobs to the main loop/worker 40/194440/1
Szymon Jastrzebski [Fri, 24 Aug 2018 10:15:08 +0000 (12:15 +0200)]
Changing scheduling jobs to the main loop/worker

+ Creating stand-alone threads should be only exceptional, thus the
  occurrences have been replaced by calling TaskQueue::Async.

[Verification] Callhistory, NBS, Preference, SE, SS, Widget
               TCT 100% pass rate

Change-Id: Ibf7493d04c2cd48221d4a4f9f708722e61ee1459
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
5 years ago[Common] Adding guard to protect container of Instances* 39/194439/1
Szymon Jastrzebski [Thu, 28 Jun 2018 06:35:46 +0000 (08:35 +0200)]
[Common] Adding guard to protect container of Instances*

[Verification] TCT Application, Systeminfo, Filesystem 100%

Change-Id: Ife71f69fc031d14c6bcb1ec694cd2be102ed7f75
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
5 years ago[Common] Implementation for parallel Worker 38/194438/1
Szymon Jastrzebski [Fri, 22 Jun 2018 11:38:55 +0000 (13:38 +0200)]
[Common] Implementation for parallel Worker

Change-Id: I93a0494cf5c943d2ead9e55957c25468764aebf8
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
5 years ago[Common] Moving Filesystem Worker's implementation to common 37/194437/1
Szymon Jastrzebski [Fri, 22 Jun 2018 09:24:08 +0000 (11:24 +0200)]
[Common] Moving Filesystem Worker's implementation to common

Change-Id: I0119cee796112d46bbb5e7eb8ebf9fa7042fc9ff
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
5 years ago[Filesystem] Moving execution of FSManager's methods into TaskQueue 39/194339/1
Szymon Jastrzebski [Mon, 3 Dec 2018 08:00:33 +0000 (09:00 +0100)]
[Filesystem] Moving execution of FSManager's methods into TaskQueue

Change-Id: I97c136014e57ba9d677ce6d8e7633531348bf1c6
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
5 years agoMerge branch 'tizen_5.0' into tizen 05/193805/1 accepted/tizen/unified/20181127.073334 accepted/tizen/unified/20181128.144730 submit/tizen/20181126.112620 submit/tizen/20181128.010852
Lukasz Bardeli [Mon, 26 Nov 2018 11:19:29 +0000 (12:19 +0100)]
Merge branch 'tizen_5.0' into tizen

Change-Id: I7c84d15458fb0b79f5379924c0745dc69e963e9c

5 years ago[version] 2.35 82/193782/1 accepted/tizen/5.0/unified/20181127.073210 submit/tizen_5.0/20181126.103411
Lukasz Bardeli [Mon, 26 Nov 2018 10:18:42 +0000 (11:18 +0100)]
[version] 2.35

Change-Id: Ia943de0b76d2e6721838e7dfb8291ed8c99d2446
Signed-off-by: Lukasz Bardeli <l.bardeli@AMDC967.digital.local>
5 years agoMerge "[Archive] Fix for preventing errno overwriting" into tizen_5.0
Lukasz Bardeli [Mon, 26 Nov 2018 09:53:30 +0000 (09:53 +0000)]
Merge "[Archive] Fix for preventing errno overwriting" into tizen_5.0

5 years ago[Archive] Fix for preventing errno overwriting 79/193779/2
Lukasz Bardeli [Mon, 26 Nov 2018 09:49:53 +0000 (10:49 +0100)]
[Archive] Fix for preventing errno overwriting

Sometimes errno was overwritten and in switch return different values that was
assigned in lstat. This caused issue in throwing errors (IO instead Not Found)

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

Change-Id: I79fc23cdd4c9113cab56d42cee6b5df82ed632a1
Signed-off-by: Lukasz Bardeli <l.bardeli@AMDC967.digital.local>
5 years ago[Filesystem] Fixing return behaviour for FileHandle object 77/193777/1
Piotr Kosko/Native/Web API (SWP) /SRPOL/Professional/삼성전자 [Mon, 26 Nov 2018 08:08:12 +0000 (09:08 +0100)]
[Filesystem] Fixing return behaviour for FileHandle object

[Bug] When returning the asynchronous error while doing an operation on
  FileHandle, the processing was not interrupted. Missing return statement
  in those cases was added.

[Verification] Code compiles without errors.
  TCT passrate for Filesystem - 100%

Change-Id: Ie8ba77922fa74c0263c40e55a157c2979b893cff
Signed-off-by: Piotr Kosko/Native/Web API (SWP) /SRPOL/Professional/삼성전자 <p.kosko@samsung.com>
5 years agoMerge "[Mediacontroller] Removed usage of removed native API" into tizen
Piotr Kosko [Fri, 23 Nov 2018 13:11:06 +0000 (13:11 +0000)]
Merge "[Mediacontroller] Removed usage of removed native API" into tizen

5 years agoMerge "Changing scheduling jobs to the main loop/worker" into tizen
Piotr Kosko [Fri, 23 Nov 2018 13:10:24 +0000 (13:10 +0000)]
Merge "Changing scheduling jobs to the main loop/worker" into tizen

5 years agoMerge "[Common] Adding guard to protect container of Instances*" into tizen
Piotr Kosko [Fri, 23 Nov 2018 13:04:37 +0000 (13:04 +0000)]
Merge "[Common] Adding guard to protect container of Instances*" into tizen

5 years agoMerge "[Common] Implementation for parallel Worker" into tizen
Piotr Kosko [Fri, 23 Nov 2018 13:02:40 +0000 (13:02 +0000)]
Merge "[Common] Implementation for parallel Worker" into tizen

5 years ago[Mediacontroller] Removed usage of removed native API 86/193686/2
Piotr Kosko/Native/Web API (SWP) /SRPOL/Professional/삼성전자 [Fri, 23 Nov 2018 07:54:51 +0000 (08:54 +0100)]
[Mediacontroller] Removed usage of removed native API

[Feature] As the native support for old enum values was removed,
  there is no need for using multimap in webapi code. It was changed
  regular map instead.

[Native ACR] According to removal of native API
  http://suprem.sec.samsung.net/jira/browse/ACR-1314 we need to
  remove native code which creates buildbreak.

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

Change-Id: I5f23941f12b279b83079eb3d482d651c567fc847

5 years agoMerge "[PPM] Removing unnecessary static casts" into tizen_5.0
Piotr Kosko [Thu, 22 Nov 2018 13:31:19 +0000 (13:31 +0000)]
Merge "[PPM] Removing unnecessary static casts" into tizen_5.0

5 years ago[Application] Make launch() and launchAppControl() asynchronous 76/192676/3
Pawel Wasowski [Mon, 15 Oct 2018 14:50:07 +0000 (16:50 +0200)]
[Application] Make launch() and launchAppControl() asynchronous

launch() and launchAppControl() were implemented synchronously, due to
native APIs limitations. Both functions were refactored to use new
native function, enabling sending application controls asynchronously.

[Verification] TCT pass rate: 100%

Change-Id: I6cb809d4b5713ca4a80a1f48649fb680358fa7d4
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
Signed-off-by: Rafal Walczyna <r.walczyna@partner.samsung.com>
5 years ago[PPM] Removing unnecessary static casts 41/193541/2
Szymon Jastrzebski [Wed, 21 Nov 2018 16:12:23 +0000 (17:12 +0100)]
[PPM] Removing unnecessary static casts

+ SDL-42
+ Useless variables removed
+ Fixed memory leak

[Verification] TCT PPM 100%

Change-Id: Iccc3d6875bae6c2883f44977c22db812d73e5d01
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
5 years ago[Application] Refactor app_control_h construction. Fix minor bugs. 58/192558/3
Pawel Wasowski [Mon, 5 Nov 2018 09:27:50 +0000 (10:27 +0100)]
[Application] Refactor app_control_h construction. Fix minor bugs.

ApplicationUtils::ApplicationControlToService() function did not set
launch_mode in an app_control_h object. As a result, methods using the
function had to set launch_mode. Now the function sets the launch mode.

Apart from that change, this commit introduces minor fixes:
* error codes returned by native functions in
ApplicationUtils::ApplicationControlToService() and
ApplicationUtils::ApplicationControlDataToServiceExtraData()
are now tested
* log messages in modified functions are more informative
* ApplicationManager::LaunchAppControl() no longer sets launch_mode of
an app_control_h object

[Verification] TCT pass rate: 100%

Change-Id: Ibc4c2625ce795c872560d13454895671777c6f2b
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
5 years agoMerge "[Common] Moving Filesystem Worker's implementation to common" into tizen
Piotr Kosko [Tue, 20 Nov 2018 11:26:29 +0000 (11:26 +0000)]
Merge "[Common] Moving Filesystem Worker's implementation to common" into tizen

5 years agoMerge "[WidgetService] Unify way of checking watchId in webapi plugins." into tizen_5.0
Piotr Kosko [Tue, 20 Nov 2018 10:00:47 +0000 (10:00 +0000)]
Merge "[WidgetService] Unify way of checking watchId in webapi plugins." into tizen_5.0

5 years ago[WidgetService] Unify way of checking watchId in webapi plugins. 12/192712/2
Lukasz Bardeli [Tue, 20 Nov 2018 09:25:54 +0000 (10:25 +0100)]
[WidgetService] Unify way of checking watchId in webapi plugins.

Unify the way of how passed argument is checked in removeListener methods to be
consistent with other modules in webapi plugins.

[Verification] Code compiles without error.
               I/StarFish(22486): console.log: [tct-widgetservice-tizen-test] - 85 passed, 0 failed, 0 timed out, 0 not run.

Change-Id: I904e4f8ef8b536b2a5c0fc22c3aee2b897c7b90b
Signed-off-by: Lukasz Bardeli <l.bardeli@AMDC967.digital.local>
5 years agoMerge branch 'tizen_5.0' into tizen 19/193419/1
Piotr Kosko/Native/Web API (SWP) /SRPOL/Professional/삼성전자 [Tue, 20 Nov 2018 08:50:09 +0000 (09:50 +0100)]
Merge branch 'tizen_5.0' into tizen

Change-Id: I8baf7ed0da8fbe05922fb6e9423b3ff8132018ad

5 years agoMerge "Merge branch 'tizen_4.0' into tizen_5.0" into tizen_5.0
Piotr Kosko [Tue, 20 Nov 2018 08:46:26 +0000 (08:46 +0000)]
Merge "Merge branch 'tizen_4.0' into tizen_5.0" into tizen_5.0

5 years agoMerge "[Application] Fix ApplicationControl object construction and logs" into tizen_5.0
Piotr Kosko [Tue, 20 Nov 2018 08:42:20 +0000 (08:42 +0000)]
Merge "[Application] Fix ApplicationControl object construction and logs" into tizen_5.0

5 years agoMerge branch 'tizen_4.0' into tizen_5.0 14/193414/1
Piotr Kosko/Native/Web API (SWP) /SRPOL/Professional/삼성전자 [Tue, 20 Nov 2018 08:36:20 +0000 (09:36 +0100)]
Merge branch 'tizen_4.0' into tizen_5.0

Change-Id: I1006e7daf1ab5f3375dbb9c39c945cc6ea69365b

5 years agoMerge branch 'tizen_3.0' into tizen_4.0 07/193407/1
Piotr Kosko/Native/Web API (SWP) /SRPOL/Professional/삼성전자 [Tue, 20 Nov 2018 08:06:54 +0000 (09:06 +0100)]
Merge branch 'tizen_3.0' into tizen_4.0

Change-Id: I3142680c3588c1287d4dc23af6aee9832ebe6cd0

5 years ago[version] 2.29 44/193344/1
Piotr Kosko/Native/Web API (SWP) /SRPOL/Professional/삼성전자 [Mon, 19 Nov 2018 13:56:05 +0000 (14:56 +0100)]
[version] 2.29

Change-Id: I27c09aef9adc3ba125477521e95a85633b0e702d

5 years ago[Common] Added missing return statement 43/193343/1
Piotr Kosko/Native/Web API (SWP) /SRPOL/Professional/삼성전자 [Mon, 19 Nov 2018 13:46:34 +0000 (14:46 +0100)]
[Common] Added missing return statement

[Bug] When parsing invalid message, exception is catched, but the control
  is not finished. Going to following lines, other exception would be raised.
  We need to finish execution for invalid message.

[Verification] Code compiles without errors.

Change-Id: I65784e775b9a765332c4a1f0a19b8184e896872c
Signed-off-by: Piotr Kosko/Native/Web API (SWP) /SRPOL/Professional/삼성전자 <p.kosko@samsung.com>
5 years ago[Application] Fix ApplicationControl object construction and logs 31/192431/3
Pawel Wasowski [Fri, 2 Nov 2018 14:39:33 +0000 (15:39 +0100)]
[Application] Fix ApplicationControl object construction and logs

This commit fixes 2 issues of
ApplicationUtils::ServiceToApplicationControl function:
1. launchMode field of JS ApplicationControl object was not filled.
Now, this field is filled properly.
2. valid, empty values, obtained from app_control_h object were logged
as erroneous. Now they are logged as empty.

[Verification] TCT pass rate: 100%

Change-Id: I6589d73ccebc35fbede0c9fac6b663b376970174
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
5 years ago[version] 2.33 97/192997/1 accepted/tizen/unified/20181114.074445 submit/tizen/20181113.114313
Lukasz Bardeli [Tue, 13 Nov 2018 11:15:06 +0000 (12:15 +0100)]
[version] 2.33

Change-Id: Ia46d684e134f26a08b83dd6cfef19b91fe6ea7e1
Signed-off-by: Lukasz Bardeli <l.bardeli@AMDC967.digital.local>
5 years ago[Common] Fixing building dependency issues part 1 96/192996/1
Piotr Kosko/Native/Web API (SWP) /SRPOL/Professional/삼성전자 [Fri, 9 Nov 2018 11:44:55 +0000 (12:44 +0100)]
[Common] Fixing building dependency issues part 1

    Fixed some modules dependencies issues.
    Fixed gyp files for using only dependencies verified by designed tool.

    [Verification] Code builds successfully.

Change-Id: I8f419781c1269d53dc77e15322d74a1db45bb266

5 years ago[version] 2.33 90/192990/1 accepted/tizen/5.0/unified/20181114.074511 submit/tizen_5.0/20181113.111903
Lukasz Bardeli [Tue, 13 Nov 2018 11:15:06 +0000 (12:15 +0100)]
[version] 2.33

Change-Id: Ia46d684e134f26a08b83dd6cfef19b91fe6ea7e1
Signed-off-by: Lukasz Bardeli <l.bardeli@AMDC967.digital.local>
5 years ago[Common] Fixing building dependency issues part 1 12/192812/2
Piotr Kosko/Native/Web API (SWP) /SRPOL/Professional/삼성전자 [Fri, 9 Nov 2018 11:44:55 +0000 (12:44 +0100)]
[Common] Fixing building dependency issues part 1

    Fixed some modules dependencies issues.
    Fixed gyp files for using only dependencies verified by designed tool.

    [Verification] Code builds successfully.

Change-Id: I8f419781c1269d53dc77e15322d74a1db45bb266

5 years ago[version] 2.32 82/192182/1 accepted/tizen/5.0/unified/20181106.070314 accepted/tizen/unified/20181105.062409 submit/tizen/20181102.061403 submit/tizen_5.0/20181102.061247 submit/tizen_5.0/20181105.095716
Piotr Kosko [Wed, 31 Oct 2018 08:27:09 +0000 (09:27 +0100)]
[version] 2.32

Change-Id: I015ff1cd7283f17b66f63f1a001952aad58fa596
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
5 years agoMerge "[MediaController] Replaced deprecated functions." into tizen
Piotr Kosko [Wed, 31 Oct 2018 08:14:31 +0000 (08:14 +0000)]
Merge "[MediaController] Replaced deprecated functions." into tizen

5 years agoFix for functions throwing exceptions unspecified by documentation. 08/192008/3
Michal Michalski [Fri, 26 Oct 2018 12:51:01 +0000 (14:51 +0200)]
Fix for functions throwing exceptions unspecified by documentation.

Functions for removing listeners threw exceptions if listener id
was not registered. This behavior was not specified in docs.
This commit disables those exception and silently returns from
functions if listener for given id is not found.

[Verification] TCT tests which call changed api functions passed.

Change-Id: I8fe1a07ade9a35bfbfa95c1a628eeff95a420e0f
Signed-off-by: Michal Michalski <m.michalski2@partner.samsung.com>
5 years ago[MediaController] Replaced deprecated functions. 58/191858/1
Michal Michalski [Wed, 24 Oct 2018 11:54:58 +0000 (13:54 +0200)]
[MediaController] Replaced deprecated functions.

+ mc_client_send_custom_command --> mc_client_send_custom_cmd

[Verification] tct-mediacontroller-tizen-tests all passed.

Change-Id: Ib39b5aa971fcdb1c8984f432945863af08ddbe80
Signed-off-by: Michal Michalski <m.michalski2@partner.samsung.com>
5 years agoMerge branch 'tizen_4.0' into tizen 39/191739/1 submit/tizen/20181023.123309
Piotr Kosko [Tue, 23 Oct 2018 06:13:10 +0000 (08:13 +0200)]
Merge branch 'tizen_4.0' into tizen

Change-Id: I140b2b7f5d060e2f21c3c99b010aa5c8ef895e50

5 years agoMerge "[Systeminfo] Internal implementation changed to use only public native API...
Piotr Kosko [Tue, 23 Oct 2018 06:11:37 +0000 (06:11 +0000)]
Merge "[Systeminfo] Internal implementation changed to use only public native API" into tizen

5 years agoMerge branch 'tizen_3.0' into tizen_4.0 36/191736/1 accepted/tizen/4.0/unified/20181024.131858 submit/tizen_4.0/20181023.123130
Piotr Kosko [Tue, 23 Oct 2018 05:30:19 +0000 (07:30 +0200)]
Merge branch 'tizen_3.0' into tizen_4.0

Change-Id: I1095cde2fdf145ec952fb0ce220837705982086f

5 years ago[Common] Fix typo in logger format string 10/191710/1
Pawel Wasowski [Mon, 22 Oct 2018 14:07:08 +0000 (16:07 +0200)]
[Common] Fix typo in logger format string

The project failed to build, if "enable_common_debug_logs%" flag in
src/common/common.gyp was set to "1". It was due to LoggerD's format
string, incompatible with the actual type of the logged variable.

[Verification] the project builds without error, if
               "enable_common_debug_logs%" is set to "1"

Change-Id: Ic7b7d51341f327ce96003312a93e9cfbb09db5b8
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>