[version] 2.38
Change-Id: If39fca0d841550a2b4d36489374276686adcf14d
Signed-off-by: Piotr Kosko/Native/Web API (SWP) /SRPOL/Professional/삼성전자 <p.kosko@samsung.com>
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)
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>
Merge branch 'tizen_4.0' into tizen_5.0
Change-Id: Icf1b978d0b5a6dea865fe10426e51ed79fe0d7ae
Merge branch 'tizen_3.0' into tizen_4.0
Change-Id: I7bdf58474ccd556f444f93dee7856566a65373b6
[version] 2.31
Change-Id: Ic8c3ade13866c7e55ee660346c3a79103f29d006
[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>
Merge branch 'tizen_4.0' into tizen_5.0
Change-Id: I95d2ae95dbf4f9688dcd3c4beb3fecb0aac52206
Merge branch 'tizen_3.0' into tizen_4.0
Change-Id: Ifadc8944744fa1fe4e944670a51c184f1c36c228
[version] 2.30
Change-Id: I701491ee275a9540c9ddb821f420898629a3f5ca
Signed-off-by: Piotr Kosko/Native/Web API (SWP) /SRPOL/Professional/삼성전자 <p.kosko@samsung.com>
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>
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>
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
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>
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
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
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
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>
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>
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>
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>
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>
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>
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>
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>
Lukasz Bardeli [Mon, 26 Nov 2018 11:19:29 +0000 (12:19 +0100)]
Merge branch 'tizen_5.0' into tizen
Change-Id: I7c84d15458fb0b79f5379924c0745dc69e963e9c
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>
Lukasz Bardeli [Mon, 26 Nov 2018 09:53:30 +0000 (09:53 +0000)]
Merge "[Archive] Fix for preventing errno overwriting" into tizen_5.0
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>
[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>
Piotr Kosko [Fri, 23 Nov 2018 13:11:06 +0000 (13:11 +0000)]
Merge "[Mediacontroller] Removed usage of removed native API" 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
Piotr Kosko [Fri, 23 Nov 2018 13:04:37 +0000 (13:04 +0000)]
Merge "[Common] Adding guard to protect container of Instances*" into tizen
Piotr Kosko [Fri, 23 Nov 2018 13:02:40 +0000 (13:02 +0000)]
Merge "[Common] Implementation for parallel Worker" into tizen
[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
Piotr Kosko [Thu, 22 Nov 2018 13:31:19 +0000 (13:31 +0000)]
Merge "[PPM] Removing unnecessary static casts" into tizen_5.0
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>
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>
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>
Piotr Kosko [Tue, 20 Nov 2018 11:26:29 +0000 (11:26 +0000)]
Merge "[Common] Moving Filesystem Worker's implementation to common" into tizen
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
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>
Merge branch 'tizen_5.0' into tizen
Change-Id: I8baf7ed0da8fbe05922fb6e9423b3ff8132018ad
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
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
Merge branch 'tizen_4.0' into tizen_5.0
Change-Id: I1006e7daf1ab5f3375dbb9c39c945cc6ea69365b
Merge branch 'tizen_3.0' into tizen_4.0
Change-Id: I3142680c3588c1287d4dc23af6aee9832ebe6cd0
[version] 2.29
Change-Id: I27c09aef9adc3ba125477521e95a85633b0e702d
[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>
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>
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>
[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
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>
[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
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>
Piotr Kosko [Wed, 31 Oct 2018 08:14:31 +0000 (08:14 +0000)]
Merge "[MediaController] Replaced deprecated functions." into tizen
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>
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>
Piotr Kosko [Tue, 23 Oct 2018 06:13:10 +0000 (08:13 +0200)]
Merge branch 'tizen_4.0' into tizen
Change-Id: I140b2b7f5d060e2f21c3c99b010aa5c8ef895e50
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
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
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>
Piotr Kosko [Mon, 22 Oct 2018 12:16:20 +0000 (14:16 +0200)]
[version] 2.28
Change-Id: Icfae075f33085630150a69087c7dc8ccd78c9697
Piotr Kosko [Mon, 22 Oct 2018 12:04:20 +0000 (12:04 +0000)]
Merge "[Mediacontroller] Refactoring and replacing deprecated functions" into tizen
Pawel Wasowski [Fri, 19 Oct 2018 10:03:02 +0000 (12:03 +0200)]
[Messaging] Refactor MessageConversation related code
Refactoring was requested to get rid of duplicated and unnecessary
code.
[Verification] TCT pass rate: 100%
Change-Id: Iee2eacf50ca89ea60e89b283d3aac24111cfd5e5
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
Pawel Wasowski [Fri, 19 Oct 2018 10:03:02 +0000 (12:03 +0200)]
[Messaging] Refactor MessageConversation related code
Refactoring was requested to get rid of duplicated and unnecessary
code.
[Verification] TCT pass rate: 100%
Change-Id: Iee2eacf50ca89ea60e89b283d3aac24111cfd5e5
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
Pawel Wasowski [Fri, 19 Oct 2018 10:03:02 +0000 (12:03 +0200)]
[Messaging] Refactor MessageConversation related code
Refactoring was requested to get rid of duplicated and unnecessary
code.
[Verification] TCT pass rate: 100%
Change-Id: Iee2eacf50ca89ea60e89b283d3aac24111cfd5e5
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
Piotr Kosko [Tue, 16 Oct 2018 08:56:25 +0000 (08:56 +0000)]
Merge "[NBS] Adding and removing routes with new native methods." into tizen
Arkadiusz Pietraszek [Fri, 5 Oct 2018 10:52:18 +0000 (12:52 +0200)]
[NBS] Adding and removing routes with new native methods.
Old implementation used deprecated native methods - changed
to replacement methods.
[Verification] TCT pass rate: 100%
Change-Id: I62f264b547666bc807e8451aec1d216264726750
Piotr Kosko [Mon, 15 Oct 2018 11:36:47 +0000 (11:36 +0000)]
Merge "[Messaging] Fix sorting and filtering issues in findConversations" into tizen
Piotr Kosko [Thu, 11 Oct 2018 12:39:17 +0000 (14:39 +0200)]
[Systeminfo] Internal implementation changed to use only public native API
[Feature] The internal implementaiton was using non-public API of device.h
library, which makes the hazard of not being supported in future versions.
To avoid the risk of that, the implementation was improved to use only
public API. Changed implementation has a guarantee that the API change
is maintained properly and will not disappear (could be removed only following
the deprecation and removal procedure).
[Verification] Methods getAvailableMemory() and getTotalMemory() were checked
with Chrome console.
TCT passrate of systeminfo module was not changed.
Change-Id: If6f651979f3b3010834f91ff6699b53c770ee760
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Pawel Wasowski [Fri, 24 Aug 2018 16:12:09 +0000 (18:12 +0200)]
[Messaging] Fix sorting and filtering issues in findConversations
The commit fixes the following problems of email service's findConversations:
- conversations sorted with regard to timestamp, subject, to, from attributes
were ordered incorrectly
- an attempt to sort results with regard to unreadMessages, isRead, cc,
bcc, lastMessageId attributes resulted in throwing a JS exception
- unreadMessages attribute value depended on the offset argument value
- filtering by unreadMessages, did not work
The commit changes also the method of creation of MessageConversation
from database records. It may be quicker than the previous one,
that unnecessarily retrieved numerous messages from the database several times.
[Verification] TCT Pass rate: 100%
Several filters and sort modes were tested manually,
with Chrome DevTools.
Change-Id: I6196e316ff2b1477c909d528859ef980237454b6
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
Pawel Wasowski [Fri, 24 Aug 2018 16:12:09 +0000 (18:12 +0200)]
[Messaging] Fix sorting and filtering issues in findConversations
The commit fixes the following problems of email service's findConversations:
- conversations sorted with regard to timestamp, subject, to, from attributes
were ordered incorrectly
- an attempt to sort results with regard to unreadMessages, isRead, cc,
bcc, lastMessageId attributes resulted in throwing a JS exception
- unreadMessages attribute value depended on the offset argument value
- filtering by unreadMessages, did not work
The commit changes also the method of creation of MessageConversation
from database records. It may be quicker than the previous one,
that unnecessarily retrieved numerous messages from the database several times.
[Verification] TCT Pass rate: 100%
Several filters and sort modes were tested manually,
with Chrome DevTools.
Change-Id: I6196e316ff2b1477c909d528859ef980237454b6
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
Pawel Wasowski [Fri, 24 Aug 2018 16:12:09 +0000 (18:12 +0200)]
[Messaging] Fix sorting and filtering issues in findConversations
The commit fixes the following problems of email service's findConversations:
- conversations sorted with regard to timestamp, subject, to, from attributes
were ordered incorrectly
- an attempt to sort results with regard to unreadMessages, isRead, cc,
bcc, lastMessageId attributes resulted in throwing a JS exception
- unreadMessages attribute value depended on the offset argument value
- filtering by unreadMessages, did not work
The commit changes also the method of creation of MessageConversation
from database records. It may be quicker than the previous one,
that unnecessarily retrieved numerous messages from the database several times.
[Verification] TCT Pass rate: 100%
Several filters and sort modes were tested manually,
with Chrome DevTools.
Change-Id: I6196e316ff2b1477c909d528859ef980237454b6
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
Piotr Kosko [Wed, 3 Oct 2018 05:06:34 +0000 (07:06 +0200)]
Merge branch 'tizen_4.0' into tizen
Commit fixes SVACE issues - 246302, 246317
[Verification] Code compiles successfully, TCT for archive and exif 100%
Change-Id: Ia1ffd75f5460d952c50988f08ef38a6b2acb6e26
Piotr Kosko [Tue, 2 Oct 2018 12:11:27 +0000 (14:11 +0200)]
Merge branch 'tizen_3.0' into tizen_4.0
Change-Id: Iaff2d9c208f5291dfac1eacb23070b8c4f3f10f2
Piotr Kosko [Tue, 2 Oct 2018 12:08:07 +0000 (14:08 +0200)]
[version] 2.27
Change-Id: I7aa0f9e1384347db1d0b045ef46542fcd5e8c7a2
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Tue, 2 Oct 2018 11:25:19 +0000 (13:25 +0200)]
[Archive][Exif] Added missing error checking
[Verification] Code compiles without errors.
Change-Id: I588a1d08f4dea4a19038653b2889a1daa5b45673
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Tue, 2 Oct 2018 10:11:10 +0000 (10:11 +0000)]
Merge "[PPM] Add checkPermissions and requestPermissions implementation" into tizen
Lukasz Bardeli [Tue, 2 Oct 2018 10:06:01 +0000 (12:06 +0200)]
[PPM] Add checkPermissions and requestPermissions implementation
Added two new methods to ProvacyPrivilegeManager
[Verification] Code compiles without error. Tested in console
var p = ["http://tizen.org/privilege/filesystem.read", "http://tizen.org/privilege/alarm"];
var a = tizen.ppm.checkPermissions(p);
for(v in a){
alert(a[v].privilege+" - "+ a[v].type);
}
function permissionSuccess(result)
{
for(v in result){
alert(result[v].privilege+" - "+ result[v].result);
}
}
var p = ["http://tizen.org/privilege/contact.read", "http://tizen.org/privilege/contact.write"];
tizen.ppm.requestPermissions(p, permissionSuccess);
Change-Id: I21e00110d99b832e56035ed375d6b5af75a890c2
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
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>
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>
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>
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>
Szymon Jastrzebski [Fri, 20 Jul 2018 13:00:37 +0000 (15:00 +0200)]
[Mediacontroller] Refactoring and replacing deprecated functions
+ The Native API changed many function signatures by adding 'd' at the end
of verb. The new functions were applied.
+ New mc_playback_states_e enums were added.
+ Returned std::multimap is no longer copied using the
Types::GetPlatformEnumMap method.
+ 2 metadata deprecated functions were replaced.
+ Instead of sending playback state, playback action is sent to change
server's playback state on Native level (Web interface was not affected).
[Verification] MC TCT M&A 100%
Change-Id: I5866f7cf2b217480c116fbf91e683abd53a81d03
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Piotr Kosko [Thu, 20 Sep 2018 07:39:09 +0000 (09:39 +0200)]
Merge branch 'tizen_4.0' into tizen
Change-Id: I4755648537254a7489f1812f8881d7aa19e7764f
Piotr Kosko [Thu, 20 Sep 2018 07:20:56 +0000 (09:20 +0200)]
Merge branch 'tizen_3.0' into tizen_4.0
Change-Id: I8dd955cb6c74b1323acfb5c8839733517c70e053
Piotr Kosko [Thu, 20 Sep 2018 07:01:37 +0000 (09:01 +0200)]
[version] 2.26
Change-Id: Ibb8feb4665aee4761dc2592147bdd41743bed13d
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Thu, 20 Sep 2018 06:40:06 +0000 (08:40 +0200)]
[Bluetooth] Fixing the memory releasing issue
[Verification] Code compiles without errors.
TCT passrate 100%.
Change-Id: I4a7b516635b7d2a3bfc96359fa4d51543b0eb4e0
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Szymon Jastrzebski [Fri, 31 Aug 2018 11:16:25 +0000 (13:16 +0200)]
[Common] Updating picojson library
+ All the changes made to previous version of picojson were applied to
the latest version.
+ Removed the PICOJSON_USE_LOCALE macro, because the localization is
already handled and the solution was verified.
Change-Id: Icd4b6c29e8309d5573943f7ed7d174fe3f5a70dc
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Piotr Kosko [Fri, 7 Sep 2018 10:44:59 +0000 (10:44 +0000)]
Merge "[FMRadio] Adding missing dependency to capi-media-sound-manager" into tizen
Piotr Kosko [Fri, 7 Sep 2018 10:34:13 +0000 (12:34 +0200)]
[FMRadio] Adding missing dependency to capi-media-sound-manager
[Bug] Lack of dependency causes crash in RadioManager's object constructor
[Verification] Code compiles without errors.
TCT passrate of radio module - 100%.
Change-Id: I744016e16127b34a4f93d1ab1437765db3b484e6
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Tue, 4 Sep 2018 10:33:59 +0000 (10:33 +0000)]
Merge "[Sound] Changed methods for accessing state" into tizen
Mateusz Plesinski [Fri, 31 Aug 2018 06:49:41 +0000 (08:49 +0200)]
[Sound] Changed methods for accessing state
[Feature] Replaced deprecated functions with their equivalents added since tizen 5.0.
Replaced functions :
+ sound_manager_add_device_state_changed_cb with sound_manager_add_device_running_changed_cb
+ sound_manager_remove_device_state_changed_cb with sound_manager_remove_device_running_changed_cb
+ sound_manager_get_device_state with sound_manager_is_device_running
Added mapping for native type SOUND_DEVICE_BLUETOOTH_VOICE, so it is now correctly returned.
[Verification] tct-sound-tizen-tests (both Auto and Manual) pass with 100% on mobile
Change-Id: I0299a26685fb7fdc5e02fa00c87af86726b6ca27
Signed-off-by: Mateusz Plesinski <m.plesinski@samsung.com>
Piotr Kosko [Fri, 31 Aug 2018 10:26:35 +0000 (10:26 +0000)]
Merge "[Spec] Reordering macro alphabetically" into tizen
Piotr Kosko [Wed, 29 Aug 2018 09:18:58 +0000 (09:18 +0000)]
Merge "[Spec] fix for generating emulator extension plugins" into tizen
Lukasz Bardeli [Wed, 29 Aug 2018 06:56:16 +0000 (08:56 +0200)]
[Spec] Reordering macro alphabetically
[verification] plugins generate properlly
Change-Id: I08b8aca29c770699ac70563a13dfd47c8deb58e2
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Lukasz Bardeli [Tue, 28 Aug 2018 11:34:08 +0000 (13:34 +0200)]
[Spec] fix for generating emulator extension plugins
Fix preventing error while generate emulator extension. Packages was not
downloaded for modules which are enable on emulator and disable on devices.
[Verification] Plugins generate properly
Change-Id: I1eae9fd0d42d2d645792fb9b3ffe779f7cae1a1f
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Szymon Jastrzebski [Mon, 27 Aug 2018 07:24:18 +0000 (09:24 +0200)]
[Filesystem] Fix for reading binary data
+ The variable 'size' wasn't initialized.
[Verification] TCT TV&Mobile 100%
Change-Id: I803ac19cc964e1bd3d54f5fb403b348ec2779734
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Pawel Kaczmarczyk [Mon, 27 Aug 2018 08:03:57 +0000 (10:03 +0200)]
[Alarm] Fix printing deprecation warnings on TV profile
AlarmAbsolute(date, period) constructor is not marked
as deprecated on TV profile.
[Verification]
Tested in chrome console
Change-Id: I1b3de7ad9d38c4bf4f8e55f8e8309e86b106e2f1
Signed-off-by: Pawel Kaczmarczyk <p.kaczmarczy@samsung.com>