You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2013/03/28 00:40:51 UTC
[1/7] wp7 commit: error in string.format of exception hander
Updated Branches:
refs/heads/master aaa4a2e4c -> 77431c12d
error in string.format of exception hander
Project: http://git-wip-us.apache.org/repos/asf/cordova-wp7/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-wp7/commit/eb438513
Tree: http://git-wip-us.apache.org/repos/asf/cordova-wp7/tree/eb438513
Diff: http://git-wip-us.apache.org/repos/asf/cordova-wp7/diff/eb438513
Branch: refs/heads/master
Commit: eb4385131f320c820e619d1c26320cecce25e1f2
Parents: aaa4a2e
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Wed Mar 27 08:56:19 2013 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Wed Mar 27 08:56:19 2013 -0700
----------------------------------------------------------------------
templates/standalone/cordovalib/NativeExecution.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-wp7/blob/eb438513/templates/standalone/cordovalib/NativeExecution.cs
----------------------------------------------------------------------
diff --git a/templates/standalone/cordovalib/NativeExecution.cs b/templates/standalone/cordovalib/NativeExecution.cs
index 25efd01..c0d768e 100644
--- a/templates/standalone/cordovalib/NativeExecution.cs
+++ b/templates/standalone/cordovalib/NativeExecution.cs
@@ -145,7 +145,7 @@ namespace WPCordovaClassLib.Cordova
catch (Exception ex)
{
// ERROR
- Debug.WriteLine(String.Format("ERROR: Unable to execute command :: {0}:{1}:{3} ",
+ Debug.WriteLine(String.Format("ERROR: Unable to execute command :: {0}:{1}:{2} ",
commandCallParams.Service, commandCallParams.Action, ex.Message));
this.OnCommandResult(commandCallParams.CallbackId, new PluginResult(PluginResult.Status.ERROR));
[3/7] wp7 commit: [CB-2830] Delete old cordova js on reversion
Posted by pu...@apache.org.
[CB-2830] Delete old cordova js on reversion
Project: http://git-wip-us.apache.org/repos/asf/cordova-wp7/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-wp7/commit/200958b8
Tree: http://git-wip-us.apache.org/repos/asf/cordova-wp7/tree/200958b8
Diff: http://git-wip-us.apache.org/repos/asf/cordova-wp7/diff/200958b8
Branch: refs/heads/master
Commit: 200958b81536719a7e6e51ff5dd484b551cbe298
Parents: 0819634
Author: Benn Mapes <be...@gmail.com>
Authored: Wed Mar 27 13:15:55 2013 -0700
Committer: Benn Mapes <be...@gmail.com>
Committed: Wed Mar 27 13:36:53 2013 -0700
----------------------------------------------------------------------
tooling/scripts/reversion.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-wp7/blob/200958b8/tooling/scripts/reversion.js
----------------------------------------------------------------------
diff --git a/tooling/scripts/reversion.js b/tooling/scripts/reversion.js
index cbed71b..7e80239 100644
--- a/tooling/scripts/reversion.js
+++ b/tooling/scripts/reversion.js
@@ -245,12 +245,12 @@ function cleanup()
fso.DeleteFile(BUILD_DESTINATION + FULL_PATH + '\\www\\' + full_www.Item(i).Name);
}
}
- var standalone_www = shell.NameSpace(BUILD_DESTINATION + FULL_PATH + '\\www').Items();
+ var standalone_www = shell.NameSpace(BUILD_DESTINATION + STANDALONE_PATH + '\\www').Items();
for(var i = 0; i < standalone_www.Count; i++)
{
if(standalone_www.Item(i).Name.match(/cordova[-](\d+)[.](\d+)[.](\d+)(rc\d)?[.]js/))
{
- fso.DeleteFile(BUILD_DESTINATION + FULL_PATH + '\\www\\' + standalone_www.Item(i).Name);
+ fso.DeleteFile(BUILD_DESTINATION + STANDALONE_PATH + '\\www\\' + standalone_www.Item(i).Name);
}
}
}
[4/7] wp7 commit: [CB-2833] Changed git repo urls in scripts
Posted by pu...@apache.org.
[CB-2833] Changed git repo urls in scripts
Project: http://git-wip-us.apache.org/repos/asf/cordova-wp7/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-wp7/commit/2f055ae2
Tree: http://git-wip-us.apache.org/repos/asf/cordova-wp7/tree/2f055ae2
Diff: http://git-wip-us.apache.org/repos/asf/cordova-wp7/diff/2f055ae2
Branch: refs/heads/master
Commit: 2f055ae2bf52847cdf43d1dd2c111d2a987033f9
Parents: b1f4e54
Author: Benn Mapes <be...@gmail.com>
Authored: Wed Mar 27 14:41:18 2013 -0700
Committer: Benn Mapes <be...@gmail.com>
Committed: Wed Mar 27 14:41:18 2013 -0700
----------------------------------------------------------------------
tooling/scripts/buildjs.js | 2 +-
tooling/scripts/new.js | 16 +++++++---------
2 files changed, 8 insertions(+), 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-wp7/blob/2f055ae2/tooling/scripts/buildjs.js
----------------------------------------------------------------------
diff --git a/tooling/scripts/buildjs.js b/tooling/scripts/buildjs.js
index 8d50e2c..dd53a2f 100644
--- a/tooling/scripts/buildjs.js
+++ b/tooling/scripts/buildjs.js
@@ -35,7 +35,7 @@ var args = WScript.Arguments,
//Subfolder containing example project
EXAMPLE_PATH = '\\example',
//Git Repositories
- CORDOVA_JS = "git://github.com/apache/cordova-js.git",
+ CORDOVA_JS = 'https://git-wip-us.apache.org/repos/asf/cordova-js.git',
// get version
VERSION = read(ROOT+'\\VERSION').replace(/\r\n/,'').replace(/\n/,'');
http://git-wip-us.apache.org/repos/asf/cordova-wp7/blob/2f055ae2/tooling/scripts/new.js
----------------------------------------------------------------------
diff --git a/tooling/scripts/new.js b/tooling/scripts/new.js
index d04f977..be10a55 100644
--- a/tooling/scripts/new.js
+++ b/tooling/scripts/new.js
@@ -33,14 +33,14 @@ var args = WScript.Arguments,
//Sub folder containing framework
FRAMEWORK_PATH = '\\framework',
//Subfolder containing example project
- EXAMPLE_PATH = '\\example';
+ EXAMPLE_PATH = '\\example',
+ CORDOVA_WP7 = 'https://git-wip-us.apache.org/repos/asf/cordova-wp7.git';
+
//Destination to build to
var BUILD_DESTINATION;
// pull the project down from github?
var GET_NEW = false;
-//Add templates to visual studio?
-var ADD_TO_VS = false;
// help function
function Usage()
@@ -65,7 +65,7 @@ function read(filename) {
}
else
{
- WScript.StdOut.WriteLine('Cannot read non-existant file : ' + filename);
+ WScript.StdErr.WriteLine('Cannot read non-existant file : ' + filename);
WScript.Quit(1);
}
return null;
@@ -110,7 +110,7 @@ if(args.Count() > 0)
{
if(fso.FolderExists(args(0)))
{
- WScript.StdOut.WriteLine("The given directory already exists!");
+ WScript.StdErr.WriteLine("The given directory already exists!");
Usage();
WScript.Quit(1);
}
@@ -124,7 +124,7 @@ if(args.Count() > 0)
if(fso.FolderExists(BUILD_DESTINATION))
{
- WScript.StdOut.WriteLine("The given directory already exists!");
+ WScript.StdErr.WriteLine("The given directory already exists!");
Usage();
WScript.Quit(1);
}
@@ -140,15 +140,13 @@ if(args.Count() > 0)
}
else
{
- var CORDOVA_WP7 = 'git://github.com/apache/cordova-wp7.git';
-
wscript_shell.CurrentDirectory = arg(0) + '\\..';
BUILD_DESTINATION = wscript_shell.CurrentDirectory + '\\cordova-wp7';
WScript.StdOut.WriteLine('Cloning cordova-wp7 from git, build destination now ' + BUILD_DESTINATION);
if(fso.FolderExists(BUILD_DESTINATION))
{
- WScript.StdOut.WriteLine("Could not clone cordova-wp7 from git because it's directory already exists!");
+ WScript.StdErr.WriteLine("Could not clone cordova-wp7 from git because it's directory already exists!");
WScript.Quit(1);
}
[5/7] wp7 commit: Merge pull request #9 from bennmapes/CB-2833
Posted by pu...@apache.org.
Merge pull request #9 from bennmapes/CB-2833
[CB-2833] Changed git repo urls in scripts
Project: http://git-wip-us.apache.org/repos/asf/cordova-wp7/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-wp7/commit/6b735cff
Tree: http://git-wip-us.apache.org/repos/asf/cordova-wp7/tree/6b735cff
Diff: http://git-wip-us.apache.org/repos/asf/cordova-wp7/diff/6b735cff
Branch: refs/heads/master
Commit: 6b735cffbabcdba20ecf4af74cc9dd1e7e5e640f
Parents: aaa4a2e 2f055ae
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Wed Mar 27 16:27:37 2013 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Wed Mar 27 16:27:37 2013 -0700
----------------------------------------------------------------------
tooling/scripts/buildjs.js | 2 +-
tooling/scripts/new.js | 16 +++++++---------
2 files changed, 8 insertions(+), 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-wp7/blob/6b735cff/tooling/scripts/buildjs.js
----------------------------------------------------------------------
diff --cc tooling/scripts/buildjs.js
index d425e15,dd53a2f..78a68f1
--- a/tooling/scripts/buildjs.js
+++ b/tooling/scripts/buildjs.js
@@@ -35,10 -35,9 +35,10 @@@ var args = WScript.Arguments
//Subfolder containing example project
EXAMPLE_PATH = '\\example',
//Git Repositories
- CORDOVA_JS = "git://github.com/apache/cordova-js.git",
+ CORDOVA_JS = 'https://git-wip-us.apache.org/repos/asf/cordova-js.git',
// get version
- VERSION = read(ROOT+'\\VERSION').replace(/\r\n/,'').replace(/\n/,'');
+ VERSION = read(ROOT+'\\VERSION').replace(/\r\n/,'').replace(/\n/,''),
+ BUILD_DESTINATION;
// help function
http://git-wip-us.apache.org/repos/asf/cordova-wp7/blob/6b735cff/tooling/scripts/new.js
----------------------------------------------------------------------
[2/7] wp7 commit: check args.Length before using it
Posted by pu...@apache.org.
check args.Length before using it
Project: http://git-wip-us.apache.org/repos/asf/cordova-wp7/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-wp7/commit/80937680
Tree: http://git-wip-us.apache.org/repos/asf/cordova-wp7/tree/80937680
Diff: http://git-wip-us.apache.org/repos/asf/cordova-wp7/diff/80937680
Branch: refs/heads/master
Commit: 80937680d3030f0e965f12d72c88daa4c1883fc4
Parents: eb43851
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Wed Mar 27 08:57:01 2013 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Wed Mar 27 08:57:01 2013 -0700
----------------------------------------------------------------------
tooling/CordovaDeploy/CordovaDeploy/Program.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-wp7/blob/80937680/tooling/CordovaDeploy/CordovaDeploy/Program.cs
----------------------------------------------------------------------
diff --git a/tooling/CordovaDeploy/CordovaDeploy/Program.cs b/tooling/CordovaDeploy/CordovaDeploy/Program.cs
index a862227..f8e1bdd 100644
--- a/tooling/CordovaDeploy/CordovaDeploy/Program.cs
+++ b/tooling/CordovaDeploy/CordovaDeploy/Program.cs
@@ -126,7 +126,7 @@ namespace CordovaDeploy
ListDevices();
return;
}
- else if (args[1].StartsWith("-d:"))
+ else if (args.Length > 1 && args[1].StartsWith("-d:"))
{
deviceIndex = int.Parse(args[1].Substring(3));
}
[7/7] wp7 commit: Merge branch 'master' of
github.com:purplecabbage/cordova-wp7
Posted by pu...@apache.org.
Merge branch 'master' of github.com:purplecabbage/cordova-wp7
Project: http://git-wip-us.apache.org/repos/asf/cordova-wp7/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-wp7/commit/77431c12
Tree: http://git-wip-us.apache.org/repos/asf/cordova-wp7/tree/77431c12
Diff: http://git-wip-us.apache.org/repos/asf/cordova-wp7/diff/77431c12
Branch: refs/heads/master
Commit: 77431c12d105f96a2e9dd2fd440c95e369101d59
Parents: 8093768 8df8c7c
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Wed Mar 27 16:36:03 2013 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Wed Mar 27 16:36:03 2013 -0700
----------------------------------------------------------------------
tooling/scripts/buildjs.js | 2 +-
tooling/scripts/new.js | 16 +++++++---------
tooling/scripts/reversion.js | 4 ++--
3 files changed, 10 insertions(+), 12 deletions(-)
----------------------------------------------------------------------
[6/7] wp7 commit: Merge pull request #8 from bennmapes/CB-2830
Posted by pu...@apache.org.
Merge pull request #8 from bennmapes/CB-2830
[CB-2830] Delete old cordova js on reversion
Project: http://git-wip-us.apache.org/repos/asf/cordova-wp7/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-wp7/commit/8df8c7c2
Tree: http://git-wip-us.apache.org/repos/asf/cordova-wp7/tree/8df8c7c2
Diff: http://git-wip-us.apache.org/repos/asf/cordova-wp7/diff/8df8c7c2
Branch: refs/heads/master
Commit: 8df8c7c219a0e813e03e1b429b61e70c3607e80c
Parents: 6b735cf 200958b
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Wed Mar 27 16:27:55 2013 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Wed Mar 27 16:27:55 2013 -0700
----------------------------------------------------------------------
tooling/scripts/reversion.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------