[jira] [Updated] (CB-6772) Android Configuration lack AndroidLaunchMode preference

2014-05-27 Thread Gen Liu (JIRA)

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

Gen Liu updated CB-6772:


Description: 
Cordova 3.5.0 release note shows there is a new feature that allow user change 
Android Activity launch mode.

http://cordova.apache.org/announcements/2014/05/23/cordova-350.html

It sounds interesting to me and I noticed cordova-android project can generate 
a project use android:launchMode="singleTop" with AndroidManifest.xml. But it 
will be override by cordova-cli. I found I must add a preference to config.xml 
to make it appear in my project, which is not mentioned in the Document:



Please add it to document.

http://cordova.apache.org/docs/en/3.5.0/guide_platforms_android_config.md.html#Android%20Configuration

  was:
Hi,

Cordova 3.5.0 release note shows there is a new feature that allow user change 
Android Activity launch mode.

http://cordova.apache.org/announcements/2014/05/23/cordova-350.html

It sounds interesting to me and I noticed cordova-android project can generate 
a project use android:launchMode="singleTop" with AndroidManifest.xml. But it 
will be override by cordova-cli. I found I must add a preference to config.xml 
to make it appear in my project, which is not mentioned in the Document:



Please add it to document.

http://cordova.apache.org/docs/en/3.5.0/guide_platforms_android_config.md.html#Android%20Configuration


> Android Configuration lack AndroidLaunchMode preference
> ---
>
> Key: CB-6772
> URL: https://issues.apache.org/jira/browse/CB-6772
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Affects Versions: 3.5.0
>Reporter: Gen Liu
>
> Cordova 3.5.0 release note shows there is a new feature that allow user 
> change Android Activity launch mode.
> http://cordova.apache.org/announcements/2014/05/23/cordova-350.html
> It sounds interesting to me and I noticed cordova-android project can 
> generate a project use android:launchMode="singleTop" with 
> AndroidManifest.xml. But it will be override by cordova-cli. I found I must 
> add a preference to config.xml to make it appear in my project, which is not 
> mentioned in the Document:
> 
> Please add it to document.
> http://cordova.apache.org/docs/en/3.5.0/guide_platforms_android_config.md.html#Android%20Configuration



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (CB-6090) CLI should not error on build command for firefoxos

2014-05-27 Thread Gert-Jan Braas (JIRA)

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

Gert-Jan Braas resolved CB-6090.


   Resolution: Fixed
Fix Version/s: 3.5.0

> CLI should not error on build command for firefoxos
> ---
>
> Key: CB-6090
> URL: https://issues.apache.org/jira/browse/CB-6090
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, FirefoxOS
>Affects Versions: 3.4.0
> Environment: osx
> $ cordova -v
> 3.4.0-0.1.0
>Reporter: Carlos Santana
> Fix For: 3.5.0
>
>
> cordova should not error when running 'cordova build firefoxos"
> firefox platform already handle with a nice message that the command is not 
> applicable for other commands like "emulate" and "run" 
> same should be done for build
> recreate:
> (master)$ cordova create todd-firefoxos com.example.todd TODD
> Creating a new cordova project with name "TODD" and id "com.example.todd" at 
> location 
> "/Users/csantana23/Documents/SWG/git/csantanapr/triangle-open-data-day/hybridApp/todd-firefoxos"
> (master)$ cd todd-firefoxos/
> (master)$ cordova platform add firefoxos
> Creating firefoxos project...
> Creating Firefox OS project
> Project Path 
> ../../../../../../../git/csantanapr/triangle-open-data-day/hybridApp/todd-firefoxos/platforms/firefoxos
> Package Name com.example.todd
> Project Name TODD
> Generating config.xml from defaults for platform "firefoxos"
> Preparing firefoxos project
> (master)$ cordova build
> Generating config.xml from defaults for platform "firefoxos"
> Preparing firefoxos project
> Running command: 
> /Users/csantana23/git/csantanapr/triangle-open-data-day/hybridApp/todd-firefoxos/platforms/firefoxos/cordova/build
>  args=[]
> execvp(): No such file or directory
> Error: 
> /Users/csantana23/git/csantanapr/triangle-open-data-day/hybridApp/todd-firefoxos/platforms/firefoxos/cordova/build:
>  Command failed with exit code ENOENT
> at ChildProcess.whenDone 
> (/Users/csantana23/.nvm/v0.10.24/lib/node_modules/cordova/src/superspawn.js:112:23)
> at ChildProcess.EventEmitter.emit (events.js:95:17)
> at Process.ChildProcess._handle.onexit (child_process.js:787:12)



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (CB-5751) FirefoxOS build issue

2014-05-27 Thread Gert-Jan Braas (JIRA)

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

Gert-Jan Braas resolved CB-5751.


   Resolution: Fixed
Fix Version/s: (was: 3.6.0)
   3.5.0

> FirefoxOS build issue
> -
>
> Key: CB-5751
> URL: https://issues.apache.org/jira/browse/CB-5751
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, FirefoxOS
>Affects Versions: 3.3.0
> Environment: Windows 7 amd64
> Cordova 3.3.1-0.1.2
> nodejs v0.10.24
>Reporter: Vincenzo
>Assignee: Gert-Jan Braas
> Fix For: 3.5.0
>
>
> After typing 
> cordova platform add firefoxos
> and 
> cordova build
> I read this error:
> C:\Users\Utente\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:126
> throw e;
>   ^
> Error: An error occurred while building the firefoxos 
> project."c:\Linkpass\platf
> orms\firefoxos\cordova\build" non ´┐¢ riconosciuto come comando interno o 
> estern
> o,
>  un programma eseguibile o un file batch.
> at ChildProcess. 
> (C:\Users\Utente\AppData\Roaming\npm\node_module
> s\cordova\src\compile.js:65:22)
> at ChildProcess.EventEmitter.emit (events.js:98:17)
> at maybeClose (child_process.js:735:16)
> at Socket. (child_process.js:948:11)
> at Socket.EventEmitter.emit (events.js:95:17)
> at Pipe.close (net.js:466:12)



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6772) Android Configuration lack AndroidLaunchMode preference

2014-05-27 Thread Gen Liu (JIRA)
Gen Liu created CB-6772:
---

 Summary: Android Configuration lack AndroidLaunchMode preference
 Key: CB-6772
 URL: https://issues.apache.org/jira/browse/CB-6772
 Project: Apache Cordova
  Issue Type: Bug
  Components: Docs
Affects Versions: 3.5.0
Reporter: Gen Liu


Hi,

Cordova 3.5.0 release note shows there is a new feature that allow user change 
Android Activity launch mode.

http://cordova.apache.org/announcements/2014/05/23/cordova-350.html

It sounds interesting to me and I noticed cordova-android project can generate 
a project use android:launchMode="singleTop" with AndroidManifest.xml. But it 
will be override by cordova-cli. I found I must add a preference to config.xml 
to make it appear in my project, which is not mentioned in the Document:



Please add it to document.

http://cordova.apache.org/docs/en/3.5.0/guide_platforms_android_config.md.html#Android%20Configuration



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6771) Error in of Mobilespec340 filetransfer test cases

2014-05-27 Thread Pavankumar Joshi (JIRA)
Pavankumar Joshi created CB-6771:


 Summary: Error in of Mobilespec340 filetransfer test cases
 Key: CB-6771
 URL: https://issues.apache.org/jira/browse/CB-6771
 Project: Apache Cordova
  Issue Type: Bug
  Components: mobile-spec
Affects Versions: 3.4.0
 Environment: Mobilespec340 testing on Google Nexus 7 device , with 
Android version 4.4.2
Reporter: Pavankumar Joshi
Priority: Minor


Recently I observed an error in Mobilespec File transfer test cases. I checked 
and found that there are 3 test cases failing in Mobilespec project, they are
1) filetransfer.spec.18
2) filetransfer.spec.19
3) filetransfer.spec.29

The main cause of all test cases failure is due to the execution of this 
javascript statement in jasmine.
1) “expect(uploadResult.response).toMatch(/fields:\s*{\s*value1.*/);”
That is the response object from the server is checked to see if it contains 
the fields like value1 and test.
This fails because the actual JSON object in the uploadResult.response  object 
looks like "fields":{"value1":"test","value2":"param"} ….
The Failure is mainly because of the double quotes(“) present in the response 
object. The same test cases pass if it is modified like
2) “expect(uploadResult.response).toMatch(/”fields”:\s*{\s*”value1”.*/);” ( 
with double quotes in toMatch method for fileds and value1)

I checked mobilespec3.5.0 version filetransfer.tests.js and still the matching 
expression looks like 
(expect(uploadResult.response).toMatch(/fields:\s*{\s*value1.*/);)

I tested mobilespec290, and noticed that same file transfer test cases are 
failing now. I tested mobilespec290 on motorola xoom device with Android 4.1.0 
version

I think that the JSON response from server 
http://cordova-filetransfer.jitsu.com has changed to include double quotes. 

Then I checked that in the master branch of file transfer mobile spec test case 
https://github.com/apache/cordova-mobile-spec/blob/master/autotest/tests/filetransfer.tests.js
The code is modified to test the response in a different way 
   var obj = null;
try {
obj = JSON.parse(uploadResult.response);
expect(obj.fields).toBeDefined();
expect(obj.fields.value1).toBe("test");
 …….





--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-4556) Add a ./cordova/clean project-level script

2014-05-27 Thread Darryl Pogue (JIRA)

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

Darryl Pogue commented on CB-4556:
--

This script exists in Cordova FirefoxOS 3.5.0, but does not have a 
corresponding .bat file.

> Add a ./cordova/clean project-level script
> --
>
> Key: CB-4556
> URL: https://issues.apache.org/jira/browse/CB-4556
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: FirefoxOS
>Reporter: Steve Gill
>
> This script should delete any build artifacts that are create from running an 
> app compilation.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-5751) FirefoxOS build issue

2014-05-27 Thread Darryl Pogue (JIRA)

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

Darryl Pogue commented on CB-5751:
--

This issue should be resolved in Cordova FirefoxOS 3.5.0.

> FirefoxOS build issue
> -
>
> Key: CB-5751
> URL: https://issues.apache.org/jira/browse/CB-5751
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, FirefoxOS
>Affects Versions: 3.3.0
> Environment: Windows 7 amd64
> Cordova 3.3.1-0.1.2
> nodejs v0.10.24
>Reporter: Vincenzo
>Assignee: Gert-Jan Braas
> Fix For: 3.6.0
>
>
> After typing 
> cordova platform add firefoxos
> and 
> cordova build
> I read this error:
> C:\Users\Utente\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:126
> throw e;
>   ^
> Error: An error occurred while building the firefoxos 
> project."c:\Linkpass\platf
> orms\firefoxos\cordova\build" non ´┐¢ riconosciuto come comando interno o 
> estern
> o,
>  un programma eseguibile o un file batch.
> at ChildProcess. 
> (C:\Users\Utente\AppData\Roaming\npm\node_module
> s\cordova\src\compile.js:65:22)
> at ChildProcess.EventEmitter.emit (events.js:98:17)
> at maybeClose (child_process.js:735:16)
> at Socket. (child_process.js:948:11)
> at Socket.EventEmitter.emit (events.js:95:17)
> at Pipe.close (net.js:466:12)



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6090) CLI should not error on build command for firefoxos

2014-05-27 Thread Darryl Pogue (JIRA)

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

Darryl Pogue commented on CB-6090:
--

This issue is resolved in Cordova FirefoxOS 3.5.0.

> CLI should not error on build command for firefoxos
> ---
>
> Key: CB-6090
> URL: https://issues.apache.org/jira/browse/CB-6090
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, FirefoxOS
>Affects Versions: 3.4.0
> Environment: osx
> $ cordova -v
> 3.4.0-0.1.0
>Reporter: Carlos Santana
>
> cordova should not error when running 'cordova build firefoxos"
> firefox platform already handle with a nice message that the command is not 
> applicable for other commands like "emulate" and "run" 
> same should be done for build
> recreate:
> (master)$ cordova create todd-firefoxos com.example.todd TODD
> Creating a new cordova project with name "TODD" and id "com.example.todd" at 
> location 
> "/Users/csantana23/Documents/SWG/git/csantanapr/triangle-open-data-day/hybridApp/todd-firefoxos"
> (master)$ cd todd-firefoxos/
> (master)$ cordova platform add firefoxos
> Creating firefoxos project...
> Creating Firefox OS project
> Project Path 
> ../../../../../../../git/csantanapr/triangle-open-data-day/hybridApp/todd-firefoxos/platforms/firefoxos
> Package Name com.example.todd
> Project Name TODD
> Generating config.xml from defaults for platform "firefoxos"
> Preparing firefoxos project
> (master)$ cordova build
> Generating config.xml from defaults for platform "firefoxos"
> Preparing firefoxos project
> Running command: 
> /Users/csantana23/git/csantanapr/triangle-open-data-day/hybridApp/todd-firefoxos/platforms/firefoxos/cordova/build
>  args=[]
> execvp(): No such file or directory
> Error: 
> /Users/csantana23/git/csantanapr/triangle-open-data-day/hybridApp/todd-firefoxos/platforms/firefoxos/cordova/build:
>  Command failed with exit code ENOENT
> at ChildProcess.whenDone 
> (/Users/csantana23/.nvm/v0.10.24/lib/node_modules/cordova/src/superspawn.js:112:23)
> at ChildProcess.EventEmitter.emit (events.js:95:17)
> at Process.ChildProcess._handle.onexit (child_process.js:787:12)



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (CB-6721) iOS Failed test: battery.spec.4 should fire batterycritical events

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-6721.
--

Resolution: Fixed

> iOS Failed test: battery.spec.4 should fire batterycritical events
> --
>
> Key: CB-6721
> URL: https://issues.apache.org/jira/browse/CB-6721
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: mobile-spec, Plugin Battery Status
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>
> Battery (navigator.battery) battery.spec.4 should fire batterycritical events.
> timeout: timed out after 100 msec waiting for batterycritical onEvent was not 
> called when level goes from 19->5
> This test is new for CB-4520 CB-4519:
> https://github.com/apache/cordova-mobile-spec/commit/b5b80a6ff80d3c8b3d7618fe051c824ec0d3771f



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6721) iOS Failed test: battery.spec.4 should fire batterycritical events

2014-05-27 Thread ASF subversion and git services (JIRA)

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

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

Commit 139011c4b33a6fdc8d461197ae99088f1e5a821e in cordova-mobile-spec's branch 
refs/heads/master from [~shazron]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;h=139011c ]

CB-6721 - fix battery.spec.5 failure


> iOS Failed test: battery.spec.4 should fire batterycritical events
> --
>
> Key: CB-6721
> URL: https://issues.apache.org/jira/browse/CB-6721
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: mobile-spec, Plugin Battery Status
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>
> Battery (navigator.battery) battery.spec.4 should fire batterycritical events.
> timeout: timed out after 100 msec waiting for batterycritical onEvent was not 
> called when level goes from 19->5
> This test is new for CB-4520 CB-4519:
> https://github.com/apache/cordova-mobile-spec/commit/b5b80a6ff80d3c8b3d7618fe051c824ec0d3771f



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6182) Incorrect config.xml Global Preferences

2014-05-27 Thread olivier pepin (JIRA)

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

olivier pepin commented on CB-6182:
---

 has no effect and is still 
ignored on cordova ios 3.4.1 (both iphone and ipad).
A workaround is to manually update the App plist :
UISupportedInterfaceOrientations

UIInterfaceOrientationPortrait
UIInterfaceOrientationLandscapeLeft
UIInterfaceOrientationPortraitUpsideDown
UIInterfaceOrientationLandscapeRight

UISupportedInterfaceOrientations~ipad

UIInterfaceOrientationPortrait
UIInterfaceOrientationLandscapeLeft
UIInterfaceOrientationPortraitUpsideDown
UIInterfaceOrientationLandscapeRight

There is a simple solution in phonegap to override the plist from the 
config.xml 
http://phonegap.com/blog/2014/01/30/customizing-your-android-manifest-and-ios-property-list-on-phonegap-build/
 but this apparently does not work on cordova 


> Incorrect config.xml Global Preferences
> ---
>
> Key: CB-6182
> URL: https://issues.apache.org/jira/browse/CB-6182
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Affects Versions: Master
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
> Fix For: 3.6.0
>
>
> Link: 
> http://cordova.apache.org/docs/en/3.4.0/config_ref_index.md.html#The%20config.xml%20File_global_preferences
> The fullscreen and orientation global preferences are not supported on iOS.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6026) Orientation preference is ignored on iOS

2014-05-27 Thread olivier pepin (JIRA)

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

olivier pepin commented on CB-6026:
---

 has no effect and is still 
ignored on cordova  ios 3.4.1 (both iphone and ipad). 

A workaround is to manually update the App plist :
UISupportedInterfaceOrientations

  UIInterfaceOrientationPortrait
  UIInterfaceOrientationLandscapeLeft
  UIInterfaceOrientationPortraitUpsideDown
  UIInterfaceOrientationLandscapeRight

UISupportedInterfaceOrientations~ipad

  UIInterfaceOrientationPortrait
  UIInterfaceOrientationLandscapeLeft
  UIInterfaceOrientationPortraitUpsideDown
  UIInterfaceOrientationLandscapeRight


There is a simple solution in phonegap to override the plist from the 
config.xml 
http://phonegap.com/blog/2014/01/30/customizing-your-android-manifest-and-ios-property-list-on-phonegap-build/
 but this apparently does not work on cordova ...

> Orientation preference is ignored on iOS
> 
>
> Key: CB-6026
> URL: https://issues.apache.org/jira/browse/CB-6026
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, iOS
>Reporter: Andrew Grieve
>Priority: Minor
>
> [Docs|http://cordova.apache.org/docs/en/edge/config_ref_index.md.html] say 
> that this should work:
> {quote}
>  
> {quote}
> But it doesn't.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6721) iOS Failed test: battery.spec.4 should fire batterycritical events

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-6721:
--

Testing the latest changes.

1. iOS Simulator all battery tests pass.
2. iOS device (iPhone 5s), only battery.spec.5 fails:

{code}
Battery (navigator.battery) battery.spec.5 should NOT fire events when charging 
or level is increasing.
Expected spy onbatterycritical not to have been called.
{code}

> iOS Failed test: battery.spec.4 should fire batterycritical events
> --
>
> Key: CB-6721
> URL: https://issues.apache.org/jira/browse/CB-6721
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: mobile-spec, Plugin Battery Status
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>
> Battery (navigator.battery) battery.spec.4 should fire batterycritical events.
> timeout: timed out after 100 msec waiting for batterycritical onEvent was not 
> called when level goes from 19->5
> This test is new for CB-4520 CB-4519:
> https://github.com/apache/cordova-mobile-spec/commit/b5b80a6ff80d3c8b3d7618fe051c824ec0d3771f



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (CB-6202) FileTransfer onprogress event incorrect loaded value during second upload

2014-05-27 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen resolved CB-6202.
-

Resolution: Fixed

merged pr, thanks.

> FileTransfer onprogress event incorrect loaded value during second upload
> -
>
> Key: CB-6202
> URL: https://issues.apache.org/jira/browse/CB-6202
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File Transfer, WP8
>Affects Versions: 3.3.0
>Reporter: Martin Hujer
>Assignee: Jesse MacFadyen
>
> I created a workaround for the problem: 
> https://github.com/apache/cordova-plugin-file-transfer/pull/23, but there is 
> additional work necessary:
> - check if my fix does not break anything
> - check if it works for file downloading (I'm not using it myself).



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (CB-6485) Add pickContact functionality to cordova contacts plugin

2014-05-27 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen resolved CB-6485.
-

Resolution: Fixed

> Add pickContact functionality to cordova contacts plugin
> 
>
> Key: CB-6485
> URL: https://issues.apache.org/jira/browse/CB-6485
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Plugin Contacts
>Reporter: Vladimir Kotikov
>  Labels: contacts
>
> The PR listed below adds WP8, Windows 8, Android, FireOS and iOS support for 
> this feature.
> It would be great to have a `pickContact` method that launches the Contact 
> Picker, that allow user to choose single or multiple contacts from device's 
> address book.
> Contact picker should have UI, native to each platform
> Sample usage: 
> {noformat}
> navigator.contacts.pickContact(function(contact){
> console.log('The following contact has been selected:' + 
> JSON.stringify(contact));
> },function(err){
> console.log('Error: ' + err);
> });
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Assigned] (CB-6721) iOS Failed test: battery.spec.4 should fire batterycritical events

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah reassigned CB-6721:


Assignee: Shazron Abdullah  (was: Jesse MacFadyen)

> iOS Failed test: battery.spec.4 should fire batterycritical events
> --
>
> Key: CB-6721
> URL: https://issues.apache.org/jira/browse/CB-6721
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: mobile-spec, Plugin Battery Status
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>
> Battery (navigator.battery) battery.spec.4 should fire batterycritical events.
> timeout: timed out after 100 msec waiting for batterycritical onEvent was not 
> called when level goes from 19->5
> This test is new for CB-4520 CB-4519:
> https://github.com/apache/cordova-mobile-spec/commit/b5b80a6ff80d3c8b3d7618fe051c824ec0d3771f



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6728) Support chip architecture as an option when building Windows and Windows Phone projects

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-6728:
--

+1 for Option 2.
Right now for iOS it defaults to "armv7 armv7s arm64" and creates a universal 
binary that includes 64-bit and 32-bit slices. Users will need this setting if 
for example they include binary libs that do not have 64-bit slices.

> Support chip architecture as an option when building Windows and Windows 
> Phone projects
> ---
>
> Key: CB-6728
> URL: https://issues.apache.org/jira/browse/CB-6728
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CLI, Windows 8, WP8
>Affects Versions: 3.4.0
>Reporter: Vladimir Kotikov
>Assignee: Jesse MacFadyen
>  Labels: arm, cli, windows, wp8, x64, x86
>
> Currently apps for Windows 8 and Windows Phone 8 are targeted to AnyCPU 
> architecture, which is universal, but sometimes it's critical to build 
> application for specific processor architecture.
> As an example is WebSQL plugin which contains references to C++ libs so needs 
> to be built for specific architecture (x84, x64, ARM) and which does not 
> support AnyCPU target.
> So it looks important to add support for additional build flags `-x64`, 
> `-x86`, `-arm`, '-any' to specify target chip architecture.
> {noformat}
> cordova build windows8 --release --x64
> cordova build wp8 --arm
> {noformat}
> If flag is not specified, `AnuCPU` target platform should be used by default.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-1392) Add reset() to plugin API on Blackberry

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-1392:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Add reset() to plugin API on Blackberry
> ---
>
> Key: CB-1392
> URL: https://issues.apache.org/jira/browse/CB-1392
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: BlackBerry
>Affects Versions: 2.0.0, 2.1.0, 2.2.0, 2.3.0, 2.4.0
>Reporter: Braden Shepherdson
>Assignee: Lorin Beer
> Fix For: 3.6.0
>
>
> Add a reset() function to the plugin API which is called on top-level 
> navigation or refresh, so that plugins can know to cancel any long-running 
> requests and reinitialize themselves.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-2412) InAppBrowser option to hide bottom bar with Done/History buttons

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-2412:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> InAppBrowser option to hide bottom bar with Done/History buttons
> 
>
> Key: CB-2412
> URL: https://issues.apache.org/jira/browse/CB-2412
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: BlackBerry
>Reporter: Sönke Rohde
> Fix For: 3.6.0
>
>
> There should be an option to hide the bottom bar of the InAppBrowser 
> containing the Done and history arrow buttons.
> When the InAppBrowser is used for OAuth the url changes are monitored and the 
> InAppBrowser gets closed programmatically when the OAuth process is completed 
> or canceled.
> Add the option "toolbar=[yes|no]"



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-4737) LocalFileSystem resolveLocalFileSystemURI function documentation

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-4737:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> LocalFileSystem resolveLocalFileSystemURI function documentation
> 
>
> Key: CB-4737
> URL: https://issues.apache.org/jira/browse/CB-4737
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Affects Versions: 3.0.0
>Reporter: Lorin Beer
>Assignee: Michael Brooks
> Fix For: 3.6.0
>
>
> write full documentation for the resolveLocalFileSytemURI function



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-5198) Plugins with dependency's will fail with cordova 3.0

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5198:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Plugins with dependency's will fail with cordova 3.0
> 
>
> Key: CB-5198
> URL: https://issues.apache.org/jira/browse/CB-5198
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File Transfer, Plugin Media Capture
>Affects Versions: 3.0.0
>Reporter: Steve Gill
> Fix For: 3.6.0
>
>
> The two plugins above have a dependency tag that downloads from the registry. 
> Cordova 3.0.0 doesn't have support for downloading from the registry. 
> If someone with cordova 3.0.0 installs the file-transfer plugin (using the 
> git url since that was the suggested way for 3.0), it will fail in installing 
> the dependency due to lack of registry support.
> Suggestions
> Bump the major version of these plugins and set engine tag to 3.1.0
> Change 3.0 docs to suggest downloading based of 3.0.0 tag instead of from 
> master. Ex. cordova plugin add 
> https://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer.git#3.0.0
>  (I am having trouble with this right now, figuring out why)



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-5429) cordova-plugin-network-information fails on iOS when updateReachability is executed

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5429:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> cordova-plugin-network-information fails on iOS when updateReachability is 
> executed
> ---
>
> Key: CB-5429
> URL: https://issues.apache.org/jira/browse/CB-5429
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Network Information
>Affects Versions: 3.1.0
> Environment: iOS
>Reporter: Pepe Cano
> Fix For: 3.6.0
>
>
> The use case is:
> - app has not any active network connection
> - put the "app" in background and access to WIFI settings to active any WIFI 
> connection
> - "updateReachability" is executed and the [self sendPluginResult] call 
> originates and EXC_BAD_ACCESS exception on the _callbackId variable.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-3406) InAppBrowser option to hide bottom bar with Done/History buttons

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-3406:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> InAppBrowser option to hide bottom bar with Done/History buttons
> 
>
> Key: CB-3406
> URL: https://issues.apache.org/jira/browse/CB-3406
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: BlackBerry
>Reporter: Shazron Abdullah
>Assignee: Lorin Beer
> Fix For: 3.6.0
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-5986) WP SplashScreen does not support AutoHideSplashScreen preference

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5986:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> WP SplashScreen does not support AutoHideSplashScreen preference
> 
>
> Key: CB-5986
> URL: https://issues.apache.org/jira/browse/CB-5986
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen, WP7, WP8
>Affects Versions: 3.3.0
>Reporter: Jesse MacFadyen
>Assignee: Jesse MacFadyen
> Fix For: 3.6.0
>
>
> SplashScreen plugin is kind of useless if it can not be started with 
> AutoHideSplashScreen set to false.
> You cannot show it until after the deviceready event has fired, in which case 
> is as already been hidden, meaning it will flicker.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-6609) [Release + 3.5.0] Upload signed release .zip to Apache Dist

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-6609:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> [Release + 3.5.0] Upload signed release .zip to Apache Dist
> ---
>
> Key: CB-6609
> URL: https://issues.apache.org/jira/browse/CB-6609
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Amazon FireOS, Android, App Hello World, BlackBerry, 
> CLI, CordovaJS, Docs, FirefoxOS, iOS, mobile-spec, Ubuntu, Windows 8, WP8
>Reporter: Steve Gill
> Fix For: 3.6.0
>
>
> Refer to Workflow here:
> http://wiki.apache.org/cordova/CuttingReleases



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6202) FileTransfer onprogress event incorrect loaded value during second upload

2014-05-27 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6202:


Github user asfgit closed the pull request at:

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


> FileTransfer onprogress event incorrect loaded value during second upload
> -
>
> Key: CB-6202
> URL: https://issues.apache.org/jira/browse/CB-6202
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File Transfer, WP8
>Affects Versions: 3.3.0
>Reporter: Martin Hujer
>Assignee: Jesse MacFadyen
>
> I created a workaround for the problem: 
> https://github.com/apache/cordova-plugin-file-transfer/pull/23, but there is 
> additional work necessary:
> - check if my fix does not break anything
> - check if it works for file downloading (I'm not using it myself).



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-2829) API: FileTransfer - Support PUT Method (Tizen)

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-2829:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> API: FileTransfer - Support PUT Method (Tizen)
> --
>
> Key: CB-2829
> URL: https://issues.apache.org/jira/browse/CB-2829
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Tizen
>Reporter: Andrew Grieve
>Assignee: Paul Plaquette
>Priority: Minor
> Fix For: 3.6.0
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-2615) readAsBinaryString and readAsArrayBuffer for Tizen

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-2615:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> readAsBinaryString and readAsArrayBuffer for Tizen
> --
>
> Key: CB-2615
> URL: https://issues.apache.org/jira/browse/CB-2615
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Tizen
>Affects Versions: 2.6.0
>Reporter: Braden Shepherdson
>Assignee: Paul Plaquette
>Priority: Minor
> Fix For: 3.6.0
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-2979) Add a ./cordova/lib/list-devices project-level helper script to OSX

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-2979:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Add a ./cordova/lib/list-devices project-level helper script to OSX
> ---
>
> Key: CB-2979
> URL: https://issues.apache.org/jira/browse/CB-2979
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: OSX
>Reporter: Filip Maj
>Assignee: Tobias Bocanegra
> Fix For: 3.6.0
>
>
> Lists out attached/connected devices.
> The script should print out, at a minimum, one device ID per line. If a 
> description of the device is available, each line should be in the form ID 
> DESCRIPTION. Other tooling can then use the first space as a delimiter.
> If no devices are connected, the script should print out nothing and exit 
> with code 0.
> If it is not possible to implement this script on the platform, the script 
> script should print an appropriate error message and exit with code 1.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-2335) Add "body" property to FileTransferError object on Windows 8

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-2335:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Add "body" property to FileTransferError object on Windows 8
> 
>
> Key: CB-2335
> URL: https://issues.apache.org/jira/browse/CB-2335
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Windows 8
>Affects Versions: 2.3.0, 2.4.0, 2.5.0, 2.6.0
>Reporter: Filip Maj
>Assignee: Jesse MacFadyen
> Fix For: 3.6.0
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-2625) Create Upgrade Script for Blackberry

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-2625:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Create Upgrade Script for Blackberry
> 
>
> Key: CB-2625
> URL: https://issues.apache.org/jira/browse/CB-2625
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: BlackBerry
>Reporter: Joe Bowser
> Fix For: 3.6.0
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)


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

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-2391:
-

Fix Version/s: (was: 3.5.0)
   3.6.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.6.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 was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-2340) Add "body" property to FileTransferError object on BlackBerry

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-2340:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Add "body" property to FileTransferError object on BlackBerry
> -
>
> Key: CB-2340
> URL: https://issues.apache.org/jira/browse/CB-2340
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: BlackBerry
>Affects Versions: 2.3.0, 2.4.0, 2.5.0, 2.6.0
>Reporter: Filip Maj
>Assignee: Lorin Beer
> Fix For: 3.6.0
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-2986) Add a ./cordova/lib/install-emulator project-level helper script to Windows 8

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-2986:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Add a ./cordova/lib/install-emulator project-level helper script to Windows 8
> -
>
> Key: CB-2986
> URL: https://issues.apache.org/jira/browse/CB-2986
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Windows 8
> Environment: 
>Reporter: Filip Maj
>Assignee: Sergey Grebnov
> Fix For: 3.6.0
>
>
> {code}
> install-emulator [--target=id]
> {code}
> Installs a build of the app to an available emulator.
> If {{--target}} is specified, attempts to install the app to the emulator 
> identified by {{id}}. If the attempt fails, the script will error out with an 
> appropriate error message and exit with code 2.
> If no {{--target}} is specified, follows this multi-device flow:
>  # Are there any actual emulators available, i.e. started/running? (use 
> {{list-started-emulators}} [CB-2970] to determine this). If so, target the 
> first one, otherwise continue.
>  # Are there any emulator images available to start? (use 
> {{list-emulator-images}} [CB-2953] to determine this). If so, call 
> {{start-emulator }} [TODO: issue ref] of the first available image, wait 
> for it to become ready, then target it. If no, continue.
>  # Print an error message and exit with code 2.
> If the application is not compiled/built yet, the script will error out with 
> an appropriate error message and exit with code 2.
> If the functionality is not implementable, the script should print out an 
> appropriate error message and exit with code 1.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-566) Add manual tests for all Capture APIs and reorganize audio tests

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-566:


Fix Version/s: (was: 3.5.0)
   3.6.0

> Add manual tests for all Capture APIs and reorganize audio tests
> 
>
> Key: CB-566
> URL: https://issues.apache.org/jira/browse/CB-566
> Project: Apache Cordova
>  Issue Type: Test
>  Components: mobile-spec
>Affects Versions: 1.6.1
>Reporter: Filip Maj
> Fix For: 3.6.0
>
>
> Currently we do not have manual tests for using the capture API to capture an 
> image, audio and video.
> Also, we should reorganize the audio manual tests. These should be renamed to 
> "media".



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-2655) Add InAppBrowser.executeScript() / InAppBrowser.insertCSS API (Blackberry)

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-2655:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Add InAppBrowser.executeScript() / InAppBrowser.insertCSS API (Blackberry)
> --
>
> Key: CB-2655
> URL: https://issues.apache.org/jira/browse/CB-2655
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: BlackBerry, Plugin InAppBrowser
>Reporter: Andrew Grieve
>Assignee: Lorin Beer
> Fix For: 3.6.0
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-2617) readAsBinaryString and readAsArrayBuffer for WP

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-2617:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> readAsBinaryString and readAsArrayBuffer for WP
> ---
>
> Key: CB-2617
> URL: https://issues.apache.org/jira/browse/CB-2617
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: WP7, WP8
>Affects Versions: 2.6.0
>Reporter: Braden Shepherdson
>Assignee: Jesse MacFadyen
>Priority: Minor
> Fix For: 3.6.0
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-2995) Add a ./cordova/lib/install-device project-level helper script to OSX

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-2995:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Add a ./cordova/lib/install-device project-level helper script to OSX
> -
>
> Key: CB-2995
> URL: https://issues.apache.org/jira/browse/CB-2995
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: OSX
>Reporter: Filip Maj
>Assignee: Tobias Bocanegra
> Fix For: 3.6.0
>
>
> {code}
> install-device [--target=id]
> {code}
> Installs a build of the app to an available device.
> If {{--target}} is specified, attempts to install the app to the device 
> identified by {{id}}. If the attempt fails, the script will error out with an 
> appropriate error message and exit with code 2.
> If no {{--target}} is specified, follows this multi-device flow:
>  # Are there any devices available, i.e. connected? (use {{list-devices}} 
> [CB-2978] to determine this). If so, target the first one, otherwise continue.
>  # Print an error message and exit with code 2.
> If the application is not compiled/built yet, the script will error out with 
> an appropriate error message and exit with code 2.
> If this functionality is not implementable, print out an appropriate error 
> message and exit with code 1.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-2971) Add a ./cordova/lib/list-started-emulators as project-level helper script to OSX

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-2971:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Add a ./cordova/lib/list-started-emulators as project-level helper script to 
> OSX
> 
>
> Key: CB-2971
> URL: https://issues.apache.org/jira/browse/CB-2971
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: OSX
>Reporter: Filip Maj
>Assignee: Tobias Bocanegra
> Fix For: 3.6.0
>
>
> Lists out running emulators.
> The script should print out, at a minimum, one emulator ID per line. If a 
> description of the running emulator is available, each line should be in the 
> form ID DESCRIPTION. Other tooling can then use the first space as a 
> delimiter.
> If this functionality is not available, the script should print out an 
> appropriate error message and exit with code 1.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-51) API: FileTransfer - Support PUT Method

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-51:
---

Fix Version/s: (was: 3.5.0)
   3.6.0

> API: FileTransfer - Support PUT Method
> --
>
> Key: CB-51
> URL: https://issues.apache.org/jira/browse/CB-51
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: BlackBerry, Plugin File Transfer, Tizen
>Reporter: Shazron Abdullah
>Priority: Minor
> Fix For: 3.6.0
>
>
> reported at: https://github.com/phonegap/phonegap-iphone/issues/178
> by: https://github.com/berb
> (This feature request is platform-agnostic and has been posted here due to 
> the comments in #phonegap)
> While the current FileTransfer provides upload capabilities similar to 
> browsers (using HTTP POST and multipart), it would be helpful to support PUT 
> as well. 
> HTTP allows to create server-side resource using the PUT method, and many 
> RESTful webservices make use of this. Being the only way to upload binary 
> file content from a device to a web server, FileTransfer should additionally 
> support PUT as method. Usage might be indicated via FileUploadOptions.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-2954) Add a ./cordova/lib/list-emulator-images project-level helper script to OSX

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-2954:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Add a ./cordova/lib/list-emulator-images project-level helper script to OSX
> ---
>
> Key: CB-2954
> URL: https://issues.apache.org/jira/browse/CB-2954
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: OSX
>Reporter: Filip Maj
>Assignee: Tobias Bocanegra
> Fix For: 3.6.0
>
>
> Lists out available emulator image IDs.
> Its main use is passing into {{start-emulator}}. 
> The script should print out, at a minimum, one emulator ID per line. If a 
> description of the emulator image is available, each line should be in the 
> form ID DESCRIPTION. Other tooling can then use the first space as a 
> delimiter.
> If this functionality is not available on OSX, the script should error out 
> with an appropriate error message and exit with code 1.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-2987) Add a ./cordova/lib/install-emulator project-level helper script to OSX

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-2987:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Add a ./cordova/lib/install-emulator project-level helper script to OSX
> ---
>
> Key: CB-2987
> URL: https://issues.apache.org/jira/browse/CB-2987
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: OSX
>Reporter: Filip Maj
>Assignee: Tobias Bocanegra
> Fix For: 3.6.0
>
>
> {code}
> install-emulator [--target=id]
> {code}
> Installs a build of the app to an available emulator.
> If {{--target}} is specified, attempts to install the app to the emulator 
> identified by {{id}}. If the attempt fails, the script will error out with an 
> appropriate error message and exit with code 2.
> If no {{--target}} is specified, follows this multi-device flow:
>  # Are there any actual emulators available, i.e. started/running? (use 
> {{list-started-emulators}} [CB-2971] to determine this). If so, target the 
> first one, otherwise continue.
>  # Are there any emulator images available to start? (use 
> {{list-emulator-images}} [CB-2954] to determine this). If so, call 
> {{start-emulator }} [TODO: issue ref] of the first available image, wait 
> for it to become ready, then target it. If no, continue.
>  # Print an error message and exit with code 2.
> If the application is not compiled/built yet, the script will error out with 
> an appropriate error message and exit with code 2.
> If the functionality is not implementable, the script should print out an 
> appropriate error message and exit with code 1.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-6140) Plugman allows deletion of dependencies

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-6140:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Plugman allows deletion of dependencies
> ---
>
> Key: CB-6140
> URL: https://issues.apache.org/jira/browse/CB-6140
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, Plugman
>Affects Versions: 3.4.0
>Reporter: Bryan Higgins
>Assignee: Jonathan Bond
> Fix For: 3.6.0
>
>
> plugman 0.20.1 / CLI 3.4.0-0.1.2
> After a dependency was automatically added for me, I am able to remove it.
> "prepare" then complains about a missing plugin.xml file
> I used the following plugin, but I suspect this behaviour would occur for all 
> with a top-level dependency:
> https://github.com/blackberry/cordova-blackberry-plugins/blob/master/plugin/com.blackberry.sensors/plugin.xml



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-3928) [BlackBerry] update BBOS and PlayBook readme and internal docs

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-3928:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> [BlackBerry] update BBOS and PlayBook readme and internal docs
> --
>
> Key: CB-3928
> URL: https://issues.apache.org/jira/browse/CB-3928
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry
>Affects Versions: 2.8.0
>Reporter: Lorin Beer
>Assignee: Lorin Beer
> Fix For: 3.6.0
>
>
> BlackBerry OS and PlayBook readme files require updating after split.
> BBOS readme.md also links to incubator project, remove/fix all such artifacts.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-5448) [BlackBerry10] Improve error message when vmware is not installed on Windows

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5448:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> [BlackBerry10] Improve error message when vmware is not installed on Windows
> 
>
> Key: CB-5448
> URL: https://issues.apache.org/jira/browse/CB-5448
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry
>Affects Versions: 3.0.0, 3.1.0, 3.2.0
>Reporter: Bryan Higgins
>Assignee: Bryan Higgins
> Fix For: 3.6.0
>
>
> The script dies like this rather than informing user that it could not find 
> VMWare DHCP leases file:
> fs.js:418
>   binding.open(pathModule._makeLong(path),
>   ^
> TypeError: path must be a string
> at Object.fs.open (fs.js:418:11)
> at Object.fs.readFile (fs.js:206:6)
> at _self.findConnectedSimulator 
> (C:\_MY_FO~1\_DEVEL~1\WORKSP~1\CROSSP~1\phonegap\bbtest\PLATFO~1\BLACKB~1\cordova\lib\target-utils.js:184:12)
> at Object.async.series.ip 
> (C:\_MY_FO~1\_DEVEL~1\WORKSP~1\CROSSP~1\phonegap\bbtest\PLATFO~1\BLACKB~1\cordova\lib\run-utils.js:46:17)
> at 
> C:\_MY_FO~1\_DEVEL~1\WORKSP~1\CROSSP~1\phonegap\bbtest\PLATFO~1\BLACKB~1\cordova\node_modules\async\lib\async.js:561:25
> at iterate 
> (C:\_MY_FO~1\_DEVEL~1\WORKSP~1\CROSSP~1\phonegap\bbtest\PLATFO~1\BLACKB~1\cordova\node_modules\async\lib\async.js:131:13)
> at Object.async.eachSeries 
> (C:\_MY_FO~1\_DEVEL~1\WORKSP~1\CROSSP~1\phonegap\bbtest\PLATFO~1\BLACKB~1\cordova\node_modules\async\lib\async.js:147:9)
> at Object.async.series 
> (C:\_MY_FO~1\_DEVEL~1\WORKSP~1\CROSSP~1\phonegap\bbtest\PLATFO~1\BLACKB~1\cordova\node_modules\async\lib\async.js:560:19)
> at Object.getTargetName 
> (C:\_MY_FO~1\_DEVEL~1\WORKSP~1\CROSSP~1\phonegap\bbtest\PLATFO~1\BLACKB~1\cordova\lib\run-utils.js:43:15)
> at fn 
> (C:\_MY_FO~1\_DEVEL~1\WORKSP~1\CROSSP~1\phonegap\bbtest\PLATFO~1\BLACKB~1\cordova\node_modules\async\lib\async.js:579:34)
> ]



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-5439) Status Bar Plugin pushes web view too far down when a personal hotspot connection is active while using overlaysWebView(false)

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5439:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Status Bar Plugin pushes web view too far down when a personal hotspot 
> connection is active while using overlaysWebView(false)
> --
>
> Key: CB-5439
> URL: https://issues.apache.org/jira/browse/CB-5439
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Statusbar
>Affects Versions: 3.1.0
>Reporter: Sepp Wijnands
>Priority: Minor
>  Labels: statusbar-plugin
> Fix For: 3.6.0
>
>
> When a personal hotspot connection is active or a call is in progress, the 
> statusbar occupies two rows.
> If StatusBar.overlaysWebView(false) is used, it causes the webview to be 
> pushed further down than it should: Exactly 3 rows instead of 2.
> Steps to reproduce the problem:
> # Enable Personal Hotspot or make sure a call is in progress
> # Open/resume Cordova application that uses   
> StatusBar.overlaysWebView(false);
> Screenshot depicting the problem: 
> https://www.dropbox.com/s/u47sucujs19g2py/Screenshot%202013.11.19%2010.44.00.png
> Screenshot of application when no call/connection is in progress:
> https://www.dropbox.com/s/n2eiyem7a7wfk7j/Screenshot%202013.11.19%2010.44.45.png
> The red line at the top in the above pictures is made using the following (to 
> annotate that it really is the web view that is being pushed down):
> {code}
> body {
> border-top: 2px solid red;
> }
> {code}
> Example project: 
> https://www.dropbox.com/s/0yzarp1sioamgud/BugStatusBarPushDown.zip



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-3930) Phonegap 2.8 KeyboardShrinksView property, white background shown while keyboard transitions up

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-3930:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Phonegap 2.8 KeyboardShrinksView property, white background shown while 
> keyboard transitions up
> ---
>
> Key: CB-3930
> URL: https://issues.apache.org/jira/browse/CB-3930
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Keyboard
>Affects Versions: 2.6.0, 2.7.0, 2.8.0, 2.9.0
>Reporter: Tom Wilson
>  Labels: ios, keyboard-plugin
> Fix For: 3.6.0
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> While the keyboard is transitioning up, it seems the webview is already 
> resized and the background is white, thus causing the white background to be 
> shown. My HTML body background is black so it looks odd when the white 
> background flashes. Does anyone know how to update the background of the 
> UIView?
> Video reproducing the issue in slow motion. 
> http://www.youtube.com/watch?v=iOjdxJuYp8c
> Regular speed: http://www.youtube.com/watch?v=ZtTXU3zr18k
> Thanks!
> Tom



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-5207) InAppBrowser use causes inline video playback to stop working on iPhone

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5207:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> InAppBrowser use causes inline video playback to stop working on iPhone
> ---
>
> Key: CB-5207
> URL: https://issues.apache.org/jira/browse/CB-5207
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
>Affects Versions: 3.1.0
> Environment: iOS, iPhone
>Reporter: Aaron Martlage
> Fix For: 3.6.0
>
>
> Prior to invoking an InAppBrowser window, video plays inline properly with 
> the config.xml setting as well as the webkit-playsinline attribute on the 
> video tag. However, as soon as any InAppBrowser window is invoked and 
> subsequently closed, the video will no longer play inline and will always 
> open the native player. This is specific to an iPhone as the iPad allows 
> inline video playback without the config and playsinline attribute.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-5127) Detect changes to plugins and reinstall their source on prepare

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5127:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Detect changes to plugins and reinstall their source on prepare
> ---
>
> Key: CB-5127
> URL: https://issues.apache.org/jira/browse/CB-5127
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CLI
>Affects Versions: 3.0.0
> Environment: Windows 7, cordova CLI 3.0.4
>Reporter: Kris Erickson
>Assignee: Braden Shepherdson
> Fix For: 3.6.0
>
>
> Running 
> cordova prepare android
> copies the javascript portion of the plugin, but not the Java source on 
> android (haven't yet tested on IOS).  Thus when the project is moved between 
> machines the source isn't copied if it isn't retained in the VCS or if the 
> user adds a platform after adding a plugin.  My suggestion would be to copy 
> only if the source isn't there in case the user has changed the plugin.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-2994) Add a ./cordova/lib/install-device project-level helper script to Windows 8

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-2994:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Add a ./cordova/lib/install-device project-level helper script to Windows 8
> ---
>
> Key: CB-2994
> URL: https://issues.apache.org/jira/browse/CB-2994
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Windows 8
>Reporter: Filip Maj
>Assignee: Sergey Grebnov
> Fix For: 3.6.0
>
>
> {code}
> install-device [--target=id]
> {code}
> Installs a build of the app to an available device.
> If {{--target}} is specified, attempts to install the app to the device 
> identified by {{id}}. If the attempt fails, the script will error out with an 
> appropriate error message and exit with code 2.
> If no {{--target}} is specified, follows this multi-device flow:
>  # Are there any devices available, i.e. connected? (use {{list-devices}} 
> [CB-2978] to determine this). If so, target the first one, otherwise continue.
>  # Print an error message and exit with code 2.
> If the application is not compiled/built yet, the script will error out with 
> an appropriate error message and exit with code 2.
> If this functionality is not implementable, print out an appropriate error 
> message and exit with code 1.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-5470) Document differences between CLI and shell workflows

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5470:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Document differences between CLI and shell workflows
> 
>
> Key: CB-5470
> URL: https://issues.apache.org/jira/browse/CB-5470
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Affects Versions: Master
>Reporter: Mike Billau
>Assignee: Mike Billau
>Priority: Minor
> Fix For: 3.6.0
>
>
> After CB-5122, we have documented the two different workflows, the CLI and 
> the shell scripts. 
> However, we should further document the advantages and disadvantages to each 
> workflow. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-3002) Add a ./cordova/lib/start-emulator project-level helper script to Windows 8

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-3002:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Add a ./cordova/lib/start-emulator project-level helper script to Windows 8
> ---
>
> Key: CB-3002
> URL: https://issues.apache.org/jira/browse/CB-3002
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Windows 8
>Reporter: Filip Maj
>Assignee: Sergey Grebnov
> Fix For: 3.6.0
>
>
> {code}
> start-emulator [id]
> {code}
> Starts an emulator image.
> If {{id}} is specified, will attempt to start the emulator image with the 
> specified ID. If the emulator image is not available or is unable to be 
> started, should print an error message and exit with code 2.
> If no {{id}} is specified, it will try to start the first available emulator 
> (using the {{list-emulator-images}} script [CB-2953]). If no emulator images 
> are available, it will error out and exit with code 2.
> If this implementation is not available for a particular platform, the script 
> should print an appropriate error message and exit with code 1.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-6621) [CLI][NodeJS 11.1x] config.js returns path for local library escaping all backslashes

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-6621:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> [CLI][NodeJS 11.1x] config.js returns path for local library escaping all 
> backslashes
> -
>
> Key: CB-6621
> URL: https://issues.apache.org/jira/browse/CB-6621
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 3.4.0
> Environment: Windows 7, Windows 8.1
>Reporter: Martin Gonzalez
>Assignee: Martin Gonzalez
>  Labels: cordova-cli
> Fix For: 3.6.0
>
>
> Using local libraries as cordova-android, blackberry10, wp8 with nodejs 11.1x 
> it's making fail the requirements check.
> In fact, the config.js file, it's the one that verify if custom libraries or 
> local libraries are specified in the project.
> Tracking down the problem, I've found out that config.js, which returns the 
> library path, it's messing the path and returning this:
> c:%5CUsers%5CAdministrator%5CDesktop%5CTestWP%5Ccordova-wp8
> instead of:
> c:\Users\Administrator\Desktop\TestWP\cordova-wp8



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-3003) Add a ./cordova/lib/start-emulator project-level helper script to OSX

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-3003:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Add a ./cordova/lib/start-emulator project-level helper script to OSX
> -
>
> Key: CB-3003
> URL: https://issues.apache.org/jira/browse/CB-3003
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: OSX
>Reporter: Filip Maj
>Assignee: Tobias Bocanegra
> Fix For: 3.6.0
>
>
> {code}
> start-emulator [id]
> {code}
> Starts an emulator image.
> If {{id}} is specified, will attempt to start the emulator image with the 
> specified ID. If the emulator image is not available or is unable to be 
> started, should print an error message and exit with code 2.
> If no {{id}} is specified, it will try to start the first available emulator 
> (using the {{list-emulator-images}} script [CB-2954]). If no emulator images 
> are available, it will error out and exit with code 2.
> If this implementation is not available for a particular platform, the script 
> should print an appropriate error message and exit with code 1.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-5089) console plugin not documented

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5089:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> console plugin not documented
> -
>
> Key: CB-5089
> URL: https://issues.apache.org/jira/browse/CB-5089
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Docs, Plugin Console
>Reporter: Brian LeRoux
> Fix For: 3.6.0
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-5709) KeyboardShrinksView not responding in webview

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5709:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> KeyboardShrinksView not responding in webview
> -
>
> Key: CB-5709
> URL: https://issues.apache.org/jira/browse/CB-5709
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Plugin Keyboard
>Affects Versions: 3.2.0, 3.3.0
> Environment: iOS 6.0,iOS 7.0
>Reporter: ravi kiran
>  Labels: keyboard-plugin, performance
> Fix For: 3.6.0
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> when i press text field keyboard pops up and with it the header footer 
> changes position. and when pops down header comes to middle of the screen by 
> shrinking size of webpage.
> Fixed that issue By installing CDVKeyboard.m,.h files with js from Git 
> repository.But now my header footer shrinks down to some size .scrolling 
> looks sluggish when keyboard is up. How to solve this problem ?



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-4669) Talkback Accessibility Tool correctly calls the Splashscreen an Alert

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-4669:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Talkback Accessibility Tool correctly calls the Splashscreen an Alert
> -
>
> Key: CB-4669
> URL: https://issues.apache.org/jira/browse/CB-4669
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Reporter: Joe Bowser
>Priority: Minor
>  Labels: Accessibility
> Fix For: 3.6.0
>
>
> The splashscreen currently is a dialog, which the Talkback tool calls 
> "Alert".  This is distracting, and this should actually be the title of the 
> application, which is what happens when the application actually loads.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-4003) Add config option to not use location information in Camera plugin (and default to not use it)

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-4003:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Add config option to not use location information in Camera plugin (and 
> default to not use it)
> --
>
> Key: CB-4003
> URL: https://issues.apache.org/jira/browse/CB-4003
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: iOS, Plugin Camera
>Affects Versions: 2.8.0
>Reporter: Shazron Abdullah
>Assignee: Lorin Beer
>Priority: Minor
> Fix For: 3.6.0
>
>
> PG GG discussion: 
> https://groups.google.com/d/msg/phonegap/v5ajpkRiPNI/Mm3GTcJdiA8J
> A user is requesting this.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-5244) UIWebView does not pass document.cookie to WebWorker

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5244:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> UIWebView does not pass document.cookie to WebWorker
> 
>
> Key: CB-5244
> URL: https://issues.apache.org/jira/browse/CB-5244
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 3.1.0
> Environment: iOS 6.0 and iOS 7.0
>Reporter: Louis Mullie
>  Labels: core
> Fix For: 3.6.0
>
>
> - Scenario: an XMLHttpRequest is made inside a WebWorker on Cordova iOS.
> - Expected result: the Cookie header is set to the value of the parent 
> document's document.cookie. (Works on Safari/Chrome in iOS, and all major 
> browsers on desktop).
> - Actual result: the Cookie header is not set.
> This is actually a serious problem because it completely precludes 
> applications that use session cookie authentication from making HTTP requests 
> from a WebWorker (and see here as to why localStorage is not a viable 
> alternative).



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-5469) Document how to run npm without sudo

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5469:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Document how to run npm without sudo
> 
>
> Key: CB-5469
> URL: https://issues.apache.org/jira/browse/CB-5469
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Reporter: Mike Billau
>Assignee: Mike Billau
>Priority: Minor
> Fix For: 3.6.0
>
>
> We ask users to install npm globally. Whether or not we are going to continue 
> to suggest this is a different debate, but in the mean time we should talk 
> about how they can set up npm to run without requiring sudo/Administrator. 
> There is a wiki page here that talks about it: 
> https://wiki.apache.org/cordova/npm_rc
> We need to build out this wiki page and then link to it in the docs.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-4456) Remove support of plugins-plist elements in plugman

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-4456:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Remove support of plugins-plist elements in plugman
> ---
>
> Key: CB-4456
> URL: https://issues.apache.org/jira/browse/CB-4456
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugman
>Reporter: Filip Maj
>Assignee: Braden Shepherdson
> Fix For: 3.6.0
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-6611) [Release + 3.5.0] Announce Release

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-6611:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> [Release + 3.5.0] Announce Release
> --
>
> Key: CB-6611
> URL: https://issues.apache.org/jira/browse/CB-6611
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Amazon FireOS, Android, App Hello World, BlackBerry, 
> CLI, CordovaJS, Docs, FirefoxOS, iOS, mobile-spec, Ubuntu, Windows 8, WP8
>Reporter: Steve Gill
>Assignee: Steve Gill
> Fix For: 3.6.0
>
>
> Refer to Workflow here:
> http://wiki.apache.org/cordova/CuttingReleases



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-6183) Incorrect config.xml multi-platform preferences

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-6183:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Incorrect config.xml multi-platform preferences
> ---
>
> Key: CB-6183
> URL: https://issues.apache.org/jira/browse/CB-6183
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Affects Versions: 3.2.0, 3.3.0, 3.4.0
>Reporter: Shazron Abdullah
> Fix For: 3.6.0
>
>
> Link: 
> http://cordova.apache.org/docs/en/3.4.0/config_ref_index.md.html#The%20config.xml%20File_multi_platform_preferences
> HideKeyboardFormAccessoryBar is not supported in iOS since the feature has 
> been removed into its own plugin. This happened in Cordova 3.2.0



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-6586) [Release + 3.5.0] Parent Issue

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-6586:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> [Release + 3.5.0] Parent Issue
> --
>
> Key: CB-6586
> URL: https://issues.apache.org/jira/browse/CB-6586
> Project: Apache Cordova
>  Issue Type: Task
>  Components: Amazon FireOS, Android, App Hello World, BlackBerry, 
> CLI, CordovaJS, Docs, FirefoxOS, iOS, mobile-spec, Ubuntu, Windows 8, WP8
>Reporter: Steve Gill
>Assignee: Steve Gill
> Fix For: 3.6.0
>
>
> Parent bug for the 3.5.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 was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-6265) CLI guide omits Windows workstations using CLI for Android projects

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-6265:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> CLI guide omits Windows workstations using CLI for Android projects
> ---
>
> Key: CB-6265
> URL: https://issues.apache.org/jira/browse/CB-6265
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Affects Versions: 3.2.0
>Reporter: Marcel Kinard
>Assignee: Marcel Kinard
>Priority: Minor
> Fix For: 3.6.0
>
>
> In 
> http://cordova.apache.org/docs/en/3.4.0/guide_cli_index.md.html#The%20Command-Line%20Interface
>  it has the following line for Android:
> Android (Mac, Linux)
> Windows is obviously missing. Appears to be a defect in the docs going back 
> to 3.2.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-5751) FirefoxOS build issue

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5751:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> FirefoxOS build issue
> -
>
> Key: CB-5751
> URL: https://issues.apache.org/jira/browse/CB-5751
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, FirefoxOS
>Affects Versions: 3.3.0
> Environment: Windows 7 amd64
> Cordova 3.3.1-0.1.2
> nodejs v0.10.24
>Reporter: Vincenzo
>Assignee: Gert-Jan Braas
> Fix For: 3.6.0
>
>
> After typing 
> cordova platform add firefoxos
> and 
> cordova build
> I read this error:
> C:\Users\Utente\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:126
> throw e;
>   ^
> Error: An error occurred while building the firefoxos 
> project."c:\Linkpass\platf
> orms\firefoxos\cordova\build" non ´┐¢ riconosciuto come comando interno o 
> estern
> o,
>  un programma eseguibile o un file batch.
> at ChildProcess. 
> (C:\Users\Utente\AppData\Roaming\npm\node_module
> s\cordova\src\compile.js:65:22)
> at ChildProcess.EventEmitter.emit (events.js:98:17)
> at maybeClose (child_process.js:735:16)
> at Socket. (child_process.js:948:11)
> at Socket.EventEmitter.emit (events.js:95:17)
> at Pipe.close (net.js:466:12)



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-6182) Incorrect config.xml Global Preferences

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-6182:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Incorrect config.xml Global Preferences
> ---
>
> Key: CB-6182
> URL: https://issues.apache.org/jira/browse/CB-6182
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Affects Versions: Master
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
> Fix For: 3.6.0
>
>
> Link: 
> http://cordova.apache.org/docs/en/3.4.0/config_ref_index.md.html#The%20config.xml%20File_global_preferences
> The fullscreen and orientation global preferences are not supported on iOS.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-5053) Add our own sample video (appropriately licensed) for tests

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5053:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Add our own sample video (appropriately licensed) for tests
> ---
>
> Key: CB-5053
> URL: https://issues.apache.org/jira/browse/CB-5053
> Project: Apache Cordova
>  Issue Type: Task
>  Components: mobile-spec, Website
>Affects Versions: Master
>Reporter: Shazron Abdullah
> Fix For: 3.6.0
>
>
> Video to get:
> http://www.bigbuckbunny.org/index.php/download/
> License of video (CC BY 3.0):
> http://www.bigbuckbunny.org/index.php/about/
> HOWEVER, according to LEGAL-96 I'm not sure this is approved by policy, so we 
> may need to seek an alternative.
> Video referenced in test:
> https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;a=blob;f=inappbrowser/video.html;h=64ea3d1196534763801823327aa563c0d8546280;hb=3cfe781
> Add to our website, just like 
> http://cordova.apache.org/downloads/BlueZedEx.mp3 (for our audio tests).



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-3420) InAppBrowser Option to Start Hidden

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-3420:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> InAppBrowser Option to Start Hidden
> ---
>
> Key: CB-3420
> URL: https://issues.apache.org/jira/browse/CB-3420
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android, BlackBerry, CordovaJS, iOS, mobile-spec, Plugin 
> InAppBrowser
>Reporter: Andrew Grieve
>Assignee: David Kemp
>Priority: Minor
> Fix For: 3.6.0
>
>
> One common use-case for the InAppBrowser is to handle an OAuth flow. Some 
> flows can be done without any user interaction, so it would be great if the 
> InAppBrowser had an option where it would start hidden, and could later be 
> reveals through a JS call.
> E.g.
> var iab = window.open('$OAUTH_URL', 'hidden=yes');
> //some time later.
> iab.show();



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-4585) Sound api should reset the AVAudioSession category when finished playing or recording

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-4585:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Sound api should reset the AVAudioSession category when finished playing or 
> recording
> -
>
> Key: CB-4585
> URL: https://issues.apache.org/jira/browse/CB-4585
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media
>Affects Versions: 2.9.0
> Environment: iOS
>Reporter: Becky Gibson
> Fix For: 3.6.0
>
>
> I discovered this issue when working with the capture API and Voiceover. The 
> media play and record methods have the same issue.  We modify the 
> AVAudioSession category when playing and recording and don't reset it.  We 
> really should capture the current AVAudioSession category before modifying it 
> to perform the play or record and then reset it when the play or record 
> operation completes. 
> I (Becky) have a fix for this but it may be a bit before I get my system 
> setup with the new directory structure in order to create a pull request or 
> commit the fix.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-5665) Document the need for xcopy on path

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5665:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Document the need for xcopy on path
> ---
>
> Key: CB-5665
> URL: https://issues.apache.org/jira/browse/CB-5665
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, Docs
> Environment: Windows
>Reporter: Mike Billau
>Priority: Minor
> Fix For: 3.6.0
>
>
> On Windows, you need to have xcopy on the path when trying to build Android, 
> otherwise it will fail. I think this maybe started when we switched to q.js
> See:
> https://issues.apache.org/jira/browse/CB-4074
> and
> http://stackoverflow.com/questions/20616893/an-error-occured-during-creation-of-android-sub-project/20640450
> If it is necessary only when you use the CLI, we can just add a note in the 
> CLI documentation.
> If it is necessary regardless of which workflow you use, then I think it 
> should be in check_reqs with a log message on the terminal to "Make sure 
> xcopy is on your path."
> It's probably a Windows-specific thing, no?



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-4937) Weird Crop When using allowEdit on iOS7

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-4937:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Weird Crop When using allowEdit on iOS7
> ---
>
> Key: CB-4937
> URL: https://issues.apache.org/jira/browse/CB-4937
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 2.6.0
> Environment: iOS
>Reporter: Greg
> Fix For: 3.6.0
>
>
> When taking a picture using the following syntax (Camera or Library):
> {{navigator.camera.getPicture(success, fail, {quality: 45, destinationType: 
> destinationType.FILE_URI, sourceType: pictureSource.CAMERA, 
> correctOrientation: true, encodingType: encoding.JPEG, saveToPhotoAlbum: 
> true, allowEdit: true});}}
> And the user edits the photo by trying to scale in or out, 10px of the 
> picture is cropped on the right (showing a black bar on the right). This is 
> only affected on iOS7.
> See this for an example: 
> https://untappd.s3.amazonaws.com/photo/2013_09_24/cfff83f5b72cc29b2377b49a7790e505_raw.jpg
> This is the raw uploaded photo (resized to 50%).
> Replication Steps:
> 1. Download Untappd for iOS
> 2. Check-in a beer, and then add a photo (choose camera)
> 3. Take photo in portrait mode.
> 4. Touch the picture to zoom in or out on the Edit Screen
> 5. You won't be able to see the crop picture until you posted it. So check-in 
> your beer. You might be able to see a little bit of the picture not shown 
> behind the "Change Photo" button.
> 6. Tap the Profile Icon, so see your last check-in and you will see the 
> picture cropped with a black-bar on the right-side on your first check-in.
> Is there any fix for this?
>   



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-4714) Allow removing a plugin that is a dependency (using -f or -force flag)

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-4714:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Allow removing a plugin that is a dependency (using -f or -force flag)
> --
>
> Key: CB-4714
> URL: https://issues.apache.org/jira/browse/CB-4714
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CLI, Plugman
>Affects Versions: 3.0.0
> Environment: Windows 8
>Reporter: Jonathan Bond
>Assignee: Jonathan Bond
>Priority: Minor
>  Labels: patch
> Fix For: 3.6.0
>
> Attachments: 0001-Use-plugman-emitter-of-events.patch, 
> 0002-CB-4714-Pass-options-to-plugin-uninstall.patch
>
>
> Some context:
> I wanted to start using the mobile spec app for cordova. The problem is I 
> didn't know which dependencies were required for the application.
> So I created a plugin which just lists some dependencies: 
> https://github.com/jbondc/cordova-plugin-mobile-spec
> > cordova create test
> > cordova platform add android
> >cordova plugin list
> No plugins added. Use `cordova plugin add `.
> >cordova plugin add https://github.com/jbondc/cordova-plugin-mobile-spec
> >cordova plugin list
> [ 'org.apache.cordova.core.battery-status',
>   'org.apache.cordova.core.camera',
>   'org.apache.cordova.core.device',
>   'org.apache.cordova.core.file',
>   'org.apache.cordova.core.media-capture',
>   'org.apache.cordova.core.mobile-spec' ]
> To test a modifications/patches to a specific plugin (media-capture), I 
> wanted to do:
> >cordova plugin rm org.apache.cordova.core.media-capture
> [Error: Another top-level plugin (org.apache.cordova.core.mobile-spec) relies 
> on plugin org.apache.cordova.core.media-capture, therefore aborting 
> uninstallation
> .]
> A lot of dependency management systems (freebsd ports, debian packages) allow 
> you to forcefully remove a dependency.
> That's what I'm proposing:
> >cordova plugin rm org.apache.cordova.core.media-capture -f
> >cordova plugin list
> [ 'org.apache.cordova.core.battery-status',
>   'org.apache.cordova.core.camera',
>   'org.apache.cordova.core.device',
>   'org.apache.cordova.core.mobile-spec' ]
> >cordova plugin add F:\Jonathan\GitHub\Cordova\cordova-plugin-media-capture
> >cordova plugin list
> [ 'org.apache.cordova.core.battery-status',
>   'org.apache.cordova.core.camera',
>   'org.apache.cordova.core.device',
>   'org.apache.cordova.core.media-capture',
>   'org.apache.cordova.core.mobile-spec' ]
> It makes it easier to add/remove a plugin even if some dependencies are not 
> met.
>  



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-4288) Merges tag should merge with module name instead of JS path

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-4288:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Merges tag should merge with module name instead of JS path
> ---
>
> Key: CB-4288
> URL: https://issues.apache.org/jira/browse/CB-4288
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaJS
>Reporter: Max Woghiren
>Assignee: Andrew Grieve
>Priority: Minor
> Fix For: 3.6.0
>
>
> The motivation here is that you don't always want to export a symbol in order 
> when merging modules. Syntax should look like:
> 



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-6165) Removing the "OK" String from success callback

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-6165:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Removing the "OK" String from success callback 
> ---
>
> Key: CB-6165
> URL: https://issues.apache.org/jira/browse/CB-6165
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Reporter: Ally Ogilvie
>Assignee: Shazron Abdullah
>Priority: Minor
>  Labels: core
> Fix For: 3.6.0
>
>
> [Brief]
> If no "message" (e.g. messageWithString, messageWithInt) is given to the 
> resultWithStatus success callback, an "OK" is added.
> [About]
> Since the very beginning oh PhoneGap a success callback without "message" 
> (native args) has returned the string "OK" to the success function in 
> JavaScript.
> There is no reason for this to be. The reason it's there is because it's been 
> there from the beginning. But we should get rid of this now.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-6597) [Release + 3.5.0] Upload docs without switching default

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-6597:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> [Release + 3.5.0] Upload docs without switching default
> ---
>
> Key: CB-6597
> URL: https://issues.apache.org/jira/browse/CB-6597
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Amazon FireOS, Android, App Hello World, BlackBerry, 
> CLI, CordovaJS, Docs, FirefoxOS, iOS, mobile-spec, Ubuntu, Windows 8, WP8
>Reporter: Steve Gill
> Fix For: 3.6.0
>
>
> Refer to Workflow here:
> http://wiki.apache.org/cordova/CuttingReleases



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-5425) iOS: Inappbrowser sometimes does not open the page and event "falls through" to main webView

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5425:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> iOS: Inappbrowser sometimes does not open the page and event "falls through" 
> to main webView
> 
>
> Key: CB-5425
> URL: https://issues.apache.org/jira/browse/CB-5425
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
>Affects Versions: 3.1.0
> Environment: iOS, iOS7 Simulator (retina 4"), iOS6 iPod
>Reporter: Tomáš Fejfar
>  Labels: cordova, inappbrowser, ios
> Fix For: 3.6.0
>
>
> There is a simple app illustrating the issue: 
> https://github.com/tomasfejfar/cordova-bug-01
> There is a div with ontouch event that will open google.com in inappbrowser - 
> there is a link inside - that will open seznam.cz 
> Steps to reproduce:
> * play with it long enough clicking on the link and closing inappbrowser 
> (appears irregularly)
> * wild inappbrowser appears (EMPTY)
> * seznam.cz is loaded in the main webview
> My guess is that on some occasions the window.open() call fails somehow and 
> the webview handles the tap event - opening the link. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-6610) [Release + 3.5.0] Change default docs to new version

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-6610:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> [Release + 3.5.0] Change default docs to new version
> 
>
> Key: CB-6610
> URL: https://issues.apache.org/jira/browse/CB-6610
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Amazon FireOS, Android, App Hello World, BlackBerry, 
> CLI, CordovaJS, Docs, FirefoxOS, iOS, mobile-spec, Ubuntu, Windows 8, WP8
>Reporter: Steve Gill
> Fix For: 3.6.0
>
>
> Refer to Workflow here:
> http://wiki.apache.org/cordova/CuttingReleases



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-3029) remote page loading 2.6.0 cordova js file not work

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-3029:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> remote page loading 2.6.0 cordova js file not work
> --
>
> Key: CB-3029
> URL: https://issues.apache.org/jira/browse/CB-3029
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry
>Affects Versions: 2.6.0
> Environment: tested on ios including iphone and ipad; on blackberry, 
> reported this error: TypeError:'undefined'is not an object
>Reporter: Andy Downton
>Assignee: Andrew Grieve
> Fix For: 3.6.0
>
>
> My app loads remote page containing cordova js file; it works fine with 2.5.0 
> and previous version, however, after upgrading cordova js file to 2.6.0, all 
> app functions broken, no deviceready fired at all and other app functions 
> stop working. this bug affects only remote page loading cordova js file on 
> ios and blackberry, local page works fine. I only tested on iphone, ipad and 
> blackberry, not sure if this issue affects other OSs.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-6171) get a testsuite for the CLI that can verify commands work consistently across workstation OS's

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-6171:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> get a testsuite for the CLI that can verify commands work consistently across 
> workstation OS's
> --
>
> Key: CB-6171
> URL: https://issues.apache.org/jira/browse/CB-6171
> Project: Apache Cordova
>  Issue Type: Test
>  Components: CLI, mobile-spec
>Affects Versions: 3.3.0, 3.4.0
>Reporter: Martin Gonzalez
>Assignee: Martin Gonzalez
>  Labels: cordova-cli, mobilespec,, test,, testsuite
> Fix For: 3.6.0
>
>
> The Windows workstation appears to get much less CLI love than OSX. Same is 
> probably true for Linux. We don't want to be surprised by problems with the 
> CLI on Windows workstations.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-4584) Capture audio should reset AVAudioSession when finished recording

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-4584:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Capture audio should reset AVAudioSession when finished recording
> -
>
> Key: CB-4584
> URL: https://issues.apache.org/jira/browse/CB-4584
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media Capture
>Affects Versions: 2.9.0
> Environment: iOS
>Reporter: Becky Gibson
> Fix For: 3.6.0
>
>
> After recording, the AVAudioSession is left in record mode.  This prevents 
> VoiceOver from working properly.  Steps to reproduce:
> 1) Turn on VoiceOver
> 2) call captureAudio api to bring up the recording UI
> 3) record something and click done
> 4) WithOUT playing the recording, call the captureAudio api to bring up the 
> recording UI again. Note that this time no information is spoken by 
> VoiceOver. This is because the AVAudioSession category is left in record mode.
> The solution is to store the current AVAudioSession.category when the view is 
> loaded and reset back to that category when recording is completed (the mode 
> is set in the code to AVAudioSessionCategoryRecord in order to record).
> Becky has a fix for this it just may take me a bit to get my system set up to 
> post a patch or check in a fix.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-4349) [BlackBerry10] Add platform guide section on debug tokens

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-4349:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> [BlackBerry10] Add platform guide section on debug tokens
> -
>
> Key: CB-4349
> URL: https://issues.apache.org/jira/browse/CB-4349
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Docs
>Affects Versions: 3.0.0
>Reporter: Bryan Higgins
>Assignee: Bryan Higgins
> Fix For: 3.6.0
>
>
> These are automatically generated, but only if device PIN is specified (see 
> CB-4340) and signing key password provided. It is also possible to add a 
> pre-generated file to HOME/.cordova.
> The platform guide should have a section that explains how the process has 
> changed from prior versions of WebWorks / Cordova.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


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

2014-05-27 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: (was: 3.5.0)
   3.6.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, Plugins
>Affects Versions: 3.0.0
>Reporter: Shazron Abdullah
>Priority: Minor
>  Labels: core, ios7
> Fix For: 3.6.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 was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-6127) Create Translations for Plugins for 3.4

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-6127:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Create Translations for Plugins for 3.4
> ---
>
> Key: CB-6127
> URL: https://issues.apache.org/jira/browse/CB-6127
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Translation
>Affects Versions: 3.4.0
>Reporter: Lisa Seacat DeLuca
>Assignee: Lisa Seacat DeLuca
>Priority: Minor
> Fix For: 3.6.0
>
>
> Plugin documentation is no longer located in the cordova-docs repository for 
> 3.4.  Instead we need to translate each of the 17 individual plugin 
> repository files.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-4880) add releasenotes.md for blackberry

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-4880:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> add releasenotes.md for blackberry
> --
>
> Key: CB-4880
> URL: https://issues.apache.org/jira/browse/CB-4880
> Project: Apache Cordova
>  Issue Type: Task
>  Components: BlackBerry
>Affects Versions: 3.0.0
>Reporter: Lorin Beer
>Priority: Minor
> Fix For: 3.6.0
>
>
> as per http://wiki.apache.org/cordova/IOSReleaseChecklist
> BlackBerry platform requires a releasenotes.md file with filtered list of 
> commit logs.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-6410) [BlackBerry10] Allow deployment without debug token

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-6410:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> [BlackBerry10] Allow deployment without debug token
> ---
>
> Key: CB-6410
> URL: https://issues.apache.org/jira/browse/CB-6410
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry
>Affects Versions: 3.4.0
>Reporter: Bryan Higgins
> Fix For: 3.6.0
>
>
> There may be cases where users wish to generate debug token on a separate 
> machine. The run script should only warn about missing debug token rather 
> than failing.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-5022) Installing Core Plugins section unclear

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5022:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Installing Core Plugins section unclear
> ---
>
> Key: CB-5022
> URL: https://issues.apache.org/jira/browse/CB-5022
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Docs
>Affects Versions: 3.1.0
> Environment: n/a
>Reporter: Angela Fowler
>Assignee: Mike Billau
>Priority: Minor
>  Labels: documentation
> Fix For: 3.6.0
>
>
> http://cordova.apache.org/docs/en/edge/plugin_ref_plugman.md.html
> The "Installing Core Plugins" section appears as a bullet list of commands. 
> cordova-plugin-battery-status plugman --platform --project --plugin 
> org.apache.cordova.battery-status
> 1. Each command starts with the plugin name when it should start with 
> "plugman". Perhaps this was intended to be the first column of a table?
> 2. Each command is an example (according to the opening paragraph) but is 
> missing the platform e.g. "android" and the project
> 3. It is still unclear to us how to upgrade from 2.9 which has the plugins 
> included. If we don't use CLI as the introduction mentions, how is the 
> project created? Can plugins be built into the jar or is the plugin source 
> separate (as when added by CLI).



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-6418) [Blackberry] remove copyright statements

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-6418:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> [Blackberry] remove copyright statements
> 
>
> Key: CB-6418
> URL: https://issues.apache.org/jira/browse/CB-6418
> Project: Apache Cordova
>  Issue Type: Task
>  Components: BlackBerry
>Affects Versions: 3.4.0
>Reporter: Martin Gonzalez
>Assignee: Josh Soref
>  Labels: blackberry, copyright, legal
> Fix For: 3.6.0
>
>
> There are several copyright statements in 'cordova-blackberry' that it 
> shouldn't be there.
> https://github.com/blackberry/cordova-blackberry/blob/cb_6398/blackberry10/bin/templates/project/cordova/lib/params.js#L2
> https://github.com/blackberry/cordova-blackberry/blob/cb_6398/blackberry10/bin/templates/project/cordova/lib/debugtoken-helper.js#L2
> According to https://www.apache.org/legal/src-headers.html#headers
> It is required remove them.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-4508) [BlackBerry10] Move unit tests to plugin repos

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-4508:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> [BlackBerry10] Move unit tests to plugin repos
> --
>
> Key: CB-4508
> URL: https://issues.apache.org/jira/browse/CB-4508
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry
>Affects Versions: 3.0.0
>Reporter: Bryan Higgins
>Assignee: Bryan Higgins
>Priority: Minor
> Fix For: 3.6.0
>
>
> Removing them from cordova-blackberry:
> https://github.com/blackberry/cordova-blackberry/commit/349ed2dc08f35078b2b5634e836e1fe7f5169633



--
This message was sent by Atlassian JIRA
(v6.2#6252)


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

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-4071:
-

Fix Version/s: (was: 3.5.0)
   3.6.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, Plugin Media Capture, Windows 8
>Affects Versions: 2.9.0
> Environment: All
>Reporter: Jonathan Bond
>Priority: Minor
> Fix For: 3.6.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 was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-3061) Add mobile-spec test for ajax error/fail callback being called after server returns 401 Unauthorized

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-3061:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> Add mobile-spec test for ajax error/fail callback being called after server 
> returns 401 Unauthorized
> 
>
> Key: CB-3061
> URL: https://issues.apache.org/jira/browse/CB-3061
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: mobile-spec
> Environment: iOS
>Reporter: Shazron Abdullah
> Fix For: 3.6.0
>
>
> On iOS it doesn't seem to be be calling the failure callback. See CB-2415
> We already have FileTransfer tests for Basic Auth, we can use the same server 
> endpoints for this test.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-6024) nopt refactoring

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-6024:
-

Fix Version/s: (was: 3.5.0)
   3.6.0

> nopt refactoring
> 
>
> Key: CB-6024
> URL: https://issues.apache.org/jira/browse/CB-6024
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CLI, Plugman
>Affects Versions: 3.3.0
> Environment: Windows, Mac OSX
>Reporter: Jonathan Bond
>Assignee: Mark Koudritsky
>  Labels: patch
> Fix For: 3.6.0
>
>
> As per mailing list:
> - Refactoring cli to use nopt. 
> - Several improvements to the install/uninstall tests to touch the file 
> system.
> - Consistency improvements in the code



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6202) FileTransfer onprogress event incorrect loaded value during second upload

2014-05-27 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6202:


Github user shazron commented on the pull request:


https://github.com/apache/cordova-plugin-file-transfer/pull/23#issuecomment-44341688
  
ping @purplecabbage


> FileTransfer onprogress event incorrect loaded value during second upload
> -
>
> Key: CB-6202
> URL: https://issues.apache.org/jira/browse/CB-6202
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File Transfer, WP8
>Affects Versions: 3.3.0
>Reporter: Martin Hujer
>Assignee: Jesse MacFadyen
>
> I created a workaround for the problem: 
> https://github.com/apache/cordova-plugin-file-transfer/pull/23, but there is 
> additional work necessary:
> - check if my fix does not break anything
> - check if it works for file downloading (I'm not using it myself).



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-6770) Adding a non-existent plugin should produce a friendlier error

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-6770:
-

Affects Version/s: 3.5.0

> Adding a non-existent plugin should produce a friendlier error
> --
>
> Key: CB-6770
> URL: https://issues.apache.org/jira/browse/CB-6770
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CLI
>Affects Versions: 3.5.0
> Environment: OS X
>Reporter: Shazron Abdullah
>Priority: Minor
>
> {code}
> $ cordova plugin add org.apache.cordova.keyboard
> Fetching plugin "org.apache.cordova.keyboard" via plugin registry
> Error: Failed to fetch package information for org.apache.cordova.keyboard
> at 
> /usr/local/lib/node_modules/cordova/node_modules/plugman/src/registry/registry.js:32:20
> at Request.cb [as _callback] 
> (/usr/local/lib/node_modules/cordova/node_modules/plugman/src/registry/registry.js:251:9)
> at Request.self.callback 
> (/usr/local/lib/node_modules/cordova/node_modules/plugman/node_modules/request/index.js:148:22)
> at Request.EventEmitter.emit (events.js:107:17)
> at Request. 
> (/usr/local/lib/node_modules/cordova/node_modules/plugman/node_modules/request/index.js:886:14)
> at Request.EventEmitter.emit (events.js:126:20)
> at IncomingMessage. 
> (/usr/local/lib/node_modules/cordova/node_modules/plugman/node_modules/request/index.js:837:12)
> at IncomingMessage.EventEmitter.emit (events.js:126:20)
> at _stream_readable.js:895:16
> at process._tickCallback (node.js:339:11)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6770) Adding a non-existent plugin should produce a friendlier error

2014-05-27 Thread Shazron Abdullah (JIRA)
Shazron Abdullah created CB-6770:


 Summary: Adding a non-existent plugin should produce a friendlier 
error
 Key: CB-6770
 URL: https://issues.apache.org/jira/browse/CB-6770
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CLI
 Environment: OS X
Reporter: Shazron Abdullah
Priority: Minor


{code}
$ cordova plugin add org.apache.cordova.keyboard
Fetching plugin "org.apache.cordova.keyboard" via plugin registry
Error: Failed to fetch package information for org.apache.cordova.keyboard
at 
/usr/local/lib/node_modules/cordova/node_modules/plugman/src/registry/registry.js:32:20
at Request.cb [as _callback] 
(/usr/local/lib/node_modules/cordova/node_modules/plugman/src/registry/registry.js:251:9)
at Request.self.callback 
(/usr/local/lib/node_modules/cordova/node_modules/plugman/node_modules/request/index.js:148:22)
at Request.EventEmitter.emit (events.js:107:17)
at Request. 
(/usr/local/lib/node_modules/cordova/node_modules/plugman/node_modules/request/index.js:886:14)
at Request.EventEmitter.emit (events.js:126:20)
at IncomingMessage. 
(/usr/local/lib/node_modules/cordova/node_modules/plugman/node_modules/request/index.js:837:12)
at IncomingMessage.EventEmitter.emit (events.js:126:20)
at _stream_readable.js:895:16
at process._tickCallback (node.js:339:11)
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6728) Support chip architecture as an option when building Windows and Windows Phone projects

2014-05-27 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen commented on CB-6728:
-

I prefer option 2, but I think this discussion needs input from more 
platforms/devs.

> Support chip architecture as an option when building Windows and Windows 
> Phone projects
> ---
>
> Key: CB-6728
> URL: https://issues.apache.org/jira/browse/CB-6728
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CLI, Windows 8, WP8
>Affects Versions: 3.4.0
>Reporter: Vladimir Kotikov
>Assignee: Jesse MacFadyen
>  Labels: arm, cli, windows, wp8, x64, x86
>
> Currently apps for Windows 8 and Windows Phone 8 are targeted to AnyCPU 
> architecture, which is universal, but sometimes it's critical to build 
> application for specific processor architecture.
> As an example is WebSQL plugin which contains references to C++ libs so needs 
> to be built for specific architecture (x84, x64, ARM) and which does not 
> support AnyCPU target.
> So it looks important to add support for additional build flags `-x64`, 
> `-x86`, `-arm`, '-any' to specify target chip architecture.
> {noformat}
> cordova build windows8 --release --x64
> cordova build wp8 --arm
> {noformat}
> If flag is not specified, `AnuCPU` target platform should be used by default.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6718) cordova firefox reports wrong version

2014-05-27 Thread ASF subversion and git services (JIRA)

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

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

Commit f8c5c7594e3f5f1a28f5b2d72526b558a185f8db in cordova-firefoxos's branch 
refs/heads/3.5.x from [~zalun]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-firefoxos.git;h=f8c5c75 ]

version fixed (CB-6718)


> cordova firefox reports wrong version
> -
>
> Key: CB-6718
> URL: https://issues.apache.org/jira/browse/CB-6718
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: FirefoxOS
>Affects Versions: 3.5.0
> Environment: MacOSX
>Reporter: Carlos Santana
>
> While doing rc testing platform cordova-firefoxos reports 3.4.0-dev when it 
> should report 3.5.0
> Steps to replicate
> Install cordova cli 3.5.0-0.2.4
> {code}
> $ ../../node_modules/.bin/cordova -v
> 3.5.0-0.2.4
> $ ./node_modules/.bin/cordova create firefox350/newProj
> Creating a new cordova project with name "HelloCordova" and id 
> "io.cordova.hellocordova" at location 
> "/Users/csantana23/Documents/cordova/firefox350/newProj"
> Downloading cordova library for www...
> Download complete
> /Users/csantana23/Documents/cordova/firefox350/newProj
> $ ../../node_modules/.bin/cordova platform add firefoxos
> Downloading cordova library for firefoxos...
> Download complete
> Creating firefoxos project...
> Creating Firefox OS project
> Project Path platforms/firefoxos
> Package Name io.cordova.hellocordova
> Project Name HelloCordova
> /Users/csantana23/Documents/cordova/firefox350/newProj
> $ ../../node_modules/.bin/cordova platform ls
> Installed platforms: firefoxos 3.4.0-dev
> Available platforms: amazon-fireos, android, blackberry10, ios
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6763) Simultaneous local XHRs on WP8 returns incorrect result

2014-05-27 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen commented on CB-6763:
-

The example above is a classic closure issue, and not related to the XHRHelper 
class, or the JS code it injects.

>From : 
>http://stackoverflow.com/questions/750486/javascript-closure-inside-loops-simple-practical-example
{code}
var funcs = [];
for (var i = 0; i < 3; i++) {  // let's create 3 functions
funcs[i] = function() {// and store them in funcs
console.log("My value: " + i); // each should log its value.
};
}
for (var j = 0; j < 3; j++) {
funcs[j]();// and now let's run each one to see
}
{code}

My value: 3
My value: 3
My value: 3

> Simultaneous local XHRs on WP8 returns incorrect result
> ---
>
> Key: CB-6763
> URL: https://issues.apache.org/jira/browse/CB-6763
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: WP8
>Affects Versions: 3.4.0
>Reporter: Vladimir Kotikov
>Assignee: Jesse MacFadyen
>  Labels: wp8, xhr, xhrhelper
>
> When try to get content of multiple local files via XHR, all requests return 
> responses with same content. E.g. following code (using jQuery)
> {noformat}
> function loadTemplates (views) {
> var deferreds = [];
> $.each(views, function (index, view) {
> var vURL = 'tpl/' + view + '.html';
> deferreds.push($.get(vURL, function (data) {
> console.log(data)
> }, 'html'));
> })
> }
> loadTemplates(["HomeView", "ContactView", "ShellView", "EmployeeView", 
> "EmployeeSummaryView", "EmployeeListItemView"]);
> {noformat}
> will print contents of {{tpl/EmployeeListItemView.html}} 6 times.
> The problem is when new local XHR is sent, it overrides 
> {{__onXHRLocalCallback}} callback, already created by previous request.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6769) InAppBrowser iOS7 - not restoring original status bar style

2014-05-27 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6769:


Github user bwin commented on the pull request:


https://github.com/apache/cordova-plugin-inappbrowser/pull/45#issuecomment-44330972
  
Fix CB-6769


> InAppBrowser iOS7 - not restoring original status bar style
> ---
>
> Key: CB-6769
> URL: https://issues.apache.org/jira/browse/CB-6769
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
>Affects Versions: 3.4.0
>Reporter: Benjamin Winkler
>Priority: Minor
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> The InAppBrowser-Plugin fails to restore the original status bar style.
> It's already fixed, I just need a JIRA Issue-ID for my pull request.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Assigned] (CB-6768) Error copying Blackberry10 icons

2014-05-27 Thread Bryan Higgins (JIRA)

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

Bryan Higgins reassigned CB-6768:
-

Assignee: Bryan Higgins

> Error copying Blackberry10 icons
> 
>
> Key: CB-6768
> URL: https://issues.apache.org/jira/browse/CB-6768
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry, CLI
>Affects Versions: 3.5.0
> Environment: Mac OS X
>Reporter: Boston Dell-Vandenberg
>Assignee: Bryan Higgins
>
> Just upgraded to 3.5.0-0.2.4 and updated config.xml to use the new icon 
> attributes (so glad to have this btw!).
> When I run prepare, the cli reports some copy errors related to the 
> blackberry10 platform.
> Errors:
> {code}
> mkdir: no such file or directory: 
> /Users/bostondv/Dev/pamfax/platforms/blackberry10/platform_www/res/icon
> cp: copyFileSync: could not write to dest file 
> (code=ENOENT):/Users/bostondv/Dev/pamfax/platforms/blackberry10/platform_www/res/icon/blackberry10/icon-94.png
> mkdir: no such file or directory: 
> /Users/bostondv/Dev/pamfax/platforms/blackberry10/platform_www/res/icon
> cp: copyFileSync: could not write to dest file 
> (code=ENOENT):/Users/bostondv/Dev/pamfax/platforms/blackberry10/platform_www/res/icon/blackberry10/icon-114.png
> {code}
> My config.xml:
> {code}
> 
>  id="com.scendix.pamfax"
> version="3.0.3"
> android-versionCode="25"
> ios-CFBundleVersion="25"
> xmlns="http://www.w3.org/ns/widgets";>
> ...
> 
>   
>   
> 
> 
> {code}
> The `platforms/blackberry10/platform_www/res/icon` directories do exist but 
> the icons are not copied. Blackberry platform is upgraded to 3.5. I've also 
> tried deleting `platforms_www` to no avail.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


  1   2   >