[GitHub] incubator-weex issue #1060: [WEEX-244][android]Weex Android Support W3c Forc...

2018-03-08 Thread weex-bot
Github user weex-bot commented on the issue:

https://github.com/apache/incubator-weex/pull/1060
  





  

  
  Warnings

  
  
  :warning:
  No Changelog changes!

  




  

  
  Messages

  
  
  :book:
  danger test finished.

  




  Generated by :no_entry_sign: http://github.com/danger/danger-js/;>dangerJS




---


[GitHub] incubator-weex pull request #1060: [WEEX-244][android]Weex Android Support W...

2018-03-08 Thread gubaojian
GitHub user gubaojian opened a pull request:

https://github.com/apache/incubator-weex/pull/1060

[WEEX-244][android]Weex Android Support W3c Force Api

[WEEX-244][android]Weex Android Support W3c Force Api
db3895a

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/gubaojian/incubator-weex release-0.18-force

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/1060.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1060


commit db3895a16a9376b22231c324683910b37d8d7887
Author: jianbai.gbj 
Date:   2018-03-09T03:19:47Z

[WEEX-244][android]Weex Android Support W3c Force Api




---


incubator-weex git commit: *[android] delete some usless code and opt build tools, trim so

2018-03-08 Thread toretto
Repository: incubator-weex
Updated Branches:
  refs/heads/master ec0a1f9ba -> 5b901c007


 *[android] delete some usless code and opt build tools, trim so


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/5b901c00
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/5b901c00
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/5b901c00

Branch: refs/heads/master
Commit: 5b901c0077ed278386ef9311310e8d9fe5fb7aec
Parents: ec0a1f9
Author: yuhun-alibaba 
Authored: Thu Mar 8 22:11:05 2018 +0800
Committer: yuhun-alibaba 
Committed: Thu Mar 8 22:34:32 2018 +0800

--
 android/sdk/libs/armeabi/libweexjsb.so | Bin 22620 -> 67264 bytes
 android/sdk/libs/armeabi/libweexjsc.so | Bin 337468 -> 275960 bytes
 android/sdk/libs/armeabi/libweexjss.so | Bin 6774704 -> 2965392 bytes
 3 files changed, 0 insertions(+), 0 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5b901c00/android/sdk/libs/armeabi/libweexjsb.so
--
diff --git a/android/sdk/libs/armeabi/libweexjsb.so 
b/android/sdk/libs/armeabi/libweexjsb.so
index f0287cf..48bee08 100644
Binary files a/android/sdk/libs/armeabi/libweexjsb.so and 
b/android/sdk/libs/armeabi/libweexjsb.so differ

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5b901c00/android/sdk/libs/armeabi/libweexjsc.so
--
diff --git a/android/sdk/libs/armeabi/libweexjsc.so 
b/android/sdk/libs/armeabi/libweexjsc.so
index 28ee2a3..3c386f1 100644
Binary files a/android/sdk/libs/armeabi/libweexjsc.so and 
b/android/sdk/libs/armeabi/libweexjsc.so differ

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5b901c00/android/sdk/libs/armeabi/libweexjss.so
--
diff --git a/android/sdk/libs/armeabi/libweexjss.so 
b/android/sdk/libs/armeabi/libweexjss.so
index dc93f8d..bdedcc5 100644
Binary files a/android/sdk/libs/armeabi/libweexjss.so and 
b/android/sdk/libs/armeabi/libweexjss.so differ



[GitHub] incubator-weex issue #1059: *[android] delete some usless code and opt build...

2018-03-08 Thread weex-bot
Github user weex-bot commented on the issue:

https://github.com/apache/incubator-weex/pull/1059
  






  

  
  Messages

  
  
  :book:
  has no jsfm file changed.

  

  :book:
  jsfm test finished.

  




  Generated by :no_entry_sign: http://github.com/danger/danger-js/;>dangerJS




---


[GitHub] incubator-weex pull request #1059: *[android] delete some usless code and op...

2018-03-08 Thread yuhun-alibaba
GitHub user yuhun-alibaba opened a pull request:

https://github.com/apache/incubator-weex/pull/1059

 *[android] delete some usless code and opt build tools, trim so

 *[android] delete some usless code and opt build tools, trim so

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/yuhun-alibaba/incubator-weex trim_so

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/1059.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1059


commit 93c529bcfed88fd585dca3afda5e1c5513054105
Author: yuhun-alibaba 
Date:   2018-03-08T14:11:05Z

 *[android] delete some usless code and opt build tools, trim so




---


[GitHub] incubator-weex issue #1058: [WEEX-243] [android] More enhanced about c...

2018-03-08 Thread weex-bot
Github user weex-bot commented on the issue:

https://github.com/apache/incubator-weex/pull/1058
  





  

  
  Warnings

  
  
  :warning:
  No Changelog changes!

  

  :warning:
  Potential BREAK CHANGE. Modify public in 
android/sdk/src/main/java/com/taobao/weex/ui/component/WXWeb.java without 
metion it in commit message. You'd better add '@notdanger' in your commit log. 


  

  :warning:
  Potential BREAK CHANGE. Modify public in 
android/sdk/src/main/java/com/taobao/weex/ui/view/WXWebView.java without metion 
it in commit message. You'd better add '@notdanger' in your commit log. 

  




  

  
  Messages

  
  
  :book:
  danger test finished.

  




  Generated by :no_entry_sign: http://github.com/danger/danger-js/;>dangerJS




---


[GitHub] incubator-weex pull request #1058: [WEEX-243] [android] More enhanced about ...

2018-03-08 Thread TheKingOfGods
GitHub user TheKingOfGods opened a pull request:

https://github.com/apache/incubator-weex/pull/1058

[WEEX-243] [android] More enhanced about  component 

Hi, It's solution to enhance  component in android, and the api was 
designed as same as IOS. More detail please look at  
[[WEEX-234]](https://github.com/apache/incubator-weex/pull/1047). 

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/TheKingOfGods/incubator-weex 
android-feature-enhanced-web

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/1058.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1058


commit a090faffc34565e46a28abeb0a02ed9e5b5a03a2
Author: 南麓 
Date:   2018-03-07T11:09:53Z

+ [android] support communication between weex and web

commit 24d49f159cfc0cd1a96d6e68afb11d59d58e6ccc
Author: 南麓 
Date:   2018-03-08T08:03:42Z

+ [android] support call reload、goForward、goBack、postMessage methods 
by  component




---


[GitHub] incubator-weex issue #1051: [WEEX-241][iOS] add WXVideoComponent "poster" at...

2018-03-08 Thread xuyouyang
Github user xuyouyang commented on the issue:

https://github.com/apache/incubator-weex/pull/1051
  
@acton393 Ha, it's sorry that I am not familiar with Android develop very 
much.😂 


---


incubator-weex git commit: * [iOS] fix multithread crash about mutable array in scroller component [Forced Update!]

2018-03-08 Thread toretto
Repository: incubator-weex
Updated Branches:
  refs/heads/master 9c9ae8846 -> ec0a1f9ba (forced update)


* [iOS] fix multithread crash about mutable array in scroller component


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/ec0a1f9b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/ec0a1f9b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/ec0a1f9b

Branch: refs/heads/master
Commit: ec0a1f9ba29720f3b3559edc06bcfae855d28553
Parents: 4b0e374
Author: acton393 
Authored: Thu Mar 8 15:27:44 2018 +0800
Committer: yuhun-alibaba 
Committed: Thu Mar 8 19:19:32 2018 +0800

--
 ios/sdk/WeexSDK/Sources/Component/WXScrollerComponent.m | 11 +++
 1 file changed, 7 insertions(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/ec0a1f9b/ios/sdk/WeexSDK/Sources/Component/WXScrollerComponent.m
--
diff --git a/ios/sdk/WeexSDK/Sources/Component/WXScrollerComponent.m 
b/ios/sdk/WeexSDK/Sources/Component/WXScrollerComponent.m
index 4ebaec5..ede9de3 100644
--- a/ios/sdk/WeexSDK/Sources/Component/WXScrollerComponent.m
+++ b/ios/sdk/WeexSDK/Sources/Component/WXScrollerComponent.m
@@ -28,6 +28,7 @@
 #import "WXRefreshComponent.h"
 #import "WXConfigCenterProtocol.h"
 #import "WXSDKEngine.h"
+#import "WXThreadSafeMutableArray.h"
 
 @interface WXScrollerComponnetView:UIScrollView
 @end
@@ -50,7 +51,7 @@
 @interface WXScrollerComponent()
 
 @property (nonatomic, strong) NSMutableArray *  stickyArray;
-@property (nonatomic, strong) NSMutableArray *  listenerArray;
+@property (nonatomic, strong) WXThreadSafeMutableArray * listenerArray;
 @property (nonatomic, weak) WXRefreshComponent *refreshComponent;
 @property (nonatomic, weak) WXLoadingComponent *loadingComponent;
 
@@ -118,7 +119,7 @@ WX_EXPORT_METHOD(@selector(resetLoadmore))
 if (self) {
 
 _stickyArray = [NSMutableArray array];
-_listenerArray = [NSMutableArray array];
+_listenerArray = [WXThreadSafeMutableArray array];
 _scrollEvent = NO;
 _scrollStartEvent = NO;
 _scrollEndEvent = NO;
@@ -382,7 +383,8 @@ WX_EXPORT_METHOD(@selector(resetLoadmore))
 - (void)addScrollToListener:(WXComponent *)target
 {
 BOOL has = NO;
-for (WXScrollToTarget *targetData in self.listenerArray) {
+WXThreadSafeMutableArray *listenerArray = [self.listenerArray copy];
+for (WXScrollToTarget *targetData in listenerArray) {
 if (targetData.target == target) {
 has = YES;
 break;
@@ -400,7 +402,8 @@ WX_EXPORT_METHOD(@selector(resetLoadmore))
 {
 if (_shouldRemoveScrollerListener) {
 WXScrollToTarget *targetData = nil;
-for (WXScrollToTarget *targetDataTemp in self.listenerArray) {
+WXThreadSafeMutableArray *listenerArray = [self.listenerArray copy];
+for (WXScrollToTarget *targetDataTemp in listenerArray) {
 if (targetDataTemp.target == target) {
 targetData = targetDataTemp;
 break;



[GitHub] incubator-weex pull request #1052: * [WEEX-240] [android] feature update for...

2018-03-08 Thread yuhun-alibaba
Github user yuhun-alibaba closed the pull request at:

https://github.com/apache/incubator-weex/pull/1052


---


[GitHub] incubator-weex issue #1057: *[android] support direction attr on styles

2018-03-08 Thread weex-bot
Github user weex-bot commented on the issue:

https://github.com/apache/incubator-weex/pull/1057
  





  

  
  Warnings

  
  
  :warning:
  No Changelog changes!

  




  

  
  Messages

  
  
  :book:
  danger test finished.

  




  Generated by :no_entry_sign: http://github.com/danger/danger-js/;>dangerJS




---


[GitHub] incubator-weex pull request #1057: *[android] support direction attr on styl...

2018-03-08 Thread misakuo
GitHub user misakuo opened a pull request:

https://github.com/apache/incubator-weex/pull/1057

*[android] support direction attr on styles

now `rtl`, `ltr` and `inherit` in styles is available on Android

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/misakuo/incubator-weex feature-style-direction

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/1057.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1057


commit 96e6e39076bdca6d1623bce4663d35b2ac364e10
Author: misakuo 
Date:   2018-03-08T04:32:08Z

*[android] support direction attr on styles




---


[GitHub] incubator-weex issue #1056: new feature for weex performance

2018-03-08 Thread weex-bot
Github user weex-bot commented on the issue:

https://github.com/apache/incubator-weex/pull/1056
  






  

  
  Messages

  
  
  :book:
  has no jsfm file changed.

  

  :book:
  jsfm test finished.

  




  Generated by :no_entry_sign: http://github.com/danger/danger-js/;>dangerJS




---


[GitHub] incubator-weex pull request #1056: new feature for weex performance

2018-03-08 Thread lucky-chen
GitHub user lucky-chen opened a pull request:

https://github.com/apache/incubator-weex/pull/1056

new feature for  weex performance

 *isNewFeature* **:**

  * [ ] Update API docs for the component.
  * [ ] Update/Add demo to demonstrate new feature.
  * [ ] Update test scripts for the feature.
  * [ ] Add unit tests for the feature.

# support WeexPerformance && errorReport

 - JSLibSize
 - JSLibInitTime
 -   SDKInitTime
  -  SDKInitInvokeTime
  -  SDKInitExecuteTime
  - JSTemplateSize
  - pureNetworkTime
 -   networkTime
  -  fsCreateInstanceTime
  -  fsCallJsTotalTime
  -  fsCallJsTotalNum
  -  fsCallNativeTotalTime
  -  fsCallNativeTotalNum
  -  fsCallEventTotalNum
   - fsRenderTime
   - fsRequestNum
  -  callCreateFinishTime
   - cellExceedNum
   - communicateTotalTime
   - maxDeepViewLayer
   - maxDeepVDomLayer
   - componentCount
   - avgFps
   - timerCount
-imgSizeCount
-   interactionTime
- MaxImproveMemory
- BackImproveMemory
- PushImproveMemory


// no longer needed and will be deleted soon.
   - communicateTime(0D, 5000D),
   - screenRenderTime(0D, 5000D),
   - totalTime(0D, 5000D),
- localReadTime(0D, 5000D),
- templateLoadTime(0D, 5000D),
   -  packageSpendTime(0D, 5000D),
   -  syncTaskTime(0D, 5000D),
actualNetworkTime(0D, 5000D),
firstScreenJSFExecuteTime(0D, 5000D),

 




You can merge this pull request into a Git repository by running:

$ git pull https://github.com/lucky-chen/incubator-weex master_gky

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/1056.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1056


commit bc6970f83b9896f97a0840aaab9d5b837cd951e2
Author: acton393 
Date:   2017-11-03T12:04:47Z

Merge branch 'release-0.16' of 
https://git-wip-us.apache.org/repos/asf/incubator-weex into 
ios-package-mirror-master

commit d4892b0dd908c9d82aa9b4eb00c003cb7c9f8602
Author: acton393 
Date:   2017-11-09T09:59:40Z

Merge branch 'master' of 
https://git-wip-us.apache.org/repos/asf/incubator-weex into 
ios-package-mirror-master

commit bb353db0c83f79ae0bac43d59a1652bf176217d9
Author: acton393 
Date:   2017-11-13T06:48:07Z

Merge branch 'master' of 
https://git-wip-us.apache.org/repos/asf/incubator-weex into 
ios-package-mirror-master

commit d66c248ea0923cb1b8bbe7893ada93b878a4aec0
Author: gurisxie <279483595@...>
Date:   2017-11-13T08:48:48Z

Merge commit 'b296bea738be69a341e7496ac8ca0cf76a3e1a89' into 
ios-package-mirror-master

commit be24ca19e67f934ead0b8e50fe388b5d8bedfc9b
Author: acton393 
Date:   2017-11-16T03:27:12Z

Merge branch 'master' of 
https://git-wip-us.apache.org/repos/asf/incubator-weex into 
ios-package-mirror-master

commit a29904bb5152bf5b1beb6f61350791efde9e273a
Author: acton393 
Date:   2017-11-16T03:27:58Z

Merge branch 'ios-package-mirror-master' of 
gitlab.alibaba-inc.com:weex/weex into ios-package-mirror-master

commit c9a9317173d5bf03f39036b490cdf305d22884cc
Author: misakuo 
Date:   2017-11-16T09:25:32Z

* [android] avoid crash on some device caused by RippleDrawable

(cherry picked from commit 1f7a309)

commit 32db62b4377f224a0ac3bec272d265185af641f8
Author: atomtong 
Date:   2017-11-16T11:06:17Z

Merge branch 'master' into release-0.16-gitlab

* master:
  revert clip path targetview judge.
  * [android] avoid crash on some device caused by RippleDrawable
  [WEEX-107] [android] layer type none has some bug on some platform. force 
layer type soft for render text right
  * [test] update image compare border
  * [test] update image compare png

commit edccb5bcbbc011e29c04c21f39dd55886d9773ad
Author: acton393 
Date:   2017-11-16T14:54:53Z

Merge branch 'master' of 
https://git-wip-us.apache.org/repos/asf/incubator-weex into 
ios-package-mirror-master

commit a4320f438e4d8afeedd525399fd931bce1f8c91d
Author: acton393 
Date:   2017-11-16T14:55:43Z

Merge branch 'master' of 
https://git-wip-us.apache.org/repos/asf/incubator-weex into 
ios-package-mirror-master

commit 601b292cf448892ec5d237517ce38d1fc0f62c74
Author: acton393 
Date:   2017-11-16T16:33:19Z

Merge branch 'master' of 
https://git-wip-us.apache.org/repos/asf/incubator-weex into 
ios-package-mirror-master

commit e5ebfbdb33d28b631756ad8dd7e74f516bfdf62e
Author: jianbai.gbj 
Date:   2017-11-17T03:03:30Z

Merge branch 'master' of https://github.com/apache/incubator-weex into