[jira] [Resolved] (WEEX-98) addEvent will lead to view load again, especially the view just re-used for memory usage

2018-04-04 Thread Adam Feng (JIRA)

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

Adam Feng resolved WEEX-98.
---
Resolution: Fixed

> addEvent will lead to view load again, especially the view just re-used for 
> memory usage
> 
>
> Key: WEEX-98
> URL: https://issues.apache.org/jira/browse/WEEX-98
> Project: Weex
>  Issue Type: Bug
>  Components: iOS
>Reporter: xingZhang
>Assignee: Adam Feng
>Priority: Major
>
>   In most case , element in cell will be re-use for memory especially in very 
> long list, but if I call addEvent for this element, here will generate a new 
> view for this element.
>  For instance, image element in cell  will re-use if it is disappear in 
> vision area, and loaded again while it back to visual area. In this case , 
> when it disappear, just add event such as click, touch and so on , it will 
> then generate a new view ,and load image again, although it is off-screen.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (WEEX-97) font-weight and linear-gradient can't be reset on iOS and web

2018-04-04 Thread Adam Feng (JIRA)

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

Adam Feng resolved WEEX-97.
---
Resolution: Fixed

> font-weight and linear-gradient can't be reset on iOS and web
> -
>
> Key: WEEX-97
> URL: https://issues.apache.org/jira/browse/WEEX-97
> Project: Weex
>  Issue Type: Bug
>  Components: iOS, Web Renderer
>Reporter: Hanks Zhang
>Assignee: xingZhang
>Priority: Major
>
> See the example below, click the tex will toggle its styles. But the 
> font-weight couldn't be reset on iOS, the linear-gradient couldn't be reset 
> on web. Android is fine.
> http://dotwe.org/vue/ecf6a20bde4c42ae4e7b6314ebce4438



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (WEEX-94) scroller component can lead to crash in iOS 8 and older iOS version

2018-04-04 Thread Adam Feng (JIRA)

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

Adam Feng resolved WEEX-94.
---
Resolution: Fixed

> scroller component can lead to crash in iOS 8 and older iOS version
> ---
>
> Key: WEEX-94
> URL: https://issues.apache.org/jira/browse/WEEX-94
> Project: Weex
>  Issue Type: Bug
>  Components: iOS
>Reporter: xingZhang
>Assignee: Adam Feng
>Priority: Major
> Attachments: 屏幕快照 2017-11-07 20.47.29.png
>
>
>As iOS developers knows, assign property object will not be set as nil 
> when its object deallocated, and weak property will do.
>We found crash only on iOS 8 about scrollview delegate zombie object now, 
> it is necessary to fix it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (WEEX-87) * Fix that moveElement doesn't work when parent is not a list

2018-04-04 Thread Adam Feng (JIRA)

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

Adam Feng resolved WEEX-87.
---
Resolution: Fixed

> * Fix that moveElement doesn't work when parent is not a list
> -
>
> Key: WEEX-87
> URL: https://issues.apache.org/jira/browse/WEEX-87
> Project: Weex
>  Issue Type: Bug
>Reporter: YorkShen
>Assignee: Adam Feng
>Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (WEEX-90) Remove The Legacy Weex DSL 1.0 (.we) Front-End Framework

2018-04-04 Thread Adam Feng (JIRA)

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

Adam Feng resolved WEEX-90.
---
Resolution: Fixed

> Remove The Legacy Weex DSL 1.0 (.we) Front-End Framework
> 
>
> Key: WEEX-90
> URL: https://issues.apache.org/jira/browse/WEEX-90
> Project: Weex
>  Issue Type: Bug
>Reporter: Hanks Zhang
>Assignee: Adam Feng
>Priority: Major
>
> Weex DSL 1.0 (.we) front-end framework is inspired by Vue.js 1.0. Since Weex 
> supports the official Vue.js 2.0 in v0.10.0 [1] at 2017-02-17, the ".we" 
> framework is deprecated. In order to optimize the performance, stability, and 
> package size, this legacy framework should be removed from the WeexSDK.
> I suggest removing the ".we" framework in the 2018 January release of WeexSDK.
> For the projects who are still using the ".we" framework, you can read the 
> "Migration From .we Framework" [2] and "The Syntax Difference Between .we and 
> .vue" [3] documents to help you migrate your ".we" project to Vue.js 2.0 
> project. But those documents only have Chinese version.
> [1] https://github.com/alibaba/weex/releases/tag/v0.10.0
> [2] http://weex-project.io/cn/references/migration/migration-from-weex.html
> [3] http://weex-project.io/cn/references/migration/difference.html



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (WEEX-83) Image padding properties not works on ios

2018-04-04 Thread Adam Feng (JIRA)

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

Adam Feng resolved WEEX-83.
---
Resolution: Fixed

> Image padding properties not works on ios
> -
>
> Key: WEEX-83
> URL: https://issues.apache.org/jira/browse/WEEX-83
> Project: Weex
>  Issue Type: Bug
>Reporter: xingjiu
>Assignee: Adam Feng
>Priority: Major
> Attachments: IMG_4300.png, Screenshot_20171013-154820_[b...@176f60.png
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> Demo here:http://dotwe.org/vue/3cbf678439d909a53513eca8ca52a986
> padding not works at image component on iOS.  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Closed] (WEEX-77) weex闪退问题

2018-04-04 Thread Adam Feng (JIRA)

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

Adam Feng closed WEEX-77.
-
Resolution: Cannot Reproduce

> weex闪退问题
> 
>
> Key: WEEX-77
> URL: https://issues.apache.org/jira/browse/WEEX-77
> Project: Weex
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 0.16
>Reporter: bangyuezou
>Assignee: zhengshihan
>Priority: Major
>
> 1Caused by: java.lang.ArrayIndexOutOfBoundsException: length=8192; index=8192
> 2at com.android.okhttp.okio.Buffer.writeUtf8(Buffer.java:818)
> 3at com.android.okhttp.okio.Buffer.writeUtf8(Buffer.java:793)
> 4at 
> com.android.okhttp.okio.RealBufferedSink.writeUtf8(RealBufferedSink.java:57)
> 5at 
> com.android.okhttp.internal.http.HttpConnection.writeRequest(HttpConnection.java:172)
> 6at 
> com.android.okhttp.internal.http.HttpTransport.writeRequestHeaders(HttpTransport.java:76)
> 7at 
> com.android.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:766)
> 8at 
> com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:463)
> 9at 
> com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:405)
> 10at 
> com.android.okhttp.internal.huc.HttpURLConnectionImpl.getHeaders(HttpURLConnectionImpl.java:162)
> 11at 
> com.android.okhttp.internal.huc.HttpURLConnectionImpl.getHeaderFields(HttpURLConnectionImpl.java:222)
> 12at 
> com.networkbench.agent.impl.instrumentation.NBSHttpURLConnectionExtension.getHeaderFields(SourceFile)
> 13at 
> com.taobao.weex.adapter.DefaultWXHttpAdapter$1.run(DefaultWXHttpAdapter.java)
> 14at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
> 15at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
> 16at java.lang.Thread.run(Thread.java:776)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Closed] (WEEX-70) weex pull request rules discuss

2018-04-04 Thread Adam Feng (JIRA)

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

Adam Feng closed WEEX-70.
-
Resolution: Won't Fix

> weex pull request rules discuss
> ---
>
> Key: WEEX-70
> URL: https://issues.apache.org/jira/browse/WEEX-70
> Project: Weex
>  Issue Type: Improvement
>  Components: Project 
>Affects Versions: 0.17
>Reporter: Zechang Xie
>Assignee: Adam Feng
>Priority: Major
>
> weex pull request rules discuss for better run weex in apache.
> give me your suggest.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Closed] (WEEX-71) weex commit and pr log rules discuss

2018-04-04 Thread Adam Feng (JIRA)

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

Adam Feng closed WEEX-71.
-
Resolution: Won't Fix

> weex commit and pr log rules discuss
> 
>
> Key: WEEX-71
> URL: https://issues.apache.org/jira/browse/WEEX-71
> Project: Weex
>  Issue Type: Improvement
>  Components: Project 
>Affects Versions: 0.17
>Reporter: Zechang Xie
>Assignee: Zechang Xie
>Priority: Major
>  Labels: discussion
>
> weex commit and pr log rules discuss for better running weex in apache



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (WEEX-73) Add “onPullingDownEnd” Method in WXRefresh component

2018-04-04 Thread Adam Feng (JIRA)

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

Adam Feng resolved WEEX-73.
---
Resolution: Fixed

> Add “onPullingDownEnd” Method in WXRefresh component
> 
>
> Key: WEEX-73
> URL: https://issues.apache.org/jira/browse/WEEX-73
> Project: Weex
>  Issue Type: New Feature
>  Components: Android, iOS
>Affects Versions: 0.13
>Reporter: kacakong
>Assignee: zhengshihan
>Priority: Major
>
> When the Refresh component is used, the onRefresh is not executed immediately 
> after the execution of the onPullingDown, but the onRefresh is executed after 
> the animation execution has completed. Please add a onPullingDownEnd method 
> to execute before the animation starts.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (WEEX-65) Refactor the implementation of resize on image

2018-04-04 Thread Adam Feng (JIRA)

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

Adam Feng resolved WEEX-65.
---
Resolution: Fixed

> Refactor the implementation of resize on image
> --
>
> Key: WEEX-65
> URL: https://issues.apache.org/jira/browse/WEEX-65
> Project: Weex
>  Issue Type: Improvement
>Reporter: YorkShen
>Assignee: YorkShen
>Priority: Minor
>
> There is no need that the resize attribute on image relies on 
> ImageView.scaleType. Make ImageDrawable do all the work.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (WEEX-66) Support FlatGUI

2018-04-04 Thread Adam Feng (JIRA)

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

Adam Feng resolved WEEX-66.
---
Resolution: Fixed

> Support FlatGUI
> ---
>
> Key: WEEX-66
> URL: https://issues.apache.org/jira/browse/WEEX-66
> Project: Weex
>  Issue Type: New Feature
>Reporter: YorkShen
>Assignee: YorkShen
>Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Closed] (WEEX-52) Add auto for ImageQuality

2018-04-04 Thread Adam Feng (JIRA)

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

Adam Feng closed WEEX-52.
-
Resolution: Fixed

> Add auto for ImageQuality
> -
>
> Key: WEEX-52
> URL: https://issues.apache.org/jira/browse/WEEX-52
> Project: Weex
>  Issue Type: New Feature
>  Components: Android
>Reporter: YorkShen
>Assignee: YorkShen
>Priority: Major
> Fix For: 0.15
>
>
> Add auto for ImageQuality, and the imageAdapter decides the meaning of auto.
> The default of quality will be changed to auto



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (WEEX-45) clearTimeout and clearInterval doesn't work when funId is greater than 127

2018-04-04 Thread Adam Feng (JIRA)

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

Adam Feng resolved WEEX-45.
---
Resolution: Fixed

> clearTimeout and clearInterval doesn't work when funId is greater than 127
> --
>
> Key: WEEX-45
> URL: https://issues.apache.org/jira/browse/WEEX-45
> Project: Weex
>  Issue Type: Bug
>Reporter: YorkShen
>Assignee: YorkShen
>Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (WEEX-44) Add script to upload snapshot artifact to maven/pods repo

2018-04-04 Thread Adam Feng (JIRA)

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

Adam Feng resolved WEEX-44.
---
Resolution: Fixed

> Add script to upload snapshot artifact to maven/pods repo
> -
>
> Key: WEEX-44
> URL: https://issues.apache.org/jira/browse/WEEX-44
> Project: Weex
>  Issue Type: Sub-task
>  Components: Project 
>Reporter: sospartan
>Assignee: xingZhang
>Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Closed] (WEEX-43) Add release job to travis CI

2018-04-04 Thread Adam Feng (JIRA)

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

Adam Feng closed WEEX-43.
-
Resolution: Incomplete

> Add release job to travis CI
> 
>
> Key: WEEX-43
> URL: https://issues.apache.org/jira/browse/WEEX-43
> Project: Weex
>  Issue Type: Task
>  Components: Project 
>Reporter: sospartan
>Assignee: Zechang Xie
>Priority: Major
>
> Some changes will make to project's travis config:   
> * Put commands to `.travis` config use `if` statement, avoid using script 
> file will make more easier to determine problems.
> * Add our release test
>   * Create a release source tarball
>   * test build script for source release
>   * upload daily build artfacts (This will wait until we add snapshot upload 
> script)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (WEEX-19) Weex(iOS),If want to let the frame adjust content's height, you need set frame(0, 0, width, NAN), but it sometime will crash

2018-04-04 Thread Adam Feng (JIRA)

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

Adam Feng resolved WEEX-19.
---
Resolution: Fixed

> Weex(iOS),If want to let the frame adjust content's height, you need set 
> frame(0, 0, width, NAN), but it sometime will crash
> 
>
> Key: WEEX-19
> URL: https://issues.apache.org/jira/browse/WEEX-19
> Project: Weex
>  Issue Type: Bug
> Environment: iOS
>Reporter: yuedong
>Assignee: xingZhang
>Priority: Major
>
> - (void)setFrame:(CGRect)frame
> {
> if (!CGRectEqualToRect(frame, _frame)) {
> _frame = frame;
> WXPerformBlockOnMainThread(^{
> if (_rootView) {
> _rootView.frame = frame;
> WXPerformBlockOnComponentThread(^{
> [self.componentManager rootViewFrameDidChange:frame];
> });
> }
> });
> }
> }
> if the _rootView is not nil, the frame(0, 0, width, NAN) will direct set to 
> _rootView, then will crash.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (WEEX-33) Config Ability in weex

2018-04-04 Thread Adam Feng (JIRA)

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

Adam Feng resolved WEEX-33.
---
Resolution: Fixed

> Config Ability in weex
> --
>
> Key: WEEX-33
> URL: https://issues.apache.org/jira/browse/WEEX-33
> Project: Weex
>  Issue Type: New Feature
>Reporter: xingjiu
>Assignee: xingZhang
>Priority: Major
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> Background:
> As we know, weex now has NO config module. Every mobile of weex are using the 
> same config (the config in source code).
> More and more module or component requires the ability to sperate one from 
> each other.
> Such as Prefetch, Prerender module. There should be a way to config the how 
> the module works, like how many items it cound do the prefetch. This config 
> will be different in different apps.
> Solution:
> Add a module named of WXConfigModule in weex_sdk, a simple key-value storage 
> is enough.
> API is
> void setConfig(String name, Object value)
> Object getConfig(String name)
> void sync(String name) // get the lastest config from server
> void syncAll()
> void invalid(String name) // option.  invalid a config for once, using in 
> debug of bugfix scenario
> The default implement is calling the config interface. 
> App like TAOBAO will using orange to sync configs from server.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (WEEX-247) list中包含scoller时卡顿

2018-04-04 Thread codefurture (JIRA)

[ 
https://issues.apache.org/jira/browse/WEEX-247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16425351#comment-16425351
 ] 

codefurture commented on WEEX-247:
--

http://dotwe.org/vue/7aa9f8be7d205a617aedd912f7dfa429

> list中包含scoller时卡顿
> -
>
> Key: WEEX-247
> URL: https://issues.apache.org/jira/browse/WEEX-247
> Project: Weex
>  Issue Type: Improvement
>  Components: Android
>Affects Versions: 0.18
> Environment: 安卓和ios均卡顿,安卓低端机效果更明显
>Reporter: fudongrong
>Assignee: zhengshihan
>Priority: Critical
> Attachments: 1522726701.jpg
>
>
> 在纵向List中包含横向scoller时,占用内存过大,导致页面卡顿,安卓平台较明显。代码大致如下:
>      :style="list_style" 
>     loadmoreoffset="10"
>     @loadmore="onloadmore"
>     >
>   
>       scroll-direction="horizontal" 
>     show-scrollbar="false">
>  
> 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (WEEX-273) The application may be doing too much work on its main thread

2018-04-04 Thread codefurture (JIRA)

[ 
https://issues.apache.org/jira/browse/WEEX-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16425343#comment-16425343
 ] 

codefurture commented on WEEX-273:
--

when spa will lead too many views, when you change to page 2, remove page one 
node and state

> The application may be doing too much work on its main thread
> -
>
> Key: WEEX-273
> URL: https://issues.apache.org/jira/browse/WEEX-273
> Project: Weex
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 0.18
> Environment: platform:android
> version:5.1.0
> weex version:0.18.0-beta-2
>Reporter: mjsornp
>Assignee: zhengshihan
>Priority: Critical
>
> our android platform operate step as below:
>  # weex page(SPA mode, page 1) start anothor APK to scan QR code
>  # another APK scan QR code and then finish()
>  # weex onActivityResult invoke jsCallBack  to show QR code content in weex 
> page(SPA mode, page2)
>  #  The weex page2 sometimes display slow after another APK scan code 
> Activity has finished.
>  
> The android log show:
> Choreographer: Skipped 37 frames!  The application may be doing too much work 
> on its main thread.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (WEEX-276) weex list data lost when I pull down to load more then pull up to refresh

2018-04-04 Thread codefurture (JIRA)

[ 
https://issues.apache.org/jira/browse/WEEX-276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16425342#comment-16425342
 ] 

codefurture commented on WEEX-276:
--

get the issues, we will have a try and fix it after qingming holiday

> weex list data lost when I pull down to load more then pull up to refresh
> -
>
> Key: WEEX-276
> URL: https://issues.apache.org/jira/browse/WEEX-276
> Project: Weex
>  Issue Type: Bug
>  Components: Android
> Environment: android 设备,supportLibVersion 大于 "26.1.0",如26.1.0 / 
> 27.0.1 都有问题
>Reporter: zhuyifei
>Assignee: Adam Feng
>Priority: Critical
>
> weex list 
> 上拉加载更多然后下拉刷新出现数据丢失,稳定重显。经过排查,发现跟supportLibVersion相关,回退到25.2.0版本就没问题了,高于26.1.0就会稳定出现。
> 附上android demo https://github.com/yifei8/android-weex



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (WEEX-278) Android中readerByUrl的默认超时为3秒,请开放设置接口

2018-04-04 Thread codefurture (JIRA)

[ 
https://issues.apache.org/jira/browse/WEEX-278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16425341#comment-16425341
 ] 

codefurture commented on WEEX-278:
--

config it when native application init

> Android中readerByUrl的默认超时为3秒,请开放设置接口
> ---
>
> Key: WEEX-278
> URL: https://issues.apache.org/jira/browse/WEEX-278
> Project: Weex
>  Issue Type: Improvement
>  Components: Android
>Affects Versions: 0.12, 0.13, 0.14, 0.15, 0.16, 0.17, 0.18
>Reporter: chen wu
>Assignee: Adam Feng
>Priority: Major
> Fix For: 0.18
>
>
> 在android中,网络访问js,
> DefaultWXHttpAdapter默认超时3秒,可不可以发开这个设置通过配置进行修改



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (WEEX-208) 两个结构类似的数据合并前,产生数据污染

2018-04-04 Thread Adam Feng (JIRA)

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

Adam Feng resolved WEEX-208.

Resolution: Fixed

> 两个结构类似的数据合并前,产生数据污染
> ---
>
> Key: WEEX-208
> URL: https://issues.apache.org/jira/browse/WEEX-208
> Project: Weex
>  Issue Type: Bug
>  Components: Web Renderer
>Affects Versions: 0.12
>Reporter: 华逢义
>Assignee: Danz He
>Priority: Major
> Attachments: Catch(02-07-15-24-02).jpg, Catch367C(02-07-15-24-02).jpg
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> 代码:
>  
>   !Catch(02-07-15-24-02).jpg!
> LOG:
> !Catch367C(02-07-15-24-02).jpg!
>  
>  
>  数据污染了,合并前并没有任何操作,但是没定义var1["2"]的visibility,仍然被初始化为visibility=2



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (WEEX-209) Weex Wson Add Benchmark Module And Test Sample

2018-04-04 Thread Adam Feng (JIRA)

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

Adam Feng resolved WEEX-209.

Resolution: Fixed

> Weex Wson Add Benchmark Module And Test Sample
> --
>
> Key: WEEX-209
> URL: https://issues.apache.org/jira/browse/WEEX-209
> Project: Weex
>  Issue Type: Improvement
>Reporter: codefurture
>Assignee: Adam Feng
>Priority: Major
>
> Weex Wson Add Benchmark Module And Test Sample



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (WEEX-211) crash in text component on iOS10

2018-04-04 Thread Adam Feng (JIRA)

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

Adam Feng reassigned WEEX-211:
--

Assignee: xingZhang  (was: Adam Feng)

> crash in text component on iOS10
> 
>
> Key: WEEX-211
> URL: https://issues.apache.org/jira/browse/WEEX-211
> Project: Weex
>  Issue Type: Bug
>  Components: iOS
> Environment: iPad iOS 10.0.2
>Reporter: fjzznjsh
>Assignee: xingZhang
>Priority: Major
>
> Exception Type: SIGSEGV
> Exception Codes: SEGV_ACCERR at 00
> Crashed Thread: 48
> Thread 48 Name: com.taobao.weex.component
> Thread 48 Crashed: 
> 0  CoreFoundation 0x00018a80e174 CFStringCreateCopy + 28
> 1  CoreText   0x00018d5e0b18 
> TCharStreamCFString::TCharStreamCFString(__CFString const*, __CFDictionary 
> const*) +  60
> 2  CoreText   0x00018d57adf0 
> TTypesetter::RelayoutRun(std::__1::tuple void const* (*)(__CTRun const*, __CFString const*, void*), void*, 
> std::__1::shared_ptr*, unsigned int, unsigned char> 
> const&, CTRun*) +  220
> 3  CoreText   0x00018d55fe04 
> TTypesetter::MakeLineConsistent(std::__1::tuple const*, void const* (*)(__CTRun const*, __CFString const*, void*), void*, 
> std::__1::shared_ptr*, unsigned int, unsigned char> 
> const&, TLine&) +  92
> 4  CoreText   0x00018d55fd1c 
> TTypesetter::FinishLineFill(std::__1::tuple void const* (*)(__CTRun const*, __CFString const*, void*), void*, 
> std::__1::shared_ptr*, unsigned int, unsigned char> 
> const&, TLine&, double, double) +  40
> 5  CoreText   0x00018d553248 
> CTLineCreateFromLineWithOffset + 172
> 6  UIFoundation   0x0001906e1acc ___NSStringDrawingEngine 
> +  11296
> 7  UIFoundation   0x0001906e5724 
> -[NSAttributedString(NSExtendedStringDrawing) 
> boundingRectWithSize:options:context:] +  584
> 8  EGame  0x0001007e1d2c -[WXTextComponent 
> calculateTextHeightWithWidth:] +  116
> 9  EGame  0x0001007df460 ___31-[WXTextComponent 
> measureBlock]_block_invoke +  96
> 10 EGame  0x0001007e706c _cssNodeMeasure +  72
> 11 EGame  0x00010088d314 _wx_layoutNode +  1572
> 12 EGame  0x00010088d930 _wx_layoutNode +  3136
> 12 EGame  0x00010088d930 _wx_layoutNode +  3136
> 12 EGame  0x00010088d930 _wx_layoutNode +  3136
> 12 EGame  0x00010088d930 _wx_layoutNode +  3136
> 12 EGame  0x00010088d930 _wx_layoutNode +  3136
> 17 EGame  0x00010083aaf8 -[WXCellComponent 
> _calculateFrameWithSuperAbsolutePosition:gatherDirtyComponents:] +  308
> 18 EGame  0x0001007e78ec -[WXComponent(Layout) 
> _calculateFrameWithSuperAbsolutePosition:gatherDirtyComponents:] +  524
> 19 EGame  0x000100862c08 -[WXScrollerComponent 
> _calculateFrameWithSuperAbsolutePosition:gatherDirtyComponents:] +  460
> 18 EGame  0x0001007e78ec -[WXComponent(Layout) 
> _calculateFrameWithSuperAbsolutePosition:gatherDirtyComponents:] +  524
> 21 EGame  0x00010080466c -[WXComponentManager 
> _layout] +  324
> 22 EGame  0x0001008044ac -[WXComponentManager 
> _layoutAndSyncUI] +  28
> 23 EGame  0x000100800b88 -[WXComponentManager 
> _recursivelyAddComponent:toSupercomponent:atIndex:appendingInTree:] +  860
> 24 EGame  0x00010080080c -[WXComponentManager 
> addComponent:toSupercomponent:atIndex:appendingInTree:] +  120
> 25 EGame  0x00010087e988 ___42-[WXBridgeContext 
> registerGlobalFunctions]_block_invoke_2 +  340
> 26 EGame  0x0001007ff714 +[WXComponentManager 
> _performBlockOnComponentThread:] +  224
> 27 Foundation 0x00018b4166ec 
> ___NSThreadPerformPerform +  340
> 28 CoreFoundation 0x00018a8de278 
> ___CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ +  24
>  +  24
> 29 CoreFoundation 0x00018a8ddbc0 ___CFRunLoopDoSources0 + 
>  524
> 30 CoreFoundation 0x00018a8db7c0 ___CFRunLoopRun +  804
> 24 CoreFoundation 0x00018a80a048 CFRunLoopRunSpecific + 
> 436
> 4  Foundation 0x00018b318b1c -[NSRunLoop(NSRunLoop) 
> runMode:beforeDate:] +  304
> 33 EGame  0x0001007ff5f8 -[WXComponentManager 
> _runLoopThread] +  264
> 6  Foundation 0x00018b41650c 

[jira] [Resolved] (WEEX-212) When PlaceHolder is empty, should not use rewrite url, it will return bundle url

2018-04-04 Thread Adam Feng (JIRA)

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

Adam Feng resolved WEEX-212.

Resolution: Fixed

> When PlaceHolder is empty, should not use rewrite url, it will return bundle 
> url
> 
>
> Key: WEEX-212
> URL: https://issues.apache.org/jira/browse/WEEX-212
> Project: Weex
>  Issue Type: Improvement
>Reporter: codefurture
>Assignee: Adam Feng
>Priority: Major
> Attachments: 粘贴图片.png
>
>
> 粘贴图片.png !image-2018-02-08-17-51-25-153.png!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (WEEX-219) copy action for text component

2018-04-04 Thread Adam Feng (JIRA)

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

Adam Feng resolved WEEX-219.

Resolution: Fixed

> copy action for text component
> --
>
> Key: WEEX-219
> URL: https://issues.apache.org/jira/browse/WEEX-219
> Project: Weex
>  Issue Type: Improvement
>  Components: iOS
>Reporter: xingZhang
>Assignee: xingZhang
>Priority: Major
>
> add copy action for text component
> you can specify an attribute disableCopy='true' to enable the copy action by 
> long press, default is disable.
>  
> try case :[ 
> http://dotwe.org/vue/77b7d735efaf55d6b84c5c8fb5196bd9|http://dotwe.org/vue/77b7d735efaf55d6b84c5c8fb5196bd9]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (WEEX-218) support leftGap and rightGap for cell in waterfall component

2018-04-04 Thread Adam Feng (JIRA)

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

Adam Feng resolved WEEX-218.

Resolution: Fixed

> support leftGap and rightGap for cell in waterfall component 
> -
>
> Key: WEEX-218
> URL: https://issues.apache.org/jira/browse/WEEX-218
> Project: Weex
>  Issue Type: Improvement
>Reporter: xingZhang
>Assignee: xingZhang
>Priority: Major
>
> support leftGap and rightGap attributes for cell in waterfall component 
> try case: [http://dotwe.org/vue/16ca2c8a9b0d7298f67bc0e7a1314c15]
>   [http://dotwe.org/vue/76712cdd7c3cf665717397b51ee1c60c] 
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (WEEX-244) Weex Android Support W3c Force Api

2018-04-04 Thread Adam Feng (JIRA)

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

Adam Feng resolved WEEX-244.

Resolution: Fixed

> Weex Android Support W3c Force Api
> --
>
> Key: WEEX-244
> URL: https://issues.apache.org/jira/browse/WEEX-244
> Project: Weex
>  Issue Type: Improvement
>  Components: Android
>Reporter: codefurture
>Assignee: zhengshihan
>Priority: Trivial
>
> * 
> [https://github.com/apache/incubator-weex-site/pull/90/files]
>  
>  
> [https://developer.mozilla.org/en-US/docs/Web/API/Touch/force]
>  
>  * [http://dotwe.org/vue/91b6929f4f9f97a099a30c516dc2db06]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (WEEX-262) Add new interface of Instance to terminate rendering when js bundle download finished.

2018-04-04 Thread Adam Feng (JIRA)

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

Adam Feng resolved WEEX-262.

Resolution: Fixed

> Add new interface of Instance  to terminate rendering when js bundle download 
> finished. 
> 
>
> Key: WEEX-262
> URL: https://issues.apache.org/jira/browse/WEEX-262
> Project: Weex
>  Issue Type: New Feature
>Reporter: ningli
>Assignee: Adam Feng
>Priority: Major
>
> We hope to have some chance to process the jsbundle when download finished, 
> then we will call another interface "renderWithView" to continue rendering.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (WEEX-261) Flat GUI NullPointerException fix

2018-04-04 Thread Adam Feng (JIRA)

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

Adam Feng resolved WEEX-261.

Resolution: Fixed

> Flat GUI NullPointerException fix
> -
>
> Key: WEEX-261
> URL: https://issues.apache.org/jira/browse/WEEX-261
> Project: Weex
>  Issue Type: Improvement
>Reporter: codefurture
>Assignee: Adam Feng
>Priority: Trivial
>
> Flat GUI NullPointerException fix



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (WEEX-266) slider component's infinite attribute doesn't work

2018-04-04 Thread Adam Feng (JIRA)

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

Adam Feng reassigned WEEX-266:
--

Assignee: xingZhang  (was: Adam Feng)

> slider component's infinite attribute doesn't work
> --
>
> Key: WEEX-266
> URL: https://issues.apache.org/jira/browse/WEEX-266
> Project: Weex
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 0.17
>Reporter: alen he
>Assignee: xingZhang
>Priority: Major
>
> No matter set the infinite attribute to false or true, the slider always 
> scroll infinity.
>  
> 
>         
> 
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (WEEX-264) waterfall组件在计算时候产生CRASH

2018-04-04 Thread Adam Feng (JIRA)

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

Adam Feng reassigned WEEX-264:
--

Assignee: xingZhang  (was: Adam Feng)

> waterfall组件在计算时候产生CRASH
> ---
>
> Key: WEEX-264
> URL: https://issues.apache.org/jira/browse/WEEX-264
> Project: Weex
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 0.17
> Environment: 飞猪客户端8.5.9线上版本,不是必先,能否在组件内部添加对应保护
>Reporter: lichetnao
>Assignee: xingZhang
>Priority: Major
>
> # {{*** Terminating app due to uncaught exception 'CALayerInvalidGeometry', 
> reason: 'CALayer position contains NaN: [nan 0.33]'}}
>  # {{}}
>  # {{Last Exception Backtrace:}}
>  # {{0 CoreFoundation 0x0001866aefe0 __exceptionPreprocess :124 (in 
> CoreFoundation)}}
>  # {{1 libobjc.A.dylib 0x000185110538 _objc_exception_throw :56 (in 
> libobjc.A.dylib)}}
>  # {{2 CoreFoundation 0x0001866aef28 +[NSException raise:format:] :116 
> (in CoreFoundation)}}
>  # {{3 QuartzCore 0x0001899c5acc CA::Layer::set_position(CA::Vec2 const&, 
> bool) :156 (in QuartzCore)}}
>  # {{4 QuartzCore 0x0001899c5c48 -[CALayer setPosition:] :44 (in 
> QuartzCore)}}
>  # {{5 UIKit 0x00018c839d74 -[UIView setCenter:] :228 (in UIKit)}}
>  # {{6 UIKit 0x00018c8440b0 -[UICollectionReusableView 
> _setLayoutAttributes:] :232 (in UIKit)}}
>  # {{7 UIKit 0x00018c816020 +[UIView(UIViewAnimationWithBlocks) 
> _setupAnimationWithDuration:delay:view:options:factory:animations:start:animationStateGenerator:completion:]
>  :644 (in UIKit)}}
>  # {{8 UIKit 0x00018c82c718 +[UIView(UIViewAnimationWithBlocks) 
> animateWithDuration:delay:options:animations:completion:] :108 (in UIKit)}}
>  # {{9 UIKit 0x00018d0d46a4 -[UICollectionViewAnimation 
> startWithAnimator:] :1364 (in UIKit)}}
>  # {{10 UIKit 0x00018d0ee24c __71-[UICollectionView 
> _updateWithItems:tentativelyForReordering:animator:]_block_invoke.2030 :932 
> (in UIKit)}}
>  # {{11 UIKit 0x00018c816020 +[UIView(UIViewAnimationWithBlocks) 
> _setupAnimationWithDuration:delay:view:options:factory:animations:start:animationStateGenerator:completion:]
>  :644 (in UIKit)}}
>  # {{12 UIKit 0x00018c82c718 +[UIView(UIViewAnimationWithBlocks) 
> animateWithDuration:delay:options:animations:completion:] :108 (in UIKit)}}
>  # {{13 UIKit 0x00018d0ed684 -[UICollectionView 
> _updateWithItems:tentativelyForReordering:animator:] :5212 (in UIKit)}}
>  # {{14 UIKit 0x00018d0eaf24 -[UICollectionView 
> _endItemAnimationsWithInvalidationContext:tentativelyForReordering:animator:] 
> :12952 (in UIKit)}}
>  # {{15 UIKit 0x00018d0ee894 -[UICollectionView 
> _endUpdatesWithInvalidationContext:tentativelyForReordering:animator:] :92 
> (in UIKit)}}
>  # {{16 UIKit 0x00018d0eeb74 -[UICollectionView 
> _performBatchUpdates:completion:invalidationContext:tentativelyForReordering:animator:]
>  :384 (in UIKit)}}
>  # {{17 UIKit 0x00018d0ee9d4 -[UICollectionView 
> _performBatchUpdates:completion:invalidationContext:tentativelyForReordering:]
>  :96 (in UIKit)}}
>  # {{18 UIKit 0x00018d0ee958 -[UICollectionView 
> _performBatchUpdates:completion:invalidationContext:] :84 (in UIKit)}}
>  # {{19 UIKit 0x00018c9b70d0 -[UICollectionView 
> performBatchUpdates:completion:] :64 (in UIKit)}}
>  # {{20 Portal 0x0001025d85ec -[WXRecyclerUpdateController 
> performBatchUpdates] WXRecyclerUpdateController.m:168 (in Portal)}}
>  # {{21 libdispatch.dylib 0x0001855669e0 }}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (WEEX-267) monitor the frequency of module invoke

2018-04-04 Thread Adam Feng (JIRA)

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

Adam Feng resolved WEEX-267.

Resolution: Fixed

> monitor the frequency of module invoke
> --
>
> Key: WEEX-267
> URL: https://issues.apache.org/jira/browse/WEEX-267
> Project: Weex
>  Issue Type: Improvement
>  Components: iOS
>Reporter: xingZhang
>Assignee: xingZhang
>Priority: Major
>
> add an extra method for monitor protocol instead of commit the frequency of 
> module usage in monitor alarm



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (WEEX-268) Expose UpdateLayout function

2018-04-04 Thread Adam Feng (JIRA)

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

Adam Feng resolved WEEX-268.

Resolution: Fixed

> Expose UpdateLayout function
> 
>
> Key: WEEX-268
> URL: https://issues.apache.org/jira/browse/WEEX-268
> Project: Weex
>  Issue Type: New Feature
>  Components: Android
>Reporter: chuyi
>Assignee: zhengshihan
>Priority: Minor
>
> Some plugin like bindingx(github.com/alibaba/bindingx)  need a global 
> updateLayout function. So that they can invalidate view's layout.
> https://github.com/apache/incubator-weex/pull/1089



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (WEEX-270) WXListComponent should add reload type of data update

2018-04-04 Thread Adam Feng (JIRA)

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

Adam Feng resolved WEEX-270.

Resolution: Fixed

> WXListComponent should add reload type of data update
> -
>
> Key: WEEX-270
> URL: https://issues.apache.org/jira/browse/WEEX-270
> Project: Weex
>  Issue Type: New Feature
>  Components: iOS
>Affects Versions: 0.18
> Environment: iOS 8.0+
>Reporter: mengjianjun
>Assignee: Adam Feng
>Priority: Major
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> Currently WXListComponent data update only supports insertRows. This can't be 
> satisfied under some drop-down loading scenes. For example, the pulldown load 
> needs to be positioned to the original position. When the tableView is still 
> decaling and inserts and tries to fix the position, the cell will blink. 
> Because when deceiring, the externally modified contentOffset will be 
> re-edited by the internal implementation of tableView, altering contentOffset 
> alternately will cause flicker problems. If you use the tableView reloadData 
> this is not a problem, so you need to support the WXListComponent in the 
> drop-down restore location scene to add the reload attribute.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (WEEX-271) Extend the pulldown WXRefreshComponent to support immediate load of the appear

2018-04-04 Thread Adam Feng (JIRA)

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

Adam Feng resolved WEEX-271.

Resolution: Fixed

> Extend the pulldown WXRefreshComponent to support immediate load of the appear
> --
>
> Key: WEEX-271
> URL: https://issues.apache.org/jira/browse/WEEX-271
> Project: Weex
>  Issue Type: Improvement
>  Components: iOS
>Affects Versions: 0.18
> Environment: iOS 8.0+
>Reporter: mengjianjun
>Assignee: Adam Feng
>Priority: Major
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> WXRefreshComponent current only support the ②, shuold add new type of①. 
> // ①refreshForAppear: load more when refresh component begin appear(if scroll 
> is dragging or decelerating, should delay)
>  // ②refreshForWholeVisible: load more until the whole refresh component 
> visible
> NSString *_refreshType;



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)