[jira] [Created] (CB-6017) Windows8: Unable to get file entry using relative path

2014-02-12 Thread Vijay Patil (JIRA)
Vijay Patil created CB-6017:
---

 Summary: Windows8: Unable to get file entry using relative path
 Key: CB-6017
 URL: https://issues.apache.org/jira/browse/CB-6017
 Project: Apache Cordova
  Issue Type: Bug
Affects Versions: 3.1.0
 Environment: Cordova 3.1.0
Windows 8.1
Reporter: Vijay Patil


I am unable to get the file entry using relative path containing directory on 
windows 8.1 device. It works fine on android device.
e.g. -
dirEntry.getFile(directory1\\file1.txt, {create: false}, successCallback, 
errorCallback);



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-3562) Wrong splash screen ratio for landscape-only applications

2014-02-12 Thread Emil Marashliev (JIRA)

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

Emil Marashliev commented on CB-3562:
-

My suggestion is Method Swizzling for  - [CDVViewController shouldAutorotate] 
from the plugin. When is hit - [CDVSplashScreen show:] swizzling 
shouldAutorotate method to return NO; when - [CDVSplashScreen hide:] is hit 
swizzling shouldAutorotate to return YES; .

 Wrong splash screen ratio for landscape-only applications
 -

 Key: CB-3562
 URL: https://issues.apache.org/jira/browse/CB-3562
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugin SplashScreen
Affects Versions: 2.6.0, 2.7.0, 2.9.0
Reporter: Michael Hanselmann
Assignee: Shazron Abdullah
 Fix For: 3.4.0


 CDVSplashScreen.m shows the splash image with a wrong ratio for 
 landscape-only applications on iPhone/iPod touch devices. I fixed it locally 
 by applying a 90° transformation (“CGAffineTransformMakeRotation(M_PI / 2)”) 
 to the image view.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-5611) battery-status

2014-02-12 Thread Richard Sentino (JIRA)

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

Richard Sentino commented on CB-5611:
-

Hello 

Here's the PR for the initial work on battery-status plugin for FirefoxOS. I've 
sent an email to the list, got one reply from James Long of Mozilla. I'd be 
happy if someone can look at the code and provide comments. 

https://github.com/apache/cordova-plugin-battery-status/pull/8

 battery-status
 --

 Key: CB-5611
 URL: https://issues.apache.org/jira/browse/CB-5611
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: FirefoxOS
Reporter: Steve Gill





--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Created] (CB-6018) [BlackBerry10] Docs incorrectly show audio capture support

2014-02-12 Thread Bryan Higgins (JIRA)
Bryan Higgins created CB-6018:
-

 Summary: [BlackBerry10] Docs incorrectly show audio capture support
 Key: CB-6018
 URL: https://issues.apache.org/jira/browse/CB-6018
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry, Docs
Reporter: Bryan Higgins
Assignee: Bryan Higgins


See comment on the bottom of this page:

https://developer.blackberry.com/html5/apis/beta/cordova_media_capture_capture.md.html#capture.captureAudio

When BBOS was removed, the docs were incorrectly updated to state BB10 supports 
captureAudio.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Created] (CB-6019) [BlackBerry10] Default to --device

2014-02-12 Thread Bryan Higgins (JIRA)
Bryan Higgins created CB-6019:
-

 Summary: [BlackBerry10] Default to --device
 Key: CB-6019
 URL: https://issues.apache.org/jira/browse/CB-6019
 Project: Apache Cordova
  Issue Type: Improvement
  Components: BlackBerry
Reporter: Bryan Higgins
Assignee: Bryan Higgins
 Fix For: 3.4.0


CLI no longer passes --device to the run script.

The BlackBerry run script should default to device detection rather than 
looking for a target in config.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-6017) Windows8: Unable to get file entry using relative path

2014-02-12 Thread Ian Clelland (JIRA)

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

Ian Clelland updated CB-6017:
-

Component/s: Windows 8
 Plugin File

 Windows8: Unable to get file entry using relative path
 --

 Key: CB-6017
 URL: https://issues.apache.org/jira/browse/CB-6017
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File, Windows 8
Affects Versions: 3.1.0
 Environment: Cordova 3.1.0
 Windows 8.1
Reporter: Vijay Patil

 I am unable to get the file entry using relative path containing directory on 
 windows 8.1 device. It works fine on android device.
 e.g. -
 {code}
 dirEntry.getFile(directory1\\file1.txt, {create: false}, successCallback, 
 errorCallback);
 {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-6017) Windows8: Unable to get file entry using relative path

2014-02-12 Thread Ian Clelland (JIRA)

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

Ian Clelland updated CB-6017:
-

Description: 
I am unable to get the file entry using relative path containing directory on 
windows 8.1 device. It works fine on android device.
e.g. -
{code}
dirEntry.getFile(directory1\\file1.txt, {create: false}, successCallback, 
errorCallback);
{code}

  was:
I am unable to get the file entry using relative path containing directory on 
windows 8.1 device. It works fine on android device.
e.g. -
dirEntry.getFile(directory1\\file1.txt, {create: false}, successCallback, 
errorCallback);


 Windows8: Unable to get file entry using relative path
 --

 Key: CB-6017
 URL: https://issues.apache.org/jira/browse/CB-6017
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File, Windows 8
Affects Versions: 3.1.0
 Environment: Cordova 3.1.0
 Windows 8.1
Reporter: Vijay Patil

 I am unable to get the file entry using relative path containing directory on 
 windows 8.1 device. It works fine on android device.
 e.g. -
 {code}
 dirEntry.getFile(directory1\\file1.txt, {create: false}, successCallback, 
 errorCallback);
 {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-6008) Cannot install inAppBrowser with CLI tool.

2014-02-12 Thread Manos Koufakis (JIRA)

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

Manos Koufakis commented on CB-6008:


Hello,
can you please take a look at this issue? I can install all plugins through CLI 
except for inAppBrowser.
Is something wrong with the repository address?

 Cannot install inAppBrowser with CLI tool.
 --

 Key: CB-6008
 URL: https://issues.apache.org/jira/browse/CB-6008
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.3.0
 Environment: Windows 7 / Android Platform
Reporter: Manos Koufakis
  Labels: build

 As of yesterday, everytime I use the CLI tool to add the inAppBrowser plugin, 
 I get the following error:
 C:\ cd findmovieapp
 C:\findmovieapp cordova plugin add 
 https://git-wip-us.apache.org/repos/asf/cord
 ova-plugin-inappbrowser.git
 Fetching plugin from 
 https://git-wip-us.apache.org/repos/asf/cordova-plugin-ina
 ppbrowser.git...
 Starting installation of org.apache.cordova.inappbrowser for android
 C:\Users\vs0513\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:126
 throw e;
   ^
 TypeError: Cannot read property 'install' of undefined
 at 
 C:\Users\vs0513\AppData\Roaming\npm\node_modules\cordova\node_modules\plu
 gman\src\install.js:361:71
 at Array.forEach (native)
 at handleInstall 
 (C:\Users\vs0513\AppData\Roaming\npm\node_modules\cordova\n
 ode_modules\plugman\src\install.js:360:40)
 at 
 C:\Users\vs0513\AppData\Roaming\npm\node_modules\cordova\node_modules\plu
 gman\src\install.js:331:20
 at _fulfilled 
 (C:\Users\vs0513\AppData\Roaming\npm\node_modules\cordova\node
 _modules\q\q.js:798:54)
 at self.promiseDispatch.done 
 (C:\Users\vs0513\AppData\Roaming\npm\node_modul
 es\cordova\node_modules\q\q.js:827:30)
 at Promise.promise.promiseDispatch 
 (C:\Users\vs0513\AppData\Roaming\npm\node
 _modules\cordova\node_modules\q\q.js:760:13)
 at 
 C:\Users\vs0513\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q
 .js:574:44
 at flush 
 (C:\Users\vs0513\AppData\Roaming\npm\node_modules\cordova\node_modu
 les\q\q.js:108:17)
 at process._tickCallback (node.js:415:13)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-6008) Cannot install inAppBrowser with CLI tool.

2014-02-12 Thread David Kemp (JIRA)

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

David Kemp commented on CB-6008:


You likely need to update your cordova install. 
Assuming you installed it globally ( npm install -g cordova) , you need to do 
npm update -g cordova


 Cannot install inAppBrowser with CLI tool.
 --

 Key: CB-6008
 URL: https://issues.apache.org/jira/browse/CB-6008
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.3.0
 Environment: Windows 7 / Android Platform
Reporter: Manos Koufakis
  Labels: build

 As of yesterday, everytime I use the CLI tool to add the inAppBrowser plugin, 
 I get the following error:
 C:\ cd findmovieapp
 C:\findmovieapp cordova plugin add 
 https://git-wip-us.apache.org/repos/asf/cord
 ova-plugin-inappbrowser.git
 Fetching plugin from 
 https://git-wip-us.apache.org/repos/asf/cordova-plugin-ina
 ppbrowser.git...
 Starting installation of org.apache.cordova.inappbrowser for android
 C:\Users\vs0513\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:126
 throw e;
   ^
 TypeError: Cannot read property 'install' of undefined
 at 
 C:\Users\vs0513\AppData\Roaming\npm\node_modules\cordova\node_modules\plu
 gman\src\install.js:361:71
 at Array.forEach (native)
 at handleInstall 
 (C:\Users\vs0513\AppData\Roaming\npm\node_modules\cordova\n
 ode_modules\plugman\src\install.js:360:40)
 at 
 C:\Users\vs0513\AppData\Roaming\npm\node_modules\cordova\node_modules\plu
 gman\src\install.js:331:20
 at _fulfilled 
 (C:\Users\vs0513\AppData\Roaming\npm\node_modules\cordova\node
 _modules\q\q.js:798:54)
 at self.promiseDispatch.done 
 (C:\Users\vs0513\AppData\Roaming\npm\node_modul
 es\cordova\node_modules\q\q.js:827:30)
 at Promise.promise.promiseDispatch 
 (C:\Users\vs0513\AppData\Roaming\npm\node
 _modules\cordova\node_modules\q\q.js:760:13)
 at 
 C:\Users\vs0513\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q
 .js:574:44
 at flush 
 (C:\Users\vs0513\AppData\Roaming\npm\node_modules\cordova\node_modu
 les\q\q.js:108:17)
 at process._tickCallback (node.js:415:13)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-6019) [BlackBerry10] Default to --device

2014-02-12 Thread ASF subversion and git services (JIRA)

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

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

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

[CB-6019] Supply default value of --device to the run script


 [BlackBerry10] Default to --device
 --

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


 CLI no longer passes --device to the run script.
 The BlackBerry run script should default to device detection rather than 
 looking for a target in config.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-6019) [BlackBerry10] Default to --device

2014-02-12 Thread ASF subversion and git services (JIRA)

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

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

Commit 195ea8d4602fffc6b7866a5848ff48c3d618d309 in branch refs/heads/3.4.x from 
[~bhigg...@blackberry.com]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;h=195ea8d ]

CB-6019 Supply default value of --device to the run script


 [BlackBerry10] Default to --device
 --

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


 CLI no longer passes --device to the run script.
 The BlackBerry run script should default to device detection rather than 
 looking for a target in config.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Resolved] (CB-6019) [BlackBerry10] Default to --device

2014-02-12 Thread Bryan Higgins (JIRA)

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

Bryan Higgins resolved CB-6019.
---

Resolution: Fixed

 [BlackBerry10] Default to --device
 --

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


 CLI no longer passes --device to the run script.
 The BlackBerry run script should default to device detection rather than 
 looking for a target in config.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Created] (CB-6020) Media object callbacks not firing

2014-02-12 Thread Martin Mikeln (JIRA)
Martin Mikeln created CB-6020:
-

 Summary: Media object callbacks not firing
 Key: CB-6020
 URL: https://issues.apache.org/jira/browse/CB-6020
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, Plugin Media
Affects Versions: 3.1.0, 2.9.0
 Environment: Sony Ericsson Xperia Arc (LT15i), Android 4.0.4
Reporter: Martin Mikeln


When using example code from docs for media playback, _success_, _error_ and 
_status_ callbacks are not fired. When media file stop playing, JS console on 
remote debugging shows: Received Media.onStatus callback for unknown media :: 
b7815dd0-b2e7-2a46-c04a-b9bb919a4141 . The media file itself plays 
successfully and all other tested cordova functionalities are working, the 
problem is solely in callbacks.

Code works on Sony Xperia J (ST26i) with Android 4.1.2 but not on Sony Ericsson 
Xperia Arc (LT15i) with Android 4.0.4. Tested with Cordova version 3.1.0 and 
2.9.0, with two different media formats(.mp3 and .amr).



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-6020) Media object callbacks not firing

2014-02-12 Thread Martin Mikeln (JIRA)

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

Martin Mikeln updated CB-6020:
--

Attachment: media_callback_bug.zip

Testing files for bug reproduction

 Media object callbacks not firing
 -

 Key: CB-6020
 URL: https://issues.apache.org/jira/browse/CB-6020
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, Plugin Media
Affects Versions: 2.9.0, 3.1.0
 Environment: Sony Ericsson Xperia Arc (LT15i), Android 4.0.4
Reporter: Martin Mikeln
 Attachments: media_callback_bug.zip


 When using example code from docs for media playback, _success_, _error_ and 
 _status_ callbacks are not fired. When media file stop playing, JS console on 
 remote debugging shows: Received Media.onStatus callback for unknown media 
 :: b7815dd0-b2e7-2a46-c04a-b9bb919a4141 . The media file itself plays 
 successfully and all other tested cordova functionalities are working, the 
 problem is solely in callbacks.
 Code works on Sony Xperia J (ST26i) with Android 4.1.2 but not on Sony 
 Ericsson Xperia Arc (LT15i) with Android 4.0.4. Tested with Cordova version 
 3.1.0 and 2.9.0, with two different media formats(.mp3 and .amr).



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-6020) Media object callbacks not firing

2014-02-12 Thread Martin Mikeln (JIRA)

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

Martin Mikeln updated CB-6020:
--

Description: 
When using example code from docs for media playback, _success_, _error_ and 
_status_ callbacks are not fired. When media file stop playing, JS console on 
remote debugging shows: Received Media.onStatus callback for unknown media :: 
b7815dd0-b2e7-2a46-c04a-b9bb919a4141 . The media file itself plays 
successfully and all other tested cordova functionalities are working, the 
problem is solely in callbacks.

Code works on Sony Xperia J (ST26i) with Android 4.1.2 but not on Sony Ericsson 
Xperia Arc (LT15i) with Android 4.0.4. Tested with Cordova version 3.1.0 and 
2.9.0, with two different media formats(.mp3 and .amr). Build with PhoneGap 
build service.

  was:
When using example code from docs for media playback, _success_, _error_ and 
_status_ callbacks are not fired. When media file stop playing, JS console on 
remote debugging shows: Received Media.onStatus callback for unknown media :: 
b7815dd0-b2e7-2a46-c04a-b9bb919a4141 . The media file itself plays 
successfully and all other tested cordova functionalities are working, the 
problem is solely in callbacks.

Code works on Sony Xperia J (ST26i) with Android 4.1.2 but not on Sony Ericsson 
Xperia Arc (LT15i) with Android 4.0.4. Tested with Cordova version 3.1.0 and 
2.9.0, with two different media formats(.mp3 and .amr).


 Media object callbacks not firing
 -

 Key: CB-6020
 URL: https://issues.apache.org/jira/browse/CB-6020
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, Plugin Media
Affects Versions: 2.9.0, 3.1.0
 Environment: Sony Ericsson Xperia Arc (LT15i), Android 4.0.4
Reporter: Martin Mikeln
 Attachments: media_callback_bug.zip


 When using example code from docs for media playback, _success_, _error_ and 
 _status_ callbacks are not fired. When media file stop playing, JS console on 
 remote debugging shows: Received Media.onStatus callback for unknown media 
 :: b7815dd0-b2e7-2a46-c04a-b9bb919a4141 . The media file itself plays 
 successfully and all other tested cordova functionalities are working, the 
 problem is solely in callbacks.
 Code works on Sony Xperia J (ST26i) with Android 4.1.2 but not on Sony 
 Ericsson Xperia Arc (LT15i) with Android 4.0.4. Tested with Cordova version 
 3.1.0 and 2.9.0, with two different media formats(.mp3 and .amr). Build with 
 PhoneGap build service.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Created] (CB-6021) [BlackBerry10] Add --release to run command

2014-02-12 Thread Bryan Higgins (JIRA)
Bryan Higgins created CB-6021:
-

 Summary: [BlackBerry10] Add --release to run command
 Key: CB-6021
 URL: https://issues.apache.org/jira/browse/CB-6021
 Project: Apache Cordova
  Issue Type: Improvement
  Components: BlackBerry
Reporter: Bryan Higgins
Assignee: Bryan Higgins
Priority: Minor
 Fix For: 3.5.0


Add --release flag to support change in CLI



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-5202) Android Video Capture crashes app on 4.3

2014-02-12 Thread Mike Billau (JIRA)

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

Mike Billau commented on CB-5202:
-

New PR: https://github.com/apache/cordova-plugin-media-capture/pull/13
[~emmam] I don't have a i9250, would be interested to know if the above pull 
request fixes your issue as well. 

 Android Video Capture crashes app on 4.3
 

 Key: CB-5202
 URL: https://issues.apache.org/jira/browse/CB-5202
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, Plugin Media Capture
Affects Versions: 3.0.0
 Environment: Android 4.3
Reporter: Tom Saunders
Assignee: Andrew Grieve

 Using the cordova video capture plugin crashes the application when returning 
 from the capture video intent. No data is returned. 
 This is a known issue with Android 4.3, the workaround is to explicitly 
 specify a location for saving the video
 Relevant stackoverflows:
 http://stackoverflow.com/questions/18472953/video-capture-in-android-4-3-using-camera-app-intent
 http://stackoverflow.com/questions/18120775/android-android-provider-mediastore-action-video-capture-return-null-onactivityr



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Resolved] (CB-6015) FileTransfer error: Read-Only filesystem

2014-02-12 Thread Darryl Pogue (JIRA)

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

Darryl Pogue resolved CB-6015.
--

   Resolution: Not A Problem
Fix Version/s: 3.3.0

 FileTransfer error: Read-Only filesystem
 

 Key: CB-6015
 URL: https://issues.apache.org/jira/browse/CB-6015
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, Plugin File, Plugin File Transfer
Affects Versions: 3.3.0
Reporter: Darryl Pogue
Assignee: Ian Clelland
 Fix For: 3.3.0


 Using the FileTransfer plugin to write to a FileEntry returned from the File 
 plugin results in an error.
 {code}
 D/FileTransfer(12423): download http://example.com/image.jpeg to //avatar.jpeg
 E/FileTransfer(12423): 
 {target:\/\/avatar.jpeg,source:http:\/\/example.com\/image.jpeg,http_status:0,code:1}
 E/FileTransfer(12423): java.io.FileNotFoundException: /avatar.jpeg: open 
 failed: EROFS (Read-only file system)
 E/FileTransfer(12423):at libcore.io.IoBridge.open(IoBridge.java:409)
 E/FileTransfer(12423):at 
 java.io.FileOutputStream.init(FileOutputStream.java:88)
 E/FileTransfer(12423):at 
 org.apache.cordova.CordovaResourceApi.openOutputStream(CordovaResourceApi.java:293)
 E/FileTransfer(12423):at 
 org.apache.cordova.CordovaResourceApi.openOutputStream(CordovaResourceApi.java:274)
 E/FileTransfer(12423):at 
 org.apache.cordova.filetransfer.FileTransfer$4.run(FileTransfer.java:708)
 E/FileTransfer(12423):at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
 E/FileTransfer(12423):at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
 E/FileTransfer(12423):at java.lang.Thread.run(Thread.java:841)
 E/FileTransfer(12423): Caused by: libcore.io.ErrnoException: open failed: 
 EROFS (Read-only file system)
 E/FileTransfer(12423):at libcore.io.Posix.open(Native Method)
 E/FileTransfer(12423):at 
 libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
 E/FileTransfer(12423):at libcore.io.IoBridge.open(IoBridge.java:393)
 E/FileTransfer(12423):... 7 more
 {code}
 This worked correctly before upgrading the file plugin.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-6015) FileTransfer error: Read-Only filesystem

2014-02-12 Thread Darryl Pogue (JIRA)

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

Darryl Pogue commented on CB-6015:
--

Yep, {{fullPath}} vs {{toURL()}} was the issue. Thanks!

 FileTransfer error: Read-Only filesystem
 

 Key: CB-6015
 URL: https://issues.apache.org/jira/browse/CB-6015
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, Plugin File, Plugin File Transfer
Affects Versions: 3.3.0
Reporter: Darryl Pogue
Assignee: Ian Clelland

 Using the FileTransfer plugin to write to a FileEntry returned from the File 
 plugin results in an error.
 {code}
 D/FileTransfer(12423): download http://example.com/image.jpeg to //avatar.jpeg
 E/FileTransfer(12423): 
 {target:\/\/avatar.jpeg,source:http:\/\/example.com\/image.jpeg,http_status:0,code:1}
 E/FileTransfer(12423): java.io.FileNotFoundException: /avatar.jpeg: open 
 failed: EROFS (Read-only file system)
 E/FileTransfer(12423):at libcore.io.IoBridge.open(IoBridge.java:409)
 E/FileTransfer(12423):at 
 java.io.FileOutputStream.init(FileOutputStream.java:88)
 E/FileTransfer(12423):at 
 org.apache.cordova.CordovaResourceApi.openOutputStream(CordovaResourceApi.java:293)
 E/FileTransfer(12423):at 
 org.apache.cordova.CordovaResourceApi.openOutputStream(CordovaResourceApi.java:274)
 E/FileTransfer(12423):at 
 org.apache.cordova.filetransfer.FileTransfer$4.run(FileTransfer.java:708)
 E/FileTransfer(12423):at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
 E/FileTransfer(12423):at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
 E/FileTransfer(12423):at java.lang.Thread.run(Thread.java:841)
 E/FileTransfer(12423): Caused by: libcore.io.ErrnoException: open failed: 
 EROFS (Read-only file system)
 E/FileTransfer(12423):at libcore.io.Posix.open(Native Method)
 E/FileTransfer(12423):at 
 libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
 E/FileTransfer(12423):at libcore.io.IoBridge.open(IoBridge.java:393)
 E/FileTransfer(12423):... 7 more
 {code}
 This worked correctly before upgrading the file plugin.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-6008) Cannot install inAppBrowser with CLI tool.

2014-02-12 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-6008:
--

See also: https://groups.google.com/d/msg/phonegap/9hZ3b9k6RWk/4qZFB9s_zYoJ

 Cannot install inAppBrowser with CLI tool.
 --

 Key: CB-6008
 URL: https://issues.apache.org/jira/browse/CB-6008
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.3.0
 Environment: Windows 7 / Android Platform
Reporter: Manos Koufakis
  Labels: build

 As of yesterday, everytime I use the CLI tool to add the inAppBrowser plugin, 
 I get the following error:
 C:\ cd findmovieapp
 C:\findmovieapp cordova plugin add 
 https://git-wip-us.apache.org/repos/asf/cord
 ova-plugin-inappbrowser.git
 Fetching plugin from 
 https://git-wip-us.apache.org/repos/asf/cordova-plugin-ina
 ppbrowser.git...
 Starting installation of org.apache.cordova.inappbrowser for android
 C:\Users\vs0513\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:126
 throw e;
   ^
 TypeError: Cannot read property 'install' of undefined
 at 
 C:\Users\vs0513\AppData\Roaming\npm\node_modules\cordova\node_modules\plu
 gman\src\install.js:361:71
 at Array.forEach (native)
 at handleInstall 
 (C:\Users\vs0513\AppData\Roaming\npm\node_modules\cordova\n
 ode_modules\plugman\src\install.js:360:40)
 at 
 C:\Users\vs0513\AppData\Roaming\npm\node_modules\cordova\node_modules\plu
 gman\src\install.js:331:20
 at _fulfilled 
 (C:\Users\vs0513\AppData\Roaming\npm\node_modules\cordova\node
 _modules\q\q.js:798:54)
 at self.promiseDispatch.done 
 (C:\Users\vs0513\AppData\Roaming\npm\node_modul
 es\cordova\node_modules\q\q.js:827:30)
 at Promise.promise.promiseDispatch 
 (C:\Users\vs0513\AppData\Roaming\npm\node
 _modules\cordova\node_modules\q\q.js:760:13)
 at 
 C:\Users\vs0513\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q
 .js:574:44
 at flush 
 (C:\Users\vs0513\AppData\Roaming\npm\node_modules\cordova\node_modu
 les\q\q.js:108:17)
 at process._tickCallback (node.js:415:13)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Created] (CB-6022) Need to update docs re: fullPath change

2014-02-12 Thread Ian Clelland (JIRA)
Ian Clelland created CB-6022:


 Summary: Need to update docs re: fullPath change
 Key: CB-6022
 URL: https://issues.apache.org/jira/browse/CB-6022
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File, Plugin File Transfer
Reporter: Ian Clelland
Assignee: Ian Clelland


For backwards compatibility, FileTransfer can take device-absolute file paths 
as well as file URLs.

Previously, there were two methods that would get you a file path from a 
FileEntry: Entry.toURL() and Entry.fullPath would both expose the absolute 
path. With the new version (1.0.0) of File, fullPath now properly represents 
the path relative to the filesystem root, rather than the device root.

We should update the docs to say that if you were previously using 
{{entry.fullPath}} to obtain filesystem paths, you should switch to 
{{entry.toURL()}} and use URLs instead.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Created] (CB-6023) Checking the version for Plugman as an engine requirement returns the wrong version

2014-02-12 Thread Tim Kim (JIRA)
Tim Kim created CB-6023:
---

 Summary: Checking the version for Plugman as an engine requirement 
returns the wrong version
 Key: CB-6023
 URL: https://issues.apache.org/jira/browse/CB-6023
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Affects Versions: 3.3.0
Reporter: Tim Kim
Priority: Minor


In this file: 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;a=blob;f=src/util/default-engines.js;h=2ca8b137a9c7a2bcd2099a6a599bf763ed238430;hb=ce8c421481ff04e87eaf81442e9504b6358c13c3

Plugman's version is returned as Node's version. Should return plugman's actual 
version instead. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


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

2014-02-12 Thread Jonathan Bond (JIRA)
Jonathan Bond created CB-6024:
-

 Summary: nopt refactoring
 Key: CB-6024
 URL: https://issues.apache.org/jira/browse/CB-6024
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CLI, Plugman
Affects Versions: 3.3.0
 Environment: Windows, Mac OSX
Reporter: Jonathan Bond
 Fix For: 3.5.0


As per mailing list:

- Refactoring cli to use nopt. 
- Several improvements to the install/uninstall tests to touch the file system.
- Consistency improvements in the code




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-6023) Checking the version for Plugman as an engine requirement returns the wrong version

2014-02-12 Thread Jonathan Bond (JIRA)

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

Jonathan Bond commented on CB-6023:
---

Patch part of tests refactoring

 Checking the version for Plugman as an engine requirement returns the wrong 
 version
 ---

 Key: CB-6023
 URL: https://issues.apache.org/jira/browse/CB-6023
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Affects Versions: 3.3.0
Reporter: Tim Kim
Priority: Minor

 In this file: 
 https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;a=blob;f=src/util/default-engines.js;h=2ca8b137a9c7a2bcd2099a6a599bf763ed238430;hb=ce8c421481ff04e87eaf81442e9504b6358c13c3
 Plugman's version is returned as Node's version. Should return plugman's 
 actual version instead. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-5723) [BlackBerry10] Build script should accept -l param as it does --loglevel

2014-02-12 Thread ASF subversion and git services (JIRA)

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

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

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

CB-5723 Build script should accept -l param as it does --loglevel


 [BlackBerry10] Build script should accept -l param as it does --loglevel
 

 Key: CB-5723
 URL: https://issues.apache.org/jira/browse/CB-5723
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Reporter: Bryan Higgins
Assignee: Bryan Higgins
Priority: Trivial
 Fix For: 3.4.0


 Switch to -l



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-6021) [BlackBerry10] Add --release to run command

2014-02-12 Thread ASF subversion and git services (JIRA)

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

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

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

CB-6021 Add --release to run command


 [BlackBerry10] Add --release to run command
 ---

 Key: CB-6021
 URL: https://issues.apache.org/jira/browse/CB-6021
 Project: Apache Cordova
  Issue Type: Improvement
  Components: BlackBerry
Reporter: Bryan Higgins
Assignee: Bryan Higgins
Priority: Minor
 Fix For: 3.5.0


 Add --release flag to support change in CLI



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Resolved] (CB-6021) [BlackBerry10] Add --release to run command

2014-02-12 Thread Bryan Higgins (JIRA)

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

Bryan Higgins resolved CB-6021.
---

Resolution: Fixed

 [BlackBerry10] Add --release to run command
 ---

 Key: CB-6021
 URL: https://issues.apache.org/jira/browse/CB-6021
 Project: Apache Cordova
  Issue Type: Improvement
  Components: BlackBerry
Reporter: Bryan Higgins
Assignee: Bryan Higgins
Priority: Minor
 Fix For: 3.5.0


 Add --release flag to support change in CLI



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Created] (CB-6025) Plugins that bundle pre-compiled libs (.a files) that are not within frameworks trigger compiler warnings

2014-02-12 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-6025:
-

 Summary: Plugins that bundle pre-compiled libs (.a files) that are 
not within frameworks trigger compiler warnings
 Key: CB-6025
 URL: https://issues.apache.org/jira/browse/CB-6025
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugman
Reporter: Andrew Grieve
Assignee: Andrew Grieve
Priority: Minor


Reported via pull request: https://github.com/apache/cordova-plugman/pull/11

adding static libs to source files will add these to the build section. which 
is unnecessary and results in a warning in xcode:

{quote}
warning: no rule to process file 'path/to/lib.a' of type archive.ar for 
architecture __arch
{quote}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Resolved] (CB-6025) Plugins that bundle pre-compiled libs (.a files) that are not within frameworks trigger compiler warnings

2014-02-12 Thread Andrew Grieve (JIRA)

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

Andrew Grieve resolved CB-6025.
---

Resolution: Fixed

Fixed in 0.19.1-dev

 Plugins that bundle pre-compiled libs (.a files) that are not within 
 frameworks trigger compiler warnings
 -

 Key: CB-6025
 URL: https://issues.apache.org/jira/browse/CB-6025
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugman
Reporter: Andrew Grieve
Assignee: Andrew Grieve
Priority: Minor

 Reported via pull request: https://github.com/apache/cordova-plugman/pull/11
 adding static libs to source files will add these to the build section. which 
 is unnecessary and results in a warning in xcode:
 {quote}
 warning: no rule to process file 'path/to/lib.a' of type archive.ar for 
 architecture __arch
 {quote}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-6025) Plugins that bundle pre-compiled libs (.a files) that are not within frameworks trigger compiler warnings

2014-02-12 Thread ASF subversion and git services (JIRA)

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

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

Commit a042b4119637bd61ebd450cbd345c38d45d142ea in branch refs/heads/master 
from Thibaud Cummings
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=a042b41 ]

CB-6025 ios: Do not add static libraries (.a) to source files


 Plugins that bundle pre-compiled libs (.a files) that are not within 
 frameworks trigger compiler warnings
 -

 Key: CB-6025
 URL: https://issues.apache.org/jira/browse/CB-6025
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugman
Reporter: Andrew Grieve
Assignee: Andrew Grieve
Priority: Minor

 Reported via pull request: https://github.com/apache/cordova-plugman/pull/11
 adding static libs to source files will add these to the build section. which 
 is unnecessary and results in a warning in xcode:
 {quote}
 warning: no rule to process file 'path/to/lib.a' of type archive.ar for 
 architecture __arch
 {quote}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-3562) Wrong splash screen ratio for landscape-only applications

2014-02-12 Thread Michael Hanselmann (JIRA)

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

Michael Hanselmann commented on CB-3562:


bq. The bug is not actually fixed …

Please provide instructions to reproduce because, as far I can tell, the issue 
_is_ fixed.

 Wrong splash screen ratio for landscape-only applications
 -

 Key: CB-3562
 URL: https://issues.apache.org/jira/browse/CB-3562
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugin SplashScreen
Affects Versions: 2.6.0, 2.7.0, 2.9.0
Reporter: Michael Hanselmann
Assignee: Shazron Abdullah
 Fix For: 3.4.0


 CDVSplashScreen.m shows the splash image with a wrong ratio for 
 landscape-only applications on iPhone/iPod touch devices. I fixed it locally 
 by applying a 90° transformation (“CGAffineTransformMakeRotation(M_PI / 2)”) 
 to the image view.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-5647) cordova_plugins.js folder not populated with clobbers for Android

2014-02-12 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen updated CB-5647:


Assignee: Lorin Beer

 cordova_plugins.js folder not populated with clobbers for Android 
 --

 Key: CB-5647
 URL: https://issues.apache.org/jira/browse/CB-5647
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CLI
Affects Versions: 3.3.0
Reporter: Greg
Assignee: Lorin Beer

 If you try to run any plugin command using PhoneGap CLI, such as:
 phonegap local plugin add org.apache.cordova.splashscreen
 The cordova_plugins.js does not get updated and the JS file doesn't get added 
 to the www/ section. Native hooks are added, but not the JS side.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-6003) Cant play files from the assets folder Android

2014-02-12 Thread cesine (JIRA)

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

cesine commented on CB-6003:


Here is my workaround, until I have time to figure out what might have been 
responsible for adding android_asset/www to the files in the first place, and 
what might be stripping it. 

https://github.com/cesine/montage-chrome-app/commit/dcc71c83a3523d1dc33d297240d5c75fc80f2d2d

org/apache/cordova/media/AudioPlayer.java 
{code}
private void loadAudioFile(String file)
...
try {
this.player.prepare();
} catch (Exception e) {
Log.v(DebuggingAudio,
Exception while preparing the audio file  + file);
e.printStackTrace();

/* try it in the assets folder */
file = www/ + file;
try {
android.content.res.AssetFileDescriptor fd = 
this.handler.cordova
.getActivity().getAssets().openFd(file);
this.player.setDataSource(fd.getFileDescriptor(),
fd.getStartOffset(), fd.getLength());
this.setState(STATE.MEDIA_STARTING);
this.player.setOnPreparedListener(this);
this.player.prepare();
} catch (Exception ex) {
Log.v(DebuggingAudio,
Exception while preparing the audio file and assuming 
its in the assets folder 
+ file);
ex.printStackTrace();
}
}
{code}

 Cant play files from the assets folder Android
 --

 Key: CB-6003
 URL: https://issues.apache.org/jira/browse/CB-6003
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Media
 Environment: Android
Reporter: cesine
  Labels: audio

 I've been trying to pin this down. 
 I think this commit brings me to conclude something is odd with playing audio 
 from assets on android. 
 https://github.com/cesine/TestingCordovaAudio/commit/9556fd523f68c6ec2f4659b9476f3e39a3199c33
  The same audio file plays fine
 * if its played from a http:// url
 * if its played in Native Android
 Tested with Android 4.3, I would be ecstatic if it was just my tablet but I 
 dont have any others to test with right now... 
 {code}
 $ cordova --version
 3.3.1-0.1.2
 {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Resolved] (CB-5873) [Release + 3.4.0] Test Tag 3.4.0 for Ubuntu

2014-02-12 Thread Steve Gill (JIRA)

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

Steve Gill resolved CB-5873.


Resolution: Fixed

 [Release + 3.4.0] Test  Tag 3.4.0 for Ubuntu
 -

 Key: CB-5873
 URL: https://issues.apache.org/jira/browse/CB-5873
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Ubuntu
Reporter: Steve Gill
Assignee: Steve Gill
 Fix For: 3.4.0


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



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Resolved] (CB-5874) [Release + 3.4.0] Test Tag 3.4.0 for Amazon Fire OS

2014-02-12 Thread Steve Gill (JIRA)

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

Steve Gill resolved CB-5874.


Resolution: Fixed

 [Release + 3.4.0] Test  Tag 3.4.0 for Amazon Fire OS
 -

 Key: CB-5874
 URL: https://issues.apache.org/jira/browse/CB-5874
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Amazon FireOS
Reporter: Steve Gill
Assignee: Steve Gill
 Fix For: 3.4.0


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



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Resolved] (CB-5872) [Release + 3.4.0] Test Tag 3.4.0 for Firefox OS

2014-02-12 Thread Steve Gill (JIRA)

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

Steve Gill resolved CB-5872.


Resolution: Fixed

 [Release + 3.4.0] Test  Tag 3.4.0 for Firefox OS
 -

 Key: CB-5872
 URL: https://issues.apache.org/jira/browse/CB-5872
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: FirefoxOS
Reporter: Steve Gill
Assignee: Steve Gill
 Fix For: 3.4.0


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



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


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

2014-02-12 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-6026:
-

 Summary: Orientation preference is ignored on iOS
 Key: CB-6026
 URL: https://issues.apache.org/jira/browse/CB-6026
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI, iOS
Reporter: Andrew Grieve
Priority: Minor


[Docs|http://cordova.apache.org/docs/en/edge/config_ref_index.md.html] say that 
this should work:
{quote}
 preference name=Orientation value=landscape /
{quote}
But it doesn't.




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Created] (CB-6027) cordova platform add android get an error in JAVA_HOME

2014-02-12 Thread Francis Cebu (JIRA)
Francis Cebu created CB-6027:


 Summary: cordova platform add android get an error in JAVA_HOME
 Key: CB-6027
 URL: https://issues.apache.org/jira/browse/CB-6027
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CLI
Affects Versions: 3.3.0
 Environment: Windows 8
Reporter: Francis Cebu
Priority: Trivial


I just install my cordova 3.3 in my windows 8, when i use the command cordova 
platform add android i receive this error message 

Error: failed to run 'java -version', make sure your java environment is set up 
including jdk and jre

your JAVA_HOME variable is c:\program files(x86)\java\jdk1.7.0_25\bin
Error: Command failed: 'java' is not recognized as an internal or external 
command,

operable program or batch file.

here's my system variable for JAVA_HOME
C:\Program Files (x86)\Java\jdk1.7.0_25\bin

and for the path, i added this one
C:\Program Files (x86)\Java\jdk1.7.0_25;C:\Program Files (x86)\Java\jre7

anyone can help me with this issue?



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-6027) cordova platform add android get an error in JAVA_HOME

2014-02-12 Thread Francis Cebu (JIRA)

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

Francis Cebu updated CB-6027:
-

Description: 
I just install my cordova 3.3 in my windows 8, when i use the command cordova 
platform add android i receive this error message 

Error: failed to run 'java -version', make sure your java environment is set up 
including jdk and jre

your JAVA_HOME variable is c:\program files(x86)\java\jdk1.7.0_25\bin
Error: Command failed: 'java' is not recognized as an internal or external 
command,

operable program or batch file.

here's my system variable for JAVA_HOME
C:\Program Files (x86)\Java\jdk1.7.0_25\bin

and for the path, i added this one
C:\Program Files (x86)\Java\jdk1.7.0_25;C:\Program Files (x86)\Java\jre7

anyone can help me with this issue?

  was:
I just install my cordova 3.3 in my windows 8, when i use the command cordova 
platform add android i receive this error message 

Error: failed to run 'java -version', make sure your java environment is set up 
including jdk and jre

your JAVA_HOME variable is c:\program files(x86)\java\jdk1.7.0_25\bin
Error: Command failed: 'java' is not recognized as an internal or external 
command,

operable program or batch file.

here's my system variable for JAVA_HOME
C:\Program Files (x86)\Java\jdk1.7.0_25\bin

and for the path, i added this one
C:\Program Files (x86)\Java\jdk1.7.0_25;C:\Program Files (x86)\Java\jre7

anyone can help me with this issue?


 cordova platform add android get an error in JAVA_HOME
 --

 Key: CB-6027
 URL: https://issues.apache.org/jira/browse/CB-6027
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CLI
Affects Versions: 3.3.0
 Environment: Windows 8
Reporter: Francis Cebu
Priority: Minor

 I just install my cordova 3.3 in my windows 8, when i use the command 
 cordova platform add android i receive this error message 
 Error: failed to run 'java -version', make sure your java environment is set 
 up including jdk and jre
 your JAVA_HOME variable is c:\program files(x86)\java\jdk1.7.0_25\bin
 Error: Command failed: 'java' is not recognized as an internal or external 
 command,
 operable program or batch file.
 here's my system variable for JAVA_HOME
 C:\Program Files (x86)\Java\jdk1.7.0_25\bin
 and for the path, i added this one
 C:\Program Files (x86)\Java\jdk1.7.0_25;C:\Program Files (x86)\Java\jre7
 anyone can help me with this issue?



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (CB-6027) cordova platform add android get an error in JAVA_HOME

2014-02-12 Thread Francis Cebu (JIRA)

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

Francis Cebu updated CB-6027:
-

Priority: Major  (was: Minor)

 cordova platform add android get an error in JAVA_HOME
 --

 Key: CB-6027
 URL: https://issues.apache.org/jira/browse/CB-6027
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CLI
Affects Versions: 3.3.0
 Environment: Windows 8
Reporter: Francis Cebu

 I just install my cordova 3.3 in my windows 8, when i use the command 
 cordova platform add android i receive this error message 
 Error: failed to run 'java -version', make sure your java environment is set 
 up including jdk and jre
 your JAVA_HOME variable is c:\program files(x86)\java\jdk1.7.0_25\bin
 Error: Command failed: 'java' is not recognized as an internal or external 
 command,
 operable program or batch file.
 here's my system variable for JAVA_HOME
 C:\Program Files (x86)\Java\jdk1.7.0_25\bin
 and for the path, i added this one
 C:\Program Files (x86)\Java\jdk1.7.0_25;C:\Program Files (x86)\Java\jre7
 anyone can help me with this issue?



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


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

2014-02-12 Thread ASF subversion and git services (JIRA)

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

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

Commit 8a4e6a6b1725bb057937ae8ccc6ab0c5af3613de in branch refs/heads/master 
from [~dpogue]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=8a4e6a6 ]

CB-5634 Set Android orientation from config.xml


 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

 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.1.5#6160)


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

2014-02-12 Thread ASF subversion and git services (JIRA)

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

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

Commit 0b1417772466d66b0ef942805d9bb39c462b0943 in branch refs/heads/master 
from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=0b14177 ]

CB-5634 Minor refactoring + tests for Android's orientation preference.


 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

 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.1.5#6160)


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

2014-02-12 Thread Andrew Grieve (JIRA)

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

Andrew Grieve resolved CB-5634.
---

Resolution: Fixed
  Assignee: Andrew Grieve

Fixed in 3.4.0-rc.1-dev

 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.1.5#6160)


[jira] [Commented] (CB-5937) platform should offer a way to indicate that a platform is stale

2014-02-12 Thread ASF subversion and git services (JIRA)

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

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

Commit 823e1cd8c05f9711023994cce1ad518e9c5636d7 in branch refs/heads/master 
from [~jsoref]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=823e1cd ]

CB-5937 Add platform check command: Shows platforms that are out of date


 platform should offer a way to indicate that a platform is stale
 

 Key: CB-5937
 URL: https://issues.apache.org/jira/browse/CB-5937
 Project: Apache Cordova
  Issue Type: New Feature
  Components: CLI
Reporter: Josh Soref
Assignee: Josh Soref

 See thread: 
 http://mail-archives.apache.org/mod_mbox/cordova-dev/201312.mbox/%3cCAEeRA4o6NNKXXtvmq=o9jzsfntzjajlf9kcwqqn+1oc+7if...@mail.gmail.com%3e
 It is helpful for users to know if their platforms are out of date.
 For now, I just want a command which users (or tools) can use to determine if 
 their platforms are out of date.
 From there, we can bike shed how often it gets run.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-5937) platform should offer a way to indicate that a platform is stale

2014-02-12 Thread ASF subversion and git services (JIRA)

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

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

Commit d75236e0e1d66883657b34ecc2a3038100428230 in branch refs/heads/master 
from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=d75236e ]

CB-5937 platform check command: print confirmation when there are no stale 
platforms.


 platform should offer a way to indicate that a platform is stale
 

 Key: CB-5937
 URL: https://issues.apache.org/jira/browse/CB-5937
 Project: Apache Cordova
  Issue Type: New Feature
  Components: CLI
Reporter: Josh Soref
Assignee: Josh Soref

 See thread: 
 http://mail-archives.apache.org/mod_mbox/cordova-dev/201312.mbox/%3cCAEeRA4o6NNKXXtvmq=o9jzsfntzjajlf9kcwqqn+1oc+7if...@mail.gmail.com%3e
 It is helpful for users to know if their platforms are out of date.
 For now, I just want a command which users (or tools) can use to determine if 
 their platforms are out of date.
 From there, we can bike shed how often it gets run.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Resolved] (CB-5937) platform should offer a way to indicate that a platform is stale

2014-02-12 Thread Andrew Grieve (JIRA)

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

Andrew Grieve resolved CB-5937.
---

Resolution: Fixed

Fixed in 3.4.0-rc.1-dev

 platform should offer a way to indicate that a platform is stale
 

 Key: CB-5937
 URL: https://issues.apache.org/jira/browse/CB-5937
 Project: Apache Cordova
  Issue Type: New Feature
  Components: CLI
Reporter: Josh Soref
Assignee: Josh Soref

 See thread: 
 http://mail-archives.apache.org/mod_mbox/cordova-dev/201312.mbox/%3cCAEeRA4o6NNKXXtvmq=o9jzsfntzjajlf9kcwqqn+1oc+7if...@mail.gmail.com%3e
 It is helpful for users to know if their platforms are out of date.
 For now, I just want a command which users (or tools) can use to determine if 
 their platforms are out of date.
 From there, we can bike shed how often it gets run.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Resolved] (CB-5428) versionCode attribute not updating when using command line tools.

2014-02-12 Thread Andrew Grieve (JIRA)

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

Andrew Grieve resolved CB-5428.
---

Resolution: Duplicate

 versionCode attribute not updating when using command line tools.
 -

 Key: CB-5428
 URL: https://issues.apache.org/jira/browse/CB-5428
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CLI
Affects Versions: 3.1.0
 Environment: Android, Windows
Reporter: Venkata Kiran
Priority: Minor

 The versionCode from the root project is not reflected in Android project. 
 The Android project is always ending up with versionCode 1 irrespective of 
 what ever is configured in root project.
 The below link has more details:
 https://groups.google.com/forum/#!topic/phonegap/ckk2h2nri4Q



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-5638) remove unreachable info case from function CLI(inputArgs)

2014-02-12 Thread ASF subversion and git services (JIRA)

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

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

Commit d82238cd9815bbe3ef2fbace94053e5226ff2d40 in branch refs/heads/master 
from [~jsoref]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=d82238c ]

CB-5638 Clean-up: remove unreachable info case from function


 remove unreachable info case from function CLI(inputArgs)
 -

 Key: CB-5638
 URL: https://issues.apache.org/jira/browse/CB-5638
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.3.0
Reporter: Josh Soref
Assignee: Josh Soref
Priority: Trivial

 var tokens = inputArgs.slice(2),
 ...
 cmd = tokens  tokens.length ? tokens.splice(0,1) : undefined;
 ...
 if (cmd === info) {
 return cordova.info();
 }



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Resolved] (CB-5638) remove unreachable info case from function CLI(inputArgs)

2014-02-12 Thread Andrew Grieve (JIRA)

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

Andrew Grieve resolved CB-5638.
---

Resolution: Fixed

Fixed in 3.4.0-rc.1-dev

 remove unreachable info case from function CLI(inputArgs)
 -

 Key: CB-5638
 URL: https://issues.apache.org/jira/browse/CB-5638
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.3.0
Reporter: Josh Soref
Assignee: Josh Soref
Priority: Trivial

 var tokens = inputArgs.slice(2),
 ...
 cmd = tokens  tokens.length ? tokens.splice(0,1) : undefined;
 ...
 if (cmd === info) {
 return cordova.info();
 }



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Resolved] (CB-5620) Removing a plugin that is not installed returns a nonsensical message

2014-02-12 Thread Andrew Grieve (JIRA)

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

Andrew Grieve resolved CB-5620.
---

Resolution: Fixed

 Removing a plugin that is not installed returns a nonsensical message
 -

 Key: CB-5620
 URL: https://issues.apache.org/jira/browse/CB-5620
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Reporter: JennyGee
Assignee: Josh Soref
Priority: Trivial

 cordova plugin rm com.blackberry.app
 [Error: Plugin com.blackberry.app not added to project.]



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-5647) cordova_plugins.js folder not populated with clobbers for Android

2014-02-12 Thread Andrew Grieve (JIRA)

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

Andrew Grieve commented on CB-5647:
---

FYI - I think [~kamrik] has been working on this for the past few days.

 cordova_plugins.js folder not populated with clobbers for Android 
 --

 Key: CB-5647
 URL: https://issues.apache.org/jira/browse/CB-5647
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CLI
Affects Versions: 3.3.0
Reporter: Greg
Assignee: Lorin Beer

 If you try to run any plugin command using PhoneGap CLI, such as:
 phonegap local plugin add org.apache.cordova.splashscreen
 The cordova_plugins.js does not get updated and the JS file doesn't get added 
 to the www/ section. Native hooks are added, but not the JS side.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Resolved] (CB-6027) cordova platform add android get an error in JAVA_HOME

2014-02-12 Thread Andrew Grieve (JIRA)

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

Andrew Grieve resolved CB-6027.
---

Resolution: Not A Problem

Try removing the \bin from your JAVA_HOME and adding the \bin to your PATH.

Typing javac from the command line should find the command.

 cordova platform add android get an error in JAVA_HOME
 --

 Key: CB-6027
 URL: https://issues.apache.org/jira/browse/CB-6027
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, CLI
Affects Versions: 3.3.0
 Environment: Windows 8
Reporter: Francis Cebu

 I just install my cordova 3.3 in my windows 8, when i use the command 
 cordova platform add android i receive this error message 
 Error: failed to run 'java -version', make sure your java environment is set 
 up including jdk and jre
 your JAVA_HOME variable is c:\program files(x86)\java\jdk1.7.0_25\bin
 Error: Command failed: 'java' is not recognized as an internal or external 
 command,
 operable program or batch file.
 here's my system variable for JAVA_HOME
 C:\Program Files (x86)\Java\jdk1.7.0_25\bin
 and for the path, i added this one
 C:\Program Files (x86)\Java\jdk1.7.0_25;C:\Program Files (x86)\Java\jre7
 anyone can help me with this issue?



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-4153) Add ability to select default app template at cordova create time

2014-02-12 Thread ASF subversion and git services (JIRA)

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

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

Commit e3ffdadc6c3f744e973097560bc2450b438ca910 in branch refs/heads/3.4.x from 
[~BBosman]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;h=e3ffdad ]

CB-5964 createmobilespec.sh fails due to CB-4153


 Add ability to select default app template at cordova create time
 ---

 Key: CB-4153
 URL: https://issues.apache.org/jira/browse/CB-4153
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.0.0
Reporter: Michal Mocny
Assignee: Mark Koudritsky

 Proposal, Implement src flag to cordova create:
 cordova create --src=...
 Where src is:
 * a valid path to a web app
 * from a set of special values, perhaps including:
   - default
   - blank
   - spec
   - easteregg



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)