Compare commits

...

7 Commits

Author SHA1 Message Date
Joe Bowser
221b10b1e6 Set VERSION to 3.2.0 (via coho) 2013-11-18 13:18:48 -08:00
Joe Bowser
dd4e2a6a62 Update JS snapshot to version 3.2.0 (via coho) 2013-11-18 13:18:48 -08:00
Steven Gill
1febd02592 Merge branch '3.2.x' of https://git-wip-us.apache.org/repos/asf/cordova-android into 3.2.x 2013-11-11 16:38:05 -08:00
Steven Gill
499efecd7f CB-5349: fixed regression in update script 2013-11-11 16:36:24 -08:00
Marcel Kinard
fce9be7b0b CB-5301 add missing license headers
(cherry picked from commit 04f812c136)
2013-11-06 16:29:24 -05:00
Joe Bowser
fb3fb416b1 Set VERSION to 3.2.0-rc1 (via coho) 2013-11-04 09:50:38 -08:00
Joe Bowser
31195a1817 Update JS snapshot to version 3.2.0-rc1 (via coho) 2013-11-04 09:50:37 -08:00
7 changed files with 71 additions and 6 deletions

View File

@ -1 +1 @@
3.2.0-dev
3.2.0

View File

@ -181,10 +181,10 @@ exports.createProject = function(project_path, package_name, project_name, proje
// Returns a promise.
exports.updateProject = function(projectPath) {
var version = fs.readFileSync(path.join(ROOT, 'VERSION'), 'utf-8').trim();
// Check that requirements are met and proper targets are installed
return check_reqs.run()
.then(function() {
var version = fs.readFileSync(path.join(ROOT, 'VERSION'), 'utf-8').trim();
var target_api = check_reqs.get_target();
return ensureJarIsBuilt(version, target_api);
}).then(function() {

View File

@ -20,6 +20,6 @@
*/
// Coho updates this line:
var VERSION = "3.2.0-dev";
var VERSION = "3.2.0";
console.log(VERSION);

View File

@ -1,5 +1,5 @@
// Platform: android
// 3.2.0-dev-5ad41a7
// 3.2.0
/*
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 CORDOVA_JS_BUILD_LABEL = '3.2.0-dev-5ad41a7';
var CORDOVA_JS_BUILD_LABEL = '3.2.0';
// file: lib/scripts/require.js
/*jshint -W079 */
@ -1074,6 +1074,36 @@ module.exports = androidExec;
});
// file: lib/common/exec/proxy.js
define("cordova/exec/proxy", function(require, exports, module) {
// internal map of proxy function
var CommandProxyMap = {};
module.exports = {
// example: cordova.commandProxy.add("Accelerometer",{getCurrentAcceleration: function(successCallback, errorCallback, options) {...},...);
add:function(id,proxyObj) {
console.log("adding proxy for " + id);
CommandProxyMap[id] = proxyObj;
return proxyObj;
},
// cordova.commandProxy.remove("Accelerometer");
remove:function(id) {
var proxy = CommandProxyMap[id];
delete CommandProxyMap[id];
CommandProxyMap[id] = null;
return proxy;
},
get:function(service,action) {
return ( CommandProxyMap[service] ? CommandProxyMap[service][action] : null );
}
};
});
// file: lib/common/init.js
define("cordova/init", function(require, exports, module) {

View File

@ -61,7 +61,7 @@ public class CordovaWebView extends WebView {
public static final String TAG = "CordovaWebView";
public static final String CORDOVA_VERSION = "3.2.0-dev";
public static final String CORDOVA_VERSION = "3.2.0";
private ArrayList<Integer> keyDownCodes = new ArrayList<Integer>();
private ArrayList<Integer> keyUpCodes = new ArrayList<Integer>();

View File

@ -1,3 +1,20 @@
# 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.
-optimizationpasses 5
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses

View File

@ -1,4 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
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.
-->
<resources>
<string name="app_name">CordovaTests</string>
</resources>