You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by er...@apache.org on 2019/09/11 08:17:58 UTC

[cordova-android] branch master updated (902aa32 -> c35a990)

This is an automated email from the ASF dual-hosted git repository.

erisu pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-android.git.


    from 902aa32  chore: bump dependencies for release 8.1.0 (#827)
     add 7e8b47d  minor-8.1.0 Updated version and RELEASENOTES.md for release 8.1.0
     new 11f40bd  Set VERSION to 8.2.0-dev (via coho)
     new c35a990  Update JS snapshot to version 8.2.0-dev (via coho)

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 RELEASENOTES.md                                    | 28 ++++++++++
 VERSION                                            |  2 +-
 bin/templates/cordova/version                      |  2 +-
 bin/templates/project/assets/www/cordova.js        | 59 ++++++++++++++++------
 framework/build.gradle                             |  6 +--
 .../src/org/apache/cordova/CordovaWebView.java     |  2 +-
 package.json                                       |  2 +-
 7 files changed, 78 insertions(+), 23 deletions(-)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[cordova-android] 01/02: Set VERSION to 8.2.0-dev (via coho)

Posted by er...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

erisu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-android.git

commit 11f40bd2cc1fbaa4db646499be29eaba3c2be462
Author: Erisu <el...@gmail.com>
AuthorDate: Wed Sep 11 13:58:04 2019 +0900

    Set VERSION to 8.2.0-dev (via coho)
---
 VERSION                                              | 2 +-
 bin/templates/cordova/version                        | 2 +-
 framework/build.gradle                               | 6 +++---
 framework/src/org/apache/cordova/CordovaWebView.java | 2 +-
 package.json                                         | 2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/VERSION b/VERSION
index 761c136..4da2d2e 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-8.1.0-dev
+8.2.0-dev
diff --git a/bin/templates/cordova/version b/bin/templates/cordova/version
index d0d99a9..45e2589 100755
--- a/bin/templates/cordova/version
+++ b/bin/templates/cordova/version
@@ -20,7 +20,7 @@
 */
 
 // Coho updates this line:
-var VERSION = "8.1.0-dev";
+var VERSION = "8.2.0-dev";
 
 module.exports.version = VERSION;
 
diff --git a/framework/build.gradle b/framework/build.gradle
index 87069d1..44f30f6 100644
--- a/framework/build.gradle
+++ b/framework/build.gradle
@@ -49,7 +49,7 @@ apply plugin: 'com.github.dcendents.android-maven'
 apply plugin: 'com.jfrog.bintray'
 
 group = 'org.apache.cordova'
-version = '8.1.0-dev'
+version = '8.2.0-dev'
 
 android {
     compileSdkVersion cdvCompileSdkVersion
@@ -140,9 +140,9 @@ bintray {
         licenses = ['Apache-2.0']
         labels = ['android', 'cordova', 'phonegap']
         version {
-            name = '8.1.0-dev'
+            name = '8.2.0-dev'
             released  = new Date()
-            vcsTag = '8.1.0-dev'
+            vcsTag = '8.2.0-dev'
         }
     }
 }
diff --git a/framework/src/org/apache/cordova/CordovaWebView.java b/framework/src/org/apache/cordova/CordovaWebView.java
index 89cd10e..2160ccd 100644
--- a/framework/src/org/apache/cordova/CordovaWebView.java
+++ b/framework/src/org/apache/cordova/CordovaWebView.java
@@ -31,7 +31,7 @@ import android.webkit.WebChromeClient.CustomViewCallback;
  * are not expected to implement it.
  */
 public interface CordovaWebView {
-    public static final String CORDOVA_VERSION = "8.1.0-dev";
+    public static final String CORDOVA_VERSION = "8.2.0-dev";
 
     void init(CordovaInterface cordova, List<PluginEntry> pluginEntries, CordovaPreferences preferences);
 
diff --git a/package.json b/package.json
index 3bd27a7..f505844 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "cordova-android",
-  "version": "8.1.0",
+  "version": "8.2.0-dev",
   "description": "cordova-android release",
   "bin": {
     "create": "bin/create"


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[cordova-android] 02/02: Update JS snapshot to version 8.2.0-dev (via coho)

Posted by er...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

erisu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-android.git

commit c35a990c09f1ab278873754eb7f81e52250893a3
Author: Erisu <el...@gmail.com>
AuthorDate: Wed Sep 11 13:58:08 2019 +0900

    Update JS snapshot to version 8.2.0-dev (via coho)
---
 bin/templates/project/assets/www/cordova.js | 59 +++++++++++++++++++++--------
 1 file changed, 43 insertions(+), 16 deletions(-)

diff --git a/bin/templates/project/assets/www/cordova.js b/bin/templates/project/assets/www/cordova.js
index 261ba02..6395c90 100644
--- a/bin/templates/project/assets/www/cordova.js
+++ b/bin/templates/project/assets/www/cordova.js
@@ -1,5 +1,5 @@
 // Platform: android
-// 882658ab17740dbdece764e68c1f1f1f44fe3f9d
+// 74fdba8b327b2a13b4366dd141b52def96d4cb56
 /*
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
@@ -8,9 +8,9 @@
  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
@@ -19,9 +19,8 @@
  under the License.
 */
 ;(function() {
-var PLATFORM_VERSION_BUILD_LABEL = '8.1.0-dev';
+var PLATFORM_VERSION_BUILD_LABEL = '8.2.0-dev';
 // file: src/scripts/require.js
-
 var require;
 var define;
 
@@ -70,7 +69,7 @@ var define;
     };
 
     define = function (id, factory) {
-        if (modules[id]) {
+        if (Object.prototype.hasOwnProperty.call(modules, id)) {
             throw 'module ' + id + ' already defined';
         }
 
@@ -205,8 +204,8 @@ var cordova = {
      * @return object
      */
     getOriginalHandlers: function () {
-        return {'document': {'addEventListener': m_document_addEventListener, 'removeEventListener': m_document_removeEventListener},
-            'window': {'addEventListener': m_window_addEventListener, 'removeEventListener': m_window_removeEventListener}};
+        return { 'document': { 'addEventListener': m_document_addEventListener, 'removeEventListener': m_document_removeEventListener },
+            'window': { 'addEventListener': m_window_addEventListener, 'removeEventListener': m_window_removeEventListener } };
     },
     /**
      * Method to fire event from native code
@@ -324,7 +323,7 @@ module.exports = cordova;
 
 });
 
-// file: /Users/erisu/git/apache/cordova/cordova-android/cordova-js-src/android/nativeapiprovider.js
+// file: ../cordova-android/cordova-js-src/android/nativeapiprovider.js
 define("cordova/android/nativeapiprovider", function(require, exports, module) {
 
 /**
@@ -347,7 +346,7 @@ module.exports = {
 
 });
 
-// file: /Users/erisu/git/apache/cordova/cordova-android/cordova-js-src/android/promptbasednativeapi.js
+// file: ../cordova-android/cordova-js-src/android/promptbasednativeapi.js
 define("cordova/android/promptbasednativeapi", function(require, exports, module) {
 
 /**
@@ -386,9 +385,38 @@ var typeMap = {
 };
 
 function extractParamName (callee, argIndex) {
-    return (/.*?\((.*?)\)/).exec(callee)[1].split(', ')[argIndex];
+    return (/\(\s*([^)]*?)\s*\)/).exec(callee)[1].split(/\s*,\s*/)[argIndex];
 }
 
+/**
+ * Checks the given arguments' types and throws if they are not as expected.
+ *
+ * `spec` is a string where each character stands for the required type of the
+ * argument at the same position. In other words: the character at `spec[i]`
+ * specifies the required type for `args[i]`. The characters in `spec` are the
+ * first letter of the required type's name. The supported types are:
+ *
+ *     Array, Date, Number, String, Function, Object
+ *
+ * Lowercase characters specify arguments that must not be `null` or `undefined`
+ * while uppercase characters allow those values to be passed.
+ *
+ * Finally, `*` can be used to allow any type at the corresponding position.
+ *
+ * @example
+ * function foo (arr, opts) {
+ *     // require `arr` to be an Array and `opts` an Object, null or undefined
+ *     checkArgs('aO', 'my.package.foo', arguments);
+ *     // ...
+ * }
+ * @param {String} spec - the type specification for `args` as described above
+ * @param {String} functionName - full name of the callee.
+ * Used in the error message
+ * @param {Array|arguments} args - the arguments to be checked against `spec`
+ * @param {Function} [opt_callee=args.callee] - the recipient of `args`.
+ * Used to extract parameter names for the error message
+ * @throws {TypeError} if args do not satisfy spec
+ */
 function checkArgs (spec, functionName, args, opt_callee) {
     if (!moduleExports.enableChecks) {
         return;
@@ -879,7 +907,7 @@ module.exports = channel;
 
 });
 
-// file: /Users/erisu/git/apache/cordova/cordova-android/cordova-js-src/exec.js
+// file: ../cordova-android/cordova-js-src/exec.js
 define("cordova/exec", function(require, exports, module) {
 
 /**
@@ -1406,7 +1434,7 @@ exports.reset();
 
 });
 
-// file: /Users/erisu/git/apache/cordova/cordova-android/cordova-js-src/platform.js
+// file: ../cordova-android/cordova-js-src/platform.js
 define("cordova/platform", function(require, exports, module) {
 
 // The last resume event that was received that had the result of a plugin call.
@@ -1516,7 +1544,7 @@ function onMessageFromNative(msg) {
 
 });
 
-// file: /Users/erisu/git/apache/cordova/cordova-android/cordova-js-src/plugin/android/app.js
+// file: ../cordova-android/cordova-js-src/plugin/android/app.js
 define("cordova/plugin/android/app", function(require, exports, module) {
 
 var exec = require('cordova/exec');
@@ -1902,7 +1930,6 @@ utils.alert = function (msg) {
 
 window.cordova = require('cordova');
 // file: src/scripts/bootstrap.js
-
 require('cordova/init');
 
-})();
\ No newline at end of file
+})();


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org