[jira] [Commented] (CB-4625) The File API online guide has some bad hyperlinks

2013-09-16 Thread Peter (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13769243#comment-13769243
 ] 

Peter commented on CB-4625:
---

The second point ("File" in objects list) of the original description still has 
same problem.

> The File API online guide has some bad hyperlinks
> -
>
> Key: CB-4625
> URL: https://issues.apache.org/jira/browse/CB-4625
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Affects Versions: 2.9.0
>Reporter: Peter
>Assignee: Lorin Beer
>Priority: Minor
>
> The ambiguity between "File" (the API) and "File" (the Object) causes some 
> hyperlink problems
> * see "...based on the W3C File API" should only link to 
> http://www.w3.org/TR/FileAPI/ ; not to #File, 
> * see "File" in the Objects list - #File anchor name is duplicated so does 
> not go where expected

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4819) InAppBrowser.removeEventListener - description of callback parameter

2013-09-16 Thread Peter (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13769183#comment-13769183
 ] 

Peter commented on CB-4819:
---

BTW, the mysterious doubling of callbacks had a simple explanation: The test 
code attempts to load the page www.google.com, but then that redirects to the 
Australian www.google.com.au. So the loadstart event happens 2 times - once for 
each url. The alert 'Unexpected: got multiple loadstart events.' is a bit 
disconcerting, but otherwise it seems OK.

> InAppBrowser.removeEventListener - description of callback parameter
> 
>
> Key: CB-4819
> URL: https://issues.apache.org/jira/browse/CB-4819
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Affects Versions: 2.9.0
>Reporter: Peter
>Assignee: Michael Brooks
>Priority: Minor
>
> The documentation for removeEventListener seems like a cut/paste error from 
> addEventListener.
> http://cordova.apache.org/docs/en/3.0.0/cordova_inappbrowser_inappbrowser.md.html#removeEventListener
>  says:
> {quote}
> *callback:* the function to execute when the event fires. The function is 
> passed an InAppBrowserEvent object.
> {quote}
> It might be better described as something like:
> {quote}
> *callback:* the function to be removed, which was previously registered for 
> this event by addEventListener
> {quote}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4849) Inconsistent constructors for the Contact objects

2013-09-16 Thread Peter (JIRA)
Peter created CB-4849:
-

 Summary: Inconsistent constructors for the Contact objects
 Key: CB-4849
 URL: https://issues.apache.org/jira/browse/CB-4849
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CordovaJS
Affects Versions: 2.9.0
Reporter: Peter
Assignee: Andrew Grieve
Priority: Minor


It is curious that the ContactField constructor ensures that members are 
converted to strings as per the documentation, but the other Contact 
constructors like ContactOrganization, ContactAddress do not follow the same 
code pattern. Is there some reason for the difference?

For example,

{code}
var ContactField = function(type, value, pref) {
this.id = null;
this.type = (type && type.toString()) || null;
this.value = (value && value.toString()) || null;
this.pref = (typeof pref != 'undefined' ? pref : false);
};
{code}

vs.

{code}
var ContactAddress = function(pref, type, formatted, streetAddress, locality, 
region, postalCode, country) {
this.id = null;
this.pref = (typeof pref != 'undefined' ? pref : false);
this.type = type || null;
this.formatted = formatted || null;
this.streetAddress = streetAddress || null;
this.locality = locality || null;
this.region = region || null;
this.postalCode = postalCode || null;
this.country = country || null;
};
{code}

It means (for example) that user can create a ContactField for a phone numbers 
passing a value of 123456 and it will be coverted OK to '123456'. But if user 
passed numeric 1234 as a ContactAddress postalCode the assigned member will 
have the wrong type.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3180) windows.openDatabase returns invalid object on Android >= 4.0

2013-09-16 Thread Shingo Toda (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13769078#comment-13769078
 ] 

Shingo Toda commented on CB-3180:
-

Also even when the same device and Android version are used, I got a different 
result (which WebSQL or plugin is used).

I observed this on a physical device with Android 4.0.4
* When I run manual mobile-spec test (assets/www/sql/index.html), WebSQL is 
consistently used.
* When I run my customized mobile-spec test, plugin is consistently used 
(source code below).

{code}
it("fj.storage.1 window.openDatabase() method should 
return a Database object", function() {
var db = window.openDatabase('MobileSpec', 
'1.0', 'CordovaMobileSpec', 100);
//var db = openDatabase('MobileSpec', '1.0', 
'CordovaMobileSpec', 100);
expect(db).not.toBe(null);
expect(db.transaction).toBeDefined();
expect(typeof 
db.transaction.valueOf()).toBe('function');
expect(db.changeVersion).toBeDefined();  // 
fail if plugin is used
expect(typeof 
db.changeVersion.valueOf()).toBe('function');  // fail if plugin is used
});
{code}

I don't know what is a key factor for SECURITY_ERR to be thrown. I would like 
to know it if anyone understand it.



> windows.openDatabase returns invalid object on Android >= 4.0
> -
>
> Key: CB-3180
> URL: https://issues.apache.org/jira/browse/CB-3180
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 2.6.0
>Reporter: Kirill Pugin
> Fix For: 3.2.0
>
>
> After upgrading form cordova 2.5 to cordova 2.6 application stopped working 
> properly on android sdk >= 4.0.
> After some investigation we found out that window.opendDatabase method 
> returns object with only one method "transaction", but on SDK < 4.0 it also 
> has "version", "changeVersion".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Comment Edited] (CB-3180) windows.openDatabase returns invalid object on Android >= 4.0

2013-09-16 Thread Shingo Toda (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13769062#comment-13769062
 ] 

Shingo Toda edited comment on CB-3180 at 9/17/13 1:27 AM:
--

Hi

As far as I know, Android 2.x may use WebSQL and openDatabase returns Database 
object which has changeVersion method.
On the other hand, openDatabase may return plugin's object even when I use 
Android 4.0.4 on a physical device.
I have confirmed this behavior on 2.3.3 (emulator) and 4.0.4 (physical device) 
by adding debug alert in cordova.js (as below) and checking if returned object 
has changeVersion method.
When plugin is used, calling WebSQL's openDatabase usually gets SECURITY_ERR 
then plugin's openDatabase is called instead.

{code}
module.exports = function(name, version, desc, size) {
// First patch WebSQL if necessary
if (!originalOpenDatabase) {
// Not defined, create an openDatabase function for all to use!
alert("openDatabase does not exists. Plugin will be used");
return storage.openDatabase.apply(this, arguments);
}

// Defined, but some Android devices will throw a SECURITY_ERR -
// so we wrap the whole thing in a try-catch and shim in our own
// if the device has Android bug 16175.
try {
return originalOpenDatabase(name, version, desc, size);
} catch (ex) {
if (ex.code !== 18) {
throw ex;
}
}
alert("SECURITY_ERR. Plugin will be used");
return storage.openDatabase(name, version, desc, size);
};
{code}

So as far as I know, this behavior does not depend on Android version and 
devices/emulators with higher version of Android also have the same problem. I 
hope you Cordova guys will complete implementing your Storage API plugin to 
provide users with consistent behavior for all of devices.

  was (Author: shingot):
Hi

As far as I know, Android 2.x may use WebSQL and openDatabase returns Database 
object which has changeVersion method.
On the other hand, openDatabase may return plugin's object even when I use 
Android 4.0.4 on a physical device.
I have confirmed this behavior on 2.3.3 (emulator) and 4.0.4 (physical device) 
by adding debug alert in cordova.js (as below) and checking if returned object 
has changeVersion method.
When plugin is used, calling WebSQL's openDatabase usually gets SECURITY_ERR 
then plugin's openDatabase is called instead.

{code}
module.exports = function(name, version, desc, size) {
// First patch WebSQL if necessary
if (!originalOpenDatabase) {
// Not defined, create an openDatabase function for all to use!
{color:red} alert("openDatabase does not exists. Plugin will be used"); 
{color}
return storage.openDatabase.apply(this, arguments);
}

// Defined, but some Android devices will throw a SECURITY_ERR -
// so we wrap the whole thing in a try-catch and shim in our own
// if the device has Android bug 16175.
try {
return originalOpenDatabase(name, version, desc, size);
} catch (ex) {
if (ex.code !== 18) {
throw ex;
}
}
{color:red}alert("SECURITY_ERR. Plugin will be used");{color}
return storage.openDatabase(name, version, desc, size);
};
{code}

So as far as I know, this behavior does not depend on Android version and 
devices/emulators with higher version of Android also have the same problem. I 
hope you Cordova guys will complete implementing your Storage API plugin to 
provide users with consistent behavior for all of devices.
  
> windows.openDatabase returns invalid object on Android >= 4.0
> -
>
> Key: CB-3180
> URL: https://issues.apache.org/jira/browse/CB-3180
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 2.6.0
>Reporter: Kirill Pugin
> Fix For: 3.2.0
>
>
> After upgrading form cordova 2.5 to cordova 2.6 application stopped working 
> properly on android sdk >= 4.0.
> After some investigation we found out that window.opendDatabase method 
> returns object with only one method "transaction", but on SDK < 4.0 it also 
> has "version", "changeVersion".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3180) windows.openDatabase returns invalid object on Android >= 4.0

2013-09-16 Thread Shingo Toda (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13769063#comment-13769063
 ] 

Shingo Toda commented on CB-3180:
-

Hi

As far as I know, Android 2.x may use WebSQL and openDatabase returns Database 
object which has changeVersion method.
On the other hand, openDatabase may return plugin's object even when I use 
Android 4.0.4 on a physical device.
I have confirmed this behavior on 2.3.3 (emulator) and 4.0.4 (physical device) 
by adding debug alert in cordova.js (as below) and checking if returned object 
has changeVersion method.
When plugin is used, calling WebSQL's openDatabase usually gets SECURITY_ERR 
then plugin's openDatabase is called instead.

{code}
module.exports = function(name, version, desc, size) {
// First patch WebSQL if necessary
if (!originalOpenDatabase) {
// Not defined, create an openDatabase function for all to use!
{color:red} alert("openDatabase does not exists. Plugin will be used"); 
{color}
return storage.openDatabase.apply(this, arguments);
}

// Defined, but some Android devices will throw a SECURITY_ERR -
// so we wrap the whole thing in a try-catch and shim in our own
// if the device has Android bug 16175.
try {
return originalOpenDatabase(name, version, desc, size);
} catch (ex) {
if (ex.code !== 18) {
throw ex;
}
}
{color:red}alert("SECURITY_ERR. Plugin will be used");{color}
return storage.openDatabase(name, version, desc, size);
};
{code}

So as far as I know, this behavior does not depend on Android version and 
devices/emulators with higher version of Android also have the same problem. I 
hope you Cordova guys will complete implementing your Storage API plugin to 
provide users with consistent behavior for all of devices.

> windows.openDatabase returns invalid object on Android >= 4.0
> -
>
> Key: CB-3180
> URL: https://issues.apache.org/jira/browse/CB-3180
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 2.6.0
>Reporter: Kirill Pugin
> Fix For: 3.2.0
>
>
> After upgrading form cordova 2.5 to cordova 2.6 application stopped working 
> properly on android sdk >= 4.0.
> After some investigation we found out that window.opendDatabase method 
> returns object with only one method "transaction", but on SDK < 4.0 it also 
> has "version", "changeVersion".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Issue Comment Deleted] (CB-3180) windows.openDatabase returns invalid object on Android >= 4.0

2013-09-16 Thread Shingo Toda (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-3180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shingo Toda updated CB-3180:


Comment: was deleted

(was: Hi

As far as I know, Android 2.x may use WebSQL and openDatabase returns Database 
object which has changeVersion method.
On the other hand, openDatabase may return plugin's object even when I use 
Android 4.0.4 on a physical device.
I have confirmed this behavior on 2.3.3 (emulator) and 4.0.4 (physical device) 
by adding debug alert in cordova.js (as below) and checking if returned object 
has changeVersion method.
When plugin is used, calling WebSQL's openDatabase usually gets SECURITY_ERR 
then plugin's openDatabase is called instead.

{code}
module.exports = function(name, version, desc, size) {
// First patch WebSQL if necessary
if (!originalOpenDatabase) {
// Not defined, create an openDatabase function for all to use!
{color:red} alert("openDatabase does not exists. Plugin will be used"); 
{color}
return storage.openDatabase.apply(this, arguments);
}

// Defined, but some Android devices will throw a SECURITY_ERR -
// so we wrap the whole thing in a try-catch and shim in our own
// if the device has Android bug 16175.
try {
return originalOpenDatabase(name, version, desc, size);
} catch (ex) {
if (ex.code !== 18) {
throw ex;
}
}
{color:red}alert("SECURITY_ERR. Plugin will be used");{color}
return storage.openDatabase(name, version, desc, size);
};
{code}

So as far as I know, this behavior does not depend on Android version and 
devices/emulators with higher version of Android also have the same problem. I 
hope you Cordova guys will complete implementing your Storage API plugin to 
provide users with consistent behavior for all of devices.)

> windows.openDatabase returns invalid object on Android >= 4.0
> -
>
> Key: CB-3180
> URL: https://issues.apache.org/jira/browse/CB-3180
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 2.6.0
>Reporter: Kirill Pugin
> Fix For: 3.2.0
>
>
> After upgrading form cordova 2.5 to cordova 2.6 application stopped working 
> properly on android sdk >= 4.0.
> After some investigation we found out that window.opendDatabase method 
> returns object with only one method "transaction", but on SDK < 4.0 it also 
> has "version", "changeVersion".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3180) windows.openDatabase returns invalid object on Android >= 4.0

2013-09-16 Thread Shingo Toda (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13769062#comment-13769062
 ] 

Shingo Toda commented on CB-3180:
-

Hi

As far as I know, Android 2.x may use WebSQL and openDatabase returns Database 
object which has changeVersion method.
On the other hand, openDatabase may return plugin's object even when I use 
Android 4.0.4 on a physical device.
I have confirmed this behavior on 2.3.3 (emulator) and 4.0.4 (physical device) 
by adding debug alert in cordova.js (as below) and checking if returned object 
has changeVersion method.
When plugin is used, calling WebSQL's openDatabase usually gets SECURITY_ERR 
then plugin's openDatabase is called instead.

{code}
module.exports = function(name, version, desc, size) {
// First patch WebSQL if necessary
if (!originalOpenDatabase) {
// Not defined, create an openDatabase function for all to use!
{color:red} alert("openDatabase does not exists. Plugin will be used"); 
{color}
return storage.openDatabase.apply(this, arguments);
}

// Defined, but some Android devices will throw a SECURITY_ERR -
// so we wrap the whole thing in a try-catch and shim in our own
// if the device has Android bug 16175.
try {
return originalOpenDatabase(name, version, desc, size);
} catch (ex) {
if (ex.code !== 18) {
throw ex;
}
}
{color:red}alert("SECURITY_ERR. Plugin will be used");{color}
return storage.openDatabase(name, version, desc, size);
};
{code}

So as far as I know, this behavior does not depend on Android version and 
devices/emulators with higher version of Android also have the same problem. I 
hope you Cordova guys will complete implementing your Storage API plugin to 
provide users with consistent behavior for all of devices.

> windows.openDatabase returns invalid object on Android >= 4.0
> -
>
> Key: CB-3180
> URL: https://issues.apache.org/jira/browse/CB-3180
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 2.6.0
>Reporter: Kirill Pugin
> Fix For: 3.2.0
>
>
> After upgrading form cordova 2.5 to cordova 2.6 application stopped working 
> properly on android sdk >= 4.0.
> After some investigation we found out that window.opendDatabase method 
> returns object with only one method "transaction", but on SDK < 4.0 it also 
> has "version", "changeVersion".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Reopened] (CB-4847) iOS 7 microphone access requires user permission - if denied, CDVCapture, CDVSound does not handle it properly

2013-09-16 Thread Shazron Abdullah (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shazron Abdullah reopened CB-4847:
--


Re-opened. For CDVSound, a cherry-pick into the dev branch is causing merge 
problems that I can't resolve satisfactorily (I mistakenly applied to the 
master branch before), so I will just re-implement this (copy and paste) into 
the branch and re-test tomorrow...

> iOS 7 microphone access requires user permission - if denied, CDVCapture, 
> CDVSound does not handle it properly
> --
>
> Key: CB-4847
> URL: https://issues.apache.org/jira/browse/CB-4847
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media, Plugin Media Capture
>Affects Versions: 3.0.0
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>  Labels: ios7
> Fix For: 3.1.0
>
>
> When denied, the console log prints "Microphone input permission refused - 
> will record only silence".
> We need to notify the user.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4806) Update splashscreen image bounds for iOS 7

2013-09-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13769018#comment-13769018
 ] 

ASF subversion and git services commented on CB-4806:
-

Commit 4275e57a738b804edca3fd14e68f5d1b0979f467 in branch refs/heads/master 
from [~shazron]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-splashscreen.git;h=4275e57
 ]

Revert "[CB-4806] Update splashscreen image bounds for iOS 7"

This reverts commit 96d5875dc38515c75c969284d252ed1cfbb34310.


> Update splashscreen image bounds for iOS 7
> --
>
> Key: CB-4806
> URL: https://issues.apache.org/jira/browse/CB-4806
> Project: Apache Cordova
>  Issue Type: Task
>  Components: iOS, Plugin SplashScreen
>Affects Versions: Master
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>  Labels: ios7
> Fix For: 3.1.0
>
>
> See code from this thread: http://markmail.org/message/khqi5vpubxp2qppk
> diff replicated below:
> {code}
> diff --git a/CordovaLib/Classes/CDVSplashScreen.m
> b/CordovaLib/Classes/CDVSplashScreen.m
> index fdb79fa..809ce35 100644
> --- a/CordovaLib/Classes/CDVSplashScreen.m
> +++ b/CordovaLib/Classes/CDVSplashScreen.m
> @@ -170,7 +170,9 @@
>  // There's a special case when the image is the size of the screen.
>  if (CGSizeEqualToSize(screenSize, imgBounds.size)) {
>  CGRect statusFrame = [self.viewController.view
> convertRect:[UIApplication sharedApplication].statusBarFrame fromView:nil];
> -imgBounds.origin.y -= statusFrame.size.height;
> +if (floor(NSFoundationVersionNumber) <=
> NSFoundationVersionNumber_iOS_6_1) {
> +imgBounds.origin.y -= statusFrame.size.height;
> +}
>  } else {
>  CGRect viewBounds = self.viewController.view.bounds;
>  CGFloat imgAspect = imgBounds.size.width / imgBounds.size.height;
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4806) Update splashscreen image bounds for iOS 7

2013-09-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13769017#comment-13769017
 ] 

ASF subversion and git services commented on CB-4806:
-

Commit c8b3b9b8fe28d6c9fe9c9a1bc548a679e4ac in branch refs/heads/dev from 
[~shazron]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-splashscreen.git;h=c8b
 ]

[CB-4806] Update splashscreen image bounds for iOS 7


> Update splashscreen image bounds for iOS 7
> --
>
> Key: CB-4806
> URL: https://issues.apache.org/jira/browse/CB-4806
> Project: Apache Cordova
>  Issue Type: Task
>  Components: iOS, Plugin SplashScreen
>Affects Versions: Master
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>  Labels: ios7
> Fix For: 3.1.0
>
>
> See code from this thread: http://markmail.org/message/khqi5vpubxp2qppk
> diff replicated below:
> {code}
> diff --git a/CordovaLib/Classes/CDVSplashScreen.m
> b/CordovaLib/Classes/CDVSplashScreen.m
> index fdb79fa..809ce35 100644
> --- a/CordovaLib/Classes/CDVSplashScreen.m
> +++ b/CordovaLib/Classes/CDVSplashScreen.m
> @@ -170,7 +170,9 @@
>  // There's a special case when the image is the size of the screen.
>  if (CGSizeEqualToSize(screenSize, imgBounds.size)) {
>  CGRect statusFrame = [self.viewController.view
> convertRect:[UIApplication sharedApplication].statusBarFrame fromView:nil];
> -imgBounds.origin.y -= statusFrame.size.height;
> +if (floor(NSFoundationVersionNumber) <=
> NSFoundationVersionNumber_iOS_6_1) {
> +imgBounds.origin.y -= statusFrame.size.height;
> +}
>  } else {
>  CGRect viewBounds = self.viewController.view.bounds;
>  CGFloat imgAspect = imgBounds.size.width / imgBounds.size.height;
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4847) iOS 7 microphone access requires user permission - if denied, CDVCapture, CDVSound does not handle it properly

2013-09-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13769011#comment-13769011
 ] 

ASF subversion and git services commented on CB-4847:
-

Commit f87cec112972607fa68a6831e65f500ff182d74d in branch refs/heads/dev from 
[~shazron]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-media-capture.git;h=f87cec1
 ]

[CB-4847] iOS 7 microphone access requires user permission - if denied, 
CDVCapture, CDVSound does not handle it properly


> iOS 7 microphone access requires user permission - if denied, CDVCapture, 
> CDVSound does not handle it properly
> --
>
> Key: CB-4847
> URL: https://issues.apache.org/jira/browse/CB-4847
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media, Plugin Media Capture
>Affects Versions: 3.0.0
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>  Labels: ios7
> Fix For: 3.1.0
>
>
> When denied, the console log prints "Microphone input permission refused - 
> will record only silence".
> We need to notify the user.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4847) iOS 7 microphone access requires user permission - if denied, CDVCapture, CDVSound does not handle it properly

2013-09-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13769008#comment-13769008
 ] 

ASF subversion and git services commented on CB-4847:
-

Commit 545da9e81ab013d6fecba8f382f8106f9b9a1ea7 in branch refs/heads/master 
from [~shazron]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-media-capture.git;h=545da9e
 ]

Revert "[CB-4847] iOS 7 microphone access requires user permission - if denied, 
CDVCapture, CDVSound does not handle it properly"

This reverts commit a99ab1b4f79df49b5bea34d52f68f4e6009f54ed.


> iOS 7 microphone access requires user permission - if denied, CDVCapture, 
> CDVSound does not handle it properly
> --
>
> Key: CB-4847
> URL: https://issues.apache.org/jira/browse/CB-4847
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media, Plugin Media Capture
>Affects Versions: 3.0.0
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>  Labels: ios7
> Fix For: 3.1.0
>
>
> When denied, the console log prints "Microphone input permission refused - 
> will record only silence".
> We need to notify the user.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4848) Fix Xcode 5 semantic issues for Media Capture plugin

2013-09-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13769007#comment-13769007
 ] 

ASF subversion and git services commented on CB-4848:
-

Commit 0774b947105b25c0b2295cb5bd02bb1a40c7b5e1 in branch refs/heads/master 
from [~shazron]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-media-capture.git;h=0774b94
 ]

Revert "[CB-4848] Fix Xcode 5 semantic issues for Media Capture plugin"

This reverts commit 43a0982529d3a251c41c9ccce6a9dd86d61cabb4.


> Fix Xcode 5 semantic issues for Media Capture plugin
> 
>
> Key: CB-4848
> URL: https://issues.apache.org/jira/browse/CB-4848
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 3.0.0
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>Priority: Minor
>  Labels: ios7
> Fix For: 3.1.0
>
>
> 1. cordova-plugin-media-capture/src/ios/CDVCapture.m:258:54: Undeclared 
> selector 'presentViewController:::'
> 2. cordova-plugin-media-capture/src/ios/CDVCapture.m:618:39: Implicit 
> conversion from enumeration type 'enum UITextAlignment' to different 
> enumeration type 'NSTextAlignment' (aka 'enum NSTextAlignment')

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4847) iOS 7 microphone access requires user permission - if denied, CDVCapture, CDVSound does not handle it properly

2013-09-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13769005#comment-13769005
 ] 

ASF subversion and git services commented on CB-4847:
-

Commit 29d8c381255c92d2b8b8d70e292b018ff0e3c3f5 in branch refs/heads/master 
from [~shazron]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-media.git;h=29d8c38 ]

Revert "[CB-4847] iOS 7 microphone access requires user permission - if denied, 
CDVCapture, CDVSound does not handle it properly"

This reverts commit 0259d766615724531a961058b591bc5903fc6c68.


> iOS 7 microphone access requires user permission - if denied, CDVCapture, 
> CDVSound does not handle it properly
> --
>
> Key: CB-4847
> URL: https://issues.apache.org/jira/browse/CB-4847
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media, Plugin Media Capture
>Affects Versions: 3.0.0
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>  Labels: ios7
> Fix For: 3.1.0
>
>
> When denied, the console log prints "Microphone input permission refused - 
> will record only silence".
> We need to notify the user.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Reopened] (CB-4819) InAppBrowser.removeEventListener - description of callback parameter

2013-09-16 Thread Peter (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter reopened CB-4819:
---


Please refer to all the test cases in previous comment.

> InAppBrowser.removeEventListener - description of callback parameter
> 
>
> Key: CB-4819
> URL: https://issues.apache.org/jira/browse/CB-4819
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Affects Versions: 2.9.0
>Reporter: Peter
>Assignee: Michael Brooks
>Priority: Minor
>
> The documentation for removeEventListener seems like a cut/paste error from 
> addEventListener.
> http://cordova.apache.org/docs/en/3.0.0/cordova_inappbrowser_inappbrowser.md.html#removeEventListener
>  says:
> {quote}
> *callback:* the function to execute when the event fires. The function is 
> passed an InAppBrowserEvent object.
> {quote}
> It might be better described as something like:
> {quote}
> *callback:* the function to be removed, which was previously registered for 
> this event by addEventListener
> {quote}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4819) InAppBrowser.removeEventListener - description of callback parameter

2013-09-16 Thread Peter (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13768972#comment-13768972
 ] 

Peter commented on CB-4819:
---

Thankyou for the reply. Unfortunately, none of the functionality which you 
describe matches what I see in practice.

There really wasn't much IAB.removeEventListener test cases in the mobile-spec 
so I've augmented the inappbrowser/index.html just to experiment with the 
add/remove eventListener to see what happens. Note, I've put an 'alert' in each 
of the handlers to see when they get called. If these tests are flawed please 
tell me.

Anyway, we observed the following when running the White Listed URL test 
'Target=Blank InAppBrowser'

*CASE 1: Register multiple callbacks for same eventName*
{code}
iab.addEventListener('loadstart', logEvent, false);
iab.addEventListener('loadstart', logEvent2);
{code}
Result:
- hello from logevent
- hello from logevent2
- hello from logevent
- hello from logevent2

Notice both callbacks get called on loadstart.
(I do not yet know why the callbacks were called multiple times, but I think it 
is unrelated to this particular JIRA.)

*Conclusion:*
_It is OK to have multiple callbacks for same event._

*CASE 2: Multiple callbacks for same eventName. Then remove a one of them*

*2a - remove one*
{code}
iab.addEventListener('loadstart', logEvent, false);
iab.addEventListener('loadstart', logEvent2);
iab.removeEventListener('loadstart', logEvent2);
{code}
Result:
- hello from logevent
- hello from logevent

Notice only logEvent is still called. logEvent2 is not.
(I do not yet know why the callback was called multiple times, but I think it 
is unrelated to this particular JIRA.)

*2b - remove other one*
{code}
iab.addEventListener('loadstart', logEvent, false);
iab.addEventListener('loadstart', logEvent2);
iab.removeEventListener('loadstart', logEvent);
{code}
Result:
- hello from logevent2
- hello from logevent2

Notice only logEvent2 is still called. logEvent is not.
(I do not yet know why the callback was called multiple times, but I think it 
is unrelated to this particular JIRA.)

*Conclusion:*
_The callback parameter is important. It identifies which previously registered 
function to remove. Any other callback for that event remain active._


*CASE 3: Does callback get fired when event gets removed?*

*3a - remove a previously registered one*
This is same as case 2a/2b. 
Result:
No. The "removed" callback is not called.

*3b - remove some arbitrary callback*
{code}
iab.addEventListener('loadstart', logEvent, false);
iab.removeEventListener('loadstart', logEvent3);
{code}
- hello from logEvent
- hello from logEvent

Result:
Notice logEvent3 is not called.
(I do not yet know why the callback was called multiple times, but I think it 
is unrelated to this particular JIRA.)

*Conclusion:*
_Calling removeEventLister does not fire the callback._


> InAppBrowser.removeEventListener - description of callback parameter
> 
>
> Key: CB-4819
> URL: https://issues.apache.org/jira/browse/CB-4819
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Affects Versions: 2.9.0
>Reporter: Peter
>Assignee: Michael Brooks
>Priority: Minor
>
> The documentation for removeEventListener seems like a cut/paste error from 
> addEventListener.
> http://cordova.apache.org/docs/en/3.0.0/cordova_inappbrowser_inappbrowser.md.html#removeEventListener
>  says:
> {quote}
> *callback:* the function to execute when the event fires. The function is 
> passed an InAppBrowserEvent object.
> {quote}
> It might be better described as something like:
> {quote}
> *callback:* the function to be removed, which was previously registered for 
> this event by addEventListener
> {quote}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-4847) iOS 7 microphone access requires user permission - if denied, CDVCapture, CDVSound does not handle it properly

2013-09-16 Thread Shazron Abdullah (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shazron Abdullah resolved CB-4847.
--

Resolution: Fixed

> iOS 7 microphone access requires user permission - if denied, CDVCapture, 
> CDVSound does not handle it properly
> --
>
> Key: CB-4847
> URL: https://issues.apache.org/jira/browse/CB-4847
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media, Plugin Media Capture
>Affects Versions: 3.0.0
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>  Labels: ios7
> Fix For: 3.1.0
>
>
> When denied, the console log prints "Microphone input permission refused - 
> will record only silence".
> We need to notify the user.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4847) iOS 7 microphone access requires user permission - if denied, CDVCapture, CDVSound does not handle it properly

2013-09-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13768961#comment-13768961
 ] 

ASF subversion and git services commented on CB-4847:
-

Commit 0259d766615724531a961058b591bc5903fc6c68 in branch refs/heads/master 
from [~shazron]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-media.git;h=0259d76 ]

[CB-4847] iOS 7 microphone access requires user permission - if denied, 
CDVCapture, CDVSound does not handle it properly


> iOS 7 microphone access requires user permission - if denied, CDVCapture, 
> CDVSound does not handle it properly
> --
>
> Key: CB-4847
> URL: https://issues.apache.org/jira/browse/CB-4847
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media, Plugin Media Capture
>Affects Versions: 3.0.0
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>  Labels: ios7
> Fix For: 3.1.0
>
>
> When denied, the console log prints "Microphone input permission refused - 
> will record only silence".
> We need to notify the user.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4847) iOS 7 microphone access requires user permission - if denied, CDVCapture, CDVSound does not handle it properly

2013-09-16 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13768962#comment-13768962
 ] 

Shazron Abdullah commented on CB-4847:
--

Note that the CDVSound fix was a bit tricky with all the blocks but from my 
manual tests it seemed to still work fine.

> iOS 7 microphone access requires user permission - if denied, CDVCapture, 
> CDVSound does not handle it properly
> --
>
> Key: CB-4847
> URL: https://issues.apache.org/jira/browse/CB-4847
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media, Plugin Media Capture
>Affects Versions: 3.0.0
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>  Labels: ios7
> Fix For: 3.1.0
>
>
> When denied, the console log prints "Microphone input permission refused - 
> will record only silence".
> We need to notify the user.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4323) IOS 7, target iphone, install on ipad, window height and width are of ipad, not the iphone

2013-09-16 Thread Clark Pan (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13768957#comment-13768957
 ] 

Clark Pan commented on CB-4323:
---

Are there plans to do any cross platform testings on the proposed viewport 
changes?

> IOS 7, target iphone, install on ipad, window height and width are of ipad, 
> not the iphone
> --
>
> Key: CB-4323
> URL: https://issues.apache.org/jira/browse/CB-4323
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.7.0, 2.8.0, 3.0.0
> Environment: ios7 ipad, app must only target iphone, not ipad
>Reporter: Tom Wilson
>Assignee: Shazron Abdullah
>Priority: Critical
>  Labels: ios7
> Fix For: 3.1.0
>
>
> IOS 7, target iphone, install on ipad, window height and width are of ipad, 
> not the iphone.
> See screen shot, the window height and width are 1080x768 and they should be 
> the iphone size.  This causes the window to overlap the iphone container 
> screen.
> This is only present in ios7, ios6 works fine.
> Screenshot...
> http://i.imgur.com/zIJNetJ.png
> See window height and width calculations from $("body").height() and 
> $("body").width() 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4847) iOS 7 microphone access requires user permission - if denied, CDVCapture, CDVSound does not handle it properly

2013-09-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13768910#comment-13768910
 ] 

ASF subversion and git services commented on CB-4847:
-

Commit a99ab1b4f79df49b5bea34d52f68f4e6009f54ed in branch refs/heads/master 
from [~shazron]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-media-capture.git;h=a99ab1b
 ]

[CB-4847] iOS 7 microphone access requires user permission - if denied, 
CDVCapture, CDVSound does not handle it properly


> iOS 7 microphone access requires user permission - if denied, CDVCapture, 
> CDVSound does not handle it properly
> --
>
> Key: CB-4847
> URL: https://issues.apache.org/jira/browse/CB-4847
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media, Plugin Media Capture
>Affects Versions: 3.0.0
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>  Labels: ios7
> Fix For: 3.1.0
>
>
> When denied, the console log prints "Microphone input permission refused - 
> will record only silence".
> We need to notify the user.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4847) iOS 7 microphone access requires user permission - if denied, CDVCapture, CDVSound does not handle it properly

2013-09-16 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=1376#comment-1376
 ] 

Shazron Abdullah commented on CB-4847:
--

Add a note that iOS 6 compiled apps, when deployed on iOS 7 devices, 
automatically disallow the mic permission. Devs will need to re-compile under 
iOS 7 to get the permission prompt.

> iOS 7 microphone access requires user permission - if denied, CDVCapture, 
> CDVSound does not handle it properly
> --
>
> Key: CB-4847
> URL: https://issues.apache.org/jira/browse/CB-4847
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media, Plugin Media Capture
>Affects Versions: 3.0.0
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>  Labels: ios7
> Fix For: 3.1.0
>
>
> When denied, the console log prints "Microphone input permission refused - 
> will record only silence".
> We need to notify the user.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-4848) Fix Xcode 5 semantic issues for Media Capture plugin

2013-09-16 Thread Shazron Abdullah (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shazron Abdullah resolved CB-4848.
--

Resolution: Fixed

> Fix Xcode 5 semantic issues for Media Capture plugin
> 
>
> Key: CB-4848
> URL: https://issues.apache.org/jira/browse/CB-4848
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 3.0.0
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>Priority: Minor
>  Labels: ios7
> Fix For: 3.1.0
>
>
> 1. cordova-plugin-media-capture/src/ios/CDVCapture.m:258:54: Undeclared 
> selector 'presentViewController:::'
> 2. cordova-plugin-media-capture/src/ios/CDVCapture.m:618:39: Implicit 
> conversion from enumeration type 'enum UITextAlignment' to different 
> enumeration type 'NSTextAlignment' (aka 'enum NSTextAlignment')

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4848) Fix Xcode 5 semantic issues for Media Capture plugin

2013-09-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13768879#comment-13768879
 ] 

ASF subversion and git services commented on CB-4848:
-

Commit 43a0982529d3a251c41c9ccce6a9dd86d61cabb4 in branch refs/heads/master 
from [~shazron]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-media-capture.git;h=43a0982
 ]

[CB-4848] Fix Xcode 5 semantic issues for Media Capture plugin


> Fix Xcode 5 semantic issues for Media Capture plugin
> 
>
> Key: CB-4848
> URL: https://issues.apache.org/jira/browse/CB-4848
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 3.0.0
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>Priority: Minor
>  Labels: ios7
> Fix For: 3.1.0
>
>
> 1. cordova-plugin-media-capture/src/ios/CDVCapture.m:258:54: Undeclared 
> selector 'presentViewController:::'
> 2. cordova-plugin-media-capture/src/ios/CDVCapture.m:618:39: Implicit 
> conversion from enumeration type 'enum UITextAlignment' to different 
> enumeration type 'NSTextAlignment' (aka 'enum NSTextAlignment')

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-2391) colons in URIs crash WebView

2013-09-16 Thread Joe Bowser (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-2391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Bowser updated CB-2391:
---

Fix Version/s: (was: 3.1.0)
   3.2.0

> colons in URIs crash WebView
> 
>
> Key: CB-2391
> URL: https://issues.apache.org/jira/browse/CB-2391
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 2.3.0
> Environment: Seen on Nexus 4, Android 4.2.1
>Reporter: Robert Hoffmann
>Assignee: Joe Bowser
>Priority: Minor
>  Labels: WebView, crash, hash, url
> Fix For: 3.2.0
>
>
> With useBrowserHistory (true) the application crashes when returning from 
> WebView (using the android back button).
> Reproduce:
> 1) So from the Cordova App page 
> (file:///android_asset/www/app.html#BackPlace:null) the user clicks on a link 
> (e.g. www.google.com) which opens the WebView.   
> 2) When clicking the back button to return to the app, the app crashes with 
> the exception below.
> Guess:
> I wonder if the hash in the originating cordova app page could be the core of 
> this problem (e.g. file:///android_asset/www/app.html#BackPlace:null).
> Note: 
> The app does not crash when setting useBrowserHistory to false!
> >>
> 02-07 01:09:45.979: E/dalvikvm(8542): Class lookup 
> Landroid/webkit/WebResourceResponse; attempted with exception pending
> 02-07 01:09:45.979: W/dalvikvm(8542): Pending exception is:
> 02-07 01:09:45.979: I/dalvikvm(8542): java.lang.NullPointerException:
> 02-07 01:09:45.979: I/dalvikvm(8542): at 
> android.content.res.AssetManager.openAsset(Native Method)
> 02-07 01:09:45.979: I/dalvikvm(8542): at 
> android.content.res.AssetManager.open(AssetManager.java:315)
> 02-07 01:09:45.979: I/dalvikvm(8542): at 
> android.webkit.BrowserFrame.inputStreamForAndroidResource(BrowserFrame.java:765)
> 02-07 01:09:45.979: I/dalvikvm(8542): at 
> android.webkit.BrowserFrame.shouldInterceptRequest(BrowserFrame.java:852)
> 02-07 01:09:45.979: I/dalvikvm(8542): at 
> android.webkit.BrowserFrame.nativeGoBackOrForward(Native Method)
> 02-07 01:09:45.979: I/dalvikvm(8542): at 
> android.webkit.BrowserFrame.goBackOrForward(BrowserFrame.java:346)
> 02-07 01:09:45.979: I/dalvikvm(8542): at 
> android.webkit.WebViewCore$EventHub$1.handleMessage(WebViewCore.java:1400)
> 02-07 01:09:45.979: I/dalvikvm(8542): at 
> android.os.Handler.dispatchMessage(Handler.java:99)
> 02-07 01:09:45.979: I/dalvikvm(8542): at 
> android.os.Looper.loop(Looper.java:137)
> 02-07 01:09:45.979: I/dalvikvm(8542): at 
> android.webkit.WebViewCore$WebCoreThread.run(WebViewCore.java:812)
> 02-07 01:09:45.979: I/dalvikvm(8542): at 
> java.lang.Thread.run(Thread.java:856)
> 02-07 01:09:45.979: I/dalvikvm(8542): DALVIK THREADS:
> 02-07 01:09:45.979: I/dalvikvm(8542): (mutexes: tll=0 tsl=0 tscl=0 ghl=0)
> 02-07 01:09:45.979: D/DroidGap(8542): 
> onMessage(onPageStarted,file:///android_asset/www/app.html#BackPlace:null)
> 02-07 01:09:45.979: I/dalvikvm(8542): "main" prio=5 tid=1 NATIVE
> 02-07 01:09:45.989: I/dalvikvm(8542):   | group="main" sCount=0 dsCount=0 
> obj=0x40cfc9a0 self=0x40701bf8
> 02-07 01:09:45.989: I/dalvikvm(8542):   | sysTid=8542 nice=0 sched=0/0 
> cgrp=apps handle=1074258908
> 02-07 01:09:45.989: I/dalvikvm(8542):   | state=S schedstat=( 0 0 0 ) utm=97 
> stm=76 core=0
> 02-07 01:09:45.999: I/dalvikvm(8542):   #00  pc 00017ee4  /system/lib/libc.so 
> (epoll_wait+12)
> <<

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-4071) Capture error callback (should be an object)

2013-09-16 Thread Joe Bowser (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Bowser updated CB-4071:
---

Fix Version/s: (was: 3.1.0)
   3.2.0

What happened with this? This isn't going to land in 3.1.0. :(

> Capture error callback (should be an object)
> 
>
> Key: CB-4071
> URL: https://issues.apache.org/jira/browse/CB-4071
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, Docs, iOS, Windows 8
>Affects Versions: 2.9.0
> Environment: All
>Reporter: Jonathan Bond-Caron
>Assignee: Joe Bowser
> Fix For: 3.2.0
>
>
> When using camera.getPicture(), the cameraError is documented as a string but 
> on Android & iOS, it's actually an object.
> On the native side in 2.7: 
> Android:
> private static final int CAPTURE_INTERNAL_ERR = 0;
> //  private static final int CAPTURE_APPLICATION_BUSY = 1;
> //  private static final int CAPTURE_INVALID_ARGUMENT = 2;
> 
> private static final int CAPTURE_NO_MEDIA_FILES = 3;
> iOS:
> enum CDVCaptureError {
>
>  CAPTURE_INTERNAL_ERR = 0,
> 
>  CAPTURE_APPLICATION_BUSY = 1,
> 
>  CAPTURE_INVALID_ARGUMENT = 2,
> 
>  CAPTURE_NO_MEDIA_FILES = 3,
> 
>  CAPTURE_NOT_SUPPORTED = 20
> };
> Windows 8:
> only string errors
> Android and iOS have the same looking api on the native side, error callback 
> Android returns JSON: {message: '', code: int}, iOS returns JSON: {message: 
> '', status: int}, 
> Looking at the javascript api, it looks like it should return a 'new 
> CaptureError()' on the errorCallback, is that the direction for 3.0?
> Windows only sends a string as the callback error, it's difficult to know if 
> the user just cancelled taking a picture or what kind of specific error 
> occurred.
> Should I look into creating a patch?
> This probably affects other apis, overall I'd like to see the CaptureError() 
> returned more consistently instead of strings.
> It would make sense to improve this in 3.0 and possibly break BC for those 
> expecting strings.
> CaptureError() could implement 'toString()' to mitigate potential issues.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-3180) windows.openDatabase returns invalid object on Android >= 4.0

2013-09-16 Thread Joe Bowser (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-3180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Bowser updated CB-3180:
---

Fix Version/s: (was: 3.1.0)
   3.2.0

> windows.openDatabase returns invalid object on Android >= 4.0
> -
>
> Key: CB-3180
> URL: https://issues.apache.org/jira/browse/CB-3180
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 2.6.0
>Reporter: Kirill Pugin
> Fix For: 3.2.0
>
>
> After upgrading form cordova 2.5 to cordova 2.6 application stopped working 
> properly on android sdk >= 4.0.
> After some investigation we found out that window.opendDatabase method 
> returns object with only one method "transaction", but on SDK < 4.0 it also 
> has "version", "changeVersion".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4848) Fix Xcode 5 semantic issues for Media Capture plugin

2013-09-16 Thread Shazron Abdullah (JIRA)
Shazron Abdullah created CB-4848:


 Summary: Fix Xcode 5 semantic issues for Media Capture plugin
 Key: CB-4848
 URL: https://issues.apache.org/jira/browse/CB-4848
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.0.0
Reporter: Shazron Abdullah
Assignee: Shazron Abdullah
Priority: Minor
 Fix For: 3.1.0


1. cordova-plugin-media-capture/src/ios/CDVCapture.m:258:54: Undeclared 
selector 'presentViewController:::'

2. cordova-plugin-media-capture/src/ios/CDVCapture.m:618:39: Implicit 
conversion from enumeration type 'enum UITextAlignment' to different 
enumeration type 'NSTextAlignment' (aka 'enum NSTextAlignment')

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-4832) [Release + 3.1.0] Tag RC1 for Android

2013-09-16 Thread Joe Bowser (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Bowser resolved CB-4832.


Resolution: Implemented

> [Release + 3.1.0] Tag RC1 for Android
> -
>
> Key: CB-4832
> URL: https://issues.apache.org/jira/browse/CB-4832
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Android
>Reporter: Andrew Grieve
>Assignee: Joe Bowser
> Fix For: 3.1.0
>
>
> Refer to Workflow here:
> http://wiki.apache.org/cordova/CuttingReleases
> Don't forget about CHANGELOG.md

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4832) [Release + 3.1.0] Tag RC1 for Android

2013-09-16 Thread Joe Bowser (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13768872#comment-13768872
 ] 

Joe Bowser commented on CB-4832:


What CHANGELOG.md? 

> [Release + 3.1.0] Tag RC1 for Android
> -
>
> Key: CB-4832
> URL: https://issues.apache.org/jira/browse/CB-4832
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Android
>Reporter: Andrew Grieve
>Assignee: Joe Bowser
> Fix For: 3.1.0
>
>
> Refer to Workflow here:
> http://wiki.apache.org/cordova/CuttingReleases
> Don't forget about CHANGELOG.md

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4847) iOS 7 microphone access requires user permission - if denied, CDVCapture, CDVSound does not handle it properly

2013-09-16 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13768858#comment-13768858
 ] 

Shazron Abdullah commented on CB-4847:
--

See: 
https://developer.apple.com/library/prerelease/ios/documentation/AVFoundation/Reference/AVAudioSession_ClassReference/Reference/Reference.html#//apple_ref/occ/instm/AVAudioSession/requestRecordPermission:
https://devforums.apple.com/message/831921#831921

This might be tricky if compiled under iOS 6 (even though we shouldn't worry 
about it soon), not sure how you can abstract away PermissionBlock easily (it's 
just a typedef), I suppose one can conditionally compile...

> iOS 7 microphone access requires user permission - if denied, CDVCapture, 
> CDVSound does not handle it properly
> --
>
> Key: CB-4847
> URL: https://issues.apache.org/jira/browse/CB-4847
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media, Plugin Media Capture
>Affects Versions: 3.0.0
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>  Labels: ios7
> Fix For: 3.1.0
>
>
> When denied, the console log prints "Microphone input permission refused - 
> will record only silence".
> We need to notify the user.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-4846) Support the two new multitasking modes in iOS 7

2013-09-16 Thread Shazron Abdullah (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shazron Abdullah updated CB-4846:
-

Fix Version/s: 3.2.0

> Support the two new multitasking modes in iOS 7
> ---
>
> Key: CB-4846
> URL: https://issues.apache.org/jira/browse/CB-4846
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: iOS
>Affects Versions: 3.0.0
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>Priority: Minor
>  Labels: ios7
> Fix For: 3.2.0
>
>
> See 
> https://developer.apple.com/library/prerelease/ios/releasenotes/General/WhatsNewIniOS/Articles/iOS7.html#//apple_ref/doc/uid/TP40013162-SW10
> https://developer.apple.com/library/prerelease/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/ManagingYourApplicationsFlow/ManagingYourApplicationsFlow.html#//apple_ref/doc/uid/TP40007072-CH4
> New background modes:
> 1. background fetch
> 2. remote notification
> This is either/or mode (modification of Info.plist).
> These require appdelegate functions to be implemented as well. As an 
> alternative, this could be added as "empty" plugins (we provide the plugin 
> template), and the user can just add their custom code in. 
> "Hooking" into the appdelegate is possible with plugins by method proxying, 
> see the Pushwoosh plugin: 
> https://github.com/shaders/phonegap-cordova-push-notifications/blob/cf7f1c1857a4bb88931e8bd34356f0cc6add3c74/iOS/Plugins/PushRuntime.m#L111
> My suggestion is this is added as a plugin.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-4846) Support the two new multitasking modes in iOS 7

2013-09-16 Thread Shazron Abdullah (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shazron Abdullah updated CB-4846:
-

Labels: ios7  (was: )

> Support the two new multitasking modes in iOS 7
> ---
>
> Key: CB-4846
> URL: https://issues.apache.org/jira/browse/CB-4846
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: iOS
>Affects Versions: 3.0.0
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>Priority: Minor
>  Labels: ios7
>
> See 
> https://developer.apple.com/library/prerelease/ios/releasenotes/General/WhatsNewIniOS/Articles/iOS7.html#//apple_ref/doc/uid/TP40013162-SW10
> https://developer.apple.com/library/prerelease/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/ManagingYourApplicationsFlow/ManagingYourApplicationsFlow.html#//apple_ref/doc/uid/TP40007072-CH4
> New background modes:
> 1. background fetch
> 2. remote notification
> This is either/or mode (modification of Info.plist).
> These require appdelegate functions to be implemented as well. As an 
> alternative, this could be added as "empty" plugins (we provide the plugin 
> template), and the user can just add their custom code in. 
> "Hooking" into the appdelegate is possible with plugins by method proxying, 
> see the Pushwoosh plugin: 
> https://github.com/shaders/phonegap-cordova-push-notifications/blob/cf7f1c1857a4bb88931e8bd34356f0cc6add3c74/iOS/Plugins/PushRuntime.m#L111
> My suggestion is this is added as a plugin.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4846) Support the two new multitasking modes in iOS 7

2013-09-16 Thread Shazron Abdullah (JIRA)
Shazron Abdullah created CB-4846:


 Summary: Support the two new multitasking modes in iOS 7
 Key: CB-4846
 URL: https://issues.apache.org/jira/browse/CB-4846
 Project: Apache Cordova
  Issue Type: New Feature
  Components: iOS
Affects Versions: 3.0.0
Reporter: Shazron Abdullah
Assignee: Shazron Abdullah
Priority: Minor


See 
https://developer.apple.com/library/prerelease/ios/releasenotes/General/WhatsNewIniOS/Articles/iOS7.html#//apple_ref/doc/uid/TP40013162-SW10
https://developer.apple.com/library/prerelease/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/ManagingYourApplicationsFlow/ManagingYourApplicationsFlow.html#//apple_ref/doc/uid/TP40007072-CH4

New background modes:
1. background fetch
2. remote notification

This is either/or mode (modification of Info.plist).

These require appdelegate functions to be implemented as well. As an 
alternative, this could be added as "empty" plugins (we provide the plugin 
template), and the user can just add their custom code in. 

"Hooking" into the appdelegate is possible with plugins by method proxying, see 
the Pushwoosh plugin: 
https://github.com/shaders/phonegap-cordova-push-notifications/blob/cf7f1c1857a4bb88931e8bd34356f0cc6add3c74/iOS/Plugins/PushRuntime.m#L111

My suggestion is this is added as a plugin.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4847) iOS 7 microphone access requires user permission - if denied, CDVCapture, CDVSound does not handle it properly

2013-09-16 Thread Shazron Abdullah (JIRA)
Shazron Abdullah created CB-4847:


 Summary: iOS 7 microphone access requires user permission - if 
denied, CDVCapture, CDVSound does not handle it properly
 Key: CB-4847
 URL: https://issues.apache.org/jira/browse/CB-4847
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Media, Plugin Media Capture
Affects Versions: 3.0.0
Reporter: Shazron Abdullah
Assignee: Shazron Abdullah
 Fix For: 3.1.0


When denied, the console log prints "Microphone input permission refused - will 
record only silence".

We need to notify the user.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4813) Media.seekTo on first play. Again

2013-09-16 Thread Alberto Pettarin (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13768803#comment-13768803
 ] 

Alberto Pettarin commented on CB-4813:
--

I confirm the presence of this bug.

Trying seeking before the first invocation of play() does not actually move the 
playing position: the audio file is played from its beginning.
After the first invocation, seekTo() works as expected.

OS: Android (4.1.2 and 4.2.2) and iOS 6
PhoneGap: 3.0

> Media.seekTo on first play. Again
> -
>
> Key: CB-4813
> URL: https://issues.apache.org/jira/browse/CB-4813
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media
>Affects Versions: 2.7.0, 2.9.0, 3.0.0
> Environment: Mac OS X
>Reporter: Snr
>Assignee: Steve Gill
>
> It is impossible to use Media.seekTo before the sound is played the first 
> time.
> There was the same issue previously which was fixed in 2.1.0: 
> https://issues.apache.org/jira/browse/CB-403
> However, I still can replicate the problem: the sound always starts playing 
> from the beginning of the file.
> var audio = new Media("data/q.mp3",function(){},function(){},function(){});
> audio.seekTo(3);
> audio.play();

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Closed] (CB-4762) cordova/run --query sometimes prompts unnecessarily

2013-09-16 Thread Bryan Higgins (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bryan Higgins closed CB-4762.
-

   Resolution: Fixed
Fix Version/s: 3.1.0

> cordova/run --query sometimes prompts unnecessarily
> ---
>
> Key: CB-4762
> URL: https://issues.apache.org/jira/browse/CB-4762
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry
>Affects Versions: Master
>Reporter: Jeffrey Heifetz
>Assignee: Jeffrey Heifetz
> Fix For: 3.1.0
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-4824) Fix Xcode 5 contacts plugin warnings

2013-09-16 Thread James Jong (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Jong resolved CB-4824.


Resolution: Fixed

> Fix Xcode 5 contacts plugin warnings
> 
>
> Key: CB-4824
> URL: https://issues.apache.org/jira/browse/CB-4824
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Affects Versions: 3.0.0
>Reporter: James Jong
>Assignee: James Jong
>  Labels: xcode5
> Attachments: warnings-plugin-contacts.png
>
>
> Fox xcode 5 warnings.  See attached picture.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-4824) Fix Xcode 5 contacts plugin warnings

2013-09-16 Thread James Jong (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Jong updated CB-4824:
---

Labels: xcode5  (was: )

> Fix Xcode 5 contacts plugin warnings
> 
>
> Key: CB-4824
> URL: https://issues.apache.org/jira/browse/CB-4824
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Affects Versions: 3.0.0
>Reporter: James Jong
>Assignee: James Jong
>  Labels: xcode5
> Attachments: warnings-plugin-contacts.png
>
>
> Fox xcode 5 warnings.  See attached picture.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Closed] (CB-4800) cordova platform add blackberry10 sometimes fails on windows XP

2013-09-16 Thread Bryan Higgins (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bryan Higgins closed CB-4800.
-

   Resolution: Fixed
Fix Version/s: 3.1.0

> cordova platform add blackberry10 sometimes fails on windows XP
> ---
>
> Key: CB-4800
> URL: https://issues.apache.org/jira/browse/CB-4800
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry, CLI
>Affects Versions: Master
>Reporter: Jeffrey Heifetz
>Assignee: Jeffrey Heifetz
>Priority: Minor
> Fix For: 3.1.0
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4824) Fix Xcode 5 contacts plugin warnings

2013-09-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13768663#comment-13768663
 ] 

ASF subversion and git services commented on CB-4824:
-

Commit 9608db091cf26dff8415dccaac702a0c959cdcbf in branch refs/heads/dev from 
[~wjamesjong]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-contacts.git;h=9608db0 
]

[CB-4824] Fix XCode 5 contacts plugin warnings


> Fix Xcode 5 contacts plugin warnings
> 
>
> Key: CB-4824
> URL: https://issues.apache.org/jira/browse/CB-4824
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Affects Versions: 3.0.0
>Reporter: James Jong
>Assignee: James Jong
> Attachments: warnings-plugin-contacts.png
>
>
> Fox xcode 5 warnings.  See attached picture.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-4824) Fix Xcode 5 contacts plugin warnings

2013-09-16 Thread James Jong (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Jong updated CB-4824:
---

Attachment: warnings-plugin-contacts.png

> Fix Xcode 5 contacts plugin warnings
> 
>
> Key: CB-4824
> URL: https://issues.apache.org/jira/browse/CB-4824
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Affects Versions: 3.0.0
>Reporter: James Jong
>Assignee: James Jong
> Attachments: warnings-plugin-contacts.png
>
>
> Fox xcode 5 warnings.  See attached picture.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4826) Fix XCode 5 capture plugin warnings

2013-09-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13768752#comment-13768752
 ] 

ASF subversion and git services commented on CB-4826:
-

Commit 1dcba489e2cc8fcc5505977de6c025348d362238 in branch refs/heads/dev from 
[~wjamesjong]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-media-capture.git;h=1dcba48
 ]

[CB-4826] Fix warning using UITextAlignmentCenter

-Use NSTextAlignmentCenter for SDK 6.0 or later


> Fix XCode 5 capture plugin warnings
> ---
>
> Key: CB-4826
> URL: https://issues.apache.org/jira/browse/CB-4826
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media Capture
>Affects Versions: 3.0.0
>Reporter: James Jong
>Assignee: James Jong
> Attachments: warnings-plugin-capture.png
>
>
> Fox xcode 5 warnings.  See attached picture.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4826) Fix XCode 5 capture plugin warnings

2013-09-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13768736#comment-13768736
 ] 

ASF subversion and git services commented on CB-4826:
-

Commit 81ad45820696c8b370dffe12d4348763a9dc9e96 in branch refs/heads/dev from 
[~wjamesjong]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-media-capture.git;h=81ad458
 ]

[CB-4826] Fix XCode 5 capture plugin warnings

-fix selector warnings


> Fix XCode 5 capture plugin warnings
> ---
>
> Key: CB-4826
> URL: https://issues.apache.org/jira/browse/CB-4826
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media Capture
>Affects Versions: 3.0.0
>Reporter: James Jong
>Assignee: James Jong
> Attachments: warnings-plugin-capture.png
>
>
> Fox xcode 5 warnings.  See attached picture.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4762) cordova/run --query sometimes prompts unnecessarily

2013-09-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13768656#comment-13768656
 ] 

ASF subversion and git services commented on CB-4762:
-

Commit fbe4de9c1f4f91fe95106177696bc73decbc8ade in branch refs/heads/master 
from [~jeffheifetz]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;h=fbe4de9 ]

[CB-4762] Added a fix to the run script to error out when the IP is not found

Reviewed by Bryan Higgins 
Tested by Daniel Audino 


> cordova/run --query sometimes prompts unnecessarily
> ---
>
> Key: CB-4762
> URL: https://issues.apache.org/jira/browse/CB-4762
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry
>Affects Versions: Master
>Reporter: Jeffrey Heifetz
>Assignee: Jeffrey Heifetz
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-4564) [BlackBerry10] Prevent rogue files from being added to frameworkModules.js

2013-09-16 Thread Bryan Higgins (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bryan Higgins resolved CB-4564.
---

Resolution: Fixed

> [BlackBerry10] Prevent rogue files from being added to frameworkModules.js
> --
>
> Key: CB-4564
> URL: https://issues.apache.org/jira/browse/CB-4564
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry
>Affects Versions: 3.0.0
>Reporter: Bryan Higgins
>Assignee: Bryan Higgins
> Fix For: 3.1.0
>
>
> Its possible to get hidden files (for instance .DSStore or .swp or Mac) added 
> into the frameworkModules file. We should check that only JavaScript is going 
> in.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-4563) [BlackBerry10] Move blackberry.app feature params to widget preferences

2013-09-16 Thread Bryan Higgins (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bryan Higgins resolved CB-4563.
---

Resolution: Fixed

> [BlackBerry10] Move blackberry.app feature params to widget preferences
> ---
>
> Key: CB-4563
> URL: https://issues.apache.org/jira/browse/CB-4563
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry
>Affects Versions: 3.0.0
>Reporter: Bryan Higgins
>Assignee: Bryan Higgins
> Fix For: 3.1.0
>
>
> Global widget preferences (such as orientation) should be moved out of the 
> blackberry.app feature.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-4634) [BlackBerry10] Update hello world splash screen / icon assets

2013-09-16 Thread Bryan Higgins (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bryan Higgins resolved CB-4634.
---

Resolution: Fixed

> [BlackBerry10] Update hello world splash screen / icon assets
> -
>
> Key: CB-4634
> URL: https://issues.apache.org/jira/browse/CB-4634
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: App Hello World, BlackBerry
>Affects Versions: 3.0.0
>Reporter: Bryan Higgins
>Assignee: Bryan Higgins
> Fix For: 3.1.0
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-4564) [BlackBerry10] Prevent rogue files from being added to frameworkModules.js

2013-09-16 Thread Bryan Higgins (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bryan Higgins resolved CB-4564.
---

Resolution: Fixed

> [BlackBerry10] Prevent rogue files from being added to frameworkModules.js
> --
>
> Key: CB-4564
> URL: https://issues.apache.org/jira/browse/CB-4564
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry
>Affects Versions: 3.0.0
>Reporter: Bryan Higgins
>Assignee: Bryan Higgins
> Fix For: 3.1.0
>
>
> Its possible to get hidden files (for instance .DSStore or .swp or Mac) added 
> into the frameworkModules file. We should check that only JavaScript is going 
> in.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-4619) [BlackBerry10] Update docs for splashscreen plugin

2013-09-16 Thread Bryan Higgins (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bryan Higgins resolved CB-4619.
---

Resolution: Fixed

> [BlackBerry10] Update docs for splashscreen plugin
> --
>
> Key: CB-4619
> URL: https://issues.apache.org/jira/browse/CB-4619
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: BlackBerry, Docs
>Affects Versions: 3.0.0
>Reporter: Bryan Higgins
>Assignee: Bryan Higgins
> Fix For: 3.1.0
>
>
> This is actually a docs issue. gap:splash has been deprecated. Each platform 
> has its own specific instructions for adding resources.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4619) [BlackBerry10] Update docs for splashscreen plugin

2013-09-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13768705#comment-13768705
 ] 

ASF subversion and git services commented on CB-4619:
-

Commit 5265f7088d3cbe88de32dc3349ecec812505e879 in branch refs/heads/master 
from [~bhigg...@blackberry.com]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;h=5265f70 ]

[CB-4619] Add splashscreen instructions for BlackBerry10


> [BlackBerry10] Update docs for splashscreen plugin
> --
>
> Key: CB-4619
> URL: https://issues.apache.org/jira/browse/CB-4619
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: BlackBerry, Docs
>Affects Versions: 3.0.0
>Reporter: Bryan Higgins
>Assignee: Bryan Higgins
> Fix For: 3.1.0
>
>
> This is actually a docs issue. gap:splash has been deprecated. Each platform 
> has its own specific instructions for adding resources.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2293) File Transfer of picture fails on every other picture

2013-09-16 Thread Andrew Grieve (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13768680#comment-13768680
 ] 

Andrew Grieve commented on CB-2293:
---

Looks like a newer version of OkHttp has a chance of fixing this.

Particularly this commit looks promising:
https://github.com/square/okhttp/commit/155a516b54ed60ec796cf5b9f2d8705012c5ceae

It's not included in a released version yet though.

> File Transfer of picture fails on every other picture
> -
>
> Key: CB-2293
> URL: https://issues.apache.org/jira/browse/CB-2293
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 2.2.0, 2.3.0
> Environment: Tested on a Motorola Atrix HD(Android 4.1.2) as well as 
> a Samsung Galaxy S3(Android 4.1.1)
>Reporter: Amrit Kahlon
>Assignee: Ian Clelland
> Fix For: 2.8.0
>
> Attachments: cordova-2.4.0rc1.jar
>
>
> When uploading pictures using the File Transfer function on android, the 
> first picture will upload fine. Then the second upload will give the 
> following error:
> 01-21 13:48:02.545: W/FileTransfer(8894): Error getting HTTP status code from 
> connection.
> 01-21 13:48:02.545: W/FileTransfer(8894): java.io.EOFException
> 01-21 13:48:02.545: W/FileTransfer(8894): at 
> libcore.io.Streams.readAsciiLine(Streams.java:203)
> 01-21 13:48:02.545: W/FileTransfer(8894): at 
> libcore.net.http.HttpEngine.readResponseHeaders(HttpEngine.java:560)
> 01-21 13:48:02.545: W/FileTransfer(8894): at 
> libcore.net.http.HttpEngine.readResponse(HttpEngine.java:813)
> 01-21 13:48:02.545: W/FileTransfer(8894): at 
> libcore.net.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:274)
> 01-21 13:48:02.545: W/FileTransfer(8894): at 
> libcore.net.http.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:486)
> 01-21 13:48:02.545: W/FileTransfer(8894): at 
> org.apache.cordova.FileTransfer.createFileTransferError(FileTransfer.java:535)
> 01-21 13:48:02.545: W/FileTransfer(8894): at 
> org.apache.cordova.FileTransfer.access$500(FileTransfer.java:62)
> 01-21 13:48:02.545: W/FileTransfer(8894): at 
> org.apache.cordova.FileTransfer$1.run(FileTransfer.java:437)
> 01-21 13:48:02.545: W/FileTransfer(8894): at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
> 01-21 13:48:02.545: W/FileTransfer(8894): at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
> 01-21 13:48:02.545: W/FileTransfer(8894): at 
> java.lang.Thread.run(Thread.java:856)
> 01-21 13:48:02.555: E/FileTransfer(8894): 
> {"target":"http:\/\/xxx.xxx.xxx\/api\/photo_uploads\/create?version=2&api_key=x&source=androidapp-2.2.1","source":"file:\/\/\/storage\/sdcard0\/Android\/data\/com.hockeycommunity.hc_app\/cache\/resize.jpg?1358804880392","code":3}
> 01-21 13:48:02.555: E/FileTransfer(8894): java.net.SocketException: sendto 
> failed: EPIPE (Broken pipe)
> 01-21 13:48:02.555: E/FileTransfer(8894): at 
> libcore.io.IoBridge.maybeThrowAfterSendto(IoBridge.java:506)
> 01-21 13:48:02.555: E/FileTransfer(8894): at 
> libcore.io.IoBridge.sendto(IoBridge.java:475)
> 01-21 13:48:02.555: E/FileTransfer(8894): at 
> java.net.PlainSocketImpl.write(PlainSocketImpl.java:508)
> 01-21 13:48:02.555: E/FileTransfer(8894): at 
> java.net.PlainSocketImpl.access$100(PlainSocketImpl.java:46)
> 01-21 13:48:02.555: E/FileTransfer(8894): at 
> java.net.PlainSocketImpl$PlainSocketOutputStream.write(PlainSocketImpl.java:270)
> 01-21 13:48:02.555: E/FileTransfer(8894): at 
> libcore.net.http.FixedLengthOutputStream.write(FixedLengthOutputStream.java:41)
> 01-21 13:48:02.555: E/FileTransfer(8894): at 
> java.io.DataOutputStream.write(DataOutputStream.java:98)
> 01-21 13:48:02.555: E/FileTransfer(8894): at 
> org.apache.cordova.FileTransfer$1.run(FileTransfer.java:372)
> 01-21 13:48:02.555: E/FileTransfer(8894): at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
> 01-21 13:48:02.555: E/FileTransfer(8894): at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
> 01-21 13:48:02.555: E/FileTransfer(8894): at 
> java.lang.Thread.run(Thread.java:856)
> 01-21 13:48:02.555: E/FileTransfer(8894): Caused by: 
> libcore.io.ErrnoException: sendto failed: EPIPE (Broken pipe)
> 01-21 13:48:02.555: E/FileTransfer(8894): at 
> libcore.io.Posix.sendtoBytes(Native Method)
> 01-21 13:48:02.555: E/FileTransfer(8894): at 
> libcore.io.Posix.sendto(Posix.java:146)
> 01-21 13:48:02.555: E/FileTransfer(8894): at 
> libcore.io.BlockGuardOs.sendto(BlockGuardOs.java:177)
> 01-21 13:48:02.555: E/FileTransfer(8894): at 
> libcore.io.IoBridge.sendto(IoBridge.java:

[jira] [Resolved] (CB-4831) [Release + 3.1.0] Branch & Tag RC1 for: cordova-js, cordova-mobile-spec and cordova-app-hello-world

2013-09-16 Thread Andrew Grieve (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Grieve resolved CB-4831.
---

Resolution: Fixed

> [Release + 3.1.0] Branch & Tag RC1 for: cordova-js, cordova-mobile-spec and 
> cordova-app-hello-world
> ---
>
> Key: CB-4831
> URL: https://issues.apache.org/jira/browse/CB-4831
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: App Hello World, CordovaJS, mobile-spec
>Reporter: Andrew Grieve
>Assignee: Andrew Grieve
> Fix For: 3.1.0
>
>
> Refer to Workflow here:
> http://wiki.apache.org/cordova/CuttingReleases

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4830) [Release + 3.1.0] Parent Issue

2013-09-16 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-4830:
-

 Summary: [Release + 3.1.0] Parent Issue
 Key: CB-4830
 URL: https://issues.apache.org/jira/browse/CB-4830
 Project: Apache Cordova
  Issue Type: Task
  Components: mobile-spec, CLI, CordovaJS, OSX, WP8, Android, App Hello 
World, BlackBerry, Docs, iOS
Reporter: Andrew Grieve
Assignee: Andrew Grieve
 Fix For: 3.1.0


Parent bug for the 3.1.0 Cordova Release.

Workflow here:
http://wiki.apache.org/cordova/CuttingReleases

Release Master: ?

Component Leads: Refer to assignee of "Test & Tag" sub-tasks.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4836) [Release + 3.1.0] Tag RC1 for Mac OSX

2013-09-16 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-4836:
-

 Summary: [Release + 3.1.0] Tag RC1 for Mac OSX
 Key: CB-4836
 URL: https://issues.apache.org/jira/browse/CB-4836
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: OSX
Reporter: Andrew Grieve
Assignee: Shazron Abdullah
 Fix For: 3.1.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases

Don't forget about CHANGELOG.md

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4834) [Release + 3.1.0] Tag RC1 for BlackBerry

2013-09-16 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-4834:
-

 Summary: [Release + 3.1.0] Tag RC1 for BlackBerry
 Key: CB-4834
 URL: https://issues.apache.org/jira/browse/CB-4834
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: BlackBerry
Reporter: Andrew Grieve
Assignee: Lorin Beer
 Fix For: 3.1.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases

Don't forget about CHANGELOG.md

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4835) [Release + 3.1.0] Tag RC1 for Windows Phone 8

2013-09-16 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-4835:
-

 Summary: [Release + 3.1.0] Tag RC1 for Windows Phone 8
 Key: CB-4835
 URL: https://issues.apache.org/jira/browse/CB-4835
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: WP8
Reporter: Andrew Grieve
Assignee: Jesse MacFadyen
 Fix For: 3.1.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases

Don't forget about CHANGELOG.md

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4840) [Release + 3.1.0] Test & Tag 3.1.0 for BlackBerry

2013-09-16 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-4840:
-

 Summary: [Release + 3.1.0] Test & Tag 3.1.0 for BlackBerry
 Key: CB-4840
 URL: https://issues.apache.org/jira/browse/CB-4840
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: BlackBerry
Reporter: Andrew Grieve
Assignee: Lorin Beer
 Fix For: 3.1.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases

Don't forget about upgrade guides!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4832) [Release + 3.1.0] Tag RC1 for Android

2013-09-16 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-4832:
-

 Summary: [Release + 3.1.0] Tag RC1 for Android
 Key: CB-4832
 URL: https://issues.apache.org/jira/browse/CB-4832
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Android
Reporter: Andrew Grieve
Assignee: Joe Bowser
 Fix For: 3.1.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases

Don't forget about CHANGELOG.md

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4833) [Release + 3.1.0] Tag RC1 for iOS

2013-09-16 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-4833:
-

 Summary: [Release + 3.1.0] Tag RC1 for iOS
 Key: CB-4833
 URL: https://issues.apache.org/jira/browse/CB-4833
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: iOS
Reporter: Andrew Grieve
Assignee: Shazron Abdullah
 Fix For: 3.1.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases

Don't forget about CHANGELOG.md

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4831) [Release + 3.1.0] Branch & Tag RC1 for: cordova-js, cordova-mobile-spec and cordova-app-hello-world

2013-09-16 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-4831:
-

 Summary: [Release + 3.1.0] Branch & Tag RC1 for: cordova-js, 
cordova-mobile-spec and cordova-app-hello-world
 Key: CB-4831
 URL: https://issues.apache.org/jira/browse/CB-4831
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: mobile-spec, CordovaJS, App Hello World
Reporter: Andrew Grieve
Assignee: Andrew Grieve
 Fix For: 3.1.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4837) [Release + 3.1.0] Branch & Tag RC1 of cordova-cli

2013-09-16 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-4837:
-

 Summary: [Release + 3.1.0] Branch & Tag RC1 of cordova-cli
 Key: CB-4837
 URL: https://issues.apache.org/jira/browse/CB-4837
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: CLI
Reporter: Andrew Grieve
Assignee: Braden Shepherdson
 Fix For: 3.1.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4843) [Release + 3.1.0] Test & Tag 3.1.0 of cordova-cli

2013-09-16 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-4843:
-

 Summary: [Release + 3.1.0] Test & Tag 3.1.0 of cordova-cli
 Key: CB-4843
 URL: https://issues.apache.org/jira/browse/CB-4843
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: CLI
Reporter: Andrew Grieve
Assignee: Braden Shepherdson
 Fix For: 3.1.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4841) [Release + 3.1.0] Test & Tag 3.1.0 for Windows Phone 8

2013-09-16 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-4841:
-

 Summary: [Release + 3.1.0] Test & Tag 3.1.0 for Windows Phone 8
 Key: CB-4841
 URL: https://issues.apache.org/jira/browse/CB-4841
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: WP8
Reporter: Andrew Grieve
Assignee: Jesse MacFadyen
 Fix For: 3.1.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases

Don't forget about upgrade guides!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4829) Xcode 5 simulated device names are different (and includes a new 64-bit device)

2013-09-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13768690#comment-13768690
 ] 

ASF subversion and git services commented on CB-4829:
-

Commit cace580085c28841e1b4b4d887aa172caa31849a in branch refs/heads/master 
from [~shazron]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=cace580 ]

[CB-4829] Xcode 5 simulated device names are different (and includes a new 
64-bit device)


> Xcode 5 simulated device names are different (and includes a new 64-bit 
> device)
> ---
>
> Key: CB-4829
> URL: https://issues.apache.org/jira/browse/CB-4829
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 3.0.0
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
> Fix For: 3.1.0
>
>
> This affects the project/cordova/lib scripts.
> For example:
> "iPhone (Retina 4-inch)" is now "iPhone Retina (4-inch)".
> There is a new "iPhone Retina (4-inch 64-bit)".
> Switch on Xcode version to use the different names :/
> Although if we are supporting Xcode 5 exclusively this won't be a problem 
> (soon).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4845) [Release + 3.1.0] Announce Release

2013-09-16 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-4845:
-

 Summary: [Release + 3.1.0] Announce Release
 Key: CB-4845
 URL: https://issues.apache.org/jira/browse/CB-4845
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: mobile-spec, CLI, CordovaJS, OSX, WP8, Android, App Hello 
World, BlackBerry, Docs, iOS
Reporter: Andrew Grieve
Assignee: Andrew Grieve
 Fix For: 3.1.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4838) [Release + 3.1.0] Test & Tag 3.1.0 for Android

2013-09-16 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-4838:
-

 Summary: [Release + 3.1.0] Test & Tag 3.1.0 for Android
 Key: CB-4838
 URL: https://issues.apache.org/jira/browse/CB-4838
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Android
Reporter: Andrew Grieve
Assignee: Joe Bowser
 Fix For: 3.1.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases

Don't forget about upgrade guides!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-4826) Fix XCode 5 capture plugin warnings

2013-09-16 Thread James Jong (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Jong updated CB-4826:
---

Attachment: warnings-plugin-capture.png

> Fix XCode 5 capture plugin warnings
> ---
>
> Key: CB-4826
> URL: https://issues.apache.org/jira/browse/CB-4826
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media Capture
>Affects Versions: 3.0.0
>Reporter: James Jong
>Assignee: James Jong
> Attachments: warnings-plugin-capture.png
>
>
> Fox xcode 5 warnings.  See attached picture.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4829) Xcode 5 simulated device names are different (and includes a new 64-bit device)

2013-09-16 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13768672#comment-13768672
 ] 

Shazron Abdullah commented on CB-4829:
--

Ok, gonna scrap the use of the old names and use the new ones, since Xcode 5 
will be required with iOS 7.

> Xcode 5 simulated device names are different (and includes a new 64-bit 
> device)
> ---
>
> Key: CB-4829
> URL: https://issues.apache.org/jira/browse/CB-4829
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 3.0.0
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
> Fix For: 3.1.0
>
>
> This affects the project/cordova/lib scripts.
> For example:
> "iPhone (Retina 4-inch)" is now "iPhone Retina (4-inch)".
> There is a new "iPhone Retina (4-inch 64-bit)".
> Switch on Xcode version to use the different names :/
> Although if we are supporting Xcode 5 exclusively this won't be a problem 
> (soon).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4842) [Release + 3.1.0] Test & Tag 3.1.0 for Mac OSX

2013-09-16 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-4842:
-

 Summary: [Release + 3.1.0] Test & Tag 3.1.0 for Mac OSX
 Key: CB-4842
 URL: https://issues.apache.org/jira/browse/CB-4842
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: OSX
Reporter: Andrew Grieve
Assignee: Shazron Abdullah
 Fix For: 3.1.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases

Don't forget about upgrade guides!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-4829) Xcode 5 simulated device names are different (and includes a new 64-bit device)

2013-09-16 Thread Shazron Abdullah (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shazron Abdullah resolved CB-4829.
--

Resolution: Fixed

> Xcode 5 simulated device names are different (and includes a new 64-bit 
> device)
> ---
>
> Key: CB-4829
> URL: https://issues.apache.org/jira/browse/CB-4829
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 3.0.0
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
> Fix For: 3.1.0
>
>
> This affects the project/cordova/lib scripts.
> For example:
> "iPhone (Retina 4-inch)" is now "iPhone Retina (4-inch)".
> There is a new "iPhone Retina (4-inch 64-bit)".
> Switch on Xcode version to use the different names :/
> Although if we are supporting Xcode 5 exclusively this won't be a problem 
> (soon).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4839) [Release + 3.1.0] Test & Tag 3.1.0 for iOS

2013-09-16 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-4839:
-

 Summary: [Release + 3.1.0] Test & Tag 3.1.0 for iOS
 Key: CB-4839
 URL: https://issues.apache.org/jira/browse/CB-4839
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: iOS
Reporter: Andrew Grieve
Assignee: Shazron Abdullah
 Fix For: 3.1.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases

Don't forget about upgrade guides!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4844) [Release + 3.1.0] Upload signed release .zip to Apache Dist

2013-09-16 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-4844:
-

 Summary: [Release + 3.1.0] Upload signed release .zip to Apache 
Dist
 Key: CB-4844
 URL: https://issues.apache.org/jira/browse/CB-4844
 Project: Apache Cordova
  Issue Type: Sub-task
Reporter: Andrew Grieve
 Fix For: 3.1.0


Refer to Workflow here:
http://wiki.apache.org/cordova/CuttingReleases

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4530) iOS bin/check_reqs script should check for xcode 4.6 as minimum, and exit with code 2 if error occurs

2013-09-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13768621#comment-13768621
 ] 

ASF subversion and git services commented on CB-4530:
-

Commit 133cac8331ce533e88861e2a563cc6c3769be317 in branch refs/heads/master 
from [~shazron]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=133cac8 ]

[CB-4530] iOS bin/check_reqs script should check for xcode 4.6 as minimum, and 
exit with code 2 if error occurs


> iOS bin/check_reqs script should check for xcode 4.6 as minimum, and exit 
> with code 2 if error occurs
> -
>
> Key: CB-4530
> URL: https://issues.apache.org/jira/browse/CB-4530
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 3.0.0
>Reporter: Filip Maj
>Assignee: Shazron Abdullah
> Fix For: 3.1.0
>
>
> As per title!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-4530) iOS bin/check_reqs script should check for xcode 4.6 as minimum, and exit with code 2 if error occurs

2013-09-16 Thread Shazron Abdullah (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shazron Abdullah updated CB-4530:
-

Fix Version/s: 3.1.0

> iOS bin/check_reqs script should check for xcode 4.6 as minimum, and exit 
> with code 2 if error occurs
> -
>
> Key: CB-4530
> URL: https://issues.apache.org/jira/browse/CB-4530
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 3.0.0
>Reporter: Filip Maj
>Assignee: Shazron Abdullah
> Fix For: 3.1.0
>
>
> As per title!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4823) Fix XCode 5 camera plugin warnings

2013-09-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13768643#comment-13768643
 ] 

ASF subversion and git services commented on CB-4823:
-

Commit 9bcf725e393e76502253f01b28399c1fa6bd6b5c in branch refs/heads/dev from 
[~wjamesjong]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-camera.git;h=9bcf725 
]

[CB-4823] Fix XCode 5 camera plugin warnings


> Fix XCode 5 camera plugin warnings
> --
>
> Key: CB-4823
> URL: https://issues.apache.org/jira/browse/CB-4823
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 3.0.0
>Reporter: James Jong
>Assignee: James Jong
>  Labels: xcode5
> Fix For: Master
>
> Attachments: warnings-plugin-camera.png
>
>
> Fix xcode 5 warnings.  See attached picture.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4827) iOS project/cordova/check_reqs script should be used by all the scripts

2013-09-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13768644#comment-13768644
 ] 

ASF subversion and git services commented on CB-4827:
-

Commit 5ee272ef63f2515b52c3740f5d547135d677d7c8 in branch refs/heads/master 
from [~shazron]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=5ee272e ]

[CB-4827] iOS project/cordova/check_reqs script should be used by all the 
scripts


> iOS project/cordova/check_reqs script should be used by all the scripts
> ---
>
> Key: CB-4827
> URL: https://issues.apache.org/jira/browse/CB-4827
> Project: Apache Cordova
>  Issue Type: Task
>  Components: iOS
>Affects Versions: 3.0.0
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>Priority: Minor
> Fix For: 3.1.0
>
>
> This is to check for Xcode version. Right now code is duplicated across all 
> the scripts for this check.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-4827) iOS project/cordova/check_reqs script should be used by all the scripts

2013-09-16 Thread Shazron Abdullah (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shazron Abdullah resolved CB-4827.
--

Resolution: Fixed

> iOS project/cordova/check_reqs script should be used by all the scripts
> ---
>
> Key: CB-4827
> URL: https://issues.apache.org/jira/browse/CB-4827
> Project: Apache Cordova
>  Issue Type: Task
>  Components: iOS
>Affects Versions: 3.0.0
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>Priority: Minor
> Fix For: 3.1.0
>
>
> This is to check for Xcode version. Right now code is duplicated across all 
> the scripts for this check.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-4530) iOS bin/check_reqs script should check for xcode 4.6 as minimum, and exit with code 2 if error occurs

2013-09-16 Thread Shazron Abdullah (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shazron Abdullah resolved CB-4530.
--

Resolution: Fixed

> iOS bin/check_reqs script should check for xcode 4.6 as minimum, and exit 
> with code 2 if error occurs
> -
>
> Key: CB-4530
> URL: https://issues.apache.org/jira/browse/CB-4530
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 3.0.0
>Reporter: Filip Maj
>Assignee: Shazron Abdullah
> Fix For: 3.1.0
>
>
> As per title!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4824) Fix Xcode 5 contacts plugin warnings

2013-09-16 Thread James Jong (JIRA)
James Jong created CB-4824:
--

 Summary: Fix Xcode 5 contacts plugin warnings
 Key: CB-4824
 URL: https://issues.apache.org/jira/browse/CB-4824
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Contacts
Affects Versions: 3.0.0
Reporter: James Jong
Assignee: James Jong


Fox xcode 5 warnings.  See attached picture.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4829) Xcode 5 simulated device names are different (and includes a new 64-bit device)

2013-09-16 Thread Shazron Abdullah (JIRA)
Shazron Abdullah created CB-4829:


 Summary: Xcode 5 simulated device names are different (and 
includes a new 64-bit device)
 Key: CB-4829
 URL: https://issues.apache.org/jira/browse/CB-4829
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.0.0
Reporter: Shazron Abdullah
Assignee: Shazron Abdullah
 Fix For: 3.1.0


This affects the project/cordova/lib scripts.

For example:
"iPhone (Retina 4-inch)" is now "iPhone Retina (4-inch)".

There is a new "iPhone Retina (4-inch 64-bit)".

Switch on Xcode version to use the different names :/
Although if we are supporting Xcode 5 exclusively this won't be a problem 
(soon).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4800) cordova platform add blackberry10 sometimes fails on windows XP

2013-09-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13768652#comment-13768652
 ] 

ASF subversion and git services commented on CB-4800:
-

Commit 5334f108d2ddf1188b8059c92a551c0a2f1cbf16 in branch refs/heads/master 
from [~jeffheifetz]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;h=5334f10 ]

[CB-4800] Workaround a Short File Name error on WinXP while maintaining fix for 
long paths

Reviewed by Bryan Higgins 
Tested by Tracy Li 


> cordova platform add blackberry10 sometimes fails on windows XP
> ---
>
> Key: CB-4800
> URL: https://issues.apache.org/jira/browse/CB-4800
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry, CLI
>Affects Versions: Master
>Reporter: Jeffrey Heifetz
>Assignee: Jeffrey Heifetz
>Priority: Minor
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-4537) iOS bin/create script should copy check_reqs script into project/cordova folder

2013-09-16 Thread Shazron Abdullah (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shazron Abdullah resolved CB-4537.
--

Resolution: Fixed

> iOS bin/create script should copy check_reqs script into project/cordova 
> folder
> ---
>
> Key: CB-4537
> URL: https://issues.apache.org/jira/browse/CB-4537
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: iOS
>Affects Versions: Master
>Reporter: Filip Maj
>Assignee: Shazron Abdullah
> Fix For: 3.1.0
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4537) iOS bin/create script should copy check_reqs script into project/cordova folder

2013-09-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13768617#comment-13768617
 ] 

ASF subversion and git services commented on CB-4537:
-

Commit 91d4512dd53d43da34fa079d9d6453857074f2a6 in branch refs/heads/master 
from [~shazron]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=91d4512 ]

[CB-4537] iOS bin/create script should copy check_reqs script into 
project/cordova folder


> iOS bin/create script should copy check_reqs script into project/cordova 
> folder
> ---
>
> Key: CB-4537
> URL: https://issues.apache.org/jira/browse/CB-4537
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: iOS
>Affects Versions: Master
>Reporter: Filip Maj
>Assignee: Shazron Abdullah
> Fix For: 3.1.0
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4823) Fix XCode 5 warnings

2013-09-16 Thread James Jong (JIRA)
James Jong created CB-4823:
--

 Summary: Fix XCode 5 warnings
 Key: CB-4823
 URL: https://issues.apache.org/jira/browse/CB-4823
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Camera
Affects Versions: 3.0.0
Reporter: James Jong
Assignee: James Jong
 Fix For: Master


Fix xcode 5 warnings.  See attached picture.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-4823) Fix XCode 5 camera plugin warnings

2013-09-16 Thread James Jong (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Jong updated CB-4823:
---

Summary: Fix XCode 5 camera plugin warnings  (was: Fix XCode 5 warnings)

> Fix XCode 5 camera plugin warnings
> --
>
> Key: CB-4823
> URL: https://issues.apache.org/jira/browse/CB-4823
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 3.0.0
>Reporter: James Jong
>Assignee: James Jong
>  Labels: xcode5
> Fix For: Master
>
>
> Fix xcode 5 warnings.  See attached picture.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4681) jQuery Ajax callbacks not executed

2013-09-16 Thread Jesse MacFadyen (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13768645#comment-13768645
 ] 

Jesse MacFadyen commented on CB-4681:
-

Here is the new failing test:

{code}
it("XMLHttpRequest.spec.9 calls onload from successful http get", function 
() {
var win = jasmine.createSpy().andCallFake(function (res) { });
var lose = createDoNotCallSpy('xhrFail');
var xhr = createXHR("http://issues.apache.org/jira/browse/CB-4681";, 
true, win, lose);
waitsForAny(win, lose);
});
{code}

> jQuery Ajax callbacks not executed
> --
>
> Key: CB-4681
> URL: https://issues.apache.org/jira/browse/CB-4681
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: WP8
>Affects Versions: 3.0.0
> Environment: Windows 8 Professional
>Reporter: Jonathan Naguin
>Assignee: Jesse MacFadyen
>Priority: Critical
> Fix For: 3.1.0
>
>
> I have an Ajax request to a server, but the _success_ callback or any 
> callback is not executed even if the server respond with a 200 code (I saw 
> the logs using Wireshark).
> {code}
> $.ajax({
> url: 'http://example.com',
> data: { foo: 'bar' },
> dataType: 'json',
> success: function (data) { 
> console.log(data); 
> },
> error: function(){
> console.log("Error"); 
> },
> complete: function(){
> console.log("Complete");
> }
> });
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Reopened] (CB-4681) jQuery Ajax callbacks not executed

2013-09-16 Thread Jesse MacFadyen (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jesse MacFadyen reopened CB-4681:
-


Oops

> jQuery Ajax callbacks not executed
> --
>
> Key: CB-4681
> URL: https://issues.apache.org/jira/browse/CB-4681
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: WP8
>Affects Versions: 3.0.0
> Environment: Windows 8 Professional
>Reporter: Jonathan Naguin
>Assignee: Jesse MacFadyen
>Priority: Critical
> Fix For: 3.1.0
>
>
> I have an Ajax request to a server, but the _success_ callback or any 
> callback is not executed even if the server respond with a 200 code (I saw 
> the logs using Wireshark).
> {code}
> $.ajax({
> url: 'http://example.com',
> data: { foo: 'bar' },
> dataType: 'json',
> success: function (data) { 
> console.log(data); 
> },
> error: function(){
> console.log("Error"); 
> },
> complete: function(){
> console.log("Complete");
> }
> });
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4828) CLI does not properly relative symlinks that exist within www/

2013-09-16 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-4828:
-

 Summary: CLI does not properly relative symlinks that exist within 
www/
 Key: CB-4828
 URL: https://issues.apache.org/jira/browse/CB-4828
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Reporter: Andrew Grieve
Assignee: Braden Shepherdson
Priority: Minor


Reported via ML: http://markmail.org/thread/q5d4cu67psiw5fwt

It currently copies them over verbatim, and so the links become invalid.

Not sure if we should just resolve the links when copying, or copy the links 
but update their paths (or create a new link that points to the old link)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-4681) jQuery Ajax callbacks not executed

2013-09-16 Thread Jesse MacFadyen (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jesse MacFadyen resolved CB-4681.
-

   Resolution: Fixed
Fix Version/s: 3.1.0

Addressed with CB-4421

> jQuery Ajax callbacks not executed
> --
>
> Key: CB-4681
> URL: https://issues.apache.org/jira/browse/CB-4681
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: WP8
>Affects Versions: 3.0.0
> Environment: Windows 8 Professional
>Reporter: Jonathan Naguin
>Assignee: Jesse MacFadyen
>Priority: Critical
> Fix For: 3.1.0
>
>
> I have an Ajax request to a server, but the _success_ callback or any 
> callback is not executed even if the server respond with a 200 code (I saw 
> the logs using Wireshark).
> {code}
> $.ajax({
> url: 'http://example.com',
> data: { foo: 'bar' },
> dataType: 'json',
> success: function (data) { 
> console.log(data); 
> },
> error: function(){
> console.log("Error"); 
> },
> complete: function(){
> console.log("Complete");
> }
> });
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4827) iOS project/cordova/check_reqs script should be used by all the scripts

2013-09-16 Thread Shazron Abdullah (JIRA)
Shazron Abdullah created CB-4827:


 Summary: iOS project/cordova/check_reqs script should be used by 
all the scripts
 Key: CB-4827
 URL: https://issues.apache.org/jira/browse/CB-4827
 Project: Apache Cordova
  Issue Type: Task
  Components: iOS
Affects Versions: 3.0.0
Reporter: Shazron Abdullah
Assignee: Shazron Abdullah
Priority: Minor
 Fix For: 3.1.0


This is to check for Xcode version. Right now code is duplicated across all the 
scripts for this check.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-4823) Fix XCode 5 camera plugin warnings

2013-09-16 Thread James Jong (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Jong updated CB-4823:
---

Attachment: warnings-plugin-camera.png

> Fix XCode 5 camera plugin warnings
> --
>
> Key: CB-4823
> URL: https://issues.apache.org/jira/browse/CB-4823
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 3.0.0
>Reporter: James Jong
>Assignee: James Jong
>  Labels: xcode5
> Fix For: Master
>
> Attachments: warnings-plugin-camera.png
>
>
> Fix xcode 5 warnings.  See attached picture.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4825) Fix XCode 5 accelerometer plugin warnings

2013-09-16 Thread James Jong (JIRA)
James Jong created CB-4825:
--

 Summary: Fix XCode 5 accelerometer plugin warnings
 Key: CB-4825
 URL: https://issues.apache.org/jira/browse/CB-4825
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Device Motion
Affects Versions: 3.0.0
Reporter: James Jong
Assignee: James Jong


Fox xcode 5 warnings.  See attached picture.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4826) Fix XCode 5 capture plugin warnings

2013-09-16 Thread James Jong (JIRA)
James Jong created CB-4826:
--

 Summary: Fix XCode 5 capture plugin warnings
 Key: CB-4826
 URL: https://issues.apache.org/jira/browse/CB-4826
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Media Capture
Affects Versions: 3.0.0
Reporter: James Jong
Assignee: James Jong


Fox xcode 5 warnings.  See attached picture.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Closed] (CB-4819) InAppBrowser.removeEventListener - description of callback parameter

2013-09-16 Thread Mike Billau (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mike Billau closed CB-4819.
---

Resolution: Invalid

> InAppBrowser.removeEventListener - description of callback parameter
> 
>
> Key: CB-4819
> URL: https://issues.apache.org/jira/browse/CB-4819
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Affects Versions: 2.9.0
>Reporter: Peter
>Assignee: Michael Brooks
>Priority: Minor
>
> The documentation for removeEventListener seems like a cut/paste error from 
> addEventListener.
> http://cordova.apache.org/docs/en/3.0.0/cordova_inappbrowser_inappbrowser.md.html#removeEventListener
>  says:
> {quote}
> *callback:* the function to execute when the event fires. The function is 
> passed an InAppBrowserEvent object.
> {quote}
> It might be better described as something like:
> {quote}
> *callback:* the function to be removed, which was previously registered for 
> this event by addEventListener
> {quote}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4819) InAppBrowser.removeEventListener - description of callback parameter

2013-09-16 Thread Mike Billau (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13768399#comment-13768399
 ] 

Mike Billau commented on CB-4819:
-

I don't think this is a bug. The callback() that you pass into 
removeEventListener gets fired when the event gets removed. You give 
revoveEventListener the name of the event to stop listening to in the first 
parameter, you never need to worry about telling it "which function to remove" 
since it doesn't care, it simply stops listening for the event. You still need 
the callback() to do things like remove DOM objects that listen to this event, 
for example.

> InAppBrowser.removeEventListener - description of callback parameter
> 
>
> Key: CB-4819
> URL: https://issues.apache.org/jira/browse/CB-4819
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Affects Versions: 2.9.0
>Reporter: Peter
>Assignee: Michael Brooks
>Priority: Minor
>
> The documentation for removeEventListener seems like a cut/paste error from 
> addEventListener.
> http://cordova.apache.org/docs/en/3.0.0/cordova_inappbrowser_inappbrowser.md.html#removeEventListener
>  says:
> {quote}
> *callback:* the function to execute when the event fires. The function is 
> passed an InAppBrowserEvent object.
> {quote}
> It might be better described as something like:
> {quote}
> *callback:* the function to be removed, which was previously registered for 
> this event by addEventListener
> {quote}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Assigned] (CB-4816) Blackberry File plug-in issues creating files outside sandbox

2013-09-16 Thread Bryan Higgins (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4816?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bryan Higgins reassigned CB-4816:
-

Assignee: Bryan Higgins  (was: Lorin Beer)

> Blackberry File plug-in issues creating files outside sandbox
> -
>
> Key: CB-4816
> URL: https://issues.apache.org/jira/browse/CB-4816
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry, Plugin File
>Affects Versions: 3.0.0
>Reporter: David Peacock
>Assignee: Bryan Higgins
>
> I've updated to the latest file plug-in with the automatic un-sandbox changes 
> when requesting a path outside the sandboxed area (these are in the dev 
> branch today).  However there are still some issues with this.  I'm using 
> blackberry.io to get the shared path where I know I should be able to write 
> to.
> I've broken down the process of writing to a file in 5 steps at the bottom of 
> this issue.  First we get the file system, once we have that we get our 
> directory - note we do this because we want to create a sub-folder if it's 
> not already there, getFile does not permit this from what we can tell.  When 
> we get the directory, everything looks ok - we can see the sandbox flag is 
> turned off.  However, in step 3 when we go to get the file we simply pass in 
> the name of the file as we are calling from the directory.  The issue here is 
> when we call getFile with the current logic it thinks it is sandboxed still.  
> If you take a look at the DirectoryEntry.js file for 
> DirectoryEntry.prototype.getFile you will notice it's checking the path 
> parameter alone to determine whether it is sandboxed.  It's not factoring in 
> the currentPath into this equation.  As a result, it goes into the else for 
> sandbox disabled, sets the sandbox state to true, then tries to get the file 
> using currentPath (which is outside the sandbox) as well as the path (file 
> name passed in) and fails.  It shouldn't be going into the else... really the 
> fileUtils.isOutsideSandbox should be checking currentPath + "/" + path in 
> this case.
> I think we need to ensure we are following the API documentation carefully, 
> we need support both relative and absolute paths.  Below are some snippets 
> from the docs:
> getDirectory
> path: The path to the directory to be looked up or created. Either an 
> absolute path, or a relative path from this DirectoryEntry. (DOMString)
> getFile
> path: The path to the file to be looked up or created. Either an absolute 
> path, or a relative path from this DirectoryEntry. (DOMString)
> In my opinion this means the logic in DirectoryEntry.js for getDirectory and 
> getFile should be updated.  The first thing we should do is check to see if 
> the path is absolute, i.e. the first char is "/" - if it is, we shouldn't be 
> using the currentPath here at all I would think?  I made some minor updates 
> to this logic locally and it is working now - at least for how we use it!  I 
> will be making a pull request to GitHub shortly for this.
> Below is a snippet of how we were trying to write to a file:
> //Assuming you have blackberry.io plug-in and cordova file plug-in 
> installed...
> function FileManager() {}
> FileManager.fileDir = blackberry.io.sharedFolder + "/documents/test/"; 
> FileManager.fileName = "test.txt";
> // Step 1 - Get file system
> window.requestFileSystem(LocalFileSystem.TEMPORARY, 0, 
> FileManager.gotWriteFS, null);
> //Step 2 - Get the directory
> FileManager.gotWriteFS = function (fileSystem) {
>//Get/Create the directory we want to use
> fileSystem.root.getDirectory(FileManager.fileDir, {
> create: true,
> exclusive: false
> }, FileManager.gotWriteDirEntry, null); };
> //Step 3 - Get the file
> FileManager.gotWriteDirEntry = function (dirEntry) {
>//Get the file from the current directory
> dirEntry.getFile(FileManager.fileName, {
> create: true,
> exclusive: false
> }, FileManager.gotWriteFileEntry, null); };
> //Step 4 - Create a writer
> FileManager.gotWriteFileEntry = function (fileEntry) {
> fileEntry.createWriter(FileManager.gotFileWriter, null); };
> //Step 5 - Write the data
> FileManager.gotFileWriter = function (writer) {
> writer.write("something to write");
> };

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira