[jira] [Assigned] (CB-6978) test captureImage() function failed

2014-06-26 Thread Martin Bektchiev (JIRA)

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

Martin Bektchiev reassigned CB-6978:


Assignee: Martin Bektchiev

 test captureImage() function failed
 ---

 Key: CB-6978
 URL: https://issues.apache.org/jira/browse/CB-6978
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.5.0
 Environment: android4.1
Reporter: fujunwei
Assignee: Martin Bektchiev
  Labels: features
   Original Estimate: 24h
  Remaining Estimate: 24h

 REPRODUCE TEST STEPS:
 1. install Cordova 3.5.0 and media-capture plugin
 2. write a simple test code, for example
 navigator.device.capture.captureImage(captureSuccess, captureError, 
 {limit:1});
 3. Tap on captureImage() button, check the behavior
 EXPECTED OUTCOME:
 callback captureSuccess function
 ACTUAL OUTCOME:
 callback captureError function



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


[jira] [Commented] (CB-6976) Add support for Windows Universal apps (Windows 8.1 and WP 8.1)

2014-06-26 Thread Sergey Grebnov (JIRA)

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

Sergey Grebnov commented on CB-6976:


New issue found when deploying WP8.1 target on rreal device

Use latest cordova from git

deploy to a wp8.1 device with cordova run windows -- --phone --device

I get the following error each time.

Error message:
Deploying to device ...
Appropriate package found at 
E:\temp\350\phone2\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_AnyCPU_Debug_Test
C:\Program Files (x86)\Microsoft SDKs\Windows 
Phone\v8.1\Tools\AppDeploy\AppDeployCmd.exe /install 
E:\temp\350\phone2\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_AnyCPU_Debug_Test\CordovaApp.Phone_0.0.1.0_AnyCPU_Debug.appx
 /targetdevice:de

Error: Install failed. Please contact your software vendor.


 Add support for Windows Universal apps (Windows 8.1 and WP 8.1)
 ---

 Key: CB-6976
 URL: https://issues.apache.org/jira/browse/CB-6976
 Project: Apache Cordova
  Issue Type: New Feature
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov

 Creating this as a new JIRA feature since this is different from previously 
 proposed adding support for Windows 8.1 only.
 This feature proposes transforming 'windows8' to 'windows' platform which is 
 based on Windows Universal apps and which allows building apps for Windows 8, 
 Windows 8.1 and Windows Phone 8.1. Window Phone 8 (wp8) stays as a platform. 
 Original info from dev mail thread:
 With Windows 8.1 and Windows Phone 8.1 platforms released, it would be great 
 to get Cordova support building apps for those platforms too. A lot of people 
 on this list have also been talking about how to adapt existing apps to the 
 new 8.1 platforms. Here is an initial proposal and prototype of how it may 
 look. 
 TL;DR; - Rename windows8 platform to be called windows. This platform can 
 build apps for Windows 8, Windows 8.1 and Windows Phone 8.1. Window Phone 8 
 (wp8) stays as a platform. 
 Link to the document - 
 https://onedrive.live.com/redir?resid=DEA20E6DC28C96DD!2781authkey=!APz1za6lnJhsaaQithint=file%2c.docx
 For more details, see Support for Windows Universal apps (Windows 8.1 and 
 Windows Phone 8.1) dev email thread
 TODO: add Windows 8.1 and WP8.1 components.



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


[jira] [Commented] (CB-6976) Add support for Windows Universal apps (Windows 8.1 and WP 8.1)

2014-06-26 Thread Sergey Grebnov (JIRA)

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

Sergey Grebnov commented on CB-6976:


I see exactly the same error if I use Windows Phone Application Deployment tool.

This happens if there is already installed app with the same Identity/Name (we 
take this from config.xml), but different PhoneProductId (guid, generated 
dynamically when adding windows platform).

Identity Name=io.cordova.hellocordova Version=0.0.1.0 
Publisher=CN=$username$ /

mp:PhoneIdentity PhoneProductId=D5636E6C-A81B-45BE-93D2-4F85E4339641 
PhonePublisherId=db093ed5-53b1-45f7-af72-751e8f36ab80 /


 Add support for Windows Universal apps (Windows 8.1 and WP 8.1)
 ---

 Key: CB-6976
 URL: https://issues.apache.org/jira/browse/CB-6976
 Project: Apache Cordova
  Issue Type: New Feature
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov

 Creating this as a new JIRA feature since this is different from previously 
 proposed adding support for Windows 8.1 only.
 This feature proposes transforming 'windows8' to 'windows' platform which is 
 based on Windows Universal apps and which allows building apps for Windows 8, 
 Windows 8.1 and Windows Phone 8.1. Window Phone 8 (wp8) stays as a platform. 
 Original info from dev mail thread:
 With Windows 8.1 and Windows Phone 8.1 platforms released, it would be great 
 to get Cordova support building apps for those platforms too. A lot of people 
 on this list have also been talking about how to adapt existing apps to the 
 new 8.1 platforms. Here is an initial proposal and prototype of how it may 
 look. 
 TL;DR; - Rename windows8 platform to be called windows. This platform can 
 build apps for Windows 8, Windows 8.1 and Windows Phone 8.1. Window Phone 8 
 (wp8) stays as a platform. 
 Link to the document - 
 https://onedrive.live.com/redir?resid=DEA20E6DC28C96DD!2781authkey=!APz1za6lnJhsaaQithint=file%2c.docx
 For more details, see Support for Windows Universal apps (Windows 8.1 and 
 Windows Phone 8.1) dev email thread
 TODO: add Windows 8.1 and WP8.1 components.



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


[jira] [Created] (CB-7029) File-transfer not working on iOS 5.1.1 (iPad1)

2014-06-26 Thread Robin Zeggelaar (JIRA)
Robin Zeggelaar created CB-7029:
---

 Summary: File-transfer not working on iOS 5.1.1 (iPad1)
 Key: CB-7029
 URL: https://issues.apache.org/jira/browse/CB-7029
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File Transfer
Affects Versions: 3.4.0
Reporter: Robin Zeggelaar


After trying to wrap my head around this issue for far to long, i decided to 
open an issue:

The problem is that i can not get a file-transfer working on my iPad1 (iOS 
5.1.1). I know support is dropped in Cordova 3.5.0, but this project is running 
3.4. I tried with both the most recent plugins, and with one version before 
that.

There simply are no callbacks whatsoever when i run it on the device. It works 
fine in 6.1/7.1 simulators. Unfortunately 5.1 simulators are not supported on 
Mavericks, so i can't test with those.

I created a new application using the CLI, and used the demo code: nothing on 
5.1.1, fine on 6.1/7.1 (sim).

Can any of you replicate this? Or this this a know issue and did i miss the 
memo?

Hoping to hear from you soon.



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


[jira] [Commented] (CB-6976) Add support for Windows Universal apps (Windows 8.1 and WP 8.1)

2014-06-26 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6976:


GitHub user sgrebnov opened a pull request:

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

disables CB-6976 Add support for Windows Universal apps (Windows 8.1 and WP 
8.1)

We should not include this functionality until new Windows platform is 
released. It is better to enable this for 3.6.0 release. This also guaranties 
nothing is broken with Windows8 platform after this Tools Release.

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

$ git pull https://github.com/MSOpenTech/cordova-lib patch-3.5.0-0.2.6

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

https://github.com/apache/cordova-lib/pull/41.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 #41


commit c6e624938420580cca9765e8b7f1a25c6b25ef13
Author: sgrebnov v-seg...@microsoft.com
Date:   2014-06-26T09:11:50Z

disables CB-6976 Add support for Windows Universal apps (Windows 8.1 and WP 
8.1)




 Add support for Windows Universal apps (Windows 8.1 and WP 8.1)
 ---

 Key: CB-6976
 URL: https://issues.apache.org/jira/browse/CB-6976
 Project: Apache Cordova
  Issue Type: New Feature
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov

 Creating this as a new JIRA feature since this is different from previously 
 proposed adding support for Windows 8.1 only.
 This feature proposes transforming 'windows8' to 'windows' platform which is 
 based on Windows Universal apps and which allows building apps for Windows 8, 
 Windows 8.1 and Windows Phone 8.1. Window Phone 8 (wp8) stays as a platform. 
 Original info from dev mail thread:
 With Windows 8.1 and Windows Phone 8.1 platforms released, it would be great 
 to get Cordova support building apps for those platforms too. A lot of people 
 on this list have also been talking about how to adapt existing apps to the 
 new 8.1 platforms. Here is an initial proposal and prototype of how it may 
 look. 
 TL;DR; - Rename windows8 platform to be called windows. This platform can 
 build apps for Windows 8, Windows 8.1 and Windows Phone 8.1. Window Phone 8 
 (wp8) stays as a platform. 
 Link to the document - 
 https://onedrive.live.com/redir?resid=DEA20E6DC28C96DD!2781authkey=!APz1za6lnJhsaaQithint=file%2c.docx
 For more details, see Support for Windows Universal apps (Windows 8.1 and 
 Windows Phone 8.1) dev email thread
 TODO: add Windows 8.1 and WP8.1 components.



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


[jira] [Commented] (CB-6976) Add support for Windows Universal apps (Windows 8.1 and WP 8.1)

2014-06-26 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6976:


GitHub user sgrebnov opened a pull request:

https://github.com/apache/cordova-cli/pull/182

disables CB-6976 Add support for Windows Universal apps (Windows 8.1 and WP 
8.1)

We should not include this functionality until new Windows platform is 
released. It is better to enable this for 3.6.0 release. This also guaranties 
nothing is broken with Windows8 platform after this Tools Release.

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

$ git pull https://github.com/MSOpenTech/cordova-cli patch-3.5.0-0.2.6

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

https://github.com/apache/cordova-cli/pull/182.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 #182


commit b3a0028b737733d5316210289c05c132d6955b2c
Author: sgrebnov v-seg...@microsoft.com
Date:   2014-06-26T09:14:37Z

disables CB-6976 Add support for Windows Universal apps (Windows 8.1 and WP 
8.1)




 Add support for Windows Universal apps (Windows 8.1 and WP 8.1)
 ---

 Key: CB-6976
 URL: https://issues.apache.org/jira/browse/CB-6976
 Project: Apache Cordova
  Issue Type: New Feature
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov

 Creating this as a new JIRA feature since this is different from previously 
 proposed adding support for Windows 8.1 only.
 This feature proposes transforming 'windows8' to 'windows' platform which is 
 based on Windows Universal apps and which allows building apps for Windows 8, 
 Windows 8.1 and Windows Phone 8.1. Window Phone 8 (wp8) stays as a platform. 
 Original info from dev mail thread:
 With Windows 8.1 and Windows Phone 8.1 platforms released, it would be great 
 to get Cordova support building apps for those platforms too. A lot of people 
 on this list have also been talking about how to adapt existing apps to the 
 new 8.1 platforms. Here is an initial proposal and prototype of how it may 
 look. 
 TL;DR; - Rename windows8 platform to be called windows. This platform can 
 build apps for Windows 8, Windows 8.1 and Windows Phone 8.1. Window Phone 8 
 (wp8) stays as a platform. 
 Link to the document - 
 https://onedrive.live.com/redir?resid=DEA20E6DC28C96DD!2781authkey=!APz1za6lnJhsaaQithint=file%2c.docx
 For more details, see Support for Windows Universal apps (Windows 8.1 and 
 Windows Phone 8.1) dev email thread
 TODO: add Windows 8.1 and WP8.1 components.



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


[jira] [Commented] (CB-4404) android:windowSoftInputMode has no effect in full screen mode, and adjustPan does not work in non-full screen mode

2014-06-26 Thread Derk Bell (JIRA)

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

Derk Bell commented on CB-4404:
---

I managed to get things working as I would expect from adjustPan by doing the 
following:

1. In config.xml I have {{preference name=fullscreen value=false /}}
2. In AndroidManifest I have removed any adjustPan or adjustResize
3. I have set a viewport in my HTML: {{meta name=viewport 
content=user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1 
/}}
4. On my body element I set a min-height value in pixels at application start 
{{document.body.style.minHeight = document.body.clientHeight + 'px';}}

This causes the webView to resize in order to make room for the keyboard but 
the web content will remain at the original size. The half screen webview 
becomes scrollable and when selecting an input it stays focussed.

 android:windowSoftInputMode has no effect in full screen mode, and 
 adjustPan does not work in non-full screen mode
 

 Key: CB-4404
 URL: https://issues.apache.org/jira/browse/CB-4404
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 2.9.0
 Environment: * Mac OS 10.7.5
 * Android 4.1.2 and 4.2.2 emulator using Intel's x86 images
Reporter: Daniel Trebbien
Assignee: Andrew Grieve

 _I recently posted a description of this issue to the phonegap group at 
 [https://groups.google.com/d/topic/phonegap/J-h0lt68x0g/discussion]._
 I am testing out PhoneGap 2.9.0 in the Android emulator (using Intel's x86 
 images), and I am seeing the issue that the android:windowSoftInputMode 
 setting is not having an effect.  By default, the setting is set to 
 adjustPan in the generated project, but when I actually focus a text 
 input, the soft keyboard appears on top of the app, but does not pan the 
 main window, and the input is usually hidden beneath the keyboard as a 
 result.
 Steps to reproduce:
 # Create a new PhoneGap 2.9.0 project using the {{cordova create}} utility.  
 Add the 'android' platform.
 # Open the project in Eclipse.
 # Edit {{index.html}} to add {{brbrbrbrbrbrbrinput 
 placeholder=Text box}} below the {{h1Apache Cordova/h1}} heading.
 # Run the app in Android 4.1.2 or 4.2.2 emulator.
 # Tap the input and notice that the soft keyboard is placed over the app 
 and the input is hidden beneath.
 # Try changing the android:windowSoftInputMode setting in 
 {{AndroidManifest.xml}} to adjustResize, reload the app, and notice that 
 the app is not resized when the input receives keyboard focus.
 I am seeing this problem in Android 4.1.2 and 4.2.2 emulator.  In Android 
 4.0.3 emulator, the app pans as expected.
 The strange thing is that if I load the www/ files in the Browser and focus 
 the input, then the window is resized to fit the soft keyboard like normal. 
  This seems to imply that android:windowSoftInputMode works fine in the 
 emulator, but there is some issue in PhoneGap that is preventing it from 
 working.



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


[jira] [Updated] (CB-7030) App crashes when internet is not present

2014-06-26 Thread Tha Leang (JIRA)

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

Tha Leang updated CB-7030:
--

Description: 
App crashes when wi-fi is switched off. Then this message is displayed:

Unfortunately [appname] has stopped.

I tried tracing the problem, and from the method:

exec(successCallback, errorCallback, NetworkStatus, getConnectionInfo, []);

it crashes while executing this line:

var messages = nativeApiProvider.get().exec(service, action, callbackId, 
argsJson);

  was:
App crashes when wi-fi is switched off and this message is displayed:

Unfortunately [appname] has stopped.

I tried tracing the problem, and from the method:

exec(successCallback, errorCallback, NetworkStatus, getConnectionInfo, []);

it crashes while executing this line:

var messages = nativeApiProvider.get().exec(service, action, callbackId, 
argsJson);


 App crashes when internet is not present
 

 Key: CB-7030
 URL: https://issues.apache.org/jira/browse/CB-7030
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.5.0
Reporter: Tha Leang

 App crashes when wi-fi is switched off. Then this message is displayed:
 Unfortunately [appname] has stopped.
 I tried tracing the problem, and from the method:
 exec(successCallback, errorCallback, NetworkStatus, getConnectionInfo, 
 []);
 it crashes while executing this line:
 var messages = nativeApiProvider.get().exec(service, action, callbackId, 
 argsJson);



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


[jira] [Created] (CB-7030) App crashes when internet is not present

2014-06-26 Thread Tha Leang (JIRA)
Tha Leang created CB-7030:
-

 Summary: App crashes when internet is not present
 Key: CB-7030
 URL: https://issues.apache.org/jira/browse/CB-7030
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.5.0
Reporter: Tha Leang


App crashes when wi-fi is switched off and this message is displayed:

Unfortunately [appname] has stopped.

I tried tracing the problem, and from the method:

exec(successCallback, errorCallback, NetworkStatus, getConnectionInfo, []);

it crashes while executing this line:

var messages = nativeApiProvider.get().exec(service, action, callbackId, 
argsJson);



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


[jira] [Updated] (CB-7029) File-transfer not working on iOS 5.1.1 (iPad1)

2014-06-26 Thread Robin Zeggelaar (JIRA)

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

Robin Zeggelaar updated CB-7029:


Description: 
After trying to wrap my head around this issue for far to long, i decided to 
open an issue:

The problem is that i can not get a file-transfer working on my iPad1 (iOS 
5.1.1). I know support is dropped in Cordova 3.5.0, but this project is running 
3.4. I tried with both the most recent plugins, and with one version before 
that.

There simply are no callbacks whatsoever when i run it on the device. It works 
fine in 6.1/7.1 simulators. Unfortunately 5.1 simulators are not supported on 
Mavericks, so i can't test with those.

I created a new application using the CLI, and used the demo code: nothing on 
5.1.1, fine on 6.1/7.1 (sim).

Can any of you replicate this? Or this this a know issue and did i miss the 
memo?

Hoping to hear from you soon.

EDIT: Forgot to mention that i'm using the download method. I have not tried to 
upload a file.

  was:
After trying to wrap my head around this issue for far to long, i decided to 
open an issue:

The problem is that i can not get a file-transfer working on my iPad1 (iOS 
5.1.1). I know support is dropped in Cordova 3.5.0, but this project is running 
3.4. I tried with both the most recent plugins, and with one version before 
that.

There simply are no callbacks whatsoever when i run it on the device. It works 
fine in 6.1/7.1 simulators. Unfortunately 5.1 simulators are not supported on 
Mavericks, so i can't test with those.

I created a new application using the CLI, and used the demo code: nothing on 
5.1.1, fine on 6.1/7.1 (sim).

Can any of you replicate this? Or this this a know issue and did i miss the 
memo?

Hoping to hear from you soon.


 File-transfer not working on iOS 5.1.1 (iPad1)
 --

 Key: CB-7029
 URL: https://issues.apache.org/jira/browse/CB-7029
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File Transfer
Affects Versions: 3.4.0
Reporter: Robin Zeggelaar

 After trying to wrap my head around this issue for far to long, i decided to 
 open an issue:
 The problem is that i can not get a file-transfer working on my iPad1 (iOS 
 5.1.1). I know support is dropped in Cordova 3.5.0, but this project is 
 running 3.4. I tried with both the most recent plugins, and with one version 
 before that.
 There simply are no callbacks whatsoever when i run it on the device. It 
 works fine in 6.1/7.1 simulators. Unfortunately 5.1 simulators are not 
 supported on Mavericks, so i can't test with those.
 I created a new application using the CLI, and used the demo code: nothing on 
 5.1.1, fine on 6.1/7.1 (sim).
 Can any of you replicate this? Or this this a know issue and did i miss the 
 memo?
 Hoping to hear from you soon.
 EDIT: Forgot to mention that i'm using the download method. I have not tried 
 to upload a file.



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


[jira] [Created] (CB-7031) --usenpm option should place downloaded package to util.libDirectory

2014-06-26 Thread Sergey Grebnov (JIRA)
Sergey Grebnov created CB-7031:
--

 Summary: --usenpm option should place downloaded package to 
util.libDirectory
 Key: CB-7031
 URL: https://issues.apache.org/jira/browse/CB-7031
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib
Reporter: Sergey Grebnov
Assignee: Sergey Grebnov


Currently cordova api relies on util.libDirectory to find proper location to 
platform package. 

Using --usenpm flag makes it possible to fetch platform from npm. But it uses 
different folder to store downloaded package.

default lib directory as per util.libDirectory
c:\Users\Sergei\.cordova\lib\android 

with --usenpm
c:\Users\Sergei\.cordova\lib\npm_cache\cordova-android 

Due to this there are the following two issues:

1. Requirements check failed when adding new platform (if it is not cached)
cordova platform add wp8 --usenpm
CordovaError: Requirements check failed: The system cannot find the path 
specified.

This is because there is no util.libDirectory directory, package is located in 
different place.

2. Packages downloaded from npm can't be found by cordova  so it downloads them 
again from git during prepare step, for example the following command will 
download android template twice
a) from npm during create step 
b) from git during prepare step

cordova_dev platform add android --usenpm
npm http GET https://registry.npmjs.org/cordova-android/3.5.0
npm http 304 https://registry.npmjs.org/cordova-android/3.5.0
Creating android project...
Creating Cordova project for the Android platform:
Path: platforms\android
Package: io.cordova.hellocordova
Name: HelloCordova
Android target: android-19
Copying template files...
...

Project successfully created.
__url: 
*https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=snapshot;h=3.5.0;sf=tgz*
Downloading cordova library for android...
Download complete






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


[jira] [Updated] (CB-6994) Windows 8 does not save big file transferred using Blob

2014-06-26 Thread Maxime LUCE (JIRA)

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

Maxime LUCE updated CB-6994:


Fix Version/s: 3.6.0

 Windows 8 does not save big file transferred using Blob
 ---

 Key: CB-6994
 URL: https://issues.apache.org/jira/browse/CB-6994
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File, Windows 8
Affects Versions: 3.5.0
Reporter: Maxime LUCE
Assignee: Maxime LUCE
 Fix For: 3.6.0


 When trying to save Blob using FileWriter.write method, if the blob's size is 
 too high, we get a stack overflow exception during the conversion of the blob 
 into an basic array.
 WinRT (WinJS) provide a method to write Blob directly to the filesystem. It 
 uses Streams so it's safe for memory.
 More info at :
 http://code.msdn.microsoft.com/windowsapps/Blob-Sample-0e35889e/sourcecode?fileId=43594pathId=962515806
 Method : writeBlobToFile



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


[jira] [Updated] (CB-7027) GetMetadata on windows8 fail

2014-06-26 Thread Maxime LUCE (JIRA)

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

Maxime LUCE updated CB-7027:


Component/s: Windows 8

 GetMetadata on windows8 fail
 

 Key: CB-7027
 URL: https://issues.apache.org/jira/browse/CB-7027
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File, Windows 8
Reporter: BERTON Florian

 getMetadata in FileProxy.js on windows 8 return null. It should return 
 dateModified and size for a file and only size for a folder.



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


[jira] [Updated] (CB-7027) Windows 8 - Plugin File - Get metadata returns an invalid date

2014-06-26 Thread Maxime LUCE (JIRA)

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

Maxime LUCE updated CB-7027:


Summary: Windows 8 - Plugin File - Get metadata returns an invalid date  
(was: GetMetadata on windows8 fail)

 Windows 8 - Plugin File - Get metadata returns an invalid date
 --

 Key: CB-7027
 URL: https://issues.apache.org/jira/browse/CB-7027
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File, Windows 8
Reporter: BERTON Florian

 getMetadata in FileProxy.js on windows 8 return null. 
 It should return dateModified and size for a file and only size for a folder.



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


[jira] [Updated] (CB-7027) GetMetadata on windows8 fail

2014-06-26 Thread Maxime LUCE (JIRA)

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

Maxime LUCE updated CB-7027:


Description: 
getMetadata in FileProxy.js on windows 8 return null. 

It should return dateModified and size for a file and only size for a folder.

  was:getMetadata in FileProxy.js on windows 8 return null. It should return 
dateModified and size for a file and only size for a folder.


 GetMetadata on windows8 fail
 

 Key: CB-7027
 URL: https://issues.apache.org/jira/browse/CB-7027
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File, Windows 8
Reporter: BERTON Florian

 getMetadata in FileProxy.js on windows 8 return null. 
 It should return dateModified and size for a file and only size for a folder.



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


[jira] [Updated] (CB-7027) Windows 8 - Plugin File - Get metadata returns an invalid date

2014-06-26 Thread Maxime LUCE (JIRA)

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

Maxime LUCE updated CB-7027:


Description: 
On Windows 8, in plugin File, the method getMetadata in the FileProxy.js 
returns an invalid date and no size.

Whereas, Windows 8 allows to return a well formatted Metadata object containing 
a valid modification date and a valid size.



It should return dateModified and size for a file and only size for a folder.

  was:
getMetadata in FileProxy.js on windows 8 return null. 

It should return dateModified and size for a file and only size for a folder.


 Windows 8 - Plugin File - Get metadata returns an invalid date
 --

 Key: CB-7027
 URL: https://issues.apache.org/jira/browse/CB-7027
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File, Windows 8
Reporter: BERTON Florian

 On Windows 8, in plugin File, the method getMetadata in the FileProxy.js 
 returns an invalid date and no size.
 Whereas, Windows 8 allows to return a well formatted Metadata object 
 containing a valid modification date and a valid size.
 It should return dateModified and size for a file and only size for a folder.



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


[jira] [Updated] (CB-7027) Windows 8 - Plugin File - Get metadata returns an invalid date

2014-06-26 Thread Maxime LUCE (JIRA)

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

Maxime LUCE updated CB-7027:


Description: 
On Windows 8, in plugin File, the method getMetadata in the FileProxy.js 
returns an invalid date and no size.

Whereas, Windows 8 allows to return a well formatted Metadata object containing 
a valid modification date and a valid size.

  was:
On Windows 8, in plugin File, the method getMetadata in the FileProxy.js 
returns an invalid date and no size.

Whereas, Windows 8 allows to return a well formatted Metadata object containing 
a valid modification date and a valid size.



It should return dateModified and size for a file and only size for a folder.


 Windows 8 - Plugin File - Get metadata returns an invalid date
 --

 Key: CB-7027
 URL: https://issues.apache.org/jira/browse/CB-7027
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File, Windows 8
Reporter: BERTON Florian

 On Windows 8, in plugin File, the method getMetadata in the FileProxy.js 
 returns an invalid date and no size.
 Whereas, Windows 8 allows to return a well formatted Metadata object 
 containing a valid modification date and a valid size.



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


[jira] [Updated] (CB-7027) Windows 8 - Plugin File - Get metadata returns an invalid date

2014-06-26 Thread Maxime LUCE (JIRA)

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

Maxime LUCE updated CB-7027:


Fix Version/s: 3.6.0

 Windows 8 - Plugin File - Get metadata returns an invalid date
 --

 Key: CB-7027
 URL: https://issues.apache.org/jira/browse/CB-7027
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File, Windows 8
Reporter: BERTON Florian
 Fix For: 3.6.0


 On Windows 8, in plugin File, the method getMetadata in the FileProxy.js 
 returns an invalid date and no size.
 Whereas, Windows 8 allows to return a well formatted Metadata object 
 containing a valid modification date and a valid size.



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


[jira] [Commented] (CB-6869) medic.json file not created for wp8 and windows8 platforms when running mobilespec project via medic

2014-06-26 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6869:


Github user vladimir-kotikov closed the pull request at:

https://github.com/apache/cordova-medic/pull/8


 medic.json file not created for wp8 and windows8 platforms when running 
 mobilespec project via medic
 

 Key: CB-6869
 URL: https://issues.apache.org/jira/browse/CB-6869
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Medic, Windows 8, WP8
Reporter: Vladimir Kotikov
Assignee: Jesse MacFadyen

 cordova-medic/src/build/makers/wp8.js and windows8.js need to have the code 
 added to create medic.json in the mobile spec project.
 Now wp8 and windows8 bulders inject necessary options (couchDB host and SHA) 
 directly into plugin's code instead of writing medic.json and this prevents 
 the mobilespec project from running properly because the XHR request returns 
 no data when requesting medic.json (in medic.js).



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


[jira] [Created] (CB-7032) File Transfer upload fails to fire success function on Android

2014-06-26 Thread Kuan Yi Ming (JIRA)
Kuan Yi Ming created CB-7032:


 Summary: File Transfer upload fails to fire success function on 
Android
 Key: CB-7032
 URL: https://issues.apache.org/jira/browse/CB-7032
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File Transfer
Affects Versions: 3.5.0
 Environment: Used version 0.4.3 and 0.4.4 of the File Transfer plugin. 
Tested on Android
Reporter: Kuan Yi Ming


The upload function fails to trigger the success function despite it 
successfully uploading the file to the server. The debug logs indicate that the 
native code in FileTransfer.java has executed successfully though, as the debug 
logs prints the response code and headers, in addition to these lines:

{code:Title=FileTransfer.java}
Log.d(LOG_TAG, got response from server);
Log.d(LOG_TAG, responseString.substring(0, Math.min(256, 
responseString.length(;
{code}



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


[jira] [Created] (CB-7033) cordova platform check command not working

2014-06-26 Thread Victor Adrian Sosa Herrera (JIRA)
Victor Adrian Sosa Herrera created CB-7033:
--

 Summary: cordova platform check command not working
 Key: CB-7033
 URL: https://issues.apache.org/jira/browse/CB-7033
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.4.0
Reporter: Victor Adrian Sosa Herrera
Priority: Minor


I have an app with Android installed and I know it was created with Cordova 
3.3.1-0.1.2.
After running this command with a 3.4.1-1.0. CLI I get the following
{{$ cordova platform check}}
{{All platforms are up-to-date.}}

But after running cordova platform ls I get the following
{{$ cordova platform ls}}
{{Installed platforms: android broken}}
{{Available platforms: amazon-fireos, blackberry10, firefoxos, ubuntu}}

Using _platform check_ arguments I don't get the result I'm looking for (a 
platform out-of-date), while using _platform ls_ it's not very clear, but I 
presume the _broken_ platform is like an out-of-date message



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


[jira] [Created] (CB-7034) [BlackBerry10

2014-06-26 Thread Bryan Higgins (JIRA)
Bryan Higgins created CB-7034:
-

 Summary: [BlackBerry10
 Key: CB-7034
 URL: https://issues.apache.org/jira/browse/CB-7034
 Project: Apache Cordova
  Issue Type: Improvement
Reporter: Bryan Higgins






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


[jira] [Commented] (CB-7034) [BlackBerry10] Improve makeSyncCall error handling

2014-06-26 Thread ASF subversion and git services (JIRA)

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

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

Commit 04675127bd12b564c6297082adc6053624addaec in cordova-js's branch 
refs/heads/master from [~bhiggins_bb]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;h=0467512 ]

CB-7034 [BlackBerry10] Add error handling to exec makeSyncCall


 [BlackBerry10] Improve makeSyncCall error handling
 --

 Key: CB-7034
 URL: https://issues.apache.org/jira/browse/CB-7034
 Project: Apache Cordova
  Issue Type: Improvement
  Components: BlackBerry, CordovaJS
Reporter: Bryan Higgins
Assignee: Bryan Higgins
 Fix For: 3.6.0


 If makeSyncCall fails due to exec bridge failure 'deviceready' does not fire. 
 This can be avoided by catching the error and returning a error response code.



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


[jira] [Updated] (CB-7034) [BlackBerry10] Improve makeSyncCall error handling

2014-06-26 Thread Bryan Higgins (JIRA)

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

Bryan Higgins updated CB-7034:
--

  Component/s: CordovaJS
   BlackBerry
  Description: If makeSyncCall fails due to exec bridge failure 
'deviceready' does not fire. This can be avoided by catching the error and 
returning a error response code.
Fix Version/s: 3.6.0
 Assignee: Bryan Higgins
  Summary: [BlackBerry10] Improve makeSyncCall error handling  (was: 
[BlackBerry10)

 [BlackBerry10] Improve makeSyncCall error handling
 --

 Key: CB-7034
 URL: https://issues.apache.org/jira/browse/CB-7034
 Project: Apache Cordova
  Issue Type: Improvement
  Components: BlackBerry, CordovaJS
Reporter: Bryan Higgins
Assignee: Bryan Higgins
 Fix For: 3.6.0


 If makeSyncCall fails due to exec bridge failure 'deviceready' does not fire. 
 This can be avoided by catching the error and returning a error response code.



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


[jira] [Comment Edited] (CB-6577) [CLI] fruitstrap error prevents ios install

2014-06-26 Thread Craig Payne (JIRA)

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

Craig Payne edited comment on CB-6577 at 6/26/14 6:24 PM:
--

I'm seeing a similar problem, also with ios-deploy 1.0.8.  In my case, 
disconnecting and reconnecting the device, then letting iTunes look it over 
again before quitting iTunes typically solves it - at least for awhile. 

Occasionally, I've had to reboot my MBP (my development machine).

Also, it *seems* worse (more common) if I connect the device via an external 
USB hub, possibly due to extra noise, or perhaps timing of signals going 
through the extra hub.  [The later *might* be a hint about where to look - or 
not :)]

The device I'm using is an older iPhone 3GS.

Actually, sorry - this is a different error than what I'm seeing.  I'm seeing:

[ 95%] Developer disk image mounted successfully
Assertion failed: (AMDeviceStartService(device, CFSTR(com.apple.debugserver), 
gdbfd, NULL) == 0), function start_remote_debug_server, file ios-deploy.c, 
line 650.
/Users/CraigPayne/Cordova/Cordova-3.5.0-0.24_apps/wimw/platforms/ios/cordova/run:
 line 138: 42228 Abort trap: 6   ios-deploy -d -b $DEVICE_APP_PATH



was (Author: craigapayne):
I'm seeing a similar problem, also with ios-deploy 1.0.8.  In my case, 
disconnecting and reconnecting the device, then letting iTunes look it over 
again before quitting iTunes typically solves it - at least for awhile. 

Occasionally, I've had to reboot my MBP (my development machine).

Also, it *seems* worse (more common) if I connect the device via an external 
USB hub, possibly due to extra noise, or perhaps timing of signals going 
through the extra hub.  [The later *might* be a hint about where to look - or 
not :)]

The device I'm using is an older iPhone 3GS.


 [CLI] fruitstrap error prevents ios install
 ---

 Key: CB-6577
 URL: https://issues.apache.org/jira/browse/CB-6577
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Reporter: Lorin Beer
Assignee: Lorin Beer

 Bug report related to Cordova CLI, affects and reported by multiple users
 one of the more complete error reports:
 ```
 I'm seeing the same issue; environment and verbose output:
 OS X 10.9.2
 iOS 7.1
 Xcode 5.1
 Cordova 3.4.1-0.1.0 
 ( same issue via Ionic 1.0.1-beta )
 bash-3.2$ cordova run ios --verbose
 cordova library for ios already exists. No need to download. Continuing.
 Generating config.xml from defaults for platform ios
 Calling plugman.prepare for platform ios
 Preparing ios project
 Processing configuration changes for plugins.
 Iterating over installed plugins: [ 'org.apache.cordova.console',
   'org.apache.cordova.device',
   'org.apache.cordova.statusbar' ]
 Writing out cordova_plugins.js...
 Wrote out iOS Bundle Identifier to com.ionicframework.starter
 Wrote out iOS Bundle Version to 0.0.1
 iOS Product Name has not changed (still HelloCordova)
 Running command: /Users/user/src/ionicTest/myApp/platforms/ios/cordova/run
 Build settings from command line:
 ARCHS = armv7 armv7s arm64
 CONFIGURATION_BUILD_DIR = 
 /Users/user/src/ionicTest/myApp/platforms/ios/build/device
 SDKROOT = iphoneos7.1
 VALID_ARCHS = armv7 armv7s arm64
 Build settings from configuration file 
 '/Users/user/src/ionicTest/myApp/platforms/ios/cordova/build.xcconfig':
 CODE_SIGN_IDENTITY = iPhone Developer
 2014-04-15 15:50:29.311 xcodebuild[5833:3d07]  DeveloperPortal: Using 
 pre-existing current store at URL 
 (file:///Users/user/Library/Developer/Xcode/DeveloperPortal%205.1.db).
 [1m[36m=== BUILD TARGET CordovaLib OF PROJECT CordovaLib WITH CONFIGURATION 
 Debug ===[0m
 Check dependencies
 [1m[36m=== BUILD TARGET HelloCordova OF PROJECT HelloCordova WITH 
 CONFIGURATION Debug ===[0m
 Check dependencies
 [1mProcessInfoPlistFile[0m build/device/HelloCordova.app/Info.plist 
 [1mHelloCordova/HelloCordova-Info.plist[0m
 cd /Users/user/src/ionicTest/myApp/platforms/ios
 export 
 PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/Users/user/.rvm/gems/ruby-1.9.3-p448/bin:/Users/user/.rvm/gems/ruby-1.9.3-p448@global/bin:/Users/user/.rvm/rubies/ruby-1.9.3-p448/bin:/Users/user/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Users/user/android/android-sdk-mac_86/tools:/opt/local/lib/postgresql91/bin
 builtin-infoPlistUtility 
 /Users/user/src/ionicTest/myApp/platforms/ios/HelloCordova/HelloCordova-Info.plist
  -genpkginfo 
 /Users/user/src/ionicTest/myApp/platforms/ios/build/device/HelloCordova.app/PkgInfo
  -expandbuildsettings -format binary -platform iphoneos -resourcerulesfile 
 

[jira] [Created] (CB-7035) inconsistently, I see: function start_remote_debug_server, file ios-deploy.c, line 650.

2014-06-26 Thread Craig Payne (JIRA)
Craig Payne created CB-7035:
---

 Summary: inconsistently, I see: function 
start_remote_debug_server, file ios-deploy.c, line 650.
 Key: CB-7035
 URL: https://issues.apache.org/jira/browse/CB-7035
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.5.0
 Environment: MacOS 10.9.3, MacBook Pro, iPhone 4GS (6.1.6 iOS)
Reporter: Craig Payne
Priority: Minor


I'm using ios-deply v 1.0.8.  And I'm actually using Cordova 3.5.0-0.2.4.

Sometimes when I run 'cordova build' and 'cordova run ios' on my project, I get 
into a state where I can't load and start the app on my device.  The error 
message I see is:

Assertion failed: (AMDeviceStartService(device, CFSTR(com.apple.debugserver), 
gdbfd, NULL) == 0), function start_remote_debug_server, file ios-deploy.c, 
line 650.

Sometimes I just have to disconnect/reconnect the iPhone for this to clear up, 
other times, it's much more obstinate and I end up having to reset the phone to 
factory settings, and even reboot the MBP.  Occasionally, even THAT doesn't 
clear it.  Rebuilding the project also doesn't seem to have an impact.  Running 
iTunes and connecting the device also doesn't always have an impact.



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


[jira] [Closed] (CB-7035) inconsistently, I see: function start_remote_debug_server, file ios-deploy.c, line 650.

2014-06-26 Thread Craig Payne (JIRA)

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

Craig Payne closed CB-7035.
---

Resolution: Not a Problem

 inconsistently, I see: function start_remote_debug_server, file ios-deploy.c, 
 line 650.
 ---

 Key: CB-7035
 URL: https://issues.apache.org/jira/browse/CB-7035
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.5.0
 Environment: MacOS 10.9.3, MacBook Pro, iPhone 4GS (6.1.6 iOS)
Reporter: Craig Payne
Priority: Minor

 I'm using ios-deply v 1.0.8.  And I'm actually using Cordova 3.5.0-0.2.4.
 Sometimes when I run 'cordova build' and 'cordova run ios' on my project, I 
 get into a state where I can't load and start the app on my device.  The 
 error message I see is:
 Assertion failed: (AMDeviceStartService(device, 
 CFSTR(com.apple.debugserver), gdbfd, NULL) == 0), function 
 start_remote_debug_server, file ios-deploy.c, line 650.
 Sometimes I just have to disconnect/reconnect the iPhone for this to clear 
 up, other times, it's much more obstinate and I end up having to reset the 
 phone to factory settings, and even reboot the MBP.  Occasionally, even THAT 
 doesn't clear it.  Rebuilding the project also doesn't seem to have an 
 impact.  Running iTunes and connecting the device also doesn't always have an 
 impact.



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


[jira] [Created] (CB-7036) make npm test work again (using grunt instead of jake)

2014-06-26 Thread Josh Soref (JIRA)
Josh Soref created CB-7036:
--

 Summary: make npm test work again (using grunt instead of jake)
 Key: CB-7036
 URL: https://issues.apache.org/jira/browse/CB-7036
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Josh Soref


Apparently there used to be support for `npm test`, it's been broken for a 
while because `cordova-blackberry` switched from `jake` to `grunt`.



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


[jira] [Commented] (CB-7036) make npm test work again (using grunt instead of jake)

2014-06-26 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-7036:


GitHub user jsoref opened a pull request:

https://github.com/apache/cordova-blackberry/pull/165

CB-7036 make npm test work again (using grunt instead of jake)

Apparently there used to be support for `npm test`,
it's been broken for a while because `cordova-blackberry` switched from 
`jake` to `grunt`.

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

$ git pull https://github.com/blackberry/cordova-blackberry grunt-cli

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

https://github.com/apache/cordova-blackberry/pull/165.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 #165


commit f6d11fc1cc7ed398cd1c8bd740f1bfcfb956573a
Author: Josh Soref jso...@blackberry.com
Date:   2014-06-26T19:13:09Z

CB-7036 make npm test work again (using grunt instead of jake)

Apparently there used to be support for `npm test`,
it's been broken for a while because `cordova-blackberry` switched from 
`jake` to `grunt`.




 make npm test work again (using grunt instead of jake)
 --

 Key: CB-7036
 URL: https://issues.apache.org/jira/browse/CB-7036
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Josh Soref

 Apparently there used to be support for `npm test`, it's been broken for a 
 while because `cordova-blackberry` switched from `jake` to `grunt`.



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


[jira] [Commented] (CB-7036) make npm test work again (using grunt instead of jake)

2014-06-26 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-7036:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-blackberry/pull/165


 make npm test work again (using grunt instead of jake)
 --

 Key: CB-7036
 URL: https://issues.apache.org/jira/browse/CB-7036
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Josh Soref

 Apparently there used to be support for `npm test`, it's been broken for a 
 while because `cordova-blackberry` switched from `jake` to `grunt`.



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


[jira] [Commented] (CB-7036) make npm test work again (using grunt instead of jake)

2014-06-26 Thread ASF subversion and git services (JIRA)

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

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

Commit f6d11fc1cc7ed398cd1c8bd740f1bfcfb956573a in cordova-blackberry's branch 
refs/heads/master from [~jsoref]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;h=f6d11fc ]

CB-7036 make npm test work again (using grunt instead of jake)

Apparently there used to be support for `npm test`,
it's been broken for a while because `cordova-blackberry` switched from `jake` 
to `grunt`.


 make npm test work again (using grunt instead of jake)
 --

 Key: CB-7036
 URL: https://issues.apache.org/jira/browse/CB-7036
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Josh Soref

 Apparently there used to be support for `npm test`, it's been broken for a 
 while because `cordova-blackberry` switched from `jake` to `grunt`.



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


[jira] [Resolved] (CB-7016) Zip created by build has unecessary ./ folder on all files

2014-06-26 Thread Rodrigo Silveira (JIRA)

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

Rodrigo Silveira resolved CB-7016.
--

Resolution: Fixed

 Zip created by build has unecessary ./ folder on all files
 

 Key: CB-7016
 URL: https://issues.apache.org/jira/browse/CB-7016
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS
Affects Versions: 3.5.0
 Environment: All
Reporter: Rodrigo Silveira
Assignee: Rodrigo Silveira

 Running unzip -l package.zip will list every file starting with ./. 
 Marketplace may reject zip.
 Removing the second parameter to addLocalFolder  [on 
 build.js#L52|https://github.com/apache/cordova-firefoxos/blob/master/bin/templates/project/cordova/lib/build.js#L52]
  fixes it.



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


[jira] [Resolved] (CB-6832) FirefoxOS - Fix header licenses (Apache RAT report)

2014-06-26 Thread Rodrigo Silveira (JIRA)

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

Rodrigo Silveira resolved CB-6832.
--

Resolution: Fixed

 FirefoxOS - Fix header licenses (Apache RAT report)
 ---

 Key: CB-6832
 URL: https://issues.apache.org/jira/browse/CB-6832
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: FirefoxOS
Reporter: Shazron Abdullah
 Fix For: 3.6.0


 JavaDocs are generated and so license header is optional
 Generated files do not required license headers
 Add a .ratExcludes file for files to exclude
 5 Unknown Licenses
 ***
 Unapproved licenses:
   ./README.md
   ./bin/templates/project/foo
   ./bin/templates/project/cordova/run
   ./bin/templates/project/www/manifest.webapp
   ./bin/templates/project/www/res/screen/tizen/README.md



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


[jira] [Created] (CB-7037) platform check doesn't warn when it can't install a platform

2014-06-26 Thread Josh Soref (JIRA)
Josh Soref created CB-7037:
--

 Summary: platform check doesn't warn when it can't install a 
platform
 Key: CB-7037
 URL: https://issues.apache.org/jira/browse/CB-7037
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI, CordovaLib
Affects Versions: 3.5.0
Reporter: Josh Soref


`cordova platform check` basically tries to create a new project with the same 
platforms as in your current project. It doesn't complain about projects for 
which it can't get a version - the original thinking was:
{quote}
/* If a platform doesn't install, then we can't realistically 
suggest updating */
{quote}
https://github.com/apache/cordova-lib/blob/0abfcded491fc4e15e24992ba101a5863513a1a7/cordova-lib/src/cordova/platform.js#L250-L251

The problem is that if you try to add android, it will often fail because one 
or both of android or ant will be missing from your path. Since check can't 
install android, it can't get its version and thus can't determine it isn't 
current. 

We should add some logic so that it can report that it can't determine instead 
of making the admittedly stronger claim of up-to-date. 

{quote}
https://github.com/apache/cordova-lib/blob/0abfcded491fc4e15e24992ba101a5863513a1a7/cordova-lib/src/cordova/platform.js#L262
{quote}



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


[jira] [Resolved] (CB-6489) Some slashes should be swapped from / to \

2014-06-26 Thread Josh Soref (JIRA)

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

Josh Soref resolved CB-6489.


   Resolution: Duplicate
Fix Version/s: 3.6.0

 Some slashes should be swapped from / to \
 --

 Key: CB-6489
 URL: https://issues.apache.org/jira/browse/CB-6489
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Josh Soref
Priority: Minor
 Fix For: 3.6.0


 There are some helpful notes from cordova-blackberry, but it needs to use 
 path.sep (or path.join which uses path.sep):
 [WARN]Failed to find debug token. If you have an existing debug token, 
 please copy it to C:\Documents and 
 Settings\User/.cordova/blackberry10debugtoken.bar. To generate a new debug 
 token, execute the 'run' command.



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


[jira] [Resolved] (CB-6757) Provide useful hint when simulator does not seem to know its IP

2014-06-26 Thread Josh Soref (JIRA)

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

Josh Soref resolved CB-6757.


   Resolution: Fixed
Fix Version/s: 3.6.0

 Provide useful hint when simulator does not seem to know its IP
 ---

 Key: CB-6757
 URL: https://issues.apache.org/jira/browse/CB-6757
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Affects Versions: 3.4.0
Reporter: Josh Soref
Assignee: Josh Soref
 Fix For: 3.6.0


 Right now, if you use a simulator w/ cordova-blackberry and have web 
 inspector enabled (the default), you get an alert which doesn't help you 
 connect to web inspector because the simulator doesn't reflect in enough 
 information via the interfaces that the web system is expecting in order to 
 know its IP address.
 The browser has a different way to calculate the IP address, but a user can 
 see the VM's IP address at the bottom of the VM window, all that's really 
 essential is the port.
 We know the port, so we can show it.



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


[jira] [Commented] (CB-7037) platform check doesn't warn when it can't install a platform

2014-06-26 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-7037:


GitHub user jsoref opened a pull request:

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

CB-7037 platform check doesn't warn when it can't install a platform

cordova platform check will now report when:
 * it can't create a platform
 * it can't run a new platform version script
 * a new platform version script doesn't report a version

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

$ git pull https://github.com/jsoref/cordova-lib cb_7037

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

https://github.com/apache/cordova-lib/pull/42.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 #42


commit cd2c47e2a4ea936e0507a2214cebae0a75b86d46
Author: Josh Soref jso...@blackberry.com
Date:   2014-06-26T21:38:45Z

CB-7037 platform check doesn't warn when it can't install a platform

cordova platform check will now report when:
 * it can't create a platform
 * it can't run a new platform version script
 * a new platform version script doesn't report a version




 platform check doesn't warn when it can't install a platform
 

 Key: CB-7037
 URL: https://issues.apache.org/jira/browse/CB-7037
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI, CordovaLib
Affects Versions: 3.5.0
Reporter: Josh Soref

 `cordova platform check` basically tries to create a new project with the 
 same platforms as in your current project. It doesn't complain about projects 
 for which it can't get a version - the original thinking was:
 {quote}
 /* If a platform doesn't install, then we can't realistically 
 suggest updating */
 {quote}
 https://github.com/apache/cordova-lib/blob/0abfcded491fc4e15e24992ba101a5863513a1a7/cordova-lib/src/cordova/platform.js#L250-L251
 The problem is that if you try to add android, it will often fail because one 
 or both of android or ant will be missing from your path. Since check 
 can't install android, it can't get its version and thus can't determine it 
 isn't current. 
 We should add some logic so that it can report that it can't determine 
 instead of making the admittedly stronger claim of up-to-date. 
 {quote}
 https://github.com/apache/cordova-lib/blob/0abfcded491fc4e15e24992ba101a5863513a1a7/cordova-lib/src/cordova/platform.js#L262
 {quote}



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


[jira] [Resolved] (CB-6941) gnode: Tell people to run npm install when requirements are missing

2014-06-26 Thread Josh Soref (JIRA)

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

Josh Soref resolved CB-6941.


   Resolution: Fixed
Fix Version/s: 3.6.0

 gnode: Tell people to run npm install when requirements are missing
 ---

 Key: CB-6941
 URL: https://issues.apache.org/jira/browse/CB-6941
 Project: Apache Cordova
  Issue Type: Bug
  Components: Coho
Reporter: Josh Soref
Assignee: Josh Soref
Priority: Minor
 Fix For: 3.6.0


 08a6063 gnode support regressed CB-5343



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


[jira] [Resolved] (CB-6925) simulator detection should fail gracefully when no DHCP leases are present

2014-06-26 Thread Josh Soref (JIRA)

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

Josh Soref resolved CB-6925.


   Resolution: Fixed
Fix Version/s: 3.6.0

 simulator detection should fail gracefully when no DHCP leases are present
 --

 Key: CB-6925
 URL: https://issues.apache.org/jira/browse/CB-6925
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Josh Soref
 Fix For: 3.6.0


 if you try to use emulate and you don't have any leases, you get this error:
 project\platforms\blackberry10\cordova\lib\target-utils.js:213 
 dhcpIPs = dhcpIPs.map(function (result) { 
   ^ 
 TypeError: Cannot call method 'map' of null 
 at project\platforms\blackberry10\cordova\lib\target-utils.js 
 :213:35 
 at fs.js:266:14 
 at Object.oncomplete (fs.js:107:15) 



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


[jira] [Resolved] (CB-6934) cordova run blackberry --target withno_ip_nor_password should complain about ip not password

2014-06-26 Thread Josh Soref (JIRA)

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

Josh Soref resolved CB-6934.


   Resolution: Fixed
Fix Version/s: 3.6.0

 cordova run blackberry --target withno_ip_nor_password should complain about 
 ip not password
 

 Key: CB-6934
 URL: https://issues.apache.org/jira/browse/CB-6934
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Josh Soref
 Fix For: 3.6.0


 $ cordova run --target aa --no-query
 Running command: /tmp/xb/platforms/blackberry10/cordova/run --target aa 
 --no-query
 No device password provided. You can omit --no-query, use --devicepass, or 
 enter a value for 'password' to the target aa defined at 
 ~/.cordova/blackberry10.json
 Here's that section:
 aa: {
 type: device
 },
 The error code wanted to complain about the IP field (it's first, and it's 
 set, but it's stomped on).



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


[jira] [Resolved] (CB-7036) make npm test work again (using grunt instead of jake)

2014-06-26 Thread Josh Soref (JIRA)

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

Josh Soref resolved CB-7036.


   Resolution: Fixed
Fix Version/s: 3.6.0

 make npm test work again (using grunt instead of jake)
 --

 Key: CB-7036
 URL: https://issues.apache.org/jira/browse/CB-7036
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Josh Soref
 Fix For: 3.6.0


 Apparently there used to be support for `npm test`, it's been broken for a 
 while because `cordova-blackberry` switched from `jake` to `grunt`.



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


[jira] [Resolved] (CB-6850) path to blackberry10debugtoken.bar.in warning is unfriendly to Windows users

2014-06-26 Thread Josh Soref (JIRA)

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

Josh Soref resolved CB-6850.


   Resolution: Fixed
Fix Version/s: 3.6.0

 path to blackberry10debugtoken.bar.in warning is unfriendly to Windows users
 

 Key: CB-6850
 URL: https://issues.apache.org/jira/browse/CB-6850
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Josh Soref
Priority: Minor
 Fix For: 3.6.0


 Actual:
 [WARN]Failed to find debug token. If you have an existing debug token, 
 please copy it to C:\Users\ieuser/.cordova/blackberry10debugtoken.bar. To 
 generate a new debug token, execute the 'run' command.
 Expected:
 [WARN]Failed to find debug token. If you have an existing debug token, 
 please copy it to C:\Users\ieuser\.cordova\blackberry10debugtoken.bar. To 
 generate a new debug token, execute the 'run' command.



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


[jira] [Resolved] (CB-6968) fix bashism (source) in update script and bb10-ndk-version

2014-06-26 Thread Josh Soref (JIRA)

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

Josh Soref resolved CB-6968.


   Resolution: Fixed
Fix Version/s: 3.6.0

 fix bashism (source) in update script and bb10-ndk-version
 --

 Key: CB-6968
 URL: https://issues.apache.org/jira/browse/CB-6968
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Reporter: Josh Soref
Assignee: Josh Soref
 Fix For: 3.6.0


 Ubuntu/Debian use dash as sh, not bash, which causes bashisms to be a problem.



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


[jira] [Resolved] (CB-6674) plugin list breaks with missing plugin

2014-06-26 Thread Josh Soref (JIRA)

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

Josh Soref resolved CB-6674.


   Resolution: Fixed
Fix Version/s: 3.6.0

 plugin list breaks with missing plugin
 --

 Key: CB-6674
 URL: https://issues.apache.org/jira/browse/CB-6674
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib
Affects Versions: 3.5.0
Reporter: Josh Soref
Assignee: Josh Soref
 Fix For: 3.6.0


 {quote}
 cd /tmp
 rm -rf /tmp/sample
 cordova create sample
 cd sample
 cordova platform add firefoxos
 rm www/index.html
 cp -r ~/Cordova/cordova-mobile-spec/ www/ 
 cordova plugin add org.cordova.mobile-spec-dependencies --searchpath www 
 mv plugins/org.apache.cordova.test.echo .
 cordova plugin
 {quote}
 yields:
 {quote}
 TypeError: Cannot read property 'version' of undefined
 at cordova-lib/src/cordova/plugin.js:234:42
 {quote}



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


[jira] [Resolved] (CB-6540) Error for creating a project inside its template is confusing

2014-06-26 Thread Josh Soref (JIRA)

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

Josh Soref resolved CB-6540.


   Resolution: Fixed
Fix Version/s: 3.6.0

 Error for creating a project inside its template is confusing
 -

 Key: CB-6540
 URL: https://issues.apache.org/jira/browse/CB-6540
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.4.0
Reporter: Josh Soref
Assignee: Josh Soref
 Fix For: 3.6.0


 If you pass the right magic template to cli.create:
 {quote}
 options = \{ id: id, name: name, lib: \{} };
 options.lib.www = \{id: 'custom', version: '0', uri: path.resolve(template)}}
 cordova.create(dir, null, null, options, function (err) {});
 {quote}
 You end up reaching this code path:
 {quote}
 if ( www_dir.indexOf(path.resolve(config_json.lib.www.uri)) === 0 ) \{
 throw new CordovaError(
 'Project must not be created inside the www assets dir.' +
 '\nproject dir:\t' + dir +
 '\nwww assets dir:\t' + config_json.lib.www.uri
 );
 }
 {quote}
 The output is:
 {quote}
 \{ name: 'CordovaError',
   message: 'Project must not be created inside the www assets dir.\n
 project dir:\t/private/tmp/null/y\nwww assets dir:\t/private/tmp/null' }
 {quote}
 Amongst the many problems:
  1. The \n's and \t's aren't actually being converted into newlines and tabs
  2. The message is absolutely incomprehensible (even if it wasn't garbled up 
 by the encoded whitespace).



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


[jira] [Resolved] (CB-6542) Delay creating project until there's some chance that it will succeed

2014-06-26 Thread Josh Soref (JIRA)

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

Josh Soref resolved CB-6542.


   Resolution: Fixed
Fix Version/s: 3.6.0

 Delay creating project until there's some chance that it will succeed
 -

 Key: CB-6542
 URL: https://issues.apache.org/jira/browse/CB-6542
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.4.0
Reporter: Josh Soref
Assignee: Josh Soref
 Fix For: 3.6.0


 Right now, it's very easy to try to create a project, receive an error, and 
 as a result have a seemingly empty project directory which will refuse to be 
 used if you want to fix the arguments to create.
 This is more or less because we eagerly create the .cordova/config.json file 
 instead of lazily creating it.



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


[jira] [Resolved] (CB-6767) Allow `cordova` to be replaceable

2014-06-26 Thread Josh Soref (JIRA)

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

Josh Soref resolved CB-6767.


   Resolution: Fixed
Fix Version/s: 3.6.0

 Allow `cordova` to be replaceable
 -

 Key: CB-6767
 URL: https://issues.apache.org/jira/browse/CB-6767
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI, CordovaLib
Affects Versions: 3.4.0
Reporter: Josh Soref
Assignee: Josh Soref
 Fix For: 3.6.0


 Anyone who tries to incorporate CordovaLib into their own product will 
 eventually have things like:
 `myapp plugin add`
 which yield errors like:
 please use `cordova plugin add something`
 It'd be nice for the errors to actually be able to say please use `myapp 
 plugin add something` instead.



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


[jira] [Resolved] (CB-6189) Spelling errors

2014-06-26 Thread Josh Soref (JIRA)

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

Josh Soref resolved CB-6189.


   Resolution: Fixed
Fix Version/s: 3.5.0

 Spelling errors
 ---

 Key: CB-6189
 URL: https://issues.apache.org/jira/browse/CB-6189
 Project: Apache Cordova
  Issue Type: Bug
  Components: Coho
Affects Versions: 3.4.0
Reporter: Josh Soref
Assignee: Josh Soref
Priority: Minor
 Fix For: 3.5.0






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


[jira] [Resolved] (CB-5226) Write BlackBerry 10 Configuration

2014-06-26 Thread Josh Soref (JIRA)

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

Josh Soref resolved CB-5226.


   Resolution: Fixed
Fix Version/s: 3.3.0

http://cordova.apache.org/docs/en/3.3.0/guide_platforms_blackberry10_config.md.html#BlackBerry%2010%20Configuration

 Write BlackBerry 10 Configuration
 -

 Key: CB-5226
 URL: https://issues.apache.org/jira/browse/CB-5226
 Project: Apache Cordova
  Issue Type: Bug
  Components: Docs
Affects Versions: 3.1.0
Reporter: Josh Soref
Priority: Minor
 Fix For: 3.3.0


 http://cordova.apache.org/docs/en/3.1.0/guide_platforms_index.md.html#Platform%20Guides
 BlackBerry 10
 BlackBerry 10 Platform Guide
 BlackBerry 10 Configuration - this is not a link/page
 BlackBerry 10 Plugins
 BlackBerry 10 Command-line Tools



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


[jira] [Resolved] (CB-5225) Write Windows Phone Configuration

2014-06-26 Thread Josh Soref (JIRA)

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

Josh Soref resolved CB-5225.


   Resolution: Not a Problem
Fix Version/s: 3.5.0

http://cordova.apache.org/docs/en/3.5.0/guide_platforms_index.md.html#Platform%20Guides
that line was removed, which is good enough

 Write Windows Phone Configuration
 -

 Key: CB-5225
 URL: https://issues.apache.org/jira/browse/CB-5225
 Project: Apache Cordova
  Issue Type: Bug
  Components: Docs
Affects Versions: 3.1.0
Reporter: Josh Soref
Priority: Minor
 Fix For: 3.5.0


 http://cordova.apache.org/docs/en/3.1.0/guide_platforms_index.md.html#Platform%20Guides
 Windows Phone
 Windows Phone 8 Platform Guide
 Windows Phone 7 Platform Guide
 Windows Phone Configuration - this is not a link/page
 Windows Phone Command-line Tools
 Upgrading Windows Phone



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


[jira] [Reopened] (CB-5226) Write BlackBerry 10 Configuration

2014-06-26 Thread Josh Soref (JIRA)

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

Josh Soref reopened CB-5226:



http://cordova.apache.org/docs/en/3.5.0/guide_platforms_index.md.html#Platform%20Guides

shows it's missing again... [~mwbrooks] ??

 Write BlackBerry 10 Configuration
 -

 Key: CB-5226
 URL: https://issues.apache.org/jira/browse/CB-5226
 Project: Apache Cordova
  Issue Type: Bug
  Components: Docs
Affects Versions: 3.1.0
Reporter: Josh Soref
Priority: Minor
 Fix For: 3.3.0


 http://cordova.apache.org/docs/en/3.1.0/guide_platforms_index.md.html#Platform%20Guides
 BlackBerry 10
 BlackBerry 10 Platform Guide
 BlackBerry 10 Configuration - this is not a link/page
 BlackBerry 10 Plugins
 BlackBerry 10 Command-line Tools



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


[jira] [Commented] (CB-6492) AppData hint is wrong for wXP

2014-06-26 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6492:


GitHub user jsoref opened a pull request:

https://github.com/apache/cordova-blackberry/pull/166

CB-6492 AppData hint is wrong for wXP

Check for LOCALAPPDATA environment variable (which is what Windows Vista 
introduced)
Otherwise, use the hard coded value for XP/older

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

$ git pull https://github.com/jsoref/cordova-blackberry cb_6492

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

https://github.com/apache/cordova-blackberry/pull/166.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 #166


commit d8c9241354b0e0d61712681ee7b8860ee26b943d
Author: Josh Soref jso...@blackberry.com
Date:   2014-06-26T22:21:45Z

CB-6492 AppData hint is wrong for wXP

Check for LOCALAPPDATA environment variable (which is what Windows Vista 
introduced)
Otherwise, use the hard coded value for XP/older




 AppData hint is wrong for wXP
 -

 Key: CB-6492
 URL: https://issues.apache.org/jira/browse/CB-6492
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Affects Versions: 3.5.0
 Environment: Windows XP
Reporter: Josh Soref
Assignee: Josh Soref

 [WARN]Cannot sign applications. Author.p12 file cannot be found at 
 default location: C:\Documents and Settings\User\AppData\Local\Research In 
 Motion\author.p12
 The problem is that AppData was introduced later, wXP only has Application 
 Data ...



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


[jira] [Commented] (CB-6118) CLI should support installing a plugin on a per-platform basis

2014-06-26 Thread Craig Payne (JIRA)

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

Craig Payne commented on CB-6118:
-

Looks like someone's beat you to this:

http://handbook.wope-framework.com/phonegap.php

 CLI should support installing a plugin on a per-platform basis
 --

 Key: CB-6118
 URL: https://issues.apache.org/jira/browse/CB-6118
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CLI
Reporter: Andrew Grieve
Assignee: Mark Koudritsky

 There are several reasons why you would want to do this:
 * You want splashscreen on iOS, but not Android
 * You want a Play Services-based geolocation plugin on Android, and regular 
 Geolocation for iOS
 * You want InAppBrowser for iOS, but want to just use intents on Android
 * You many want an older version of File plugin on Android, but the latest on 
 on iOS
 Desired syntax:
 {code}
 cordova plugin add org.apache.cordova.file@0.3.0 --platform=ios
 cordova plugin rm org.apache.cordova.file --platform=ios --platform=android
 {code}
 Change to `cordova plugin ls`:
 {code}
 $ cordova plugin ls
 Plugins installed on Android:
 org.apache.cordova.file@1.0.0
 org.apache.cordova.file-transfer@1.2.3
 Plugins installed on iOS:
 org.apache.cordova.file@0.1.0
 org.apache.cordova.file-transfer@1.1.3
 {code}



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


[jira] [Commented] (CB-5226) Write BlackBerry 10 Configuration

2014-06-26 Thread Michael Brooks (JIRA)

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

Michael Brooks commented on CB-5226:


It's missing because the title is BlackBerry 10 Configuration not BlackBerry 
Configuration.

https://raw.githubusercontent.com/apache/cordova-docs/master/docs/en/3.5.0/guide/platforms/blackberry10/config.md

I can make the corrections in a few moments.

 Write BlackBerry 10 Configuration
 -

 Key: CB-5226
 URL: https://issues.apache.org/jira/browse/CB-5226
 Project: Apache Cordova
  Issue Type: Bug
  Components: Docs
Affects Versions: 3.1.0
Reporter: Josh Soref
Priority: Minor
 Fix For: 3.3.0


 http://cordova.apache.org/docs/en/3.1.0/guide_platforms_index.md.html#Platform%20Guides
 BlackBerry 10
 BlackBerry 10 Platform Guide
 BlackBerry 10 Configuration - this is not a link/page
 BlackBerry 10 Plugins
 BlackBerry 10 Command-line Tools



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


[jira] [Commented] (CB-5226) Write BlackBerry 10 Configuration

2014-06-26 Thread ASF subversion and git services (JIRA)

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

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

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

[CB-5226] Fix BlackBerry 10 Configuration link.


 Write BlackBerry 10 Configuration
 -

 Key: CB-5226
 URL: https://issues.apache.org/jira/browse/CB-5226
 Project: Apache Cordova
  Issue Type: Bug
  Components: Docs
Affects Versions: 3.1.0
Reporter: Josh Soref
Priority: Minor
 Fix For: 3.3.0


 http://cordova.apache.org/docs/en/3.1.0/guide_platforms_index.md.html#Platform%20Guides
 BlackBerry 10
 BlackBerry 10 Platform Guide
 BlackBerry 10 Configuration - this is not a link/page
 BlackBerry 10 Plugins
 BlackBerry 10 Command-line Tools



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


[jira] [Created] (CB-7038) cordova build failed when add plugin

2014-06-26 Thread maxingchi (JIRA)
maxingchi created CB-7038:
-

 Summary: cordova build failed when add plugin
 Key: CB-7038
 URL: https://issues.apache.org/jira/browse/CB-7038
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.5.0
Reporter: maxingchi


clang: error: no such file or directory: 
'/Users/xingchima/workspace/iOS/helloPhoneGap/platforms/ios/helloGap/Plugins/org.apache.cordova.camera/CDVJpegHeaderWriter.m'
clang: error: no input files



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