You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by an...@apache.org on 2015/10/30 20:57:35 UTC

[1/4] ios commit: CB-9912 Update RELEASENOTES

Repository: cordova-ios
Updated Branches:
  refs/heads/3.9.x 95f46ba32 -> d712fb082


CB-9912 Update RELEASENOTES


Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/93558e89
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/93558e89
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/93558e89

Branch: refs/heads/3.9.x
Commit: 93558e897e2feb005b551f147616092ea2a37a4b
Parents: 95f46ba
Author: Vladimir Kotikov <v-...@microsoft.com>
Authored: Fri Oct 30 15:17:04 2015 +0300
Committer: Vladimir Kotikov <v-...@microsoft.com>
Committed: Fri Oct 30 15:20:21 2015 +0300

----------------------------------------------------------------------
 RELEASENOTES.md | 11 +++++++++++
 1 file changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/93558e89/RELEASENOTES.md
----------------------------------------------------------------------
diff --git a/RELEASENOTES.md b/RELEASENOTES.md
index 0393787..117a815 100644
--- a/RELEASENOTES.md
+++ b/RELEASENOTES.md
@@ -24,6 +24,17 @@ Update these notes using: git log --pretty=format:'* %s' --topo-order --no-merge
 
 Cordova is a static library that enables developers to include the Cordova API in their iOS application projects easily, and also create new Cordova-based iOS application projects through the command-line.
 
+### 3.9.2 (Oct 30, 2015)
+Adds deprecation warnings for upcoming 4.0.0 release
+CB-9721 Set ENABLE_BITCODE to NO in build.xcconfig
+Enable NSAllowsArbitraryLoads by default
+CB-9679 Resource rules issue with iOS 9
+CB-9656 Xcode can't find CDVViewController.h when archiving in Xcode 7.1 beta
+CB-9610 Fix warning in cordova-ios under Xcode 7
+CB-9690 Can't submit iPad apps to the App Store for iOS 9
+CB-9046 cordova run ios --emulator --target "iPhone-5, 7.1" (target with runtime) does not work
+Blob schemes won't load in iframes
+
 ### 3.9.1 (20150805) ###
 
 * CB-9453 Fixed Updating to iOS@3.9.0 not building 


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


[4/4] ios commit: CB-9912 Set VERSION to 3.9.2 (via coho)

Posted by an...@apache.org.
CB-9912 Set VERSION to 3.9.2 (via coho)


Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/d712fb08
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/d712fb08
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/d712fb08

Branch: refs/heads/3.9.x
Commit: d712fb0827671c83952cd75d9c190f7b083167b0
Parents: 0b26a29
Author: Vladimir Kotikov <v-...@microsoft.com>
Authored: Fri Oct 30 15:05:51 2015 +0300
Committer: Vladimir Kotikov <v-...@microsoft.com>
Committed: Fri Oct 30 15:21:08 2015 +0300

----------------------------------------------------------------------
 CordovaLib/VERSION                    | 2 +-
 bin/templates/scripts/cordova/version | 2 +-
 package.json                          | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/d712fb08/CordovaLib/VERSION
----------------------------------------------------------------------
diff --git a/CordovaLib/VERSION b/CordovaLib/VERSION
index 6bd1074..2009c7d 100644
--- a/CordovaLib/VERSION
+++ b/CordovaLib/VERSION
@@ -1 +1 @@
-3.9.1
+3.9.2

http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/d712fb08/bin/templates/scripts/cordova/version
----------------------------------------------------------------------
diff --git a/bin/templates/scripts/cordova/version b/bin/templates/scripts/cordova/version
index e94e333..542a217 100755
--- a/bin/templates/scripts/cordova/version
+++ b/bin/templates/scripts/cordova/version
@@ -25,6 +25,6 @@
     Note: it does not work if the --shared option was used to create the project.
 */
 
-var VERSION="3.9.1"
+var VERSION="3.9.2"
 
 console.log(VERSION);

http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/d712fb08/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index e8bd9ab..8b60d76 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
     "name": "cordova-ios",
-    "version": "3.9.1",
+    "version": "3.9.2",
     "description": "cordova-ios release",
     "main": "bin/create",
     "repository": {
@@ -27,4 +27,4 @@
         "coffee-script": "^1.7.1",
         "nodeunit": "^0.8.7"
     }
-}
+}
\ 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


[2/4] ios commit: CB-9912 Add version to CDVAvailability.h

Posted by an...@apache.org.
CB-9912 Add version to CDVAvailability.h


Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/997edd54
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/997edd54
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/997edd54

Branch: refs/heads/3.9.x
Commit: 997edd54284f52fadbfd222f5bd4f74eb6e106ef
Parents: 93558e8
Author: Vladimir Kotikov <v-...@microsoft.com>
Authored: Fri Oct 30 15:09:12 2015 +0300
Committer: Vladimir Kotikov <v-...@microsoft.com>
Committed: Fri Oct 30 15:20:41 2015 +0300

----------------------------------------------------------------------
 CordovaLib/Classes/CDVAvailability.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/997edd54/CordovaLib/Classes/CDVAvailability.h
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVAvailability.h b/CordovaLib/Classes/CDVAvailability.h
index 544e126..059152e 100644
--- a/CordovaLib/Classes/CDVAvailability.h
+++ b/CordovaLib/Classes/CDVAvailability.h
@@ -57,6 +57,7 @@
 #define __CORDOVA_3_8_0 30800
 #define __CORDOVA_3_9_0 30900
 #define __CORDOVA_3_9_1 30901
+#define __CORDOVA_3_9_2 30902
 #define __CORDOVA_NA 99999      /* not available */
 
 /*
@@ -67,7 +68,7 @@
  #endif
  */
 #ifndef CORDOVA_VERSION_MIN_REQUIRED
-    #define CORDOVA_VERSION_MIN_REQUIRED __CORDOVA_3_9_1
+    #define CORDOVA_VERSION_MIN_REQUIRED __CORDOVA_3_9_2
 #endif
 
 /*


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


[3/4] ios commit: CB-9912 Update JS snapshot to version 3.9.2 (via coho)

Posted by an...@apache.org.
CB-9912 Update JS snapshot to version 3.9.2 (via coho)


Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/0b26a295
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/0b26a295
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/0b26a295

Branch: refs/heads/3.9.x
Commit: 0b26a295532f5738ed203dede1e594b080d5cb47
Parents: 997edd5
Author: Vladimir Kotikov <v-...@microsoft.com>
Authored: Fri Oct 30 15:05:50 2015 +0300
Committer: Vladimir Kotikov <v-...@microsoft.com>
Committed: Fri Oct 30 15:20:54 2015 +0300

----------------------------------------------------------------------
 CordovaLib/cordova.js | 174 ++++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 164 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/0b26a295/CordovaLib/cordova.js
----------------------------------------------------------------------
diff --git a/CordovaLib/cordova.js b/CordovaLib/cordova.js
index 1a0adbf..46ab90b 100644
--- a/CordovaLib/cordova.js
+++ b/CordovaLib/cordova.js
@@ -1,5 +1,5 @@
 // Platform: ios
-// 2c29e187e4206a6a77fba940ef6f77aef5c7eb8c
+// 49a8db57fa070d20ea7b304a53ffec3d7250c5af
 /*
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
@@ -19,7 +19,7 @@
  under the License.
 */
 ;(function() {
-var PLATFORM_VERSION_BUILD_LABEL = '3.9.1';
+var PLATFORM_VERSION_BUILD_LABEL = '3.9.2';
 // file: src/scripts/require.js
 
 /*jshint -W079 */
@@ -101,7 +101,9 @@ if (typeof module === "object" && typeof require === "function") {
 // file: src/cordova.js
 define("cordova", function(require, exports, module) {
 
-if(window.cordova){
+// Workaround for Windows 10 in hosted environment case
+// http://www.w3.org/html/wg/drafts/html/master/browsers.html#named-access-on-the-window-object
+if (window.cordova && !(window.cordova instanceof HTMLElement)) {
     throw new Error("cordova already defined");
 }
 
@@ -815,7 +817,7 @@ module.exports = channel;
 
 });
 
-// file: /Users/steveng/repo/cordova/cordova-ios/cordova-js-src/exec.js
+// file: e:/cordova/cordova-ios/cordova-js-src/exec.js
 define("cordova/exec", function(require, exports, module) {
 
 /**
@@ -1286,10 +1288,12 @@ define("cordova/init_b", function(require, exports, module) {
 
 var channel = require('cordova/channel');
 var cordova = require('cordova');
+var modulemapper = require('cordova/modulemapper');
 var platform = require('cordova/platform');
+var pluginloader = require('cordova/pluginloader');
 var utils = require('cordova/utils');
 
-var platformInitChannelsArray = [channel.onDOMContentLoaded, channel.onNativeReady];
+var platformInitChannelsArray = [channel.onDOMContentLoaded, channel.onNativeReady, channel.onPluginsReady];
 
 // setting exec
 cordova.exec = require('cordova/exec');
@@ -1374,10 +1378,19 @@ if (window._nativeReady) {
 // Call the platform-specific initialization.
 platform.bootstrap && platform.bootstrap();
 
+// Wrap in a setTimeout to support the use-case of having plugin JS appended to cordova.js.
+// The delay allows the attached modules to be defined before the plugin loader looks for them.
+setTimeout(function() {
+    pluginloader.load(function() {
+        channel.onPluginsReady.fire();
+    });
+}, 0);
+
 /**
  * Create all cordova objects once native side is ready.
  */
 channel.join(function() {
+    modulemapper.mapModules(window);
 
     platform.initialize && platform.initialize();
 
@@ -1496,7 +1509,104 @@ exports.reset();
 
 });
 
-// file: /Users/steveng/repo/cordova/cordova-ios/cordova-js-src/platform.js
+// file: src/common/modulemapper_b.js
+define("cordova/modulemapper_b", function(require, exports, module) {
+
+var builder = require('cordova/builder'),
+    symbolList = [],
+    deprecationMap;
+
+exports.reset = function() {
+    symbolList = [];
+    deprecationMap = {};
+};
+
+function addEntry(strategy, moduleName, symbolPath, opt_deprecationMessage) {
+    symbolList.push(strategy, moduleName, symbolPath);
+    if (opt_deprecationMessage) {
+        deprecationMap[symbolPath] = opt_deprecationMessage;
+    }
+}
+
+// Note: Android 2.3 does have Function.bind().
+exports.clobbers = function(moduleName, symbolPath, opt_deprecationMessage) {
+    addEntry('c', moduleName, symbolPath, opt_deprecationMessage);
+};
+
+exports.merges = function(moduleName, symbolPath, opt_deprecationMessage) {
+    addEntry('m', moduleName, symbolPath, opt_deprecationMessage);
+};
+
+exports.defaults = function(moduleName, symbolPath, opt_deprecationMessage) {
+    addEntry('d', moduleName, symbolPath, opt_deprecationMessage);
+};
+
+exports.runs = function(moduleName) {
+    addEntry('r', moduleName, null);
+};
+
+function prepareNamespace(symbolPath, context) {
+    if (!symbolPath) {
+        return context;
+    }
+    var parts = symbolPath.split('.');
+    var cur = context;
+    for (var i = 0, part; part = parts[i]; ++i) {
+        cur = cur[part] = cur[part] || {};
+    }
+    return cur;
+}
+
+exports.mapModules = function(context) {
+    var origSymbols = {};
+    context.CDV_origSymbols = origSymbols;
+    for (var i = 0, len = symbolList.length; i < len; i += 3) {
+        var strategy = symbolList[i];
+        var moduleName = symbolList[i + 1];
+        var module = require(moduleName);
+        // <runs/>
+        if (strategy == 'r') {
+            continue;
+        }
+        var symbolPath = symbolList[i + 2];
+        var lastDot = symbolPath.lastIndexOf('.');
+        var namespace = symbolPath.substr(0, lastDot);
+        var lastName = symbolPath.substr(lastDot + 1);
+
+        var deprecationMsg = symbolPath in deprecationMap ? 'Access made to deprecated symbol: ' + symbolPath + '. ' + deprecationMsg : null;
+        var parentObj = prepareNamespace(namespace, context);
+        var target = parentObj[lastName];
+
+        if (strategy == 'm' && target) {
+            builder.recursiveMerge(target, module);
+        } else if ((strategy == 'd' && !target) || (strategy != 'd')) {
+            if (!(symbolPath in origSymbols)) {
+                origSymbols[symbolPath] = target;
+            }
+            builder.assignOrWrapInDeprecateGetter(parentObj, lastName, module, deprecationMsg);
+        }
+    }
+};
+
+exports.getOriginalSymbol = function(context, symbolPath) {
+    var origSymbols = context.CDV_origSymbols;
+    if (origSymbols && (symbolPath in origSymbols)) {
+        return origSymbols[symbolPath];
+    }
+    var parts = symbolPath.split('.');
+    var obj = context;
+    for (var i = 0; i < parts.length; ++i) {
+        obj = obj && obj[parts[i]];
+    }
+    return obj;
+};
+
+exports.reset();
+
+
+});
+
+// file: e:/cordova/cordova-ios/cordova-js-src/platform.js
 define("cordova/platform", function(require, exports, module) {
 
 module.exports = {
@@ -1512,10 +1622,6 @@ module.exports = {
 // file: src/common/pluginloader.js
 define("cordova/pluginloader", function(require, exports, module) {
 
-/*
-    NOTE: this file is NOT used when we use the browserify workflow
-*/
-
 var modulemapper = require('cordova/modulemapper');
 var urlutil = require('cordova/urlutil');
 
@@ -1625,6 +1731,54 @@ exports.load = function(callback) {
 
 });
 
+// file: src/common/pluginloader_b.js
+define("cordova/pluginloader_b", function(require, exports, module) {
+
+var modulemapper = require('cordova/modulemapper');
+
+// Handler for the cordova_plugins.js content.
+// See plugman's plugin_loader.js for the details of this object.
+function handlePluginsObject(moduleList) {
+    // if moduleList is not defined or empty, we've nothing to do
+    if (!moduleList || !moduleList.length) {
+        return;
+    }
+
+    // Loop through all the modules and then through their clobbers and merges.
+    for (var i = 0, module; module = moduleList[i]; i++) {
+        if (module.clobbers && module.clobbers.length) {
+            for (var j = 0; j < module.clobbers.length; j++) {
+                modulemapper.clobbers(module.id, module.clobbers[j]);
+            }
+        }
+
+        if (module.merges && module.merges.length) {
+            for (var k = 0; k < module.merges.length; k++) {
+                modulemapper.merges(module.id, module.merges[k]);
+            }
+        }
+
+        // Finally, if runs is truthy we want to simply require() the module.
+        if (module.runs) {
+            modulemapper.runs(module.id);
+        }
+    }
+}
+
+// Loads all plugins' js-modules. Plugin loading is syncronous in browserified bundle
+// but the method accepts callback to be compatible with non-browserify flow.
+// onDeviceReady is blocked on onPluginsReady. onPluginsReady is fired when there are
+// no plugins to load, or they are all done.
+exports.load = function(callback) {
+    var moduleList = require("cordova/plugin_list");
+    handlePluginsObject(moduleList);
+
+    callback();
+};
+
+
+});
+
 // file: src/common/urlutil.js
 define("cordova/urlutil", function(require, exports, module) {
 


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