Re: [Android] Can everyone run the tests?

2012-11-15 Thread Andrew Grieve
Awesome. The steps to run it in eclipse would be a good addition as well. I'll sign up to add the iOS unit test instructions. On Thu, Nov 15, 2012 at 8:11 PM, Joe Bowser wrote: > Web Driver is not necessary to run the tests. I'll get the command line > version working tomorrow. > On Nov 15, 20

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

2012-11-15 Thread Lindsey Simon (JIRA)
[ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498513#comment-13498513 ] Lindsey Simon commented on CB-1185: --- [~gregavola] Have you found any time or some such cons

Re: [Android] Can everyone run the tests?

2012-11-15 Thread Joe Bowser
Web Driver is not necessary to run the tests. I'll get the command line version working tomorrow. On Nov 15, 2012 5:05 PM, "Andrew Grieve" wrote: > Started to update wiki instructions... but what is the correct last step? > > === To run these tests from the command line: === > 1. Install "Google

Re: [Android] Can everyone run the tests?

2012-11-15 Thread Andrew Grieve
Started to update wiki instructions... but what is the correct last step? === To run these tests from the command line: === 1. Install "Google Web Driver" through the Android SKD Manager 1. Copy the extras/google/webdriver/android_webdriver_library.jar from the Android SDK into the framework/libs

[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-tabpanel&focusedCommentId=13498496#comment-13498496 ] Andrew Grieve commented on CB-1810: --- I don't have any concrete examples, but I think it wou

[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. > tes

[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 Joe Bowser (JIRA)
[ https://issues.apache.org/jira/browse/CB-1810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498464#comment-13498464 ] Joe Bowser commented on CB-1810: I guess CordovaInterface would have to be a singleton. A Co

[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-tabpanel&focusedCommentId=13498462#comment-13498462 ] Andrew Grieve commented on CB-1810: --- My thinking for putting it in CordovaInterface was tha

[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-tabpanel&focusedCommentId=13498463#comment-13498463 ] Joe Bowser commented on CB-1864: https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-

[jira] [Resolved] (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 resolved CB-1864. Resolution: Fixed HURRAY! Figured out how to trigger the back button programmatically! :D > B

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 wrote: > Better but I am still getting this http://pastebin.com/qKcuy91E > > > On Thu, Nov 15, 2012 at 9:56 AM, Jesse MacFadyen

Re: InAppBrowser api questions

2012-11-15 Thread Shazron
I updated the spec: http://wiki.apache.org/cordova/InAppBrowser However, I added the _blank option as well just to be explicit. On Thu, Nov 15, 2012 at 1:58 AM, Shazron wrote: > > I spent some time playing with how to do this. >> 1 - Use referer header - Too many situations result in no header,

[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-tabpanel&focusedCommentId=13498457#comment-13498457 ] Andrew Grieve commented on CB-1404: --- I added some logging to the exec bridge to try and fig

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 wrote: > 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 wrote: > > > Yeah, I moved

[jira] [Assigned] (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:all-tabpanel ] Joe Bowser reassigned CB-1810: -- Assignee: Andrew Grieve (was: Joe Bowser) I want to put this in the WebView object. Do you know any reas

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 wrote: > 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 letting them know everythin

[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-tabpanel&focusedCommentId=13498395#comment-13498395 ] john hight commented on CB-1404: I believe you've replicated the bug since the first alert yo

[jira] [Commented] (CB-1811) Previously hidden select dropdowns crashing the webview when focused upon

2012-11-15 Thread Adam Baldwin (JIRA)
[ https://issues.apache.org/jira/browse/CB-1811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498386#comment-13498386 ] Adam Baldwin commented on CB-1811: -- Yeah, tried a factory reset and update already, to no av

[jira] [Resolved] (CB-1811) Previously hidden select dropdowns crashing the webview when focused upon

2012-11-15 Thread Joe Bowser (JIRA)
[ https://issues.apache.org/jira/browse/CB-1811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser resolved CB-1811. Resolution: Cannot Reproduce We recently received a Samsung Galaxy S3 (Android 4.0.4), and we can't reproduce

[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 > --

[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: --- Description: Switched branches, broke back button. Did eclipse clean, back button works fine again. We need te

[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: Androi

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 easy

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.js: checks every args. logs errors and r

Re: Changes to the JS?

2012-11-15 Thread Gord Tanner
+1 On Thu, Nov 15, 2012 at 2:49 PM, Andrew Grieve 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. It's a bit confusing > because module.exports.objects in common.js don't clobbe

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 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. It's a bit confus

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 t

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 wrote: > Just a wild guess: > > Way back when ios 6.0 beta came out, same thing h

[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-tabpanel&focusedCommentId=13498270#comment-13498270 ] Andrew Grieve commented on CB-1404: --- Okay, I tried it again on the iOS 6 simulator. Wait fo

[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] [Updated] (CB-1848) device APIs should be looked at again

2012-11-15 Thread Gord (JIRA)
[ https://issues.apache.org/jira/browse/CB-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gord updated CB-1848: - JavaScript commit: https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-js.git;a=commitdiff;h=57dcbcc162ae2a56526b0a2a131

[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-tabpanel&focusedCommentId=13498240#comment-13498240 ] Joe Bowser commented on CB-1796: [~julienbier] Are you trying with 2.2.0 or just 2.0.

[jira] [Commented] (CB-1856) Offline Event fires twice on Jellybean

2012-11-15 Thread Joe Bowser (JIRA)
[ https://issues.apache.org/jira/browse/CB-1856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498241#comment-13498241 ] Joe Bowser commented on CB-1856: Yeah, this will end up being higher priority the more people

[jira] [Commented] (CB-1862) Problem with creation of multiple WebSQL databases

2012-11-15 Thread Joe Bowser (JIRA)
[ https://issues.apache.org/jira/browse/CB-1862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498237#comment-13498237 ] Joe Bowser commented on CB-1862: Can you provide some sample code to recreate this issue? Th

[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 heavy.

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, No

[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-tabpanel&focusedCommentId=13498196#comment-13498196 ] john hight commented on CB-1404: I've tried putting a try/catch around the call to stopRecord

[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 be

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 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 > > On 2012-11

[jira] [Resolved] (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 resolved CB-1860. - Resolution: Fixed Yeah, baseUrl is no longer used in DroidGap. It is in CordovaWebView so I removed

[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 errorUr

Re: cordova-js fails on windows 7

2012-11-15 Thread Gord Tanner
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 On 2012-11-15, at 1:37 AM, Jesse wrote: > Actually, it was here: > https://github.com/apache/incubator-cordova-js/blob/master/Jakefile#L73 > > I have pushed the fi

[jira] [Commented] (CB-1847) weinre: client c-2: weinre: invocation exception on WeinreClientEventsImpl.connectionCreated(): TypeError: Cannot call method 'indexOf' of undefined

2012-11-15 Thread Patrick Mueller (JIRA)
[ https://issues.apache.org/jira/browse/CB-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498031#comment-13498031 ] Patrick Mueller commented on CB-1847: - More information please. Can you run weinre with

Re: RIM/BlackBerry folk: please help

2012-11-15 Thread Nukul Bhasin
I agree with Gord's evaluation of the problem, The error you are getting is often because of buildId not getting incrementing Setting up debug tokens can really suck, but its the reality of where we are today. If you use QNX momentics (NDK tooling) it will hide all the ugliness for you. Command Li

Re: InAppBrowser api questions

2012-11-15 Thread Shazron
> I spent some time playing with how to do this. > 1 - Use referer header - Too many situations result in no header, so this > is out! > 2 - Use Cookies - if there were a way to have UIWebViews use separate > cookie jars, this might be feasible. Don't think that's possible. > 3 - Use User-Agent - t

[jira] [Created] (CB-1862) Problem with creation of multiple WebSQL databases

2012-11-15 Thread Julien Roche (JIRA)
Julien Roche created CB-1862: Summary: Problem with creation of multiple WebSQL databases Key: CB-1862 URL: https://issues.apache.org/jira/browse/CB-1862 Project: Apache Cordova Issue Type: Bug

[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 Ty

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

2012-11-15 Thread Moshe Elisha (JIRA)
Moshe Elisha created CB-1860: Summary: NPE in onReceivedError with non local errorUrl Key: CB-1860 URL: https://issues.apache.org/jira/browse/CB-1860 Project: Apache Cordova Issue Type: Bug

[jira] [Updated] (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:all-tabpanel ] Remzi Cavdar updated CB-1846: - Attachment: Menofood BETA.zip We are making an application, which uses this offline event of Codova. This i

[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-tabpanel&focusedCommentId=13497855#comment-13497855 ] Remzi Cavdar commented on CB-1846: -- So can anyone look at the code? I have attached a .zip f

[jira] [Reopened] (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:all-tabpanel ] Remzi Cavdar reopened CB-1846: -- But why the code doesn't work for me? And I use Google Nexus 7 with Android 4.1.2 And Samsung Galaxy S2 with