[GitHub] incubator-weex issue #864: [iOS] Make sure gesture recognizers won't be lost...

2017-11-15 Thread AntiMoron
Github user AntiMoron commented on the issue:

https://github.com/apache/incubator-weex/pull/864
  
@cxfeng1  No,  customized weex component is involved. I can send you the 
demo.


---


[GitHub] incubator-weex issue #873: [WEEX-107] [android] layer type none has some bug...

2017-11-15 Thread weex-bot
Github user weex-bot commented on the issue:

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





  

  
  Warnings

  
  
  :warning:
  No Changelog changes!

  

  :warning:
  This PR should update related documents as well. 

  




  

  
  Messages

  
  
  :book:
  danger test finished.

  




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




---


[GitHub] incubator-weex pull request #873: [WEEX-107] [android] layer type none has s...

2017-11-15 Thread gubaojian
GitHub user gubaojian opened a pull request:

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

[WEEX-107] [android] layer type none has some bug on some platform.

[WEEX-107] [android] layer type none has some bug on some platform. force 
layer type soft for render text right

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

$ git pull https://github.com/gubaojian/incubator-weex release-0.16-opacity

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

https://github.com/apache/incubator-weex/pull/873.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 #873


commit 8f4b7bf9d2eb46115bcd9bcfb3efb9cb318229ce
Author: jianbai.gbj 
Date:   2017-11-16T07:44:50Z

[WEEX-107] [android] layer type none has some bug on some platform. force 
layer type soft for render text right




---


[GitHub] incubator-weex issue #872: [WEEX-102][iOS]bugfix appear event will fire wron...

2017-11-15 Thread weex-bot
Github user weex-bot commented on the issue:

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






  

  
  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 #872: bugfix appear event will fire wrongly whil...

2017-11-15 Thread acton393
GitHub user acton393 opened a pull request:

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

bugfix appear event will fire wrongly while the view has not been loaded

if the view has not been loaded or has not been added to its scroller view, 
it should not be
notified appear event, because it cannot scroll to appear area as the 
scrollview scroll.

Bug:102

you can try this case http://dotwe.org/vue/26c9717b1c60304668899b996ac8a9ac

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

$ git pull https://github.com/acton393/incubator-weex 
iOS-bugfix-waterfall-appearevent

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

https://github.com/apache/incubator-weex/pull/872.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 #872


commit f77f9cc35adc53c527853f898589fe6418ed4781
Author: acton393 
Date:   2017-11-16T07:33:17Z

[WEEX-102][iOS]bugfix appear event will fire wrongly while the view has not 
been loaded

 if the view has not been loaded or has not been added to its scroller 
view, it should not be
notified appear event, because it cannot scroll to  appear area as the 
scrollview scroll.

Bug:102

commit 539c71a13fce45dee933b8cc73beb5265ad33727
Author: acton393 
Date:   2017-11-16T07:37:07Z

[WEEX-102][iOS] bug-fix default config center return value

 if config center can not  find any config key value , it should
return default value but just nil value.

Bug: 102




---


[GitHub] incubator-weex issue #871: [WEEX-121][iOS] bug-fix draw text crash

2017-11-15 Thread weex-bot
Github user weex-bot commented on the issue:

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





  

  
  Warnings

  
  
  :warning:
  No Changelog changes!

  

  :warning:
  This PR should update related documents as well. 

  




  

  
  Messages

  
  
  :book:
  danger test finished.

  




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




---


[GitHub] incubator-weex pull request #871: [WEEX-121][iOS] bug-fix draw text crash

2017-11-15 Thread acton393
GitHub user acton393 opened a pull request:

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

[WEEX-121][iOS] bug-fix draw text crash

 there are case when text update frequently, so when main thread drawing 
text, here updates come,
so the text value must protect here from be setting in multithread, here 
use lock temporarily.

Bug:121

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

$ git pull https://github.com/acton393/incubator-weex 
iOS-text-draw-crash-multithread

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

https://github.com/apache/incubator-weex/pull/871.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 #871


commit 76dd76d06e0813b192a4c82ca17617601fe4760c
Author: acton393 
Date:   2017-11-16T04:09:59Z

[WEEX-121][iOS] bug-fix draw text crash

 there are case when text update frequently, so when main thread drawing 
text, here updates come,
so the text value must protect here from be setting in multithread, here 
use lock temporarily.

Bug:121




---


incubator-weex git commit: * [test] update image compare border

2017-11-15 Thread gurisxie
Repository: incubator-weex
Updated Branches:
  refs/heads/master 2f5816be4 -> 6617a0dda


* [test] update image compare border


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

Branch: refs/heads/master
Commit: 6617a0dda0c9822f76c75a3d3929597bc6f18273
Parents: 2f5816b
Author: gurisxie <279483...@qq.com>
Authored: Thu Nov 16 03:05:11 2017 +0800
Committer: gurisxie <279483...@qq.com>
Committed: Thu Nov 16 03:05:11 2017 +0800

--
 test/screenshot/border-android.png | Bin 164417 -> 160024 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/6617a0dd/test/screenshot/border-android.png
--
diff --git a/test/screenshot/border-android.png 
b/test/screenshot/border-android.png
index 166a287..b2bcd5d 100644
Binary files a/test/screenshot/border-android.png and 
b/test/screenshot/border-android.png differ



incubator-weex git commit: * [test] update image compare png

2017-11-15 Thread gurisxie
Repository: incubator-weex
Updated Branches:
  refs/heads/master 78f2312ca -> 2f5816be4


* [test] update image compare png


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

Branch: refs/heads/master
Commit: 2f5816be4e221f909496fad76b63508b81eb5305
Parents: 78f2312
Author: gurisxie <279483...@qq.com>
Authored: Wed Nov 15 23:45:18 2017 +0800
Committer: gurisxie <279483...@qq.com>
Committed: Wed Nov 15 23:45:18 2017 +0800

--
 test/screenshot/image-resize-android.png | Bin 218804 -> 213917 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2f5816be/test/screenshot/image-resize-android.png
--
diff --git a/test/screenshot/image-resize-android.png 
b/test/screenshot/image-resize-android.png
old mode 100755
new mode 100644
index cdd8c92..dc48849
Binary files a/test/screenshot/image-resize-android.png and 
b/test/screenshot/image-resize-android.png differ



[GitHub] incubator-weex pull request #870: [WEEX-122][iOS]bugfix round float pixel le...

2017-11-15 Thread acton393
GitHub user acton393 opened a pull request:

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

[WEEX-122][iOS]bugfix round float pixel lead to the lack of pixel

 this action will let iOS decide whether it should draw float pixel.

Bug:122

here are some cases about this problem

http://dotwe.org/vue/b0a242260e1df1b93964834b43bd25f7
http://dotwe.org/vue/32c8940df1673c2642abfd39f0ce9421

and the screenshot, the right one has been correct.


![image](https://user-images.githubusercontent.com/11631084/32841771-da8239bc-c9e0-11e7-8893-dee2138a98b0.png)


![image](https://user-images.githubusercontent.com/11631084/32841794-ee6b7fa6-c9e0-11e7-8c8b-82567bf219d2.png)


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

$ git pull https://github.com/acton393/incubator-weex iOS-bugfix-round-pixel

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

https://github.com/apache/incubator-weex/pull/870.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 #870


commit c774c4dff285ca45c7bb865b50b718d4d3536023
Author: acton393 
Date:   2017-11-15T14:40:48Z

[WEEX-122][iOS]bugfix round float pixel lead to the lack of pixel

 this action will let iOS decide whether it should draw float pixel.

Bug:122




---


[GitHub] incubator-weex issue #869: [WEEX-101][iOS] specify voice-over navigation ord...

2017-11-15 Thread cxfeng1
Github user cxfeng1 commented on the issue:

https://github.com/apache/incubator-weex/pull/869
  
Is there any discussion result for the feature on Android?


---


[GitHub] incubator-weex issue #856: [WEEX-109][iOS] add scrollstart and scrollend eve...

2017-11-15 Thread cxfeng1
Github user cxfeng1 commented on the issue:

https://github.com/apache/incubator-weex/pull/856
  
@doumafang  Can you provide some examples of the pull request and please 
make sure the behavior on iOS is consistent with Android.


---


[GitHub] incubator-weex issue #864: [iOS] Make sure gesture recognizers won't be lost...

2017-11-15 Thread cxfeng1
Github user cxfeng1 commented on the issue:

https://github.com/apache/incubator-weex/pull/864
  
@AntiMoron  Can you provide the demo? http://dotwe.org/vue/


---


[GitHub] incubator-weex issue #869: [WEEX-101][iOS] specify voice-over navigation ord...

2017-11-15 Thread weex-bot
Github user weex-bot commented on the issue:

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






  

  
  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 #869: [WEEX-101][iOS] specify voice-over navigat...

2017-11-15 Thread acton393
GitHub user acton393 opened a pull request:

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

[WEEX-101][iOS] specify voice-over navigation order is column or vertical

Consider an app that shows items in vertical columns. Normally, voiceOver 
would navigate through
these items in horizontal rows. Setting the value of this property to YES 
on the parent element of the
items in the vertical columns causes VoiceOver to respect the app’s 
grouping and navigate them.Andthe default of this property is NO.

Bug:101

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

$ git pull https://github.com/acton393/incubator-weex 
iOS-voice-over-navigation-order

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

https://github.com/apache/incubator-weex/pull/869.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 #869


commit 7f49963f80b63ce0ee2aff78c76e4bd20611b43f
Author: acton393 
Date:   2017-11-15T12:56:47Z

[WEEX-101][iOS] specify voice-over navigation order is column or vertical

Consider an app that shows items in vertical columns. Normally, voiceOver 
would navigate through
these items in horizontal rows. Setting the value of this property to YES 
on the parent element of the
items in the vertical columns causes VoiceOver to respect the app’s 
grouping and navigate them.And
the default of this property is NO.

Bug:101




---


[GitHub] incubator-weex issue #868: [WEEX-120][iOS]try to optimize unload weex compon...

2017-11-15 Thread weex-bot
Github user weex-bot commented on the issue:

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






  

  
  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 #868: [WEEX-120][iOS]try to optimize unload weex...

2017-11-15 Thread acton393
GitHub user acton393 opened a pull request:

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

[WEEX-120][iOS]try to optimize unload weex component

try to optimize unload too much component

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

$ git pull https://github.com/acton393/incubator-weex 
iOS-optimize-unload-view-method

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

https://github.com/apache/incubator-weex/pull/868.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 #868


commit 90f535d86e1a234383fac202a4cd92d5aba2e9f7
Author: acton393 
Date:   2017-11-15T09:08:20Z

[WEEX-120][iOS]try to optimize unload weex component

 try to reduce context switch when unload component.

Bug:120




---


[1/6] incubator-weex git commit: * [android] removing the legacy module weex_debug

2017-11-15 Thread misakuo
Repository: incubator-weex
Updated Branches:
  refs/heads/master 4269d2479 -> 78f2312ca


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/b0dbdde1/android/weex_debug/src/test/java/com/taobao/weex/ExampleUnitTest.java
--
diff --git 
a/android/weex_debug/src/test/java/com/taobao/weex/ExampleUnitTest.java 
b/android/weex_debug/src/test/java/com/taobao/weex/ExampleUnitTest.java
deleted file mode 100644
index 47d96af..000
--- a/android/weex_debug/src/test/java/com/taobao/weex/ExampleUnitTest.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- * 
- *   http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package com.taobao.weex;
-
-import org.junit.Test;
-
-import static org.junit.Assert.*;
-
-/**
- * To work on unit tests, switch the Test Artifact in the Build Variants view.
- */
-public class ExampleUnitTest {
-
-  @Test
-  public void addition_isCorrect() throws Exception {
-assertEquals(4, 2 + 2);
-  }
-}



[3/6] incubator-weex git commit: * [android] removing the legacy module weex_debug

2017-11-15 Thread misakuo
* [android] removing the legacy module weex_debug


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

Branch: refs/heads/master
Commit: b0dbdde1baa12110a59a3e9be16792a7a80637e2
Parents: 3c3536a
Author: misakuo 
Authored: Wed Nov 15 15:18:26 2017 +0800
Committer: misakuo 
Committed: Wed Nov 15 15:18:26 2017 +0800

--
 android/playground/app/build.gradle |   1 -
 android/playground/app/proguard-rules.pro   |   3 +-
 .../playground/app/src/main/AndroidManifest.xml |  23 -
 .../java/com/alibaba/weex/WXApplication.java|   2 -
 .../java/com/alibaba/weex/WXDebugActivity.java  | 109 
 .../alibaba/weex/extend/PlayDebugAdapter.java   | 154 --
 .../zxing/client/android/CaptureActivity.java   |  30 +-
 .../src/main/res/layout/activity_dynamic.xml|  45 --
 .../app/src/main/res/layout/content_dynamic.xml |  42 --
 .../main/java/com/taobao/weex/InitConfig.java   |  13 -
 .../java/com/taobao/weex/WXEnvironment.java |   2 -
 .../main/java/com/taobao/weex/WXSDKEngine.java  |  35 --
 .../java/com/taobao/weex/WXSDKInstance.java |   9 +-
 .../main/java/com/taobao/weex/WXSDKManager.java |   7 -
 .../taobao/weex/adapter/IWXDebugAdapter.java|  41 --
 .../java/com/taobao/weex/utils/WXLogUtils.java  |  19 -
 android/settings.gradle |   1 -
 android/weex_debug/.gitignore   |   2 -
 android/weex_debug/NOTICE   |   7 -
 android/weex_debug/build.gradle |  39 --
 android/weex_debug/libs/classes.jar | Bin 112153 -> 0 bytes
 android/weex_debug/proguard-rules.pro   |  17 -
 .../java/com/taobao/weex/ApplicationTest.java   |  32 --
 android/weex_debug/src/main/AndroidManifest.xml |  52 --
 .../main/java/com/taobao/weex/WXDebugTool.java  |  70 ---
 .../java/com/taobao/weex/WXPFComponent.java |  82 ---
 .../main/java/com/taobao/weex/WXPrettyFish.java |  50 --
 .../taobao/weex/adapter/DefautDebugAdapter.java | 127 -
 .../taobao/weex/bridge/WXWebsocketBridge.java   | 295 ---
 .../taobao/weex/scalpel/ScalpelFrameLayout.java | 519 ---
 .../weex/websocket/WXWebSocketManager.java  | 226 
 .../main/res/drawable-xhdpi/ic_action_3d.png| Bin 3429 -> 0 bytes
 .../main/res/drawable-xhdpi/ic_action_weex.png  | Bin 7284 -> 0 bytes
 .../res/drawable-xhdpi/prettyfish_boundary.png  | Bin 5731 -> 0 bytes
 .../res/drawable-xhdpi/prettyfish_coord.png | Bin 6396 -> 0 bytes
 .../main/res/drawable-xhdpi/prettyfish_cpu.png  | Bin 7505 -> 0 bytes
 .../main/res/drawable-xhdpi/prettyfish_fps.png  | Bin 21422 -> 0 bytes
 .../main/res/drawable-xhdpi/prettyfish_grid.png | Bin 5494 -> 0 bytes
 .../res/drawable-xhdpi/prettyfish_icon_back.png | Bin 732 -> 0 bytes
 .../drawable-xhdpi/prettyfish_icon_close.png| Bin 347 -> 0 bytes
 .../prettyfish_icon_deletefile.png  | Bin 247 -> 0 bytes
 .../res/drawable-xhdpi/prettyfish_icon_fab.png  | Bin 1667 -> 0 bytes
 .../res/drawable-xhdpi/prettyfish_icon_perf.png | Bin 6152 -> 0 bytes
 .../res/drawable-xhdpi/prettyfish_icon_sp.png   | Bin 9689 -> 0 bytes
 .../drawable-xhdpi/prettyfish_icon_tools.png| Bin 6874 -> 0 bytes
 .../res/drawable-xhdpi/prettyfish_icon_ued.png  | Bin 7029 -> 0 bytes
 .../res/drawable-xhdpi/prettyfish_memory.png| Bin 5910 -> 0 bytes
 .../res/drawable-xhdpi/prettyfish_traffic.png   | Bin 6083 -> 0 bytes
 .../drawable/leak_canary_toast_background.xml   |  23 -
 .../res/drawable/prettyfish_bg_floatmenu.xml|  23 -
 .../main/res/drawable/prettyfish_coordrect.xml  |  28 -
 .../src/main/res/drawable/prettyfish_fab.xml|  22 -
 .../main/res/layout/prettyfish_coordview.xml|  67 ---
 .../main/res/layout/prettyfish_coverview.xml|  28 -
 .../main/res/layout/prettyfish_datachart.xml| 109 
 .../main/res/layout/prettyfish_datafilelist.xml |  29 --
 .../main/res/layout/prettyfish_datafilerow.xml  |  42 --
 .../src/main/res/layout/prettyfish_datarow.xml  |  37 --
 .../src/main/res/layout/prettyfish_detail.xml   |  37 --
 .../main/res/layout/prettyfish_filedetail.xml   |  35 --
 .../src/main/res/layout/prettyfish_filelist.xml |  29 --
 .../src/main/res/layout/prettyfish_filerow.xml  |  44 --
 .../res/layout/prettyfish_floatmenu_item.xml|  40 --
 .../res/layout/prettyfish_floatmenuview.xml |  40 --
 .../main/res/layout/prettyfish_recordview.xml   |  47 --
 .../src/main/res/layout/prettyfish_table.xml|  51 --
 .../main/res/layout/prettyfish_tableitem.xml|  60 ---
 .../src/main/res/layout/prettyfish_uedgird.xml  |  43 --
 .../weex_debug/src/main/res/values/attrs.xml|  28 -
 .../weex_debug/src/main/res/values/colors.xml   |  37 --
 

[4/6] incubator-weex git commit: Merge remote-tracking branch 'remotes/upstream/master' into android-feature-remove-debug

2017-11-15 Thread misakuo
Merge remote-tracking branch 'remotes/upstream/master' into 
android-feature-remove-debug


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

Branch: refs/heads/master
Commit: 2e49e4df4c0b207667a40520f751eb0dcbfe794b
Parents: b0dbdde 3a0ac37
Author: misakuo 
Authored: Wed Nov 15 15:34:58 2017 +0800
Committer: misakuo 
Committed: Wed Nov 15 15:34:58 2017 +0800

--
 html5/runtime/api/init.js   | 42 ++--
 html5/runtime/bridge/CallbackManager.js | 31 +
 html5/runtime/bridge/TaskCenter.js  |  8 +++
 html5/runtime/bridge/receiver.js| 69 
 html5/runtime/utils.js  | 22 +++
 html5/runtime/vdom/Element.js   | 36 ++
 ios/sdk/WeexSDK.xcodeproj/project.pbxproj   |  6 ++
 ios/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.m | 52 +++
 .../WeexSDK/Sources/Component/WXListComponent.m | 14 ++--
 .../Sources/Component/WXScrollerComponent.m |  1 +
 .../WeexSDK/Sources/Component/WXTextComponent.m | 19 +++---
 .../WeexSDK/Sources/Events/WXComponent+Events.m |  5 ++
 ios/sdk/WeexSDK/Sources/Module/WXMetaModule.m   |  2 +-
 ios/sdk/WeexSDK/Sources/Module/WXStreamModule.m | 16 ++---
 .../WeexSDK/Sources/Module/WXWebSocketModule.m  |  3 -
 ios/sdk/WeexSDK/Sources/Monitor/WXMonitor.m |  2 +
 ios/sdk/WeexSDK/Sources/Utility/WXUtility.h |  1 +
 ios/sdk/WeexSDKTests/WXBridgeMethodTests.m  | 15 +
 ios/sdk/WeexSDKTests/WXTestBridgeMethodDummy.h  | 24 +++
 ios/sdk/WeexSDKTests/WXTestBridgeMethodDummy.m  | 28 
 package.json|  2 +-
 21 files changed, 320 insertions(+), 78 deletions(-)
--




[2/6] incubator-weex git commit: * [android] removing the legacy module weex_debug

2017-11-15 Thread misakuo
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/b0dbdde1/android/weex_debug/src/main/java/com/taobao/weex/scalpel/ScalpelFrameLayout.java
--
diff --git 
a/android/weex_debug/src/main/java/com/taobao/weex/scalpel/ScalpelFrameLayout.java
 
b/android/weex_debug/src/main/java/com/taobao/weex/scalpel/ScalpelFrameLayout.java
deleted file mode 100644
index 496cb73..000
--- 
a/android/weex_debug/src/main/java/com/taobao/weex/scalpel/ScalpelFrameLayout.java
+++ /dev/null
@@ -1,519 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- * 
- *   http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package com.taobao.weex.scalpel;
-
-import android.content.Context;
-import android.content.res.Resources;
-import android.content.res.Resources.NotFoundException;
-import android.graphics.Camera;
-import android.graphics.Canvas;
-import android.graphics.Color;
-import android.graphics.Matrix;
-import android.graphics.Paint;
-import android.graphics.Rect;
-import android.graphics.Typeface;
-import android.os.Build;
-import android.util.AttributeSet;
-import android.util.Log;
-import android.util.SparseArray;
-import android.view.MotionEvent;
-import android.view.View;
-import android.view.ViewConfiguration;
-import android.view.ViewGroup;
-import android.widget.FrameLayout;
-
-import java.util.ArrayDeque;
-import java.util.BitSet;
-import java.util.Deque;
-
-import static android.graphics.Paint.ANTI_ALIAS_FLAG;
-import static android.graphics.Paint.Style.STROKE;
-import static android.graphics.Typeface.NORMAL;
-import static android.os.Build.VERSION_CODES.JELLY_BEAN;
-import static android.view.MotionEvent.ACTION_DOWN;
-import static android.view.MotionEvent.ACTION_POINTER_UP;
-import static android.view.MotionEvent.INVALID_POINTER_ID;
-
-/**
- * Renders your view hierarchy as an interactive 3D visualization of layers.
- * 
- * Interactions supported:
- * 
- * Single touch: controls the rotation of the model.
- * Two finger vertical pinch: Adjust zoom.
- * Two finger horizontal pinch: Adjust layer spacing.
- * 
- */
-public class ScalpelFrameLayout extends FrameLayout {
-  private static final int TRACKING_UNKNOWN = 0;
-  private static final int TRACKING_VERTICALLY = 1;
-  private static final int TRACKING_HORIZONTALLY = -1;
-  private static final int ROTATION_MAX = 60;
-  private static final int ROTATION_MIN = -ROTATION_MAX;
-  private static final int ROTATION_DEFAULT_X = -10;
-  private static final int ROTATION_DEFAULT_Y = 15;
-  private static final float ZOOM_DEFAULT = 0.6f;
-  private static final float ZOOM_MIN = 0.33f;
-  private static final float ZOOM_MAX = 2f;
-  private static final int SPACING_DEFAULT = 25;
-  private static final int SPACING_MIN = 10;
-  private static final int SPACING_MAX = 100;
-  private static final int CHROME_COLOR = Color.RED;
-  private static final int CHROME_SHADOW_COLOR = 0xFF00;
-  private static final int TEXT_OFFSET_DP = 2;
-  private static final int TEXT_SIZE_DP = 10;
-  private static final int CHILD_COUNT_ESTIMATION = 25;
-  private static final boolean DEBUG = false;
-
-  private static void log(String message, Object... args) {
-Log.d("Scalpel", String.format(message, args));
-  }
-
-  private static class LayeredView {
-View view;
-int layer;
-
-void set(View view, int layer) {
-  this.view = view;
-  this.layer = layer;
-}
-
-void clear() {
-  view = null;
-  layer = -1;
-}
-  }
-
-  private final Rect viewBoundsRect = new Rect();
-  private final Paint viewBorderPaint = new Paint(ANTI_ALIAS_FLAG);
-  private final Camera camera = new Camera();
-  private final Matrix matrix = new Matrix();
-  private final int[] location = new int[2];
-  private final BitSet visibilities = new BitSet(CHILD_COUNT_ESTIMATION);
-  private final SparseArray idNames = new SparseArray<>();
-  private final Deque layeredViewQueue = new ArrayDeque<>();
-  private final Pool layeredViewPool = new 
Pool(CHILD_COUNT_ESTIMATION) {
-@Override protected LayeredView newObject() {
-  return new LayeredView();
-}
-  };
-
-  private final Resources res;
-  private final float density;
-  private final float slop;
-  private final float textOffset;
-  

[6/6] incubator-weex git commit: Merge branch 'master' into android-feature-remove-debug

2017-11-15 Thread misakuo
Merge branch 'master' into android-feature-remove-debug

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

Branch: refs/heads/master
Commit: 78f2312cafa3922871ce715c485de279ac004c77
Parents: 14a516d 4269d24
Author: moxun 
Authored: Wed Nov 15 15:47:53 2017 +0800
Committer: GitHub 
Committed: Wed Nov 15 15:47:53 2017 +0800

--

--




[GitHub] incubator-weex issue #867: [WEEX-119][iOS] disable tableview estimation row ...

2017-11-15 Thread weex-bot
Github user weex-bot commented on the issue:

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





  

  
  Warnings

  
  
  :warning:
  No Changelog changes!

  

  :warning:
  This PR should update related documents as well. 

  




  

  
  Messages

  
  
  :book:
  danger test finished.

  




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




---


[GitHub] incubator-weex pull request #867: [WEEX-119][iOS] disable tableview estimati...

2017-11-15 Thread acton393
GitHub user acton393 opened a pull request:

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

[WEEX-119][iOS] disable tableview estimation row or section height.

  according to  
https://stackoverflow.com/questions/46445661/ios-11-uitableview-behaviour-changed/46447370#46447370
  https://forums.developer.apple.com/message/245686  this estimation action 
will make tableview edit abnormal, crash sometimes
  so disable it from iOS 11.

Bug: 119

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

$ git pull https://github.com/acton393/incubator-weex 
iOS11-tableview-estimate-adapter

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

https://github.com/apache/incubator-weex/pull/867.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 #867


commit ada7945ec8b4c4e1b3c73ef47a41c1ef08d29c54
Author: acton393 
Date:   2017-11-15T08:22:01Z

[WEEX-119][iOS] disable tableview estimation row or section height.

  according to  
https://stackoverflow.com/questions/46445661/ios-11-uitableview-behaviour-changed/46447370#46447370
  https://forums.developer.apple.com/message/245686  this estimation action 
will make tableview edit abnormal, crash sometimes
  so disable it from iOS 11.

Bug: 119




---