svn commit: r17317 - /dev/cordova/CB-12224/
Author: shazron Date: Thu Dec 8 01:24:16 2016 New Revision: 17317 Log: CB-12224 Uploading release candidates for plugins release Added: dev/cordova/CB-12224/ dev/cordova/CB-12224/cordova-plugin-battery-status-1.2.1.tgz (with props) dev/cordova/CB-12224/cordova-plugin-battery-status-1.2.1.tgz.asc dev/cordova/CB-12224/cordova-plugin-battery-status-1.2.1.tgz.md5 dev/cordova/CB-12224/cordova-plugin-battery-status-1.2.1.tgz.sha dev/cordova/CB-12224/cordova-plugin-camera-2.3.1.tgz (with props) dev/cordova/CB-12224/cordova-plugin-camera-2.3.1.tgz.asc dev/cordova/CB-12224/cordova-plugin-camera-2.3.1.tgz.md5 dev/cordova/CB-12224/cordova-plugin-camera-2.3.1.tgz.sha dev/cordova/CB-12224/cordova-plugin-console-1.0.5.tgz (with props) dev/cordova/CB-12224/cordova-plugin-console-1.0.5.tgz.asc dev/cordova/CB-12224/cordova-plugin-console-1.0.5.tgz.md5 dev/cordova/CB-12224/cordova-plugin-console-1.0.5.tgz.sha dev/cordova/CB-12224/cordova-plugin-contacts-2.2.1.tgz (with props) dev/cordova/CB-12224/cordova-plugin-contacts-2.2.1.tgz.asc dev/cordova/CB-12224/cordova-plugin-contacts-2.2.1.tgz.md5 dev/cordova/CB-12224/cordova-plugin-contacts-2.2.1.tgz.sha dev/cordova/CB-12224/cordova-plugin-device-1.1.4.tgz (with props) dev/cordova/CB-12224/cordova-plugin-device-1.1.4.tgz.asc dev/cordova/CB-12224/cordova-plugin-device-1.1.4.tgz.md5 dev/cordova/CB-12224/cordova-plugin-device-1.1.4.tgz.sha dev/cordova/CB-12224/cordova-plugin-device-motion-1.2.3.tgz (with props) dev/cordova/CB-12224/cordova-plugin-device-motion-1.2.3.tgz.asc dev/cordova/CB-12224/cordova-plugin-device-motion-1.2.3.tgz.md5 dev/cordova/CB-12224/cordova-plugin-device-motion-1.2.3.tgz.sha dev/cordova/CB-12224/cordova-plugin-device-orientation-1.0.5.tgz (with props) dev/cordova/CB-12224/cordova-plugin-device-orientation-1.0.5.tgz.asc dev/cordova/CB-12224/cordova-plugin-device-orientation-1.0.5.tgz.md5 dev/cordova/CB-12224/cordova-plugin-device-orientation-1.0.5.tgz.sha dev/cordova/CB-12224/cordova-plugin-dialogs-1.3.1.tgz (with props) dev/cordova/CB-12224/cordova-plugin-dialogs-1.3.1.tgz.asc dev/cordova/CB-12224/cordova-plugin-dialogs-1.3.1.tgz.md5 dev/cordova/CB-12224/cordova-plugin-dialogs-1.3.1.tgz.sha dev/cordova/CB-12224/cordova-plugin-file-4.3.1.tgz (with props) dev/cordova/CB-12224/cordova-plugin-file-4.3.1.tgz.asc dev/cordova/CB-12224/cordova-plugin-file-4.3.1.tgz.md5 dev/cordova/CB-12224/cordova-plugin-file-4.3.1.tgz.sha dev/cordova/CB-12224/cordova-plugin-file-transfer-1.6.1.tgz (with props) dev/cordova/CB-12224/cordova-plugin-file-transfer-1.6.1.tgz.asc dev/cordova/CB-12224/cordova-plugin-file-transfer-1.6.1.tgz.md5 dev/cordova/CB-12224/cordova-plugin-file-transfer-1.6.1.tgz.sha dev/cordova/CB-12224/cordova-plugin-geolocation-2.4.1.tgz (with props) dev/cordova/CB-12224/cordova-plugin-geolocation-2.4.1.tgz.asc dev/cordova/CB-12224/cordova-plugin-geolocation-2.4.1.tgz.md5 dev/cordova/CB-12224/cordova-plugin-geolocation-2.4.1.tgz.sha dev/cordova/CB-12224/cordova-plugin-globalization-1.0.5.tgz (with props) dev/cordova/CB-12224/cordova-plugin-globalization-1.0.5.tgz.asc dev/cordova/CB-12224/cordova-plugin-globalization-1.0.5.tgz.md5 dev/cordova/CB-12224/cordova-plugin-globalization-1.0.5.tgz.sha dev/cordova/CB-12224/cordova-plugin-inappbrowser-1.5.1.tgz (with props) dev/cordova/CB-12224/cordova-plugin-inappbrowser-1.5.1.tgz.asc dev/cordova/CB-12224/cordova-plugin-inappbrowser-1.5.1.tgz.md5 dev/cordova/CB-12224/cordova-plugin-inappbrowser-1.5.1.tgz.sha dev/cordova/CB-12224/cordova-plugin-legacy-whitelist-1.1.2.tgz (with props) dev/cordova/CB-12224/cordova-plugin-legacy-whitelist-1.1.2.tgz.asc dev/cordova/CB-12224/cordova-plugin-legacy-whitelist-1.1.2.tgz.md5 dev/cordova/CB-12224/cordova-plugin-legacy-whitelist-1.1.2.tgz.sha dev/cordova/CB-12224/cordova-plugin-media-2.4.1.tgz (with props) dev/cordova/CB-12224/cordova-plugin-media-2.4.1.tgz.asc dev/cordova/CB-12224/cordova-plugin-media-2.4.1.tgz.md5 dev/cordova/CB-12224/cordova-plugin-media-2.4.1.tgz.sha dev/cordova/CB-12224/cordova-plugin-media-capture-1.4.1.tgz (with props) dev/cordova/CB-12224/cordova-plugin-media-capture-1.4.1.tgz.asc dev/cordova/CB-12224/cordova-plugin-media-capture-1.4.1.tgz.md5 dev/cordova/CB-12224/cordova-plugin-media-capture-1.4.1.tgz.sha dev/cordova/CB-12224/cordova-plugin-network-information-1.3.1.tgz (with props) dev/cordova/CB-12224/cordova-plugin-network-information-1.3.1.tgz.asc dev/cordova/CB-12224/cordova-plugin-network-information-1.3.1.tgz.md5 dev/cordova/CB-12224/cordova-plugin-network-information-1.3.1.tgz.sha dev/cordova/CB-12224/cordova-plugin-screen-orientation-1.4.2.tgz (with props) dev/cordova/CB-12224/cordova-plugin-screen-orientation-1.4.2.tgz.asc
[2/6] cordova-plugin-geolocation git commit: CB-11917 - Remove pull request template checklist item: "iCLA has been submitted…"
CB-11917 - Remove pull request template checklist item: "iCLA has been submittedâ¦" This closes #82 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/commit/7bcaab51 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/tree/7bcaab51 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/diff/7bcaab51 Branch: refs/heads/2.4.x Commit: 7bcaab5148284c39197801fc8435d3ffbe59 Parents: 7832b19 Author: Shazron AbdullahAuthored: Wed Sep 28 01:23:58 2016 -0700 Committer: Shazron Abdullah Committed: Tue Oct 4 21:35:48 2016 -0700 -- .github/PULL_REQUEST_TEMPLATE.md | 1 - 1 file changed, 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/7bcaab51/.github/PULL_REQUEST_TEMPLATE.md -- diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 4bd6da9..91582f4 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -17,7 +17,6 @@ Thanks! ### Checklist -- [ ] [ICLA](http://www.apache.org/licenses/icla.txt) has been signed and submitted to secret...@apache.org. - [ ] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA database - [ ] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB- is the JIRA ID & "android" is the platform affected. - [ ] Added automated test coverage as appropriate for this change. - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[2/4] cordova-plugin-device-orientation git commit: CB-11917 - Remove pull request template checklist item: "iCLA has been submitted…"
CB-11917 - Remove pull request template checklist item: "iCLA has been submittedâ¦" This closes #30 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/commit/f4cfb73f Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/tree/f4cfb73f Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/diff/f4cfb73f Branch: refs/heads/1.0.x Commit: f4cfb73fa4f26c0ee1349ceca5dba62f01a7a490 Parents: 34c744d Author: Shazron AbdullahAuthored: Wed Sep 28 01:34:23 2016 -0700 Committer: Shazron Abdullah Committed: Tue Oct 4 21:31:17 2016 -0700 -- .github/PULL_REQUEST_TEMPLATE.md | 1 - 1 file changed, 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/blob/f4cfb73f/.github/PULL_REQUEST_TEMPLATE.md -- diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 4bd6da9..91582f4 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -17,7 +17,6 @@ Thanks! ### Checklist -- [ ] [ICLA](http://www.apache.org/licenses/icla.txt) has been signed and submitted to secret...@apache.org. - [ ] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA database - [ ] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB- is the JIRA ID & "android" is the platform affected. - [ ] Added automated test coverage as appropriate for this change. - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[1/3] cordova-plugin-device-motion git commit: CB-11832 Incremented plugin version.
Repository: cordova-plugin-device-motion Updated Branches: refs/heads/1.2.x bf41b516c -> 5e0e28f4f CB-11832 Incremented plugin version. Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/commit/c1e96f64 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/tree/c1e96f64 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/diff/c1e96f64 Branch: refs/heads/1.2.x Commit: c1e96f64ca7cc87204a47c77a4e6ec0e8184dc79 Parents: bf41b51 Author: Steve GillAuthored: Fri Sep 9 16:08:04 2016 -0700 Committer: Steve Gill Committed: Fri Sep 9 16:08:04 2016 -0700 -- package.json | 2 +- plugin.xml | 2 +- tests/plugin.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/c1e96f64/package.json -- diff --git a/package.json b/package.json index 7fbf01f..fa0c784 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-device-motion", - "version": "1.2.2", + "version": "1.2.3-dev", "description": "Cordova Device Motion Plugin", "cordova": { "id": "cordova-plugin-device-motion", http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/c1e96f64/plugin.xml -- diff --git a/plugin.xml b/plugin.xml index 1f3dfc3..f9abc0b 100644 --- a/plugin.xml +++ b/plugin.xml @@ -20,7 +20,7 @@ http://apache.org/cordova/ns/plugins/1.0; id="cordova-plugin-device-motion" - version="1.2.2"> + version="1.2.3-dev"> Device Motion Cordova Device Motion Plugin http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/c1e96f64/tests/plugin.xml -- diff --git a/tests/plugin.xml b/tests/plugin.xml index cce2b45..2746418 100644 --- a/tests/plugin.xml +++ b/tests/plugin.xml @@ -20,7 +20,7 @@ http://apache.org/cordova/ns/plugins/1.0; id="cordova-plugin-device-motion-tests" -version="1.2.2"> +version="1.2.3-dev"> Cordova Device Motion Plugin Tests Apache 2.0 - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[1/7] cordova-plugin-file git commit: CB-11832 Incremented plugin version.
Repository: cordova-plugin-file Updated Branches: refs/heads/4.3.x 5c0f68d1c -> db39e7cca CB-11832 Incremented plugin version. Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/commit/815c2b1b Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/815c2b1b Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/815c2b1b Branch: refs/heads/4.3.x Commit: 815c2b1bfe578ee9a9b0f998a906087aca379cd1 Parents: 5c0f68d Author: Steve GillAuthored: Fri Sep 9 16:08:04 2016 -0700 Committer: Steve Gill Committed: Fri Sep 9 16:08:04 2016 -0700 -- package.json | 2 +- plugin.xml | 2 +- tests/plugin.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/815c2b1b/package.json -- diff --git a/package.json b/package.json index eb9a096..715d261 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-file", - "version": "4.3.0", + "version": "4.3.1-dev", "description": "Cordova File Plugin", "cordova": { "id": "cordova-plugin-file", http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/815c2b1b/plugin.xml -- diff --git a/plugin.xml b/plugin.xml index 247a8cb..c55e3ab 100644 --- a/plugin.xml +++ b/plugin.xml @@ -21,7 +21,7 @@ http://apache.org/cordova/ns/plugins/1.0; xmlns:android="http://schemas.android.com/apk/res/android; id="cordova-plugin-file" - version="4.3.0"> + version="4.3.1-dev"> File Cordova File Plugin Apache 2.0 http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/815c2b1b/tests/plugin.xml -- diff --git a/tests/plugin.xml b/tests/plugin.xml index 8075a4d..c3b0cba 100644 --- a/tests/plugin.xml +++ b/tests/plugin.xml @@ -22,7 +22,7 @@ xmlns:rim="http://www.blackberry.com/ns/widgets; xmlns:android="http://schemas.android.com/apk/res/android; id="cordova-plugin-file-tests" -version="4.3.0"> +version="4.3.1-dev"> Cordova File Plugin Tests Apache 2.0 - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[11/11] cordova-plugin-file-transfer git commit: CB-12224 Updated version and RELEASENOTES.md for release 1.6.1
CB-12224 Updated version and RELEASENOTES.md for release 1.6.1 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/commit/aee45754 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/tree/aee45754 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/diff/aee45754 Branch: refs/heads/1.6.x Commit: aee45754a9d685ac867a9d0fbb843a66d2845551 Parents: 5a711e8 Author: Shazron AbdullahAuthored: Wed Dec 7 16:39:45 2016 -0800 Committer: Shazron Abdullah Committed: Wed Dec 7 16:39:45 2016 -0800 -- RELEASENOTES.md | 352 ++ package.json | 2 +- plugin.xml | 2 +- tests/plugin.xml | 2 +- 4 files changed, 355 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/aee45754/RELEASENOTES.md -- diff --git a/RELEASENOTES.md b/RELEASENOTES.md index f52f405..bb44244 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -20,6 +20,358 @@ --> # Release Notes +### 1.6.1 (Dec 07, 2016) +* [CB-12154](https://issues.apache.org/jira/browse/CB-12154) file-transfer progressEvent.total = -1 on iOS +* [CB-10974](https://issues.apache.org/jira/browse/CB-10974) Cordova file transfer Content-Length header problem +* Don't crash on low memory devices +* [CB-12100](https://issues.apache.org/jira/browse/CB-12100) (ios) Fixed test plugin install at platform add on cordova@6.3.1 +* [CB-11959](https://issues.apache.org/jira/browse/CB-11959) Fixed the jshint issues +* [CB-11959](https://issues.apache.org/jira/browse/CB-11959) Increased the array length for ios and winstore even more +* [CB-11959](https://issues.apache.org/jira/browse/CB-11959) Fixed filetransfer.spec.21 test failure on iOS and Windows Store when using local server +* [CB-11917](https://issues.apache.org/jira/browse/CB-11917) - Remove pull request template checklist item: "iCLA has been submittedâ¦" +* [CB-11926](https://issues.apache.org/jira/browse/CB-11926) Tests can use local server +* [CB-11832](https://issues.apache.org/jira/browse/CB-11832) Incremented plugin version. +* [CB-11832](https://issues.apache.org/jira/browse/CB-11832) Updated version and RELEASENOTES.md for release 1.6.0 +* [CB-11795](https://issues.apache.org/jira/browse/CB-11795) Add 'protective' entry to cordovaDependencies +* [CB-9022](https://issues.apache.org/jira/browse/CB-9022) Fix exception thrown by call to remapApi on main thread +* Plugin uses Android Log class and not Cordova LOG class +* [CB-9022](https://issues.apache.org/jira/browse/CB-9022) Resolve source URI on background thread +* [CB-11316](https://issues.apache.org/jira/browse/CB-11316) windows: Added content-type for files +* Close invalid PRs +* [CB-11497](https://issues.apache.org/jira/browse/CB-11497) Use cordova-vm for testing 304 errors +* Add badges for paramedic builds on Jenkins +* documentation with a wrong log message in fileTransfer.download function +* added link to sample +* Add pull request template. +* [CB-10974](https://issues.apache.org/jira/browse/CB-10974) Cordova file transfer Content-Length header problem +* Add fenced code blocks to help code formatting +* [CB-11165](https://issues.apache.org/jira/browse/CB-11165) removed peer dependency +* [CB-11003](https://issues.apache.org/jira/browse/CB-11003) Adding sample section to documentation. +* [CB-10996](https://issues.apache.org/jira/browse/CB-10996) Adding front matter to README.md +* [CB-11091](https://issues.apache.org/jira/browse/CB-11091) Incremented plugin version. +* Updated version and RELEASENOTES.md for release 1.5.1 +* [CB-10536](https://issues.apache.org/jira/browse/CB-10536) Removing flaky test assertions about abort callback latency +* Removing the expectation in spec.34 for the transfer method to be called. +* [CB-10978](https://issues.apache.org/jira/browse/CB-10978) Fix file-transfer.tests JSHint issues +* [CB-10782](https://issues.apache.org/jira/browse/CB-10782) Occasional failure in file transfer tests causing mobilespec crash +* [CB-10771](https://issues.apache.org/jira/browse/CB-10771) Fixing failure when empty string passed as a value for option parameter in upload function +* Minor changes to Readme +* [CB-10636](https://issues.apache.org/jira/browse/CB-10636) Add JSHint for plugins +* chore: edit package.json license to match SPDX id +* [CB-10368](https://issues.apache.org/jira/browse/CB-10368) Incremented plugin version. +* [CB-10368](https://issues.apache.org/jira/browse/CB-10368) Updated version and RELEASENOTES.md for release 1.5.0 +*
[06/11] cordova-plugin-file-transfer git commit: CB-11959 Fixed the jshint issues
CB-11959 Fixed the jshint issues Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/commit/ac5233d3 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/tree/ac5233d3 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/diff/ac5233d3 Branch: refs/heads/1.6.x Commit: ac5233d349b3936fe16b55a87d2972b1288a9ebb Parents: ebf280b Author: Alexander SorokinAuthored: Mon Oct 31 11:08:34 2016 +0300 Committer: Alexander Sorokin Committed: Mon Oct 31 11:08:34 2016 +0300 -- tests/tests.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/ac5233d3/tests/tests.js -- diff --git a/tests/tests.js b/tests/tests.js index 5bed919..cc88eda 100644 --- a/tests/tests.js +++ b/tests/tests.js @@ -19,7 +19,7 @@ * */ -/* global exports, cordova, FileTransfer, FileTransferError, FileUploadOptions, LocalFileSystem */ +/* global exports, cordova, FileTransfer, FileTransferError, FileUploadOptions, LocalFileSystem, WinJS */ /* jshint jasmine: true */ @@ -53,7 +53,7 @@ exports.defineAutoTests = function () { // flags var isWindows = cordova.platformId === "windows8" || cordova.platformId === "windows"; -var isWindowsPhone81 = isWindows && WinJS.Utilities.isPhone +var isWindowsPhone81 = isWindows && WinJS.Utilities.isPhone; var isWP8 = cordova.platformId === "windowsphone"; var isBrowser = cordova.platformId === "browser"; var isIE = isBrowser && navigator.userAgent.indexOf("Trident") >= 0; - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[02/12] cordova-plugin-dialogs git commit: Added test for [windows] CB-11281 when called without defaultText
Added test for [windows] CB-11281 when called without defaultText Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/commit/02a42425 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/tree/02a42425 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/diff/02a42425 Branch: refs/heads/1.3.x Commit: 02a424255b601a64fc2c5d5c4f5ff4b31a0cd5c5 Parents: ece39a0 Author: Jesse MacFadyenAuthored: Fri Sep 9 13:38:33 2016 -0700 Committer: Jesse MacFadyen Committed: Fri Sep 9 13:38:33 2016 -0700 -- tests/tests.js | 4 1 file changed, 4 insertions(+) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/02a42425/tests/tests.js -- diff --git a/tests/tests.js b/tests/tests.js index 7056c0d..fc1dea4 100644 --- a/tests/tests.js +++ b/tests/tests.js @@ -185,6 +185,10 @@ exports.defineManualTests = function (contentEl, createActionButton) { promptDialog('You pressed prompt.', 'Prompt Dialog', ['Yes', 'No', 'Maybe, Not Sure'],'Default Text'); }, 'prompt'); +createActionButton('Prompt Dialog - no default', function () { +promptDialog('You pressed prompt.', 'Prompt Dialog', ['Yes', 'No']); +}, 'prompt'); + createActionButton('Built-in Alert Dialog', function () { if (typeof alert === 'function') { alert('You pressed alert'); - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[6/7] cordova-plugin-file git commit: CB-12112 windows: Make available to move folder trees
CB-12112 windows: Make available to move folder trees There was a mistake in the logic of recursive function for moving operation. As for destination folder, it was always used start folder. This closes #198 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/commit/a1cfabdc Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/a1cfabdc Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/a1cfabdc Branch: refs/heads/4.3.x Commit: a1cfabdce07cabd44694097fac6730b7317d4607 Parents: f4c2c94 Author: Nikita MatrosovAuthored: Fri Nov 18 11:50:20 2016 +0300 Committer: Vladimir Kotikov Committed: Thu Nov 24 17:53:16 2016 +0300 -- src/windows/FileProxy.js | 4 ++-- tests/tests.js | 31 +++ 2 files changed, 33 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/a1cfabdc/src/windows/FileProxy.js -- diff --git a/src/windows/FileProxy.js b/src/windows/FileProxy.js index 64ee1df..fa56a53 100644 --- a/src/windows/FileProxy.js +++ b/src/windows/FileProxy.js @@ -404,8 +404,8 @@ function moveFolder(src,dst,name) { src.deleteAsync().done(complete,failed); return; } -moveFolder(the.folders[todo],dst) -.done(movefolders,failed); +moveFolder(the.folders[todo], the.fld) +.done(movefolders,failed); }; var movefiles = function() { if (!(todo--)) { http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/a1cfabdc/tests/tests.js -- diff --git a/tests/tests.js b/tests/tests.js index eb74c14..acdcfa0 100644 --- a/tests/tests.js +++ b/tests/tests.js @@ -1758,6 +1758,37 @@ exports.defineAutoTests = function () { }, failed.bind(null, done, 'createDirectory - Error creating directory : ' + srcDir)); }, failed.bind(null, done, 'deleteEntry - Error removing directory : ' + dstDir)); }); + +it("file.spec.131 moveTo: directories tree to new parent", function (done) { +if (isIndexedDBShim) { +/* `copyTo` and `moveTo` functions do not support directories (Firefox, IE) */ +pending(); +} + +var srcDir = "entry.move.dnp.srcDir"; +var srcDirNestedFirst = "entry.move.dnp.srcDir.Nested1"; +var srcDirNestedSecond = "entry.move.dnp.srcDir.Nested2"; +var dstDir = "entry.move.dnp.dstDir"; + +createDirectory(dstDir, function (dstDirectory) { +createDirectory(srcDir, function (srcDirectory) { +srcDirectory.getDirectory(srcDirNestedFirst, { create: true }, function () { +srcDirectory.getDirectory(srcDirNestedSecond, { create: true }, function () { +srcDirectory.moveTo(dstDirectory, srcDir, function successMove(transferredDirectory) { +var directoryReader = transferredDirectory.createReader(); +directoryReader.readEntries(function successRead(entries) { +expect(entries.length).toBe(2); + expect(entries[0].name).toBe(srcDirNestedFirst); + expect(entries[1].name).toBe(srcDirNestedSecond); +deleteEntry(dstDir, done); +}, failed.bind(null, done, 'Error getting entries from: ' + transferredDirectory)); +}, failed.bind(null, done, 'directory.moveTo - Error moving directory : ' + srcDir + ' to root as: ' + dstDir)); +}, failed.bind(null, done, 'directory.getDirectory - Error creating directory : ' + srcDirNestedSecond)); +}, failed.bind(null, done, 'directory.getDirectory - Error creating directory : ' + srcDirNestedFirst)); +}, failed.bind(null, done, 'createDirectory - Error creating source directory : ' + srcDir)); +}, failed.bind(null, done, 'createDirectory - Error creating dest directory : ' + dstDir)); +}); + it("file.spec.70 moveTo: directory onto itself", function (done) { if (isIndexedDBShim) { /* `copyTo` and `moveTo` functions do not
[8/9] cordova-plugin-wkwebview-engine git commit: Updated README.md
Updated README.md Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/commit/4cd73e09 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/tree/4cd73e09 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/diff/4cd73e09 Branch: refs/heads/1.1.x Commit: 4cd73e0969303ca6bf1f1d1767162692fd8fddb8 Parents: c28423b Author: Shazron AbdullahAuthored: Mon Dec 5 14:57:13 2016 -0800 Committer: Shazron Abdullah Committed: Mon Dec 5 14:57:13 2016 -0800 -- README.md | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/blob/4cd73e09/README.md -- diff --git a/README.md b/README.md index 11ca96d..7c416e7 100644 --- a/README.md +++ b/README.md @@ -45,13 +45,14 @@ To test the development version: cordova platform add https://github.com/apache/cordova-ios.git#master cordova plugin add https://github.com/apache/cordova-plugin-wkwebview-engine.git#master -You also must have Xcode 7 (iOS 9 SDK) installed. Check your Xcode version by running: +You also must have at least Xcode 7 (iOS 9 SDK) installed. Check your Xcode version by running: xcode-select --print-path Required Permissions --- -WKWebView may not fully launch (the deviceready event may not fire) unless if the following is included in config.xml: +WKWebView may not fully launch (the deviceready event may not fire) unless if the following is included in config.xml. This should already be installed by Cordova in your platform config.xml when the plugin is installed. + config.xml @@ -71,7 +72,9 @@ We have an [experimental plugin](https://github.com/apache/cordova-plugins/tree/ Application Transport Security (ATS) in iOS 9 --- -The next released version of the [cordova-cli 5.4.0](https://www.npmjs.com/package/cordova) will support automatic conversion of the [access](http://cordova.apache.org/docs/en/edge/guide/appdev/whitelist/index.html) tags in config.xml to Application Transport Security [ATS](https://developer.apple.com/library/prerelease/ios/documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html#//apple_ref/doc/uid/TP40009251-SW33) directives. Upgrade to the version 5.4.0 to use this new functionality. +Starting with [cordova-cli 5.4.0](https://www.npmjs.com/package/cordova), it will support automatic conversion of the [access](http://cordova.apache.org/docs/en/edge/guide/appdev/whitelist/index.html) tags in config.xml to Application Transport Security [ATS](https://developer.apple.com/library/prerelease/ios/documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html#//apple_ref/doc/uid/TP40009251-SW33) directives. + +Upgrade to at least version 5.4.0 of the cordova-cli to use this new functionality. Limitations - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[4/4] cordova-plugin-network-information git commit: CB-12224 Updated version and RELEASENOTES.md for release 1.3.1
CB-12224 Updated version and RELEASENOTES.md for release 1.3.1 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/commit/0079edba Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/tree/0079edba Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/diff/0079edba Branch: refs/heads/1.3.x Commit: 0079edbaa5e24419ea383d918cbe960d3d4cae99 Parents: c911ef8 Author: Shazron AbdullahAuthored: Wed Dec 7 16:39:46 2016 -0800 Committer: Shazron Abdullah Committed: Wed Dec 7 16:39:46 2016 -0800 -- RELEASENOTES.md | 177 ++ package.json | 2 +- plugin.xml | 2 +- tests/plugin.xml | 2 +- 4 files changed, 180 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/blob/0079edba/RELEASENOTES.md -- diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 7ff57bd..dfa0890 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -20,6 +20,183 @@ --> # Release Notes +### 1.3.1 (Dec 07, 2016) +* [CB-11230](https://issues.apache.org/jira/browse/CB-11230) [CB-11505](https://issues.apache.org/jira/browse/CB-11505) iOS: Add compatibility with IPv6 +* [CB-11917](https://issues.apache.org/jira/browse/CB-11917) - Remove pull request template checklist item: "iCLA has been submittedâ¦" +* [CB-11832](https://issues.apache.org/jira/browse/CB-11832) Incremented plugin version. +* [CB-11832](https://issues.apache.org/jira/browse/CB-11832) Updated version and RELEASENOTES.md for release 1.3.0 +* [CB-11795](https://issues.apache.org/jira/browse/CB-11795) Add 'protective' entry to cordovaDependencies +* [CB-11734](https://issues.apache.org/jira/browse/CB-11734) Network Plugin uses Android Log class and not Cordova LOG class +* [CB-11300](https://issues.apache.org/jira/browse/CB-11300) (android) Recognize "2G", "3G" and "4G" network connection subtype names +* Merge branch 'master' of https://github.com/NickyYo/cordova-plugin-network-information +* Update NetworkManager.java +* Detection of Ethernet Network Type on Android +* Cleanup pull requests. This closes #41. This closes #43 +* fixed two potential memory leaks when doing Analyze on iOS 9 +* [CB-11384](https://issues.apache.org/jira/browse/CB-11384) android: Does not pass sonarqube scan +* Add badges for paramedic builds on Jenkins +* Add pull request template. +* Readme: Add fenced code blocks with langauage hints +* Add code examples. This closes #40. +* [CB-10996](https://issues.apache.org/jira/browse/CB-10996) Adding front matter to README.md +* [CB-11091](https://issues.apache.org/jira/browse/CB-11091) Incremented plugin version. +* Updated version and RELEASENOTES.md for release 1.2.1 +* [CB-10763](https://issues.apache.org/jira/browse/CB-10763) Remove emoji in cordova-plugin-network-information +* [CB-10636](https://issues.apache.org/jira/browse/CB-10636) Add JSHint for plugins +* chore: edit package.json license to match SPDX id +* [CB-10368](https://issues.apache.org/jira/browse/CB-10368) Incremented plugin version. +* [CB-10368](https://issues.apache.org/jira/browse/CB-10368) Updated version and RELEASENOTES.md for release 1.2.0 +* Updating readme.md +* Adding CoreTelephony to plugin.xml +* Adding notification for CT radio information +* Adding CT radio information +* [CB-10160](https://issues.apache.org/jira/browse/CB-10160) Fixed the case mismatch issue +* [CB-10035](https://issues.apache.org/jira/browse/CB-10035) Incremented plugin version. +* [CB-10035](https://issues.apache.org/jira/browse/CB-10035) linked issues in RELEASENOTES.md +* [CB-10035](https://issues.apache.org/jira/browse/CB-10035) Updated version and RELEASENOTES.md for release 1.1.0 +* removed r prefix from tags +* [CB-10035](https://issues.apache.org/jira/browse/CB-10035) Updated RELEASENOTES to be newest to oldest +* Actually fixing the contribute link. +* Fixing contribute link. +* These notifications are objects so their address always evaluates to true. +* add JIRA issue tracker link +* Update NetworkManager.java +* Update NetworkManager.java +* Moved browser proxy to src/., This closes #18, closes #22, closes #23, closes #26 +* [CB-9542](https://issues.apache.org/jira/browse/CB-9542) Browser Proxy not defined correctly +* Performance-related fix +* This closes #16 +* Solved toLowerCase issue with Locale.US +* remove travis-ci integration +* [CB-9192](https://issues.apache.org/jira/browse/CB-9192) Incremented plugin version. +* [CB-9202](https://issues.apache.org/jira/browse/CB-9202) updated repo url to github mirror in package.json +*
[1/4] cordova-plugin-network-information git commit: CB-11832 Incremented plugin version.
Repository: cordova-plugin-network-information Updated Branches: refs/heads/1.3.x 0e6889a09 -> 0079edbaa CB-11832 Incremented plugin version. Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/commit/75c38c4d Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/tree/75c38c4d Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/diff/75c38c4d Branch: refs/heads/1.3.x Commit: 75c38c4d694313fe1307e5371cf225bac158aece Parents: 0e6889a Author: Steve GillAuthored: Fri Sep 9 16:08:04 2016 -0700 Committer: Steve Gill Committed: Fri Sep 9 16:08:04 2016 -0700 -- package.json | 2 +- plugin.xml | 2 +- tests/plugin.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/blob/75c38c4d/package.json -- diff --git a/package.json b/package.json index fd804b8..9e99062 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-network-information", - "version": "1.3.0", + "version": "1.3.1-dev", "description": "Cordova Network Information Plugin", "cordova": { "id": "cordova-plugin-network-information", http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/blob/75c38c4d/plugin.xml -- diff --git a/plugin.xml b/plugin.xml index 2992229..794f065 100644 --- a/plugin.xml +++ b/plugin.xml @@ -21,7 +21,7 @@ http://apache.org/cordova/ns/plugins/1.0; xmlns:android="http://schemas.android.com/apk/res/android; id="cordova-plugin-network-information" - version="1.3.0"> + version="1.3.1-dev"> Network Information Cordova Network Information Plugin http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/blob/75c38c4d/tests/plugin.xml -- diff --git a/tests/plugin.xml b/tests/plugin.xml index c4b03c2..0728f13 100644 --- a/tests/plugin.xml +++ b/tests/plugin.xml @@ -21,7 +21,7 @@ http://apache.org/cordova/ns/plugins/1.0; xmlns:android="http://schemas.android.com/apk/res/android; id="cordova-plugin-network-information-tests" -version="1.3.0"> +version="1.3.1-dev"> Cordova Network Information Plugin Tests Apache 2.0 - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[2/7] cordova-plugin-statusbar git commit: CB-11917 - Remove pull request template checklist item: "iCLA has been submitted…"
CB-11917 - Remove pull request template checklist item: "iCLA has been submittedâ¦" This closes #66 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/commit/940a8ee9 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/tree/940a8ee9 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/diff/940a8ee9 Branch: refs/heads/2.2.x Commit: 940a8ee92045b365b11790aa5e3e55964ef913a2 Parents: 53d0b04 Author: Shazron AbdullahAuthored: Wed Sep 28 01:26:09 2016 -0700 Committer: Shazron Abdullah Committed: Tue Oct 4 21:34:54 2016 -0700 -- .github/PULL_REQUEST_TEMPLATE.md | 1 - 1 file changed, 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/blob/940a8ee9/.github/PULL_REQUEST_TEMPLATE.md -- diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 4bd6da9..91582f4 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -17,7 +17,6 @@ Thanks! ### Checklist -- [ ] [ICLA](http://www.apache.org/licenses/icla.txt) has been signed and submitted to secret...@apache.org. - [ ] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA database - [ ] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB- is the JIRA ID & "android" is the platform affected. - [ ] Added automated test coverage as appropriate for this change. - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[2/4] cordova-plugin-whitelist git commit: Edit package.json license to match SPDX id
Edit package.json license to match SPDX id See [NPM package.json spec for licenses](https://docs.npmjs.com/files/package.json#license) and [SPDX license IDs](https://spdx.org/licenses/) X-ref: apache/cordova-plugin-device#48 This closes #24 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/commit/82a4c77f Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/tree/82a4c77f Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/diff/82a4c77f Branch: refs/heads/1.3.x Commit: 82a4c77fbf3455b2218da4aa509c77c71889eacd Parents: 0bb91fa Author: t1st3Authored: Wed Sep 28 13:55:17 2016 +0200 Committer: Shazron Abdullah Committed: Wed Sep 28 11:40:41 2016 -0700 -- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/blob/82a4c77f/package.json -- diff --git a/package.json b/package.json index 481daa9..5d2ad8a 100644 --- a/package.json +++ b/package.json @@ -28,5 +28,5 @@ } }, "author": "Apache Software Foundation", - "license": "Apache 2.0" + "license": "Apache-2.0" } - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[6/7] cordova-plugin-statusbar git commit: CB-10288 statusbar plugin interaction with iOS multitasking
CB-10288 statusbar plugin interaction with iOS multitasking This closes #62 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/commit/6bfc749f Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/tree/6bfc749f Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/diff/6bfc749f Branch: refs/heads/2.2.x Commit: 6bfc749f846e44d2784e93fa7629ec3049ab418d Parents: b7dc5ef Author: Jonathan LiAuthored: Sun Aug 28 16:01:54 2016 -0400 Committer: Julio César Committed: Sun Nov 13 23:14:11 2016 +0100 -- src/ios/CDVStatusBar.m | 8 1 file changed, 4 insertions(+), 4 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/blob/6bfc749f/src/ios/CDVStatusBar.m -- diff --git a/src/ios/CDVStatusBar.m b/src/ios/CDVStatusBar.m index f563e49..37c6dcd 100644 --- a/src/ios/CDVStatusBar.m +++ b/src/ios/CDVStatusBar.m @@ -189,7 +189,7 @@ static const void *kStatusBarStyle = CGRect statusBarFrame = [UIApplication sharedApplication].statusBarFrame; if ([[UIApplication sharedApplication]statusBarOrientation] == UIInterfaceOrientationPortraitUpsideDown && -statusBarFrame.size.height + statusBarFrame.origin.y == [[UIScreen mainScreen] bounds].size.height) { +statusBarFrame.size.height + statusBarFrame.origin.y == [self.viewController.view.window bounds].size.height) { // When started in upside-down orientation on iOS 7, status bar will be bound to lower edge of the // screen (statusBarFrame.origin.y will be somewhere around screen height). In this case we need to @@ -207,8 +207,8 @@ static const void *kStatusBarStyle = - (CGRect) invertFrameIfNeeded:(CGRect)rect { // landscape is where (width > height). On iOS < 8, we need to invert since frames are -// always in Portrait context -if (UIInterfaceOrientationIsLandscape([[UIApplication sharedApplication] statusBarOrientation]) && (rect.size.width < rect.size.height)) { +// always in Portrait context. Do not run this on ios 8 or above to avoid breaking ipad pro multitask layout +if (!IsAtLeastiOSVersion(@"8.0") && UIInterfaceOrientationIsLandscape([[UIApplication sharedApplication] statusBarOrientation])) { CGFloat temp = rect.size.width; rect.size.width = rect.size.height; rect.size.height = temp; @@ -447,7 +447,7 @@ static const void *kStatusBarStyle = BOOL isIOS7 = (IsAtLeastiOSVersion(@"7.0")); if (isIOS7) { -CGRect bounds = [[UIScreen mainScreen] bounds]; +CGRect bounds = [self.viewController.view.window bounds]; bounds = [self invertFrameIfNeeded:bounds]; if (UIInterfaceOrientationIsPortrait([[UIApplication sharedApplication] statusBarOrientation])) { - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[2/9] cordova-plugin-wkwebview-engine git commit: CB-11818 - Avoid retain cycle: WKUserContentController retains its message handler, to break it we cannot pass directly CDVWKWebViewEngine's instance
CB-11818 - Avoid retain cycle: WKUserContentController retains its message handler, to break it we cannot pass directly CDVWKWebViewEngine's instance This closes #17 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/commit/608855bb Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/tree/608855bb Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/diff/608855bb Branch: refs/heads/1.1.x Commit: 608855bbcb2f16e307f45aca6beef5a4f75e1b36 Parents: 10075b9 Author: Luca TorellaAuthored: Mon Sep 5 23:53:17 2016 +0200 Committer: Shazron Abdullah Committed: Wed Sep 28 11:10:16 2016 -0700 -- src/ios/CDVWKWebViewEngine.m | 35 ++- 1 file changed, 34 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/blob/608855bb/src/ios/CDVWKWebViewEngine.m -- diff --git a/src/ios/CDVWKWebViewEngine.m b/src/ios/CDVWKWebViewEngine.m index f60eace..50a872c 100644 --- a/src/ios/CDVWKWebViewEngine.m +++ b/src/ios/CDVWKWebViewEngine.m @@ -26,10 +26,20 @@ #define CDV_BRIDGE_NAME @"cordova" #define CDV_WKWEBVIEW_FILE_URL_LOAD_SELECTOR @"loadFileURL:allowingReadAccessToURL:" +@interface CDVWKWeakScriptMessageHandler : NSObject + +@property (nonatomic, weak, readonly) idscriptMessageHandler; + +- (instancetype)initWithScriptMessageHandler:(id)scriptMessageHandler; + +@end + + @interface CDVWKWebViewEngine () @property (nonatomic, strong, readwrite) UIView* engineWebView; @property (nonatomic, strong, readwrite) id uiDelegate; +@property (nonatomic, weak) id weakScriptMessageHandler; @end @@ -76,8 +86,10 @@ self.uiDelegate = [[CDVWKWebViewUIDelegate alloc] initWithTitle:[[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleDisplayName"]]; +CDVWKWeakScriptMessageHandler *weakScriptMessageHandler = [[CDVWKWeakScriptMessageHandler alloc] initWithScriptMessageHandler:self]; + WKUserContentController* userContentController = [[WKUserContentController alloc] init]; -[userContentController addScriptMessageHandler:self name:CDV_BRIDGE_NAME]; +[userContentController addScriptMessageHandler:weakScriptMessageHandler name:CDV_BRIDGE_NAME]; WKWebViewConfiguration* configuration = [self createConfigurationFromSettings:settings]; configuration.userContentController = userContentController; @@ -401,4 +413,25 @@ return decisionHandler(NO); } + +@end + +#pragma mark - CDVWKWeakScriptMessageHandler + +@implementation CDVWKWeakScriptMessageHandler + +- (instancetype)initWithScriptMessageHandler:(id)scriptMessageHandler +{ +self = [super init]; +if (self) { +_scriptMessageHandler = scriptMessageHandler; +} +return self; +} + +- (void)userContentController:(WKUserContentController *)userContentController didReceiveScriptMessage:(WKScriptMessage *)message +{ +[self.scriptMessageHandler userContentController:userContentController didReceiveScriptMessage:message]; +} + @end - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[cordova-plugin-screen-orientation] Git Push Summary
Repository: cordova-plugin-screen-orientation Updated Branches: refs/heads/1.4.x [created] fff912466 - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[3/5] cordova-plugin-vibration git commit: Closing invalid pull requests: close #31 #32
Closing invalid pull requests: close #31 #32 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/commit/9cb2b618 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/tree/9cb2b618 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/diff/9cb2b618 Branch: refs/heads/2.1.x Commit: 9cb2b6184c1dd8d267306120617b3c37294bb4d6 Parents: 54c3b88 Author: Julio CésarAuthored: Sun Oct 16 23:07:08 2016 +0200 Committer: Julio César Committed: Sun Oct 16 23:07:08 2016 +0200 -- -- - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[2/7] cordova-plugin-splashscreen git commit: CB-11829 (iOS) Support for CB-9762; docs (CB-11830)
CB-11829 (iOS) Support for CB-9762; docs (CB-11830) This closes #114 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/commit/62509f6b Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/tree/62509f6b Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/diff/62509f6b Branch: refs/heads/4.0.x Commit: 62509f6b47db8ff3ccd378a706e6e94503544ace Parents: 2eb78b3 Author: Kerri ShottsAuthored: Thu Sep 22 15:17:33 2016 -0500 Committer: Kerri Shotts Committed: Wed Sep 28 11:52:02 2016 -0500 -- README.md | 216 - src/ios/CDVSplashScreen.m | 23 + 2 files changed, 238 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/blob/62509f6b/README.md -- diff --git a/README.md b/README.md index 6a6faaf..1add456 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,206 @@ Report issues with this plugin on the [Apache Cordova issue tracker][Apache Cord __Note__: Extended splashscreen does not require the plugin on Windows (as opposed to Android and iOS) in case you don't use the plugin API, i.e. programmatic hide/show. +### iOS-specific information + +There are two mechanisms for displaying a launch screen on iOS: + +1. Legacy launch images: images are sized exactly for the device's screen size. Does not support the iPad Pro 12.9's native resolution or split-screen/slide-over multitasking. + +2. Launch storyboard images: Images are sized based on scale, idiom, and size classes. Supports all devices, and can be used with split-screen/slide-over multitasking. + +Apple is moving away from legacy launch images. There is no official support for providing a native-resolution launch image for the iPad pro 12.9 or for providing launch images that work with split-screen multitasking or slide-over. If your app doesn't need to support these contexts, then you can continue to use legacy launch images for as long as you like. + +The preferred method of providing launch images is to use a launch storyboard. For native app developers, the ideal launch storyboard is an unpopulated version of the app's user interface at launch. For non-native app developers who don't wish to learn interface builder, however, this plugin simulates the legacy launch image method as much as is feasible. + + Legacy launch images + +If you choose to use legacy launch images, you will use the following syntax in `config.xml`: + +``` + + + + + + + + + +``` + +Technically the filename for the `src` attribute can be anything you want; the filenames are used because they match what will be used when your project is compiled. The width and height attributes determine which launch images are displayed on which devices as follows: + +|width|height|device (orientation) | +|:---:|::|:-:| +| 320 | 480 | All non-retina iPhones and iPods | +| 640 | 960 | iPhone 4/4s/5/5s (portrait) | +| 750 | 1334 | iPhone 6/6s/7 (portrait) | +|1242 | 2208 | iPhone 6+/6s+/7+ (portrait) | +|2208 | 1242 | iPhone 6+/6s+/7+ (landscape) | +| 768 | 1024 | All non-retina iPads (portrait) | +|1024 | 768 | All non-retina iPads (landscape) | +|1536 | 2048 | All retina iPads (portrait) | +|2048 | 1536 | All retina iPads (landscape) | + +Note: It is vitally important that the source image actually matches the size specified in the `width` and `height` attributes. If it does not, the device may fail to render it properly, if at all. + + Launch storyboard images + +In order to support newer form factors and split-screen/slide-over multitasking, you should use launch storyboard images. These are similar to the legacy launch images above, but there are crucial differences: + + - images are not specific to a given device. + + - images are scaled to fill the available viewport (while maintaining the aspect ratio). + + - the outer edges of the images will be cropped, and the amount will vary based on device an viewport. + + - there is no need to provide an image for each possible device, viewport, and orientation; iOS will choose the best image for the situation automatically. + +# Designing launch storyboard images + +The key to designing a launch storyboard image is understanding that the edges of the image will almost certainly be cropped. Therefore, one should not place any important
[4/7] cordova-plugin-statusbar git commit: CB-10341 ios, document statusTap event
CB-10341 ios, document statusTap event This closes #69 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/commit/086234b8 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/tree/086234b8 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/diff/086234b8 Branch: refs/heads/2.2.x Commit: 086234b881f3b8d75b3609d4ceb70497539938f8 Parents: 2c036c9 Author: Julio Cesar Sanchez HernandezAuthored: Sun Oct 30 11:32:50 2016 +0100 Committer: Julio César Committed: Sun Oct 30 17:46:36 2016 +0100 -- README.md | 21 + 1 file changed, 21 insertions(+) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/blob/086234b8/README.md -- diff --git a/README.md b/README.md index 8196a86..22c84d2 100644 --- a/README.md +++ b/README.md @@ -113,6 +113,11 @@ Properties - StatusBar.isVisible +Events +-- + +- statusTap + Permissions --- @@ -310,3 +315,19 @@ Supported Platforms - Windows Phone 7 - Windows Phone 8 - Windows Phone 8.1 + + +statusTap += + +Listen for this event to know if the statusbar was tapped. + +window.addEventListener('statusTap', function() { +// scroll-up with document.body.scrollTop = 0; or do whatever you want +}); + + +Supported Platforms +--- + +- iOS - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[4/4] cordova-plugin-whitelist git commit: CB-12224 Updated version and RELEASENOTES.md for release 1.3.1
CB-12224 Updated version and RELEASENOTES.md for release 1.3.1 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/commit/79f74a00 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/tree/79f74a00 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/diff/79f74a00 Branch: refs/heads/1.3.x Commit: 79f74a00e2b0bbd865fab7f006343e85b45a2f3c Parents: 2da58f4 Author: Shazron AbdullahAuthored: Wed Dec 7 16:39:47 2016 -0800 Committer: Shazron Abdullah Committed: Wed Dec 7 16:39:47 2016 -0800 -- RELEASENOTES.md | 5 + package.json| 2 +- plugin.xml | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/blob/79f74a00/RELEASENOTES.md -- diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 9e271c0..b30249d 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -20,6 +20,11 @@ --> # Release Notes +### 1.3.1 (Dec 07, 2016) +* [CB-11917](https://issues.apache.org/jira/browse/CB-11917) - Remove pull request template checklist item: "iCLA has been submittedâ¦" +* Edit package.json license to match SPDX id +* [CB-11832](https://issues.apache.org/jira/browse/CB-11832) Incremented plugin version. + ### 1.3.0 (Sep 08, 2016) * [CB-11795](https://issues.apache.org/jira/browse/CB-11795) Add 'protective' entry to cordovaDependencies * Updated installation section http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/blob/79f74a00/package.json -- diff --git a/package.json b/package.json index 5d2ad8a..c18fb66 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-whitelist", - "version": "1.3.1-dev", + "version": "1.3.1", "description": "Cordova Whitelist Plugin", "cordova": { "platforms": [ http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/blob/79f74a00/plugin.xml -- diff --git a/plugin.xml b/plugin.xml index 7d435dd..ceb4092 100644 --- a/plugin.xml +++ b/plugin.xml @@ -20,7 +20,7 @@ http://apache.org/cordova/ns/plugins/1.0; id="cordova-plugin-whitelist" - version="1.3.1-dev"> + version="1.3.1"> Whitelist Cordova Network Whitelist Plugin Apache 2.0 - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[1/5] cordova-plugin-vibration git commit: CB-11832 Incremented plugin version.
Repository: cordova-plugin-vibration Updated Branches: refs/heads/2.1.x 591e03421 -> fcc6f19a0 CB-11832 Incremented plugin version. Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/commit/b1f8a280 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/tree/b1f8a280 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/diff/b1f8a280 Branch: refs/heads/2.1.x Commit: b1f8a2801d4c2f782c4d7ff01b74549e18b4aa9d Parents: 591e034 Author: Steve GillAuthored: Fri Sep 9 16:08:04 2016 -0700 Committer: Steve Gill Committed: Fri Sep 9 16:08:04 2016 -0700 -- package.json | 2 +- plugin.xml | 2 +- tests/plugin.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/b1f8a280/package.json -- diff --git a/package.json b/package.json index 87c4ba3..ca52474 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-vibration", - "version": "2.1.2", + "version": "2.1.3-dev", "description": "Cordova Vibration Plugin", "cordova": { "id": "cordova-plugin-vibration", http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/b1f8a280/plugin.xml -- diff --git a/plugin.xml b/plugin.xml index e456820..ad542e3 100644 --- a/plugin.xml +++ b/plugin.xml @@ -21,7 +21,7 @@ http://apache.org/cordova/ns/plugins/1.0; xmlns:android="http://schemas.android.com/apk/res/android; id="cordova-plugin-vibration" -version="2.1.2"> +version="2.1.3-dev"> Vibration Cordova Vibration Plugin http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/b1f8a280/tests/plugin.xml -- diff --git a/tests/plugin.xml b/tests/plugin.xml index dbce359..3cb1cb3 100644 --- a/tests/plugin.xml +++ b/tests/plugin.xml @@ -22,7 +22,7 @@ xmlns:rim="http://www.blackberry.com/ns/widgets; xmlns:android="http://schemas.android.com/apk/res/android; id="cordova-plugin-vibration-tests" -version="2.1.2"> +version="2.1.3-dev"> Cordova Vibration Plugin Tests Apache 2.0 - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[5/5] cordova-plugin-vibration git commit: CB-12224 Updated version and RELEASENOTES.md for release 2.1.3
CB-12224 Updated version and RELEASENOTES.md for release 2.1.3 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/commit/fcc6f19a Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/tree/fcc6f19a Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/diff/fcc6f19a Branch: refs/heads/2.1.x Commit: fcc6f19a087fe620c63b79a270f5b8a033a1791e Parents: ce39a65 Author: Shazron AbdullahAuthored: Wed Dec 7 16:39:47 2016 -0800 Committer: Shazron Abdullah Committed: Wed Dec 7 16:39:47 2016 -0800 -- RELEASENOTES.md | 191 ++ package.json | 2 +- plugin.xml | 2 +- tests/plugin.xml | 2 +- 4 files changed, 194 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/fcc6f19a/RELEASENOTES.md -- diff --git a/RELEASENOTES.md b/RELEASENOTES.md index e6a4023..49ab731 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -20,6 +20,197 @@ --> # Release Notes +### 2.1.3 (Dec 07, 2016) +* Closing invalid pull requests: close #32 +* Closing invalid pull requests: close #31 #32 +* [CB-11917](https://issues.apache.org/jira/browse/CB-11917) - Remove pull request template checklist item: "iCLA has been submittedâ¦" +* [CB-11832](https://issues.apache.org/jira/browse/CB-11832) Incremented plugin version. +* [CB-11832](https://issues.apache.org/jira/browse/CB-11832) Updated version and RELEASENOTES.md for release 2.1.2 +* [CB-11795](https://issues.apache.org/jira/browse/CB-11795) Add 'protective' entry to cordovaDependencies +* add JIRA issue tracker link +* Add badges for paramedic builds on Jenkins +* Add pull request template. +* [CB-10996](https://issues.apache.org/jira/browse/CB-10996) Adding front matter to README.md +* [CB-11091](https://issues.apache.org/jira/browse/CB-11091) Incremented plugin version. +* Updated version and RELEASENOTES.md for release 2.1.1 +* [CB-10636](https://issues.apache.org/jira/browse/CB-10636) Add JSHint for plugins +* chore: edit package.json license to match SPDX id +* [CB-10368](https://issues.apache.org/jira/browse/CB-10368) Incremented plugin version. +* [CB-10368](https://issues.apache.org/jira/browse/CB-10368) Updated version and RELEASENOTES.md for release 2.1.0 +* [CB-9365](https://issues.apache.org/jira/browse/CB-9365) Add support for 'vibrateWithPattern' to Windows Phone 8.1 / Windows 10 +* [CB-10035](https://issues.apache.org/jira/browse/CB-10035) Incremented plugin version. +* [CB-10035](https://issues.apache.org/jira/browse/CB-10035) linked issues in RELEASENOTES.md +* [CB-10035](https://issues.apache.org/jira/browse/CB-10035) Updated version and RELEASENOTES.md for release 2.0.0 +* removed r prefix from tags +* removed r prefix from tags +* [CB-10035](https://issues.apache.org/jira/browse/CB-10035) Updated RELEASENOTES to be newest to oldest +* Actually fixing the contribute link. +* Fixing contribute link. +* Fixed browser platform to pass tests and combined tests +* Removed call to add proxy and renamed browser file +* [CB-7966](https://issues.apache.org/jira/browse/CB-7966) Add cordova-plugin-vibration support for browser platform +* remove travis-ci +* [CB-9166](https://issues.apache.org/jira/browse/CB-9166) Changed plugin.xml framework reference condition to be valid XML. This closes #35 +* [CB-9192](https://issues.apache.org/jira/browse/CB-9192) Incremented plugin version. +* [CB-9202](https://issues.apache.org/jira/browse/CB-9202) updated repo url to github mirror in package.json +* [CB-9192](https://issues.apache.org/jira/browse/CB-9192) Updated version and RELEASENOTES.md for release 1.2.0 +* Adding .ratignore file. +* [CB-9128](https://issues.apache.org/jira/browse/CB-9128) cordova-plugin-vibration documentation translation: cordova-plugin-vibration +* fix npm md issue +* used min/max statics in vibrate with pattern. Use callbackId in callbacks, catch json format exceptions +* static-ized MIN_DURATION and MAX_DURATION +* [CB-7216](https://issues.apache.org/jira/browse/CB-7216) changed cancelWasCalled boolean +* [CB-7218](https://issues.apache.org/jira/browse/CB-7218) truncate vibration to 5 secs for WP8 +* [CB-6916](https://issues.apache.org/jira/browse/CB-6916) added vibrateWithPattern for wp8 +* [CB-6914](https://issues.apache.org/jira/browse/CB-6914) added cancelVibration for wp8 +* android: respect silent audio setting +* Revert "Revert "CB-8959 Incremented plugin version."" +* Revert "CB-8959 Incremented plugin version." +* add license header to bb10 native files +* add missing license headers +*
[3/5] cordova-plugin-media git commit: CB-11917 - Remove pull request template checklist item: "iCLA has been submitted…"
CB-11917 - Remove pull request template checklist item: "iCLA has been submittedâ¦" This closes #118 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/commit/6f28f943 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/tree/6f28f943 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/diff/6f28f943 Branch: refs/heads/2.4.x Commit: 6f28f9438891efb6e228bc54e2d45e8a17d641bb Parents: 4e36c0d Author: Shazron AbdullahAuthored: Wed Sep 28 01:23:00 2016 -0700 Committer: Shazron Abdullah Committed: Tue Oct 4 21:37:09 2016 -0700 -- .github/PULL_REQUEST_TEMPLATE.md | 1 - 1 file changed, 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/blob/6f28f943/.github/PULL_REQUEST_TEMPLATE.md -- diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 4bd6da9..91582f4 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -17,7 +17,6 @@ Thanks! ### Checklist -- [ ] [ICLA](http://www.apache.org/licenses/icla.txt) has been signed and submitted to secret...@apache.org. - [ ] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA database - [ ] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB- is the JIRA ID & "android" is the platform affected. - [ ] Added automated test coverage as appropriate for this change. - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[3/8] cordova-plugin-media-capture git commit: CB-11995 (android) Do not pass a file URI to the camera
CB-11995 (android) Do not pass a file URI to the camera Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/commit/108c2eff Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/tree/108c2eff Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/diff/108c2eff Branch: refs/heads/1.4.x Commit: 108c2eff02700c90103e63c09e8144d965aff03f Parents: 21bb35e Author: Alexander SorokinAuthored: Tue Oct 11 18:04:32 2016 +0300 Committer: Alexander Sorokin Committed: Tue Oct 11 18:04:32 2016 +0300 -- src/android/Capture.java | 74 +++ 1 file changed, 18 insertions(+), 56 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/blob/108c2eff/src/android/Capture.java -- diff --git a/src/android/Capture.java b/src/android/Capture.java index 73781b8..1f7030b 100644 --- a/src/android/Capture.java +++ b/src/android/Capture.java @@ -44,6 +44,7 @@ import org.json.JSONObject; import android.Manifest; import android.app.Activity; +import android.content.ContentResolver; import android.content.ContentValues; import android.content.Intent; import android.content.pm.PackageManager; @@ -78,6 +79,7 @@ public class Capture extends CordovaPlugin { private final PendingRequests pendingRequests = new PendingRequests(); private int numPics;// Number of pictures before capture activity +private Uri imageUri; //public void setContext(Context mCtx) //{ @@ -266,16 +268,13 @@ public class Capture extends CordovaPlugin { Intent intent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE); -// Specify file so that large image is captured and returned -File photo = new File(getTempDirectoryPath(), "Capture.jpg"); -try { -// the ACTION_IMAGE_CAPTURE is run under different credentials and has to be granted write permissions -createWritableFile(photo); -} catch (IOException ex) { -pendingRequests.resolveWithFailure(req, createErrorObject(CAPTURE_INTERNAL_ERR, ex.toString())); -return; -} -intent.putExtra(android.provider.MediaStore.EXTRA_OUTPUT, Uri.fromFile(photo)); +ContentResolver contentResolver = this.cordova.getActivity().getContentResolver(); +ContentValues cv = new ContentValues(); +cv.put(MediaStore.Images.Media.MIME_TYPE, IMAGE_JPEG); +imageUri = contentResolver.insert(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, cv); +LOG.d(LOG_TAG, "Taking a picture and saving to: " + imageUri.toString()); + +intent.putExtra(android.provider.MediaStore.EXTRA_OUTPUT, imageUri); this.cordova.startActivityForResult((CordovaPlugin) this, intent, req.requestCode); } @@ -377,54 +376,17 @@ public class Capture extends CordovaPlugin { } public void onImageActivityResult(Request req) { -// For some reason if I try to do: -// Uri data = intent.getData(); -// It crashes in the emulator and on my phone with a null pointer exception -// To work around it I had to grab the code from CameraLauncher.java -try { -// Create entry in media store for image -// (Don't use insertImage() because it uses default compression setting of 50 - no way to change it) -ContentValues values = new ContentValues(); -values.put(android.provider.MediaStore.Images.Media.MIME_TYPE, IMAGE_JPEG); -Uri uri = null; -try { -uri = this.cordova.getActivity().getContentResolver().insert(android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values); -} catch (UnsupportedOperationException e) { -LOG.d(LOG_TAG, "Can't write to external media storage."); -try { -uri = this.cordova.getActivity().getContentResolver().insert(android.provider.MediaStore.Images.Media.INTERNAL_CONTENT_URI, values); -} catch (UnsupportedOperationException ex) { -LOG.d(LOG_TAG, "Can't write to internal media storage."); -pendingRequests.resolveWithFailure(req, createErrorObject(CAPTURE_INTERNAL_ERR, "Error capturing image - no media storage found.")); -return; -} -} -FileInputStream fis = new FileInputStream(getTempDirectoryPath() + "/Capture.jpg"); -OutputStream os =
[3/9] cordova-plugin-wkwebview-engine git commit: CB-11917 - Remove pull request template checklist item: "iCLA has been submitted…"
CB-11917 - Remove pull request template checklist item: "iCLA has been submittedâ¦" This closes #21 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/commit/81e88985 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/tree/81e88985 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/diff/81e88985 Branch: refs/heads/1.1.x Commit: 81e889854a5ca8b7bd620f91e945998a280305c3 Parents: 608855b Author: Shazron AbdullahAuthored: Wed Sep 28 01:29:03 2016 -0700 Committer: Shazron Abdullah Committed: Tue Oct 4 21:30:03 2016 -0700 -- .github/PULL_REQUEST_TEMPLATE.md | 1 - 1 file changed, 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/blob/81e88985/.github/PULL_REQUEST_TEMPLATE.md -- diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 4bd6da9..91582f4 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -17,7 +17,6 @@ Thanks! ### Checklist -- [ ] [ICLA](http://www.apache.org/licenses/icla.txt) has been signed and submitted to secret...@apache.org. - [ ] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA database - [ ] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB- is the JIRA ID & "android" is the platform affected. - [ ] Added automated test coverage as appropriate for this change. - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[6/9] cordova-plugin-wkwebview-engine git commit: CB-10228:(iOS) AppendUserAgent not working with WKWebView
CB-10228:(iOS) AppendUserAgent not working with WKWebView Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/commit/bf24bb63 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/tree/bf24bb63 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/diff/bf24bb63 Branch: refs/heads/1.1.x Commit: bf24bb63416a7961196a1ba70023c5ebdad5c955 Parents: d5591de Author: kelvinhoAuthored: Tue Nov 29 17:20:02 2016 +0800 Committer: Shazron Abdullah Committed: Mon Dec 5 14:52:33 2016 -0800 -- src/ios/CDVWKWebViewEngine.m | 4 1 file changed, 4 insertions(+) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/blob/bf24bb63/src/ios/CDVWKWebViewEngine.m -- diff --git a/src/ios/CDVWKWebViewEngine.m b/src/ios/CDVWKWebViewEngine.m index e43c7ba..5d361c5 100644 --- a/src/ios/CDVWKWebViewEngine.m +++ b/src/ios/CDVWKWebViewEngine.m @@ -99,6 +99,10 @@ wkWebView.UIDelegate = self.uiDelegate; self.engineWebView = wkWebView; +if ([self.viewController isKindOfClass:[CDVViewController class]]) { +wkWebView.customUserAgent = ((CDVViewController*) self.viewController).userAgent; +} + if ([self.viewController conformsToProtocol:@protocol(WKUIDelegate)]) { wkWebView.UIDelegate = (id )self.viewController; } - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[6/7] cordova-plugin-splashscreen git commit: CB-11751 'extendedSplashScreen' is undefined Document that splashscreen needs to be disabled on Windows in case of updating entire document body
CB-11751 'extendedSplashScreen' is undefined Document that splashscreen needs to be disabled on Windows in case of updating entire document body Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/commit/04667e04 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/tree/04667e04 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/diff/04667e04 Branch: refs/heads/4.0.x Commit: 04667e04c029f7ccfdd1567b128ee56dc041450a Parents: de28cf8 Author: dasergeAuthored: Tue Nov 15 17:04:57 2016 +0300 Committer: daserge Committed: Fri Dec 2 17:27:37 2016 +0300 -- README.md | 3 +++ 1 file changed, 3 insertions(+) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/blob/04667e04/README.md -- diff --git a/README.md b/README.md index 71b13e5..aa2aa64 100644 --- a/README.md +++ b/README.md @@ -384,6 +384,9 @@ To disable the splashscreen add the following preference to `config.xml`: ``` +**Windows Quirk**: You should disable the splashscreen in case you are updating the entire document body dynamically (f.e. with a SPA router) to avoid affecting UI/controls. +Note that you should also directly reference `WinJS/base.js` in the page HTML in this case to avoid the issues with activation context ([CB-11658](https://issues.apache.org/jira/browse/CB-11658)). + **iOS Quirk**: to disable the splashscreen on `ios` platform you should also add `` to `config.xml`. - `FadeSplashScreen` (boolean, defaults to `true`): Set to `false` to - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[cordova-plugin-inappbrowser] Git Push Summary
Repository: cordova-plugin-inappbrowser Updated Branches: refs/heads/1.6.x [created] 009e662c8 - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[3/4] cordova-plugin-test-framework git commit: CB-11917 - Remove pull request template checklist item: "iCLA has been submitted…"
CB-11917 - Remove pull request template checklist item: "iCLA has been submittedâ¦" This closes #21 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/commit/5a20c038 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/tree/5a20c038 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/diff/5a20c038 Branch: refs/heads/1.1.x Commit: 5a20c0389c4222d4227774a6930ea315b6106a68 Parents: c1374e3 Author: Shazron AbdullahAuthored: Wed Sep 28 01:31:06 2016 -0700 Committer: Shazron Abdullah Committed: Tue Oct 4 21:28:53 2016 -0700 -- .github/PULL_REQUEST_TEMPLATE.md | 1 - 1 file changed, 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/blob/5a20c038/.github/PULL_REQUEST_TEMPLATE.md -- diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 4bd6da9..91582f4 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -17,7 +17,6 @@ Thanks! ### Checklist -- [ ] [ICLA](http://www.apache.org/licenses/icla.txt) has been signed and submitted to secret...@apache.org. - [ ] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA database - [ ] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB- is the JIRA ID & "android" is the platform affected. - [ ] Added automated test coverage as appropriate for this change. - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[5/5] cordova-plugin-media git commit: CB-12224 Updated version and RELEASENOTES.md for release 2.4.1
CB-12224 Updated version and RELEASENOTES.md for release 2.4.1 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/commit/f0a6d451 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/tree/f0a6d451 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/diff/f0a6d451 Branch: refs/heads/2.4.x Commit: f0a6d4512002176adae1a7cc4d58b6d6a0b06722 Parents: f0a0bb8 Author: Shazron AbdullahAuthored: Wed Dec 7 16:39:46 2016 -0800 Committer: Shazron Abdullah Committed: Wed Dec 7 16:39:46 2016 -0800 -- RELEASENOTES.md | 251 ++ package.json | 2 +- plugin.xml | 2 +- tests/plugin.xml | 2 +- 4 files changed, 254 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/blob/f0a6d451/RELEASENOTES.md -- diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 0ccca54..fdd38f4 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -20,6 +20,257 @@ --> # Release Notes +### 2.4.1 (Dec 07, 2016) +* [CB-12034](https://issues.apache.org/jira/browse/CB-12034) (ios) Add mandatory iOS 10 privacy description +* [CB-11917](https://issues.apache.org/jira/browse/CB-11917) - Remove pull request template checklist item: "iCLA has been submittedâ¦" +* [CB-11529](https://issues.apache.org/jira/browse/CB-11529) ios: Make available setting volume for player on ios device +* [CB-11832](https://issues.apache.org/jira/browse/CB-11832) Incremented plugin version. +* [CB-11832](https://issues.apache.org/jira/browse/CB-11832) Updated version and RELEASENOTES.md for release 2.4.0 +* [CB-11795](https://issues.apache.org/jira/browse/CB-11795) Add 'protective' entry to cordovaDependencies +* [CB-11793](https://issues.apache.org/jira/browse/CB-11793) fixed android build issue with last commit +* [CB-11085](https://issues.apache.org/jira/browse/CB-11085) Fix error output using println to LOG.e +* [CB-11757](https://issues.apache.org/jira/browse/CB-11757) (ios) Error out if trying to stop playback while in a wrong state +* [CB-11380](https://issues.apache.org/jira/browse/CB-11380) (ios) Overloaded audioFileForResource method instead of modifying its signature +* Closing invalid pull request: close #104 +* [CB-11380](https://issues.apache.org/jira/browse/CB-11380) (ios) Updated modified method signature in the .h file +* [CB-11380](https://issues.apache.org/jira/browse/CB-11380) (ios) Fixed an unexpected error callback when initializing Media with file that doesn't exist +* [CB-10849](https://issues.apache.org/jira/browse/CB-10849) (ios) Fixed a crash when playing soundfiles consecutively +* [CB-11754](https://issues.apache.org/jira/browse/CB-11754) (Android) Fixed the build error +* [CB-11086](https://issues.apache.org/jira/browse/CB-11086) (Android) Fixed a crash when setVolume() is called on unitialized audio This closes #93 +* Plugin uses Android Log class and not Cordova LOG class +* [CB-11655](https://issues.apache.org/jira/browse/CB-11655) (Android) Enabled asynchronous error handling +* Update spec.24 expectations to be more descriptive +* [CB-11430](https://issues.apache.org/jira/browse/CB-11430) Report duration NaN value to JS properly +* [CB-11429](https://issues.apache.org/jira/browse/CB-11429) Update test stream URL +* [CB-11430](https://issues.apache.org/jira/browse/CB-11430) Skip audio playback tests on Saucelabs +* [CB-11458](https://issues.apache.org/jira/browse/CB-11458) - media.spec.25 'should be able to play an audio stream' fails on iOS platform +* Add badges for paramedic builds on Jenkins +* [CB-11313](https://issues.apache.org/jira/browse/CB-11313) Can't start media streaming on Android 6.0 (test case) +* [CB-11313](https://issues.apache.org/jira/browse/CB-11313) Can't start media streaming on Android 6.0 +* Add pull request template. +* Readme: Add fenced code blocks with langauage hints +* Dummy commit to trigger CI run +* Dummy commit to trigger CI run +* [CB-11165](https://issues.apache.org/jira/browse/CB-11165) removed peer dependency +* [CB-10776](https://issues.apache.org/jira/browse/CB-10776) Add the ability to pause and resume an audio recording (Android) +* [CB-10776](https://issues.apache.org/jira/browse/CB-10776) Add the ability to pause and resume an audio recording (iOS) +* [CB-9487](https://issues.apache.org/jira/browse/CB-9487) Don't update position when getting amplitude +* [CB-10996](https://issues.apache.org/jira/browse/CB-10996) Adding front matter to README.md +* Dummy commit to trigger CI run +* [CB-11091](https://issues.apache.org/jira/browse/CB-11091) Incremented plugin version. +* Updated version and RELEASENOTES.md
[2/4] cordova-plugin-test-framework git commit: Edit package.json license to match SPDX id
Edit package.json license to match SPDX id See [NPM package.json spec for licenses](https://docs.npmjs.com/files/package.json#license) and [SPDX license IDs](https://spdx.org/licenses/) X-ref: apache/cordova-plugin-device#48 This closes #22 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/commit/c1374e30 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/tree/c1374e30 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/diff/c1374e30 Branch: refs/heads/1.1.x Commit: c1374e3060cc93c07a9655905c5e0f342fcd6d8a Parents: 89dd353 Author: t1st3Authored: Wed Sep 28 15:26:00 2016 +0200 Committer: Shazron Abdullah Committed: Wed Sep 28 11:38:46 2016 -0700 -- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/blob/c1374e30/package.json -- diff --git a/package.json b/package.json index aad836e..bad2c93 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "jshint": "jshint www" }, "author": "Apache Software Foundation", - "license": "Apache 2.0", + "license": "Apache-2.0", "devDependencies": { "jshint": "^2.6.0" } - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[5/7] cordova-plugin-splashscreen git commit: CB-9287 Not enough Icons and Splashscreens for Windows 8.1 and Windows Phone 8.1
CB-9287 Not enough Icons and Splashscreens for Windows 8.1 and Windows Phone 8.1 Documented MRT-style configuration Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/commit/de28cf89 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/tree/de28cf89 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/diff/de28cf89 Branch: refs/heads/4.0.x Commit: de28cf89bfadb876ce9c98fc2ab3b28159c488e8 Parents: 770c264 Author: dasergeAuthored: Mon Nov 21 19:34:38 2016 +0300 Committer: daserge Committed: Fri Nov 25 13:40:06 2016 +0300 -- README.md | 34 -- 1 file changed, 32 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/blob/de28cf89/README.md -- diff --git a/README.md b/README.md index f7eaee5..71b13e5 100644 --- a/README.md +++ b/README.md @@ -251,6 +251,30 @@ The above looks like the following in `config.xml`: 3. **`anyany` must be provided for other variations to be used** If you don't provide an `anyany` version of the launch image for a specific scale and idiom, the other variations (like `anycom`, `comany`, and `comcom`) will ignored. +## Windows-specific information + +Splash screen images can be defined using the [MRT](https://cordova.apache.org/docs/en/dev/config_ref/images.html#windows) concept. +If you specify src="res/windows/splashscreen.png" the following files will be copied into the application's images folder: +`res/windows/splashscreen.png` | `res/windows/splashscreen.scale-100.png`, `res/windows/splashscreen.scale-125.png`, etc. +The following are supported: + +| Scale, % | Project |Width|Height| Filename | +|::|:---:|:---:|::|:-:| +| 100 | Windows 10/8.1 | 620 | 300 | `splashscreen.png` \| `splashscreen.scale-100.png` | +| 125 | Windows 10 | 775 | 375 | `splashscreen.scale-125.png` | +| 150 | Windows 10 | 930 | 450 | `splashscreen.scale-150.png` | +| 200 | Windows 10 | 1240| 600 | `splashscreen.scale-200.png` | +| 400 | Windows 10 | 2480| 1200 | `splashscreen.scale-400.png` | +| 140 | Windows 8.1| 868 | 420 | `splashscreen.scale-140.png` | +| 180 | Windows 8.1| 1116| 540 | `splashscreen.scale-180.png` | +| 100 | Windows Phone 8.1 | 480 | 800 | `splashscreenphone.png` \| `splashscreenphone.scale-100.png` | +| 140 | Windows Phone 8.1 | 672 | 1120 | `splashscreenphone.scale-140.png` | +| 240 | Windows Phone 8.1 | 1152| 1920 | `splashscreenphone.scale-240.png` | + +__Note__: SplashScreens size for Windows 10 project should not exceed 200 KBytes. +__Note__: Supported formats are `.png`, `.jpg`, `.jpeg`. Mixing of the extensions within a target is not supported. I.e. you can have `splashscreen.jpg` and `splashscreenphone.png` but not `splashscreen.scale-100.png`, `splashscreen.scale-400.jpg`. +__Note__: You may need to reopen Visual Studio solution after changing the images and doing a `cordova prepare` for the changes to take effect. + ## Example Configuration In the top-level `config.xml` file (not the one in `platforms`), add configuration elements like those specified here. @@ -316,11 +340,17 @@ projectRoot + - + + + + + + - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[9/9] cordova-plugin-wkwebview-engine git commit: CB-12224 Updated version and RELEASENOTES.md for release 1.1.1
CB-12224 Updated version and RELEASENOTES.md for release 1.1.1 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/commit/91e9d74e Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/tree/91e9d74e Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/diff/91e9d74e Branch: refs/heads/1.1.x Commit: 91e9d74e78ccec5f77837475937553003b710b01 Parents: 4cd73e0 Author: Shazron AbdullahAuthored: Wed Dec 7 16:39:47 2016 -0800 Committer: Shazron Abdullah Committed: Wed Dec 7 16:39:47 2016 -0800 -- RELEASENOTES.md | 10 ++ package.json | 2 +- plugin.xml | 2 +- tests/plugin.xml | 2 +- 4 files changed, 13 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/blob/91e9d74e/RELEASENOTES.md -- diff --git a/RELEASENOTES.md b/RELEASENOTES.md index dbdfc9f..b89b5df 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -21,6 +21,16 @@ # Release Notes +### 1.1.1 (Dec 07, 2016) +* Updated README.md +* added check for at least iOS 9.0 +* CB-10228:(iOS) AppendUserAgent not working with WKWebView +* [CB-11997](https://issues.apache.org/jira/browse/CB-11997) Code review comments +* [CB-11997](https://issues.apache.org/jira/browse/CB-11997) Add crash recovery for iOS 8 +* [CB-11917](https://issues.apache.org/jira/browse/CB-11917) - Remove pull request template checklist item: "iCLA has been submittedâ¦" +* [CB-11818](https://issues.apache.org/jira/browse/CB-11818) - Avoid retain cycle: WKUserContentController retains its message handler, to break it we cannot pass directly CDVWKWebViewEngine's instance +* [CB-11832](https://issues.apache.org/jira/browse/CB-11832) Incremented plugin version. + ### 1.1.0 (Sep 08, 2016) * [CB-11824](https://issues.apache.org/jira/browse/CB-11824) - Update tests to include objective-c tests * [CB-11554](https://issues.apache.org/jira/browse/CB-11554) - fixed unit tests http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/blob/91e9d74e/package.json -- diff --git a/package.json b/package.json index d83af19..c38e3c8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-wkwebview-engine", - "version": "1.1.1-dev", + "version": "1.1.1", "description": "The official Apache Cordova WKWebView Engine Plugin", "main": "index.js", "repository": { http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/blob/91e9d74e/plugin.xml -- diff --git a/plugin.xml b/plugin.xml index 102f7c6..b129754 100644 --- a/plugin.xml +++ b/plugin.xml @@ -23,7 +23,7 @@ xmlns:rim="http://www.blackberry.com/ns/widgets; xmlns:android="http://schemas.android.com/apk/res/android; id="cordova-plugin-wkwebview-engine" -version="1.1.1-dev"> +version="1.1.1"> Cordova WKWebView Engine Cordova WKWebView Engine Plugin Apache 2.0 http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/blob/91e9d74e/tests/plugin.xml -- diff --git a/tests/plugin.xml b/tests/plugin.xml index 378cb46..6f06fff 100644 --- a/tests/plugin.xml +++ b/tests/plugin.xml @@ -20,7 +20,7 @@ http://apache.org/cordova/ns/plugins/1.0; id="cordova-plugin-wkwebview-engine-tests" -version="1.1.1-dev"> +version="1.1.1"> cordova-plugin-wkwebview-engine Tests Apache 2.0 - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[3/4] cordova-plugin-whitelist git commit: CB-11917 - Remove pull request template checklist item: "iCLA has been submitted…"
CB-11917 - Remove pull request template checklist item: "iCLA has been submittedâ¦" This closes #23 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/commit/2da58f4a Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/tree/2da58f4a Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/diff/2da58f4a Branch: refs/heads/1.3.x Commit: 2da58f4a8069425fb8156d48a2dd7399cce59854 Parents: 82a4c77 Author: Shazron AbdullahAuthored: Wed Sep 28 01:29:39 2016 -0700 Committer: Shazron Abdullah Committed: Tue Oct 4 21:30:44 2016 -0700 -- .github/PULL_REQUEST_TEMPLATE.md | 1 - 1 file changed, 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/blob/2da58f4a/.github/PULL_REQUEST_TEMPLATE.md -- diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 4bd6da9..91582f4 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -17,7 +17,6 @@ Thanks! ### Checklist -- [ ] [ICLA](http://www.apache.org/licenses/icla.txt) has been signed and submitted to secret...@apache.org. - [ ] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA database - [ ] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB- is the JIRA ID & "android" is the platform affected. - [ ] Added automated test coverage as appropriate for this change. - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[4/9] cordova-plugin-wkwebview-engine git commit: CB-11997: Add crash recovery for iOS 8
CB-11997: Add crash recovery for iOS 8 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/commit/d9d30f2c Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/tree/d9d30f2c Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/diff/d9d30f2c Branch: refs/heads/1.1.x Commit: d9d30f2cf91f307b44ecc5efe1763ae7d0b3bdb3 Parents: 81e8898 Author: Connor PearsonAuthored: Tue Oct 11 14:04:37 2016 -0400 Committer: Connor Pearson Committed: Tue Oct 11 14:04:37 2016 -0400 -- src/ios/CDVWKWebViewEngine.m | 26 ++ 1 file changed, 26 insertions(+) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/blob/d9d30f2c/src/ios/CDVWKWebViewEngine.m -- diff --git a/src/ios/CDVWKWebViewEngine.m b/src/ios/CDVWKWebViewEngine.m index 50a872c..9ab0d5c 100644 --- a/src/ios/CDVWKWebViewEngine.m +++ b/src/ios/CDVWKWebViewEngine.m @@ -123,6 +123,32 @@ name:UIApplicationWillEnterForegroundNotification object:nil]; NSLog(@"Using WKWebView"); + +[self addURLObserver]; +} + +- (void)onReset { +[self addURLObserver]; +} + +static void * KVOContext = + +- (void)addURLObserver { +if(![[NSProcessInfo processInfo] isOperatingSystemAtLeastVersion:(NSOperatingSystemVersion){.majorVersion = 9, .minorVersion = 0, .patchVersion = 0 }]){ +[self.webView addObserver:self forKeyPath:@"URL" options:0 context:KVOContext]; +} +} + +- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context +{ +if (context == KVOContext) { +if (object == [self webView] && [keyPath isEqualToString: @"URL"] && [object valueForKeyPath:keyPath] == nil){ +NSLog(@"URL is nil. Reloading WebView"); +[(WKWebView*)_engineWebView reload]; +} +} else { +[super observeValueForKeyPath:keyPath ofObject:object change:change context:context]; +} } - (void) onAppWillEnterForeground:(NSNotification*)notification { - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[cordova-plugin-legacy-whitelist] Git Push Summary
Repository: cordova-plugin-legacy-whitelist Updated Branches: refs/heads/1.1.x [created] 7c561bdff - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[1/8] cordova-plugin-media-capture git commit: CB-11832 Incremented plugin version.
Repository: cordova-plugin-media-capture Updated Branches: refs/heads/1.4.x c5b9cacf9 -> b09b24d71 CB-11832 Incremented plugin version. Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/commit/14810a2c Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/tree/14810a2c Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/diff/14810a2c Branch: refs/heads/1.4.x Commit: 14810a2c547f79363ecd2cf7ac0bcb59380bc125 Parents: c5b9cac Author: Steve GillAuthored: Fri Sep 9 16:08:04 2016 -0700 Committer: Steve Gill Committed: Fri Sep 9 16:08:04 2016 -0700 -- package.json | 2 +- plugin.xml | 2 +- tests/plugin.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/blob/14810a2c/package.json -- diff --git a/package.json b/package.json index 819308f..3fc28c8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-media-capture", - "version": "1.4.0", + "version": "1.4.1-dev", "description": "Cordova Media Capture Plugin", "cordova": { "id": "cordova-plugin-media-capture", http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/blob/14810a2c/plugin.xml -- diff --git a/plugin.xml b/plugin.xml index 53a9a58..11bb6a9 100644 --- a/plugin.xml +++ b/plugin.xml @@ -22,7 +22,7 @@ xmlns:android="http://schemas.android.com/apk/res/android; xmlns:rim="http://www.blackberry.com/ns/widgets; id="cordova-plugin-media-capture" - version="1.4.0"> + version="1.4.1-dev"> Capture Cordova Media Capture Plugin http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/blob/14810a2c/tests/plugin.xml -- diff --git a/tests/plugin.xml b/tests/plugin.xml index c5481b3..c9c2d46 100644 --- a/tests/plugin.xml +++ b/tests/plugin.xml @@ -22,7 +22,7 @@ xmlns:android="http://schemas.android.com/apk/res/android; xmlns:rim="http://www.blackberry.com/ns/widgets; id="cordova-plugin-media-capture-tests" -version="1.4.0"> +version="1.4.1-dev"> Cordova Media Capture Plugin Tests Apache 2.0 - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[7/8] cordova-plugin-media-capture git commit: CB-10701 CB-7117 android: Add manual test to check getting metadata
CB-10701 CB-7117 android: Add manual test to check getting metadata Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/commit/7e28e9cb Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/tree/7e28e9cb Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/diff/7e28e9cb Branch: refs/heads/1.4.x Commit: 7e28e9cb1d60e54ecb1e29e61d38329d9c0e62f0 Parents: 26f9ad1 Author: Nikita MatrosovAuthored: Wed Oct 26 14:39:10 2016 +0300 Committer: Vladimir Kotikov Committed: Wed Oct 26 16:06:47 2016 +0300 -- tests/tests.js | 18 ++ 1 file changed, 18 insertions(+) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/blob/7e28e9cb/tests/tests.js -- diff --git a/tests/tests.js b/tests/tests.js index c3177f4..fd2f60b 100644 --- a/tests/tests.js +++ b/tests/tests.js @@ -134,6 +134,7 @@ exports.defineManualTests = function (contentEl, createActionButton) { log('Audio captured: ' + path); var m = new Media(path); m.play(); +getFileMetadata(mediaFiles[0]); } function captureAudioFail(e) { @@ -213,6 +214,23 @@ exports.defineManualTests = function (contentEl, createActionButton) { source_vid.src = path; vid.appendChild(source_vid); document.getElementById('video_container').appendChild(vid); +getFileMetadata(mediaFiles[0]); +} + +function getFileMetadata(mediaFile) { +mediaFile.getFormatData(getMetadataWin, getMetadataFail); +} + +function getMetadataWin(metadata) { +var strMetadata = +"duration = " + metadata.duration + '\n' + +"width = " + metadata.width + '\n' + +"height = " + metadata.height; +log(strMetadata); +} + +function getMetadataFail(e) { +log("Error getting metadata: " + e.code); } function captureVideoFail(e) { - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[1/4] cordova-plugin-whitelist git commit: CB-11832 Incremented plugin version.
Repository: cordova-plugin-whitelist Updated Branches: refs/heads/1.3.x d51a36005 -> 79f74a00e CB-11832 Incremented plugin version. Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/commit/0bb91fa1 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/tree/0bb91fa1 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/diff/0bb91fa1 Branch: refs/heads/1.3.x Commit: 0bb91fa1e2721e7e6765591aefa2f2312410f1c0 Parents: d51a360 Author: Steve GillAuthored: Fri Sep 9 16:08:04 2016 -0700 Committer: Steve Gill Committed: Fri Sep 9 16:08:04 2016 -0700 -- package.json | 2 +- plugin.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/blob/0bb91fa1/package.json -- diff --git a/package.json b/package.json index ae0d386..481daa9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-whitelist", - "version": "1.3.0", + "version": "1.3.1-dev", "description": "Cordova Whitelist Plugin", "cordova": { "platforms": [ http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/blob/0bb91fa1/plugin.xml -- diff --git a/plugin.xml b/plugin.xml index 21f7b54..7d435dd 100644 --- a/plugin.xml +++ b/plugin.xml @@ -20,7 +20,7 @@ http://apache.org/cordova/ns/plugins/1.0; id="cordova-plugin-whitelist" - version="1.3.0"> + version="1.3.1-dev"> Whitelist Cordova Network Whitelist Plugin Apache 2.0 - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[1/9] cordova-plugin-wkwebview-engine git commit: CB-11832 Incremented plugin version.
Repository: cordova-plugin-wkwebview-engine Updated Branches: refs/heads/1.1.x d97b63bd7 -> 91e9d74e7 CB-11832 Incremented plugin version. Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/commit/10075b96 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/tree/10075b96 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/diff/10075b96 Branch: refs/heads/1.1.x Commit: 10075b9625eb6aece2dd8c7a4d5ba451fc7f2e76 Parents: d97b63b Author: Steve GillAuthored: Fri Sep 9 16:08:04 2016 -0700 Committer: Steve Gill Committed: Fri Sep 9 16:08:04 2016 -0700 -- package.json | 2 +- plugin.xml | 2 +- tests/plugin.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/blob/10075b96/package.json -- diff --git a/package.json b/package.json index 956cf20..d83af19 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-wkwebview-engine", - "version": "1.1.0", + "version": "1.1.1-dev", "description": "The official Apache Cordova WKWebView Engine Plugin", "main": "index.js", "repository": { http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/blob/10075b96/plugin.xml -- diff --git a/plugin.xml b/plugin.xml index 9b7abed..102f7c6 100644 --- a/plugin.xml +++ b/plugin.xml @@ -23,7 +23,7 @@ xmlns:rim="http://www.blackberry.com/ns/widgets; xmlns:android="http://schemas.android.com/apk/res/android; id="cordova-plugin-wkwebview-engine" -version="1.1.0"> +version="1.1.1-dev"> Cordova WKWebView Engine Cordova WKWebView Engine Plugin Apache 2.0 http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/blob/10075b96/tests/plugin.xml -- diff --git a/tests/plugin.xml b/tests/plugin.xml index a6a4235..378cb46 100644 --- a/tests/plugin.xml +++ b/tests/plugin.xml @@ -20,7 +20,7 @@ http://apache.org/cordova/ns/plugins/1.0; id="cordova-plugin-wkwebview-engine-tests" -version="1.1.0"> +version="1.1.1-dev"> cordova-plugin-wkwebview-engine Tests Apache 2.0 - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[2/8] cordova-plugin-media-capture git commit: CB-11917 - Remove pull request template checklist item: "iCLA has been submitted…"
CB-11917 - Remove pull request template checklist item: "iCLA has been submittedâ¦" This closes #71 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/commit/21bb35e4 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/tree/21bb35e4 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/diff/21bb35e4 Branch: refs/heads/1.4.x Commit: 21bb35e46682978228e827614e078f33e1a2d9be Parents: 14810a2 Author: Shazron AbdullahAuthored: Wed Sep 28 01:32:03 2016 -0700 Committer: Shazron Abdullah Committed: Tue Oct 4 21:35:13 2016 -0700 -- .github/PULL_REQUEST_TEMPLATE.md | 1 - 1 file changed, 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/blob/21bb35e4/.github/PULL_REQUEST_TEMPLATE.md -- diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 4bd6da9..91582f4 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -17,7 +17,6 @@ Thanks! ### Checklist -- [ ] [ICLA](http://www.apache.org/licenses/icla.txt) has been signed and submitted to secret...@apache.org. - [ ] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA database - [ ] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB- is the JIRA ID & "android" is the platform affected. - [ ] Added automated test coverage as appropriate for this change. - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[4/8] cordova-plugin-media-capture git commit: CB-11996 Added a new manual test to capture multiple images
CB-11996 Added a new manual test to capture multiple images Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/commit/cd7d40d5 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/tree/cd7d40d5 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/diff/cd7d40d5 Branch: refs/heads/1.4.x Commit: cd7d40d5dc80755fb6798b839383cdae73bd01ab Parents: 108c2ef Author: Alexander SorokinAuthored: Tue Oct 11 18:53:39 2016 +0300 Committer: Alexander Sorokin Committed: Tue Oct 11 18:53:39 2016 +0300 -- tests/tests.js | 42 +- 1 file changed, 41 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/blob/cd7d40d5/tests/tests.js -- diff --git a/tests/tests.js b/tests/tests.js index 7336b8a..c3177f4 100644 --- a/tests/tests.js +++ b/tests/tests.js @@ -156,6 +156,30 @@ exports.defineManualTests = function (contentEl, createActionButton) { document.getElementById('camera_image').src = path; } +function captureImagesWin(mediaFiles) { +var path = mediaFiles[0].fullPath; +// Necessary since windows doesn't allow file URLs for elements +if (cordova.platformId == 'windows' || cordova.platformId == 'windows8' || cordova.platformId === 'browser') { +path = mediaFiles[0].localURL; +} +var path2 = mediaFiles[1].fullPath; +// Necessary since windows doesn't allow file URLs for elements +if (cordova.platformId == 'windows' || cordova.platformId == 'windows8' || cordova.platformId === 'browser') { +path = mediaFiles[1].localURL; +} +var path3 = mediaFiles[2].fullPath; +// Necessary since windows doesn't allow file URLs for elements +if (cordova.platformId == 'windows' || cordova.platformId == 'windows8' || cordova.platformId === 'browser') { +path = mediaFiles[2].localURL; +} +log('Image captured: ' + path); +log('Image captured: ' + path2); +log('Image captured: ' + path3); +document.getElementById('camera_image').src = path; +document.getElementById('camera_image2').src = path2; +document.getElementById('camera_image3').src = path3; +} + function captureImageFail(e) { log('Error getting image: ' + e.code); } @@ -166,6 +190,12 @@ exports.defineManualTests = function (contentEl, createActionButton) { navigator.device.capture.captureImage(captureImageWin, captureImageFail, options); } +function getImages() { +clearStatus(); +var options = { limit: 3 }; +navigator.device.capture.captureImage(captureImagesWin, captureImageFail, options); +} + function captureVideoWin(mediaFiles) { var path = mediaFiles[0].fullPath; log('Video captured: ' + path); @@ -231,18 +261,24 @@ exports.defineManualTests = function (contentEl, createActionButton) { function clearStatus() { document.getElementById('camera_status').innerHTML = ''; document.getElementById('camera_image').src = 'about:blank'; +document.getElementById('camera_image2').src = 'about:blank'; +document.getElementById('camera_image3').src = 'about:blank'; } /**/ contentEl.innerHTML = '' + 'Status: ' + -'img: ' + +'img1: ' + +'img2: ' + +'img3: ' + 'video: ' + '' + 'Expected result: Audio recorder will come up. Press record button to record for 10 seconds. Press Done. Status box will update with audio file and automatically play recording.' + ' ' + 'Expected result: Status box will update with image just taken.' + +' ' + +'Expected result: Status box will update with images just taken.' + ' ' + 'Expected result: Record 10 second video. Status box will update with video file that you can play.' + ' ' + @@ -256,6 +292,10 @@ exports.defineManualTests = function (contentEl, createActionButton) { getImage(); }, 'image'); +createActionButton('Capture 3 images', function () { +getImages(); +}, 'images'); + createActionButton('Capture 10 sec of video', function () { getVideo(); }, 'video'); - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[7/7] cordova-plugin-statusbar git commit: CB-12224 Updated version and RELEASENOTES.md for release 2.2.1
CB-12224 Updated version and RELEASENOTES.md for release 2.2.1 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/commit/a50208bd Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/tree/a50208bd Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/diff/a50208bd Branch: refs/heads/2.2.x Commit: a50208bda2728902c1e1640a7ebeae599fb42b5d Parents: 6bfc749 Author: Shazron AbdullahAuthored: Wed Dec 7 16:39:46 2016 -0800 Committer: Shazron Abdullah Committed: Wed Dec 7 16:39:46 2016 -0800 -- RELEASENOTES.md | 8 package.json | 2 +- plugin.xml | 2 +- tests/plugin.xml | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/blob/a50208bd/RELEASENOTES.md -- diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 0abff40..9568a1b 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -20,6 +20,14 @@ --> # Release Notes +### 2.2.1 (Dec 07, 2016) +* [CB-10288](https://issues.apache.org/jira/browse/CB-10288) statusbar plugin interaction with iOS multitasking +* [CB-10158](https://issues.apache.org/jira/browse/CB-10158) (ios) fix StatusBar issue when recovering from fullscreen video +* [CB-10341](https://issues.apache.org/jira/browse/CB-10341) ios, document statusTap event +* [CB-11191](https://issues.apache.org/jira/browse/CB-11191) Statusbar plugin causing issues with webview size +* [CB-11917](https://issues.apache.org/jira/browse/CB-11917) - Remove pull request template checklist item: "iCLA has been submittedâ¦" +* [CB-11832](https://issues.apache.org/jira/browse/CB-11832) Incremented plugin version. + ### 2.2.0 (Sep 08, 2016) * [CB-11795](https://issues.apache.org/jira/browse/CB-11795) Add 'protective' entry to cordovaDependencies * Handle extended status bar on **iOS** http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/blob/a50208bd/package.json -- diff --git a/package.json b/package.json index 6d0921e..4027d6c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-statusbar", - "version": "2.2.1-dev", + "version": "2.2.1", "description": "Cordova StatusBar Plugin", "cordova": { "id": "cordova-plugin-statusbar", http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/blob/a50208bd/plugin.xml -- diff --git a/plugin.xml b/plugin.xml index 2047486..a84ab03 100644 --- a/plugin.xml +++ b/plugin.xml @@ -22,7 +22,7 @@ xmlns:rim="http://www.blackberry.com/ns/widgets; xmlns:android="http://schemas.android.com/apk/res/android; id="cordova-plugin-statusbar" -version="2.2.1-dev"> +version="2.2.1"> StatusBar Cordova StatusBar Plugin Apache 2.0 http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/blob/a50208bd/tests/plugin.xml -- diff --git a/tests/plugin.xml b/tests/plugin.xml index 0adf6dc..34b1bc1 100644 --- a/tests/plugin.xml +++ b/tests/plugin.xml @@ -22,7 +22,7 @@ xmlns:rim="http://www.blackberry.com/ns/widgets; xmlns:android="http://schemas.android.com/apk/res/android; id="cordova-plugin-statusbar-tests" -version="2.2.1-dev"> +version="2.2.1"> Cordova StatusBar Plugin Tests Apache 2.0 - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[2/5] cordova-plugin-vibration git commit: CB-11917 - Remove pull request template checklist item: "iCLA has been submitted…"
CB-11917 - Remove pull request template checklist item: "iCLA has been submittedâ¦" This closes #50 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/commit/54c3b886 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/tree/54c3b886 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/diff/54c3b886 Branch: refs/heads/2.1.x Commit: 54c3b88651d1845208129d2c5adcd2f4e11aa392 Parents: b1f8a28 Author: Shazron AbdullahAuthored: Wed Sep 28 01:30:12 2016 -0700 Committer: Shazron Abdullah Committed: Tue Oct 4 21:33:22 2016 -0700 -- .github/PULL_REQUEST_TEMPLATE.md | 1 - 1 file changed, 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/54c3b886/.github/PULL_REQUEST_TEMPLATE.md -- diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 4bd6da9..91582f4 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -17,7 +17,6 @@ Thanks! ### Checklist -- [ ] [ICLA](http://www.apache.org/licenses/icla.txt) has been signed and submitted to secret...@apache.org. - [ ] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA database - [ ] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB- is the JIRA ID & "android" is the platform affected. - [ ] Added automated test coverage as appropriate for this change. - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[2/5] cordova-plugin-media git commit: CB-11529 ios: Make available setting volume for player on ios device
CB-11529 ios: Make available setting volume for player on ios device This closes #106 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/commit/4e36c0dc Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/tree/4e36c0dc Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/diff/4e36c0dc Branch: refs/heads/2.4.x Commit: 4e36c0dc324ed63a786cdc7ecef5f545b9a6357a Parents: 0a5a72d Author: Nikita MatrosovAuthored: Fri Aug 12 12:43:10 2016 +0300 Committer: Vladimir Kotikov Committed: Wed Sep 21 18:01:09 2016 +0300 -- src/ios/CDVSound.m | 9 + tests/tests.js | 32 +++- 2 files changed, 40 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/blob/4e36c0dc/src/ios/CDVSound.m -- diff --git a/src/ios/CDVSound.m b/src/ios/CDVSound.m index 09d3587..97f5d6e 100644 --- a/src/ios/CDVSound.m +++ b/src/ios/CDVSound.m @@ -270,6 +270,15 @@ if (audioFile.player) { audioFile.player.volume = [volume floatValue]; } +else { +float customVolume = [volume floatValue]; +if (customVolume >= 0.0 && customVolume <= 1.0) { +[avPlayer setVolume: customVolume]; +} +else { +NSLog(@"The value must be within the range of 0.0 to 1.0"); +} +} [[self soundCache] setObject:audioFile forKey:mediaId]; } } http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/blob/4e36c0dc/tests/tests.js -- diff --git a/tests/tests.js b/tests/tests.js index fa283d9..9a27ced 100644 --- a/tests/tests.js +++ b/tests/tests.js @@ -709,6 +709,15 @@ exports.defineManualTests = function (contentEl, createActionButton) { }); } +//set audio volume +function setVolume() { +console.log("setVolume()"); +var volume = document.getElementById("volumeInput").value; +if (media1 !== null) { +media1.setVolume(volume); +} +} + //for forced updates of position after a successful seek function updatePosition() { @@ -970,6 +979,24 @@ exports.defineManualTests = function (contentEl, createActionButton) { row:0, cell:2 } +}, + { +id: "setVolumeBtn", +content: "", +tag: "div", +position: { +row: 3, +cell: 0 +} +}, +{ +id: "volumeInput", +tag: "input", +type: "text", +position: { +row: 3, +cell: 1 +} } ], elementsRecord = @@ -1022,7 +1049,7 @@ exports.defineManualTests = function (contentEl, createActionButton) { div.setAttribute("align", "center"); contentEl.appendChild(div); //Generate and add buttons table -contentEl.appendChild(generateTable('audioActions', 3, 3, elementsAudio)); +contentEl.appendChild(generateTable('audioActions', 4, 3, elementsAudio)); createActionButton('Play', function () { playAudio(); }, 'playBtn'); @@ -1055,6 +1082,9 @@ exports.defineManualTests = function (contentEl, createActionButton) { createActionButton('Seek To', function () { seekAudio('to'); }, 'seekToBtn'); +createActionButton('Set volume', function() { +setVolume(); +}, 'setVolumeBtn'); //get Special path to record if iOS || Blackberry if (cordova.platformId === 'ios') getRecordSrc(); - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[5/9] cordova-plugin-wkwebview-engine git commit: CB-11997: Code review comments
CB-11997: Code review comments This closes #23 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/commit/d5591dec Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/tree/d5591dec Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/diff/d5591dec Branch: refs/heads/1.1.x Commit: d5591deceba8936b9bfb7a0d04e60504ed12e407 Parents: d9d30f2 Author: Connor PearsonAuthored: Wed Nov 30 07:29:10 2016 -0500 Committer: Shazron Abdullah Committed: Mon Dec 5 14:52:07 2016 -0800 -- src/ios/CDVWKWebViewEngine.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/blob/d5591dec/src/ios/CDVWKWebViewEngine.m -- diff --git a/src/ios/CDVWKWebViewEngine.m b/src/ios/CDVWKWebViewEngine.m index 9ab0d5c..e43c7ba 100644 --- a/src/ios/CDVWKWebViewEngine.m +++ b/src/ios/CDVWKWebViewEngine.m @@ -134,7 +134,7 @@ static void * KVOContext = - (void)addURLObserver { -if(![[NSProcessInfo processInfo] isOperatingSystemAtLeastVersion:(NSOperatingSystemVersion){.majorVersion = 9, .minorVersion = 0, .patchVersion = 0 }]){ +if(!IsAtLeastiOSVersion(@"9.0")){ [self.webView addObserver:self forKeyPath:@"URL" options:0 context:KVOContext]; } } @@ -143,7 +143,7 @@ static void * KVOContext = { if (context == KVOContext) { if (object == [self webView] && [keyPath isEqualToString: @"URL"] && [object valueForKeyPath:keyPath] == nil){ -NSLog(@"URL is nil. Reloading WebView"); +NSLog(@"URL is nil. Reloading WKWebView"); [(WKWebView*)_engineWebView reload]; } } else { - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[5/7] cordova-plugin-statusbar git commit: CB-10158 (ios) fix StatusBar issue when recovering from fullscreen video
CB-10158 (ios) fix StatusBar issue when recovering from fullscreen video This closes #70 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/commit/b7dc5ef7 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/tree/b7dc5ef7 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/diff/b7dc5ef7 Branch: refs/heads/2.2.x Commit: b7dc5ef7cbc474b0f26f3c66b8a6abfbf953efd4 Parents: 086234b Author: Julio Cesar Sanchez HernandezAuthored: Sun Oct 30 15:37:58 2016 +0100 Committer: Julio César Committed: Sun Oct 30 17:48:37 2016 +0100 -- src/ios/CDVStatusBar.m | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/blob/b7dc5ef7/src/ios/CDVStatusBar.m -- diff --git a/src/ios/CDVStatusBar.m b/src/ios/CDVStatusBar.m index 55f7ed6..f563e49 100644 --- a/src/ios/CDVStatusBar.m +++ b/src/ios/CDVStatusBar.m @@ -473,16 +473,16 @@ static const void *kStatusBarStyle = CGRect statusBarFrame = [UIApplication sharedApplication].statusBarFrame; statusBarFrame = [self invertFrameIfNeeded:statusBarFrame]; CGRect frame = self.webView.frame; +CGFloat height = statusBarFrame.size.height; if (!self.statusBarOverlaysWebView) { -frame.origin.y = statusBarFrame.size.height; -frame.size.height -= statusBarFrame.size.height; +// CB-10158 If a full screen video is playing the status bar height will be 0, set it to 20 +frame.origin.y = height > 0 ? height: 20; } else { -// even if overlay is used, we want to handle in-call/recording/hotspot larger status bar -CGFloat height = statusBarFrame.size.height; +// Even if overlay is used, we want to handle in-call/recording/hotspot larger status bar frame.origin.y = height >= 20 ? height - 20 : 0; -frame.size.height -= frame.origin.y; } +frame.size.height -= frame.origin.y; self.webView.frame = frame; } else { CGRect bounds = [[UIScreen mainScreen] applicationFrame]; - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[3/7] cordova-plugin-splashscreen git commit: CB-11830 (iOS) Fix doc typos in PR#114
CB-11830 (iOS) Fix doc typos in PR#114 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/commit/5a1ade61 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/tree/5a1ade61 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/diff/5a1ade61 Branch: refs/heads/4.0.x Commit: 5a1ade6114875ff909fae65b5ac6aeaa7aefcef6 Parents: 62509f6 Author: Kerri ShottsAuthored: Thu Sep 29 12:03:57 2016 -0500 Committer: Kerri Shotts Committed: Thu Sep 29 12:06:07 2016 -0500 -- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/blob/5a1ade61/README.md -- diff --git a/README.md b/README.md index 1add456..f7eaee5 100644 --- a/README.md +++ b/README.md @@ -59,9 +59,9 @@ There are two mechanisms for displaying a launch screen on iOS: 2. Launch storyboard images: Images are sized based on scale, idiom, and size classes. Supports all devices, and can be used with split-screen/slide-over multitasking. -Apple is moving away from legacy launch images. There is no official support for providing a native-resolution launch image for the iPad pro 12.9 or for providing launch images that work with split-screen multitasking or slide-over. If your app doesn't need to support these contexts, then you can continue to use legacy launch images for as long as you like. +Apple is moving away from legacy launch images. There is no official support for providing a native-resolution launch image for the iPad Pro 12.9 or for providing launch images that work with split-screen multitasking or slide-over. If your app doesn't need to support these contexts, then you can continue to use legacy launch images for as long as you like. -The preferred method of providing launch images is to use a launch storyboard. For native app developers, the ideal launch storyboard is an unpopulated version of the app's user interface at launch. For non-native app developers who don't wish to learn interface builder, however, this plugin simulates the legacy launch image method as much as is feasible. +The preferred method of providing launch images is to use a launch storyboard. For native app developers, the ideal launch storyboard is an unpopulated version of the app's user interface at launch. For non-native app developers who don't wish to learn Interface Builder, however, this plugin simulates the legacy launch image method as much as is feasible. Legacy launch images - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[7/9] cordova-plugin-wkwebview-engine git commit: added check for at least iOS 9.0
added check for at least iOS 9.0 This closes #24 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/commit/c28423b9 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/tree/c28423b9 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/diff/c28423b9 Branch: refs/heads/1.1.x Commit: c28423b9a51b0b4932430ac0dc34f1eb04dacdd1 Parents: bf24bb6 Author: kelvinhoAuthored: Thu Dec 1 00:14:06 2016 +0800 Committer: Shazron Abdullah Committed: Mon Dec 5 14:52:33 2016 -0800 -- src/ios/CDVWKWebViewEngine.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/blob/c28423b9/src/ios/CDVWKWebViewEngine.m -- diff --git a/src/ios/CDVWKWebViewEngine.m b/src/ios/CDVWKWebViewEngine.m index 5d361c5..0985316 100644 --- a/src/ios/CDVWKWebViewEngine.m +++ b/src/ios/CDVWKWebViewEngine.m @@ -99,7 +99,7 @@ wkWebView.UIDelegate = self.uiDelegate; self.engineWebView = wkWebView; -if ([self.viewController isKindOfClass:[CDVViewController class]]) { +if (IsAtLeastiOSVersion(@"9.0") && [self.viewController isKindOfClass:[CDVViewController class]]) { wkWebView.customUserAgent = ((CDVViewController*) self.viewController).userAgent; } - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[7/7] cordova-plugin-splashscreen git commit: CB-12224 Updated version and RELEASENOTES.md for release 4.0.1
CB-12224 Updated version and RELEASENOTES.md for release 4.0.1 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/commit/782939f7 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/tree/782939f7 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/diff/782939f7 Branch: refs/heads/4.0.x Commit: 782939f7ef27b2955a16f77c9bba9e66af9f53a0 Parents: 04667e0 Author: Shazron AbdullahAuthored: Wed Dec 7 16:39:46 2016 -0800 Committer: Shazron Abdullah Committed: Wed Dec 7 16:39:46 2016 -0800 -- RELEASENOTES.md | 8 package.json | 2 +- plugin.xml | 2 +- tests/plugin.xml | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/blob/782939f7/RELEASENOTES.md -- diff --git a/RELEASENOTES.md b/RELEASENOTES.md index f264fe6..29a116a 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -20,6 +20,14 @@ --> # Release Notes +### 4.0.1 (Dec 07, 2016) +* [CB-11751](https://issues.apache.org/jira/browse/CB-11751) 'extendedSplashScreen' is undefined Document that splashscreen needs to be disabled on Windows in case of updating entire document body +* [CB-9287](https://issues.apache.org/jira/browse/CB-9287) Not enough Icons and Splashscreens for Windows 8.1 and Windows Phone 8.1 +* [CB-11917](https://issues.apache.org/jira/browse/CB-11917) - Remove pull request template checklist item: "iCLA has been submittedâ¦" +* [CB-11830](https://issues.apache.org/jira/browse/CB-11830) (iOS) Fix doc typos in PR#114 +* [CB-11829](https://issues.apache.org/jira/browse/CB-11829) (iOS) Support for CB-9762; docs (CB-11830) +* [CB-11832](https://issues.apache.org/jira/browse/CB-11832) Incremented plugin version. + ### 4.0.0 (Sep 08, 2016) * [CB-11795](https://issues.apache.org/jira/browse/CB-11795) Add 'protective' entry to cordovaDependencies * [CB-11326](https://issues.apache.org/jira/browse/CB-11326) Prevent crash when initializing plugin after navigating to another URL http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/blob/782939f7/package.json -- diff --git a/package.json b/package.json index be35bb2..949caca 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-splashscreen", - "version": "4.0.1-dev", + "version": "4.0.1", "description": "Cordova Splashscreen Plugin", "cordova": { "id": "cordova-plugin-splashscreen", http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/blob/782939f7/plugin.xml -- diff --git a/plugin.xml b/plugin.xml index 17fe454..483abbb 100644 --- a/plugin.xml +++ b/plugin.xml @@ -20,7 +20,7 @@ http://apache.org/cordova/ns/plugins/1.0; id="cordova-plugin-splashscreen" - version="4.0.1-dev"> + version="4.0.1"> Splashscreen Cordova Splashscreen Plugin Apache 2.0 http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/blob/782939f7/tests/plugin.xml -- diff --git a/tests/plugin.xml b/tests/plugin.xml index a0931e9..fd900f2 100644 --- a/tests/plugin.xml +++ b/tests/plugin.xml @@ -20,7 +20,7 @@ http://apache.org/cordova/ns/plugins/1.0; id="cordova-plugin-splashscreen-tests" -version="4.0.1-dev"> +version="4.0.1"> Cordova Splashscreen Plugin Tests Apache 2.0 - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[1/5] cordova-plugin-media git commit: CB-11832 Incremented plugin version.
Repository: cordova-plugin-media Updated Branches: refs/heads/2.4.x 978c03860 -> f0a6d4512 CB-11832 Incremented plugin version. Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/commit/0a5a72df Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/tree/0a5a72df Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/diff/0a5a72df Branch: refs/heads/2.4.x Commit: 0a5a72df42ddd91c50f2a36d0c58408c3b43a9fd Parents: 978c038 Author: Steve GillAuthored: Fri Sep 9 16:08:04 2016 -0700 Committer: Steve Gill Committed: Fri Sep 9 16:08:04 2016 -0700 -- package.json | 2 +- plugin.xml | 2 +- tests/plugin.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/blob/0a5a72df/package.json -- diff --git a/package.json b/package.json index 1154c44..49b9877 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-media", - "version": "2.4.0", + "version": "2.4.1-dev", "description": "Cordova Media Plugin", "cordova": { "id": "cordova-plugin-media", http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/blob/0a5a72df/plugin.xml -- diff --git a/plugin.xml b/plugin.xml index 45c36eb..951d301 100644 --- a/plugin.xml +++ b/plugin.xml @@ -21,7 +21,7 @@ http://apache.org/cordova/ns/plugins/1.0; xmlns:android="http://schemas.android.com/apk/res/android; id="cordova-plugin-media" -version="2.4.0"> +version="2.4.1-dev"> Media Cordova Media Plugin http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/blob/0a5a72df/tests/plugin.xml -- diff --git a/tests/plugin.xml b/tests/plugin.xml index 2abb86f..4c5c2c2 100644 --- a/tests/plugin.xml +++ b/tests/plugin.xml @@ -22,7 +22,7 @@ xmlns:rim="http://www.blackberry.com/ns/widgets; xmlns:android="http://schemas.android.com/apk/res/android; id="cordova-plugin-media-tests" -version="2.4.0"> +version="2.4.1-dev"> Cordova Media Plugin Tests Apache 2.0 - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[1/4] cordova-plugin-test-framework git commit: CB-11832 Incremented plugin version.
Repository: cordova-plugin-test-framework Updated Branches: refs/heads/1.1.x d6e024803 -> 1a9d5cd24 CB-11832 Incremented plugin version. Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/commit/89dd3538 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/tree/89dd3538 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/diff/89dd3538 Branch: refs/heads/1.1.x Commit: 89dd3538defd39f813dad95789e45aedb10e25ab Parents: d6e0248 Author: Steve GillAuthored: Fri Sep 9 16:08:04 2016 -0700 Committer: Steve Gill Committed: Fri Sep 9 16:08:04 2016 -0700 -- package.json | 2 +- plugin.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/blob/89dd3538/package.json -- diff --git a/package.json b/package.json index 12ca95d..aad836e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-test-framework", - "version": "1.1.3", + "version": "1.1.4-dev", "description": "Cordova Test Framework Plugin", "cordova": { "id": "cordova-plugin-test-framework", http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/blob/89dd3538/plugin.xml -- diff --git a/plugin.xml b/plugin.xml index 31829c4..5fdbcfe 100644 --- a/plugin.xml +++ b/plugin.xml @@ -22,7 +22,7 @@ xmlns:rim="http://www.blackberry.com/ns/widgets; xmlns:android="http://schemas.android.com/apk/res/android; id="cordova-plugin-test-framework" -version="1.1.3"> +version="1.1.4-dev"> Test Framework Cordova Test Framework Plugin Apache 2.0 - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[4/4] cordova-plugin-test-framework git commit: CB-12224 Updated version and RELEASENOTES.md for release 1.1.4
CB-12224 Updated version and RELEASENOTES.md for release 1.1.4 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/commit/1a9d5cd2 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/tree/1a9d5cd2 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/diff/1a9d5cd2 Branch: refs/heads/1.1.x Commit: 1a9d5cd24164898a9d2e3ab5d96ac7de6dba1704 Parents: 5a20c03 Author: Shazron AbdullahAuthored: Wed Dec 7 16:39:46 2016 -0800 Committer: Shazron Abdullah Committed: Wed Dec 7 16:39:46 2016 -0800 -- RELEASENOTES.md | 5 + package.json| 2 +- plugin.xml | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/blob/1a9d5cd2/RELEASENOTES.md -- diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 0971307..d2e1de0 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -20,6 +20,11 @@ --> # Release Notes +### 1.1.4 (Dec 07, 2016) +* [CB-11917](https://issues.apache.org/jira/browse/CB-11917) - Remove pull request template checklist item: "iCLA has been submittedâ¦" +* Edit package.json license to match SPDX id +* [CB-11832](https://issues.apache.org/jira/browse/CB-11832) Incremented plugin version. + ### 1.1.3 (Sep 08, 2016) * [CB-9071](https://issues.apache.org/jira/browse/CB-9071) Update test framework plugin to use Jasmine 2.4.1 * Add pull request template. http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/blob/1a9d5cd2/package.json -- diff --git a/package.json b/package.json index bad2c93..ef388b4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-test-framework", - "version": "1.1.4-dev", + "version": "1.1.4", "description": "Cordova Test Framework Plugin", "cordova": { "id": "cordova-plugin-test-framework", http://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework/blob/1a9d5cd2/plugin.xml -- diff --git a/plugin.xml b/plugin.xml index 5fdbcfe..ae93fc5 100644 --- a/plugin.xml +++ b/plugin.xml @@ -22,7 +22,7 @@ xmlns:rim="http://www.blackberry.com/ns/widgets; xmlns:android="http://schemas.android.com/apk/res/android; id="cordova-plugin-test-framework" -version="1.1.4-dev"> +version="1.1.4"> Test Framework Cordova Test Framework Plugin Apache 2.0 - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[6/8] cordova-plugin-media-capture git commit: CB-10489 Fix for MediaFile.getFormatData / audio recording support
CB-10489 Fix for MediaFile.getFormatData / audio recording support This closes #53 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/commit/26f9ad10 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/tree/26f9ad10 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/diff/26f9ad10 Branch: refs/heads/1.4.x Commit: 26f9ad109552f86f0052a1ca325a03bb07db3d16 Parents: ab8b633 Author: TanaseButcaruAuthored: Wed Feb 3 23:49:06 2016 +0200 Committer: Vladimir Kotikov Committed: Wed Oct 26 16:04:43 2016 +0300 -- src/android/Capture.java | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/blob/26f9ad10/src/android/Capture.java -- diff --git a/src/android/Capture.java b/src/android/Capture.java index 1f7030b..40117aa 100644 --- a/src/android/Capture.java +++ b/src/android/Capture.java @@ -25,6 +25,7 @@ import java.io.OutputStream; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Field; import java.lang.reflect.Method; +import java.util.Arrays; import android.os.Build; import android.os.Bundle; @@ -61,6 +62,7 @@ public class Capture extends CordovaPlugin { private static final String VIDEO_3GPP = "video/3gpp"; private static final String VIDEO_MP4 = "video/mp4"; private static final String AUDIO_3GPP = "audio/3gpp"; +private static final String[] AUDIO_TYPES = new String[] {"audio/3gpp", "audio/aac", "audio/amr", "audio/wav"}; private static final String IMAGE_JPEG = "image/jpeg"; private static final int CAPTURE_AUDIO = 0; // Constant for capture audio @@ -169,7 +171,7 @@ public class Capture extends CordovaPlugin { if (mimeType.equals(IMAGE_JPEG) || filePath.endsWith(".jpg")) { obj = getImageData(fileUrl, obj); } -else if (mimeType.endsWith(AUDIO_3GPP)) { +else if (Arrays.asList(AUDIO_TYPES).contains(mimeType)) { obj = getAudioVideoData(filePath, obj, false); } else if (mimeType.equals(VIDEO_3GPP) || mimeType.equals(VIDEO_MP4)) { @@ -454,7 +456,7 @@ public class Capture extends CordovaPlugin { try { // File properties obj.put("name", fp.getName()); -obj.put("fullPath", fp.toURI().toString()); +obj.put("fullPath", Uri.fromFile(fp)); if (url != null) { obj.put("localURL", url.toString()); } - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[01/11] cordova-plugin-file-transfer git commit: CB-11832 Incremented plugin version.
Repository: cordova-plugin-file-transfer Updated Branches: refs/heads/1.6.x 60b2cd324 -> aee45754a CB-11832 Incremented plugin version. Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/commit/1cfc66ce Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/tree/1cfc66ce Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/diff/1cfc66ce Branch: refs/heads/1.6.x Commit: 1cfc66ce0dd0f4c96d180b4d9c904510a44c9fb6 Parents: 60b2cd3 Author: Steve GillAuthored: Fri Sep 9 16:08:04 2016 -0700 Committer: Steve Gill Committed: Fri Sep 9 16:08:04 2016 -0700 -- package.json | 2 +- plugin.xml | 2 +- tests/plugin.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/1cfc66ce/package.json -- diff --git a/package.json b/package.json index efe9f6d..6c24249 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-file-transfer", - "version": "1.6.0", + "version": "1.6.1-dev", "description": "Cordova File Transfer Plugin", "cordova": { "id": "cordova-plugin-file-transfer", http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/1cfc66ce/plugin.xml -- diff --git a/plugin.xml b/plugin.xml index 9469c45..6b2323c 100644 --- a/plugin.xml +++ b/plugin.xml @@ -21,7 +21,7 @@ http://apache.org/cordova/ns/plugins/1.0; xmlns:android="http://schemas.android.com/apk/res/android; id="cordova-plugin-file-transfer" -version="1.6.0"> +version="1.6.1-dev"> File Transfer Cordova File Transfer Plugin Apache 2.0 http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/1cfc66ce/tests/plugin.xml -- diff --git a/tests/plugin.xml b/tests/plugin.xml index 6a1bfb6..94ad77c 100644 --- a/tests/plugin.xml +++ b/tests/plugin.xml @@ -21,7 +21,7 @@ http://apache.org/cordova/ns/plugins/1.0; xmlns:android="http://schemas.android.com/apk/res/android; id="cordova-plugin-file-transfer-tests" -version="1.6.0"> +version="1.6.1-dev"> Cordova File Transfer Plugin Tests Apache 2.0 - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[4/7] cordova-plugin-splashscreen git commit: CB-11917 - Remove pull request template checklist item: "iCLA has been submitted…"
CB-11917 - Remove pull request template checklist item: "iCLA has been submittedâ¦" This closes #115 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/commit/770c264d Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/tree/770c264d Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/diff/770c264d Branch: refs/heads/4.0.x Commit: 770c264d2cf9ddac3370afa1cbf7f810bde5acc3 Parents: 5a1ade6 Author: Shazron AbdullahAuthored: Wed Sep 28 01:24:43 2016 -0700 Committer: Shazron Abdullah Committed: Tue Oct 4 21:36:47 2016 -0700 -- .github/PULL_REQUEST_TEMPLATE.md | 1 - 1 file changed, 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/blob/770c264d/.github/PULL_REQUEST_TEMPLATE.md -- diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 4bd6da9..91582f4 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -17,7 +17,6 @@ Thanks! ### Checklist -- [ ] [ICLA](http://www.apache.org/licenses/icla.txt) has been signed and submitted to secret...@apache.org. - [ ] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA database - [ ] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB- is the JIRA ID & "android" is the platform affected. - [ ] Added automated test coverage as appropriate for this change. - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[1/7] cordova-plugin-splashscreen git commit: CB-11832 Incremented plugin version.
Repository: cordova-plugin-splashscreen Updated Branches: refs/heads/4.0.x 6e43615e2 -> 782939f7e CB-11832 Incremented plugin version. Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/commit/2eb78b37 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/tree/2eb78b37 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/diff/2eb78b37 Branch: refs/heads/4.0.x Commit: 2eb78b37242dda30cac201c5b97d6ef52722018e Parents: 6e43615 Author: Steve GillAuthored: Fri Sep 9 16:08:04 2016 -0700 Committer: Steve Gill Committed: Fri Sep 9 16:08:04 2016 -0700 -- package.json | 2 +- plugin.xml | 2 +- tests/plugin.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/blob/2eb78b37/package.json -- diff --git a/package.json b/package.json index 08836dc..be35bb2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-splashscreen", - "version": "4.0.0", + "version": "4.0.1-dev", "description": "Cordova Splashscreen Plugin", "cordova": { "id": "cordova-plugin-splashscreen", http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/blob/2eb78b37/plugin.xml -- diff --git a/plugin.xml b/plugin.xml index 5c1e570..17fe454 100644 --- a/plugin.xml +++ b/plugin.xml @@ -20,7 +20,7 @@ http://apache.org/cordova/ns/plugins/1.0; id="cordova-plugin-splashscreen" - version="4.0.0"> + version="4.0.1-dev"> Splashscreen Cordova Splashscreen Plugin Apache 2.0 http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/blob/2eb78b37/tests/plugin.xml -- diff --git a/tests/plugin.xml b/tests/plugin.xml index 8accd86..a0931e9 100644 --- a/tests/plugin.xml +++ b/tests/plugin.xml @@ -20,7 +20,7 @@ http://apache.org/cordova/ns/plugins/1.0; id="cordova-plugin-splashscreen-tests" -version="4.0.0"> +version="4.0.1-dev"> Cordova Splashscreen Plugin Tests Apache 2.0 - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[5/6] cordova-plugin-geolocation git commit: This closes #84
This closes #84 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/commit/34fcfa22 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/tree/34fcfa22 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/diff/34fcfa22 Branch: refs/heads/2.4.x Commit: 34fcfa228593f5d2ee91e8f66f563b7dbeef1600 Parents: 1ff3a9e Author: Jesse MacFadyenAuthored: Fri Nov 4 18:04:02 2016 -0700 Committer: Jesse MacFadyen Committed: Fri Nov 4 18:04:02 2016 -0700 -- -- - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[3/6] cordova-plugin-geolocation git commit: CB-11962: (ios) Added variable for setting NSLocationWhenInUseUsageDescription
CB-11962: (ios) Added variable for setting NSLocationWhenInUseUsageDescription This closes #83 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/commit/f9f7a23c Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/tree/f9f7a23c Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/diff/f9f7a23c Branch: refs/heads/2.4.x Commit: f9f7a23c57daad5514ce3d830a2defeb93ba3f78 Parents: 7bcaab5 Author: obioneAuthored: Wed Oct 5 06:14:32 2016 +0100 Committer: Julio César Committed: Sun Oct 9 12:50:20 2016 +0200 -- README.md | 11 +++ plugin.xml | 5 +++-- 2 files changed, 14 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/f9f7a23c/README.md -- diff --git a/README.md b/README.md index 77a3c9a..fe3c36b 100644 --- a/README.md +++ b/README.md @@ -159,6 +159,17 @@ error, the `geolocationError` callback is passed a ``` +### iOS Quirks + + Since iOS 10 it's mandatory to add a `NSLocationWhenInUseUsageDescription` entry in the info.plist. + + `NSLocationWhenInUseUsageDescription` describes the reason that the app accesses the user's location. When the system prompts the user to allow access, this string is displayed as part of the dialog box. To add this entry you can pass the variable `GEOLOCATION_USAGE_DESCRIPTION` on plugin install. + + Example: + `cordova plugin add cordova-plugin-geolocation --variable GEOLOCATION_USAGE_DESCRIPTION="your usage message"` + + If you don't pass the variable, the plugin will add an empty string as value. + ### Android Quirks If Geolocation service is turned off the `onError` callback is invoked after `timeout` interval (if specified). http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/f9f7a23c/plugin.xml -- diff --git a/plugin.xml b/plugin.xml index ed7087a..3945480 100644 --- a/plugin.xml +++ b/plugin.xml @@ -98,9 +98,10 @@ xmlns:android="http://schemas.android.com/apk/res/android; - + + - +$GEOLOCATION_USAGE_DESCRIPTION - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[8/8] cordova-plugin-media-capture git commit: CB-12224 Updated version and RELEASENOTES.md for release 1.4.1
CB-12224 Updated version and RELEASENOTES.md for release 1.4.1 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/commit/b09b24d7 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/tree/b09b24d7 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/diff/b09b24d7 Branch: refs/heads/1.4.x Commit: b09b24d71b53937db0351f0e041be18751699a20 Parents: 7e28e9c Author: Shazron AbdullahAuthored: Wed Dec 7 16:39:46 2016 -0800 Committer: Shazron Abdullah Committed: Wed Dec 7 16:39:46 2016 -0800 -- RELEASENOTES.md | 192 ++ package.json | 2 +- plugin.xml | 2 +- tests/plugin.xml | 2 +- 4 files changed, 195 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/blob/b09b24d7/RELEASENOTES.md -- diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 824f431..b2abddd 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -20,6 +20,198 @@ --> # Release Notes +### 1.4.1 (Dec 07, 2016) +* [CB-10701](https://issues.apache.org/jira/browse/CB-10701) [CB-7117](https://issues.apache.org/jira/browse/CB-7117) android: Add manual test to check getting metadata +* [CB-10489](https://issues.apache.org/jira/browse/CB-10489) Fix for MediaFile.getFormatData / audio recording support +* [CB-10488](https://issues.apache.org/jira/browse/CB-10488) Fix for MediaFile.getFormatData +* [CB-11996](https://issues.apache.org/jira/browse/CB-11996) Added a new manual test to capture multiple images +* [CB-11995](https://issues.apache.org/jira/browse/CB-11995) (android) Do not pass a file URI to the camera +* [CB-11917](https://issues.apache.org/jira/browse/CB-11917) - Remove pull request template checklist item: "iCLA has been submittedâ¦" +* [CB-11832](https://issues.apache.org/jira/browse/CB-11832) Incremented plugin version. +* [CB-11832](https://issues.apache.org/jira/browse/CB-11832) Updated version and RELEASENOTES.md for release 1.4.0 +* Add mandatory iOS 10 privacy description for microphone +* [CB-11795](https://issues.apache.org/jira/browse/CB-11795) Add 'protective' entry to cordovaDependencies +* [CB-11821](https://issues.apache.org/jira/browse/CB-11821) (ios) Add mandatory iOS 10 privacy description +* Plugin uses Android Log class and not Cordova LOG class +* Add badges for paramedic builds on Jenkins +* [CB-11396](https://issues.apache.org/jira/browse/CB-11396) - Audio Media Capture Crashes if app stores file on external storage +* Add pull request template. +* [CB-11212](https://issues.apache.org/jira/browse/CB-11212) iOS: Explicitly set the bundle for images +* [CB-10554](https://issues.apache.org/jira/browse/CB-10554) Implementing plugin save/restore API for Android +* [CB-11165](https://issues.apache.org/jira/browse/CB-11165) removed peer dependency +* [CB-10996](https://issues.apache.org/jira/browse/CB-10996) Adding front matter to README.md +* [CB-11091](https://issues.apache.org/jira/browse/CB-11091) Incremented plugin version. +* Updated version and RELEASENOTES.md for release 1.3.0 +* Replace PermissionHelper.java with cordova-plugin-compat +* CB-10670, [CB-10994](https://issues.apache.org/jira/browse/CB-10994) android: Marshmallow permissions +* [CB-10720](https://issues.apache.org/jira/browse/CB-10720) Fixing README for display on Cordova website +* [CB-10636](https://issues.apache.org/jira/browse/CB-10636) Add JSHint for plugins +* add JIRA issue tracker link +* [CB-10690](https://issues.apache.org/jira/browse/CB-10690) windows: fix crash when user cancels/closes photo app +* chore: edit package.json license to match SPDX id +* [CB-10368](https://issues.apache.org/jira/browse/CB-10368) Incremented plugin version. +* [CB-10368](https://issues.apache.org/jira/browse/CB-10368) Updated version and RELEASENOTES.md for release 1.2.0 +* [CB-10100](https://issues.apache.org/jira/browse/CB-10100) updated file dependency to not grab new majors +* [CB-10035](https://issues.apache.org/jira/browse/CB-10035) Incremented plugin version. +* [CB-8863](https://issues.apache.org/jira/browse/CB-8863) Fix block usage of self +* [CB-10035](https://issues.apache.org/jira/browse/CB-10035) linked issues in RELEASENOTES.md +* [CB-10035](https://issues.apache.org/jira/browse/CB-10035) Updated version and RELEASENOTES.md for release 1.1.0 +* removed r prefix from tags +* [CB-10035](https://issues.apache.org/jira/browse/CB-10035) Updated RELEASENOTES to be newest to oldest +* Actually fixing the contribute link. +* Fixing contribute link. +* [CB-9249](https://issues.apache.org/jira/browse/CB-9249) Fix iOS
[4/5] cordova-plugin-media git commit: CB-12034 (ios) Add mandatory iOS 10 privacy description
CB-12034 (ios) Add mandatory iOS 10 privacy description This closes #119 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/commit/f0a0bb8f Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/tree/f0a0bb8f Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/diff/f0a0bb8f Branch: refs/heads/2.4.x Commit: f0a0bb8f3c5bd05370dcc383a2a618d234148984 Parents: 6f28f94 Author: Julio Cesar Sanchez HernandezAuthored: Sat Oct 29 23:38:54 2016 +0200 Committer: Julio César Committed: Sun Oct 30 00:07:07 2016 +0200 -- README.md | 14 +++--- plugin.xml | 56 ++-- 2 files changed, 41 insertions(+), 29 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/blob/f0a0bb8f/README.md -- diff --git a/README.md b/README.md index 818889a..58e89ad 100644 --- a/README.md +++ b/README.md @@ -312,7 +312,7 @@ function recordAudio() { // Pause Recording after 5 seconds setTimeout(function() { -my_media.pauseRecord(); +mediaRec.pauseRecord(); }, 5000); } ``` @@ -427,12 +427,12 @@ function recordAudio() { // Pause Recording after 5 seconds setTimeout(function() { -my_media.pauseRecord(); +mediaRec.pauseRecord(); }, 5000); // Resume Recording after 10 seconds setTimeout(function() { -my_media.resumeRecord(); +mediaRec.resumeRecord(); }, 1); } ``` @@ -563,6 +563,14 @@ function recordAudio() { var myMedia = new Media("documents://beer.mp3") +- Since iOS 10 it's mandatory to add a `NSMicrophoneUsageDescription` entry in the info.plist. + +`NSMicrophoneUsageDescription` describes the reason that the app accesses the userâs microphone. When the system prompts the user to allow access, this string is displayed as part of the dialog box. To add this entry you can pass the variable `MICROPHONE_USAGE_DESCRIPTION` on plugin install. + +Example: `cordova plugin add cordova-plugin-media --variable MICROPHONE_USAGE_DESCRIPTION="your usage message"` + +If you don't pass the variable, the plugin will add an empty string as value. + ### Windows Quirks - Windows devices can use MP3, M4A and WMA formats for recorded audio. However in most cases it is not possible to use MP3 for audio recording on _Windows Phone 8.1_ devices, because an MP3 encoder is [not shipped with Windows Phone](https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.mediaproperties.mediaencodingprofile.createmp3.aspx). http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/blob/f0a0bb8f/plugin.xml -- diff --git a/plugin.xml b/plugin.xml index 951d301..423947f 100644 --- a/plugin.xml +++ b/plugin.xml @@ -59,7 +59,7 @@ id="cordova-plugin-media" - + @@ -79,31 +79,35 @@ id="cordova-plugin-media" - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + +$MICROPHONE_USAGE_DESCRIPTION + + - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[1/6] cordova-plugin-geolocation git commit: CB-11904 Incremented plugin version.
Repository: cordova-plugin-geolocation Updated Branches: refs/heads/2.4.x 111c74782 -> 7934ed702 CB-11904 Incremented plugin version. Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/commit/7832b19b Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/tree/7832b19b Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/diff/7832b19b Branch: refs/heads/2.4.x Commit: 7832b19b533f3322c742a577eed43f62cd2cb917 Parents: 111c747 Author: Steve GillAuthored: Mon Sep 26 14:42:02 2016 -0700 Committer: Steve Gill Committed: Mon Sep 26 14:42:02 2016 -0700 -- package.json | 2 +- plugin.xml | 2 +- tests/plugin.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/7832b19b/package.json -- diff --git a/package.json b/package.json index a043d27..44c2a0d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-geolocation", - "version": "2.4.0", + "version": "2.4.1-dev", "description": "Cordova Geolocation Plugin", "cordova": { "id": "cordova-plugin-geolocation", http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/7832b19b/plugin.xml -- diff --git a/plugin.xml b/plugin.xml index 48abcaf..ed7087a 100644 --- a/plugin.xml +++ b/plugin.xml @@ -22,7 +22,7 @@ xmlns:rim="http://www.blackberry.com/ns/widgets; xmlns:android="http://schemas.android.com/apk/res/android; id="cordova-plugin-geolocation" - version="2.4.0"> + version="2.4.1-dev"> Geolocation Cordova Geolocation Plugin http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/7832b19b/tests/plugin.xml -- diff --git a/tests/plugin.xml b/tests/plugin.xml index cf0f2f6..310f791 100644 --- a/tests/plugin.xml +++ b/tests/plugin.xml @@ -22,7 +22,7 @@ xmlns:rim="http://www.blackberry.com/ns/widgets; xmlns:android="http://schemas.android.com/apk/res/android; id="cordova-plugin-geolocation-tests" -version="2.4.0"> +version="2.4.1-dev"> Cordova Geolocation Plugin Tests Apache 2.0 - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[3/4] cordova-plugin-network-information git commit: CB-11230 CB-11505 iOS: Add compatibility with IPv6
CB-11230 CB-11505 iOS: Add compatibility with IPv6 Remove the logic associated with the local wi-fi because of the narrow use case for this API and the large potential for misuse See also docs https://developer.apple.com/library/content/samplecode/Reachability/Listings/ReadMe_md.html#//apple_ref/doc/uid/DTS40007324-ReadMe_md-DontLinkElementID_11 This closes #51 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/commit/c911ef88 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/tree/c911ef88 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/diff/c911ef88 Branch: refs/heads/1.3.x Commit: c911ef883c4564b5f04eff04eb6a257eab8b4323 Parents: f4dc63c Author: Nikita MatrosovAuthored: Mon Nov 14 17:05:21 2016 +0300 Committer: Vladimir Kotikov Committed: Thu Nov 17 09:49:06 2016 +0300 -- src/ios/CDVReachability.h | 6 +- src/ios/CDVReachability.m | 42 ++ 2 files changed, 7 insertions(+), 41 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/blob/c911ef88/src/ios/CDVReachability.h -- diff --git a/src/ios/CDVReachability.h b/src/ios/CDVReachability.h index 01a95c3..852d37b 100644 --- a/src/ios/CDVReachability.h +++ b/src/ios/CDVReachability.h @@ -57,7 +57,6 @@ typedef enum { @interface CDVReachability : NSObject { -BOOL localWiFiRef; SCNetworkReachabilityRef reachabilityRef; } @@ -65,15 +64,12 @@ typedef enum { + (CDVReachability*)reachabilityWithHostName:(NSString*)hostName; // reachabilityWithAddress- Use to check the reachability of a particular IP address. -+ (CDVReachability*)reachabilityWithAddress:(const struct sockaddr_in*)hostAddress; ++ (CDVReachability*)reachabilityWithAddress:(const struct sockaddr*)hostAddress; // reachabilityForInternetConnection- checks whether the default route is available. // Should be used by applications that do not connect to a particular host + (CDVReachability*)reachabilityForInternetConnection; -// reachabilityForLocalWiFi- checks whether a local wifi connection is available. -+ (CDVReachability*)reachabilityForLocalWiFi; - // Start listening for reachability notifications on the current run loop - (BOOL)startNotifier; - (void)stopNotifier; http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/blob/c911ef88/src/ios/CDVReachability.m -- diff --git a/src/ios/CDVReachability.m b/src/ios/CDVReachability.m index 1399867..70177a7 100644 --- a/src/ios/CDVReachability.m +++ b/src/ios/CDVReachability.m @@ -140,7 +140,6 @@ static void CDVReachabilityCallback(SCNetworkReachabilityRef target, SCNetworkRe retVal = [[self alloc] init]; if (retVal != NULL) { retVal->reachabilityRef = reachability; -retVal->localWiFiRef = NO; } else { CFRelease(reachability); @@ -149,15 +148,14 @@ static void CDVReachabilityCallback(SCNetworkReachabilityRef target, SCNetworkRe return retVal; } -+ (CDVReachability*)reachabilityWithAddress:(const struct sockaddr_in*)hostAddress; ++ (CDVReachability*)reachabilityWithAddress:(const struct sockaddr*)hostAddress; { -SCNetworkReachabilityRef reachability = SCNetworkReachabilityCreateWithAddress(kCFAllocatorDefault, (const struct sockaddr*)hostAddress); +SCNetworkReachabilityRef reachability = SCNetworkReachabilityCreateWithAddress(kCFAllocatorDefault, hostAddress); CDVReachability* retVal = NULL; if (reachability != NULL) { retVal = [[self alloc] init]; if (retVal != NULL) { retVal->reachabilityRef = reachability; -retVal->localWiFiRef = NO; } else { CFRelease(reachability); @@ -166,43 +164,19 @@ static void CDVReachabilityCallback(SCNetworkReachabilityRef target, SCNetworkRe return retVal; } +// Reachability treats the 0.0.0.0 address as a special token that causes it to monitor the general routing +// status of the device, both IPv4 and IPv6. + (CDVReachability*)reachabilityForInternetConnection; { struct sockaddr_in zeroAddress; bzero(, sizeof(zeroAddress)); zeroAddress.sin_len = sizeof(zeroAddress); zeroAddress.sin_family = AF_INET; -return [self reachabilityWithAddress:]; -} - -+ (CDVReachability*)reachabilityForLocalWiFi; -{ -struct sockaddr_in localWifiAddress; -bzero(, sizeof(localWifiAddress)); -localWifiAddress.sin_len = sizeof(localWifiAddress); -
[2/3] cordova-plugin-globalization git commit: CB-11917 - Remove pull request template checklist item: "iCLA has been submitted…"
CB-11917 - Remove pull request template checklist item: "iCLA has been submittedâ¦" This closes #51 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization/commit/4754a887 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization/tree/4754a887 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization/diff/4754a887 Branch: refs/heads/1.0.x Commit: 4754a887f99a12d01c16329acee49077f7a7f61c Parents: 1cc35b7 Author: Shazron AbdullahAuthored: Wed Sep 28 01:32:31 2016 -0700 Committer: Shazron Abdullah Committed: Tue Oct 4 21:33:50 2016 -0700 -- .github/PULL_REQUEST_TEMPLATE.md | 1 - 1 file changed, 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization/blob/4754a887/.github/PULL_REQUEST_TEMPLATE.md -- diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 4bd6da9..91582f4 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -17,7 +17,6 @@ Thanks! ### Checklist -- [ ] [ICLA](http://www.apache.org/licenses/icla.txt) has been signed and submitted to secret...@apache.org. - [ ] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA database - [ ] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB- is the JIRA ID & "android" is the platform affected. - [ ] Added automated test coverage as appropriate for this change. - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[2/4] cordova-plugin-network-information git commit: CB-11917 - Remove pull request template checklist item: "iCLA has been submitted…"
CB-11917 - Remove pull request template checklist item: "iCLA has been submittedâ¦" This closes #50 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/commit/f4dc63cb Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/tree/f4dc63cb Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/diff/f4dc63cb Branch: refs/heads/1.3.x Commit: f4dc63cb763a1484d254fd86e7ee5243c473b6d3 Parents: 75c38c4 Author: Shazron AbdullahAuthored: Wed Sep 28 01:31:36 2016 -0700 Committer: Shazron Abdullah Committed: Tue Oct 4 21:32:54 2016 -0700 -- .github/PULL_REQUEST_TEMPLATE.md | 1 - 1 file changed, 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/blob/f4dc63cb/.github/PULL_REQUEST_TEMPLATE.md -- diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 4bd6da9..91582f4 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -17,7 +17,6 @@ Thanks! ### Checklist -- [ ] [ICLA](http://www.apache.org/licenses/icla.txt) has been signed and submitted to secret...@apache.org. - [ ] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA database - [ ] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB- is the JIRA ID & "android" is the platform affected. - [ ] Added automated test coverage as appropriate for this change. - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[4/5] cordova-plugin-vibration git commit: Closing invalid pull requests: close #32
Closing invalid pull requests: close #32 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/commit/ce39a65f Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/tree/ce39a65f Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/diff/ce39a65f Branch: refs/heads/2.1.x Commit: ce39a65fa4c0b7aed1a061ce3d6a9800d5193d91 Parents: 9cb2b61 Author: Julio CésarAuthored: Sun Oct 16 23:10:05 2016 +0200 Committer: Julio César Committed: Sun Oct 16 23:10:05 2016 +0200 -- -- - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[6/6] cordova-plugin-geolocation git commit: CB-12224 Updated version and RELEASENOTES.md for release 2.4.1
CB-12224 Updated version and RELEASENOTES.md for release 2.4.1 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/commit/7934ed70 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/tree/7934ed70 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/diff/7934ed70 Branch: refs/heads/2.4.x Commit: 7934ed70269cab91cd109607da36f602b25d1892 Parents: 34fcfa2 Author: Shazron AbdullahAuthored: Wed Dec 7 16:39:45 2016 -0800 Committer: Shazron Abdullah Committed: Wed Dec 7 16:39:45 2016 -0800 -- RELEASENOTES.md | 201 ++ package.json | 2 +- plugin.xml | 2 +- tests/plugin.xml | 2 +- 4 files changed, 204 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/7934ed70/RELEASENOTES.md -- diff --git a/RELEASENOTES.md b/RELEASENOTES.md index f622086..ea6bf8b 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -20,6 +20,207 @@ --> # Release Notes +### 2.4.1 (Dec 07, 2016) +* This closes #84 +* corrected KCLAuthorizationStatus error, changed to always removed user of [manager locationServicesEnabled]. Must return [CLLocationManager locationServicesEnabled] or 'none' +* [CB-11962](https://issues.apache.org/jira/browse/CB-11962) (ios) Added variable for setting NSLocationWhenInUseUsageDescription +* [CB-11917](https://issues.apache.org/jira/browse/CB-11917) - Remove pull request template checklist item: "iCLA has been submittedâ¦" +* [CB-11904](https://issues.apache.org/jira/browse/CB-11904) Incremented plugin version. +* [CB-11904](https://issues.apache.org/jira/browse/CB-11904) Updated version and RELEASENOTES.md for release 2.4.0 +* Fix altitude & accuracies retrieval +* Closing invalid pull request: close #78 +* [CB-11875](https://issues.apache.org/jira/browse/CB-11875) added android.hardware.location.gps uses-feature. +* [CB-11832](https://issues.apache.org/jira/browse/CB-11832) Incremented plugin version. +* [CB-11832](https://issues.apache.org/jira/browse/CB-11832) Updated version and RELEASENOTES.md for release 2.3.0 +* [CB-11795](https://issues.apache.org/jira/browse/CB-11795) Add 'protective' entry to cordovaDependencies +* Plugin uses Android Log class and not Cordova LOG class +* Add badges for paramedic builds on Jenkins +* Add pull request template. +* Adding links to reference content and sample content to the top of the readme file +* Update iOS geolocation plugin to avoid THREAD WARNING: ['Geolocation'], operation occurs in new Thread +* [CB-10996](https://issues.apache.org/jira/browse/CB-10996) Adding front matter to README.md +* Adding links to subsections +* [CB-11091](https://issues.apache.org/jira/browse/CB-11091) Incremented plugin version. +* Updated version and RELEASENOTES.md for release 2.2.0 +* Updating weather part of this readme to use a new service +* Replace PermissionHelper.java with cordova-plugin-compat +* Removing sample link and including sample content +* updating readme witha sample and snippets +* Minor changes to README +* [CB-10691](https://issues.apache.org/jira/browse/CB-10691) Check the context to avoid null errors +* [CB-10636](https://issues.apache.org/jira/browse/CB-10636) Add JSHint for plugins +* [CB-10574](https://issues.apache.org/jira/browse/CB-10574) MobileSpec can't get results for WP8.1 Builds +* Using a fallback epsilon in case Number.EPSILON is not defined. +* [CB-10574](https://issues.apache.org/jira/browse/CB-10574) MobileSpec can't get results for WP8.1 Builds +* chore: edit package.json license to match SPDX id +* [CB-10368](https://issues.apache.org/jira/browse/CB-10368) Incremented plugin version. +* [CB-10368](https://issues.apache.org/jira/browse/CB-10368) Updated version and RELEASENOTES.md for release 2.1.0 +* [CB-10319](https://issues.apache.org/jira/browse/CB-10319) android: Adding reflective helper methods for permission requests +* [CB-8523](https://issues.apache.org/jira/browse/CB-8523) Fixed accuracy when enableHighAccuracy: false on iOS. This closes #39 +* [CB-10286](https://issues.apache.org/jira/browse/CB-10286) Don't skip automatic tests on Android devices +* [CB-10277](https://issues.apache.org/jira/browse/CB-10277) Error callback should be called w/ PositionError when location access is denied +* [CB-10285](https://issues.apache.org/jira/browse/CB-10285) Added tests for PositionError constants +* [CB-10278](https://issues.apache.org/jira/browse/CB-10278) geolocation watchPosition doesn't return watchID string +* [CB-8443](https://issues.apache.org/jira/browse/CB-8443) Android: nothing happens if GPS is
[1/3] cordova-plugin-globalization git commit: CB-11832 Incremented plugin version.
Repository: cordova-plugin-globalization Updated Branches: refs/heads/1.0.x 6042184e3 -> 594651d27 CB-11832 Incremented plugin version. Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization/commit/1cc35b70 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization/tree/1cc35b70 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization/diff/1cc35b70 Branch: refs/heads/1.0.x Commit: 1cc35b707c824cdeb19470cdf529b2131bdd47a7 Parents: 6042184 Author: Steve GillAuthored: Fri Sep 9 16:08:04 2016 -0700 Committer: Steve Gill Committed: Fri Sep 9 16:08:04 2016 -0700 -- package.json | 2 +- plugin.xml | 2 +- tests/plugin.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization/blob/1cc35b70/package.json -- diff --git a/package.json b/package.json index 65e1659..ba0d171 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-globalization", - "version": "1.0.4", + "version": "1.0.5-dev", "description": "Cordova Globalization Plugin", "cordova": { "id": "cordova-plugin-globalization", http://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization/blob/1cc35b70/plugin.xml -- diff --git a/plugin.xml b/plugin.xml index 12077e1..3b0246b 100644 --- a/plugin.xml +++ b/plugin.xml @@ -20,7 +20,7 @@ http://apache.org/cordova/ns/plugins/1.0; id="cordova-plugin-globalization" - version="1.0.4"> + version="1.0.5-dev"> Globalization Cordova Globalization Plugin Apache 2.0 http://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization/blob/1cc35b70/tests/plugin.xml -- diff --git a/tests/plugin.xml b/tests/plugin.xml index 4a94f0c..a89d705 100644 --- a/tests/plugin.xml +++ b/tests/plugin.xml @@ -20,7 +20,7 @@ http://apache.org/cordova/ns/plugins/1.0; id="cordova-plugin-globalization-tests" -version="1.0.4"> +version="1.0.5-dev"> Cordova Globalization Plugin Tests Apache 2.0 - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[3/3] cordova-plugin-globalization git commit: CB-12224 Updated version and RELEASENOTES.md for release 1.0.5
CB-12224 Updated version and RELEASENOTES.md for release 1.0.5 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization/commit/594651d2 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization/tree/594651d2 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization/diff/594651d2 Branch: refs/heads/1.0.x Commit: 594651d27275dc2013f86e0ccc7e78a9a6d6f654 Parents: 4754a88 Author: Shazron AbdullahAuthored: Wed Dec 7 16:39:45 2016 -0800 Committer: Shazron Abdullah Committed: Wed Dec 7 16:39:45 2016 -0800 -- RELEASENOTES.md | 151 ++ package.json | 2 +- plugin.xml | 2 +- tests/plugin.xml | 2 +- 4 files changed, 154 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization/blob/594651d2/RELEASENOTES.md -- diff --git a/RELEASENOTES.md b/RELEASENOTES.md index b230ee6..d62b4f9 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -20,6 +20,157 @@ --> # Release Notes +### 1.0.5 (Dec 07, 2016) +* [CB-11917](https://issues.apache.org/jira/browse/CB-11917) - Remove pull request template checklist item: "iCLA has been submittedâ¦" +* [CB-11832](https://issues.apache.org/jira/browse/CB-11832) Incremented plugin version. +* [CB-11832](https://issues.apache.org/jira/browse/CB-11832) Updated version and RELEASENOTES.md for release 1.0.4 +* [CB-11795](https://issues.apache.org/jira/browse/CB-11795) Add 'protective' entry to cordovaDependencies +* Add badges for paramedic builds on Jenkins +* Add pull request template. +* [CB-10996](https://issues.apache.org/jira/browse/CB-10996) Adding front matter to README.md +* clean up release notes +* [CB-10820](https://issues.apache.org/jira/browse/CB-10820) Incremented plugin version. +* [CB-10820](https://issues.apache.org/jira/browse/CB-10820) Updated version and RELEASENOTES.md for release 1.0.3 +* [CB-10792](https://issues.apache.org/jira/browse/CB-10792) -Cannot install cordova-plugin-globalization with cordova-windows on Ubuntu +* [CB-10636](https://issues.apache.org/jira/browse/CB-10636) Add JSHint for plugins +* Minor changes to readme +* [CB-10605](https://issues.apache.org/jira/browse/CB-10605) fix deprecation warnings +* chore: edit package.json license to match SPDX id +* [CB-10035](https://issues.apache.org/jira/browse/CB-10035) Incremented plugin version. +* [CB-10035](https://issues.apache.org/jira/browse/CB-10035) linked issues in RELEASENOTES.md +* [CB-10035](https://issues.apache.org/jira/browse/CB-10035) Updated version and RELEASENOTES.md for release 1.0.2 +* removed r prefix from tags +* [CB-10035](https://issues.apache.org/jira/browse/CB-10035) Updated RELEASENOTES to be newest to oldest +* Actually fixing the contribute link. +* Fixing contribute link. +* Closing stale pull request: close #21 +* Closing stale pull request: close #28 +* Remove annoying log. This closes #32 +* Fix typo. This closes #34 +* Closing stale pull request: close #42 +* add JIRA issue tracker link. This closes #42 +* [CB-9409](https://issues.apache.org/jira/browse/CB-9409) check that localeIdentifier has underscore +* [CB-9476](https://issues.apache.org/jira/browse/CB-9476) Mobilespec crash on startup when running on Windows 10. +* Fixing license headers and adding moment.js to .ratignore. +* remove travis-ci integration +* [CB-9192](https://issues.apache.org/jira/browse/CB-9192) Incremented plugin version. +* [CB-9202](https://issues.apache.org/jira/browse/CB-9202) updated repo url to github mirror in package.json +* [CB-9192](https://issues.apache.org/jira/browse/CB-9192) Updated version and RELEASENOTES.md for release 1.0.1 +* added moment.js to ratignore +* added license headers +* Adding .ratignore file. +* [CB-9128](https://issues.apache.org/jira/browse/CB-9128) cordova-plugin-globalization documentation translation: cordova-plugin-globalization +* fix npm md issue +* [CB-8858](https://issues.apache.org/jira/browse/CB-8858) Incremented plugin version. +* [CB-8858](https://issues.apache.org/jira/browse/CB-8858) Updated version in package.json for release 1.0.0 +* Revert "CB-8858 Incremented plugin version." +* [CB-8858](https://issues.apache.org/jira/browse/CB-8858) Incremented plugin version. +* [CB-8858](https://issues.apache.org/jira/browse/CB-8858) Updated version and RELEASENOTES.md for release 1.0.0 +* [CB-8746](https://issues.apache.org/jira/browse/CB-8746) gave plugin major version bump +* [CB-8683](https://issues.apache.org/jira/browse/CB-8683) updated tizen and browser specific references of old id to new id +*
[4/7] cordova-plugin-file git commit: CB-11848 windows: Remove duplicate slash after file system path
CB-11848 windows: Remove duplicate slash after file system path This closes #195, this closes #112 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/commit/7ae74f53 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/7ae74f53 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/7ae74f53 Branch: refs/heads/4.3.x Commit: 7ae74f5385e14b1e81ed7396ba12c21782d6eac7 Parents: 7dbef06 Author: Nikita MatrosovAuthored: Thu Sep 29 15:36:29 2016 +0300 Committer: Vladimir Kotikov Committed: Thu Oct 6 17:20:25 2016 +0300 -- src/windows/FileProxy.js | 9 +++-- tests/tests.js | 14 ++ 2 files changed, 21 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/7ae74f53/src/windows/FileProxy.js -- diff --git a/src/windows/FileProxy.js b/src/windows/FileProxy.js index 79a7f41..c342a56 100644 --- a/src/windows/FileProxy.js +++ b/src/windows/FileProxy.js @@ -154,8 +154,13 @@ var WinFS = function(name, root) { if (this.winpath && !/\/$/.test(this.winpath)) { this.winpath += "/"; } -this.makeNativeURL = function(path) { -return FileSystem.encodeURIPath(this.root.nativeURL + sanitize(path.replace(':','%3A')));}; +this.makeNativeURL = function (path) { +//CB-11848: This RE supposed to match all leading slashes in sanitized path. +//Removing leading slash to avoid duplicating because this.root.nativeURL already has trailing slash +var regLeadingSlashes = /^\/*/; +var sanitizedPath = sanitize(path.replace(':', '%3A')).replace(regLeadingSlashes, ''); +return FileSystem.encodeURIPath(this.root.nativeURL + sanitizedPath); +}; root.fullPath = '/'; if (!root.nativeURL) root.nativeURL = 'file://'+sanitize(this.winpath + root.fullPath).replace(':','%3A'); http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/7ae74f53/tests/tests.js -- diff --git a/tests/tests.js b/tests/tests.js index c57d18b..eb74c14 100644 --- a/tests/tests.js +++ b/tests/tests.js @@ -368,6 +368,20 @@ exports.defineAutoTests = function () { } createDirectory(fileName, gotDirectory, failed.bind(null, done, 'createDirectory - Error creating directory: ' + fileName), failed.bind(null, done, 'createDirectory - Error creating directory: ' + fileName)); }); + +it("file.spec.9.7 should resolve a file with valid nativeURL", function (done) { +var fileName = "de.create.file", +win = function (entry) { +var path = entry.nativeURL.split('///')[1]; +expect(/\/{2,}/.test(path)).toBeFalsy(); +// cleanup +deleteEntry(entry.name, done); +}; +root.getFile(fileName, { +create: true +}, win, succeed.bind(null, done, 'root.getFile - Error unexpected callback, file should not exists: ' + fileName)); +}); + it("file.spec.10 resolve valid file name with parameters", function (done) { var fileName = "resolve.file.uri.params", win = function (fileEntry) { - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[10/12] cordova-plugin-dialogs git commit: Close #43
Close #43 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/commit/baee8130 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/tree/baee8130 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/diff/baee8130 Branch: refs/heads/1.3.x Commit: baee8130920a74514fd809808b1939b3fbfa94af Parents: 2b73248 Author: Jesse MacFadyenAuthored: Fri Sep 9 17:45:36 2016 -0700 Committer: Jesse MacFadyen Committed: Fri Sep 9 17:45:36 2016 -0700 -- -- - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[05/11] cordova-plugin-file-transfer git commit: CB-11959 Increased the array length for ios and winstore even more
CB-11959 Increased the array length for ios and winstore even more Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/commit/ebf280b5 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/tree/ebf280b5 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/diff/ebf280b5 Branch: refs/heads/1.6.x Commit: ebf280b53155de7f3167fdfff01478d723fa86c0 Parents: 709fd05 Author: Alexander SorokinAuthored: Wed Oct 5 18:08:29 2016 +0300 Committer: Alexander Sorokin Committed: Wed Oct 5 18:08:29 2016 +0300 -- tests/tests.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/ebf280b5/tests/tests.js -- diff --git a/tests/tests.js b/tests/tests.js index f4fd636..5bed919 100644 --- a/tests/tests.js +++ b/tests/tests.js @@ -53,6 +53,7 @@ exports.defineAutoTests = function () { // flags var isWindows = cordova.platformId === "windows8" || cordova.platformId === "windows"; +var isWindowsPhone81 = isWindows && WinJS.Utilities.isPhone var isWP8 = cordova.platformId === "windowsphone"; var isBrowser = cordova.platformId === "browser"; var isIE = isBrowser && navigator.userAgent.indexOf("Trident") >= 0; @@ -1077,7 +1078,7 @@ exports.defineAutoTests = function () { // windows store and ios are too fast, win is called before we have a chance to abort // so let's get them busy - while not providing an extra load to the slow Android emulators -var arrayLength = (isWindows || isIos) ? 100 : 20; +var arrayLength = ((isWindows && !isWindowsPhone81) || isIos) ? 300 : 20; writeFile(specContext.root, specContext.fileName, new Array(arrayLength).join("aborttest!"), fileWin, done); }, UPLOAD_TIMEOUT); - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[4/4] cordova-plugin-device-orientation git commit: CB-12224 Updated version and RELEASENOTES.md for release 1.0.5
CB-12224 Updated version and RELEASENOTES.md for release 1.0.5 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/commit/4b5ead90 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/tree/4b5ead90 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/diff/4b5ead90 Branch: refs/heads/1.0.x Commit: 4b5ead9000326e36eda4975f29e7bf9cf12bbaa4 Parents: c5b4d7d Author: Shazron AbdullahAuthored: Wed Dec 7 16:39:44 2016 -0800 Committer: Shazron Abdullah Committed: Wed Dec 7 16:39:44 2016 -0800 -- RELEASENOTES.md | 136 ++ package.json | 2 +- plugin.xml | 2 +- tests/plugin.xml | 2 +- 4 files changed, 139 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/blob/4b5ead90/RELEASENOTES.md -- diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 2111ba6..d1b758e 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -20,6 +20,142 @@ --> # Release Notes +### 1.0.5 (Dec 07, 2016) +* [CB-9179](https://issues.apache.org/jira/browse/CB-9179) (ios) Fixed trueHeading being always 0 +* [CB-11917](https://issues.apache.org/jira/browse/CB-11917) - Remove pull request template checklist item: "iCLA has been submittedâ¦" +* [CB-11832](https://issues.apache.org/jira/browse/CB-11832) Incremented plugin version. +* [CB-11832](https://issues.apache.org/jira/browse/CB-11832) Updated version and RELEASENOTES.md for release 1.0.4 +* [CB-11795](https://issues.apache.org/jira/browse/CB-11795) Add 'protective' entry to cordovaDependencies +* Add badges for paramedic builds on Jenkins +* Add pull request template. +* [CB-10996](https://issues.apache.org/jira/browse/CB-10996) Adding front matter to README.md +* This closes #16. Resolved in another commit. +* Removed ios quirk code documentation +* remove quirk code +* [CB-11091](https://issues.apache.org/jira/browse/CB-11091) Incremented plugin version. +* Updated version and RELEASENOTES.md for release 1.0.3 +* Remove 'warning' emoji, as it doesn't correctly display in the docs website: http://cordova.apache.org/docs/en/dev/cordova-plugin-device-orientation/index.html +* [CB-10636](https://issues.apache.org/jira/browse/CB-10636) Add JSHint for plugins +* chore: edit package.json license to match SPDX id +* [CB-10035](https://issues.apache.org/jira/browse/CB-10035) Incremented plugin version. +* [CB-10035](https://issues.apache.org/jira/browse/CB-10035) linked issues in RELEASENOTES.md +* [CB-10035](https://issues.apache.org/jira/browse/CB-10035) Updated version and RELEASENOTES.md for release 1.0.2 +* removed r prefix from tags +* [CB-10035](https://issues.apache.org/jira/browse/CB-10035) Updated RELEASENOTES to be newest to oldest +* add JIRA issue tracker link +* [CB-4596](https://issues.apache.org/jira/browse/CB-4596) Fix timestamp to be DOMTimeStamp across the board +* Actually fixing the contribute link. +* Fixing contribute link. +* [CB-9426](https://issues.apache.org/jira/browse/CB-9426) Fix exception when using device orientation plugin on browser platform. +* remove travis-ci +* [CB-9192](https://issues.apache.org/jira/browse/CB-9192) Incremented plugin version. +* [CB-9202](https://issues.apache.org/jira/browse/CB-9202) updated repo url to github mirror in package.json +* [CB-9192](https://issues.apache.org/jira/browse/CB-9192) Updated version and RELEASENOTES.md for release 1.0.1 +* [CB-9128](https://issues.apache.org/jira/browse/CB-9128) cordova-plugin-device-orientation documentation translation: cordova-plugin-device-orientation +* fix npm md issue +* Remove console log message from test +* [CB-8858](https://issues.apache.org/jira/browse/CB-8858) Incremented plugin version. +* [CB-8858](https://issues.apache.org/jira/browse/CB-8858) Updated version in package.json for release 1.0.0 +* Revert "CB-8858 Incremented plugin version." +* [CB-8858](https://issues.apache.org/jira/browse/CB-8858) Incremented plugin version. +* [CB-8858](https://issues.apache.org/jira/browse/CB-8858) Updated version and RELEASENOTES.md for release 1.0.0 +* [CB-8746](https://issues.apache.org/jira/browse/CB-8746) gave plugin major version bump +* [CB-8683](https://issues.apache.org/jira/browse/CB-8683) updated windows and tizen specific references of old id to new id +* [CB-8683](https://issues.apache.org/jira/browse/CB-8683) changed plugin-id to pacakge-name +* [CB-8653](https://issues.apache.org/jira/browse/CB-8653) properly updated translated docs to use new id +* [CB-8653](https://issues.apache.org/jira/browse/CB-8653) updated
[01/12] cordova-plugin-dialogs git commit: Make sure the alert buttonLabel is a string
Repository: cordova-plugin-dialogs Updated Branches: refs/heads/1.3.x fef904c72 -> 233aff26f Make sure the alert buttonLabel is a string Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/commit/5ecb3506 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/tree/5ecb3506 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/diff/5ecb3506 Branch: refs/heads/1.3.x Commit: 5ecb3506e0de87d0465713857af132e68c543f00 Parents: 7c4a5de Author: Kevin BoostenAuthored: Tue Aug 16 09:34:00 2016 +0200 Committer: Kevin Boosten Committed: Tue Aug 16 09:34:00 2016 +0200 -- www/notification.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/5ecb3506/www/notification.js -- diff --git a/www/notification.js b/www/notification.js index 4db8f0f..751f4ce 100644 --- a/www/notification.js +++ b/www/notification.js @@ -39,7 +39,7 @@ module.exports = { alert: function(message, completeCallback, title, buttonLabel) { var _message = (typeof message === "string" ? message : JSON.stringify(message)); var _title = (typeof title === "string" ? title : "Alert"); -var _buttonLabel = (buttonLabel || "OK"); +var _buttonLabel = (typeof buttonLabel === "string" ? buttonLabel : "OK"); exec(completeCallback, null, "Notification", "alert", [_message, _title, _buttonLabel]); }, - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[10/11] cordova-plugin-file-transfer git commit: CB-12154 file-transfer progressEvent.total = -1 on iOS
CB-12154 file-transfer progressEvent.total = -1 on iOS Makes chunkedMode=true uploads to contain Content-Length to make progress computable Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/commit/5a711e87 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/tree/5a711e87 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/diff/5a711e87 Branch: refs/heads/1.6.x Commit: 5a711e8722804d4d427fa5e580c9e6767c8a6cee Parents: 6554899 Author: dasergeAuthored: Wed Nov 23 18:57:11 2016 +0300 Committer: daserge Committed: Tue Dec 6 17:06:00 2016 +0300 -- src/ios/CDVFileTransfer.m | 5 +++-- tests/tests.js| 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/5a711e87/src/ios/CDVFileTransfer.m -- diff --git a/src/ios/CDVFileTransfer.m b/src/ios/CDVFileTransfer.m index 6024901..9b01049 100644 --- a/src/ios/CDVFileTransfer.m +++ b/src/ios/CDVFileTransfer.m @@ -229,6 +229,8 @@ static CFIndex WriteDataToStream(NSData* data, CFWriteStreamRef stream) totalPayloadLength += [postBodyBeforeFile length] + [postBodyAfterFile length]; } +[req setValue:[[NSNumber numberWithLongLong:totalPayloadLength] stringValue] forHTTPHeaderField:@"Content-Length"]; + if (chunkedMode) { CFReadStreamRef readStream = NULL; CFWriteStreamRef writeStream = NULL; @@ -266,7 +268,6 @@ static CFIndex WriteDataToStream(NSData* data, CFWriteStreamRef stream) CFRelease(writeStream); }]; } else { -[req setValue:[[NSNumber numberWithLongLong:totalPayloadLength] stringValue] forHTTPHeaderField:@"Content-Length"]; if (multipartFormUpload) { [postBodyBeforeFile appendData:fileData]; [postBodyBeforeFile appendData:postBodyAfterFile]; @@ -814,7 +815,7 @@ static CFIndex WriteDataToStream(NSData* data, CFWriteStreamRef stream) if (self.direction == CDV_TRANSFER_UPLOAD) { NSMutableDictionary* uploadProgress = [NSMutableDictionary dictionaryWithCapacity:3]; -[uploadProgress setObject:[NSNumber numberWithBool:(!self.chunkedMode)] forKey:@"lengthComputable"]; +[uploadProgress setObject:[NSNumber numberWithBool:true] forKey:@"lengthComputable"]; [uploadProgress setObject:[NSNumber numberWithLongLong:totalBytesWritten] forKey:@"loaded"]; [uploadProgress setObject:[NSNumber numberWithLongLong:totalBytesExpectedToWrite] forKey:@"total"]; CDVPluginResult* result = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsDictionary:uploadProgress]; http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/5a711e87/tests/tests.js -- diff --git a/tests/tests.js b/tests/tests.js index 7149091..e303b45 100644 --- a/tests/tests.js +++ b/tests/tests.js @@ -1506,7 +1506,9 @@ exports.defineAutoTests = function () { obj = JSON.parse(uploadResult.response); if (specContext.uploadOptions.chunkedMode) { - expect(obj["content-length"]).not.toBeDefined("Expected Content-Length not to be defined"); +if (!isIos) { + expect(obj["content-length"]).not.toBeDefined("Expected Content-Length not to be defined"); +} expect(obj["transfer-encoding"].toLowerCase()).toEqual("chunked"); } else { expect(obj["content-length"]).toBeDefined("Expected Content-Length to be defined"); - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[08/11] cordova-plugin-file-transfer git commit: Don't crash on low memory devices
Don't crash on low memory devices It will be OOM when running file-transfer tests on baseline Android Memory class which is 16M (It happens to be the java heap limit of those devices). This closes #166 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/commit/9b322dec Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/tree/9b322dec Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/diff/9b322dec Branch: refs/heads/1.6.x Commit: 9b322dec6790f6d273b8f707bc07976d778c4cf6 Parents: addf885 Author: junweifuAuthored: Fri Nov 4 10:23:11 2016 +0800 Committer: Steve Gill Committed: Mon Nov 7 11:05:28 2016 -0800 -- tests/tests.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/9b322dec/tests/tests.js -- diff --git a/tests/tests.js b/tests/tests.js index cc88eda..7149091 100644 --- a/tests/tests.js +++ b/tests/tests.js @@ -58,6 +58,7 @@ exports.defineAutoTests = function () { var isBrowser = cordova.platformId === "browser"; var isIE = isBrowser && navigator.userAgent.indexOf("Trident") >= 0; var isIos = cordova.platformId === "ios"; +var isIot = cordova.platformId === "android" && navigator.userAgent.indexOf("iot") >= 0; // tests describe("FileTransferError", function () { @@ -1078,7 +1079,7 @@ exports.defineAutoTests = function () { // windows store and ios are too fast, win is called before we have a chance to abort // so let's get them busy - while not providing an extra load to the slow Android emulators -var arrayLength = ((isWindows && !isWindowsPhone81) || isIos) ? 300 : 20; +var arrayLength = ((isWindows && !isWindowsPhone81) || isIos) ? 300 : isIot ? 15 : 20; writeFile(specContext.root, specContext.fileName, new Array(arrayLength).join("aborttest!"), fileWin, done); }, UPLOAD_TIMEOUT); - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[03/11] cordova-plugin-file-transfer git commit: CB-11917 - Remove pull request template checklist item: "iCLA has been submitted…"
CB-11917 - Remove pull request template checklist item: "iCLA has been submittedâ¦" This closes #158 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/commit/ed88cfc1 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/tree/ed88cfc1 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/diff/ed88cfc1 Branch: refs/heads/1.6.x Commit: ed88cfc1181a69e486c547c8cb525e6f72eed402 Parents: e68f766 Author: Shazron AbdullahAuthored: Wed Sep 28 01:33:06 2016 -0700 Committer: Shazron Abdullah Committed: Tue Oct 4 21:38:03 2016 -0700 -- .github/PULL_REQUEST_TEMPLATE.md | 1 - 1 file changed, 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/ed88cfc1/.github/PULL_REQUEST_TEMPLATE.md -- diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 4bd6da9..91582f4 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -17,7 +17,6 @@ Thanks! ### Checklist -- [ ] [ICLA](http://www.apache.org/licenses/icla.txt) has been signed and submitted to secret...@apache.org. - [ ] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA database - [ ] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB- is the JIRA ID & "android" is the platform affected. - [ ] Added automated test coverage as appropriate for this change. - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[03/12] cordova-plugin-dialogs git commit: CB-11832 Incremented plugin version.
CB-11832 Incremented plugin version. Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/commit/542e7f7c Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/tree/542e7f7c Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/diff/542e7f7c Branch: refs/heads/1.3.x Commit: 542e7f7c9f9b5a6d9af48f71549c7d988f91145a Parents: fef904c Author: Steve GillAuthored: Fri Sep 9 16:08:04 2016 -0700 Committer: Steve Gill Committed: Fri Sep 9 16:08:04 2016 -0700 -- package.json | 2 +- plugin.xml | 2 +- tests/plugin.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/542e7f7c/package.json -- diff --git a/package.json b/package.json index f85f14c..2a38e9f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-dialogs", - "version": "1.3.0", + "version": "1.3.1-dev", "description": "Cordova Notification Plugin", "cordova": { "id": "cordova-plugin-dialogs", http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/542e7f7c/plugin.xml -- diff --git a/plugin.xml b/plugin.xml index 1069cce..8cf9c37 100644 --- a/plugin.xml +++ b/plugin.xml @@ -20,7 +20,7 @@ http://apache.org/cordova/ns/plugins/1.0; id="cordova-plugin-dialogs" - version="1.3.0"> + version="1.3.1-dev"> Notification Cordova Notification Plugin http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/542e7f7c/tests/plugin.xml -- diff --git a/tests/plugin.xml b/tests/plugin.xml index 55675b2..7edf3bc 100644 --- a/tests/plugin.xml +++ b/tests/plugin.xml @@ -20,7 +20,7 @@ http://apache.org/cordova/ns/plugins/1.0; id="cordova-plugin-dialogs-tests" -version="1.3.0"> +version="1.3.1-dev"> Cordova Notification Plugin Tests Apache 2.0 - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[06/12] cordova-plugin-dialogs git commit: Add enter key handling and map to default button.
Add enter key handling and map to default button. Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/commit/5ebefa82 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/tree/5ebefa82 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/diff/5ebefa82 Branch: refs/heads/1.3.x Commit: 5ebefa82d5220b4525602b3c38e9198095f80d8c Parents: 9a19139 Author: Jesse MacFadyenAuthored: Fri Sep 9 16:05:38 2016 -0700 Committer: Jesse MacFadyen Committed: Fri Sep 9 16:30:51 2016 -0700 -- src/windows/NotificationProxy.js | 7 +++ 1 file changed, 7 insertions(+) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/5ebefa82/src/windows/NotificationProxy.js -- diff --git a/src/windows/NotificationProxy.js b/src/windows/NotificationProxy.js index 2d32f83..e826557 100644 --- a/src/windows/NotificationProxy.js +++ b/src/windows/NotificationProxy.js @@ -116,6 +116,13 @@ function createPromptDialog(title, message, buttons, defaultText, callback) { // make sure input field is under focus dlg.querySelector('#prompt-input').select(); +// add Enter/Return key handling +var defaultButton = dlg.querySelector(".dlgButtonFirst"); +dlg.addEventListener("keypress",function(e) { +if (e.keyCode === 13) { // enter key +defaultButton && defaultButton.click(); +} +}); return dlgWrap; } - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[04/11] cordova-plugin-file-transfer git commit: CB-11959 Fixed filetransfer.spec.21 test failure on iOS and Windows Store when using local server
CB-11959 Fixed filetransfer.spec.21 test failure on iOS and Windows Store when using local server Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/commit/709fd057 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/tree/709fd057 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/diff/709fd057 Branch: refs/heads/1.6.x Commit: 709fd057f2f9b29c8aafd696c96f02b9f043368a Parents: ed88cfc Author: Alexander SorokinAuthored: Wed Oct 5 15:26:56 2016 +0300 Committer: Alexander Sorokin Committed: Wed Oct 5 15:26:56 2016 +0300 -- tests/tests.js | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/709fd057/tests/tests.js -- diff --git a/tests/tests.js b/tests/tests.js index 43fc3cd..f4fd636 100644 --- a/tests/tests.js +++ b/tests/tests.js @@ -1075,7 +1075,10 @@ exports.defineAutoTests = function () { }, GRACE_TIME_DELTA); }; -writeFile(specContext.root, specContext.fileName, new Array(20).join("aborttest!"), fileWin, done); +// windows store and ios are too fast, win is called before we have a chance to abort +// so let's get them busy - while not providing an extra load to the slow Android emulators +var arrayLength = (isWindows || isIos) ? 100 : 20; +writeFile(specContext.root, specContext.fileName, new Array(arrayLength).join("aborttest!"), fileWin, done); }, UPLOAD_TIMEOUT); it("filetransfer.spec.22 should get http status and body on failure", function (done) { - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[4/6] cordova-plugin-geolocation git commit: corrected KCLAuthorizationStatus error, changed to always removed user of [manager locationServicesEnabled]. Must return [CLLocationManager locationService
corrected KCLAuthorizationStatus error, changed to always removed user of [manager locationServicesEnabled]. Must return [CLLocationManager locationServicesEnabled] or 'none' Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/commit/1ff3a9e3 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/tree/1ff3a9e3 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/diff/1ff3a9e3 Branch: refs/heads/2.4.x Commit: 1ff3a9e3d02cc49ae9477d9eb54b8cdd031df4f5 Parents: f9f7a23 Author: SterlingAuthored: Fri Oct 28 18:20:28 2016 -0700 Committer: Jesse MacFadyen Committed: Fri Nov 4 18:02:56 2016 -0700 -- src/ios/CDVLocation.m | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/1ff3a9e3/src/ios/CDVLocation.m -- diff --git a/src/ios/CDVLocation.m b/src/ios/CDVLocation.m index e4b34a1..26802d6 100644 --- a/src/ios/CDVLocation.m +++ b/src/ios/CDVLocation.m @@ -73,7 +73,7 @@ return (authStatus == kCLAuthorizationStatusAuthorizedWhenInUse) || (authStatus == kCLAuthorizationStatusAuthorizedAlways) || (authStatus == kCLAuthorizationStatusNotDetermined); } #endif -return (authStatus == kCLAuthorizationStatusAuthorized) || (authStatus == kCLAuthorizationStatusNotDetermined); +return (authStatus == kCLAuthorizationStatusAuthorizedAlways) || (authStatus == kCLAuthorizationStatusNotDetermined); } // by default, assume YES (for iOS < 4.2) @@ -87,8 +87,6 @@ if (locationServicesEnabledClassPropertyAvailable) { // iOS 4.x return [CLLocationManager locationServicesEnabled]; -} else if (locationServicesEnabledInstancePropertyAvailable) { // iOS 2.x, iOS 3.x -return [(id)self.locationManager locationServicesEnabled]; } else { return NO; } - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[3/3] cordova-plugin-device-motion git commit: CB-12224 Updated version and RELEASENOTES.md for release 1.2.3
CB-12224 Updated version and RELEASENOTES.md for release 1.2.3 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/commit/5e0e28f4 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/tree/5e0e28f4 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/diff/5e0e28f4 Branch: refs/heads/1.2.x Commit: 5e0e28f4f2ad594bf484382f6afede268729286d Parents: ac2e468 Author: Shazron AbdullahAuthored: Wed Dec 7 16:39:44 2016 -0800 Committer: Shazron Abdullah Committed: Wed Dec 7 16:39:44 2016 -0800 -- RELEASENOTES.md | 163 ++ package.json | 2 +- plugin.xml | 2 +- tests/plugin.xml | 2 +- 4 files changed, 166 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/5e0e28f4/RELEASENOTES.md -- diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 9c20672..20ca53c 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -20,6 +20,169 @@ --> # Release Notes +### 1.2.3 (Dec 07, 2016) +* [CB-11917](https://issues.apache.org/jira/browse/CB-11917) - Remove pull request template checklist item: "iCLA has been submittedâ¦" +* [CB-11832](https://issues.apache.org/jira/browse/CB-11832) Incremented plugin version. +* [CB-11832](https://issues.apache.org/jira/browse/CB-11832) Updated version and RELEASENOTES.md for release 1.2.2 +* [CB-11795](https://issues.apache.org/jira/browse/CB-11795) Add 'protective' entry to cordovaDependencies +* [CB-11482](https://issues.apache.org/jira/browse/CB-11482) Fix unreliable tests on Android +* [CB-11531](https://issues.apache.org/jira/browse/CB-11531) Restart Accelerometer on CyanogenMod 13 +* Add badges for paramedic builds on Jenkins +* Add pull request template. +* [CB-11188](https://issues.apache.org/jira/browse/CB-11188) cordova-plugin-device-motion-tests are failing in CI +* [CB-10996](https://issues.apache.org/jira/browse/CB-10996) Adding front matter to README.md +* Update README.md +* [CB-11091](https://issues.apache.org/jira/browse/CB-11091) Incremented plugin version. +* Updated version and RELEASENOTES.md for release 1.2.1 +* Minor changes to readme +* [CB-10636](https://issues.apache.org/jira/browse/CB-10636) Add JSHint for plugins +* chore: edit package.json license to match SPDX id +* [CB-10035](https://issues.apache.org/jira/browse/CB-10035) Incremented plugin version. +* [CB-10035](https://issues.apache.org/jira/browse/CB-10035) linked issues in RELEASENOTES.md +* [CB-10035](https://issues.apache.org/jira/browse/CB-10035) Updated version and RELEASENOTES.md for release 1.2.0 +* removed r prefix from tags +* [CB-10035](https://issues.apache.org/jira/browse/CB-10035) Updated RELEASENOTES to be newest to oldest +* This closes #37 +* access all accel properties via getters +* Return error when accelerometer not available, skip/pending tests when accel not available, use getters for properties +* revert wp8 commit: 90ef274 +* Close #22 +* Returning an OK PluginResult.Status when starting +* Update README.md +* Added android quirk as written by @notsure13 This closes #23 +* add JIRA issue tracker link +* Actually fixing the contribute link. +* Fixing contribute link. +* [CB-9426](https://issues.apache.org/jira/browse/CB-9426) Fix exception when using device motion plugin on browser platform. +* [CB-9339](https://issues.apache.org/jira/browse/CB-9339) Increase the default sensor accuracy +* remove travis-ci integration +* [CB-9192](https://issues.apache.org/jira/browse/CB-9192) Incremented plugin version. +* [CB-9202](https://issues.apache.org/jira/browse/CB-9202) updated repo url to github mirror in package.json +* [CB-9192](https://issues.apache.org/jira/browse/CB-9192) Updated version and RELEASENOTES.md for release 1.1.1 +* [CB-9128](https://issues.apache.org/jira/browse/CB-9128) cordova-plugin-device-motion documentation translation: cordova-plugin-device-motion +* fix npm md issue +* [CB-8842](https://issues.apache.org/jira/browse/CB-8842) Return cached values on Android if there is no updates from sensor +* [CB-8959](https://issues.apache.org/jira/browse/CB-8959) Incremented plugin version. +* [CB-8959](https://issues.apache.org/jira/browse/CB-8959) Updated version and RELEASENOTES.md for release 1.1.0 +* [CB-8926](https://issues.apache.org/jira/browse/CB-8926) The tests module tries to access an undefined global 'Accelerometer' on fail callbacks. This results in another JS error, "ReferenceError: 'Accelerometer' is undefined." This change passes through the error message instead of attempting to index into it. +*
[5/7] cordova-plugin-file git commit: fix ENCODING_ERR for applicationDirectory
fix ENCODING_ERR for applicationDirectory This closes #193 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/commit/f4c2c94c Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/f4c2c94c Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/f4c2c94c Branch: refs/heads/4.3.x Commit: f4c2c94c2da58e87aa3e2a47aad9e107694e Parents: 7ae74f5 Author: Reon90Authored: Thu Aug 25 23:25:49 2016 +0300 Committer: Vladimir Kotikov Committed: Mon Nov 7 13:13:57 2016 +0300 -- src/windows/FileProxy.js | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/f4c2c94c/src/windows/FileProxy.js -- diff --git a/src/windows/FileProxy.js b/src/windows/FileProxy.js index c342a56..64ee1df 100644 --- a/src/windows/FileProxy.js +++ b/src/windows/FileProxy.js @@ -200,6 +200,12 @@ function getAllFS() { nativeURL: 'ms-appdata:///temp', winpath: nativePathToCordova(Windows.Storage.ApplicationData.current.temporaryFolder.path) })), +'application': +Object.freeze(new WinFS('application', { +name: 'application', +nativeURL: 'ms-appx:///', +winpath: nativePathToCordova(Windows.ApplicationModel.Package.current.installedLocation.path) +})), 'root': Object.freeze(new WinFS('root', { name: 'root', @@ -249,7 +255,7 @@ function pathFromURL(url) { } } -['file://','ms-appdata:///','cdvfile://localhost/'].every(function(p) { + ['file://','ms-appdata:///','ms-appx://','cdvfile://localhost/'].every(function(p) { if (path.indexOf(p)!==0) return true; var thirdSlash = path.indexOf("/", p.length); - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[12/12] cordova-plugin-dialogs git commit: CB-12224 Updated version and RELEASENOTES.md for release 1.3.1
CB-12224 Updated version and RELEASENOTES.md for release 1.3.1 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/commit/233aff26 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/tree/233aff26 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/diff/233aff26 Branch: refs/heads/1.3.x Commit: 233aff26f8102d25ed531518c83c4e2be7127bdf Parents: 6606fcb Author: Shazron AbdullahAuthored: Wed Dec 7 16:39:44 2016 -0800 Committer: Shazron Abdullah Committed: Wed Dec 7 16:39:44 2016 -0800 -- RELEASENOTES.md | 193 ++ package.json | 2 +- plugin.xml | 2 +- tests/plugin.xml | 2 +- 4 files changed, 196 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/233aff26/RELEASENOTES.md -- diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 2b34048..476ba7e 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -20,6 +20,199 @@ --> # Release Notes +### 1.3.1 (Dec 07, 2016) +* [CB-11917](https://issues.apache.org/jira/browse/CB-11917) - Remove pull request template checklist item: "iCLA has been submittedâ¦" +* Close #43 +* Replace empty buttonLabel with 'OK' +* Make sure the alert buttonLabel is a string +* Close #86 +* Fix dumb linting error +* Add enter key handling and map to default button. +* Added test for [windows] [CB-11281](https://issues.apache.org/jira/browse/CB-11281) when called without defaultText +* [CB-11832](https://issues.apache.org/jira/browse/CB-11832) Incremented plugin version. +* [CB-11832](https://issues.apache.org/jira/browse/CB-11832) Updated version and RELEASENOTES.md for release 1.3.0 +* [CB-11832](https://issues.apache.org/jira/browse/CB-11832) updated missing header file +* Select the text and put default value in the input directly. +* [CB-11281](https://issues.apache.org/jira/browse/CB-11281) windows: defaultText is not taken as input if no input by user fixed +* Separated CSS from JS code. Fixed the prompt dialog CSS to look close to native. Fixed the positioning of the prompt dialog for Windows. Fixed minor JSHint issues. +* [CB-11795](https://issues.apache.org/jira/browse/CB-11795) Add 'protective' entry to cordovaDependencies +* [CB-8773](https://issues.apache.org/jira/browse/CB-8773) Fix for iOS 8 keyboard not appearing on prompt +* [CB-11677](https://issues.apache.org/jira/browse/CB-11677) Android: made text, entered to prompt dialog visible +* Closing stale pull request: close #78 +* CB-8947:(ios) Fix crash. Convert non-string messages to strings. Added tests. +* Add badges for paramedic builds on Jenkins +* Closing stale PRs. This closes #77 +* Add pull request template. +* [CB-11218](https://issues.apache.org/jira/browse/CB-11218) Convert button list to appropriate type +* Simply add Browser to supported platforms +* [CB-10996](https://issues.apache.org/jira/browse/CB-10996) Adding front matter to README.md +* [CB-11091](https://issues.apache.org/jira/browse/CB-11091) Incremented plugin version. +* Updated version and RELEASENOTES.md for release 1.2.1 +* Closing stale pull request: close #57 +* [CB-10097](https://issues.apache.org/jira/browse/CB-10097) dialog doesn't show on iOS when called from a select list onChange event +* Remove 'warning' emoji, as it doesn't correctly display in the docs website: http://cordova.apache.org/docs/en/dev/cordova-plugin-dialogs/index.html +* [CB-10727](https://issues.apache.org/jira/browse/CB-10727) Dialogs plugin has warnings on iOS +* [CB-10636](https://issues.apache.org/jira/browse/CB-10636) Add JSHint for plugins +* chore: edit package.json license to match SPDX id +* [CB-10035](https://issues.apache.org/jira/browse/CB-10035) Incremented plugin version. +* Update notification.js +* Close conflicted/duplicate/stale pull requests. This closes #27. Closes #54. Closes #6. +* add JIRA issue tracker link +* Allow a blank string for dialog titles and messages. +* correct block usage +* [CB-10035](https://issues.apache.org/jira/browse/CB-10035) linked issues in RELEASENOTES.md +* [CB-10035](https://issues.apache.org/jira/browse/CB-10035) Updated version and RELEASENOTES.md for release 1.2.0 +* removed r prefix from tags +* [CB-10035](https://issues.apache.org/jira/browse/CB-10035) Updated RELEASENOTES to be newest to oldest +* [CB-8549](https://issues.apache.org/jira/browse/CB-8549) Updated source to pass Fortify scan. +* Actually fixing the contribute link. +* Fixing contribute link. +* add CSS class to prompt div for windows platform +* [CB-9347](https://issues.apache.org/jira/browse/CB-9347) - fix to allow to stack multiple
[3/3] cordova-plugin-console git commit: CB-12224 Updated version and RELEASENOTES.md for release 1.0.5
CB-12224 Updated version and RELEASENOTES.md for release 1.0.5 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-console/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-console/commit/8bf1ba18 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-console/tree/8bf1ba18 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-console/diff/8bf1ba18 Branch: refs/heads/1.0.x Commit: 8bf1ba18d5353feaecf6575fa43f825460d1c13c Parents: 22cda64 Author: Shazron AbdullahAuthored: Wed Dec 7 16:39:44 2016 -0800 Committer: Shazron Abdullah Committed: Wed Dec 7 16:39:44 2016 -0800 -- RELEASENOTES.md | 103 ++ package.json | 2 +- plugin.xml | 2 +- tests/plugin.xml | 2 +- 4 files changed, 106 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-console/blob/8bf1ba18/RELEASENOTES.md -- diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 76cc093..582b739 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -20,6 +20,109 @@ --> # Release Notes +### 1.0.5 (Dec 07, 2016) +* [CB-11917](https://issues.apache.org/jira/browse/CB-11917) - Remove pull request template checklist item: "iCLA has been submittedâ¦" +* [CB-11832](https://issues.apache.org/jira/browse/CB-11832) Incremented plugin version. +* [CB-11832](https://issues.apache.org/jira/browse/CB-11832) Updated version and RELEASENOTES.md for release 1.0.4 +* [CB-11795](https://issues.apache.org/jira/browse/CB-11795) Add 'protective' entry to cordovaDependencies +* add JIRA issue tracker link +* Add badges for paramedic builds on Jenkins +* Add pull request template. +* [CB-10996](https://issues.apache.org/jira/browse/CB-10996) Adding front matter to README.md +* [CB-11091](https://issues.apache.org/jira/browse/CB-11091) Incremented plugin version. +* Updated version and RELEASENOTES.md for release 1.0.3 +* [CB-10720](https://issues.apache.org/jira/browse/CB-10720) Minor spelling/formatting changes. +* [CB-10636](https://issues.apache.org/jira/browse/CB-10636) Add JSHint for plugins +* chore: edit package.json license to match SPDX id +* [CB-10035](https://issues.apache.org/jira/browse/CB-10035) Incremented plugin version. +* [CB-10035](https://issues.apache.org/jira/browse/CB-10035) linked issues in RELEASENOTES.md +* [CB-10035](https://issues.apache.org/jira/browse/CB-10035) Updated version and RELEASENOTES.md for release 1.0.2 +* removed r prefix from tags +* [CB-10035](https://issues.apache.org/jira/browse/CB-10035) Updated RELEASENOTES to be newest to oldest +* Actually fixing the contribute link. +* Fixing contribute link. +* Document formatting options for the console object +* [CB-5089](https://issues.apache.org/jira/browse/CB-5089) Document supported methods for console object +* reverted d58f218b9149d362ebb0b8ce697cf403569d14cd because logger is not needed on android +* remove travi-ci integration +* [CB-9192](https://issues.apache.org/jira/browse/CB-9192) Incremented plugin version. +* [CB-9202](https://issues.apache.org/jira/browse/CB-9202) updated repo url to github mirror in package.json +* [CB-9192](https://issues.apache.org/jira/browse/CB-9192) Updated version and RELEASENOTES.md for release 1.0.1 +* move logger.js and console-via-logger.js to common modules, instead of the numerous repeats that were there. +* clean up tests, info is below log level so it does not exist by default. +* add a couple tests +* [CB-9191](https://issues.apache.org/jira/browse/CB-9191) Add basic test +* [CB-9128](https://issues.apache.org/jira/browse/CB-9128) cordova-plugin-console documentation translation: cordova-plugin-console +* attempt to fix npm markdown issue +* [CB-8858](https://issues.apache.org/jira/browse/CB-8858) Incremented plugin version. +* [CB-8858](https://issues.apache.org/jira/browse/CB-8858) Updated version in package.json for release 1.0.0 +* Revert "CB-8858 Incremented plugin version." +* [CB-8858](https://issues.apache.org/jira/browse/CB-8858) Incremented plugin version. +* [CB-8858](https://issues.apache.org/jira/browse/CB-8858) Updated version and RELEASENOTES.md for release 1.0.0 +* [CB-8746](https://issues.apache.org/jira/browse/CB-8746) gave plugin major version bump +* [CB-8683](https://issues.apache.org/jira/browse/CB-8683) changed plugin-id to pacakge-name +* [CB-8653](https://issues.apache.org/jira/browse/CB-8653) updated translated docs to use new id +* [CB-8653](https://issues.apache.org/jira/browse/CB-8653) updated translated docs to use new id +* Use TRAVIS_BUILD_DIR, install paramedic by npm +* docs: renamed Windows8 to Windows +* [CB-8653](https://issues.apache.org/jira/browse/CB-8653) Updated Readme +*
[16/25] cordova-plugin-camera git commit: Close #241
Close #241 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/commit/3a90bb7d Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/tree/3a90bb7d Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/diff/3a90bb7d Branch: refs/heads/2.3.x Commit: 3a90bb7d55f6df08119bb5c4c9c64b1aa11e705a Parents: b13cbde Author: Joe BowserAuthored: Mon Nov 7 16:11:45 2016 -0800 Committer: Joe Bowser Committed: Mon Nov 7 16:11:45 2016 -0800 -- -- - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[3/7] cordova-plugin-file git commit: CB-11917 - Remove pull request template checklist item: "iCLA has been submitted…"
CB-11917 - Remove pull request template checklist item: "iCLA has been submittedâ¦" This closes #196 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/commit/7dbef06f Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/7dbef06f Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/7dbef06f Branch: refs/heads/4.3.x Commit: 7dbef06f695c2f08e7f50dbe8d09359bb6ec52d7 Parents: 6376f76 Author: Shazron AbdullahAuthored: Wed Sep 28 01:28:30 2016 -0700 Committer: Shazron Abdullah Committed: Tue Oct 4 21:39:03 2016 -0700 -- .github/PULL_REQUEST_TEMPLATE.md | 1 - 1 file changed, 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/7dbef06f/.github/PULL_REQUEST_TEMPLATE.md -- diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 4bd6da9..91582f4 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -17,7 +17,6 @@ Thanks! ### Checklist -- [ ] [ICLA](http://www.apache.org/licenses/icla.txt) has been signed and submitted to secret...@apache.org. - [ ] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA database - [ ] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB- is the JIRA ID & "android" is the platform affected. - [ ] Added automated test coverage as appropriate for this change. - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[08/11] cordova-plugin-contacts git commit: CB-11028 android: Allow to set custom labels for contacts' fields
CB-11028 android: Allow to set custom labels for contacts' fields Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/commit/76f695ef Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/tree/76f695ef Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/diff/76f695ef Branch: refs/heads/2.2.x Commit: 76f695ef9d151638c80d13ac1b4e2cbc9a781589 Parents: a19baba Author: Nikita MatrosovAuthored: Wed Nov 2 13:11:39 2016 +0300 Committer: Nikita Matrosov Committed: Wed Nov 2 13:14:05 2016 +0300 -- src/android/ContactAccessorSdk5.java | 63 +++ tests/tests.js | 44 + 2 files changed, 92 insertions(+), 15 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/76f695ef/src/android/ContactAccessorSdk5.java -- diff --git a/src/android/ContactAccessorSdk5.java b/src/android/ContactAccessorSdk5.java index 8f7135e..d2829d5 100644 --- a/src/android/ContactAccessorSdk5.java +++ b/src/android/ContactAccessorSdk5.java @@ -54,6 +54,11 @@ import android.os.RemoteException; import android.provider.ContactsContract; import android.provider.ContactsContract.CommonDataKinds; import android.provider.ContactsContract.CommonDataKinds.Phone; +import android.provider.ContactsContract.CommonDataKinds.Organization; +import android.provider.ContactsContract.CommonDataKinds.StructuredPostal; +import android.provider.ContactsContract.CommonDataKinds.Email; +import android.provider.ContactsContract.CommonDataKinds.Website; +import android.provider.ContactsContract.CommonDataKinds.Im; import android.text.TextUtils; /** @@ -772,10 +777,13 @@ public class ContactAccessorSdk5 extends ContactAccessor { */ private JSONObject organizationQuery(Cursor cursor) { JSONObject organization = new JSONObject(); +int typeCode = cursor.getInt(cursor.getColumnIndex(Organization.TYPE)); +String typeLabel = cursor.getString(cursor.getColumnIndex(Organization.LABEL)); +String type = (typeCode == Organization.TYPE_CUSTOM) ? typeLabel : getOrgType(typeCode); try { organization.put("id", cursor.getString(cursor.getColumnIndex(CommonDataKinds.Organization._ID))); organization.put("pref", false); // Android does not store pref attribute -organization.put("type", getOrgType(cursor.getInt(cursor.getColumnIndex(CommonDataKinds.Organization.TYPE; +organization.put("type", type); organization.put("department", cursor.getString(cursor.getColumnIndex(CommonDataKinds.Organization.DEPARTMENT))); organization.put("name", cursor.getString(cursor.getColumnIndex(CommonDataKinds.Organization.COMPANY))); organization.put("title", cursor.getString(cursor.getColumnIndex(CommonDataKinds.Organization.TITLE))); @@ -792,10 +800,13 @@ public class ContactAccessorSdk5 extends ContactAccessor { */ private JSONObject addressQuery(Cursor cursor) { JSONObject address = new JSONObject(); +int typeCode = cursor.getInt(cursor.getColumnIndex(StructuredPostal.TYPE)); +String typeLabel = cursor.getString(cursor.getColumnIndex(StructuredPostal.LABEL)); +String type = (typeCode == StructuredPostal.TYPE_CUSTOM) ? typeLabel : getAddressType(typeCode); try { address.put("id", cursor.getString(cursor.getColumnIndex(CommonDataKinds.StructuredPostal._ID))); address.put("pref", false); // Android does not store pref attribute -address.put("type", getAddressType(cursor.getInt(cursor.getColumnIndex(CommonDataKinds.Organization.TYPE; +address.put("type", type); address.put("formatted", cursor.getString(cursor.getColumnIndex(CommonDataKinds.StructuredPostal.FORMATTED_ADDRESS))); address.put("streetAddress", cursor.getString(cursor.getColumnIndex(CommonDataKinds.StructuredPostal.STREET))); address.put("locality", cursor.getString(cursor.getColumnIndex(CommonDataKinds.StructuredPostal.CITY))); @@ -862,11 +873,14 @@ public class ContactAccessorSdk5 extends ContactAccessor { */ private JSONObject phoneQuery(Cursor cursor) { JSONObject phoneNumber = new JSONObject(); +int typeCode = cursor.getInt(cursor.getColumnIndex(Phone.TYPE)); +String typeLabel = cursor.getString(cursor.getColumnIndex(Phone.LABEL)); +String type = (typeCode == Phone.TYPE_CUSTOM) ? typeLabel : getPhoneType(typeCode); try { phoneNumber.put("id",
[05/11] cordova-plugin-contacts git commit: CB-11917 - Remove pull request template checklist item: "iCLA has been signed and submitted to secret...@apache.org."
CB-11917 - Remove pull request template checklist item: "iCLA has been signed and submitted to secret...@apache.org." This closes #137 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/commit/534d16c8 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/tree/534d16c8 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/diff/534d16c8 Branch: refs/heads/2.2.x Commit: 534d16c8d2dca01f464db5cd67cded8a980133e8 Parents: e0600ee Author: Shazron AbdullahAuthored: Wed Sep 28 01:20:01 2016 -0700 Committer: Shazron Abdullah Committed: Tue Oct 4 21:37:37 2016 -0700 -- .github/PULL_REQUEST_TEMPLATE.md | 1 - 1 file changed, 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/534d16c8/.github/PULL_REQUEST_TEMPLATE.md -- diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 4bd6da9..91582f4 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -17,7 +17,6 @@ Thanks! ### Checklist -- [ ] [ICLA](http://www.apache.org/licenses/icla.txt) has been signed and submitted to secret...@apache.org. - [ ] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA database - [ ] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB- is the JIRA ID & "android" is the platform affected. - [ ] Added automated test coverage as appropriate for this change. - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[1/4] cordova-plugin-device-orientation git commit: CB-11832 Incremented plugin version.
Repository: cordova-plugin-device-orientation Updated Branches: refs/heads/1.0.x c3ccdbcf4 -> 4b5ead900 CB-11832 Incremented plugin version. Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/commit/34c744de Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/tree/34c744de Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/diff/34c744de Branch: refs/heads/1.0.x Commit: 34c744dece34791974ba14948e8480fea460925b Parents: c3ccdbc Author: Steve GillAuthored: Fri Sep 9 16:08:04 2016 -0700 Committer: Steve Gill Committed: Fri Sep 9 16:08:04 2016 -0700 -- package.json | 2 +- plugin.xml | 2 +- tests/plugin.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/blob/34c744de/package.json -- diff --git a/package.json b/package.json index 47ca336..960b249 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-device-orientation", - "version": "1.0.4", + "version": "1.0.5-dev", "description": "Cordova Device Orientation Plugin", "cordova": { "id": "cordova-plugin-device-orientation", http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/blob/34c744de/plugin.xml -- diff --git a/plugin.xml b/plugin.xml index 52947f9..f7cbed2 100644 --- a/plugin.xml +++ b/plugin.xml @@ -21,7 +21,7 @@ http://apache.org/cordova/ns/plugins/1.0; xmlns:android="http://schemas.android.com/apk/res/android; id="cordova-plugin-device-orientation" -version="1.0.4"> +version="1.0.5-dev"> Device Orientation Cordova Device Orientation Plugin http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/blob/34c744de/tests/plugin.xml -- diff --git a/tests/plugin.xml b/tests/plugin.xml index d9a38e0..f8a8690 100644 --- a/tests/plugin.xml +++ b/tests/plugin.xml @@ -21,7 +21,7 @@ http://apache.org/cordova/ns/plugins/1.0; xmlns:android="http://schemas.android.com/apk/res/android; id="cordova-plugin-device-orientation-tests" -version="1.0.4"> +version="1.0.5-dev"> Cordova Device Orientation Plugin Tests Apache 2.0 - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[04/12] cordova-plugin-dialogs git commit: Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/commit/9a19139e Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/tree/9a19139e Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/diff/9a19139e Branch: refs/heads/1.3.x Commit: 9a19139eefb0981a178f531cd502bfdd08233c83 Parents: 542e7f7 02a4242 Author: Steve GillAuthored: Fri Sep 9 16:27:11 2016 -0700 Committer: Steve Gill Committed: Fri Sep 9 16:27:11 2016 -0700 -- tests/tests.js | 4 1 file changed, 4 insertions(+) -- - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[02/11] cordova-plugin-file-transfer git commit: CB-11926 Tests can use local server
CB-11926 Tests can use local server Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/commit/e68f7666 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/tree/e68f7666 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/diff/e68f7666 Branch: refs/heads/1.6.x Commit: e68f766639602cd84f72f77d51384b4b20570169 Parents: 1cfc66c Author: Alexander SorokinAuthored: Tue Oct 4 22:40:39 2016 +0300 Committer: Alexander Sorokin Committed: Tue Oct 4 22:40:39 2016 +0300 -- tests/hooks/after_prepare.js | 70 +++ tests/plugin.xml | 4 +++ tests/tests.js | 30 +++-- 3 files changed, 101 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/e68f7666/tests/hooks/after_prepare.js -- diff --git a/tests/hooks/after_prepare.js b/tests/hooks/after_prepare.js new file mode 100644 index 000..e6f01e7 --- /dev/null +++ b/tests/hooks/after_prepare.js @@ -0,0 +1,70 @@ +#!/usr/bin/env node + +/* +* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +* +*/ + +var path = require('path'); +var fs = require('fs'); + +module.exports = function(context) { +function main() { +// get the file transfer server address from the specified variables +var fileTransferServerAddress = getFileTransferServerAddress(context) || getDefaultFileTransferServerAddress(context); +console.log('Tests will use the following file transfer server address: ' + fileTransferServerAddress); + +// pass it to the tests +writeFileTransferOptions(fileTransferServerAddress, context); +} + +function getDefaultFileTransferServerAddress(context) { +var address = null; +var configNodes = context.opts.plugin.pluginInfo._et._root._children; + +for (var node in configNodes) { +if (configNodes[node].attrib.name == 'FILETRANSFER_SERVER_ADDRESS') { +address = configNodes[node].attrib.default; +} +} + +return address; +} + +function getFileTransferServerAddress(context) { +var platformJsonFile = path.join(context.opts.projectRoot, 'platforms', context.opts.platforms[0], context.opts.platforms[0] + '.json'); +var platformJson = JSON.parse(fs.readFileSync(platformJsonFile, 'utf8')); + +return platformJson.installed_plugins['cordova-plugin-file-transfer-tests'].FILETRANSFER_SERVER_ADDRESS; +} + +function writeFileTransferOptions(address, context) { +for (var p in context.opts.paths) { +var ftOpts = { +serverAddress: address +}; +var ftOptsString = JSON.stringify(ftOpts); +var ftOptsFile = path.join(context.opts.paths[p], 'fileTransferOpts.json'); +fs.writeFileSync(ftOptsFile, ftOptsString, 'utf8'); +} +} + +main(); + +}; http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/e68f7666/tests/plugin.xml -- diff --git a/tests/plugin.xml b/tests/plugin.xml index 94ad77c..f537907 100644 --- a/tests/plugin.xml +++ b/tests/plugin.xml @@ -27,4 +27,8 @@ + + + +http://cordova-vm.apache.org:5000"/> http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/e68f7666/tests/tests.js -- diff --git a/tests/tests.js b/tests/tests.js index 58a2ef2..43fc3cd 100644 --- a/tests/tests.js +++ b/tests/tests.js @@ -42,11 +42,14 @@ exports.defineAutoTests = function () { var DATA_URI_CONTENT = "iVBORw0KGgoNSUhEUgUFCAYAAACNbyblHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwBJRU5ErkJggg=="; var DATA_URI_CONTENT_LENGTH = 85; //
[11/12] cordova-plugin-dialogs git commit: CB-11917 - Remove pull request template checklist item: "iCLA has been submitted…"
CB-11917 - Remove pull request template checklist item: "iCLA has been submittedâ¦" This closes #87 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/commit/6606fcb6 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/tree/6606fcb6 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/diff/6606fcb6 Branch: refs/heads/1.3.x Commit: 6606fcb6389be8973eeed1d30166fb7e34505496 Parents: baee813 Author: Shazron AbdullahAuthored: Wed Sep 28 01:33:44 2016 -0700 Committer: Shazron Abdullah Committed: Tue Oct 4 21:36:06 2016 -0700 -- .github/PULL_REQUEST_TEMPLATE.md | 1 - 1 file changed, 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/6606fcb6/.github/PULL_REQUEST_TEMPLATE.md -- diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 4bd6da9..91582f4 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -17,7 +17,6 @@ Thanks! ### Checklist -- [ ] [ICLA](http://www.apache.org/licenses/icla.txt) has been signed and submitted to secret...@apache.org. - [ ] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA database - [ ] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB- is the JIRA ID & "android" is the platform affected. - [ ] Added automated test coverage as appropriate for this change. - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[19/25] cordova-plugin-camera git commit: Close #199. We save photos to a shared Pictures directory, similar to the behaviour of the Twitter application
Close #199. We save photos to a shared Pictures directory, similar to the behaviour of the Twitter application Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/commit/2d47a262 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/tree/2d47a262 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/diff/2d47a262 Branch: refs/heads/2.3.x Commit: 2d47a262717e767a16331e62ece3991cce4b5301 Parents: 2d2352f Author: Joe BowserAuthored: Mon Nov 7 16:23:16 2016 -0800 Committer: Joe Bowser Committed: Mon Nov 7 16:23:16 2016 -0800 -- -- - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[09/12] cordova-plugin-dialogs git commit: Replace empty buttonLabel with 'OK'
Replace empty buttonLabel with 'OK' Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/commit/2b732482 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/tree/2b732482 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/diff/2b732482 Branch: refs/heads/1.3.x Commit: 2b732482a5cf9dc4814dcb22cf5fc6a94ee652ba Parents: 137fa7c Author: Jesse MacFadyenAuthored: Fri Sep 9 17:37:07 2016 -0700 Committer: Jesse MacFadyen Committed: Fri Sep 9 17:37:07 2016 -0700 -- www/notification.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/2b732482/www/notification.js -- diff --git a/www/notification.js b/www/notification.js index 751f4ce..b6d4d39 100644 --- a/www/notification.js +++ b/www/notification.js @@ -39,7 +39,7 @@ module.exports = { alert: function(message, completeCallback, title, buttonLabel) { var _message = (typeof message === "string" ? message : JSON.stringify(message)); var _title = (typeof title === "string" ? title : "Alert"); -var _buttonLabel = (typeof buttonLabel === "string" ? buttonLabel : "OK"); +var _buttonLabel = (buttonLabel && typeof buttonLabel === "string" ? buttonLabel : "OK"); exec(completeCallback, null, "Notification", "alert", [_message, _title, _buttonLabel]); }, - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[02/11] cordova-plugin-contacts git commit: CB-11864 Fixed tests for the new Jasmine version
CB-11864 Fixed tests for the new Jasmine version Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/commit/07bff7ce Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/tree/07bff7ce Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/diff/07bff7ce Branch: refs/heads/2.2.x Commit: 07bff7cea2af5c4aa4d1747d7c12d858feb40648 Parents: c7e04e7 Author: Alexander SorokinAuthored: Fri Sep 16 16:53:58 2016 +0300 Committer: Alexander Sorokin Committed: Fri Sep 16 16:53:58 2016 +0300 -- tests/tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/07bff7ce/tests/tests.js -- diff --git a/tests/tests.js b/tests/tests.js index 24da0eb..14621a7 100644 --- a/tests/tests.js +++ b/tests/tests.js @@ -511,7 +511,7 @@ exports.defineAutoTests = function() { }, HIGH_TIMEOUT); }); -describe('Contact.remove method', function(done) { +describe('Contact.remove method', function() { afterEach(function (done) { removeContact(done, this.contactObj); }); - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[09/11] cordova-plugin-file-transfer git commit: CB-10974 Cordova file transfer Content-Length header problem
CB-10974 Cordova file transfer Content-Length header problem Don't force chunkedMode=true for HTTPS if it was specified as false in the UploadOptions (added a warning about possible OOM for chunkedMode=false+HTTPS case) Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/commit/65548990 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/tree/65548990 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/diff/65548990 Branch: refs/heads/1.6.x Commit: 655489905ab5bd2600d4eaf80e8dd5d27e96b461 Parents: 9b322de Author: dasergeAuthored: Wed Nov 23 14:33:32 2016 +0300 Committer: daserge Committed: Wed Nov 23 14:33:32 2016 +0300 -- src/android/FileTransfer.java | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/65548990/src/android/FileTransfer.java -- diff --git a/src/android/FileTransfer.java b/src/android/FileTransfer.java index f9c2037..de15981 100644 --- a/src/android/FileTransfer.java +++ b/src/android/FileTransfer.java @@ -430,7 +430,7 @@ public class FileTransfer extends CordovaPlugin { // setFixedLengthStreamingMode causes and OutOfMemoryException on pre-Froyo devices. // http://code.google.com/p/android/issues/detail?id=3164 // It also causes OOM if HTTPS is used, even on newer devices. -boolean useChunkedMode = chunkedMode || (Build.VERSION.SDK_INT < Build.VERSION_CODES.FROYO || useHttps); +boolean useChunkedMode = chunkedMode || (Build.VERSION.SDK_INT < Build.VERSION_CODES.FROYO); useChunkedMode = useChunkedMode || (fixedLength == -1); if (useChunkedMode) { @@ -440,6 +440,10 @@ public class FileTransfer extends CordovaPlugin { conn.setRequestProperty("Transfer-Encoding", "chunked"); } else { conn.setFixedLengthStreamingMode(fixedLength); + +if (useHttps) { +LOG.w(LOG_TAG, "setFixedLengthStreamingMode could cause OutOfMemoryException - switch to chunkedMode=true to avoid it if this is an issue."); +} } conn.connect(); @@ -565,7 +569,6 @@ public class FileTransfer extends CordovaPlugin { if (conn != null) { // Revert back to the proper verifier and socket factories -// Revert back to the proper verifier and socket factories if (trustEveryone && useHttps) { HttpsURLConnection https = (HttpsURLConnection) conn; https.setHostnameVerifier(oldHostnameVerifier); - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[07/12] cordova-plugin-dialogs git commit: Close #86
Close #86 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/commit/d34092cd Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/tree/d34092cd Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/diff/d34092cd Branch: refs/heads/1.3.x Commit: d34092cd37c386b02d836c9cac5c14b38415e111 Parents: 68ceff4 Author: Jesse MacFadyenAuthored: Fri Sep 9 16:34:23 2016 -0700 Committer: Jesse MacFadyen Committed: Fri Sep 9 16:34:23 2016 -0700 -- -- - To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org
[09/11] cordova-plugin-contacts git commit: CB-11541 iOS: Add extra labels for phone, ims
CB-11541 iOS: Add extra labels for phone, ims Refactor converting methods. Add posibility to use default labels: 'home fax', 'work fax' Fix bug with contact's removal in tests Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/commit/539ad679 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/tree/539ad679 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/diff/539ad679 Branch: refs/heads/2.2.x Commit: 539ad679caed235f87812767bb5cd7464031bac8 Parents: 76f695e Author: Nikita MatrosovAuthored: Thu Nov 3 15:33:51 2016 +0300 Committer: Nikita Matrosov Committed: Thu Nov 3 15:33:51 2016 +0300 -- src/ios/CDVContact.h | 13 - src/ios/CDVContact.m | 138 +++--- tests/tests.js | 25 - 3 files changed, 90 insertions(+), 86 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/539ad679/src/ios/CDVContact.h -- diff --git a/src/ios/CDVContact.h b/src/ios/CDVContact.h index 47aa764..7aed45d 100644 --- a/src/ios/CDVContact.h +++ b/src/ios/CDVContact.h @@ -53,6 +53,8 @@ typedef NSUInteger CDVContactError; - (bool)setFromContactDict:(NSDictionary*)aContact asUpdate:(BOOL)bUpdate; + (BOOL)needsConversion:(NSString*)W3Label; ++ (NSDictionary *) getContactLabels; ++ (NSArray *) filterLabels: (NSString *) contactApiLabel; + (CFStringRef)convertContactTypeToPropertyLabel:(NSString*)label; + (NSString*)convertPropertyLabelToContactType:(NSString*)label; + (BOOL)isValidW3ContactType:(NSString*)label; @@ -91,15 +93,24 @@ typedef NSUInteger CDVContactError; #define kW3ContactWorkLabel @"work" #define kW3ContactHomeLabel @"home" #define kW3ContactOtherLabel @"other" -#define kW3ContactPhoneFaxLabel @"fax" +#define kW3ContactPhoneWorkFaxLabel @"work fax" +#define kW3ContactPhoneHomeFaxLabel @"home fax" #define kW3ContactPhoneMobileLabel @"mobile" #define kW3ContactPhonePagerLabel @"pager" +#define kW3ContactPhoneIPhoneLabel @"iphone" +#define kW3ContactPhoneMainLabel @"main" #define kW3ContactUrlBlog @"blog" #define kW3ContactUrlProfile @"profile" #define kW3ContactImAIMLabel @"aim" #define kW3ContactImICQLabel @"icq" #define kW3ContactImMSNLabel @"msn" #define kW3ContactImYahooLabel @"yahoo" +#define kW3ContactImSkypeLabel @"skype" +#define kW3ContactImFacebookMessengerLabel @"facebook" +#define kW3ContactImGoogleTalkLabel @"gtalk" +#define kW3ContactImJabberLabel @"jabber" +#define kW3ContactImQQLabel @"qq" +#define kW3ContactImGaduLabel @"gadu" #define kW3ContactFieldId @"id" // special translation for IM field value and type #define kW3ContactImType @"type" http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/539ad679/src/ios/CDVContact.m -- diff --git a/src/ios/CDVContact.m b/src/ios/CDVContact.m index 676ba5e..2d56333 100644 --- a/src/ios/CDVContact.m +++ b/src/ios/CDVContact.m @@ -722,86 +722,80 @@ static NSDictionary* org_apache_cordova_contacts_defaultFields = nil; return bConvert; } +/* Return dictionary where key is contact api label, value is iPhone constant +*/ ++ (NSDictionary*) getContactLabels +{ +return @{ + kW3ContactWorkLabel : (NSString*) kABWorkLabel, + kW3ContactHomeLabel : (NSString*) kABHomeLabel, + kW3ContactOtherLabel: (NSString*) kABOtherLabel, + kW3ContactPhoneMobileLabel: (NSString*) kABPersonPhoneMobileLabel, + kW3ContactPhonePagerLabel: (NSString*) kABPersonPhonePagerLabel, + kW3ContactPhoneWorkFaxLabel: (NSString*) kABPersonPhoneWorkFAXLabel, + kW3ContactPhoneHomeFaxLabel: (NSString*) kABPersonPhoneHomeFAXLabel, + kW3ContactPhoneIPhoneLabel: (NSString*) kABPersonPhoneIPhoneLabel, + kW3ContactPhoneMainLabel: (NSString*) kABPersonPhoneMainLabel, + kW3ContactImAIMLabel: (NSString*) kABPersonInstantMessageServiceAIM, + kW3ContactImICQLabel: (NSString*) kABPersonInstantMessageServiceICQ, + kW3ContactImMSNLabel: (NSString*) kABPersonInstantMessageServiceMSN, + kW3ContactImYahooLabel: (NSString*) kABPersonInstantMessageServiceYahoo, + kW3ContactImSkypeLabel: (NSString*) kABPersonInstantMessageServiceSkype, + kW3ContactImGoogleTalkLabel: (NSString*) kABPersonInstantMessageServiceGoogleTalk, + kW3ContactImFacebookMessengerLabel: (NSString*) kABPersonInstantMessageServiceFacebook, + kW3ContactImJabberLabel: (NSString*) kABPersonInstantMessageServiceJabber, + kW3ContactImQQLabel: