[jira] [Commented] (CB-3404) Android: requestFileSystem with type LocalFileSystem.PERSISTENT:doesn't return a path under /Android/data/ when a sd-card is mounted

2013-05-22 Thread Stephan Wezel (JIRA)

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

Stephan Wezel commented on CB-3404:
---

Then how do i can get the package-name within javascript?


 Android: requestFileSystem with type LocalFileSystem.PERSISTENT:doesn't 
 return a path under /Android/data/ when a sd-card is mounted
 

 Key: CB-3404
 URL: https://issues.apache.org/jira/browse/CB-3404
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 2.7.0
Reporter: Stephan Wezel
Assignee: Joe Bowser
Priority: Minor

 the method requestFileSystem in 
 framework/src/org/apache/cordova/FileUtils.java
 doesn't return a path under 
 Environment.getExternalStorageDirectory()/Android/data/package-name when a 
 sd-card is mounted and as type PERSISTENT is used.
 in all other paths in this method the returned path contains Android/data.
 From the Android SDK 
 doc(http://developer.android.com/guide/topics/data/data-storage.html#filesExternal)
  an app schould write into Android/data/package-name/files when writing to 
 the external storage.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-3451) iOS Cordova app crashes with failed to resume in time when reopening

2013-05-22 Thread Brendan (JIRA)
Brendan created CB-3451:
---

 Summary: iOS Cordova app crashes with failed to resume in time 
when reopening
 Key: CB-3451
 URL: https://issues.apache.org/jira/browse/CB-3451
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 2.6.0
 Environment: Running on iPhone 5
Reporter: Brendan
Assignee: Shazron Abdullah


I have a Cordova 2.6.0 app that runs well on my iPhone 5.  It uses web audio 
and canvas, it that's relevant.  When I reopen the app, it sometimes restores 
fine, but often it crashes, and the crash log indicates failed to resume in 
time.  I can share an entire crash log if useful.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-3453) Retrieve the original picture from the library

2013-05-22 Thread JIRA
Abel Muiño created CB-3453:
--

 Summary: Retrieve the original picture from the library
 Key: CB-3453
 URL: https://issues.apache.org/jira/browse/CB-3453
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 2.7.0, 2.6.0, Master
Reporter: Abel Muiño
Assignee: Shazron Abdullah


Cordova iOS always re-encodes the picture, sometimes making it larger than the 
original.

In order to be cross-platform, it should match Android's behavior, where using 
default size, no orientation correction and 100% quality returns the unmodified 
picture (alternatively Cordova could provide an explicit API for reading the 
original pictures)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3453) Retrieve the original picture from the library

2013-05-22 Thread Andrew Grieve (JIRA)

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

Andrew Grieve commented on CB-3453:
---

Hi Abel,

Would using destinationType: Camera.DestinationType.NATIVE_URI suite your needs 
here?

 Retrieve the original picture from the library
 --

 Key: CB-3453
 URL: https://issues.apache.org/jira/browse/CB-3453
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: Master, 2.6.0, 2.7.0
Reporter: Abel Muiño
Assignee: Shazron Abdullah

 Cordova iOS always re-encodes the picture, sometimes making it larger than 
 the original.
 In order to be cross-platform, it should match Android's behavior, where 
 using default size, no orientation correction and 100% quality returns the 
 unmodified picture (alternatively Cordova could provide an explicit API for 
 reading the original pictures)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-3453) Retrieve the original picture from the library

2013-05-22 Thread JIRA

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

Abel Muiño updated CB-3453:
---

Priority: Minor  (was: Major)

 Retrieve the original picture from the library
 --

 Key: CB-3453
 URL: https://issues.apache.org/jira/browse/CB-3453
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: Master, 2.6.0, 2.7.0
Reporter: Abel Muiño
Assignee: Shazron Abdullah
Priority: Minor

 Cordova iOS always re-encodes the picture, sometimes making it larger than 
 the original.
 In order to be cross-platform, it should match Android's behavior, where 
 using default size, no orientation correction and 100% quality returns the 
 unmodified picture (alternatively Cordova could provide an explicit API for 
 reading the original pictures)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3453) Retrieve the original picture from the library

2013-05-22 Thread JIRA

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

Abel Muiño commented on CB-3453:


Yes, we have a workaround based on NATIVE_URI and using the FileEntry 
constructor (which are undocumented, so I suppose it is not part of the Cordova 
API and prone to breaking in future versions).

I now notice priority might have been set too high.

 Retrieve the original picture from the library
 --

 Key: CB-3453
 URL: https://issues.apache.org/jira/browse/CB-3453
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: Master, 2.6.0, 2.7.0
Reporter: Abel Muiño
Assignee: Shazron Abdullah

 Cordova iOS always re-encodes the picture, sometimes making it larger than 
 the original.
 In order to be cross-platform, it should match Android's behavior, where 
 using default size, no orientation correction and 100% quality returns the 
 unmodified picture (alternatively Cordova could provide an explicit API for 
 reading the original pictures)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3409) FileReader.readAsText(string) is deprecated and Broken. Needs to be removed.

2013-05-22 Thread David Kemp (JIRA)

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

David Kemp commented on CB-3409:


Pull request sent:
https://github.com/apache/cordova-js/pull/38


 FileReader.readAsText(string) is deprecated and Broken. Needs to be removed.
 

 Key: CB-3409
 URL: https://issues.apache.org/jira/browse/CB-3409
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 2.7.0
Reporter: Flavio Spezi
Assignee: Andrew Grieve
  Labels: patch

 This is an example code:
 {code:javascript}
 function readMyFile() {
 var filename = testFile.txt;
 var objFile = new FileReader();
 objFile.onloadend = function(e) {
 console.log(Result:  + JSON.stringify(e));
 }
objFile.readAsText(filename);
 }
 {code}
 Collback function returns error:
 e.target.error.code = JSON error

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-3454) [BlackBerry10] batterystatus should fire immediately

2013-05-22 Thread Bryan Higgins (JIRA)
Bryan Higgins created CB-3454:
-

 Summary: [BlackBerry10] batterystatus should fire immediately 
 Key: CB-3454
 URL: https://issues.apache.org/jira/browse/CB-3454
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Affects Versions: 2.8.0
Reporter: Bryan Higgins
Assignee: Bryan Higgins
 Fix For: 2.9.0


After adding battery status listener, the event will not be fired for several 
minutes until the battery state changes.

navigator.webkitBattery could be used to get initial value

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3430) FileTransfer gzipped content is not unzipped

2013-05-22 Thread Ian Clelland (JIRA)

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

Ian Clelland commented on CB-3430:
--

It's not a bug in OkHttp -- it's actually due to some special-case handling of 
pre-honeycomb Android to work around some HTTP bugs there (see CB-1413).

The bug in that ticket was actually fixed by upgrading to OkHttp, so I've been 
able to remove the special case, and GZIP-encoding is now handled correctly in 
Android 2.3.3.


 FileTransfer gzipped content is not unzipped
 

 Key: CB-3430
 URL: https://issues.apache.org/jira/browse/CB-3430
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 2.7.0
 Environment: Android 2.3, tested on a Samsung Galaxy S
Reporter: Florian Falkner
Assignee: Ian Clelland
  Labels: android, download, gzip

 When downloading a gzipped file via FileTransfer.download from a remote URL 
 the file is not unzipped on the local filesystem. 
 The file is saved in gzipped form, inclusion as javascript or css fails. Auto 
 unzipping works on Android 4+.
 Downgrading to Cordova 2.6 solves the issue, seems to be a bug in OkHttp.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Assigned] (CB-3453) Retrieve the original picture from the library

2013-05-22 Thread James Jong (JIRA)

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

James Jong reassigned CB-3453:
--

Assignee: James Jong  (was: Shazron Abdullah)

 Retrieve the original picture from the library
 --

 Key: CB-3453
 URL: https://issues.apache.org/jira/browse/CB-3453
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: Master, 2.6.0, 2.7.0
Reporter: Abel Muiño
Assignee: James Jong
Priority: Minor

 Cordova iOS always re-encodes the picture, sometimes making it larger than 
 the original.
 In order to be cross-platform, it should match Android's behavior, where 
 using default size, no orientation correction and 100% quality returns the 
 unmodified picture (alternatively Cordova could provide an explicit API for 
 reading the original pictures)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-3455) [BlackBerry10] Add Geolocation Plugin

2013-05-22 Thread Bryan Higgins (JIRA)
Bryan Higgins created CB-3455:
-

 Summary: [BlackBerry10] Add Geolocation Plugin
 Key: CB-3455
 URL: https://issues.apache.org/jira/browse/CB-3455
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Affects Versions: 2.8.0
Reporter: Bryan Higgins
Assignee: Bryan Higgins
 Fix For: 2.9.0


Mobile spec manual page has two test scenarios:

1) Use build-in webview navigator.geolocation - this works
2) Use cordova Geolocation Plugin - does not work

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3437) [BlackBerry10] create script fails when current directory is within another project

2013-05-22 Thread Eric Li (JIRA)

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

Eric Li commented on CB-3437:
-

The reason was found, the path to the plugin.js is not revolved correctly;
the correct path in the given case should be:
../cordova-blackberry/blackberry10/sample2/cordova/lib/plugin.js
not 
../cordova-blackberry/sample2/cordova/lib/plugin.js

The fix will be up soon.

 [BlackBerry10] create script fails when current directory is within another 
 project
 ---

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


 Note from tester:
 create sample1
 cd sample1
 run '../bin/create ../sample2' expected: sample2 can be created under the 
 parent folder of sample1 fact: Project creation failed! Error: Error: Cannot 
 find module .../cordova-blackberry/sample2/cordova/lib/plugin.js

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3437) [BlackBerry10] create script fails when current directory is within another project

2013-05-22 Thread Hasan Ahmad (JIRA)

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

Hasan Ahmad commented on CB-3437:
-

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

 [BlackBerry10] create script fails when current directory is within another 
 project
 ---

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


 Note from tester:
 create sample1
 cd sample1
 run '../bin/create ../sample2' expected: sample2 can be created under the 
 parent folder of sample1 fact: Project creation failed! Error: Error: Cannot 
 find module .../cordova-blackberry/sample2/cordova/lib/plugin.js

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-3456) InAppBrowser Causing Viewport Issues on iPad

2013-05-22 Thread Josh Dean (JIRA)
Josh Dean created CB-3456:
-

 Summary: InAppBrowser Causing Viewport Issues on iPad
 Key: CB-3456
 URL: https://issues.apache.org/jira/browse/CB-3456
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 2.5.0
 Environment: iPad 6.1
Reporter: Josh Dean
Assignee: Shazron Abdullah


Pretty much what was described here 
(https://issues.apache.org/jira/browse/CB-3065?focusedCommentId=13635379page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13635379),
 except on 2.5:

In landscape mode on iPad, when opening the InAppBrowser in landscape mode, the 
moment you close the InAppBrowser the viewport of the app switches to portrait 
mode. I can't make heads or tails of it.

For reference: here is my viewport meta tag:

meta name=viewport content=width=device-width, initial-scale=1.0, 
maximum-scale=1.0, user-scalable=no /

Images showing the issue visually here: http://imgur.com/a/KJMST

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3378) Weinre support for FF and IE10

2013-05-22 Thread Patrick Mueller (JIRA)

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

Patrick Mueller commented on CB-3378:
-

Fixed in the following commits, most easily seen from the commits page: 
[https://git-wip-us.apache.org/repos/asf?p=cordova-weinre.git]

* [CB-3378 - Weinre support for FF and 
IE10|https://git-wip-us.apache.org/repos/asf?p=cordova-weinre.git;a=commit;h=901d296b4cd823bbdd0539c739a6c3193ff24cdb]
* [add some missed overridden files to 
front-end|https://git-wip-us.apache.org/repos/asf?p=cordova-weinre.git;a=commit;h=da06b4940c8937ff278f5aa005b079610456c779]
* [adds support for all 
browsers|https://git-wip-us.apache.org/repos/asf?p=cordova-weinre.git;a=commit;h=4992e917216d6a21b08541d9dcf3f1abd916ab36]


 Weinre support for FF and IE10
 --

 Key: CB-3378
 URL: https://issues.apache.org/jira/browse/CB-3378
 Project: Apache Cordova
  Issue Type: Improvement
  Components: weinre
Reporter: Sergey Grebnov
Assignee: Patrick Mueller
  Labels: weinre

 At present time Weinre supports WebKit only browsers as a debugger client. It 
 will be great to have Weinre debug client and target run in all modern 
 browsers, including Firefox and IE10.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3378) Weinre support for FF and IE10

2013-05-22 Thread Patrick Mueller (JIRA)

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

Patrick Mueller commented on CB-3378:
-

npm has been updated to version 2.0.0-pre-HH0SN197 with this set of commits

 Weinre support for FF and IE10
 --

 Key: CB-3378
 URL: https://issues.apache.org/jira/browse/CB-3378
 Project: Apache Cordova
  Issue Type: Improvement
  Components: weinre
Reporter: Sergey Grebnov
Assignee: Patrick Mueller
  Labels: weinre

 At present time Weinre supports WebKit only browsers as a debugger client. It 
 will be great to have Weinre debug client and target run in all modern 
 browsers, including Firefox and IE10.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Assigned] (CB-3358) Switch Camera and Capture APIs to use Android Base64 instead of Commons-Codec Base64

2013-05-22 Thread David Kemp (JIRA)

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

David Kemp reassigned CB-3358:
--

Assignee: David Kemp  (was: Joe Bowser)

 Switch Camera and Capture APIs to use Android Base64 instead of Commons-Codec 
 Base64
 

 Key: CB-3358
 URL: https://issues.apache.org/jira/browse/CB-3358
 Project: Apache Cordova
  Issue Type: Bug
Reporter: Joe Bowser
Assignee: David Kemp
 Fix For: 2.8.0


 One of the benefits of turfing Froyo is that we don't need Commons-Codec 
 anymore, and can use Android's Base64 utility methods.  This is to keep track 
 of us turfing commons-codec.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-3378) Weinre support for FF and IE10

2013-05-22 Thread Patrick Mueller (JIRA)

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

Patrick Mueller resolved CB-3378.
-

Resolution: Fixed

 Weinre support for FF and IE10
 --

 Key: CB-3378
 URL: https://issues.apache.org/jira/browse/CB-3378
 Project: Apache Cordova
  Issue Type: Improvement
  Components: weinre
Reporter: Sergey Grebnov
Assignee: Patrick Mueller
  Labels: weinre

 At present time Weinre supports WebKit only browsers as a debugger client. It 
 will be great to have Weinre debug client and target run in all modern 
 browsers, including Firefox and IE10.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2200) Remove deprecated - Android - device.name

2013-05-22 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-2200:
--

I'm going to turn this into a task with subtasks for all platforms defined 
here, for 2.9.0: 
http://docs.phonegap.com/en/2.7.0/cordova_device_device.md.html#device.name

 Remove deprecated - Android - device.name
 -

 Key: CB-2200
 URL: https://issues.apache.org/jira/browse/CB-2200
 Project: Apache Cordova
  Issue Type: Task
  Components: CordovaJS, mobile-spec
Reporter: Shazron Abdullah
Assignee: Joe Bowser
 Fix For: 2.8.0


 Per 6 month deprecation policy: 
 http://wiki.apache.org/cordova/DeprecationPolicy

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-3452) Camera is not working when Activity launchMode is set to singleInstance instead of singleTop

2013-05-22 Thread Joe Bowser (JIRA)

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

Joe Bowser resolved CB-3452.


Resolution: Won't Fix

We use intents for our camera activity.  This is pretty much doing what we 
expect it to do based on this documentation.

https://developer.android.com/guide/topics/manifest/activity-element.html#lmode

 Camera is not working when Activity launchMode is set to singleInstance 
 instead of singleTop
 

 Key: CB-3452
 URL: https://issues.apache.org/jira/browse/CB-3452
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, Plugin Camera, Plugin Media Capture
Affects Versions: 2.6.0
 Environment: Samsung Galaxy SIII 4G (GT-I9305) Android 4.1.2
Reporter: Gulian
Assignee: Joe Bowser

 Camera is not working when Activity launchMode is set to singleInstance 
 instead of singleTop. Camera plugin is loaded but Cordova get no data from 
 it. When launching plugin adb logcat says : Camera cancelled.
 Using singleTop is very useful when your app is called with Intents, indeed 
 you app is not reloaded, you just have to change URL in onNewIntent() method 
 with loadUrl().

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-3444) WP - cordova-VERSION.js - cordova.js

2013-05-22 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen resolved CB-3444.
-

   Resolution: Fixed
Fix Version/s: 2.8.0

Fixed for wp7, wp8 and windows 8

 WP - cordova-VERSION.js - cordova.js
 -

 Key: CB-3444
 URL: https://issues.apache.org/jira/browse/CB-3444
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Windows 8, WP7, WP8
Reporter: Andrew Grieve
Assignee: Jesse MacFadyen
Priority: Minor
 Fix For: 2.8.0




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3450) 2.5.0 js frameworks initialization onDeviceReady required iOS

2013-05-22 Thread Joe Meeks (JIRA)

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

Joe Meeks commented on CB-3450:
---

This bug appears to be fixed with Cordova 2.7.0. Thank you Apache Cordova team 
for all you do.

 2.5.0 js frameworks initialization onDeviceReady required iOS 
 --

 Key: CB-3450
 URL: https://issues.apache.org/jira/browse/CB-3450
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 2.5.0
 Environment: PhoneGap Webview on iOS
Reporter: Joe Meeks
Assignee: Shazron Abdullah

 Cordova 2.5.0 introduced a bug fir iOS in which Kendo Mobile and jqTouch js 
 frameworks (among possibly others) must be initialized on deviceready or 
 splash screens will not hide (Android js framework initialization on 
 document.ready or in a script tag at the bottom of the page still works). In 
 some cases rotating the device to landscape orientation will show the webview 
 UI but obstructed by the splash screen. Splash screen spinners are also not 
 displayed at all.
 Original issue topics reported on PhoneGap Build forums:
 http://community.phonegap.com/nitobi/topics/ios_2_5_0_splash_not_hiding
 http://community.phonegap.com/nitobi/topics/phonegap_build_with_2_5_0_ios_ipa_bug_report
 http://community.phonegap.com/nitobi/topics/app_gets_stuck_on_splashscreen_on_iphone

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-3414) Wildcard inclusion causes issues with removing project items

2013-05-22 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen resolved CB-3414.
-

Resolution: Fixed

 Wildcard inclusion causes issues with removing project items
 

 Key: CB-3414
 URL: https://issues.apache.org/jira/browse/CB-3414
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP7, WP8
Affects Versions: 2.7.0
Reporter: Jesse MacFadyen
Assignee: Jesse MacFadyen
 Fix For: 2.8.0


 Visual Studio only evaluates the wildcard project items when opened for the 
 first time.  Removing an item requires multiple steps.
 Change to include all files by name/path inside the Plugins folder.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-3282) Subsequent Notification callbacks returns immediately with zero

2013-05-22 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen resolved CB-3282.
-

Resolution: Implemented

This has been addressed already in 2.7.0 

 Subsequent Notification callbacks returns immediately with zero
 ---

 Key: CB-3282
 URL: https://issues.apache.org/jira/browse/CB-3282
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP7
Affects Versions: 2.5.0
 Environment: Windows Phone 7.8, Visual Studio 2010. 
Reporter: Ciaran Gallagher
Assignee: Jesse MacFadyen
  Labels: notification, windows-phone, wp7

 The first time notification.confirm is used, it works successfully, returning 
 the correct index after pressing the corresponding button. 
 Any subsequent invocation of notification.confirm results in it immediately 
 returning zero. 
 Note this doesn't just happen when when invoking notification.confirm on the 
 same page, it occurs any other time I invoke notification.confirm during the 
 lifetime of the application. 
 I examined the native notification.cs, and it seems apparent that this is 
 successfully returning the correct index - at least on the native side of 
 things, so I'm not exactly sure where it's going wrong.
 If you require additional information or you would like to see a 
 demonstration of the failure or more information on replicating it please 
 contact me at ciaran036h...@hotmail.com. 
 I'm sure Windows Phone isn't high on the priority list, but I have a 
 university project deadline coming up it would be nice if things worked :) 
 The last time the notification.confirm worked for me by the was was on 
 PhoneGap 2.2. It appeared to stop working when I upgraded to 2.5.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-3443) OSX - cordova-VERSION.js - cordova.js

2013-05-22 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-3443.
--

Resolution: Fixed
  Assignee: Shazron Abdullah  (was: Andrew Grieve)

fix commit - 
https://git-wip-us.apache.org/repos/asf?p=cordova-osx.git;a=commit;h=f913897f43e29d95c28b61a438b9844c8dd1025f

 OSX - cordova-VERSION.js - cordova.js
 --

 Key: CB-3443
 URL: https://issues.apache.org/jira/browse/CB-3443
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: OSX
Reporter: Andrew Grieve
Assignee: Shazron Abdullah
Priority: Minor



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-3450) 2.5.0 js frameworks initialization onDeviceReady required iOS

2013-05-22 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-3450.
--

Resolution: Not A Problem

 2.5.0 js frameworks initialization onDeviceReady required iOS 
 --

 Key: CB-3450
 URL: https://issues.apache.org/jira/browse/CB-3450
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 2.5.0
 Environment: PhoneGap Webview on iOS
Reporter: Joe Meeks
Assignee: Shazron Abdullah

 Cordova 2.5.0 introduced a bug fir iOS in which Kendo Mobile and jqTouch js 
 frameworks (among possibly others) must be initialized on deviceready or 
 splash screens will not hide (Android js framework initialization on 
 document.ready or in a script tag at the bottom of the page still works). In 
 some cases rotating the device to landscape orientation will show the webview 
 UI but obstructed by the splash screen. Splash screen spinners are also not 
 displayed at all.
 Original issue topics reported on PhoneGap Build forums:
 http://community.phonegap.com/nitobi/topics/ios_2_5_0_splash_not_hiding
 http://community.phonegap.com/nitobi/topics/phonegap_build_with_2_5_0_ios_ipa_bug_report
 http://community.phonegap.com/nitobi/topics/app_gets_stuck_on_splashscreen_on_iphone

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-376) Selecting an element shows a grey-box

2013-05-22 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen resolved CB-376.


Resolution: Won't Fix

This is a browser issue, use the reported workaround.

 Selecting an element shows a grey-box
 -

 Key: CB-376
 URL: https://issues.apache.org/jira/browse/CB-376
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP7
Affects Versions: 1.5.0
 Environment: In Windows Phone 7 emulator  WP7 device.
Reporter: Laurens Van de Perre
Assignee: Jesse MacFadyen
  Labels: features, patch
 Attachments: ASF.LICENSE.NOT.GRANTED--Erorr grey-box.jpg


 When you tap an element in WP7 in cordova it shows a grey-box to let the user 
 know what he pressed.
 But this behavior can be very annoying when you are using animations on those 
 elements.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


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

2013-05-22 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen commented on CB-3420:
-

Should the visibility api actually be :

var iab = window.open('$OAUTH_URL', 'hidden=yes');

//some time later.
iab.focus();

// some time later than that
iab.blur();

 InAppBrowser Option to Start Hidden
 ---

 Key: CB-3420
 URL: https://issues.apache.org/jira/browse/CB-3420
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CordovaJS, mobile-spec
Reporter: Andrew Grieve
Assignee: Andrew Grieve
Priority: Minor

 One common use-case for the InAppBrowser is to handle an OAuth flow. Some 
 flows can be done without any user interaction, so it would be great if the 
 InAppBrowser had an option where it would start hidden, and could later be 
 reveals through a JS call.
 E.g.
 var iab = window.open('$OAUTH_URL', 'hidden=yes');
 //some time later.
 iab.show();

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2200) Remove deprecated - Android - device.name

2013-05-22 Thread Joe Bowser (JIRA)

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

Joe Bowser commented on CB-2200:


DO IT

 Remove deprecated - Android - device.name
 -

 Key: CB-2200
 URL: https://issues.apache.org/jira/browse/CB-2200
 Project: Apache Cordova
  Issue Type: Task
  Components: CordovaJS, mobile-spec
Reporter: Shazron Abdullah
Assignee: Joe Bowser
 Fix For: 2.8.0


 Per 6 month deprecation policy: 
 http://wiki.apache.org/cordova/DeprecationPolicy

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-3017) Media API is failing playing sounds on WP8, it works fine on WP7

2013-05-22 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen resolved CB-3017.
-

Resolution: Cannot Reproduce

Are you sure the file is a resource to the project? Worked for me.
Please post a sample that demonstrates the issue.

 Media API is failing playing sounds on WP8, it works fine on WP7
 

 Key: CB-3017
 URL: https://issues.apache.org/jira/browse/CB-3017
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP8
Affects Versions: 2.5.0
Reporter: Karim
Assignee: Jesse MacFadyen

 I have the same project for WP7 and the sounds play fine but for WP8 no sound 
 is played and I get the following output on the Visual Studio console:
 The thread 0x9a8 has exited with code 259 (0x103).
 A first chance exception of type 'System.NullReferenceException' occurred in 
 Real Domino WP8.DLL
 An exception of type 'System.NullReferenceException' occurred in Real Domino 
 WP8.DLL and wasn't handled before a managed/native boundary
 I see this in 2.5.0 and the recent 2.6.0 versions of cordova.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-3457) Android build error when widget id includes a dash

2013-05-22 Thread Michael Brooks (JIRA)
Michael Brooks created CB-3457:
--

 Summary: Android build error when widget id includes a dash
 Key: CB-3457
 URL: https://issues.apache.org/jira/browse/CB-3457
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 2.8.0
Reporter: Michael Brooks
Assignee: Filip Maj


Reference: [PhoneGap CLI Issue 
#55|https://github.com/mwbrooks/phonegap-cli/issues/55].

The Java package namespace is generated from the {{config.xml}} widget id. When 
the widget id includes a dash, then the Android build fails because Java 
package names cannot include a dash.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-3458) requiring all_load linker flag is bad practice and breaks other SDKs with Objective-C categories

2013-05-22 Thread Song Zheng (JIRA)
Song Zheng created CB-3458:
--

 Summary: requiring all_load linker flag is bad practice and breaks 
other SDKs with Objective-C categories
 Key: CB-3458
 URL: https://issues.apache.org/jira/browse/CB-3458
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 2.7.0
Reporter: Song Zheng
Assignee: Shazron Abdullah
 Fix For: 2.8.0


all_load is bad practice and breaks other SDKs with Objective-C categories. 
Here is a description of the problem and why all-load is bad:
http://stackoverflow.com/questions/2906147/what-does-the-all-load-linker-flag-do

Simple solution: use force_load instead, simple fix!

With a requirement on all_load linker flag, integrating Cordova with other SDKs 
will result in duplicate symbol errors.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-3459) plugman should handle configuration automatically

2013-05-22 Thread Anis Kadri (JIRA)
Anis Kadri created CB-3459:
--

 Summary: plugman should handle configuration automatically
 Key: CB-3459
 URL: https://issues.apache.org/jira/browse/CB-3459
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Affects Versions: 2.7.0
Reporter: Anis Kadri
Assignee: Filip Maj
 Fix For: 3.0.0


plugman should know how to handle configuration automatically no matter what 
cordova version a project uses.

{code:xml}
config-file name=config.xml
plugin name=Plugin value=Plugin /
/config-file
{code}

OR

{code:xml}
config-file name=config.xml
feature name=MyPlugin
  param name=Plugin value=Plugin /
/feature
/config-file
{code}

OR

{code:xml}
plugins-plist key=com.phonegap.plugins.myplugin
string=MyPlugin /
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3457) Android build error when widget id includes a dash

2013-05-22 Thread Michael Brooks (JIRA)

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

Michael Brooks commented on CB-3457:


Commit 
[b4dd4b|https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;a=commit;h=b4dd4b03167afa91cb6ec3890f07f8278605753a]

 Android build error when widget id includes a dash
 --

 Key: CB-3457
 URL: https://issues.apache.org/jira/browse/CB-3457
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 2.8.0
Reporter: Michael Brooks
Assignee: Filip Maj

 Reference: [PhoneGap CLI Issue 
 #55|https://github.com/mwbrooks/phonegap-cli/issues/55].
 The Java package namespace is generated from the {{config.xml}} widget id. 
 When the widget id includes a dash, then the Android build fails because Java 
 package names cannot include a dash.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-3457) Android build error when widget id includes a dash

2013-05-22 Thread Michael Brooks (JIRA)

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

Michael Brooks resolved CB-3457.


Resolution: Fixed
  Assignee: Michael Brooks  (was: Filip Maj)

 Android build error when widget id includes a dash
 --

 Key: CB-3457
 URL: https://issues.apache.org/jira/browse/CB-3457
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 2.8.0
Reporter: Michael Brooks
Assignee: Michael Brooks

 Reference: [PhoneGap CLI Issue 
 #55|https://github.com/mwbrooks/phonegap-cli/issues/55].
 The Java package namespace is generated from the {{config.xml}} widget id. 
 When the widget id includes a dash, then the Android build fails because Java 
 package names cannot include a dash.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-3460) Serialize module event hooks

2013-05-22 Thread Michael Brooks (JIRA)
Michael Brooks created CB-3460:
--

 Summary: Serialize module event hooks
 Key: CB-3460
 URL: https://issues.apache.org/jira/browse/CB-3460
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 2.8.0
Reporter: Michael Brooks
Assignee: Filip Maj


When using {{cordova-cli}} as a module, a task execute immediately and does not 
wait for each event hook to complete.

We need to update the hook module to serialize each listener subscribed to an 
event hook. A {{done}} callback can be passed into each event listener to 
support asynchronous hooks.

{code}
cordova.on('before_build', function(data, done) {
   // do something
   done();
});
{code}

There is no need to update the script hooks because they currently wait for 
each process to exit before continuing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3458) requiring all_load linker flag is bad practice and breaks other SDKs with Objective-C categories

2013-05-22 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-3458:
--

It was acceptable at the time. Granted, the time was 2009 (when we first used 
the concept of CordovaLib), and force_load was not available until Snow Leopard 
was released (Xcode 3.2), and we never updated it since - until this issue 
brings it to light again, and we will update it to the better usage.

Ideally the -ObjC alone should work, but those two additional flags were 
created for the -ObjC linker bug... (not sure if it has been fixed since)

 requiring all_load linker flag is bad practice and breaks other SDKs with 
 Objective-C categories
 

 Key: CB-3458
 URL: https://issues.apache.org/jira/browse/CB-3458
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 2.7.0
Reporter: Song Zheng
Assignee: Shazron Abdullah
  Labels: flags, ios
 Fix For: 2.8.0

   Original Estimate: 24h
  Remaining Estimate: 24h

 all_load is bad practice and breaks other SDKs with Objective-C categories. 
 Here is a description of the problem and why all-load is bad:
 http://stackoverflow.com/questions/2906147/what-does-the-all-load-linker-flag-do
 Simple solution: use force_load instead, simple fix!
 With a requirement on all_load linker flag, integrating Cordova with other 
 SDKs will result in duplicate symbol errors.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-3462) Build command callback is not respected

2013-05-22 Thread Michael Brooks (JIRA)
Michael Brooks created CB-3462:
--

 Summary: Build command callback is not respected
 Key: CB-3462
 URL: https://issues.apache.org/jira/browse/CB-3462
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 2.8.0
 Environment: 
https://github.com/apache/cordova-cli/blob/72e72659fba59ccb38f93b2760922b2a3cebffc8/cordova.js#L70-L71
Reporter: Michael Brooks
Assignee: Filip Maj


The callback function is fired incorrectly in {{cordova.build(platforms, 
callback);}}

Currently, the callback is fired after {{prepare}} and never after {{compile}}.

It should only fire after {{compile}}.

See [line 70-71 of 
cordova.js|https://github.com/apache/cordova-cli/blob/72e72659fba59ccb38f93b2760922b2a3cebffc8/cordova.js#L70-L71].

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3451) iOS Cordova app crashes with failed to resume in time when reopening

2013-05-22 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-3451:
--

Please provide a crash log, we don't have enough info to even begin a repro.

 iOS Cordova app crashes with failed to resume in time when reopening
 --

 Key: CB-3451
 URL: https://issues.apache.org/jira/browse/CB-3451
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 2.6.0
 Environment: Running on iPhone 5
Reporter: Brendan
Assignee: Shazron Abdullah

 I have a Cordova 2.6.0 app that runs well on my iPhone 5.  It uses web audio 
 and canvas, it that's relevant.  When I reopen the app, it sometimes restores 
 fine, but often it crashes, and the crash log indicates failed to resume in 
 time.  I can share an entire crash log if useful.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3456) InAppBrowser Causing Viewport Issues on iPad

2013-05-22 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-3456:
--

Is this reproducible using a new 2.5.0 project? I ask because I need to repro 
this to fix it (if it can be verified). It's best if you try to attach an 
example index.html so we can be on the same page.

I've seen this before but it is related to the viewport removing 
height=device-height.


 InAppBrowser Causing Viewport Issues on iPad
 

 Key: CB-3456
 URL: https://issues.apache.org/jira/browse/CB-3456
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 2.5.0
 Environment: iPad 6.1
Reporter: Josh Dean
Assignee: Shazron Abdullah

 Pretty much what was described here 
 (https://issues.apache.org/jira/browse/CB-3065?focusedCommentId=13635379page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13635379),
  except on 2.5:
 In landscape mode on iPad, when opening the InAppBrowser in landscape mode, 
 the moment you close the InAppBrowser the viewport of the app switches to 
 portrait mode. I can't make heads or tails of it.
 For reference: here is my viewport meta tag:
 meta name=viewport content=width=device-width, initial-scale=1.0, 
 maximum-scale=1.0, user-scalable=no /
 Images showing the issue visually here: http://imgur.com/a/KJMST

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-3463) bin/create should copy cordova.js into the projectCordovaLib

2013-05-22 Thread Shazron Abdullah (JIRA)
Shazron Abdullah created CB-3463:


 Summary: bin/create should copy cordova.js into the 
projectCordovaLib
 Key: CB-3463
 URL: https://issues.apache.org/jira/browse/CB-3463
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, OSX
Reporter: Shazron Abdullah
Assignee: Shazron Abdullah
Priority: Minor
 Fix For: Master


Right now the cordova.js is not copied in, but copied into www only. This would 
be good for debugging reasons etc

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-3463) bin/create should copy cordova.js into the project's CordovaLib

2013-05-22 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-3463:
-

Summary: bin/create should copy cordova.js into the project's CordovaLib  
(was: bin/create should copy cordova.js into the projectCordovaLib)

 bin/create should copy cordova.js into the project's CordovaLib
 ---

 Key: CB-3463
 URL: https://issues.apache.org/jira/browse/CB-3463
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, OSX
Reporter: Shazron Abdullah
Assignee: Shazron Abdullah
Priority: Minor
 Fix For: Master


 Right now the cordova.js is not copied in, but copied into www only. This 
 would be good for debugging reasons etc

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3451) iOS Cordova app crashes with failed to resume in time when reopening

2013-05-22 Thread Brendan (JIRA)

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

Brendan commented on CB-3451:
-

Here you go:

Incident Identifier: 10951C64-A19E-4A93-B067-F86934BFAA8C
CrashReporter Key:   acc0827a0e8111d9e68847ae8a05fb9114cf7a7b
Hardware Model:  iPhone5,1
Process: MyApp [6926]
Path:
/var/mobile/Applications/33D857A2-B56B-4569-94F0-DCD4C89B9156/MyApp.app/MyApp
Identifier:  MyApp
Version: ??? (???)
Code Type:   ARM (Native)
Parent Process:  launchd [1]

Date/Time:   2013-05-21 11:47:45.057 -0700
OS Version:  iOS 6.1.4 (10B350)
Report Version:  104

Exception Type:  0020
Exception Codes: 0x8badf00d
Highlighted Thread:  0

Application Specific Information:
com.mycompany.myapp failed to resume in time

Elapsed total CPU time (seconds): 19.150 (user 19.150, system 0.000), 96% CPU 
Elapsed application CPU time (seconds): 18.285, 91% CPU

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0:
0   libsystem_kernel.dylib  0x39a7ae80 semaphore_wait_trap + 8
1   libdispatch.dylib   0x399b5e04 _dispatch_group_wait_slow + 
152
2   QuartzCore  0x3349cb0c 
CA::CG::IOSurfaceDataProvider::copy_data() + 48
3   QuartzCore  0x3349cc4c 
CA::CG::IOSurfaceDataProvider::get_byte_pointer(void*) + 12
4   CoreGraphics0x31912d18 
CGAccessSessionGetBytePointer + 36
5   CoreGraphics0x319118ca img_data_lock + 1122
6   CoreGraphics0x31910cc6 CGSImageDataLock + 126
7   libRIP.A.dylib  0x31c74974 ripc_AcquireImage + 1388
8   libRIP.A.dylib  0x31c737a4 ripc_DrawImage + 544
9   CoreGraphics0x31910b20 CGContextDelegateDrawImage + 
48
10  CoreGraphics0x319109a2 CGContextDrawImage + 286
11  WebCore 0x37947b5a 
WebCore::GraphicsContext::drawNativeImage(CGImage*, WebCore::FloatSize const, 
WebCore::ColorSpace, WebCore::FloatRect const, WebCore::FloatRect const, 
float, WebCore::CompositeOperator, WebCore::ImageOrientation) + 1182
12  WebCore 0x37a71cf8 
WebCore::ImageBuffer::draw(WebCore::GraphicsContext*, WebCore::ColorSpace, 
WebCore::FloatRect const, WebCore::FloatRect const, 
WebCore::CompositeOperator, bool) + 124
13  WebCore 0x37a71c66 
WebCore::GraphicsContext::drawImageBuffer(WebCore::ImageBuffer*, 
WebCore::ColorSpace, WebCore::FloatRect const, WebCore::FloatRect const, 
WebCore::CompositeOperator, bool) + 326
14  WebCore 0x37a71b12 
WebCore::GraphicsContext::drawImageBuffer(WebCore::ImageBuffer*, 
WebCore::ColorSpace, WebCore::IntRect const, WebCore::CompositeOperator, bool) 
+ 70
15  WebCore 0x37a71aa6 
WebCore::HTMLCanvasElement::paint(WebCore::GraphicsContext*, WebCore::IntRect 
const, bool) + 186
16  WebCore 0x37a719de 
WebCore::RenderHTMLCanvas::paintReplaced(WebCore::PaintInfo, WebCore::IntPoint 
const) + 102
17  WebCore 0x37944cb4 
WebCore::RenderReplaced::paint(WebCore::PaintInfo, WebCore::IntPoint const) + 
340
18  WebCore 0x37879338 
WebCore::RenderLayer::paintLayerContents(WebCore::RenderLayer*, 
WebCore::GraphicsContext*, WebCore::IntRect const, unsigned int, 
WebCore::RenderObject*, WebCore::RenderRegion*, 
WTF::HashMapWebCore::OverlapTestRequestClient*, WebCore::IntRect, 
WTF::PtrHashWebCore::OverlapTestRequestClient*, 
WTF::HashTraitsWebCore::OverlapTestRequestClient*, 
WTF::HashTraitsWebCore::IntRect *, unsigned int) + 1760
19  WebCore 0x379a4712 
WebCore::RenderLayerBacking::paintIntoLayer(WebCore::RenderLayer*, 
WebCore::GraphicsContext*, WebCore::IntRect const, unsigned int, unsigned int, 
WebCore::RenderObject*) + 154
20  WebCore 0x379a458a 
WebCore::RenderLayerBacking::paintContents(WebCore::GraphicsLayer const*, 
WebCore::GraphicsContext, unsigned int, WebCore::IntRect const) + 158
21  WebCore 0x379a44e2 
WebCore::GraphicsLayer::paintGraphicsLayerContents(WebCore::GraphicsContext, 
WebCore::IntRect const) + 94
22  WebCore 0x379a4414 
__drawLayerContents_block_invoke_0 + 180
23  WebKit  0x38139f44 
WKCALayerEnumerateRectsBeingDrawnWithBlock + 56
24  WebCore 0x379a3ff8 
drawLayerContents(CGContext*, CALayer*, WebCore::PlatformCALayer*) + 524
25  QuartzCore  0x334648c0 CABackingStoreUpdate_ + 1776
26  QuartzCore  0x33464032 CA::Layer::display_() + 970
27  WebCore 0x379a3d9e -[WebLayer display] + 50
28  QuartzCore  

[jira] [Commented] (CB-3451) iOS Cordova app crashes with failed to resume in time when reopening

2013-05-22 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-3451:
--

Sample code? Are you doing anything in the canvas at startup?

 iOS Cordova app crashes with failed to resume in time when reopening
 --

 Key: CB-3451
 URL: https://issues.apache.org/jira/browse/CB-3451
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 2.6.0
 Environment: Running on iPhone 5
Reporter: Brendan
Assignee: Shazron Abdullah

 I have a Cordova 2.6.0 app that runs well on my iPhone 5.  It uses web audio 
 and canvas, it that's relevant.  When I reopen the app, it sometimes restores 
 fine, but often it crashes, and the crash log indicates failed to resume in 
 time.  I can share an entire crash log if useful.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3451) iOS Cordova app crashes with failed to resume in time when reopening

2013-05-22 Thread Brendan (JIRA)

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

Brendan commented on CB-3451:
-

Sorry, I've not been able to build a smaller repro that I can share, yet.  By 
startup, do you mean my window.onload or ondeviceready handler?  I do 
various initialization in each of these, but neither should run on a reload, 
because then they would reset my application state.  Let me know if I've 
misunderstood something..

 iOS Cordova app crashes with failed to resume in time when reopening
 --

 Key: CB-3451
 URL: https://issues.apache.org/jira/browse/CB-3451
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 2.6.0
 Environment: Running on iPhone 5
Reporter: Brendan
Assignee: Shazron Abdullah

 I have a Cordova 2.6.0 app that runs well on my iPhone 5.  It uses web audio 
 and canvas, it that's relevant.  When I reopen the app, it sometimes restores 
 fine, but often it crashes, and the crash log indicates failed to resume in 
 time.  I can share an entire crash log if useful.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3453) Retrieve the original picture from the library

2013-05-22 Thread Andrew Grieve (JIRA)

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

Andrew Grieve commented on CB-3453:
---

Ah, okay, yeah, your use-case is one that I want to fix. This goes hand-in-hand 
with the similar Android bugs that you filed. Thanks for staying on top of 
this, I do intend to get to those in the near-term.

Instead of using the FileEntry constructor (you're right - I do intend to break 
that :P), can you try using the resolveLocalFileSystemURI() function to convert 
from URI - FileEntry? That's the (also currently undocumented) intended way to 
accomplish this.

 Retrieve the original picture from the library
 --

 Key: CB-3453
 URL: https://issues.apache.org/jira/browse/CB-3453
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: Master, 2.6.0, 2.7.0
Reporter: Abel Muiño
Assignee: James Jong
Priority: Minor

 Cordova iOS always re-encodes the picture, sometimes making it larger than 
 the original.
 In order to be cross-platform, it should match Android's behavior, where 
 using default size, no orientation correction and 100% quality returns the 
 unmodified picture (alternatively Cordova could provide an explicit API for 
 reading the original pictures)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2626) Create Upgrade Script for WindowsPhone

2013-05-22 Thread Benn Mapes (JIRA)

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

Benn Mapes commented on CB-2626:


WP8 : 
https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;a=commit;h=69c61b08b9a9a3981bc523acb8cc6f6f46836334

 Create Upgrade Script for WindowsPhone
 --

 Key: CB-2626
 URL: https://issues.apache.org/jira/browse/CB-2626
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Windows 8, WP7, WP8
Reporter: Joe Bowser
Assignee: Benn Mapes
 Fix For: 2.8.0




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-2626) Create Upgrade Script for WindowsPhone

2013-05-22 Thread Benn Mapes (JIRA)

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

Benn Mapes updated CB-2626:
---

Component/s: (was: WP8)

 Create Upgrade Script for WindowsPhone
 --

 Key: CB-2626
 URL: https://issues.apache.org/jira/browse/CB-2626
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Windows 8, WP7
Reporter: Joe Bowser
Assignee: Benn Mapes
 Fix For: 2.8.0




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-3464) Release Cordova 2.8.0rc1

2013-05-22 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-3464:
-

 Summary: Release Cordova 2.8.0rc1
 Key: CB-3464
 URL: https://issues.apache.org/jira/browse/CB-3464
 Project: Apache Cordova
  Issue Type: Task
  Components: Android, App Hello World, BlackBerry, CLI, CordovaJS, 
Docs, iOS, OSX, Windows 8, WP7, WP8
Reporter: Andrew Grieve
Assignee: Andrew Grieve


Parent bug for the 2.8.0rc1 Cordova Release.

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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-3465) Android Upgrade Documentation

2013-05-22 Thread Doug Millasich (JIRA)
Doug Millasich created CB-3465:
--

 Summary: Android Upgrade Documentation
 Key: CB-3465
 URL: https://issues.apache.org/jira/browse/CB-3465
 Project: Apache Cordova
  Issue Type: Bug
Affects Versions: 2.7.0, 2.6.0
Reporter: Doug Millasich
 Fix For: 2.7.0, 2.6.0


The upgrade descriptions for both Upgrade to 2.6.0 from 2.5.0 and Upgrade to 
2.7.0 from 2.6.0 has been removed from the documentation guides. I know it was 
there - recently, but it's been removed. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-3466) Create 2.8.x Branches

2013-05-22 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-3466:
-

 Summary: Create 2.8.x Branches
 Key: CB-3466
 URL: https://issues.apache.org/jira/browse/CB-3466
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Android, App Hello World, BlackBerry, CLI, CordovaJS, 
Docs, iOS, mobile-spec, OSX, Windows 8, WP7, WP8
Reporter: Andrew Grieve
Assignee: Andrew Grieve


Steps:
1. Create remote branches
2. Update all VERSION files


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-3467) Tag cordova-js and cordova-app-hello-world

2013-05-22 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-3467:
-

 Summary: Tag cordova-js and cordova-app-hello-world
 Key: CB-3467
 URL: https://issues.apache.org/jira/browse/CB-3467
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: App Hello World, CordovaJS
Reporter: Andrew Grieve
Assignee: Andrew Grieve


Steps:
1. Run jake tests
2. Tag  push

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-3468) Tag Android

2013-05-22 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-3468:
-

 Summary: Tag Android
 Key: CB-3468
 URL: https://issues.apache.org/jira/browse/CB-3468
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Android
Reporter: Andrew Grieve
Assignee: Joe Bowser


Steps:
1. Update cordova.js snapshot to newly tagged version
2. Update snapshot of cordova-app-hello-world within create template (if its 
changed since previous release)
3. Run Apache RAT
4. Test (refer to http://wiki.apache.org/cordova/CuttingReleases#What_to_Test)
5. Tag!


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-3469) Tag iOS

2013-05-22 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-3469:
-

 Summary: Tag iOS
 Key: CB-3469
 URL: https://issues.apache.org/jira/browse/CB-3469
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: iOS
Reporter: Andrew Grieve
Assignee: Shazron Abdullah


Steps:
1. Update cordova.js snapshot to newly tagged version
2. Add a new version macro to CDVAvailability.h (do this on master  
cherry-pick).
3. Update snapshot of cordova-app-hello-world within create template (if it has 
changed since previous release)
4. Run Apache RAT
5. Test (refer to http://wiki.apache.org/cordova/CuttingReleases#What_to_Test)
6. Tag!


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-3471) Tag Windows Phone 7

2013-05-22 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-3471:
-

 Summary: Tag Windows Phone 7
 Key: CB-3471
 URL: https://issues.apache.org/jira/browse/CB-3471
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: WP7
Reporter: Andrew Grieve
Assignee: Jesse MacFadyen


Steps:
1. Update cordova.js snapshot to newly tagged version
2. Update snapshot of cordova-app-hello-world within create template (if it has 
changed since previous release)
3. Run Apache RAT
4. Test (refer to http://wiki.apache.org/cordova/CuttingReleases#What_to_Test)
5. Tag!


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-3470) Tag Windows 8

2013-05-22 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-3470:
-

 Summary: Tag Windows 8
 Key: CB-3470
 URL: https://issues.apache.org/jira/browse/CB-3470
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Windows 8
Reporter: Andrew Grieve
Assignee: Jesse MacFadyen


Steps:
1. Update cordova.js snapshot to newly tagged version
2. Update snapshot of cordova-app-hello-world within create template (if it has 
changed since previous release)
3. Run Apache RAT
4. Test (refer to http://wiki.apache.org/cordova/CuttingReleases#What_to_Test)
5. Tag!


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-3472) Tag Windows Phone 8

2013-05-22 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-3472:
-

 Summary: Tag Windows Phone 8
 Key: CB-3472
 URL: https://issues.apache.org/jira/browse/CB-3472
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: WP8
Reporter: Andrew Grieve
Assignee: Jesse MacFadyen


Steps:
1. Update cordova.js snapshot to newly tagged version
2. Update snapshot of cordova-app-hello-world within create template (if it has 
changed since previous release)
3. Run Apache RAT
4. Test (refer to http://wiki.apache.org/cordova/CuttingReleases#What_to_Test)
5. Tag!


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-3474) Tag OSX

2013-05-22 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-3474:
-

 Summary: Tag OSX
 Key: CB-3474
 URL: https://issues.apache.org/jira/browse/CB-3474
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: OSX
Reporter: Andrew Grieve
Assignee: Shazron Abdullah


Steps:
1. Update cordova.js snapshot to newly tagged version
2. Update snapshot of cordova-app-hello-world within create template (if it has 
changed since previous release)
3. Run Apache RAT
4. Test (refer to http://wiki.apache.org/cordova/CuttingReleases#What_to_Test)
5. Tag!


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-3475) Tag Mobile-Spec

2013-05-22 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-3475:
-

 Summary: Tag Mobile-Spec
 Key: CB-3475
 URL: https://issues.apache.org/jira/browse/CB-3475
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: mobile-spec
Reporter: Andrew Grieve
Assignee: Andrew Grieve


This should wait until all platforms are tagged.

Steps:
1. Tag

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-3476) Tag CLI

2013-05-22 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-3476:
-

 Summary: Tag CLI
 Key: CB-3476
 URL: https://issues.apache.org/jira/browse/CB-3476
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: CLI
Reporter: Andrew Grieve
Assignee: Filip Maj


This should wait until all platforms are tagged.

Steps:
1. Update snapshot of repos within cordova-cli
2. Test that basic commands work properly (installing plugins, creating 
project, edit / refresh cycle)
3. Test that running CLI on a project created with a previous version of CLI 
works as expected
4. Tag

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3476) Tag CLI

2013-05-22 Thread Filip Maj (JIRA)

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

Filip Maj commented on CB-3476:
---

Sounds good. Ideally I would like to wait for [~shepheb]'s work on merging the 
future and master branches, which have latest, working plugman integration 
among other goodies. My understanding is that should be ready tomorrow.

 Tag CLI
 ---

 Key: CB-3476
 URL: https://issues.apache.org/jira/browse/CB-3476
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: CLI
Reporter: Andrew Grieve
Assignee: Filip Maj

 This should wait until all platforms are tagged.
 Steps:
 1. Update snapshot of repos within cordova-cli
 2. Test that basic commands work properly (installing plugins, creating 
 project, edit / refresh cycle)
 3. Test that running CLI on a project created with a previous version of CLI 
 works as expected
 4. Tag

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-3477) Tag Docs

2013-05-22 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-3477:
-

 Summary: Tag Docs
 Key: CB-3477
 URL: https://issues.apache.org/jira/browse/CB-3477
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Docs
Reporter: Andrew Grieve
Assignee: Michael Brooks


This should wait until all other repos are tagged.

Steps:
1. Update snapshot of docs using the release branch, then cherry-pick that into 
master.
2. Ensure docs are up-to-date by looking through the changelogs on all 
platforms (or at least cordova-js).
3. Tag


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-3478) Update JIRA Issues

2013-05-22 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-3478:
-

 Summary: Update JIRA Issues
 Key: CB-3478
 URL: https://issues.apache.org/jira/browse/CB-3478
 Project: Apache Cordova
  Issue Type: Sub-task
Reporter: Andrew Grieve
Assignee: Andrew Grieve


Steps:
1. Create a new JIRA version field value for 2.9 
2. Update all issues that are marked Fix Version = 2.8 to Fix Version = 2.9

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-3479) Upload and Announce Release Candidate

2013-05-22 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-3479:
-

 Summary: Upload and Announce Release Candidate
 Key: CB-3479
 URL: https://issues.apache.org/jira/browse/CB-3479
 Project: Apache Cordova
  Issue Type: Sub-task
Reporter: Andrew Grieve
Assignee: Andrew Grieve


Steps:
1. Create the .zip of the release candidate
2. Upload it to apache servers
3. Announce its availability to the mailing-list

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3017) Media API is failing playing sounds on WP8, it works fine on WP7

2013-05-22 Thread Karim (JIRA)

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

Karim commented on CB-3017:
---

Jesse,

Thanks for the feedback.  I had the wav files as content same as the images.  I 
changed the property to resource but still no sound.  I can give you my 
project, I have no issues with that.   But I want to give it just to you, since 
this is basically the entire game.  If the sound is fixed I am ready to publish 
it.  So how can I transfer the code just to you?  Any FTP location or direct 
email address that I can use?

Regards,

Karim Fierro






 Media API is failing playing sounds on WP8, it works fine on WP7
 

 Key: CB-3017
 URL: https://issues.apache.org/jira/browse/CB-3017
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP8
Affects Versions: 2.5.0
Reporter: Karim
Assignee: Jesse MacFadyen

 I have the same project for WP7 and the sounds play fine but for WP8 no sound 
 is played and I get the following output on the Visual Studio console:
 The thread 0x9a8 has exited with code 259 (0x103).
 A first chance exception of type 'System.NullReferenceException' occurred in 
 Real Domino WP8.DLL
 An exception of type 'System.NullReferenceException' occurred in Real Domino 
 WP8.DLL and wasn't handled before a managed/native boundary
 I see this in 2.5.0 and the recent 2.6.0 versions of cordova.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-3467) Tag cordova-js and cordova-app-hello-world

2013-05-22 Thread Andrew Grieve (JIRA)

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

Andrew Grieve resolved CB-3467.
---

Resolution: Fixed

 Tag cordova-js and cordova-app-hello-world
 --

 Key: CB-3467
 URL: https://issues.apache.org/jira/browse/CB-3467
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: App Hello World, CordovaJS
Reporter: Andrew Grieve
Assignee: Andrew Grieve

 Steps:
 1. Run jake tests
 2. Tag  push

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-3466) Create 2.8.x Branches

2013-05-22 Thread Andrew Grieve (JIRA)

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

Andrew Grieve resolved CB-3466.
---

Resolution: Fixed

- All branches created except for CLI.
- All VERSION files updated except for CLI.


 Create 2.8.x Branches
 -

 Key: CB-3466
 URL: https://issues.apache.org/jira/browse/CB-3466
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Android, App Hello World, BlackBerry, CLI, CordovaJS, 
 Docs, iOS, mobile-spec, OSX, Windows 8, WP7, WP8
Reporter: Andrew Grieve
Assignee: Andrew Grieve

 Steps:
 1. Create remote branches
 2. Update all VERSION files

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3464) Release Cordova 2.8.0rc1

2013-05-22 Thread Andrew Grieve (JIRA)

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

Andrew Grieve commented on CB-3464:
---

All JS snapshots were updated except for cordova-windows and cordova-blackberry.

 Release Cordova 2.8.0rc1
 

 Key: CB-3464
 URL: https://issues.apache.org/jira/browse/CB-3464
 Project: Apache Cordova
  Issue Type: Task
  Components: Android, App Hello World, BlackBerry, CLI, CordovaJS, 
 Docs, iOS, OSX, Windows 8, WP7, WP8
Reporter: Andrew Grieve
Assignee: Andrew Grieve

 Parent bug for the 2.8.0rc1 Cordova Release.
 Workflow here: 
 http://wiki.apache.org/cordova/CuttingReleases

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira