Piotr Kosko [Mon, 16 Nov 2020 08:33:10 +0000 (09:33 +0100)]
[Filetransfer] Fixed performance of strict Blob object passing
[Bug] Because of need to pass strict Blob object to FormData since
Chromium M76, there is a need to increase a performance to pass
cordova tests - finish test in timeout.
Because of that, xml request creation was moved before reading a file
to make possible to trigger abort callback, even when the file is not
fully loaded to memory yet.
[Verification] Below code (based on failing test) produces times below 600ms.
E.g. TEST FINISHED: Time taken: 555
/// <testing precondition>, you need to have running http server accepting POST
/// requests running on SERVER ip address
var SERVER = "http://192.168.0.220:5000";
var persistentRoot;
var GRACE_TIME_DELTA = 600; // in milliseconds
var DEFAULT_FILESYSTEM_SIZE = 1024 * 50; //filesystem size in bytes
var ABORT_DELAY = 100; // for abort() tests
window.requestFileSystem(LocalFileSystem.PERSISTENT, DEFAULT_FILESYSTEM_SIZE,
function (fileSystem) {
persistentRoot = fileSystem.root;
runTest();
},
function () {
throw new Error('Failed to initialize persistent file system.');
}
);
var unexpectedCallbacks = {
httpFail: function () { },
httpWin: function () { },
fileSystemFail: function () { },
fileSystemWin: function () { },
fileOperationFail: function () { },
fileOperationWin: function () { },
};
var writeFile = function (fileSystem, name, content, success) {
fileSystem.getFile(name, { create: true },
function (fileEntry) {
fileEntry.createWriter(function (writer) {
writer.onwrite = function () {
success(fileEntry);
};
writer.onabort = function (evt) {
throw new Error('aborted creating test file \'' + name + '\': ' + evt);
};
writer.error = function (evt) {
throw new Error('aborted creating test file \'' + name + '\': ' + evt);
};
if (cordova.platformId === 'browser') {
// var builder = new BlobBuilder();
// builder.append(content + '\n');
var blob = new Blob([content + '\n'], { type: 'text/plain' });
writer.write(blob);
} else {
writer.write(content + "\n");
}
}, unexpectedCallbacks.fileOperationFail);
},
function () {
throw new Error('could not create test file \'' + name + '\'');
}
);
};
var runTest = function () {
transfer = new FileTransfer();
// assign onprogress handler
var defaultOnProgressHandler = function (event) {
if (event.lengthComputable) {
expect(event.loaded).toBeGreaterThan(1);
expect(event.total).toBeGreaterThan(0);
expect(event.total).not.toBeLessThan(event.loaded);
expect(event.lengthComputable).toBe(true, 'lengthComputable');
} else {
// In IE, when lengthComputable === false, event.total somehow is equal to 2^64
if (isIE) {
expect(event.total).toBe(Math.pow(2, 64));
} else {
expect(event.total).toBe(0);
}
}
};
transfer.onprogress = defaultOnProgressHandler;
root = persistentRoot;
fileName = 'testFile.txt';
localFilePath = root.toURL() + fileName;
uploadParams = {};
uploadParams.value1 = "test";
uploadParams.value2 = "param";
uploadOptions = new FileUploadOptions();
uploadOptions.fileKey = "file";
uploadOptions.fileName = fileName;
uploadOptions.mimeType = "text/plain";
uploadOptions.params = uploadParams;
var fileURL = SERVER + '';
var startTime;
var uploadFail = function (e) {
console.log('uploadFail - ' + JSON.stringify(e));
console.log('TEST FINISHED: Time taken: ' + (new Date() - startTime));
};
var fileWin = function () {
console.log('fileWin');
startTime = +new Date();
transfer.onprogress = (s) => {
console.log('upload on progress: ' + JSON.stringify(s) +
'time taken: ' + (new Date() - startTime)) };
console.log('Call upload, time taken: ' + (new Date() - startTime))
transfer.upload(localFilePath, fileURL, (s) => {
console.log('uploadWin!!! ' + JSON.stringify(s)); }, uploadFail, uploadOptions, true);
console.log('After upload call, time taken: ' + (new Date() - startTime))
setTimeout(function () {
console.log('Call abort, time taken: ' + (new Date() - startTime))
transfer.abort();
}, ABORT_DELAY);
};
writeFile(root, fileName, new Array(100000).join('aborttest!'), fileWin);
}
Change-Id: I29717417009dc309456158529cebc85b904e31d3
(cherry picked from commit
e6250f7b56a12370ca9b93576d14979fc16c118e)
[Spec] Added dependency to python
[Verification] Build success with prereleased gbs:
http://download.tizen.org/prerelease/tizen/unified/tizen-unified_20200825.2/tizen-unified_20200825.2.
20200827.104709
Change-Id: I584cdfddd0e242b59cfc3ca5aaa6acd28ebf74b5
[FileTransfer] Fixing upload method for strict typing check
[Bug] Because of strict type control in M76 Chromium update,
object passed to FormData need to inherit from JS
built-in type - Blob.
[Verification]
tct-file-transfer-cordova-tests 100% (TM1 tizen-unified_20200312.1)
Change-Id: Ib0496113555bee8615e519802e3ce0a9d165b6fa
Szymon Jastrzebski [Wed, 23 May 2018 13:37:49 +0000 (15:37 +0200)]
[Cordova-FileTransfer] Fix for mapping method
The method FileErrorCodeToErrCode returned FILE_NOT_FOUND_ERR attribute of
FileError object, which was undefined instead of the same property, but
from FileTransferError object.
Change-Id: Ib74c4f07083c56fe8dd6f4b8897d2d82ef98dcac
Rafal Walczyna [Mon, 14 May 2018 09:47:47 +0000 (11:47 +0200)]
[Common] Extending deviceready timeout to 10 sec
Timeout has been extended to 10 seconds, because when device is
busy on other tasks then deviceready is not always fired
Change-Id: Ibbeef1cfa89fe34834c73b259edea13d10304457
Signed-off-by: Rafal Walczyna <r.walczyna@partner.samsung.com>
Piotr Kosko [Thu, 26 Apr 2018 06:32:43 +0000 (06:32 +0000)]
Merge "[Cordova File-Transfer] Synchronously checking access to file" into tizen
Piotr Kosko [Thu, 26 Apr 2018 06:27:44 +0000 (06:27 +0000)]
Merge "[Media] Error handling caused by lacking storage privileges added" into tizen
Piotr Kosko [Thu, 26 Apr 2018 06:26:59 +0000 (06:26 +0000)]
Merge "[Cordova-File] Synchronously checking access to file" into tizen
Pawel Kaczmarczyk [Tue, 13 Feb 2018 08:12:38 +0000 (09:12 +0100)]
[Media] Error handling caused by lacking storage privileges added
ACR: http://suprem.sec.samsung.net/jira/browse/TWDAPI-187
[Verification]
Tested in Chromium console
tct-media-cordova-tests passrate: 100%
Change-Id: I462b78104d6b9be583540192c5e93e2f97f56b5a
Signed-off-by: Pawel Kaczmarczyk <p.kaczmarczy@samsung.com>
Pawel Kaczmarczyk [Mon, 16 Apr 2018 10:40:02 +0000 (12:40 +0200)]
[Cordova File-Transfer] Synchronously checking access to file
ACR: http://suprem.sec.samsung.net/jira/browse/TWDAPI-187
[Verification] Tested in Chromium console,
tct-file-transfer-cordova-tests passrate: 100%
This change requires webapi-plugins with:
https://review.tizen.org/gerrit/167437/
Change-Id: Ia6e5739b7259be845ab2775cc62e02aa3242213a
Signed-off-by: Pawel Kaczmarczyk <p.kaczmarczy@samsung.com>
Piotr Kosko [Fri, 2 Mar 2018 09:28:56 +0000 (10:28 +0100)]
Merge branch 'tizen_4.0' into tizen
Change-Id: Ifc958be5c7bdc15406c506758b8bd08c1a7dbc05
Piotr Kosko [Fri, 2 Mar 2018 09:09:42 +0000 (10:09 +0100)]
Merge branch 'tizen_3.0' into tizen_4.0
Conflicts:
packaging/cordova-api.spec
Change-Id: I6ce9327e17645c3af41d0409aa8e49175a5e104c
Piotr Kosko [Fri, 2 Mar 2018 08:40:18 +0000 (09:40 +0100)]
[version] 0.17
Change-Id: Id1613899480c85919d7a96855d9c2a1dabf8a49e
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Pawel Kaczmarczyk [Tue, 20 Feb 2018 13:48:33 +0000 (14:48 +0100)]
[Media] Fix minor issues
[Verification]
1. Tested in chromium console
2. tct-cordova-media-tests passrate: 100%
1) Removed unreachable code,
2) Removed calling error callback twice,
3) Unregistering listeners moved to 'release' from 'stop',
4) Audio can be now played using the same object which has recorded it.
Change-Id: Ie30d4517117da2060d03e6b3b6e3b2652520a9dc
Signed-off-by: Pawel Kaczmarczyk <p.kaczmarczy@samsung.com>
Pawel Kaczmarczyk [Tue, 20 Feb 2018 13:48:33 +0000 (14:48 +0100)]
[Media] Fix minor issues
[Verification]
1. Tested in chromium console
2. tct-cordova-media-tests passrate: 100%
1) Removed unreachable code,
2) Removed calling error callback twice,
3) Unregistering listeners moved to 'release' from 'stop',
4) Audio can be now played using the same object which has recorded it.
Change-Id: Ie30d4517117da2060d03e6b3b6e3b2652520a9dc
Signed-off-by: Pawel Kaczmarczyk <p.kaczmarczy@samsung.com>
Pawel Kaczmarczyk [Thu, 8 Feb 2018 09:57:15 +0000 (10:57 +0100)]
[Media] Fix deprecated API
[Verification]
tct-media-cordova-tizen-tests passrate 100%
tested in Chromium console
AudioContext.createJavaScriptNode method has been marked
as obsolete and is no longer supported by Chromium.
Navigator.getUserMedia has been marked as deprecated
and will be replaced by navigator.mediaDevices.getUserMedia
Change-Id: I7938d1a1016c67f3862d49dabed02b2d510154a2
Signed-off-by: Pawel Kaczmarczyk <p.kaczmarczy@samsung.com>
Szymon Jastrzebski [Mon, 12 Feb 2018 10:02:37 +0000 (11:02 +0100)]
[Cordova-File] Synchronously checking access to file
Adding FileError.SECURITY_ERROR to errorCallbacks.
The change is needed because of file access checking, which is implemented
in Tizen 5.0
Change-Id: Ic2a40fd4c92ed045e506344443ee295d1527d56f
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Pawel Kaczmarczyk [Thu, 8 Feb 2018 09:57:15 +0000 (10:57 +0100)]
[Media] Fix deprecated API
[Verification]
tct-media-cordova-tizen-tests passrate 100%
tested in Chromium console
Change-Id: I7938d1a1016c67f3862d49dabed02b2d510154a2
Signed-off-by: Pawel Kaczmarczyk <p.kaczmarczy@samsung.com>
Piotr Kosko [Mon, 15 Jan 2018 11:45:02 +0000 (12:45 +0100)]
Merge branch 'tizen_4.0' into tizen
Change-Id: I5d8eda5627973d56f22e7090d80a9f0512cea209
Lukasz Bardeli [Wed, 20 Dec 2017 12:26:17 +0000 (13:26 +0100)]
[version] 0.17
Change-Id: If772f15e8678b47b758fa52f75cb481ce228aeb0
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Lukasz Bardeli [Wed, 20 Dec 2017 12:21:39 +0000 (13:21 +0100)]
[Globalization] Fix for buildbrake after enable Werror flag
[Verification] Code compiles without error, TCT passrate 100%
Change-Id: Ie4cf9ed47eefda8cb968b8c18333ad4c6897f61f
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Pawel Wasowski [Mon, 6 Nov 2017 07:36:43 +0000 (08:36 +0100)]
[Licensing] Fix minor licensing issues
Change-Id: Ic991a55273f3332104302530b419450a95f5c93d
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
Pawel Wasowski [Mon, 6 Nov 2017 07:36:43 +0000 (08:36 +0100)]
[Licensing] Fix minor licensing issues
Change-Id: Ic991a55273f3332104302530b419450a95f5c93d
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
Pawel Wasowski [Mon, 6 Nov 2017 07:36:43 +0000 (08:36 +0100)]
[Licensing] Fix minor licensing issues
Change-Id: Ic991a55273f3332104302530b419450a95f5c93d
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
Pawel Wasowski [Fri, 28 Apr 2017 11:26:24 +0000 (13:26 +0200)]
[File] Add credits for an author of used code snippet
Change-Id: I66d8d25af0c389506e6be72003ee55479ab5431c
Lukasz Bardeli [Fri, 30 Jun 2017 09:12:40 +0000 (11:12 +0200)]
Merge branch 'tizen_3.0' into tizen
Change-Id: I3565f4dd966be98f6224138bd68c3a6e2678acb5
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Lukasz Bardeli [Fri, 30 Jun 2017 06:52:50 +0000 (08:52 +0200)]
[version] 0.16
Change-Id: I6b9457061494caa839fe99ea7b6510baa961cb3f
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Piotr Kosko [Fri, 30 Jun 2017 06:08:37 +0000 (06:08 +0000)]
Merge "[Globalization] Add deleter to unique_ptr" into tizen_3.0
Lukasz Bardeli [Fri, 30 Jun 2017 05:08:06 +0000 (07:08 +0200)]
[Globalization] Add deleter to unique_ptr
[Verifivation] Code compiles without error
Change-Id: I3a48c56af73ca769220929c7b9102c58619917c3
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Piotr Kosko [Wed, 28 Jun 2017 07:27:59 +0000 (09:27 +0200)]
Merge branch 'tizen_3.0' into tizen
Change-Id: Idea98db1d514adf99bb7d037bfc28d00891b773e
Piotr Kosko [Wed, 28 Jun 2017 07:18:52 +0000 (09:18 +0200)]
[version] 0.15
Change-Id: I6f0cb0eab3a197337493918f5ae9cac24b4eecf7
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Lukasz Bardeli [Fri, 23 Jun 2017 12:13:25 +0000 (14:13 +0200)]
[Globalization] protect possible leak from value returned by vconf_get_str
[Verifivation] code compiles without error.
Change-Id: I85ae0d095107750ff75bd39efb594f8af94e1b9c
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Pawel Wasowski [Fri, 28 Apr 2017 11:26:24 +0000 (13:26 +0200)]
[File] Add credits for an author of used code snippet
Change-Id: I66d8d25af0c389506e6be72003ee55479ab5431c
Tomasz Marciniak [Tue, 11 Apr 2017 12:01:22 +0000 (14:01 +0200)]
[spec] Add missing license files
[Verification] Code compiles.
All license files are included in rpm package
Change-Id: I18e8da1d9d2a9231f3964fac563d1bec2f499590
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Tomasz Marciniak [Tue, 11 Apr 2017 11:13:25 +0000 (13:13 +0200)]
[spec] Add license macro
[Verification] Code compiles without errors
Change-Id: Ic01648210b49087ac307016dee13cd11273edde9
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Hyunjin Park [Wed, 28 Dec 2016 08:05:03 +0000 (17:05 +0900)]
Merge branch 'tizen' of ssh://review.tizen.org:29418/platform/core/api/cordova-plugins into tizen
taekeun.kang [Wed, 28 Dec 2016 07:13:18 +0000 (16:13 +0900)]
[Dialog] add noti sound back.wav
[Verification] Cordova Dialog TCT 100% pass
Change-Id: I928a1884b8bf17215cb4f5603c3501195f77c27e
Signed-off-by: taekeun.kang <taekeun.kang@samsung.com>
Hyunjin Park [Wed, 28 Dec 2016 07:28:01 +0000 (23:28 -0800)]
Revert "[Dialog] add noti sound back.wav [Verification] Cordova Dialog TCT 100% pass"
This reverts commit
4dce99a419267dbc0672e4340d97b326a06c5509.
Change-Id: I1f18616868d2d1908dfdbf1b71e5284bc134aec5
Hyunjin Park [Wed, 28 Dec 2016 07:23:34 +0000 (16:23 +0900)]
[version] 0.14
Change-Id: I60054d5d08369380e66077ab6ad78cf13272e70f
taekeun.kang [Wed, 28 Dec 2016 07:13:18 +0000 (16:13 +0900)]
[Dialog] add noti sound back.wav
[Verification] Cordova Dialog TCT 100% pass
Change-Id: I928a1884b8bf17215cb4f5603c3501195f77c27e
Signed-off-by: taekeun.kang <taekeun.kang@samsung.com>
Hyunjin Park [Wed, 28 Dec 2016 07:20:44 +0000 (23:20 -0800)]
Merge "[Cordova] Added calling error callbacks in case cordova-api is missing" into tizen_3.0
Hyunjin Park [Thu, 1 Dec 2016 10:10:16 +0000 (19:10 +0900)]
[cordova] modify sample to build tizen 3.0 mobile
[verification] sample works on TM1 of tizen 3.0
Change-Id: I1edd10c46032d005bd71050fbac430ec105b2fab
Szymon Jastrzebski [Fri, 25 Nov 2016 11:45:35 +0000 (12:45 +0100)]
[Cordova] Added calling error callbacks in case cordova-api is missing
[Feature] If cordova-api rpm is not installed, calling methods
from globalization module will fail. Due to this we need
to call errorCallbacks.
Change-Id: I2670cce06351dcf93a9a2a2c17d0fc9d6680958e
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Hyunjin Park [Fri, 25 Nov 2016 09:27:04 +0000 (18:27 +0900)]
[license] change BSD 2.0 to BSD 3.0 clause
cause : current license text is for BSD 3.0 clause.
So I modify license id correctly.
Change-Id: Ie31d38abfcea632712661423fde77c97c7a6abbd
Jeongkyun Pu [Mon, 26 Sep 2016 09:58:35 +0000 (02:58 -0700)]
Merge "add MIT license text for SOLVe system issue ( open license )" into tizen
Hyunjin Park [Mon, 26 Sep 2016 08:54:23 +0000 (17:54 +0900)]
add MIT license text for SOLVe system issue ( open license )
Change-Id: Ic979981fc8508e401486936f4cedd8c495ae80a1
Lukasz Bardeli [Tue, 24 May 2016 12:22:14 +0000 (14:22 +0200)]
[Device] fixed handle error
Change-Id: I596b6de5bf66ce9fd366c8992e1c2f6baaf833f8
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Hyunjin Park [Tue, 24 May 2016 10:56:02 +0000 (03:56 -0700)]
Merge "[Dialog] change jazz_m noti sound back.wav to home.wav" into tizen
Hyunjin Park [Tue, 24 May 2016 10:49:26 +0000 (03:49 -0700)]
Merge "Revert "[Device] fixed handle error"" into tizen
bg.chun [Tue, 24 May 2016 10:40:15 +0000 (19:40 +0900)]
[Dialog] change jazz_m noti sound back.wav to home.wav
Change-Id: Ief062b13768179b12b8aa2fcf0bd91b9fe74f832
Signed-off-by: bg.chun <bg.chun@samsung.com>
Hyunjin Park [Tue, 24 May 2016 10:33:42 +0000 (03:33 -0700)]
Revert "[Device] fixed handle error"
This reverts commit
e938a6b86a4b508732f054b022085fa007ba36d8.
Change-Id: I302bc2a938ffa47d1432605c7ea4131e0be8df36
Hyunjin Park [Thu, 19 May 2016 08:07:57 +0000 (17:07 +0900)]
[version] 0.11
Change-Id: I89b71d6ac5a38bd4e93d4050c394d0f049c5b6d1
Lukasz Bardeli [Thu, 19 May 2016 07:29:38 +0000 (09:29 +0200)]
[Device] fixed handle error
Change-Id: I1d357e2a36d37f331588f2d082734fa98eb79508
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
bg.chun [Thu, 12 May 2016 07:41:13 +0000 (16:41 +0900)]
[Dialog] change the way of get TV Notification sound path
[Verification] Cordova Dialog TCT 100% pass
Change-Id: Ida344bf5d558fd800838100623a49c0902a05af3
Signed-off-by: bg.chun <bg.chun@samsung.com>
Hyunjin Park [Wed, 4 May 2016 06:53:20 +0000 (15:53 +0900)]
Merge branch 'master' into tizen
Hyunjin Park [Wed, 4 May 2016 06:52:44 +0000 (15:52 +0900)]
[version] 0.10
Change-Id: I934ea0b0f9a180067ae0c5a5c250a12544812421
Hyunjin Park [Wed, 4 May 2016 04:16:19 +0000 (13:16 +0900)]
[cordova][filesystem] change privilege to match new table.
Change-Id: I81d941de0198c1a3aa5652102882986c8e447bee
Hyunjin Park [Mon, 11 Apr 2016 11:29:26 +0000 (20:29 +0900)]
Merge branch 'master' into tizen
Hyunjin Park [Mon, 11 Apr 2016 11:21:05 +0000 (20:21 +0900)]
[version] 0.9
Change-Id: I8c7635a3b074ace92f6936faccc2ebd98100f890
Pawel Andruszkiewicz [Fri, 8 Apr 2016 08:44:37 +0000 (10:44 +0200)]
Removed unneeded folder.
Change-Id: Ia4cd21bd6670620a787d9e3fd1c0d1a365f1d54d
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Pawel Andruszkiewicz [Fri, 8 Apr 2016 08:34:50 +0000 (10:34 +0200)]
[File] Code structure changed to match cordova architecture.
Change-Id: I12878d562c57285b483dbcee02a7191fbb105f9c
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Pawel Andruszkiewicz [Fri, 8 Apr 2016 06:56:40 +0000 (08:56 +0200)]
[Globalization] Code structure changed to match cordova architecture.
Change-Id: I24a19cf4c50fa31498dc432ef436e9a7d01350b5
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Pawel Andruszkiewicz [Thu, 7 Apr 2016 12:43:50 +0000 (14:43 +0200)]
[NetworkInformation] Code structure changed to match cordova architecture.
Change-Id: I0bd584511e991e1f9a59abb4f998f111f336998d
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Pawel Andruszkiewicz [Thu, 7 Apr 2016 12:27:51 +0000 (14:27 +0200)]
[Media] Code structure changed to match cordova architecture.
Change-Id: Id08058932daaa612b887badf48aa498e942bec4b
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Pawel Andruszkiewicz [Thu, 7 Apr 2016 12:19:18 +0000 (14:19 +0200)]
[FileTransfer] Code structure changed to match cordova architecture.
Change-Id: I22a8e934fd8800ec9dbcdc4b0dba1b469881428e
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Pawel Andruszkiewicz [Thu, 7 Apr 2016 12:11:14 +0000 (14:11 +0200)]
[Events] Code structure changed to match cordova architecture.
Change-Id: I148576302885da489c84490ddcc0ac0fb6743e48
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Pawel Andruszkiewicz [Thu, 7 Apr 2016 11:47:38 +0000 (13:47 +0200)]
[Dialog] Code structure changed to match cordova architecture.
Change-Id: Ia862a78e1508b61d7a9cbb117a6bebc3004e0da7
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Pawel Andruszkiewicz [Thu, 7 Apr 2016 11:39:48 +0000 (13:39 +0200)]
[DeviceMotion] Code structure changed to match cordova architecture.
Change-Id: Ifa81b9b708b8c1abea9d71333776b4f8d565928f
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Pawel Andruszkiewicz [Thu, 7 Apr 2016 11:22:24 +0000 (13:22 +0200)]
[Device] Code structure changed to match cordova architecture.
Change-Id: I157d52bfb87d82eebd1c12ee618a81e6a0bee88d
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Pawel Andruszkiewicz [Thu, 7 Apr 2016 10:42:29 +0000 (12:42 +0200)]
[Dialog] Native code removed, use Tizen Web API to get profile of the device.
Change-Id: I6c3c95a604fc4da5eb49439485b913b06d244a9f
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Hyunjin Park [Tue, 5 Apr 2016 06:51:43 +0000 (15:51 +0900)]
Merge branch 'master' into tizen
Hyunjin Park [Tue, 5 Apr 2016 06:50:57 +0000 (15:50 +0900)]
[version] 0.8
Change-Id: I4d83ba90e45f6d0e7eab16fb803dd972c74fd9fb
HyunJin Park [Tue, 5 Apr 2016 06:00:03 +0000 (15:00 +0900)]
Merge "[Media] Create only one AudioContext()."
Hyunjin Park [Mon, 4 Apr 2016 04:45:00 +0000 (13:45 +0900)]
Merge branch 'master' into tizen
Hyunjin Park [Mon, 4 Apr 2016 04:43:00 +0000 (13:43 +0900)]
[version] 0.7
Change-Id: Id1a9185f6faf8a40dcc34086e683040822bc0bf9
Lukasz Bardeli [Fri, 1 Apr 2016 15:27:21 +0000 (17:27 +0200)]
[Cordova][Dialog] Add profile feature to divide code (TV and MobileOrWearable)
Change-Id: I6a1b200ccf8d74bca77b1332cb263bf2b39995e9
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Signed-off-by: bg.chun <bg.chun@samsung.com>
bg.chun [Sat, 2 Apr 2016 02:46:40 +0000 (11:46 +0900)]
[bhtest] fix bhtest app
Change-Id: I25b4454baa6094ede1fabedc517a7be1a8695588
Signed-off-by: bg.chun <bg.chun@samsung.com>
Pawel Andruszkiewicz [Fri, 1 Apr 2016 14:56:05 +0000 (16:56 +0200)]
[test] Temporarily disabled some tests for media.
Change-Id: I99df10fac33f3c46637389638845e294930422f9
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Pawel Andruszkiewicz [Fri, 1 Apr 2016 14:38:03 +0000 (16:38 +0200)]
[test] Temporarily disabled some tests for file transfer.
Change-Id: Ia1c97552c8a8c7f892e3edd1645c85dfb5c56646
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Pawel Andruszkiewicz [Fri, 1 Apr 2016 14:28:31 +0000 (16:28 +0200)]
[test] Disabled not support unit test (Media).
Change-Id: I230d3220abd2be66b16ce6abbbc40d5c59bd0062
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Pawel Andruszkiewicz [Fri, 1 Apr 2016 14:25:53 +0000 (16:25 +0200)]
[Media] Create only one AudioContext().
Fix for unit tests (expected error code in case of non-existent file).
[Verification] TCT pass rate: 100% (46/46/0/0/0)
Change-Id: Iefe550ade09c0e372d98d5706dbed7d2ae103a8f
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Pawel Andruszkiewicz [Fri, 1 Apr 2016 13:29:21 +0000 (15:29 +0200)]
[test] Remove not implemented plugins from the test app.
Change-Id: Ib014770d338a544a28c9c48df48ca1987e8cb67b
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Pawel Andruszkiewicz [Fri, 1 Apr 2016 12:52:21 +0000 (14:52 +0200)]
[test] Remove disabled test of File module.
Change-Id: I471b9195a7d42c8da0ba06208d20b5c56954c4ae
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Hyunjin Park [Fri, 1 Apr 2016 12:22:35 +0000 (21:22 +0900)]
Merge branch 'master' into tizen
Hyunjin Park [Fri, 1 Apr 2016 12:18:25 +0000 (21:18 +0900)]
[version] 0.6
Change-Id: I638686e46c71d3fc3e213dc45976d1b0e2fae931
Pawel Andruszkiewicz [Fri, 1 Apr 2016 11:46:20 +0000 (13:46 +0200)]
[FileTransfer] Fixed default HTTP method for upload().
[Verification] TCT pass rate: 100% (23/23/0/0/0)
Change-Id: If42a6025438245ffd03b6c644f84700406a7d936
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Pawel Andruszkiewicz [Fri, 25 Mar 2016 13:03:28 +0000 (14:03 +0100)]
[Globalization] Don't use the pointer if it's null.
Fixes: SVACE 27745.
[Verification] TCT pass rate 100% (106/106/0/0/0).
Change-Id: I2a9ffabd238d633630c4efe7d4f42a2cf6ca52db
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Hyunjin Park [Wed, 23 Mar 2016 12:17:50 +0000 (21:17 +0900)]
Merge branch 'master' into tizen
Hyunjin Park [Wed, 23 Mar 2016 12:16:49 +0000 (21:16 +0900)]
[version] 0.5
Change-Id: I8f1d3833b648c9d36deef23452809fea8a2a53a8
Andrzej Popowski [Wed, 23 Mar 2016 11:39:12 +0000 (12:39 +0100)]
[File] - fixing application directories paths
Change-Id: Id87fb6b1f2aba8c585fb80d5ab841e04c2717c83
Signed-off-by: Andrzej Popowski <a.popowski@samsung.com>
Hyunjin Park [Tue, 8 Mar 2016 10:37:16 +0000 (19:37 +0900)]
Merge branch 'master' into tizen
Hyunjin Park [Tue, 8 Mar 2016 10:36:22 +0000 (19:36 +0900)]
[version] 0.4
Change-Id: I79346909991038672d63ceb3a1f9f39f2c0c1819
Pawel Andruszkiewicz [Tue, 8 Mar 2016 09:08:58 +0000 (10:08 +0100)]
[Globalization] Replaced localtime with localtime_r.
Fixes: SVACE 46469
[Verification] Pass rate did not change.
Change-Id: If4bf00dd1c34800f0216a0f9fdbda7b42e277f57
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Hyunjin Park [Fri, 4 Mar 2016 00:52:58 +0000 (09:52 +0900)]
Merge branch 'master' into tizen
Hyunjin Park [Fri, 4 Mar 2016 00:51:18 +0000 (09:51 +0900)]
[version] 0.3
Change-Id: I85a1b5426e2ee15ec4bad80683cbcd4afc0a3e59
bg.chun [Thu, 3 Mar 2016 10:42:36 +0000 (19:42 +0900)]
[cordova] fix filesystem truncate privilege filesystem.write->systemsetting.admin
Change-Id: I88d0d22929bb9aa1c23fdfc85fa652018846e117
Signed-off-by: bg.chun <bg.chun@samsung.com>
Hyunjin Park [Tue, 16 Feb 2016 10:42:20 +0000 (19:42 +0900)]
Merge branch 'master' into tizen
Tomasz Marciniak [Thu, 11 Feb 2016 11:19:09 +0000 (12:19 +0100)]
[File] Added privilege check to truncate function.
[Verfication] Code compiles.
Change-Id: I1a192d33f9a5b9fdf75febd1818f3f2299632ade
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Hyunjin Park [Tue, 2 Feb 2016 07:45:30 +0000 (16:45 +0900)]
Merge branch 'master' into tizen
Tomasz Marciniak [Tue, 2 Feb 2016 07:07:20 +0000 (08:07 +0100)]
[File] Added checking if length parameter is double.
[Verification] Code compiles. TCT did not change.
Change-Id: I12ba3200e6ff95537afef488af57793a16f2a024
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>