Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D8F4410D5F for ; Thu, 19 Feb 2015 19:42:30 +0000 (UTC) Received: (qmail 97013 invoked by uid 500); 19 Feb 2015 19:42:29 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 96975 invoked by uid 500); 19 Feb 2015 19:42:29 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 96961 invoked by uid 99); 19 Feb 2015 19:42:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Feb 2015 19:42:29 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of agrieve@google.com designates 209.85.213.182 as permitted sender) Received: from [209.85.213.182] (HELO mail-ig0-f182.google.com) (209.85.213.182) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Feb 2015 19:42:25 +0000 Received: by mail-ig0-f182.google.com with SMTP id h15so11985527igd.3 for ; Thu, 19 Feb 2015 11:41:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=pdRzreYLsYUVaL3kb4RuaKA07suF2+BLwvQxMnMW3ug=; b=CFax9NkjEnUX/hMCtOzffNiSEZIqME79XaUyVvzeudmZOapVOOCYjMS5rG4XXLnpOe xNL6i9iDbsSOphDhIN5DkR+V30sBzo0SXdP/ca7cpNNAyCMyjBsBsuq/hURYqjcqclQ8 cwkPM75yL/KmvINr87aEY/W0taxZm7j9kaxD0DUbYXAFGex7DpLcOakKo80fYvuhtzi+ p+MjykGFhm+IJYe8LH5NJZCVWPht5VO5r4qBxmxqaiXBbjWmybc9sz31IA9+MIUlqc6j IIzPs5ABsq7zyeBC7XtxX0JwTqLWI1aPpPE9fFnotKBzWaozuZHmAwItjkD7l6pHtid1 eshQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=pdRzreYLsYUVaL3kb4RuaKA07suF2+BLwvQxMnMW3ug=; b=nyhgCO66S+4v3+0uEaV/L+n+ta77wEI+aI2YdUtzIj5rKD7/oosGvwQD4nB4CNoOMX jXwWYKmIOdDnjj+oKH1CWaHYjM8S1BmsC3X83D5Os4v2bVrk13+2z2tskYIjhfNYxJRc zq4UKje9hxsuH8o4de6/jD+l+Sus2Y59MAm6o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:content-type; bh=pdRzreYLsYUVaL3kb4RuaKA07suF2+BLwvQxMnMW3ug=; b=EFuOMPwURWPl6Ffoestiiv9DOXWry/C6+9hknvk9Fd9rv/sSYS2f3/zh3uGdqutjIl 97hDtvpoGNAltKeCptnewi90BoE3WCLnsmChCNBxfqpdxN4TxFxp5LI1+rJsHO1WcFvZ Rbdj+hQ1s2eoKiqx/lbPBBwp/L30YjcfVwkuD1FhxMpYHLsN0LFNe1Gf8+6j4WNGHkLG dWozXhODJgitFU9gXtB/h+1VSQqyhLoy0In4JVP4+Ml77e99EJVwMSOUGH4sFN05Pixp 67iyYRRjmRc9nmZo/F7H1FUiv7qoK5sZ7L21M5o37oTaTGpCe9wveG03QNn8Kv8ShuDd h9DQ== X-Gm-Message-State: ALoCoQlTKx6zFCaQQKUuj6vzQztvxpIYF7Vdxrcw/tUuavvIxCNraksxhvPBHwIln5v4U7BYwun4 X-Received: by 10.107.170.220 with SMTP id g89mr8476685ioj.31.1424374879442; Thu, 19 Feb 2015 11:41:19 -0800 (PST) MIME-Version: 1.0 Sender: agrieve@google.com Received: by 10.36.3.136 with HTTP; Thu, 19 Feb 2015 11:40:58 -0800 (PST) In-Reply-To: References: From: Andrew Grieve Date: Thu, 19 Feb 2015 14:40:58 -0500 X-Google-Sender-Auth: WLIjr8diHM4C1G0_x6xVkzp8dDU Message-ID: Subject: Re: [DISCUSS] Cordova-Android 4.0.0 Release To: dev Content-Type: multipart/alternative; boundary=001a114159b8b79dbe050f761ec9 X-Virus-Checked: Checked by ClamAV on apache.org --001a114159b8b79dbe050f761ec9 Content-Type: text/plain; charset=UTF-8 Yes, did some no-op changes on master to make the PR diff smaller / more readable. Are you saying some relate to existing JIRA issues, or that some should make JIRA issues for? Not saying none are deserving of one, just want to clarify what you're thinking. On Thu, Feb 19, 2015 at 1:38 PM, Joe Bowser wrote: > Andrew, I noticed a bunch of commits done 3 hours ago that were added. > They're minor, but some should have some record in JIRA. I know that JIRA > is a mess, but since we've talked about the issues on the list, we should > probably track them. > > On Thu Feb 19 2015 at 11:32:07 AM Joe Bowser wrote: > > > I've done a quick read of the pull request and left some comments in > > there. I'm in Salt Lake this week, so I haven't had a chance to really > > test this pull request yet, but while I'm not in love with the naming > > convention used, it looks mostly OK. > > > > On Thu Feb 19 2015 at 11:19:51 AM Andrew Grieve > > wrote: > > > >> They would need to do similar to the PR for xwalk. It's actually a lot > >> less > >> code now to implement a custom engine, so I think it makes geckoview > much > >> more feasible. > >> > >> The embedded case (I'm guessing you mean layout xml?) is one of the unit > >> tests. Have a look here: > >> https://github.com/agrieve/cordova-android/blob/engine/test/ > >> src/org/apache/cordova/test/CordovaWebViewTestActivity.java > >> > >> If we delete LinearLayout, we just pass the WebView itself to > >> setContentView(). It will still have a FrameLayout as a parent (which is > >> the unchangeable root View of all Activities) > >> > >> For reference, here's now NativePageTransitions inserts their own > Layout: > >> https://github.com/Telerik-Verified-Plugins/NativePageTransitions/blob/ > >> master/src/android/NativePageTransitions.java#L74 > >> > >> On Thu, Feb 19, 2015 at 1:01 PM, Joe Bowser wrote: > >> > >> > So, I know that XWalk is the only production-ready WebView right now, > >> but > >> > what would other third party providers need to implement/change for > >> their > >> > webviews to work? Also, I'm not clear how the embedded CordovaWebView > >> use > >> > case would work in this scenario. If we delete the LinearLayout, what > >> do > >> > we attach our view for the default use case? > >> > > >> > On Thu Feb 19 2015 at 10:39:59 AM Andrew Grieve > > >> > wrote: > >> > > >> > > I've finished playing with third-party plugins. If anyone else wants > >> to > >> > > have fun with them, use --thirdpartyplugins in createmobilespec.js, > >> and > >> > > then find the manual test for them. > >> > > > >> > > TLDR - most compiled/worked fine. Two that interacted with Views a > lot > >> > had > >> > > lots of compile errors, but in the end I don't think there's a good > >> way > >> > to > >> > > fix them on our end. > >> > > > >> > > I've also taken some time to try and eliminate copy & paste between > >> > > AndroidWebView and XWalkWebView. I'd love to get some feedback on > the > >> > > changes (and hopefully get them in). More info /w PRs here: > >> > > > >> > > https://issues.apache.org/jira/browse/CB-8510 > >> > > > >> > > Another thing that came out of looking at these plugins is that they > >> add > >> > in > >> > > their own Layout, or have logic to handle various parent layout. > >> So... I > >> > > think we'd be fine (and should) delete our top-level LinearLayout. > >> > Plugins > >> > > and embedders can easily add in layouts if they want. > >> > > > >> > > Still waiting on a tools release for 3.7.1. > >> > > Still need to update platform docs for 4.0.0 > >> > > > >> > > But... I think that's it! (unless I'm missing something) > >> > > > >> > > > >> > > > >> > > On Wed, Feb 4, 2015 at 10:11 PM, Ian Clelland < > iclelland@chromium.org > >> > > >> > > wrote: > >> > > > >> > > > On Wed, Feb 4, 2015 at 7:58 PM, Fu, Junwei > >> > wrote: > >> > > > > >> > > > > What are the test cases don't work for Crosswalk? I'd like to do > >> > > whatever > >> > > > > I can to help. > >> > > > > > >> > > > > >> > > > So, Crosswalk 10 (and, I believe, 11) work great for Cordova. > There > >> is > >> > a > >> > > > failing test in File Transfer, though, that appears to be a > >> threading > >> > > issue > >> > > > causing a NPE deep inside of OkHTTP. > >> > > > > >> > > > It's very similar to a bug we solved almost a year ago: > >> > > > https://issues.apache.org/jira/browse/CB-6378, except that it's > >> > > happening > >> > > > in a different method, and while the last time, the cause was > >> obvious > >> > > > (connections opened on one thread, and closed on another), this > time > >> > > > everything *should* be happening on the same thread. > >> > > > > >> > > > I've just created https://issues.apache.org/jira/browse/CB-8431 > if > >> you > >> > > > want > >> > > > to take a look. I haven't had the chance to really dig into where > >> the > >> > > error > >> > > > is coming from yet, but I'll take a closer look tomorrow. > >> > > > > >> > > > Ian > >> > > > > >> > > > > >> > > > > >> > > > > > >> > > > > -----Original Message----- > >> > > > > From: agrieve@google.com [mailto:agrieve@google.com] On Behalf > Of > >> > > Andrew > >> > > > > Grieve > >> > > > > Sent: Thursday, February 05, 2015 3:43 AM > >> > > > > To: dev > >> > > > > Subject: Re: [DISCUSS] Cordova-Android 4.0.0 Release > >> > > > > > >> > > > > On Wed, Feb 4, 2015 at 2:25 PM, Joe Bowser > >> > wrote: > >> > > > > > >> > > > > > OK, so since we're using e-mail to do a sprint, here's where I > >> > think > >> > > > > > we're at so far. > >> > > > > > > >> > > > > > > >> > > > > > - Ian's been working on getting crosswalk 10 working and is > >> hitting > >> > > > > > some FileTransfer crash issues. > >> > > > > > (Apparently Crosswalk-11 works? Ian, what's happening with > >> this?) > >> > > > > > - Mobilespec really should be passing, let's investigate and > fix > >> > > > > > plugins / tests if they are the issues. > >> > > > > > > >> > > > > > Has anyone done this yet? > >> > > > > > > >> > > > > Don't think so. > >> > > > > > >> > > > > > > >> > > > > > - Android's update script is not preserving artifacts of > >> >> > > > > > type="gradleReference"/> (hoping to work on this today) > >> > > > > > > >> > > > > > Did you get around to doing this? > >> > > > > > > >> > > > > Done! > >> > > > > > >> > > > > > > >> > > > > > - *LinearLayoutSoftKeyboardDetect - delete it!* > >> > > > > > > >> > > > > > It's apparently already gone on Master. > >> > > > > > > >> > > > > Done! > >> > > > > > >> > > > > > > >> > > > > > - Ensure that our gradle support is to the point where plugins > >> can > >> > > > > > target android-sdk-provided libs (play services & -compat > libs) > >> > > > > > > >> > > > > > What needs to be done here? Is there a JIRA issue for this? > >> > > > > > > >> > > > > Done! Needs a tools release. > >> > > > > Haven't tested how bad the error messages are if you don't have > >> them > >> > > > > installed though. That seems like a can-be-done-after thing > (e.g. > >> If > >> > > the > >> > > > > error message sucks, we could: before build, pre-scan for > >> existence > >> > of > >> > > > them > >> > > > > in the SDK directly.) > >> > > > > > >> > > > > > > >> > > > > > - Make CordovaActivity not implement CordovaInterface, but > >> instead > >> > > > > > provide CordovaInterface via an inner class (to solidify that > >> you > >> > > > > > can't cast the activity to CordovaInterface and expect that to > >> > work - > >> > > > > > some used to do this but I think we've cleaned it all up now) > >> > > > > > > >> > > > > done! > >> > > > > > >> > > > > > >> > > > > > > >> > > > > > I know there's a vote pending for 3.7.1, and we still need > >> people > >> > to > >> > > > > > vote on that (I'll get around to it before the voting period > >> ends), > >> > > > > > but I'm wondering how close we are to getting a 4.0.0 vote > >> > happening? > >> > > > > > > >> > > > > > >> > > > > I'd like to do a bit more work with playing with third party > >> plugins > >> > in > >> > > > > mobilespec before we vote to release. Right now many of them > don't > >> > > > compile, > >> > > > > and I think the main reason is that CordovaWebView is not a > view. > >> > > > Planning > >> > > > > on writing up a report of how many popular plugins break, and > how > >> bad > >> > > it > >> > > > is > >> > > > > to fix them. > >> > > > > > >> > > > > Also need to update embedder's guide in docs (maybe create an > >> > > > android-4.0.0 > >> > > > > branch?) > >> > > > > Also need to do a plugins release for splashscreen (will start > >> > > shortly). > >> > > > > > >> > > > > > >> > > > > > > >> > > > > > > >> > > > > > > >> > > > > > On Tue Feb 03 2015 at 7:20:29 PM Fu, Junwei < > >> junwei.fu@intel.com> > >> > > > wrote: > >> > > > > > > >> > > > > > > Crosswalk engine have been tested in mobile-spec and owned > >> > > > > > > functionality tests with Crosswalk-11, and it was our plan > to > >> be > >> > > > > > > released. I request a PR in here > >> > > > > > > https://github.com/MobileChromeApps/cordova- > >> > > > > > > crosswalk-engine/pull/17. > >> > > > > > > > >> > > > > > > Thanks, > >> > > > > > > Junwei. > >> > > > > > > > >> > > > > > > -----Original Message----- > >> > > > > > > From: agrieve@google.com [mailto:agrieve@google.com] On > >> Behalf > >> > Of > >> > > > > > > Andrew Grieve > >> > > > > > > Sent: Wednesday, February 04, 2015 3:53 AM > >> > > > > > > To: dev > >> > > > > > > Subject: Re: [DISCUSS] Cordova-Android 4.0.0 Release > >> > > > > > > > >> > > > > > > And, of course, for your FileTransfer change :P > >> > > > > > > > >> > > > > > > I just last night finished up the fixing of >> > > custom=false> > >> > > > > > > for gradle-based builds, so we're certainly nearing the > finish > >> > line > >> > > > > > > for 4.0.0 known issues. > >> > > > > > > > >> > > > > > > Of the list from before, only remaining are: > >> > > > > > > > >> > > > > > > - Ian's been working on getting crosswalk 10 working and is > >> > hitting > >> > > > > > > some FileTransfer crash issues. > >> > > > > > > - Mobilespec really should be passing, let's investigate and > >> fix > >> > > > > > > plugins > >> > > > > > / > >> > > > > > > tests if they are the issues. > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > On Tue, Feb 3, 2015 at 2:46 PM, Darryl Pogue < > >> > dvpdiner2@gmail.com> > >> > > > > > wrote: > >> > > > > > > > >> > > > > > > > I just remembered that there should be a plugins release > >> before > >> > > > > > > > Android 4.0.0 goes out because of the moving of the > >> > splashscreen > >> > > > > > > > logic out of the platform and into the plugin. As far as I > >> can > >> > > > > > > > tell, that's still unreleased. > >> > > > > > > > > >> > > > > > > > ------------------------------ > >> ------------------------------ > >> > > ------ > >> > > > > > > > --- To unsubscribe, e-mail: dev-unsubscribe@cordova.apache > >> .org > >> > > > > > > > For additional commands, e-mail: > >> dev-help@cordova.apache.org > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > >> > > > > > > ------------------------------------------------------------ > >> > > -------- > >> > > > > > > - To unsubscribe, e-mail: > dev-unsubscribe@cordova.apache.org > >> > > > > > > For additional commands, e-mail: > dev-help@cordova.apache.org > >> > > > > > > > >> > > > > > > >> > > > > > >> > > > > >> > > > >> > > >> > > > --001a114159b8b79dbe050f761ec9--