You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by gu...@apache.org on 2017/10/16 07:05:21 UTC

[1/4] incubator-weex git commit: * [test] check cn source

Repository: incubator-weex
Updated Branches:
  refs/heads/master dea22e93d -> cbfb1a962


* [test] check cn source


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

Branch: refs/heads/master
Commit: cbfb1a96297e84bf064029c887f9325d55c2f85f
Parents: d6a9c1f
Author: gurisxie <27...@qq.com>
Authored: Mon Oct 16 15:02:26 2017 +0800
Committer: gurisxie <27...@qq.com>
Committed: Mon Oct 16 15:04:38 2017 +0800

----------------------------------------------------------------------
 dangerfile.js | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/cbfb1a96/dangerfile.js
----------------------------------------------------------------------
diff --git a/dangerfile.js b/dangerfile.js
index 97c4146..bfa61fb 100644
--- a/dangerfile.js
+++ b/dangerfile.js
@@ -273,6 +273,14 @@ filesToVerifySrcHeader.forEach(filepath => {
       return;
     }
   }
+
+  // check cn for source code
+  var reg = /[\u4e00-\u9FA5]+/; 
+  var res = reg.test(content);
+  if(res){
+    fail("Code file "+ filepath +" has cn source code.");
+    return ;
+  }
 });
 
 


[4/4] incubator-weex git commit: bug fix for list cell add event has none affect when cell not init

Posted by gu...@apache.org.
bug fix for list cell add event has none affect when cell not init


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

Branch: refs/heads/master
Commit: 326c7b084989097bc64f19abe00168ed4adaa5f0
Parents: dea22e9
Author: jianbai.gbj <ji...@alibaba-inc.com>
Authored: Thu Oct 12 20:23:34 2017 +0800
Committer: gurisxie <27...@qq.com>
Committed: Mon Oct 16 15:04:38 2017 +0800

----------------------------------------------------------------------
 .../src/main/java/com/taobao/weex/ui/component/WXComponent.java  | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/326c7b08/android/sdk/src/main/java/com/taobao/weex/ui/component/WXComponent.java
----------------------------------------------------------------------
diff --git a/android/sdk/src/main/java/com/taobao/weex/ui/component/WXComponent.java b/android/sdk/src/main/java/com/taobao/weex/ui/component/WXComponent.java
index d801290..672f4aa 100644
--- a/android/sdk/src/main/java/com/taobao/weex/ui/component/WXComponent.java
+++ b/android/sdk/src/main/java/com/taobao/weex/ui/component/WXComponent.java
@@ -968,7 +968,9 @@ public abstract class  WXComponent<T extends View> implements IWXObject, IWXActi
    * @param type
    */
   public void addEvent(String type) {
-    if (TextUtils.isEmpty(type) || mAppendEvents.contains(type)) {
+    if (TextUtils.isEmpty(type)
+            || mAppendEvents.contains(type)
+            || getRealView() == null) {
       return;
     }
     mAppendEvents.add(type);


[3/4] incubator-weex git commit: * [android] first startup, if jsf work not ready, report exception and use h5 render

Posted by gu...@apache.org.
 * [android] first startup, if jsf work not ready, report exception and use h5 render


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

Branch: refs/heads/master
Commit: d6a9c1fd537079e93b9fe6916cbac4b80ce3f2fd
Parents: f02c767
Author: yuhun-alibaba <to...@gmail.com>
Authored: Sat Oct 14 20:03:26 2017 +0800
Committer: gurisxie <27...@qq.com>
Committed: Mon Oct 16 15:04:38 2017 +0800

----------------------------------------------------------------------
 .../src/main/java/com/taobao/weex/bridge/WXBridgeManager.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/d6a9c1fd/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java
----------------------------------------------------------------------
diff --git a/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java b/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java
index 70dfc90..713c4c2 100644
--- a/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java
+++ b/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java
@@ -1378,8 +1378,8 @@ public class WXBridgeManager implements Callback,BactchExecutor {
       return;
     }
 
-    // 如果没有初始化尽快返回Exception,并且异步初始化
-    if (!isJSFrameworkInit()) {
+    // 如果首次启动没初始化尽快返回Exception,并且异步初始化
+    if (!isJSFrameworkInit() && reInitCount == 1) {
       instance.onRenderError(WXRenderErrorCode.WX_CREATE_INSTANCE_ERROR, "createInstance fail!");
       post(new Runnable() {
         @Override


[2/4] incubator-weex git commit: * [android] format debug log

Posted by gu...@apache.org.
 * [android] format debug log


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

Branch: refs/heads/master
Commit: f02c76741b0d34b074088f0b30187be16ec1dec8
Parents: 326c7b0
Author: yuhun-alibaba <to...@gmail.com>
Authored: Fri Oct 13 14:44:49 2017 +0800
Committer: gurisxie <27...@qq.com>
Committed: Mon Oct 16 15:04:38 2017 +0800

----------------------------------------------------------------------
 android/sdk/libs/armeabi/libweexjsb.so | Bin 22616 -> 22556 bytes
 android/sdk/libs/armeabi/libweexjsc.so | Bin 341824 -> 335100 bytes
 android/sdk/libs/armeabi/libweexjss.so | Bin 6754016 -> 6754016 bytes
 3 files changed, 0 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/f02c7674/android/sdk/libs/armeabi/libweexjsb.so
----------------------------------------------------------------------
diff --git a/android/sdk/libs/armeabi/libweexjsb.so b/android/sdk/libs/armeabi/libweexjsb.so
index 1330933..c46e857 100755
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/f02c7674/android/sdk/libs/armeabi/libweexjsc.so
----------------------------------------------------------------------
diff --git a/android/sdk/libs/armeabi/libweexjsc.so b/android/sdk/libs/armeabi/libweexjsc.so
index 4e76388..ec98d07 100755
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/f02c7674/android/sdk/libs/armeabi/libweexjss.so
----------------------------------------------------------------------
diff --git a/android/sdk/libs/armeabi/libweexjss.so b/android/sdk/libs/armeabi/libweexjss.so
index 544d41d..5a8809c 100755
Binary files a/android/sdk/libs/armeabi/libweexjss.so and b/android/sdk/libs/armeabi/libweexjss.so differ