[jira] [Commented] (CB-8538) add package.json file to existing plugins

2015-02-24 Thread ASF subversion and git services (JIRA)

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

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

Commit c06246df9a806ea44bfc80fea780958c7a922e0d in cordova-plugin-device's 
branch refs/heads/master from [~stevegill]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-device.git;h=c06246d 
]

CB-8538 Added package.json file


> add package.json file to existing plugins
> -
>
> Key: CB-8538
> URL: https://issues.apache.org/jira/browse/CB-8538
> Project: Apache Cordova
>  Issue Type: Improvement
>Reporter: Steve Gill
>Assignee: Steve Gill
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8529) Publish old versions of core plugins to npm

2015-02-24 Thread Steve Gill (JIRA)

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

Steve Gill commented on CB-8529:


Device plugin published

> Publish old versions of core plugins to npm
> ---
>
> Key: CB-8529
> URL: https://issues.apache.org/jira/browse/CB-8529
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: Steve Gill
>Assignee: Steve Gill
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8529) Publish old versions of core plugins to npm

2015-02-24 Thread Steve Gill (JIRA)

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

Steve Gill commented on CB-8529:


contacts plugins published

> Publish old versions of core plugins to npm
> ---
>
> Key: CB-8529
> URL: https://issues.apache.org/jira/browse/CB-8529
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: Steve Gill
>Assignee: Steve Gill
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8538) add package.json file to existing plugins

2015-02-24 Thread ASF subversion and git services (JIRA)

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

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

Commit c40de8aa28ec584235fb2451cf59df26fc963def in cordova-plugin-contacts's 
branch refs/heads/master from [~stevegill]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-contacts.git;h=c40de8a 
]

CB-8538 Added package.json file


> add package.json file to existing plugins
> -
>
> Key: CB-8538
> URL: https://issues.apache.org/jira/browse/CB-8538
> Project: Apache Cordova
>  Issue Type: Improvement
>Reporter: Steve Gill
>Assignee: Steve Gill
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8529) Publish old versions of core plugins to npm

2015-02-24 Thread Steve Gill (JIRA)

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

Steve Gill commented on CB-8529:


console plugin published

> Publish old versions of core plugins to npm
> ---
>
> Key: CB-8529
> URL: https://issues.apache.org/jira/browse/CB-8529
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: Steve Gill
>Assignee: Steve Gill
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8538) add package.json file to existing plugins

2015-02-24 Thread ASF subversion and git services (JIRA)

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

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

Commit 669d6ca4ef4d81e6b2370d3f284d91c97e169dac in cordova-plugin-console's 
branch refs/heads/master from [~stevegill]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-console.git;h=669d6ca ]

CB-8538 Added package.json file


> add package.json file to existing plugins
> -
>
> Key: CB-8538
> URL: https://issues.apache.org/jira/browse/CB-8538
> Project: Apache Cordova
>  Issue Type: Improvement
>Reporter: Steve Gill
>Assignee: Steve Gill
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8529) Publish old versions of core plugins to npm

2015-02-24 Thread Steve Gill (JIRA)

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

Steve Gill commented on CB-8529:


camera plugin versions published

> Publish old versions of core plugins to npm
> ---
>
> Key: CB-8529
> URL: https://issues.apache.org/jira/browse/CB-8529
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: Steve Gill
>Assignee: Steve Gill
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8538) add package.json file to existing plugins

2015-02-24 Thread ASF subversion and git services (JIRA)

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

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

Commit 57aa707c6a2105a1f02a1de02f5afd32910a65ca in cordova-plugin-camera's 
branch refs/heads/master from [~stevegill]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-camera.git;h=57aa707 
]

CB-8538 Added package.json file


> add package.json file to existing plugins
> -
>
> Key: CB-8538
> URL: https://issues.apache.org/jira/browse/CB-8538
> Project: Apache Cordova
>  Issue Type: Improvement
>Reporter: Steve Gill
>Assignee: Steve Gill
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8538) add package.json file to existing plugins

2015-02-24 Thread ASF subversion and git services (JIRA)

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

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

Commit 09de5dbcd256b6993d51c24cd2621e18869546f8 in 
cordova-plugin-battery-status's branch refs/heads/master from [~stevegill]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-battery-status.git;h=09de5db
 ]

CB-8538 Added package.json file


> add package.json file to existing plugins
> -
>
> Key: CB-8538
> URL: https://issues.apache.org/jira/browse/CB-8538
> Project: Apache Cordova
>  Issue Type: Improvement
>Reporter: Steve Gill
>Assignee: Steve Gill
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8529) Publish old versions of core plugins to npm

2015-02-24 Thread Steve Gill (JIRA)

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

Steve Gill commented on CB-8529:


cordova-plugin-battery-status old versions published

> Publish old versions of core plugins to npm
> ---
>
> Key: CB-8529
> URL: https://issues.apache.org/jira/browse/CB-8529
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: Steve Gill
>Assignee: Steve Gill
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Created] (CB-8538) add package.json file to existing plugins

2015-02-24 Thread Steve Gill (JIRA)
Steve Gill created CB-8538:
--

 Summary: add package.json file to existing plugins
 Key: CB-8538
 URL: https://issues.apache.org/jira/browse/CB-8538
 Project: Apache Cordova
  Issue Type: Improvement
Reporter: Steve Gill
Assignee: Steve Gill






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8447) 'cordova platform update android@3.7.1' fails

2015-02-24 Thread Omar Mefire (JIRA)

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

Omar Mefire commented on CB-8447:
-

I see your point. I'll look for a solution and let you know.

> 'cordova platform update android@3.7.1' fails
> -
>
> Key: CB-8447
> URL: https://issues.apache.org/jira/browse/CB-8447
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Reporter: Omar Mefire
>
> [This issue is resolved in the current master branch]
> In cordova-lib@4.2.0, The following sequence of operations fails :
> - cordova platform add android@3.5.0
> - cordova platform update android@3.7.1
> The error message is :  "Platform "android@3.7.1" is not installed. See 
> `cordova platform list`."



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8447) 'cordova platform update android@3.7.1' fails

2015-02-24 Thread Nate Dudenhoeffer (JIRA)

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

Nate Dudenhoeffer commented on CB-8447:
---

Please stop using this issue tracker as a discussion forum. Use 
stackoverflow.com if you need help.

> 'cordova platform update android@3.7.1' fails
> -
>
> Key: CB-8447
> URL: https://issues.apache.org/jira/browse/CB-8447
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Reporter: Omar Mefire
>
> [This issue is resolved in the current master branch]
> In cordova-lib@4.2.0, The following sequence of operations fails :
> - cordova platform add android@3.5.0
> - cordova platform update android@3.7.1
> The error message is :  "Platform "android@3.7.1" is not installed. See 
> `cordova platform list`."



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8447) 'cordova platform update android@3.7.1' fails

2015-02-24 Thread Hirbod (JIRA)

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

Hirbod commented on CB-8447:


Removing would mean I have to setup everything again, my Facebook-IDs, Google 
Maps APIs and some other stuff.. I don't want to go there. And why 3.7.0 ? 
Current version is 3.7.1

> 'cordova platform update android@3.7.1' fails
> -
>
> Key: CB-8447
> URL: https://issues.apache.org/jira/browse/CB-8447
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Reporter: Omar Mefire
>
> [This issue is resolved in the current master branch]
> In cordova-lib@4.2.0, The following sequence of operations fails :
> - cordova platform add android@3.5.0
> - cordova platform update android@3.7.1
> The error message is :  "Platform "android@3.7.1" is not installed. See 
> `cordova platform list`."



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Comment Edited] (CB-8447) 'cordova platform update android@3.7.1' fails

2015-02-24 Thread Omar Mefire (JIRA)

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

Omar Mefire edited comment on CB-8447 at 2/24/15 10:04 PM:
---

@Hirbod, could you try 'cordova platform rm android' followed by 'cordova 
platform add android@3.7.0' ? Make sure to backup first.


was (Author: omefire):
@Hirbod, could you try 'cordova platform rm android' followed by 'cordova 
platform add android@3.7.0' ?

> 'cordova platform update android@3.7.1' fails
> -
>
> Key: CB-8447
> URL: https://issues.apache.org/jira/browse/CB-8447
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Reporter: Omar Mefire
>
> [This issue is resolved in the current master branch]
> In cordova-lib@4.2.0, The following sequence of operations fails :
> - cordova platform add android@3.5.0
> - cordova platform update android@3.7.1
> The error message is :  "Platform "android@3.7.1" is not installed. See 
> `cordova platform list`."



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8447) 'cordova platform update android@3.7.1' fails

2015-02-24 Thread Omar Mefire (JIRA)

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

Omar Mefire commented on CB-8447:
-

@Hirbod, could you try 'cordova platform rm android' followed by 'cordova 
platform add android@3.7.0' ?

> 'cordova platform update android@3.7.1' fails
> -
>
> Key: CB-8447
> URL: https://issues.apache.org/jira/browse/CB-8447
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Reporter: Omar Mefire
>
> [This issue is resolved in the current master branch]
> In cordova-lib@4.2.0, The following sequence of operations fails :
> - cordova platform add android@3.5.0
> - cordova platform update android@3.7.1
> The error message is :  "Platform "android@3.7.1" is not installed. See 
> `cordova platform list`."



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Created] (CB-8537) Contacts plugin Android source does not pass Fortify scan

2015-02-24 Thread Rob Close (JIRA)
Rob Close created CB-8537:
-

 Summary: Contacts plugin Android source does not pass Fortify scan
 Key: CB-8537
 URL: https://issues.apache.org/jira/browse/CB-8537
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: Master
 Environment: Android
Reporter: Rob Close
Priority: Minor
 Fix For: Master


Modify the code to remove the following warnings

>From Fortify:
Poor Error Handling: Empty Catch Block (Errors, Structural)

And from SonarQube: 
Implicitly using the default locale is a common source of bugs: Use 
toLowerCase(Locale) instead



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8447) 'cordova platform update android@3.7.1' fails

2015-02-24 Thread Hirbod (JIRA)

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

Hirbod commented on CB-8447:


Can sombody please tell me now how to update? I'm stuck on Version 3.6.4

Installed platforms: android 3.6.4, ios 3.7.0
Available platforms: amazon-fireos, blackberry10, browser, firefoxos

Can't even update to iOS 3.7.1

> 'cordova platform update android@3.7.1' fails
> -
>
> Key: CB-8447
> URL: https://issues.apache.org/jira/browse/CB-8447
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Reporter: Omar Mefire
>
> [This issue is resolved in the current master branch]
> In cordova-lib@4.2.0, The following sequence of operations fails :
> - cordova platform add android@3.5.0
> - cordova platform update android@3.7.1
> The error message is :  "Platform "android@3.7.1" is not installed. See 
> `cordova platform list`."



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-7956) Add cordova-plugin-file support for browser platform

2015-02-24 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-7956:


Github user vladimir-kotikov commented on the pull request:

https://github.com/apache/cordova-plugin-file/pull/99#issuecomment-75834511
  
Thanks!


> Add cordova-plugin-file support for browser platform
> 
>
> Key: CB-7956
> URL: https://issues.apache.org/jira/browse/CB-7956
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Browser
>Reporter: Sergey Shakhnazarov
>Assignee: Vladimir Kotikov
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-7956) Add cordova-plugin-file support for browser platform

2015-02-24 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-7956.

Resolution: Fixed

> Add cordova-plugin-file support for browser platform
> 
>
> Key: CB-7956
> URL: https://issues.apache.org/jira/browse/CB-7956
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Browser
>Reporter: Sergey Shakhnazarov
>Assignee: Vladimir Kotikov
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8253) Fix potential unreleased resources

2015-02-24 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-8253:


GitHub user akinzie opened a pull request:

https://github.com/apache/cordova-plugin-camera/pull/67

CB-8253 Fix potential unreleased resources

There was a place (~line 701) in CameraLauncher.java where there was the
potential for input and output streams to never be closed if an exception
occurs at the wrong time.   There were some other places where an
InputStream was used anonymously, and so would never be closed.

This change introduces try/finally blocks to ensure that the streams will
always end up closed.

Change-Id: I479bceddcd631bfec45c3f5ee7e88ddb04c59073

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/akinzie/cordova-plugin-camera CB-8253

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-plugin-camera/pull/67.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #67


commit 39d52012ae4ca29eb0cffd2f39afee2b3bf7a0e1
Author: Alan Kinzie 
Date:   2015-01-07T18:59:22Z

CB-8253 Fix potential unreleased resources

There was a place (~line 701) in CameraLauncher.java where there was the
potential for input and output streams to never be closed if an exception
occurs at the wrong time.   There were some other places where an
InputStream was used anonymously, and so would never be closed.

This change introduces try/finally blocks to ensure that the streams will
always end up closed.

Change-Id: I479bceddcd631bfec45c3f5ee7e88ddb04c59073




> Fix potential unreleased resources
> --
>
> Key: CB-8253
> URL: https://issues.apache.org/jira/browse/CB-8253
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, Plugin Camera
>Reporter: Alan Kinzie
>Assignee: Alan Kinzie
>
> There are several places in the Camera plugin where streams are not closed in 
> a finally block allowing for the possibility they will never be closed if an 
> exception occurs at the wrong place.
> Although this doesn't affect functionality as far as I can tell (if enough 
> resources streams are not closed properly maybe it could affect performance), 
> it does show up as an issue in static code analysis tools (such as Fortify).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-7956) Add cordova-plugin-file support for browser platform

2015-02-24 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-7956:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-plugin-file/pull/99


> Add cordova-plugin-file support for browser platform
> 
>
> Key: CB-7956
> URL: https://issues.apache.org/jira/browse/CB-7956
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Browser
>Reporter: Sergey Shakhnazarov
>Assignee: Vladimir Kotikov
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-7956) Add cordova-plugin-file support for browser platform

2015-02-24 Thread ASF subversion and git services (JIRA)

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

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

Commit 6093239f43a7dd2f18ea57125abb4636b15ef14e in cordova-plugin-file's branch 
refs/heads/master from daserge
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file.git;h=6093239 ]

CB-7956 Add cordova-plugin-file support for browser platform

* Added Firefox and IE support via IndexedDB
* Updated the docs
* Updated the tests


> Add cordova-plugin-file support for browser platform
> 
>
> Key: CB-7956
> URL: https://issues.apache.org/jira/browse/CB-7956
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Browser
>Reporter: Sergey Shakhnazarov
>Assignee: Vladimir Kotikov
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-7956) Add cordova-plugin-file support for browser platform

2015-02-24 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-7956:


Github user vladimir-kotikov commented on the pull request:

https://github.com/apache/cordova-plugin-file/pull/99#issuecomment-75816230
  
@purplecabbage Ping.


> Add cordova-plugin-file support for browser platform
> 
>
> Key: CB-7956
> URL: https://issues.apache.org/jira/browse/CB-7956
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Browser
>Reporter: Sergey Shakhnazarov
>Assignee: Vladimir Kotikov
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Created] (CB-8536) Splash screens not found on Android when application package name differs from class package name

2015-02-24 Thread Brian de Alwis (JIRA)
Brian de Alwis created CB-8536:
--

 Summary: Splash screens not found on Android when application 
package name differs from class package name
 Key: CB-8536
 URL: https://issues.apache.org/jira/browse/CB-8536
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib, Plugin SplashScreen
Affects Versions: 3.6.0
 Environment: Android
Reporter: Brian de Alwis
Priority: Minor


Application splash screens are not found on Android when using a package id 
that differs from the class package structure.  The diagnosis as reported 
elsewhere (http://stackoverflow.com/a/27378129/600339) is that the splash 
screens are resolved from CordovaActivity using 
getClass().getPackage().getName() rather than getPackageName().

With CB-3679 this code has been moved into the SplashScreen plugin.

--- CordovaLib/src/org/apache/cordova/CordovaActivity.java
+++ CordovaLib/src/org/apache/cordova/CordovaActivity.java
@@ -23,9 +23,6 @@ import java.util.HashMap;
 import java.util.concurrent.ExecutorService;
 import java.util.concurrent.Executors;
 
-import org.apache.cordova.CordovaInterface;
-import org.apache.cordova.CordovaPlugin;
-import org.apache.cordova.LOG;
 import org.json.JSONException;
 import org.json.JSONObject;
 
@@ -362,7 +359,9 @@ public class CordovaActivity extends Activity implements 
CordovaInterface {
 String splash = preferences.getString("SplashScreen", null);
 if(this.splashscreenTime > 0 && splash != null)
 {
-this.splashscreen = getResources().getIdentifier(splash, 
"drawable", getClass().getPackage().getName());;
+// Use configured package name rather than class package name
+// http://stackoverflow.com/a/27378129/600339
+this.splashscreen = getResources().getIdentifier(splash, 
"drawable", getPackageName());
 if(this.splashscreen != 0)
 {
 this.showSplashScreen(this.splashscreenTime);
@@ -1021,7 +1020,7 @@ public class CordovaActivity extends Activity implements 
CordovaInterface {
 if (this.splashDialog == null || 
!this.splashDialog.isShowing()) {
 String splashResource = 
preferences.getString("SplashScreen", null);
 if (splashResource != null) {
-splashscreen = 
getResources().getIdentifier(splashResource, "drawable", 
getClass().getPackage().getName());
+splashscreen = 
getResources().getIdentifier(splashResource, "drawable", getPackageName());
 }
 this.showSplashScreen(this.splashscreenTime);
 }




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8535) File transfer plugin tests fail and hang on android

2015-02-24 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-8535:


GitHub user alsorokin opened a pull request:

https://github.com/apache/cordova-plugin-file-transfer/pull/65

CB-8535 Changed default file system size for android in tests

https://issues.apache.org/jira/browse/CB-8535

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/MSOpenTech/cordova-plugin-file-transfer 
CB-8535

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-plugin-file-transfer/pull/65.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #65


commit f96989bf105090909264f60c16d5e23da1d7d5ce
Author: alsorokin 
Date:   2015-02-24T16:46:26Z

CB-8535 Changed default file system size for android in tests




> File transfer plugin tests fail and hang on android
> ---
>
> Key: CB-8535
> URL: https://issues.apache.org/jira/browse/CB-8535
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, Plugin File Transfer
>Reporter: Alexander Sorokin
>
> File transfer plugin tests fail and then hang on android.
> This happens because of recent changes in tests:
> https://github.com/apache/cordova-plugin-file-transfer/commit/bb0ed704a8e1b09d61ba603d43bb2319919ac07f#diff-2a8a5fef3397df87ab538f028a5c6b50R32
> window.requestFileSystem now is being called with the default size of 
> 1024*50, instead of 0. On all other platforms it works just fine but on 
> android for some reason it causes crash.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Created] (CB-8535) File transfer plugin tests fail and hang on android

2015-02-24 Thread Alexander Sorokin (JIRA)
Alexander Sorokin created CB-8535:
-

 Summary: File transfer plugin tests fail and hang on android
 Key: CB-8535
 URL: https://issues.apache.org/jira/browse/CB-8535
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, Plugin File Transfer
Reporter: Alexander Sorokin


File transfer plugin tests fail and then hang on android.
This happens because of recent changes in tests:
https://github.com/apache/cordova-plugin-file-transfer/commit/bb0ed704a8e1b09d61ba603d43bb2319919ac07f#diff-2a8a5fef3397df87ab538f028a5c6b50R32

window.requestFileSystem now is being called with the default size of 1024*50, 
instead of 0. On all other platforms it works just fine but on android for some 
reason it causes crash.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Created] (CB-8534) Add support for auth dialogs in inappbrowser plugin

2015-02-24 Thread Connor Pearson (JIRA)
Connor Pearson created CB-8534:
--

 Summary: Add support for auth dialogs in inappbrowser plugin
 Key: CB-8534
 URL: https://issues.apache.org/jira/browse/CB-8534
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Android, Plugin InAppBrowser
Reporter: Connor Pearson


The AndroidWebView delegates onReceivedHttpAuthRequest to any plugin that 
responds to it. (CB-8201) This would add the same the same behavior to the 
inappbrowser for android.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8448) Add support for "activities" field in FirefoxOS manifest.webapp

2015-02-24 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-8448:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-lib/pull/172


> Add support for "activities" field in FirefoxOS manifest.webapp
> ---
>
> Key: CB-8448
> URL: https://issues.apache.org/jira/browse/CB-8448
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: FirefoxOS
>Reporter: Axel Nennker
>
> FirefoxOS manifest files allow a richer set of fields than currently 
> supported by firefoxos_parser.js
> https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/metadata/firefoxos_parser.js
> E.g.: "activities"
> https://developer.mozilla.org/de/Apps/Manifest#activities
> This is needed to e.g. open files of a defined mime type.
> Extend syntax of plugin.xml like e.g.:
> 
> 
> 
>  disposition="inline">
> 
> 
> 
> 
> 
> This results e.g. in
> "activities": {
> "open": {
> "href": "./import.html",
> "disposition": "inline",
> "filters": {
> "type": "application/wallet-import"
> }
> }
> },  
> Lines needed for this in firefoxos_parser.js:
> var activitiesNodes = config.doc.findall('activities');
> activitiesNodes.forEach(function(activitiesNode) {
> var activityNodes = activitiesNode.findall('activity');
> if (activityNodes.length) {
> var activities = {};
> activityNodes.forEach(function (node) {
> var name = node.attrib.name;
> var href = node.attrib.href;
> if (name && href) {
> events.emit('verbose', 'activity name='+name+' 
> href='+href);
> activities[name] = {};
> activities[name].href = href;
> var disposition = node.attrib.disposition;
> if (disposition) {
> activities[name].disposition = disposition;
> }
> activities[name].filters = {};
> var filterNodes = node.findall('filter');
> filterNodes.forEach(function(filter) {
> var type = filter.attrib.type;
> if (type) {
> activities[name].filters.type = type;
> }
> });
> } else {
> events.emit('warn', 'activity without name='+name+'or 
> href='+href);
> }
> });
> manifest.activities = activities;
> }
> });



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8448) Add support for "activities" field in FirefoxOS manifest.webapp

2015-02-24 Thread ASF subversion and git services (JIRA)

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

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

Commit 7371adbd9fcb84402d69ea552242a3a44d847353 in cordova-lib's branch 
refs/heads/master from [~ignisvulpis]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=7371adb ]

CB-8448 add support for activities


> Add support for "activities" field in FirefoxOS manifest.webapp
> ---
>
> Key: CB-8448
> URL: https://issues.apache.org/jira/browse/CB-8448
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: FirefoxOS
>Reporter: Axel Nennker
>
> FirefoxOS manifest files allow a richer set of fields than currently 
> supported by firefoxos_parser.js
> https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/metadata/firefoxos_parser.js
> E.g.: "activities"
> https://developer.mozilla.org/de/Apps/Manifest#activities
> This is needed to e.g. open files of a defined mime type.
> Extend syntax of plugin.xml like e.g.:
> 
> 
> 
>  disposition="inline">
> 
> 
> 
> 
> 
> This results e.g. in
> "activities": {
> "open": {
> "href": "./import.html",
> "disposition": "inline",
> "filters": {
> "type": "application/wallet-import"
> }
> }
> },  
> Lines needed for this in firefoxos_parser.js:
> var activitiesNodes = config.doc.findall('activities');
> activitiesNodes.forEach(function(activitiesNode) {
> var activityNodes = activitiesNode.findall('activity');
> if (activityNodes.length) {
> var activities = {};
> activityNodes.forEach(function (node) {
> var name = node.attrib.name;
> var href = node.attrib.href;
> if (name && href) {
> events.emit('verbose', 'activity name='+name+' 
> href='+href);
> activities[name] = {};
> activities[name].href = href;
> var disposition = node.attrib.disposition;
> if (disposition) {
> activities[name].disposition = disposition;
> }
> activities[name].filters = {};
> var filterNodes = node.findall('filter');
> filterNodes.forEach(function(filter) {
> var type = filter.attrib.type;
> if (type) {
> activities[name].filters.type = type;
> }
> });
> } else {
> events.emit('warn', 'activity without name='+name+'or 
> href='+href);
> }
> });
> manifest.activities = activities;
> }
> });



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8530) New Whitelisting Broken on Android

2015-02-24 Thread Andrew Grieve (JIRA)

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

Andrew Grieve commented on CB-8530:
---

[~iclelland] Whitelist behaviour has changed recently, so not sure if this is 
expected behaviour or not. What exactly do you mean by "does not work"? Do 
tests fail? 

> New Whitelisting Broken on Android
> --
>
> Key: CB-8530
> URL: https://issues.apache.org/jira/browse/CB-8530
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, mobile-spec, Plugins
>Affects Versions: Master
> Environment: Android on Windows broken. Android on OS X unverified.
>Reporter: Dmitry Blotsky
>Priority: Critical
>  Labels: android
> Attachments: cb-8530-repro.zip, whitelist-error.png
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> With or without the mobilespec whitelist app, whitelisting does not work on 
> Android on Windows (OS X not yet tested). An expected plugin object is 
> {{null}} in {{entryMap}}, when it should not be.
> Screenshot and minimal app to reproduce attached.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Created] (CB-8533) FileTransfer download progress is nonfunctional

2015-02-24 Thread David Lewis (JIRA)
David Lewis created CB-8533:
---

 Summary: FileTransfer download progress is nonfunctional
 Key: CB-8533
 URL: https://issues.apache.org/jira/browse/CB-8533
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File Transfer
Affects Versions: Master
 Environment: ios android
Reporter: David Lewis


The zip file download response is received sans content-length, so the head 
request is made. After r.0.4.1, the head request does not return before the the 
download is finished and no progress is reported.

Threading was introduced after r0.4.1 in iOS and I suspect some issue with 
updating across threads there. I'm still looking for a version that works for 
Android.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-7827) manifest/application/activity[android:name] always CordovaApp

2015-02-24 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-7827:


Github user cjpearson commented on the pull request:

https://github.com/apache/cordova-android/pull/160#issuecomment-75749293
  
@agrieve I've modified it to use --activity-name with nopt. I tried to 
follow the style of the iOS create script.


> manifest/application/activity[android:name] always CordovaApp
> -
>
> Key: CB-7827
> URL: https://issues.apache.org/jira/browse/CB-7827
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 4.0.0
> Environment: Windows 8.1 x64, NodeJs 0.10.32
>Reporter: Sergey
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Created] (CB-8532) Adding Windows Plugin Failed with "Cannot read property 'text' of null"

2015-02-24 Thread Ingo Bruell (JIRA)
Ingo Bruell created CB-8532:
---

 Summary: Adding Windows Plugin Failed with "Cannot read property 
'text' of null"
 Key: CB-8532
 URL: https://issues.apache.org/jira/browse/CB-8532
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib
 Environment: Windows 8.1
VisualStudio 2013
cordova 4.2.0
cordova windows platform 3.8.0
npm 1.4.28
node v0.10.35
Reporter: Ingo Bruell


I created a plugin which references a VisualStudio project file in the 
plugin.xml via .

If I add the plugin I get the trace:
{quote}
$ cordova plugins add ../enCordovaDeviceLocatorPlugin/
Installing "de.enexoma.cordova.plugin.devicelocator" for windows
Error during processing of action! Attempting to revert...
Failed to install 'de.enexoma.cordova.plugin.devicelocator':TypeError: Uh oh!
Cannot read property 'text' of null
at Object.jsproj.addProjectReference 
(c:\Users\ibruell\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\util\windows\jsproj.js:185:74)
at module.exports.framework.install 
(c:\Users\ibruell\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\plugman\platforms\windows.js:116:30)
at Object.ActionStack.process 
(c:\Users\ibruell\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\plugman\util\action-stack.js:72:25)
at handleInstall 
(c:\Users\ibruell\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\plugman\install.js:591:20)
at 
c:\Users\ibruell\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\plugman\install.js:340:28
at _fulfilled 
(c:\Users\ibruell\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:787:54)
at self.promiseDispatch.done 
(c:\Users\ibruell\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:816:30)
at Promise.promise.promiseDispatch 
(c:\Users\ibruell\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:749:13)
at 
c:\Users\ibruell\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:509:49
at flush 
(c:\Users\ibruell\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:108:17)
TypeError: Uh oh!
Cannot read property 'text' of null
at Object.jsproj.addProjectReference 
(c:\Users\ibruell\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\util\windows\jsproj.js:185:74)
at module.exports.framework.install 
(c:\Users\ibruell\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\plugman\platforms\windows.js:116:30)
at Object.ActionStack.process 
(c:\Users\ibruell\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\plugman\util\action-stack.js:72:25)
at handleInstall 
(c:\Users\ibruell\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\plugman\install.js:591:20)
at 
c:\Users\ibruell\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\plugman\install.js:340:28
at _fulfilled 
(c:\Users\ibruell\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:787:54)
at self.promiseDispatch.done 
(c:\Users\ibruell\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:816:30)
at Promise.promise.promiseDispatch 
(c:\Users\ibruell\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:749:13)
at 
c:\Users\ibruell\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:509:49
at flush 
(c:\Users\ibruell\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:108:17)
{quote}

The script 
"node_modules\cordova\node_modules\cordova-lib\src\util\windows\jsproj.js" 
tries to find a Node "PropertyGroup/ProjectName" which does not exists in my 
project. I changed the script to search "PropertyGroup/AssemblyName" which 
works.

I do not know much about the VisualStudio project files. Maybe both elements 
should be searched.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org