[jira] [Commented] (CB-6612) Camera.DestinationType.DATA_URL does not work with WP8 with org.apache.cordova.camera@0.2.9 unless targetWidth and targetHeight are explicitly set

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

[ 
https://issues.apache.org/jira/browse/CB-6612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13993240#comment-13993240
 ] 

ASF GitHub Bot commented on CB-6612:


Github user asfgit closed the pull request at:

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


 Camera.DestinationType.DATA_URL does not work with WP8 with 
 org.apache.cordova.camera@0.2.9 unless targetWidth and targetHeight are 
 explicitly set
 --

 Key: CB-6612
 URL: https://issues.apache.org/jira/browse/CB-6612
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Camera, WP8
Affects Versions: 2.9.0
Reporter: Vladimir Kotikov
Assignee: Jesse MacFadyen

 Reproduction steps:
 1. create a new cordova app
 2. add the camera plugin, version 0.2.9 (latest)
 3. add the wp8 platform
 4. use getPicture with DATA_URL option and no width/height set
 Result:
 No valid imageData is returned in the success callback.



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


[jira] [Created] (CB-6655) Export plugin ID to hooks when adding plugins from Git repos

2014-05-13 Thread Mike Cunneen (JIRA)
Mike Cunneen created CB-6655:


 Summary: Export plugin ID to hooks when adding plugins from Git 
repos
 Key: CB-6655
 URL: https://issues.apache.org/jira/browse/CB-6655
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Plugman
Affects Versions: 3.4.0
 Environment: all environments
Reporter: Mike Cunneen
Priority: Trivial


An {{after_plugin_add}} hook script has access to the following environment 
variables (with example values):
{quote}
  CORDOVA_VERSION: '3.4.1-0.1.0',
  CORDOVA_PLATFORMS: '',
  CORDOVA_PLUGINS: 'https://github.com/cdibened/filechooser.git',
  CORDOVA_HOOK: '.../myApp/hooks/after_plugin_add/my_hook_script.js',
  CORDOVA_CMDLINE: 'node /usr/local/bin/cordova plugin add 
https://github.com/cdibened/filechooser.git'
{quote}
The problem is when adding a plugin from a remote git repo, there's no easy way 
of finding out WHICH plugin ID has just been added (which is quite essential 
for an after_plugin_add hook). The hook only has access to a Git URL.

We should provide the plugin ID to the hook:
{quote}
  CORDOVA_PLUGIN_ID: 'com.cesidiodibenedetto.filechooser'
{quote}
We can provide this information from 
{{cordova-lib/src/plugman/util/plugins.js}}, as a simple process.env export. 
There are probably more elegant ways, but this would be a good start. 



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


[jira] [Created] (CB-6678) ?paramShouldBeIgnored breaks Windows Phone script loading

2014-05-13 Thread Jesse MacFadyen (JIRA)
Jesse MacFadyen created CB-6678:
---

 Summary: ?paramShouldBeIgnored breaks Windows Phone script loading
 Key: CB-6678
 URL: https://issues.apache.org/jira/browse/CB-6678
 Project: Apache Cordova
  Issue Type: Bug
  Components: mobile-spec
Affects Versions: 3.4.0
Reporter: Jesse MacFadyen
Assignee: Jesse MacFadyen


?paramShouldBeIgnored breaks Windows Phone script loading



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


[jira] [Resolved] (CB-6166) Cannot create two android apps from the same code base

2014-05-13 Thread Joe Bowser (JIRA)

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

Joe Bowser resolved CB-6166.


Resolution: Won't Fix

The widget ID is the namespace for the Android application, and this is the 
unique identifier for the application.  You are going to have to one project 
per client, which is probably a good idea anyway, since their needs will 
diverge at some point.

 Cannot create two android apps from the same code base
 --

 Key: CB-6166
 URL: https://issues.apache.org/jira/browse/CB-6166
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.3.0
Reporter: Philip Holden

 We have an app we want to build for two customers. We use grunt to inject 
 different CSS before doing Cordova build. We are able to build two apps with 
 different icons and display names. However we are unable to install both apps 
 on the same phone at the same time. If we change the widget ID in config.xml 
 we do get two apps that will not overwrite each other but one will not run 
 because the widget ID causes a new package structure to be created for our 
 app.
 How can I create two apps from a single code base that can be installed side 
 by side?



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


[jira] [Assigned] (CB-3498) Certificate Pinning

2014-05-13 Thread Joe Bowser (JIRA)

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

Joe Bowser reassigned CB-3498:
--

Assignee: Joe Bowser

 Certificate Pinning
 ---

 Key: CB-3498
 URL: https://issues.apache.org/jira/browse/CB-3498
 Project: Apache Cordova
  Issue Type: Wish
  Components: Android, iOS
Affects Versions: 2.7.0
Reporter: mgill
Assignee: Joe Bowser
Priority: Minor
  Labels: certificate, security

 It would be a handy feature to have certificate pinning supported
 Examples:
 https://github.com/iSECPartners/ssl-conservatory/tree/master/ios
 https://github.com/moxie0/AndroidPinning



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


[jira] [Created] (CB-6675) [amazon-fireos]Adding amazon-fireos fails with an error in amazon_fireos_parser.js

2014-05-13 Thread Archana Naik (JIRA)
Archana Naik created CB-6675:


 Summary: [amazon-fireos]Adding amazon-fireos fails with an error 
in amazon_fireos_parser.js
 Key: CB-6675
 URL: https://issues.apache.org/jira/browse/CB-6675
 Project: Apache Cordova
  Issue Type: Bug
  Components: Amazon FireOS
Affects Versions: 3.5.0
Reporter: Archana Naik
Assignee: Archana Naik
 Fix For: 3.5.0


Adding amazon-fireos platform fails with this error:
TypeError: Cannot read property 'attrib' of undefined
at Object.module.exports.update_from_config 
(/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/metadata/amazon_fireos_parser.js:215:23)
at Object.module.exports.update_project 
(/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/metadata/amazon_fireos_parser.js:287:18)
at 
/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/prepare.js:113:31
at _fulfilled 
(/usr/local/lib/node_modules/cordova/node_modules/q/q.js:798:54)
at self.promiseDispatch.done 
(/usr/local/lib/node_modules/cordova/node_modules/q/q.js:827:30)
at Promise.promise.promiseDispatch 
(/usr/local/lib/node_modules/cordova/node_modules/q/q.js:760:13)
at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:821:14
at flush (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17)
at process._tickCallback (node.js:339:11)



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


[jira] [Commented] (CB-6678) ?paramShouldBeIgnored breaks Windows Phone script loading

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

[ 
https://issues.apache.org/jira/browse/CB-6678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13995860#comment-13995860
 ] 

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

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

CB-6678 [wp8] added windowsphone to the ignore list


 ?paramShouldBeIgnored breaks Windows Phone script loading
 -

 Key: CB-6678
 URL: https://issues.apache.org/jira/browse/CB-6678
 Project: Apache Cordova
  Issue Type: Bug
  Components: mobile-spec
Affects Versions: 3.4.0
Reporter: Jesse MacFadyen
Assignee: Jesse MacFadyen

 ?paramShouldBeIgnored breaks Windows Phone script loading



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


[jira] [Commented] (CB-6415) Make project/.cordova/config.json integrate with platforms.js

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

[ 
https://issues.apache.org/jira/browse/CB-6415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13995377#comment-13995377
 ] 

ASF GitHub Bot commented on CB-6415:


Github user martincgg commented on the pull request:

https://github.com/apache/cordova-cli/pull/158#issuecomment-42867986
  
Excellent, Thanks @bryanhiggins 


 Make project/.cordova/config.json integrate with platforms.js
 -

 Key: CB-6415
 URL: https://issues.apache.org/jira/browse/CB-6415
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.4.0
 Environment: Windows 7, Native development environment for 
 blackberry10 properly configured.
Reporter: Martin Gonzalez
Assignee: Josh Soref
  Labels: blackberry10, cli
 Fix For: 3.5.0


 Working on some tests, for a new node module for cordova, I've found a 
 problem when I try to work with custom libraries, this problem only applies 
 to Blackberry, it doesn't resolve correctly a uri path in a config.json file,
 My configuration in the project:
 .cordova/config.json 
 {
 id: org.apache.cordova,
 name: mobilespec,
 lib: {
 blackberry10: {
 uri: C:\\Users\\Administrator\\cordova-blackberry
 },
 wp8: {
 uri: C:\\Users\\Administrator\\cordova-coho\\cordova-wp8
 },
 windows8: {
 uri: C:\\Users\\Administrator\\cordova-coho\\cordova-windows
 }
 }
 }
 The problem is that it never resolves the path, with the folder that contains 
 blackberry10 library, which is inside of cordova-blackberry.
 When I try to add the full path to the project:
 blackberry10:{uri:C:\\Users\\Administrator\\cordova-coho\\cordova-blackberry\\blackberry10}
 It pass the requirements check, but when it produce an error at running the 
 command to add the project at superspawn.js.
 What's happening here is, that it pass the requirements check, but when it 
 try to use the library use is trying to use this path: 
 C:\\Users\\Administrator\\cord
 ova-blackberry\\blackberry10\\blackberry10\\bin\\create
 So the usage path is obtained trying to look for 'blackberry10', under 
 'cordova-blackberry', and the requirements check requires the whole path: 
 blackberry10:{uri:C:\\Users\\Administrator\\cordova-coho\\cordova-blackberry\\blackberry10}
 According to my trace, the requirements check it should resolve the path 
 correctly, looking under 'cordova-blackberry'.
 I'll assign this to me, I have a simple solution for it when custom paths are 
 used.



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


[jira] [Commented] (CB-6477) Adding media plugin doesn't add corresponding capabilities to Windows8 platform

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

[ 
https://issues.apache.org/jira/browse/CB-6477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13993242#comment-13993242
 ] 

ASF GitHub Bot commented on CB-6477:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-plugin-media/pull/14


 Adding media plugin doesn't add corresponding capabilities to Windows8 
 platform
 ---

 Key: CB-6477
 URL: https://issues.apache.org/jira/browse/CB-6477
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI, Plugin Media, Windows 8
 Environment: Windows 8.1 cordova CLI 3.4.1
Reporter: Vladimir Kotikov
Assignee: Jesse MacFadyen

 1. create a new cordova app
 2. add the windows8 platform
 3. add the org.apache.cordova.media plugin
 4. call startRecord
 5. Debug the windows8 app
 Result:
 An exception is thrown when trying to record.
 0x80070005 - JavaScript runtime error: Access is denied.
 WinRT information: Access to the specified location (MusicLibrary) requires a 
 capability to be declared in the manifest.
 Expected:
 Cordova should add the MusicLibrary and microphone capabilities to the 
 windows8 project.



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


[jira] [Commented] (CB-6613) File not found error when using targetWidth and targetHeight on Windows8 with Camera plugin

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

[ 
https://issues.apache.org/jira/browse/CB-6613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13993241#comment-13993241
 ] 

ASF GitHub Bot commented on CB-6613:


Github user asfgit closed the pull request at:

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


 File not found error when using targetWidth and targetHeight on Windows8 
 with Camera plugin
 -

 Key: CB-6613
 URL: https://issues.apache.org/jira/browse/CB-6613
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Camera, Windows 8
Affects Versions: 2.9.0
Reporter: Vladimir Kotikov
Assignee: Jesse MacFadyen

 Reproduction steps:
 1. create a new cordova app
 2. add the camera plugin, version 0.2.9 (latest)
 3. add the window8 platform
 4. use getPicture with targetWidth and targetHeight set
 Result:
 No picture data is returned, the error callback is hit with the message File 
 not found
 If you remove targetwidth and targetheight, the camera plugin works.
 Expected:
 camera plugin should work with targetWidth and targetHeight set



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


[jira] [Comment Edited] (CB-6562) sms: URI scheme doesn't work with Hangouts on KitKat

2014-05-13 Thread Joe Bowser (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13995733#comment-13995733
 ] 

Joe Bowser edited comment on CB-6562 at 5/12/14 10:36 PM:
--

This sounds more like Hangouts isn't handling the SMS intent. I'll test against 
TextSecure.  If I can open both TextSecure and my default messages app.

Actually, on further inspection this is once again an undocumented KitKat 
change.  We'll get to it, but I don't know why you need this extra code for 
intents.


was (Author: bowserj):
This sounds more like Hangouts isn't handling the SMS intent. I'll test against 
TextSecure.  If I can open both TextSecure and my default messages app, I'm 
going to have to say that this is a Hangout bug and close this.

 sms: URI scheme doesn't work with Hangouts on KitKat
 

 Key: CB-6562
 URL: https://issues.apache.org/jira/browse/CB-6562
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.4.0
 Environment: Reproduceable on Nexus 5 (Android version 4.4.2) with 
 stock Hangouts as only sms app.
Reporter: Nikolaj Hesselholt Skov
Assignee: Joe Bowser
 Fix For: Master


 An URI like _sms:12345678?body=This is a text message_ in HTML should 
 either launch the SMS app or show a list of apps able to handle the intent.
 On KitKat with only Hangouts installed neither of the two scenarios happen.
 The class {{org.apache.cordova.CordovaWebViewClient}} needs to have method 
 {{shouldOverrideUrlLoading()}} changed so that URLs starting with _sms:_ is 
 handled properly in KitKat and beyond. The current implementation is for 
 pre-KitKat.
 See source on GitHub: 
 https://github.com/apache/cordova-android/blob/master/framework/src/org/apache/cordova/CordovaWebViewClient.java#L171
 See stackoverflow answer: http://stackoverflow.com/a/20079048



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


[jira] [Comment Edited] (CB-5731) Windows Phone 8 fails to access remote urls

2014-05-13 Thread John McLear (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13994273#comment-13994273
 ] 

John McLear edited comment on CB-5731 at 5/10/14 6:40 PM:
--

{code}
$.get(http://time.jsontest.com;, function(){alert(yay)}); 
{code}
Still fails to alert(yay) in Cordova 3.4.1-0.1.0
{code}
access origin=* /
{code}
Tested on 820 which is WP and I'm locally bringing in jquery-1.9.1.min.js, $ 
returns an object so jquery is loaded and I can do other jQuery events no 
problem at all...


was (Author: johnyma22):
$.get(http://time.jsontest.com;, function(){alert(yay)}); 

Still fails to alert(yay);

Cordova 3.4.1-0.1.0

access origin=* /

Tested on 820 which is WP8

jquery-1.9.1.min.js

$.get returns an object so jquery is loaded..



 Windows Phone 8 fails to access remote urls
 ---

 Key: CB-5731
 URL: https://issues.apache.org/jira/browse/CB-5731
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP8
Affects Versions: 3.3.0
Reporter: John McLear
Assignee: Sergey Grebnov
 Attachments: BrokenXDKXHRDemo.zip


 Doing a very simple:  
 {code:javascript}
 $.get(http://google.com;, function(){alert(yay)});
 {code}
 Fails on Windows Phone 8.
 Basically Cross domain requests don't work, this includes when an explicit 
 and/or wildcard exclusion is set in config.xml allowed domains



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


[jira] [Commented] (CB-6659) False negative in network connection type 'cellular'

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

[ 
https://issues.apache.org/jira/browse/CB-6659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13993047#comment-13993047
 ] 

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

Commit d099137d1049223b682fa07c6a1ba644bf87807e 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=d099137 ]

CB-6659 - False negative in network connection type 'cellular'


 False negative in network connection type 'cellular'
 

 Key: CB-6659
 URL: https://issues.apache.org/jira/browse/CB-6659
 Project: Apache Cordova
  Issue Type: Bug
  Components: mobile-spec
Reporter: Shazron Abdullah

 {code}
 Network (navigator.connection) network.spec.2 should be set to a valid value.
 Expected undefined to be 1.
 {code}
 iOS reports a 'cellular' connection instead of '2g' now:
 https://github.com/apache/cordova-plugin-network-information/commit/b6b48e9d6ef8b45b61ec01021c4b80f0082ff05a



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


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

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

[ 
https://issues.apache.org/jira/browse/CB-6586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13994061#comment-13994061
 ] 

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

Commit 6bfb4cc936cfa3fcf3be0da227c8a300a9e260a4 in cordova-lib's branch 
refs/heads/master from [~stevegill]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=6bfb4cc ]

CB-6586: removed dev from version for npm publish


 [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: Jesse MacFadyen
 Fix For: 3.5.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] [Created] (CB-6680) clarify instructions for installing via npm and sudo

2014-05-13 Thread Marcel Kinard (JIRA)
Marcel Kinard created CB-6680:
-

 Summary: clarify instructions for installing via npm and sudo
 Key: CB-6680
 URL: https://issues.apache.org/jira/browse/CB-6680
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Docs
Reporter: Marcel Kinard
Priority: Minor


The Linux person inside me says that using sudo to install and run things ought 
to be avoided if possible.

http://markmail.org/thread/bfj4lywpbzn6mtdr



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


[jira] [Commented] (CB-5137) docs should describe how to build Cordova from Apache dist

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

[ 
https://issues.apache.org/jira/browse/CB-5137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13996403#comment-13996403
 ] 

ASF GitHub Bot commented on CB-5137:


Github user cmarcelk closed the pull request at:

https://github.com/apache/cordova-docs/pull/148


 docs should describe how to build Cordova from Apache dist
 --

 Key: CB-5137
 URL: https://issues.apache.org/jira/browse/CB-5137
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Docs
Reporter: Marcel Kinard
Assignee: Marcel Kinard
Priority: Minor

 The docs seem to assume that Cordova was already downloaded either via npm or 
 from a PhoneGap distribution or similar. Though the Apache Way is to 
 distribute source code, it isn't clear to the average consumer in the docs 
 how to get Cordova up and running from either the source zips on 
 dist.apache.org or from the repos at git-wip-us.apache.org. This 
 documentation should be added, perhaps as a section such as How to Obtain 
 Cordova and/or How to Build Cordova from Source.
 There may be additional docs needed that describe how to bootstrap the docs 
 (build the html from the md) if for some reason the user can't get them 
 online at cordova.apache.org/docs.



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


[jira] [Commented] (CB-5137) docs should describe how to build Cordova from Apache dist

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

[ 
https://issues.apache.org/jira/browse/CB-5137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13996402#comment-13996402
 ] 

ASF GitHub Bot commented on CB-5137:


Github user cmarcelk commented on the pull request:

https://github.com/apache/cordova-docs/pull/148#issuecomment-42958017
  
I believe this has changed enough that it should be revisited from scratch. 
So I will close this pull request.


 docs should describe how to build Cordova from Apache dist
 --

 Key: CB-5137
 URL: https://issues.apache.org/jira/browse/CB-5137
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Docs
Reporter: Marcel Kinard
Assignee: Marcel Kinard
Priority: Minor

 The docs seem to assume that Cordova was already downloaded either via npm or 
 from a PhoneGap distribution or similar. Though the Apache Way is to 
 distribute source code, it isn't clear to the average consumer in the docs 
 how to get Cordova up and running from either the source zips on 
 dist.apache.org or from the repos at git-wip-us.apache.org. This 
 documentation should be added, perhaps as a section such as How to Obtain 
 Cordova and/or How to Build Cordova from Source.
 There may be additional docs needed that describe how to bootstrap the docs 
 (build the html from the md) if for some reason the user can't get them 
 online at cordova.apache.org/docs.



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


[jira] [Commented] (CB-6679) Unable to Import into Eclipse to Run Sample HelloWorld Project

2014-05-13 Thread Greg (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13996406#comment-13996406
 ] 

Greg commented on CB-6679:
--

Turns out that my Eclipse version was causing the problem - I updated to the 
ADT release from Google and was able to run the command successfully. I was 
running Eclipse Juno 4.2.2 and it was failing. Feel free to close.


 Unable to Import into Eclipse to Run Sample HelloWorld Project
 --

 Key: CB-6679
 URL: https://issues.apache.org/jira/browse/CB-6679
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.4.0
Reporter: Greg

 Following the steps here: 
 http://cordova.apache.org/docs/en/3.4.0/guide_platforms_android_index.md.html#Android%20Platform%20Guide
 You are unable to create a Cordova Project and import into Eclipse and run. 
 It basically doesn't allow anyone to build Cordova projects via the CLI.
 View explaining the issue: http://recordit.co/ntYB26BMUE
 I'm sure this is a simple fix, but this doesn't work for phonegap or cordova 
 commands - therefore it's not possible to build new projects the 
 Cordova/Phonegap package - thus a major blocker. Any advice?



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


[jira] [Commented] (CB-6672) Fix some spelling typos

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

[ 
https://issues.apache.org/jira/browse/CB-6672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13996451#comment-13996451
 ] 

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

Commit 0ded90caab6c861bc8ed17af6d82b92a66469435 in cordova-docs's branch 
refs/heads/master from [~BBosman]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;h=0ded90c ]

CB-6672 Fix spelling typos

github: close #204


 Fix some spelling typos
 ---

 Key: CB-6672
 URL: https://issues.apache.org/jira/browse/CB-6672
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Docs
Reporter: Bas Bosman
Assignee: Bas Bosman
Priority: Trivial

 The new Next Steps guide has a couple of spelling typo's.
 your - you
 it's - its
 Pull request:
 https://github.com/apache/cordova-docs/pull/204



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


[jira] [Assigned] (CB-6680) clarify instructions for installing via npm and sudo

2014-05-13 Thread Marcel Kinard (JIRA)

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

Marcel Kinard reassigned CB-6680:
-

Assignee: Marcel Kinard

 clarify instructions for installing via npm and sudo
 

 Key: CB-6680
 URL: https://issues.apache.org/jira/browse/CB-6680
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Docs
Reporter: Marcel Kinard
Assignee: Marcel Kinard
Priority: Minor

 The Linux person inside me says that using sudo to install and run things 
 ought to be avoided if possible.
 http://markmail.org/thread/bfj4lywpbzn6mtdr



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


[jira] [Updated] (CB-6681) Android webview should use RelativeLayout

2014-05-13 Thread Lisa Seacat DeLuca (JIRA)

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

Lisa Seacat DeLuca updated CB-6681:
---

Description: 
This request is to change the Android webview element to use RelativeLayout 
instead of LinearLayout.  Many users are starting to mix native and hybrid 
controls.  Linear Layout does NOT allow the ability to put a native control on 
top of a web view, only before and/or after.  In order to layer components we 
need the webview to be defined as a relative layout.

An extended idea would be to allow a developer to choose which layout option 
they might wish to use as a configuration step.  perhaps in the config.xml 
file.  

  was:This request is to change the Android webview element to use 
RelativeLayout instead of LinearLayout.  Many users are starting to mix native 
and hybrid controls.  Linear Layout does NOT allow the ability to put a native 
control on top of a web view, only before and/or after.  In order to layer 
components we need the webview to be defined as a relative layout.


 Android webview should use RelativeLayout
 -

 Key: CB-6681
 URL: https://issues.apache.org/jira/browse/CB-6681
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Android
Affects Versions: 3.5.0
 Environment: android
Reporter: Lisa Seacat DeLuca

 This request is to change the Android webview element to use RelativeLayout 
 instead of LinearLayout.  Many users are starting to mix native and hybrid 
 controls.  Linear Layout does NOT allow the ability to put a native control 
 on top of a web view, only before and/or after.  In order to layer 
 components we need the webview to be defined as a relative layout.
 An extended idea would be to allow a developer to choose which layout option 
 they might wish to use as a configuration step.  perhaps in the config.xml 
 file.  



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


[jira] [Commented] (CB-6669) createmobilespec.js doesn't work with the blackberry10 option

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

[ 
https://issues.apache.org/jira/browse/CB-6669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13995378#comment-13995378
 ] 

ASF GitHub Bot commented on CB-6669:


Github user martincgg commented on the pull request:

https://github.com/apache/cordova-mobile-spec/pull/63#issuecomment-42868002
  
Awesome thanks


 createmobilespec.js doesn't work with the blackberry10 option
 -

 Key: CB-6669
 URL: https://issues.apache.org/jira/browse/CB-6669
 Project: Apache Cordova
  Issue Type: Bug
  Components: mobile-spec
Reporter: Shazron Abdullah
Assignee: Bas Bosman

 In the root folder of all my repos:
 {code}
 ./cordova-mobile-spec/createmobilespec/createmobilespec.js --blackberry10
 {code}
 I get this error:
 {code}
 Creating project. If you have any errors, it may be from missing repositories.
 To clone needed repositories (android as an example):
   ./cordova-coho/coho repo-clone -r plugins -r mobile-spec -r android -r cli
 To update all repositories:
   ./cordova-coho/coho repo-update
 Creating project mobilespec...
 Creating a new cordova project with name MobileSpec_Tests and id 
 org.apache.cordova.mobilespec at location 
 /Users/shaz/Documents/Git/Apache/mobilespec
 Using custom www assets from 
 /Users/shaz/Documents/Git/Apache/cordova-mobile-spec
 /Users/shaz/Documents/Git/Apache/mobilespec /Users/shaz/Documents/Git/Apache
 Adding platforms...
 Adding Platform: blackberry10
 Checking if platform blackberry10 passes minimum requirements...
 Requirements check failed: /bin/sh: 
 /Users/shaz/Documents/Git/Apache/cordova-blackberry/bin/check_reqs: No such 
 file or directory
 {code}
 Note here that check_reqs should be in 
 `Users/shaz/Documents/Git/Apache/cordova-blackberry/*blackberry10*/bin/check_reqs`



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


[jira] [Created] (CB-6681) Android webview should use RelativeLayout

2014-05-13 Thread Lisa Seacat DeLuca (JIRA)
Lisa Seacat DeLuca created CB-6681:
--

 Summary: Android webview should use RelativeLayout
 Key: CB-6681
 URL: https://issues.apache.org/jira/browse/CB-6681
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Android
Affects Versions: 3.5.0
 Environment: android
Reporter: Lisa Seacat DeLuca


This request is to change the Android webview element to use RelativeLayout 
instead of LinearLayout.  Many users are starting to mix native and hybrid 
controls.  Linear Layout does NOT allow the ability to put a native control on 
top of a web view, only before and/or after.  In order to layer components we 
need the webview to be defined as a relative layout.



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


[jira] [Commented] (CB-6679) Unable to Import into Eclipse to Run Sample HelloWorld Project

2014-05-13 Thread Greg (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13996080#comment-13996080
 ] 

Greg commented on CB-6679:
--

FYI - I've tried this on 3.5.0 and got the same issue.

 Unable to Import into Eclipse to Run Sample HelloWorld Project
 --

 Key: CB-6679
 URL: https://issues.apache.org/jira/browse/CB-6679
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.4.0
Reporter: Greg

 Following the steps here: 
 http://cordova.apache.org/docs/en/3.4.0/guide_platforms_android_index.md.html#Android%20Platform%20Guide
 You are unable to create a Cordova Project and import into Eclipse and run. 
 It basically doesn't allow anyone to build Cordova projects via the CLI.
 View explaining the issue: http://recordit.co/ntYB26BMUE
 I'm sure this is a simple fix, but this doesn't work for phonegap or cordova 
 commands - therefore it's not possible to build new projects the 
 Cordova/Phonegap package - thus a major blocker. Any advice?



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


[jira] [Commented] (CB-4987) IOS 7 Phonegap crash when rendering images

2014-05-13 Thread Tadhg O'Brien (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13996407#comment-13996407
 ] 

Tadhg O'Brien commented on CB-4987:
---

Hi

I am seeing the same issue with infinite scrolling on PhoneGap 2.9. I see 
there's no resolution, but I'm wondering did you manage to find a workaround at 
all?

Thanks

 IOS 7 Phonegap crash when rendering images
 --

 Key: CB-4987
 URL: https://issues.apache.org/jira/browse/CB-4987
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.0.0
 Environment: IOS 7, iPhone 5s, Cordova 3.0
Reporter: Blair Vanderhoof
  Labels: core

 I have an infinite scrolling list in which the user scrolls to the bottom and 
 new items load from the database.  I am properly removing any object and 
 image from the DOM however that is not in view.  I unload images by setting 
 their src to an empty string.  I have monitored with Instruments on the Mac 
 and I can see the memory constantly being collected and never peaking about 
 25 MB.  My problem is random, when rendering a new page from infinite 
 scrolling, if it is heavy with images, it crashes.  Here is log from the 
 thread that crashed:
 {code}
 Thread 10 Crashed:
 0   AGXGLDriver   0x2e5ec26d 
 AGXHalLLVMShader::emitConstants(unsigned int*, unsigned long long, 
 GLDTextureRec* const*, AGXSamplerState const* const*) + 261
 1   AGXGLDriver   0x2e5d097d agxuEmitRenderPipelineState 
 + 2293
 2   AGXGLDriver   0x2e5d946b 
 agxuBeginPrimitiveBuffer(AGXContextRec*, unsigned int, int*) + 279
 3   GLEngine  0x319d722b gleBeginPrimitiveTCLFunc + 67
 4   GLEngine  0x319ab0c7 
 gleDrawArraysOrElements_ExecCore + 595
 5   GLEngine  0x319a94df glDrawElements_IMM_ES2Exec + 
 231
 6   QuartzCore0x31c3bb8b 
 CA::OGL::GLContext::draw_elements(CA::OGL::PrimitiveMode, unsigned int, 
 unsigned short const*, CA::OGL::Vertex const*, unsigned int, unsigned int, 
 CA::OGL::ClipPlane const*) + 339
 7   QuartzCore0x31c3ba2d 
 CA::OGL::Context::array_flush() + 89
 8   QuartzCore0x31c764fb 
 CA::OGL::DownsampleState::downsample1(float, float) + 227
 9   QuartzCore0x31c75659 
 CA::OGL::Context::downsample_surface(CA::OGL::Surface*, CA::Vec2double 
 const, CA::Transform const, CA::OGL::Context::DownsampleFilter, float) + 681
 10  QuartzCore0x31c65629 
 CA::OGL::ContentsGeometry::fill_and_unbind(CA::OGL::Context, 
 CA::OGL::Image*, CA::OGL::TextureFilter, float) const + 953
 11  QuartzCore0x31c3d025 
 CA::CG::fill_image(CA::CG::Renderer, CGImage*, CA::Rect const, 
 CA::Mat2float const, bool, bool, CGInterpolationQuality, CA::Bounds 
 const*) + 1781
 12  QuartzCore0x31c3c921 
 CA::CG::DrawImage::draw_image(CA::CG::Renderer, bool) const + 77
 13  QuartzCore0x31c39679 
 CA::CG::DrawOp::render(CA::CG::Renderer) const + 2145
 14  QuartzCore0x31c37d9d 
 CA::CG::Queue::render_callback(void*) + 265
 15  libdispatch.dylib 0x3a003e73 _dispatch_queue_drain + 371
 16  libdispatch.dylib 0x3a000f97 _dispatch_queue_invoke + 39
 17  libdispatch.dylib 0x3a00474f _dispatch_root_queue_drain + 
 75
 18  libdispatch.dylib 0x3a0049cd _dispatch_worker_thread2 + 53
 19  libsystem_pthread.dylib   0x3a12edfd _pthread_wqthread + 297
 20  libsystem_pthread.dylib   0x3a12ecc0 start_wqthread + 4
 {code}
 Images are about 900px width and resized with css to about 400px.  There are 
 no shadows or fancy css3 effects on the images.
 Every time the app crashes, it usually comes after a memory warning.  I have 
 reproduced this only after getting 3 memory warnings. 
 I always get this same crash dump every time it crashes.



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


[jira] [Commented] (CB-5398) Pick image from Library or Photo album on android 4.4

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

[ 
https://issues.apache.org/jira/browse/CB-5398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13992742#comment-13992742
 ] 

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

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

Removed invalid note from CB-5398


 Pick image from Library or Photo album on android 4.4
 -

 Key: CB-5398
 URL: https://issues.apache.org/jira/browse/CB-5398
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, Plugin Camera
Affects Versions: 2.9.0, 3.2.0
 Environment: android 4.4
Reporter: julio cesar
Assignee: Mike Billau
 Fix For: 3.5.0


 An android 4.4 try to pick a photo using pictureSource.PHOTOLIBRARY or 
 pictureSource.SAVEDPHOTOALBUM and return type destinationType.FILE_URI.
 Now android 4.4, when you select the above options, it opens an open from 
 dialog that  let you choose from new places as Recent, Drive, Images 
 and Downloads (the names might not be the same as I use the device in 
 spanish and translated it).
 If you choose any of them, you get an error, AndroidProtocolHandler, unable 
 to open content URL: the url here with a content://com.android.providers 
 format.
 I've tested on phonegap 2.9 because this is the version I use, but I suppose 
 it affects all of them. (in fact I use 2.9.1)



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


[jira] [Commented] (CB-6682) File transfer tests need bb10 specific whitelisting applied

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

[ 
https://issues.apache.org/jira/browse/CB-6682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13996750#comment-13996750
 ] 

ASF GitHub Bot commented on CB-6682:


GitHub user bryanhiggins opened a pull request:

https://github.com/apache/cordova-plugin-contacts/pull/30

CB-6682 Move WP8 proxy to correct platform element

@purplecabbage can you review this please?

This was being loaded by BB10 causing many contacts tests to fail.

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

$ git pull https://github.com/blackberry-webworks/cordova-plugin-contacts 
wp8fix

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

https://github.com/apache/cordova-plugin-contacts/pull/30.patch

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

This closes #30


commit 60c0982225bd3e6861a2e3d2d70de7b9a0b90b75
Author: Bryan Higgins bhigg...@blackberry.com
Date:   2014-05-13T18:30:03Z

CB-6682 Move WP8 proxy to correct platform element




 File transfer tests need bb10 specific whitelisting applied
 ---

 Key: CB-6682
 URL: https://issues.apache.org/jira/browse/CB-6682
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry, mobile-spec
Reporter: Bryan Higgins

 BB10 doesn't respect *.domain.com whitelisting
 Mobile-spec needs the following elements to work properly:
 access origin=file:/// /
 access origin=https://www.apache.org; /
 access origin=http://cordova.apache.org; /
 access origin=http://foobar.apache.org; /
 access origin=http://www.apache.org; /
 I'm going to wrap these in a platform tag.



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


[jira] [Commented] (CB-6672) Fix some spelling typos

2014-05-13 Thread Marcel Kinard (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13996454#comment-13996454
 ] 

Marcel Kinard commented on CB-6672:
---

Pull request #204 merged. Thanks for the contribution!

 Fix some spelling typos
 ---

 Key: CB-6672
 URL: https://issues.apache.org/jira/browse/CB-6672
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Docs
Reporter: Bas Bosman
Assignee: Bas Bosman
Priority: Trivial

 The new Next Steps guide has a couple of spelling typo's.
 your - you
 it's - its
 Pull request:
 https://github.com/apache/cordova-docs/pull/204



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


[jira] [Commented] (CB-5941) document hooks !

2014-05-13 Thread Andrew Grieve (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13996459#comment-13996459
 ] 

Andrew Grieve commented on CB-5941:
---

Where was this linked from? The file has moved to 
https://github.com/apache/cordova-lib/blob/master/cordova-lib/templates/hooks-README.md

 document hooks !
 

 Key: CB-5941
 URL: https://issues.apache.org/jira/browse/CB-5941
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Reporter: Brian LeRoux





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


[jira] [Commented] (CB-6682) File transfer tests need bb10 specific whitelisting applied

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

[ 
https://issues.apache.org/jira/browse/CB-6682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13996786#comment-13996786
 ] 

ASF GitHub Bot commented on CB-6682:


Github user purplecabbage commented on the pull request:


https://github.com/apache/cordova-plugin-contacts/pull/30#issuecomment-42998251
  
It's still f'd, I'll fix it.


 File transfer tests need bb10 specific whitelisting applied
 ---

 Key: CB-6682
 URL: https://issues.apache.org/jira/browse/CB-6682
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry, mobile-spec
Reporter: Bryan Higgins

 BB10 doesn't respect *.domain.com whitelisting
 Mobile-spec needs the following elements to work properly:
 access origin=file:/// /
 access origin=https://www.apache.org; /
 access origin=http://cordova.apache.org; /
 access origin=http://foobar.apache.org; /
 access origin=http://www.apache.org; /
 I'm going to wrap these in a platform tag.



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


[jira] [Commented] (CB-6682) File transfer tests need bb10 specific whitelisting applied

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

[ 
https://issues.apache.org/jira/browse/CB-6682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13996801#comment-13996801
 ] 

ASF GitHub Bot commented on CB-6682:


Github user bryanhiggins commented on the pull request:


https://github.com/apache/cordova-plugin-contacts/pull/30#issuecomment-42999768
  
thanks


 File transfer tests need bb10 specific whitelisting applied
 ---

 Key: CB-6682
 URL: https://issues.apache.org/jira/browse/CB-6682
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry, mobile-spec
Reporter: Bryan Higgins

 BB10 doesn't respect *.domain.com whitelisting
 Mobile-spec needs the following elements to work properly:
 access origin=file:/// /
 access origin=https://www.apache.org; /
 access origin=http://cordova.apache.org; /
 access origin=http://foobar.apache.org; /
 access origin=http://www.apache.org; /
 I'm going to wrap these in a platform tag.



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


[jira] [Created] (CB-6684) [3.5.0rc][Windows8] Splash screen setting breaks the build

2014-05-13 Thread Sergey Grebnov (JIRA)
Sergey Grebnov created CB-6684:
--

 Summary: [3.5.0rc][Windows8] Splash screen setting breaks the build
 Key: CB-6684
 URL: https://issues.apache.org/jira/browse/CB-6684
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows 8
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov


Add dummy splash screen settings to config.xml
preference name=SplashScreen value=screen /

Run build

C:\temp\_rc3_5_0\app
λ cordova build windows8
Running command: C:\temp\_rc3_5_0\app\platforms\windows8\cordova\build.bat

Building Cordova Windows 8 Project:
Configuration : Debug
Directory : C:\temp\_rc3_5_0\app\platforms\windows8
MSBuildToolsPath: C:\Program Files (x86)\MSBuild\12.0\bin\
cmd /c C:\Program Files (x86)\MSBuild\12.0\bin\msbuild 
C:\temp\_rc3_5_0\app\platforms\windows8\CordovaApp.sln 
/clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo 
/p:Configuration=Debug
Building the projects in this solution one at a time. To enable parallel build, 
please add the /m switch.
  Applying Platform Config ...
  Setting SplashScreen = screen
package.appxmanifest(20,31): error APPX1617: App manifest references the splash 
screen image 'screen' which has
 an unsupported extension. Extension must be JPG, JPEG, or PNG. 
[C:\temp\_rc3_5_0\app\platforms\windows8\CordovaApp.jsproj]
Error: C:\temp\_rc3_5_0\app\platforms\windows8\cordova\build.bat: Command 
failed with exit code 2
at ChildProcess.whenDone 
(C:\Users\Sergei\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:743:16)
at Process.ChildProcess._handle.onexit (child_process.js:810:5)

We should check that file exists and if not then echo warning message instead 
of fail



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


[jira] [Created] (CB-6685) [3.5.0rc][WP8] Build error: Command failed with exit code 2

2014-05-13 Thread Sergey Grebnov (JIRA)
Sergey Grebnov created CB-6685:
--

 Summary: [3.5.0rc][WP8] Build error: Command failed with exit code 
2
 Key: CB-6685
 URL: https://issues.apache.org/jira/browse/CB-6685
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP8
Affects Versions: 3.5.0
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov


λ cordova build wp8
Running command: C:\temp\_rc3_5_0\app\platforms\wp8\cordova\build.bat

WARNING: [ --debug | --release ] not specified, defaulting to debug...
Cleaning cordova project...
Building Cordova-WP8 Project:
Configuration : Debug
Directory : C:\temp\_rc3_5_0\app\platforms\wp8
MSBuildToolsPath: C:\Program Files (x86)\MSBuild\12.0\bin\
buildCommand = %comspec% /c C:\Program Files (x86)\MSBuild\12.0\bin\msbuild 
C:\temp\_rc3_5_0\app\platforms\wp8\BlankCordovaApp1.sln 
/clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo 
/p:Configuration=Debug
Building the projects in this solution one at a time. To enable parallel build, 
please add the /m switch.
  BlankCordovaApp1 - 
C:\temp\_rc3_5_0\app\platforms\wp8\Bin\Debug\io.cordova.BlankCordovaApp1.dll
  Begin application manifest generation
  Application manifest generation completed successfully
  Begin Xap packaging
Error: C:\temp\_rc3_5_0\app\platforms\wp8\cordova\build.bat: Command failed 
with exit code 2
at ChildProcess.whenDone 
(C:\Users\Sergei\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:743:16)
at Process.ChildProcess._handle.onexit (child_process.js:810:5)



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


[jira] [Closed] (CB-6682) File transfer tests need bb10 specific whitelisting applied

2014-05-13 Thread Bryan Higgins (JIRA)

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

Bryan Higgins closed CB-6682.
-

Resolution: Fixed

 File transfer tests need bb10 specific whitelisting applied
 ---

 Key: CB-6682
 URL: https://issues.apache.org/jira/browse/CB-6682
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry, mobile-spec
Reporter: Bryan Higgins

 BB10 doesn't respect *.domain.com whitelisting
 Mobile-spec needs the following elements to work properly:
 access origin=file:/// /
 access origin=https://www.apache.org; /
 access origin=http://cordova.apache.org; /
 access origin=http://foobar.apache.org; /
 access origin=http://www.apache.org; /
 I'm going to wrap these in a platform tag.



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


[jira] [Commented] (CB-6682) File transfer tests need bb10 specific whitelisting applied

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

[ 
https://issues.apache.org/jira/browse/CB-6682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13996797#comment-13996797
 ] 

ASF GitHub Bot commented on CB-6682:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-plugin-contacts/pull/30


 File transfer tests need bb10 specific whitelisting applied
 ---

 Key: CB-6682
 URL: https://issues.apache.org/jira/browse/CB-6682
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry, mobile-spec
Reporter: Bryan Higgins

 BB10 doesn't respect *.domain.com whitelisting
 Mobile-spec needs the following elements to work properly:
 access origin=file:/// /
 access origin=https://www.apache.org; /
 access origin=http://cordova.apache.org; /
 access origin=http://foobar.apache.org; /
 access origin=http://www.apache.org; /
 I'm going to wrap these in a platform tag.



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


[jira] [Commented] (CB-5941) document hooks !

2014-05-13 Thread Raghuram (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13996053#comment-13996053
 ] 

Raghuram commented on CB-5941:
--

File not found (404) accessing [templates/hooks-README.md | 
https://github.com/apache/cordova-cli/blob/master/templates/hooks-README.md]  
from [cordova-cli | https://github.com/apache/cordova-cli] at the time of 
commenting.

 document hooks !
 

 Key: CB-5941
 URL: https://issues.apache.org/jira/browse/CB-5941
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Reporter: Brian LeRoux





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


[jira] [Commented] (CB-6661) Web Platform Target

2014-05-13 Thread Daniel (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13996715#comment-13996715
 ] 

Daniel commented on CB-6661:


They will still have a 'native bridge' per se. If I understand the project's 
structure, the api calls by the plugins would basically all get converted to 
web requests in the platforms exec.js. Our 'native' code would be a new project 
 like apache/android that would handle all the requests.  In the case of 
something like 'Contacts' there won't be a real interface there. However, 
geolocation could tap into the servers IP and file storage would download files 
onto the server (this would remove the need for browser-local storage).  

The value is one code base, leveraging all the same functionality with adjusted 
look and feel. Also this would provide ways to rapid prototype without waiting 
for slow emulators. This would also give a simplified nightly build process and 
access to additional testing frameworks.

 Web Platform Target
 ---

 Key: CB-6661
 URL: https://issues.apache.org/jira/browse/CB-6661
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CordovaJS
Affects Versions: 3.4.0
 Environment: All
Reporter: Daniel
Priority: Minor
  Labels: cordova-js, features, platform
 Fix For: 3.4.0


 I have not been able to find built in functionality for cordova to deploy an 
 app to a server platform. This purpose of this new platform is to allow an 
 HTML5 application within a Cordova project to be deployed on a web server, 
 available for access over standard internet protocols.
 My team and I will be actively working this at 
 https://github.com/CollinearGroup/cordova-js
 We intend to build this functionality with a nodejs server but hope that we 
 can provide the server with varying backends like Grails and Rails.



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


[jira] [Commented] (CB-6682) File transfer tests need bb10 specific whitelisting applied

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

[ 
https://issues.apache.org/jira/browse/CB-6682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13996803#comment-13996803
 ] 

ASF GitHub Bot commented on CB-6682:


Github user purplecabbage commented on the pull request:


https://github.com/apache/cordova-plugin-contacts/pull/30#issuecomment-4290
  
anytime!

@purplecabbage
risingj.com


On Tue, May 13, 2014 at 12:19 PM, Bryan Higgins 
notificati...@github.comwrote:

 thanks

 —
 Reply to this email directly or view it on 
GitHubhttps://github.com/apache/cordova-plugin-contacts/pull/30#issuecomment-42999768
 .



 File transfer tests need bb10 specific whitelisting applied
 ---

 Key: CB-6682
 URL: https://issues.apache.org/jira/browse/CB-6682
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry, mobile-spec
Reporter: Bryan Higgins

 BB10 doesn't respect *.domain.com whitelisting
 Mobile-spec needs the following elements to work properly:
 access origin=file:/// /
 access origin=https://www.apache.org; /
 access origin=http://cordova.apache.org; /
 access origin=http://foobar.apache.org; /
 access origin=http://www.apache.org; /
 I'm going to wrap these in a platform tag.



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


[jira] [Created] (CB-6666) Media-capture@r0.3.0: click 'Capture 1 image' button in capture spect tests can't get image

2014-05-13 Thread puchen (JIRA)
puchen created CB-:
--

 Summary: Media-capture@r0.3.0: click 'Capture 1 image' button in 
capture spect tests can't get image
 Key: CB-
 URL: https://issues.apache.org/jira/browse/CB-
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Media Capture
Affects Versions: 3.4.0
 Environment: Android 4.3
Reporter: puchen


Click 'Capture 1 image' button in capture spect tests, then into camera 
activity, after took photo, click the save button, the button has no response.

And I found it can get photo correctly, if I changed the photo saving path at 
line File photo = new File(getTempDirectoryPath(), Capture.jpg);.

Please help to fix this bug, thanks.



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


[jira] [Commented] (CB-6686) [3.5.0rc][Windows8] Build error if path contains whitespaces

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

[ 
https://issues.apache.org/jira/browse/CB-6686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13996999#comment-13996999
 ] 

ASF GitHub Bot commented on CB-6686:


GitHub user sgrebnov opened a pull request:

https://github.com/apache/cordova-windows/pull/31

CB-6686 [3.5.0rc][Windows8] Build  error if path contains whitespaces

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

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

$ git pull https://github.com/MSOpenTech/cordova-windows CB-6686

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

https://github.com/apache/cordova-windows/pull/31.patch

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

This closes #31


commit 1d2c5123a12fd4b5969d7ef4432aa131cf09a32a
Author: sgrebnov v-seg...@microsoft.com
Date:   2014-05-13T22:35:51Z

CB-6686 [3.5.0rc][Windows8] Build  error if path contains whitespaces




 [3.5.0rc][Windows8] Build  error if path contains whitespaces
 -

 Key: CB-6686
 URL: https://issues.apache.org/jira/browse/CB-6686
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows 8
Affects Versions: 3.5.0
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov

 Create project in path w/ whitespaces
 Add windows platform
 Run build
 Building Cordova Windows 8 Project:
 Configuration : Debug
 Directory : c:\temp\_rc3 5 0\app\platforms\windows8
 MSBuildToolsPath: C:\Program Files (x86)\MSBuild\12.0\bin\
 cmd /c C:\Program Files (x86)\MSBuild\12.0\bin\msbuild c:\temp\_rc3 5 
 0\app\platforms\windows8\CordovaApp.sln 
 /clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo 
 /p:Configuration=Debug
 Building the projects in this solution one at a time. To enable parallel 
 build, please add the /m switch.
   Unblock-File : A positional parameter cannot be found that accepts argument
   '5'.
   At line:1 char:1
   + Unblock-File c:\temp\_rc3 5
 Error: cmd: Command failed with exit code 2
 at ChildProcess.whenDone 
 (C:\Users\Sergei\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23)
 at ChildProcess.EventEmitter.emit (events.js:98:17)
 at maybeClose (child_process.js:743:16)
 at Process.ChildProcess._handle.onexit (child_process.js:810:5)



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


[jira] [Updated] (CB-6686) [3.5.0rc][Windows8] Build error if path contains whitespaces

2014-05-13 Thread Sergey Grebnov (JIRA)

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

Sergey Grebnov updated CB-6686:
---

Assignee: Jesse MacFadyen  (was: Sergey Grebnov)

 [3.5.0rc][Windows8] Build  error if path contains whitespaces
 -

 Key: CB-6686
 URL: https://issues.apache.org/jira/browse/CB-6686
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows 8
Affects Versions: 3.5.0
Reporter: Sergey Grebnov
Assignee: Jesse MacFadyen

 Create project in path w/ whitespaces
 Add windows platform
 Run build
 Building Cordova Windows 8 Project:
 Configuration : Debug
 Directory : c:\temp\_rc3 5 0\app\platforms\windows8
 MSBuildToolsPath: C:\Program Files (x86)\MSBuild\12.0\bin\
 cmd /c C:\Program Files (x86)\MSBuild\12.0\bin\msbuild c:\temp\_rc3 5 
 0\app\platforms\windows8\CordovaApp.sln 
 /clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo 
 /p:Configuration=Debug
 Building the projects in this solution one at a time. To enable parallel 
 build, please add the /m switch.
   Unblock-File : A positional parameter cannot be found that accepts argument
   '5'.
   At line:1 char:1
   + Unblock-File c:\temp\_rc3 5
 Error: cmd: Command failed with exit code 2
 at ChildProcess.whenDone 
 (C:\Users\Sergei\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23)
 at ChildProcess.EventEmitter.emit (events.js:98:17)
 at maybeClose (child_process.js:743:16)
 at Process.ChildProcess._handle.onexit (child_process.js:810:5)



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


[jira] [Resolved] (CB-5779) Allow alternative rendering engine for specific platform

2014-05-13 Thread Joe Bowser (JIRA)

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

Joe Bowser resolved CB-5779.


Resolution: Duplicate

CB-6246 is where this work exists, and all subtasks exist there.

 Allow alternative rendering engine for specific platform
 

 Key: CB-5779
 URL: https://issues.apache.org/jira/browse/CB-5779
 Project: Apache Cordova
  Issue Type: New Feature
  Components: Android
Affects Versions: Master
Reporter: Ningxin Hu

 Allow developers to use alternative rendering engine for specific platform. 
 For example, on Android platform, developers are able to choose WebView, 
 ChromeView, GeckoView or Crosswalk as rendering engine.
 https://wiki.apache.org/cordova/Platform%20Engine



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


[jira] [Resolved] (CB-6655) Export plugin ID to hooks when adding plugins from Git repos

2014-05-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-6655.
--

Resolution: Fixed
  Assignee: Mark Koudritsky

 Export plugin ID to hooks when adding plugins from Git repos
 

 Key: CB-6655
 URL: https://issues.apache.org/jira/browse/CB-6655
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Plugman
Affects Versions: 3.4.0
 Environment: all environments
Reporter: Mike Cunneen
Assignee: Mark Koudritsky
Priority: Trivial
  Labels: easyfix, features
   Original Estimate: 1h
  Remaining Estimate: 1h

 An {{after_plugin_add}} hook script has access to the following environment 
 variables (with example values):
 {quote}
   CORDOVA_VERSION: '3.4.1-0.1.0',
   CORDOVA_PLATFORMS: '',
   CORDOVA_PLUGINS: 'https://github.com/cdibened/filechooser.git',
   CORDOVA_HOOK: '.../myApp/hooks/after_plugin_add/my_hook_script.js',
   CORDOVA_CMDLINE: 'node /usr/local/bin/cordova plugin add 
 https://github.com/cdibened/filechooser.git'
 {quote}
 The problem is when adding a plugin from a remote git repo, there's no easy 
 way of finding out WHICH plugin ID has just been added (which is quite 
 essential for an after_plugin_add hook). The hook only has access to a Git 
 URL.
 We should provide the plugin ID to the hook:
 {quote}
   CORDOVA_PLUGIN_ID: 'com.cesidiodibenedetto.filechooser'
 {quote}
 We can provide this information from 
 {{cordova-lib/src/plugman/util/plugins.js}}, as a simple process.env export. 
 There are probably more elegant ways, but this would be a good start. 



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


[jira] [Commented] (CB-6685) [3.5.0rc][WP8] Build error: Command failed with exit code 2

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

[ 
https://issues.apache.org/jira/browse/CB-6685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13996972#comment-13996972
 ] 

ASF GitHub Bot commented on CB-6685:


GitHub user sgrebnov opened a pull request:

https://github.com/apache/cordova-wp8/pull/33

CB-6685 [3.5.0rc][WP8] Build error: Command failed with exit code 2

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

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

$ git pull https://github.com/MSOpenTech/cordova-wp8 CB-6685

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

https://github.com/apache/cordova-wp8/pull/33.patch

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

This closes #33


commit 73f5372587d3fa09d7a35dc201fb1f4df9452595
Author: sgrebnov v-seg...@microsoft.com
Date:   2014-05-13T22:15:11Z

CB-6685 [3.5.0rc][WP8] Build error: Command failed with exit code 2




 [3.5.0rc][WP8] Build error: Command failed with exit code 2
 ---

 Key: CB-6685
 URL: https://issues.apache.org/jira/browse/CB-6685
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP8
Affects Versions: 3.5.0
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov

 λ cordova build wp8
 Running command: C:\temp\_rc3_5_0\app\platforms\wp8\cordova\build.bat
 WARNING: [ --debug | --release ] not specified, defaulting to debug...
 Cleaning cordova project...
 Building Cordova-WP8 Project:
 Configuration : Debug
 Directory : C:\temp\_rc3_5_0\app\platforms\wp8
 MSBuildToolsPath: C:\Program Files (x86)\MSBuild\12.0\bin\
 buildCommand = %comspec% /c C:\Program Files 
 (x86)\MSBuild\12.0\bin\msbuild 
 C:\temp\_rc3_5_0\app\platforms\wp8\BlankCordovaApp1.sln 
 /clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo 
 /p:Configuration=Debug
 Building the projects in this solution one at a time. To enable parallel 
 build, please add the /m switch.
   BlankCordovaApp1 - 
 C:\temp\_rc3_5_0\app\platforms\wp8\Bin\Debug\io.cordova.BlankCordovaApp1.dll
   Begin application manifest generation
   Application manifest generation completed successfully
   Begin Xap packaging
 Error: C:\temp\_rc3_5_0\app\platforms\wp8\cordova\build.bat: Command failed 
 with exit code 2
 at ChildProcess.whenDone 
 (C:\Users\Sergei\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23)
 at ChildProcess.EventEmitter.emit (events.js:98:17)
 at maybeClose (child_process.js:743:16)
 at Process.ChildProcess._handle.onexit (child_process.js:810:5)



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


[jira] [Commented] (CB-6685) [3.5.0rc][WP8] Build error: Command failed with exit code 2

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

[ 
https://issues.apache.org/jira/browse/CB-6685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13997031#comment-13997031
 ] 

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

Commit 73f5372587d3fa09d7a35dc201fb1f4df9452595 in cordova-wp8's branch 
refs/heads/master from sgrebnov
[ https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;h=73f5372 ]

CB-6685 [3.5.0rc][WP8] Build error: Command failed with exit code 2


 [3.5.0rc][WP8] Build error: Command failed with exit code 2
 ---

 Key: CB-6685
 URL: https://issues.apache.org/jira/browse/CB-6685
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP8
Affects Versions: 3.5.0
Reporter: Sergey Grebnov
Assignee: Jesse MacFadyen

 λ cordova build wp8
 Running command: C:\temp\_rc3_5_0\app\platforms\wp8\cordova\build.bat
 WARNING: [ --debug | --release ] not specified, defaulting to debug...
 Cleaning cordova project...
 Building Cordova-WP8 Project:
 Configuration : Debug
 Directory : C:\temp\_rc3_5_0\app\platforms\wp8
 MSBuildToolsPath: C:\Program Files (x86)\MSBuild\12.0\bin\
 buildCommand = %comspec% /c C:\Program Files 
 (x86)\MSBuild\12.0\bin\msbuild 
 C:\temp\_rc3_5_0\app\platforms\wp8\BlankCordovaApp1.sln 
 /clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo 
 /p:Configuration=Debug
 Building the projects in this solution one at a time. To enable parallel 
 build, please add the /m switch.
   BlankCordovaApp1 - 
 C:\temp\_rc3_5_0\app\platforms\wp8\Bin\Debug\io.cordova.BlankCordovaApp1.dll
   Begin application manifest generation
   Application manifest generation completed successfully
   Begin Xap packaging
 Error: C:\temp\_rc3_5_0\app\platforms\wp8\cordova\build.bat: Command failed 
 with exit code 2
 at ChildProcess.whenDone 
 (C:\Users\Sergei\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23)
 at ChildProcess.EventEmitter.emit (events.js:98:17)
 at maybeClose (child_process.js:743:16)
 at Process.ChildProcess._handle.onexit (child_process.js:810:5)



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


[jira] [Commented] (CB-6669) createmobilespec.js doesn't work with the blackberry10 option

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

[ 
https://issues.apache.org/jira/browse/CB-6669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13995481#comment-13995481
 ] 

ASF GitHub Bot commented on CB-6669:


Github user BBosman commented on the pull request:

https://github.com/apache/cordova-mobile-spec/pull/63#issuecomment-42873948
  
Ok. Closing this PR. :)


 createmobilespec.js doesn't work with the blackberry10 option
 -

 Key: CB-6669
 URL: https://issues.apache.org/jira/browse/CB-6669
 Project: Apache Cordova
  Issue Type: Bug
  Components: mobile-spec
Reporter: Shazron Abdullah
Assignee: Bas Bosman

 In the root folder of all my repos:
 {code}
 ./cordova-mobile-spec/createmobilespec/createmobilespec.js --blackberry10
 {code}
 I get this error:
 {code}
 Creating project. If you have any errors, it may be from missing repositories.
 To clone needed repositories (android as an example):
   ./cordova-coho/coho repo-clone -r plugins -r mobile-spec -r android -r cli
 To update all repositories:
   ./cordova-coho/coho repo-update
 Creating project mobilespec...
 Creating a new cordova project with name MobileSpec_Tests and id 
 org.apache.cordova.mobilespec at location 
 /Users/shaz/Documents/Git/Apache/mobilespec
 Using custom www assets from 
 /Users/shaz/Documents/Git/Apache/cordova-mobile-spec
 /Users/shaz/Documents/Git/Apache/mobilespec /Users/shaz/Documents/Git/Apache
 Adding platforms...
 Adding Platform: blackberry10
 Checking if platform blackberry10 passes minimum requirements...
 Requirements check failed: /bin/sh: 
 /Users/shaz/Documents/Git/Apache/cordova-blackberry/bin/check_reqs: No such 
 file or directory
 {code}
 Note here that check_reqs should be in 
 `Users/shaz/Documents/Git/Apache/cordova-blackberry/*blackberry10*/bin/check_reqs`



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


[jira] [Commented] (CB-6682) File transfer tests need bb10 specific whitelisting applied

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

[ 
https://issues.apache.org/jira/browse/CB-6682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13996718#comment-13996718
 ] 

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

Commit 508f29f4c0a7602630bdc788da03b96b27f6b904 in cordova-mobile-spec's branch 
refs/heads/master from [~bhigg...@blackberry.com]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;h=508f29f ]

CB-6682 [BlackBerry10] Add access elements for bb10 whitelisting

- The platform doesn't respect *.apache.org
- Access to file:// requires a whitelist entry


 File transfer tests need bb10 specific whitelisting applied
 ---

 Key: CB-6682
 URL: https://issues.apache.org/jira/browse/CB-6682
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry, mobile-spec
Reporter: Bryan Higgins

 BB10 doesn't respect *.domain.com whitelisting
 Mobile-spec needs the following elements to work properly:
 access origin=file:/// /
 access origin=https://www.apache.org; /
 access origin=http://cordova.apache.org; /
 access origin=http://foobar.apache.org; /
 access origin=http://www.apache.org; /
 I'm going to wrap these in a platform tag.



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


[jira] [Assigned] (CB-6448) Display problems on Xiaomi Mi3

2014-05-13 Thread Joe Bowser (JIRA)

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

Joe Bowser reassigned CB-6448:
--

Assignee: Joe Bowser

 Display problems on Xiaomi Mi3
 --

 Key: CB-6448
 URL: https://issues.apache.org/jira/browse/CB-6448
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.4.0
 Environment: Xiaomi Mi3 running Miui v5 (4.4.4) (Android 4.3 JLS36C)
 Phonegap version: 3.4.0-0.19.7
Reporter: Gabriele Cirulli
Assignee: Joe Bowser

 When running the application on a Xiaomi Mi3 device running Miui v5 (4.4.4), 
 the viewport of the application becomes very big and causes the application 
 UI to look small on the screen.
 Here is an example of what it looks like on the device: 
 http://i.imgur.com/3w1i6Z0.png
  
 This is the expected appearance: http://i.imgur.com/yS6615p.png
 The application displays as expected on iOS 7 and on the other Android 
 versions and devices that have been tested. Android 4.4.3 doesn't seem to be 
 affected.
 When using an alert to display `screen.width` and `screen.height`, the Xiaomi 
 Mi3 device reports a viewport size of 1080x1920, which is disproportionate. 
 Other android devices (such as a Galaxy S3 running Android 4.4) report saner 
 dimensions, such as 360x640.
 This is a very strange issue and I haven't been able to determine whether 
 it's a problem with how the Xiaomi Mi3 device works or the Miui v5 OS works, 
 or if it is due to how Phonegap detects dimensions.
 The appropriate viewport meta tags are in place in my application and they 
 seem to behave correctly on other devices and systems.
 Even more strangely, Untappd, which is another Phonegap-based app, doesn't 
 seem to show this issue when executed on the Xiaomi Mi3 device, which hints 
 at the possibility of this being a Phonegap problem (possibly introduced in 
 the latest versions).



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


[jira] [Commented] (CB-6266) Windows8. Add Whitelisting rules support from config file

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

[ 
https://issues.apache.org/jira/browse/CB-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13997061#comment-13997061
 ] 

ASF GitHub Bot commented on CB-6266:


Github user purplecabbage commented on the pull request:

https://github.com/apache/cordova-windows/pull/27#issuecomment-43027902
  
I don't think we need this.  It is okay for the template to have a default 
value of all, and when the build command comes along, it will copy whatever is 
in the global project config, removing the * 

I think we can close this one.


 Windows8. Add Whitelisting rules support from config file
 -

 Key: CB-6266
 URL: https://issues.apache.org/jira/browse/CB-6266
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows 8
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov

 Currently config.xml access rules are not applied.



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


[jira] [Commented] (CB-6685) [3.5.0rc][WP8] Build error: Command failed with exit code 2

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

[ 
https://issues.apache.org/jira/browse/CB-6685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13997039#comment-13997039
 ] 

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

Commit 59184cbaa01680a2d70ae48bc49e7c2a1ff9ccda in cordova-wp8's branch 
refs/heads/3.5.x from [~purplecabbage]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;h=59184cb ]

apply CB-6685 to 3.5.x branch. This closes #33


 [3.5.0rc][WP8] Build error: Command failed with exit code 2
 ---

 Key: CB-6685
 URL: https://issues.apache.org/jira/browse/CB-6685
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP8
Affects Versions: 3.5.0
Reporter: Sergey Grebnov
Assignee: Jesse MacFadyen

 λ cordova build wp8
 Running command: C:\temp\_rc3_5_0\app\platforms\wp8\cordova\build.bat
 WARNING: [ --debug | --release ] not specified, defaulting to debug...
 Cleaning cordova project...
 Building Cordova-WP8 Project:
 Configuration : Debug
 Directory : C:\temp\_rc3_5_0\app\platforms\wp8
 MSBuildToolsPath: C:\Program Files (x86)\MSBuild\12.0\bin\
 buildCommand = %comspec% /c C:\Program Files 
 (x86)\MSBuild\12.0\bin\msbuild 
 C:\temp\_rc3_5_0\app\platforms\wp8\BlankCordovaApp1.sln 
 /clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo 
 /p:Configuration=Debug
 Building the projects in this solution one at a time. To enable parallel 
 build, please add the /m switch.
   BlankCordovaApp1 - 
 C:\temp\_rc3_5_0\app\platforms\wp8\Bin\Debug\io.cordova.BlankCordovaApp1.dll
   Begin application manifest generation
   Application manifest generation completed successfully
   Begin Xap packaging
 Error: C:\temp\_rc3_5_0\app\platforms\wp8\cordova\build.bat: Command failed 
 with exit code 2
 at ChildProcess.whenDone 
 (C:\Users\Sergei\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23)
 at ChildProcess.EventEmitter.emit (events.js:98:17)
 at maybeClose (child_process.js:743:16)
 at Process.ChildProcess._handle.onexit (child_process.js:810:5)



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


[jira] [Commented] (CB-6266) Windows8. Add Whitelisting rules support from config file

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

[ 
https://issues.apache.org/jira/browse/CB-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13997117#comment-13997117
 ] 

ASF GitHub Bot commented on CB-6266:


Github user sgrebnov commented on the pull request:

https://github.com/apache/cordova-windows/pull/27#issuecomment-43030700
  
Agree, default configuration is correct so closing this... But still think 
that something is broken in prepare step since we shouldn't get redundant 
values in config after it (not sure build command should update config.xml as 
well). I'll review this.


 Windows8. Add Whitelisting rules support from config file
 -

 Key: CB-6266
 URL: https://issues.apache.org/jira/browse/CB-6266
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows 8
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov

 Currently config.xml access rules are not applied.



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


[jira] [Commented] (CB-6687) Cordova-cli prepare needs to overwrite any default values in platform config.xml

2014-05-13 Thread Jesse MacFadyen (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13997125#comment-13997125
 ] 

Jesse MacFadyen commented on CB-6687:
-

Some more discussion here:
https://github.com/apache/cordova-windows/pull/27#issuecomment-43029614

 Cordova-cli prepare needs to overwrite any default values in platform 
 config.xml
 

 Key: CB-6687
 URL: https://issues.apache.org/jira/browse/CB-6687
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows 8, WP8
Affects Versions: 3.4.0
Reporter: Jesse MacFadyen
Assignee: Jesse MacFadyen

 wp8 and windows8 have a default value of *
 Ensure that changes to the project level config.xml overwrite platform 
 config.xml during prepare.



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


[jira] [Commented] (CB-6266) Windows8. Add Whitelisting rules support from config file

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

[ 
https://issues.apache.org/jira/browse/CB-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13997121#comment-13997121
 ] 

ASF GitHub Bot commented on CB-6266:


Github user purplecabbage commented on the pull request:

https://github.com/apache/cordova-windows/pull/27#issuecomment-43030780
  
Yeah, I will look at that.

@purplecabbage
risingj.com


On Tue, May 13, 2014 at 5:43 PM, Sergey Grebnov 
notificati...@github.comwrote:

 Agree, default configuration is correct so closing this... But still think
 that something is broken in prepare step since we shouldn't get redundant
 values in config after it (not sure build command should update config.xml
 as well). I'll review this.

 —
 Reply to this email directly or view it on 
GitHubhttps://github.com/apache/cordova-windows/pull/27#issuecomment-43030700
 .



 Windows8. Add Whitelisting rules support from config file
 -

 Key: CB-6266
 URL: https://issues.apache.org/jira/browse/CB-6266
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows 8
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov

 Currently config.xml access rules are not applied.



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


[jira] [Commented] (CB-6266) Windows8. Add Whitelisting rules support from config file

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

[ 
https://issues.apache.org/jira/browse/CB-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13997105#comment-13997105
 ] 

ASF GitHub Bot commented on CB-6266:


Github user purplecabbage commented on the pull request:

https://github.com/apache/cordova-windows/pull/27#issuecomment-43029923
  
Ultimately, the issue should be simply that during cordova-cli prepare the 
values from the cross-device config.xml are copied over to the platform 
config.xml AND they overwrite them.
Having default values in the project level config.xml is fine, and expected.


 Windows8. Add Whitelisting rules support from config file
 -

 Key: CB-6266
 URL: https://issues.apache.org/jira/browse/CB-6266
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows 8
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov

 Currently config.xml access rules are not applied.



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


[jira] [Commented] (CB-5816) FirefoxOS - add build script

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

[ 
https://issues.apache.org/jira/browse/CB-5816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13997073#comment-13997073
 ] 

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

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

Merge branch 'CB-5816' of https://github.com/Steckelfisch/cordova-firefoxos 
into 3.5.x

Conflicts:
package.json


 FirefoxOS - add build script
 

 Key: CB-5816
 URL: https://issues.apache.org/jira/browse/CB-5816
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS
Reporter: Axel Nennker

 run:  cordova build firefoxos
 output:
 Generating config.xml from defaults for platform firefoxos
 Preparing firefoxos project
 Compiling app on platform firefoxos via command 
 /project/platforms/firefoxos/cordova/build 
 events.js:72
 throw er; // Unhandled 'error' event
   ^
 Error: spawn ENOENT
 at errnoException (child_process.js:980:11)
 at Process.ChildProcess._handle.onexit (child_process.js:771:34)
 project$ 
 expected output: 
 nothing
 -
 platforms/firefoxos/cordova/build does not exist so the cordova build 
 firefoxos command fails.
 Please add a build script (although it does nothing)



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


[jira] [Created] (CB-6686) [3.5.0rc][Windows8] Build error if path contains whitespaces

2014-05-13 Thread Sergey Grebnov (JIRA)
Sergey Grebnov created CB-6686:
--

 Summary: [3.5.0rc][Windows8] Build  error if path contains 
whitespaces
 Key: CB-6686
 URL: https://issues.apache.org/jira/browse/CB-6686
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows 8
Affects Versions: 3.5.0
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov


Create project in path w/ whitespaces
Add windows platform
Run build

Building Cordova Windows 8 Project:
Configuration : Debug
Directory : c:\temp\_rc3 5 0\app\platforms\windows8
MSBuildToolsPath: C:\Program Files (x86)\MSBuild\12.0\bin\
cmd /c C:\Program Files (x86)\MSBuild\12.0\bin\msbuild c:\temp\_rc3 5 
0\app\platforms\windows8\CordovaApp.sln 
/clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo 
/p:Configuration=Debug
Building the projects in this solution one at a time. To enable parallel build, 
please add the /m switch.
  Unblock-File : A positional parameter cannot be found that accepts argument
  '5'.
  At line:1 char:1
  + Unblock-File c:\temp\_rc3 5
Error: cmd: Command failed with exit code 2
at ChildProcess.whenDone 
(C:\Users\Sergei\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:743:16)
at Process.ChildProcess._handle.onexit (child_process.js:810:5)



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


[jira] [Commented] (CB-6266) Windows8. Add Whitelisting rules support from config file

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

[ 
https://issues.apache.org/jira/browse/CB-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13997102#comment-13997102
 ] 

ASF GitHub Bot commented on CB-6266:


Github user purplecabbage commented on the pull request:

https://github.com/apache/cordova-windows/pull/27#issuecomment-43029796
  
It will be changed after the build command on windows8, will have to check 
for wp8.
You also have to remember that people can create projects for wp8 by also 
installing the vs-template, or by running wp8\bin\create.bat directly, so in 
these cases, the default value (*) must already be there.


 Windows8. Add Whitelisting rules support from config file
 -

 Key: CB-6266
 URL: https://issues.apache.org/jira/browse/CB-6266
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows 8
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov

 Currently config.xml access rules are not applied.



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


[jira] [Commented] (CB-6684) [3.5.0rc][Windows8] Splash screen setting breaks the build

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

[ 
https://issues.apache.org/jira/browse/CB-6684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13996937#comment-13996937
 ] 

ASF GitHub Bot commented on CB-6684:


GitHub user sgrebnov opened a pull request:

https://github.com/apache/cordova-windows/pull/30

CB-6684 [3.5.0rc][Windows8] Splash screen setting breaks the build

https://issues.apache.org/jira/browse/CB-6684
1. Copies image instead of changing reference - this is correct way since 
img could be outside the project so it won't work (also, Windows8 splash screen 
plugin requires default splash screen location)
2. Warns instead of build failure if splash screen reference is not a file 
3. Fixed mixed tabs and spaces, all actual changes are under  #Splash 
screen support

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

$ git pull https://github.com/MSOpenTech/cordova-windows CB-6684

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

https://github.com/apache/cordova-windows/pull/30.patch

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

This closes #30


commit d3dd1803aa7d8474aadbcb850ed0a572d23bb71a
Author: sgrebnov v-seg...@microsoft.com
Date:   2014-05-13T21:40:16Z

CB-6684 [3.5.0rc][Windows8] Splash screen setting breaks the build




 [3.5.0rc][Windows8] Splash screen setting breaks the build
 --

 Key: CB-6684
 URL: https://issues.apache.org/jira/browse/CB-6684
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows 8
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov

 Add dummy splash screen settings to config.xml
 preference name=SplashScreen value=screen /
 Run build
 C:\temp\_rc3_5_0\app
 λ cordova build windows8
 Running command: C:\temp\_rc3_5_0\app\platforms\windows8\cordova\build.bat
 Building Cordova Windows 8 Project:
 Configuration : Debug
 Directory : C:\temp\_rc3_5_0\app\platforms\windows8
 MSBuildToolsPath: C:\Program Files (x86)\MSBuild\12.0\bin\
 cmd /c C:\Program Files (x86)\MSBuild\12.0\bin\msbuild 
 C:\temp\_rc3_5_0\app\platforms\windows8\CordovaApp.sln 
 /clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo 
 /p:Configuration=Debug
 Building the projects in this solution one at a time. To enable parallel 
 build, please add the /m switch.
   Applying Platform Config ...
   Setting SplashScreen = screen
 package.appxmanifest(20,31): error APPX1617: App manifest references the 
 splash screen image 'screen' which has
  an unsupported extension. Extension must be JPG, JPEG, or PNG. 
 [C:\temp\_rc3_5_0\app\platforms\windows8\CordovaApp.jsproj]
 Error: C:\temp\_rc3_5_0\app\platforms\windows8\cordova\build.bat: Command 
 failed with exit code 2
 at ChildProcess.whenDone 
 (C:\Users\Sergei\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23)
 at ChildProcess.EventEmitter.emit (events.js:98:17)
 at maybeClose (child_process.js:743:16)
 at Process.ChildProcess._handle.onexit (child_process.js:810:5)
 We should check that file exists and if not then echo warning message instead 
 of fail



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


[jira] [Commented] (CB-5816) FirefoxOS - add build script

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

[ 
https://issues.apache.org/jira/browse/CB-5816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13997074#comment-13997074
 ] 

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

Commit 52a52556f4b07d7bf5f4dc5db657eb6e942c57c5 in cordova-firefoxos's branch 
refs/heads/master from [~Steckelfisch]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-firefoxos.git;h=52a5255 ]

CB-5816 Review-response: fix unix-centric paths to path.join(), minor 
typographic changes


 FirefoxOS - add build script
 

 Key: CB-5816
 URL: https://issues.apache.org/jira/browse/CB-5816
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS
Reporter: Axel Nennker

 run:  cordova build firefoxos
 output:
 Generating config.xml from defaults for platform firefoxos
 Preparing firefoxos project
 Compiling app on platform firefoxos via command 
 /project/platforms/firefoxos/cordova/build 
 events.js:72
 throw er; // Unhandled 'error' event
   ^
 Error: spawn ENOENT
 at errnoException (child_process.js:980:11)
 at Process.ChildProcess._handle.onexit (child_process.js:771:34)
 project$ 
 expected output: 
 nothing
 -
 platforms/firefoxos/cordova/build does not exist so the cordova build 
 firefoxos command fails.
 Please add a build script (although it does nothing)



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


[jira] [Commented] (CB-5816) FirefoxOS - add build script

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

[ 
https://issues.apache.org/jira/browse/CB-5816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13997077#comment-13997077
 ] 

ASF GitHub Bot commented on CB-5816:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-firefoxos/pull/7


 FirefoxOS - add build script
 

 Key: CB-5816
 URL: https://issues.apache.org/jira/browse/CB-5816
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS
Reporter: Axel Nennker

 run:  cordova build firefoxos
 output:
 Generating config.xml from defaults for platform firefoxos
 Preparing firefoxos project
 Compiling app on platform firefoxos via command 
 /project/platforms/firefoxos/cordova/build 
 events.js:72
 throw er; // Unhandled 'error' event
   ^
 Error: spawn ENOENT
 at errnoException (child_process.js:980:11)
 at Process.ChildProcess._handle.onexit (child_process.js:771:34)
 project$ 
 expected output: 
 nothing
 -
 platforms/firefoxos/cordova/build does not exist so the cordova build 
 firefoxos command fails.
 Please add a build script (although it does nothing)



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


[jira] [Commented] (CB-5816) FirefoxOS - add build script

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

[ 
https://issues.apache.org/jira/browse/CB-5816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13997076#comment-13997076
 ] 

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

Commit 9a15a5a562cc60c090534457d312cc2a4513ce09 in cordova-firefoxos's branch 
refs/heads/master from [~stevegill]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-firefoxos.git;h=9a15a5a ]

Merge branch 'CB-5816' of https://github.com/Steckelfisch/cordova-firefoxos

Conflicts:
package.json


 FirefoxOS - add build script
 

 Key: CB-5816
 URL: https://issues.apache.org/jira/browse/CB-5816
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS
Reporter: Axel Nennker

 run:  cordova build firefoxos
 output:
 Generating config.xml from defaults for platform firefoxos
 Preparing firefoxos project
 Compiling app on platform firefoxos via command 
 /project/platforms/firefoxos/cordova/build 
 events.js:72
 throw er; // Unhandled 'error' event
   ^
 Error: spawn ENOENT
 at errnoException (child_process.js:980:11)
 at Process.ChildProcess._handle.onexit (child_process.js:771:34)
 project$ 
 expected output: 
 nothing
 -
 platforms/firefoxos/cordova/build does not exist so the cordova build 
 firefoxos command fails.
 Please add a build script (although it does nothing)



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


[jira] [Commented] (CB-6661) Web Platform Target

2014-05-13 Thread Andrew Grieve (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13997188#comment-13997188
 ] 

Andrew Grieve commented on CB-6661:
---

Cool. If this is strictly for use during development, then I think we already 
have a repo set up for you :). cordova-browser is intended for this purpose, 
but no one has started working on it. 

 Web Platform Target
 ---

 Key: CB-6661
 URL: https://issues.apache.org/jira/browse/CB-6661
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CordovaJS
Affects Versions: 3.4.0
 Environment: All
Reporter: Daniel
Priority: Minor
  Labels: cordova-js, features, platform
 Fix For: 3.4.0


 I have not been able to find built in functionality for cordova to deploy an 
 app to a server platform. This purpose of this new platform is to allow an 
 HTML5 application within a Cordova project to be deployed on a web server, 
 available for access over standard internet protocols.
 My team and I will be actively working this at 
 https://github.com/CollinearGroup/cordova-js
 We intend to build this functionality with a nodejs server but hope that we 
 can provide the server with varying backends like Grails and Rails.



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


[jira] [Resolved] (CB-6684) [3.5.0rc][Windows8] Splash screen setting breaks the build

2014-05-13 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen resolved CB-6684.
-

Resolution: Fixed

 [3.5.0rc][Windows8] Splash screen setting breaks the build
 --

 Key: CB-6684
 URL: https://issues.apache.org/jira/browse/CB-6684
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows 8
Reporter: Sergey Grebnov
Assignee: Jesse MacFadyen

 Add dummy splash screen settings to config.xml
 preference name=SplashScreen value=screen /
 Run build
 C:\temp\_rc3_5_0\app
 λ cordova build windows8
 Running command: C:\temp\_rc3_5_0\app\platforms\windows8\cordova\build.bat
 Building Cordova Windows 8 Project:
 Configuration : Debug
 Directory : C:\temp\_rc3_5_0\app\platforms\windows8
 MSBuildToolsPath: C:\Program Files (x86)\MSBuild\12.0\bin\
 cmd /c C:\Program Files (x86)\MSBuild\12.0\bin\msbuild 
 C:\temp\_rc3_5_0\app\platforms\windows8\CordovaApp.sln 
 /clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo 
 /p:Configuration=Debug
 Building the projects in this solution one at a time. To enable parallel 
 build, please add the /m switch.
   Applying Platform Config ...
   Setting SplashScreen = screen
 package.appxmanifest(20,31): error APPX1617: App manifest references the 
 splash screen image 'screen' which has
  an unsupported extension. Extension must be JPG, JPEG, or PNG. 
 [C:\temp\_rc3_5_0\app\platforms\windows8\CordovaApp.jsproj]
 Error: C:\temp\_rc3_5_0\app\platforms\windows8\cordova\build.bat: Command 
 failed with exit code 2
 at ChildProcess.whenDone 
 (C:\Users\Sergei\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23)
 at ChildProcess.EventEmitter.emit (events.js:98:17)
 at maybeClose (child_process.js:743:16)
 at Process.ChildProcess._handle.onexit (child_process.js:810:5)
 We should check that file exists and if not then echo warning message instead 
 of fail



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


[jira] [Assigned] (CB-6169) CSS scale transform ignored inside some svg elements

2014-05-13 Thread Joe Bowser (JIRA)

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

Joe Bowser reassigned CB-6169:
--

Assignee: Joe Bowser

 CSS scale transform ignored inside some svg elements
 

 Key: CB-6169
 URL: https://issues.apache.org/jira/browse/CB-6169
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
 Environment: Android, Linux dev machine
Reporter: Adrian May
Assignee: Joe Bowser
  Labels: css, scale, svg, transform

 Try this HTML:
 !DOCTYPE html
 html
 head
 style
 .fat { -webkit-transform:scale(6,1); transform:scale(6,1); }
 .lean { -webkit-transform:translate(50,0); transform:translate(50,0); }
 /style
 /head
 body
 centerdiv class='fat'Blah/div/center
 br/
 svg id=pic height='50' viewBox='-100 -15 200 30'
   circle cx='0' cy='0' r='15' stroke='black' stroke-width='3' fill='yellow' 
 class='fat'/
   text text-anchor='middle' class='fat'NotFat/text
 /svg 
 br/
 svg id=pic height='50' viewBox='-100 -15 200 30'
   circle cx='0' cy='0' r='15' stroke='black' stroke-width='3' fill='yellow' 
 class='fat'/
   text text-anchor='middle' transform='scale(6,1)'Bbb/text
 /svg 
 br/
 svg id=pic height='50' viewBox='-100 -15 200 30'
   g transform='scale(6,1)'
 circle cx='0' cy='0' r='15' stroke='black' stroke-width='3' 
 fill='yellow'/
 text text-anchor='middle'Ccc/text
   /g
 /svg 
 br/
 svg id=pic height='50' viewBox='-100 -15 200 30'
   g class='fat'
 circle cx='0' cy='0' r='15' stroke='black' stroke-width='3' 
 fill='yellow'/
 text text-anchor='middle'NotFat/text
   /g
 /svg 
 br/
  
 svg id=pic height='50' viewBox='-100 -15 200 30'
   circle cx='0' cy='0' r='15' stroke='black' stroke-width='3' fill='yellow' 
 class='lean'/
   text text-anchor='middle' class='lean'Aaa/text
 /svg 
 br/
 svg id=pic height='50' viewBox='-100 -15 200 30'
   circle cx='0' cy='0' r='15' stroke='black' stroke-width='3' fill='yellow' 
 class='lean'/
   text text-anchor='middle' transform='translate(50,0)'Bbb/text
 /svg 
 br/
 svg id=pic height='50' viewBox='-100 -15 200 30'
   g transform='translate(50,0)'
 circle cx='0' cy='0' r='15' stroke='black' stroke-width='3' 
 fill='yellow'/
 text text-anchor='middle'Ccc/text
   /g
 /svg 
 br/
 svg id=pic height='50' viewBox='-100 -15 200 30'
   g class='lean'
 circle cx='0' cy='0' r='15' stroke='black' stroke-width='3' 
 fill='yellow'/
 text text-anchor='middle'Ddd/text
   /g
 /svg 
 /body
 /html
 The two texts showing NotFat appear fat in chrome and firefox, but not 
 cordova. The first four circles should be fat but only the third is. In the 
 second set of 4, Cordova behaves the same as FF and Chrome.



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


[jira] [Commented] (CB-5816) FirefoxOS - add build script

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

[ 
https://issues.apache.org/jira/browse/CB-5816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13997075#comment-13997075
 ] 

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

Commit 7800b1b2718ff5a27afd63e3a7a2f366fb673145 in cordova-firefoxos's branch 
refs/heads/master from [~Steckelfisch]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-firefoxos.git;h=7800b1b ]

CB-5816 fix errors in untested code


 FirefoxOS - add build script
 

 Key: CB-5816
 URL: https://issues.apache.org/jira/browse/CB-5816
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS
Reporter: Axel Nennker

 run:  cordova build firefoxos
 output:
 Generating config.xml from defaults for platform firefoxos
 Preparing firefoxos project
 Compiling app on platform firefoxos via command 
 /project/platforms/firefoxos/cordova/build 
 events.js:72
 throw er; // Unhandled 'error' event
   ^
 Error: spawn ENOENT
 at errnoException (child_process.js:980:11)
 at Process.ChildProcess._handle.onexit (child_process.js:771:34)
 project$ 
 expected output: 
 nothing
 -
 platforms/firefoxos/cordova/build does not exist so the cordova build 
 firefoxos command fails.
 Please add a build script (although it does nothing)



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


[jira] [Commented] (CB-6684) [3.5.0rc][Windows8] Splash screen setting breaks the build

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

[ 
https://issues.apache.org/jira/browse/CB-6684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13997023#comment-13997023
 ] 

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

Commit 1b572662dd5c76d6d67107f6742a3c229dff3958 in cordova-windows's branch 
refs/heads/3.5.x from [~purplecabbage]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-windows.git;h=1b57266 ]

Merge branch 'CB-6684' of https://github.com/MSOpenTech/cordova-windows into 
3.5.x


 [3.5.0rc][Windows8] Splash screen setting breaks the build
 --

 Key: CB-6684
 URL: https://issues.apache.org/jira/browse/CB-6684
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows 8
Reporter: Sergey Grebnov
Assignee: Jesse MacFadyen

 Add dummy splash screen settings to config.xml
 preference name=SplashScreen value=screen /
 Run build
 C:\temp\_rc3_5_0\app
 λ cordova build windows8
 Running command: C:\temp\_rc3_5_0\app\platforms\windows8\cordova\build.bat
 Building Cordova Windows 8 Project:
 Configuration : Debug
 Directory : C:\temp\_rc3_5_0\app\platforms\windows8
 MSBuildToolsPath: C:\Program Files (x86)\MSBuild\12.0\bin\
 cmd /c C:\Program Files (x86)\MSBuild\12.0\bin\msbuild 
 C:\temp\_rc3_5_0\app\platforms\windows8\CordovaApp.sln 
 /clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo 
 /p:Configuration=Debug
 Building the projects in this solution one at a time. To enable parallel 
 build, please add the /m switch.
   Applying Platform Config ...
   Setting SplashScreen = screen
 package.appxmanifest(20,31): error APPX1617: App manifest references the 
 splash screen image 'screen' which has
  an unsupported extension. Extension must be JPG, JPEG, or PNG. 
 [C:\temp\_rc3_5_0\app\platforms\windows8\CordovaApp.jsproj]
 Error: C:\temp\_rc3_5_0\app\platforms\windows8\cordova\build.bat: Command 
 failed with exit code 2
 at ChildProcess.whenDone 
 (C:\Users\Sergei\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23)
 at ChildProcess.EventEmitter.emit (events.js:98:17)
 at maybeClose (child_process.js:743:16)
 at Process.ChildProcess._handle.onexit (child_process.js:810:5)
 We should check that file exists and if not then echo warning message instead 
 of fail



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


[jira] [Commented] (CB-6685) [3.5.0rc][WP8] Build error: Command failed with exit code 2

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

[ 
https://issues.apache.org/jira/browse/CB-6685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13997032#comment-13997032
 ] 

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

Commit df69b966d5662e774c9c501f1a2e8056e3e4447f in cordova-wp8's branch 
refs/heads/master from [~purplecabbage]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;h=df69b96 ]

Merge branch 'CB-6685' of https://github.com/MSOpenTech/cordova-wp8


 [3.5.0rc][WP8] Build error: Command failed with exit code 2
 ---

 Key: CB-6685
 URL: https://issues.apache.org/jira/browse/CB-6685
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP8
Affects Versions: 3.5.0
Reporter: Sergey Grebnov
Assignee: Jesse MacFadyen

 λ cordova build wp8
 Running command: C:\temp\_rc3_5_0\app\platforms\wp8\cordova\build.bat
 WARNING: [ --debug | --release ] not specified, defaulting to debug...
 Cleaning cordova project...
 Building Cordova-WP8 Project:
 Configuration : Debug
 Directory : C:\temp\_rc3_5_0\app\platforms\wp8
 MSBuildToolsPath: C:\Program Files (x86)\MSBuild\12.0\bin\
 buildCommand = %comspec% /c C:\Program Files 
 (x86)\MSBuild\12.0\bin\msbuild 
 C:\temp\_rc3_5_0\app\platforms\wp8\BlankCordovaApp1.sln 
 /clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo 
 /p:Configuration=Debug
 Building the projects in this solution one at a time. To enable parallel 
 build, please add the /m switch.
   BlankCordovaApp1 - 
 C:\temp\_rc3_5_0\app\platforms\wp8\Bin\Debug\io.cordova.BlankCordovaApp1.dll
   Begin application manifest generation
   Application manifest generation completed successfully
   Begin Xap packaging
 Error: C:\temp\_rc3_5_0\app\platforms\wp8\cordova\build.bat: Command failed 
 with exit code 2
 at ChildProcess.whenDone 
 (C:\Users\Sergei\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23)
 at ChildProcess.EventEmitter.emit (events.js:98:17)
 at maybeClose (child_process.js:743:16)
 at Process.ChildProcess._handle.onexit (child_process.js:810:5)



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


[jira] [Commented] (CB-6617) inAppBrowser does not contain the localStorage of the parent window

2014-05-13 Thread Joe Bowser (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13996948#comment-13996948
 ] 

Joe Bowser commented on CB-6617:


The reason you don't want the InAppBrowser to have access to the parent's local 
storage is because InAppBrowser's contents are untrusted.  If you trust what's 
in InAppBrowser, why not just use an iFrame, or just load the document in the 
first place?

 inAppBrowser does not contain the localStorage of the parent window
 ---

 Key: CB-6617
 URL: https://issues.apache.org/jira/browse/CB-6617
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, iOS, Plugin InAppBrowser
Affects Versions: 3.4.0
Reporter: Ralph S Theart
Assignee: Joe Bowser
  Labels: android, localstorage

 Why is it that I can share localStorage information between wbeviews(I refer 
 to my app and a inappbrowser instance) in iOS but not in Android.
 If I do...
 {code}
 //location: index.html (in my app)
 localStorage.setItem('Cheese':'Brie');
 {code}
 Then if I try to retrieve this data from locally served html file via 
 inappbroweser in android
 {code}
 var item = localStorage.getItem('Cheese');
 item = null
 {code}
 It never get set... BUT if I recompile my app and locally served html file 
 via inAppBroweser then it's there.
 I feel like i'm missing something..
 How in the world are people passing data back and forth between the app view 
 and the iab view?? I need to pass deep objects back and forth ...so using url 
 parameters is unacceptable. Neither is using inject js...as it is not 
 consistent in android the data does not always make it to the iab 
 instance and sometimes becomes undefined...I have tested this with LoadStart, 
 LoadStop...it's just not consistent.
 iOS just works...could you help me thanks.



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


[jira] [Commented] (CB-6684) [3.5.0rc][Windows8] Splash screen setting breaks the build

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

[ 
https://issues.apache.org/jira/browse/CB-6684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13997058#comment-13997058
 ] 

ASF GitHub Bot commented on CB-6684:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-windows/pull/30


 [3.5.0rc][Windows8] Splash screen setting breaks the build
 --

 Key: CB-6684
 URL: https://issues.apache.org/jira/browse/CB-6684
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows 8
Reporter: Sergey Grebnov
Assignee: Jesse MacFadyen

 Add dummy splash screen settings to config.xml
 preference name=SplashScreen value=screen /
 Run build
 C:\temp\_rc3_5_0\app
 λ cordova build windows8
 Running command: C:\temp\_rc3_5_0\app\platforms\windows8\cordova\build.bat
 Building Cordova Windows 8 Project:
 Configuration : Debug
 Directory : C:\temp\_rc3_5_0\app\platforms\windows8
 MSBuildToolsPath: C:\Program Files (x86)\MSBuild\12.0\bin\
 cmd /c C:\Program Files (x86)\MSBuild\12.0\bin\msbuild 
 C:\temp\_rc3_5_0\app\platforms\windows8\CordovaApp.sln 
 /clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo 
 /p:Configuration=Debug
 Building the projects in this solution one at a time. To enable parallel 
 build, please add the /m switch.
   Applying Platform Config ...
   Setting SplashScreen = screen
 package.appxmanifest(20,31): error APPX1617: App manifest references the 
 splash screen image 'screen' which has
  an unsupported extension. Extension must be JPG, JPEG, or PNG. 
 [C:\temp\_rc3_5_0\app\platforms\windows8\CordovaApp.jsproj]
 Error: C:\temp\_rc3_5_0\app\platforms\windows8\cordova\build.bat: Command 
 failed with exit code 2
 at ChildProcess.whenDone 
 (C:\Users\Sergei\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23)
 at ChildProcess.EventEmitter.emit (events.js:98:17)
 at maybeClose (child_process.js:743:16)
 at Process.ChildProcess._handle.onexit (child_process.js:810:5)
 We should check that file exists and if not then echo warning message instead 
 of fail



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


[jira] [Commented] (CB-6686) [3.5.0rc][Windows8] Build error if path contains whitespaces

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

[ 
https://issues.apache.org/jira/browse/CB-6686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13997018#comment-13997018
 ] 

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

Commit b2596302c82b50a6f77deef3f8a1bb54d87b8d39 in cordova-windows's branch 
refs/heads/3.5.x from [~purplecabbage]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-windows.git;h=b259630 ]

Merge branch 'CB-6686' of https://github.com/MSOpenTech/cordova-windows into 
3.5.x


 [3.5.0rc][Windows8] Build  error if path contains whitespaces
 -

 Key: CB-6686
 URL: https://issues.apache.org/jira/browse/CB-6686
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows 8
Affects Versions: 3.5.0
Reporter: Sergey Grebnov
Assignee: Jesse MacFadyen

 Create project in path w/ whitespaces
 Add windows platform
 Run build
 Building Cordova Windows 8 Project:
 Configuration : Debug
 Directory : c:\temp\_rc3 5 0\app\platforms\windows8
 MSBuildToolsPath: C:\Program Files (x86)\MSBuild\12.0\bin\
 cmd /c C:\Program Files (x86)\MSBuild\12.0\bin\msbuild c:\temp\_rc3 5 
 0\app\platforms\windows8\CordovaApp.sln 
 /clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo 
 /p:Configuration=Debug
 Building the projects in this solution one at a time. To enable parallel 
 build, please add the /m switch.
   Unblock-File : A positional parameter cannot be found that accepts argument
   '5'.
   At line:1 char:1
   + Unblock-File c:\temp\_rc3 5
 Error: cmd: Command failed with exit code 2
 at ChildProcess.whenDone 
 (C:\Users\Sergei\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23)
 at ChildProcess.EventEmitter.emit (events.js:98:17)
 at maybeClose (child_process.js:743:16)
 at Process.ChildProcess._handle.onexit (child_process.js:810:5)



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


[jira] [Commented] (CB-5634) Orientation Preference is ignored in Android, should be parsed by CLI

2014-05-13 Thread Iron Bone (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13992724#comment-13992724
 ] 

Iron Bone commented on CB-5634:
---

The problem was reported 1,5 year before. Orientation is one of the few main 
properties in cordova. I do not understand why it is not possible to solve this 
problem. If it is not possible then cordova should remove this property from 
the description - such a situation is just a shame for such project.

I teach cordova and my students  ask me why it does not work. I have no answer 
- so the students suggest to use something else.

 Orientation Preference is ignored in Android, should be parsed by CLI
 -

 Key: CB-5634
 URL: https://issues.apache.org/jira/browse/CB-5634
 Project: Apache Cordova
  Issue Type: Bug
  Components: Amazon FireOS, Android, CLI, Docs, iOS
Reporter: Joe Bowser
Assignee: Andrew Grieve

 The docs say that an Orientation preference is supposed to work across all 
 platforms.  However, Android's activities can only be locked to an 
 orientation by modifying the AndroidManifest.xml. 
 To get past this, we either change the docs, or we support this in the CLI.  
 I feel that adding an XML parser to the scripts is complete overkill, since 
 we don't have any tests for our platform scripts, and I personally think 
 they're a giant pile of technical debt.



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


[jira] [Resolved] (CB-6663) Statusbar plugin may cause cordova not to load

2014-05-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-6663.
--

Resolution: Duplicate
  Assignee: Shazron Abdullah

Thanks for the report Tom, 
I believe the changes you want will be incorporated in CB-5138

 Statusbar plugin may cause cordova not to load
 --

 Key: CB-6663
 URL: https://issues.apache.org/jira/browse/CB-6663
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Statusbar
Affects Versions: 3.4.0
 Environment: iOS 7.1 on iPhone 5, Xcode 5
Reporter: Tom Sanidas
Assignee: Shazron Abdullah
  Labels: javascript

 Found this while researching symptoms like those in CB-5488, where Cordova 
 was not finding document.body and not initializing or firing deviceready. 
  When using the Statusbar plugin on iOS for its ability to 
 overlaysWebView=false, found that when including JQuery in those same 
 pages, Cordova would intermittently fail to load.  Used the Mac Safari 
 Developer tool option debugger to step through on the device and saw the 
 error was in cordova.js's operating on a null document.body.  The call 
 stack pointed to statusbar.js.
 I believe this is due to Statusbar's Javascript calling exec() before 
 device ready.  I was able to do some testing and if I deferred this exec() 
 call until after deviceready, the error disappears.
 If I can figure out how, I might be able to propose my changes properly.  
 They only were about 3 lines of Javascript, but I need to get set up to test, 
 etc.



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


[jira] [Created] (CB-6687) Cordova-cli prepare needs to overwrite any default values in platform config.xml

2014-05-13 Thread Jesse MacFadyen (JIRA)
Jesse MacFadyen created CB-6687:
---

 Summary: Cordova-cli prepare needs to overwrite any default values 
in platform config.xml
 Key: CB-6687
 URL: https://issues.apache.org/jira/browse/CB-6687
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows 8, WP8
Affects Versions: 3.4.0
Reporter: Jesse MacFadyen
Assignee: Jesse MacFadyen


wp8 and windows8 have a default value of *
Ensure that changes to the project level config.xml overwrite platform 
config.xml during prepare.



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


[jira] [Commented] (CB-6266) Windows8. Add Whitelisting rules support from config file

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

[ 
https://issues.apache.org/jira/browse/CB-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13997124#comment-13997124
 ] 

ASF GitHub Bot commented on CB-6266:


Github user purplecabbage commented on the pull request:

https://github.com/apache/cordova-windows/pull/27#issuecomment-43031008
  
Issue is here: CB-6687


 Windows8. Add Whitelisting rules support from config file
 -

 Key: CB-6266
 URL: https://issues.apache.org/jira/browse/CB-6266
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows 8
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov

 Currently config.xml access rules are not applied.



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


[jira] [Commented] (CB-6687) Cordova-cli prepare needs to overwrite any default values in platform config.xml

2014-05-13 Thread Andrew Grieve (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13997190#comment-13997190
 ] 

Andrew Grieve commented on CB-6687:
---

I think this would be addressed by adding a defaults.xml for CLI to use 
(CB-4774)

 Cordova-cli prepare needs to overwrite any default values in platform 
 config.xml
 

 Key: CB-6687
 URL: https://issues.apache.org/jira/browse/CB-6687
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows 8, WP8
Affects Versions: 3.4.0
Reporter: Jesse MacFadyen
Assignee: Jesse MacFadyen

 wp8 and windows8 have a default value of *
 Ensure that changes to the project level config.xml overwrite platform 
 config.xml during prepare.



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


[jira] [Created] (CB-6672) Fix some spelling typos

2014-05-13 Thread Bas Bosman (JIRA)
Bas Bosman created CB-6672:
--

 Summary: Fix some spelling typos
 Key: CB-6672
 URL: https://issues.apache.org/jira/browse/CB-6672
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Docs
Reporter: Bas Bosman
Assignee: Bas Bosman
Priority: Trivial


The new Next Steps guide has a couple of spelling typo's.



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


[jira] [Created] (CB-6683) WP8 Contact Proxy loaded on BB10

2014-05-13 Thread Bryan Higgins (JIRA)
Bryan Higgins created CB-6683:
-

 Summary: WP8 Contact Proxy loaded on BB10
 Key: CB-6683
 URL: https://issues.apache.org/jira/browse/CB-6683
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Contacts
Reporter: Bryan Higgins
Priority: Blocker


Contacts tests are failing on BB10 due to WP8 proxy being loaded



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


[jira] [Commented] (CB-6266) Windows8. Add Whitelisting rules support from config file

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

[ 
https://issues.apache.org/jira/browse/CB-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13997094#comment-13997094
 ] 

ASF GitHub Bot commented on CB-6266:


Github user sgrebnov commented on the pull request:

https://github.com/apache/cordova-windows/pull/27#issuecomment-43029614
  
Actually it looks strange, that we always have access origin=* on windows8 
and wp8, for example, if I change main config.xml and replace * with some real 
domain, I get the following in platform config after prepare command.

access origin=* /
access origin=http://mydomain.com; /

We don't have such behavior on Android. Resultant config on Android allows 
mydomain only


 Windows8. Add Whitelisting rules support from config file
 -

 Key: CB-6266
 URL: https://issues.apache.org/jira/browse/CB-6266
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows 8
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov

 Currently config.xml access rules are not applied.



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


[jira] [Commented] (CB-2606) Add support for icon elements in config.xml

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

[ 
https://issues.apache.org/jira/browse/CB-2606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13995678#comment-13995678
 ] 

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

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

CB-2606 add launcher icon support for FirefoxOS


 Add support for icon elements in config.xml
 -

 Key: CB-2606
 URL: https://issues.apache.org/jira/browse/CB-2606
 Project: Apache Cordova
  Issue Type: Wish
  Components: Docs
Reporter: Filip Maj
Assignee: Mark Koudritsky

 This feature would add support for specifying the application icon by 
 changing values inside the {{config.xml}} document.
 Relevant details for Cordova:
 - {{icon}} elements _may_ have {{width}} and {{height}} attributes 
 representing the preferred size of the icon in CSS pixels.
 - {{icon}} elements _must_ have a {{src}} attribute, which contains a path 
 string relative to the {{www/}} folder (or equivalent) in the platform.
 See [the Widget Spec's section on 
 icons|http://www.w3.org/TR/widgets/#the-icon-element-and-its-attributes] for 
 specifics.



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