[jira] [Commented] (CB-1846) Offline event doesn't work

2012-11-15 Thread Remzi Cavdar (JIRA)
[ https://issues.apache.org/jira/browse/CB-1846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13497855#comment-13497855 ] Remzi Cavdar commented on CB-1846: -- So can anyone look at the code? I have attached a .zip

[jira] [Created] (CB-1861) Add default wildcard to Cordova.plist/ExternalHosts

2012-11-15 Thread Shazron Abdullah (JIRA)
Shazron Abdullah created CB-1861: Summary: Add default wildcard to Cordova.plist/ExternalHosts Key: CB-1861 URL: https://issues.apache.org/jira/browse/CB-1861 Project: Apache Cordova Issue

[jira] [Assigned] (CB-1860) NPE in onReceivedError with non local errorUrl

2012-11-15 Thread Simon MacDonald (JIRA)
[ https://issues.apache.org/jira/browse/CB-1860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Simon MacDonald reassigned CB-1860: --- Assignee: Simon MacDonald (was: Joe Bowser) NPE in onReceivedError with non local

Re: cordova-js fails on windows 7

2012-11-15 Thread Jesse MacFadyen
Not using it, but the build was broken for windows devs. Cheers, Jesse Sent from my iPhone5 On 2012-11-15, at 6:19 AM, Gord Tanner gtan...@gmail.com wrote: Yeah, I moved the debug versions of Cordova.js into a debug folder. What are you using the debug version for? Sent from my iPhone

[jira] [Closed] (CB-1846) Offline event doesn't work

2012-11-15 Thread Andrew Grieve (JIRA)
[ https://issues.apache.org/jira/browse/CB-1846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Grieve closed CB-1846. - Resolution: Invalid Looked at your app. The problem is that you're never attaching your offline listener

[jira] [Commented] (CB-1404) EXC_BAD_ACCESS when using XHR_WITH_PAYLOAD bridge mode

2012-11-15 Thread john hight (JIRA)
[ https://issues.apache.org/jira/browse/CB-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13498196#comment-13498196 ] john hight commented on CB-1404: I've tried putting a try/catch around the call to

Re: Changes to the JS?

2012-11-15 Thread Michal Mocny
Just a wild guess: Way back when ios 6.0 beta came out, same thing happened due to webview adding a semi complete implementation, and we weren't forcing a clobber. Perhaps you updated to android 4.2 and perhaps its webview also added something and also needs a forced clobber.. -Michal On Thu,

[jira] [Resolved] (CB-1513) Cordova app gets killed by garbage collector when out of memory due to camera

2012-11-15 Thread Joe Bowser (JIRA)
[ https://issues.apache.org/jira/browse/CB-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser resolved CB-1513. Resolution: Won't Fix Assignee: Joe Bowser (was: Simon MacDonald) OK, once again I get to be the

[jira] [Commented] (CB-1796) camera.getPicture: the photo file is corrupted.

2012-11-15 Thread Joe Bowser (JIRA)
[ https://issues.apache.org/jira/browse/CB-1796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13498240#comment-13498240 ] Joe Bowser commented on CB-1796: [~julienbier] Are you trying with 2.2.0 or just 2.0.

[jira] [Created] (CB-1863) FileTransfer.abort needs a quick example

2012-11-15 Thread Shazron Abdullah (JIRA)
Shazron Abdullah created CB-1863: Summary: FileTransfer.abort needs a quick example Key: CB-1863 URL: https://issues.apache.org/jira/browse/CB-1863 Project: Apache Cordova Issue Type: Task

[jira] [Commented] (CB-1404) EXC_BAD_ACCESS when using XHR_WITH_PAYLOAD bridge mode

2012-11-15 Thread Andrew Grieve (JIRA)
[ https://issues.apache.org/jira/browse/CB-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13498270#comment-13498270 ] Andrew Grieve commented on CB-1404: --- Okay, I tried it again on the iOS 6 simulator. Wait

Re: Changes to the JS?

2012-11-15 Thread Simon MacDonald
Nope, it was a change to the JS. The objects are no longer being clobbered correctly. I know who to bug now. Thanks all. Simon Mac Donald http://hi.im/simonmacdonald On Thu, Nov 15, 2012 at 1:25 PM, Michal Mocny mmo...@chromium.org wrote: Just a wild guess: Way back when ios 6.0 beta came

Re: Changes to the JS?

2012-11-15 Thread Andrew Grieve
Oh! This reminds me... When I was doing the navigator.connection work, I had a tough time figuring out how to get the builder to do the correct thing. It's a bit confusing because module.exports.objects in common.js don't clobber, but module.exports.objects in platform.js *do* clobber. I wanted

Re: Changes to the JS?

2012-11-15 Thread Simon MacDonald
We need to talk :) Simon Mac Donald http://hi.im/simonmacdonald On Thu, Nov 15, 2012 at 2:49 PM, Andrew Grieve agri...@chromium.org wrote: Oh! This reminds me... When I was doing the navigator.connection work, I had a tough time figuring out how to get the builder to do the correct thing.

Type checking in Cordova JS plugins

2012-11-15 Thread Andrew Grieve
There's very little consistency when it comes to checking params in plugin code. globalization.jshttps://git-wip-us.apache.org/repos/asf?p=incubator-cordova-js.git;a=blob;f=lib/common/plugin/globalization.js;h=a57062ce8b1e0cc95dde54f8ca600f6ee4876bfd;hb=HEAD: checks every args. logs errors and

Re: Type checking in Cordova JS plugins

2012-11-15 Thread Jesse MacFadyen
My answers/opinion 1. Up to the plugin developer 2. Up to the plugin developer 3. Up to the plugin developer However, that does not mean that we can't make the existing APIs handle params a little more consistently. Also, we could expose typeChecking helper methods, although they are pretty

[jira] [Created] (CB-1864) Back Button is broken again

2012-11-15 Thread Joe Bowser (JIRA)
Joe Bowser created CB-1864: -- Summary: Back Button is broken again Key: CB-1864 URL: https://issues.apache.org/jira/browse/CB-1864 Project: Apache Cordova Issue Type: Bug Components:

[jira] [Updated] (CB-1864) Back Button breaks too often, needs better tests

2012-11-15 Thread Joe Bowser (JIRA)
[ https://issues.apache.org/jira/browse/CB-1864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser updated CB-1864: --- Issue Type: Test (was: Bug) Back Button breaks too often, needs better tests

Re: Changes to the JS?

2012-11-15 Thread Andrew Grieve
Whoops, didn't notice that! Done! On Thu, Nov 15, 2012 at 4:25 PM, Simon MacDonald simon.macdon...@gmail.comwrote: Yup, all File tests are passing for me too. In FileTransfer only one of the abort tests fails to run. BTW this thread is only me and you. You might want to post to the list

Re: cordova-js fails on windows 7

2012-11-15 Thread Anis KADRI
Better but I am still getting this http://pastebin.com/qKcuy91E On Thu, Nov 15, 2012 at 9:56 AM, Jesse MacFadyen purplecabb...@gmail.comwrote: Not using it, but the build was broken for windows devs. Cheers, Jesse Sent from my iPhone5 On 2012-11-15, at 6:19 AM, Gord Tanner

[jira] [Commented] (CB-1404) EXC_BAD_ACCESS when using XHR_WITH_PAYLOAD bridge mode

2012-11-15 Thread Andrew Grieve (JIRA)
[ https://issues.apache.org/jira/browse/CB-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13498457#comment-13498457 ] Andrew Grieve commented on CB-1404: --- I added some logging to the exec bridge to try and

Re: cordova-js fails on windows 7

2012-11-15 Thread Jesse
Yes, that is all the test BS, which is hooped on windows, and IMHO not worth the work. I just use: jake build or jake btest On Thu, Nov 15, 2012 at 3:49 PM, Anis KADRI anis.ka...@gmail.com wrote: Better but I am still getting this http://pastebin.com/qKcuy91E On Thu, Nov 15, 2012 at 9:56

[jira] [Commented] (CB-1810) CordovaWebView does not work as a component without providing it a ThreadPool

2012-11-15 Thread Andrew Grieve (JIRA)
[ https://issues.apache.org/jira/browse/CB-1810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13498462#comment-13498462 ] Andrew Grieve commented on CB-1810: --- My thinking for putting it in CordovaInterface was

[jira] [Commented] (CB-1864) Back Button breaks too often, needs better tests

2012-11-15 Thread Joe Bowser (JIRA)
[ https://issues.apache.org/jira/browse/CB-1864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13498463#comment-13498463 ] Joe Bowser commented on CB-1864:

[jira] [Commented] (CB-1810) CordovaWebView does not work as a component without providing it a ThreadPool

2012-11-15 Thread Joe Bowser (JIRA)
[ https://issues.apache.org/jira/browse/CB-1810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13498464#comment-13498464 ] Joe Bowser commented on CB-1810: I guess CordovaInterface would have to be a singleton. A

[jira] [Resolved] (CB-1803) testHref test fails when running the back button test case

2012-11-15 Thread Joe Bowser (JIRA)
[ https://issues.apache.org/jira/browse/CB-1803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser resolved CB-1803. Resolution: Cannot Reproduce The problem went away when I added the button press tests.

[jira] [Assigned] (CB-573) Automate Backbutton jQM tab test

2012-11-15 Thread Joe Bowser (JIRA)
[ https://issues.apache.org/jira/browse/CB-573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser reassigned CB-573: - Assignee: Joe Bowser (was: Filip Maj) Automate Backbutton jQM tab test

[jira] [Commented] (CB-1810) CordovaWebView does not work as a component without providing it a ThreadPool

2012-11-15 Thread Andrew Grieve (JIRA)
[ https://issues.apache.org/jira/browse/CB-1810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13498496#comment-13498496 ] Andrew Grieve commented on CB-1810: --- I don't have any concrete examples, but I think it