hi shenyuan
i'd like to give a try , where could i find the document? ------------------ Original ------------------ From: "申远"<[email protected]>; Date: Wed, May 16, 2018 08:16 PM To: "Weex问题列表"<[email protected]>; Subject: Re: Replace Facebook's Yoga in Weex with Google's FlexboxLayouttoavoid potential license issue. 1. You can refer the TextcontentMeausurement, which suffers the same problem you met. Actually, there is a migration document written in Chinese, and it will save both of our time if you can give a hand to translate this document to Chinese. 2. The arrayset was already replaced by hashset considering your concern. > 在 2018年5月16日,18:03,陈泽峰 <[email protected]> 写道: > > Congratulations to WeexTeam. > Lots of changes were made in this version, it may lead to some compatibility > problems. > I notice 2 points on android: > 1、WXDomObject was removed, so some custom components must be > rewrite,especially when people do some key works in a custom WXDomObject, > they must do it another way. GCanvas is useing WXDomObject too so it's not > compatible to new version for now. > 2、support v4 library version must be >=25.1.0 because weex use arrayset . > > > I think there could be a guide page to help weex users do the sdk update. The > page may list the known issues so people won't face the same question again > and again.It may improve the development experience. > > > > ------------------ Original ------------------ > From: "Adam Feng"<[email protected]>; > Date: Wed, May 16, 2018 01:55 PM > To: "Weex问题列表"<[email protected]>; > > Subject: Re: Replace Facebook's Yoga in Weex with Google's FlexboxLayoutto > avoid potential license issue. > > > Great news, I’ll start releasing our second version in Apache next week. > > Thanks. > Adam Feng > > On 15 May 2018, 3:22 PM +0800, 申远 <[email protected]>, wrote: >> For ones concerned about this issue, Weex already switched to our own >> layout algorithm named Weex Layout based on Google's FlexboxLayout. >> >> As Google's FlexboxLayout is written in Java and highly coupled with >> Android View mechanism, it took us lots of time to rewrite Weex Layout >> using c++ and decoupled it with Android. Now, Weex Layout is a crossing >> platform layout algorithm written in pure C++ and used by Weex Android/iOS. >> >> The code is merged into master weeks before, and we will publish a new >> version of weex ASAP. >> >> Looking forward to your feedbacks. >> >> shihan zheng <[email protected]>于2017年11月29日周三 下午4:41写道: >> >>> hi shen yuan : >>> How about the project of replacing yoga layout engine now ? >>> >>> 2017-09-22 1:13 GMT+08:00 申远 <[email protected]>: >>> >>>> We will port the Java version of “Google/FlexboxLayout” to C++ once we >>>> have finished the work on Android. >>>>> 在 2017年9月21日,23:14,NetPuter <[email protected]> 写道: >>>>> >>>>> It looks like the "google/flexbox-layout" only support Android. How >>> about >>>>> the iOS version? >>>>> >>>>> 2017-09-20 20:22 GMT+08:00 shihan zheng <[email protected]>: >>>>> >>>>>> As we know,[The Apache Software Foundation bans the usage of >>>> Facebook >>>>>> BSD+Patents licensed in Apache products| >>>>>> https://www.apache.org/legal/resolved.html#category-x] >>>>>> The Facebook BSD+Patents license includes a specification of a PATENTS >>>> file >>>>>> that passes along risk to downstream consumers of our software >>>> imbalanced >>>>>> in favor of the licensor, not the licensee, thereby violating our >>> Apache >>>>>> legal policy of being a universal donor. The terms of Facebook >>>> BSD+Patents >>>>>> license are not a subset of those found in the ALv2, and they cannot >>> be >>>>>> sublicensed as ALv2.” >>>>>> Weex-Team have heard the news and we decide to remove Facebook >>>> Yoga >>>>>> with its additional Facebook BSD+Patents license. In order to release >>>> the >>>>>> next version as soon as possible, we will create a new LayoutEngine >>>> based >>>>>> on [the Google 's Flex-Layout| >>> https://github.com/google/flexbox-layout >>>> ]. >>>>>> see issue :https://issues.apache.org/jira/browse/WEEX-69 >>>>>> -- >>>>>> >>>>>> Best Regards! >>>>>> --------------------- >>>>>> Shihan Zheng (Weex project team member ) >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Best Regards, >>>>> NetPuter Lin *»* <http://netputer.me/ >>>> >>>> >>> >>> >>> -- >>> >>> Best Regards! >>> --------------------- >>> Shihan Zheng (Weex project team member ) >>> >> -- >> >> >> Best regards, >> >> York Shen
