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/13 01:58:05 UTC

[1/3] incubator-weex git commit: update so

Repository: incubator-weex
Updated Branches:
  refs/heads/release ccf0590b3 -> 05214a79d


 update 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/9ea8bbd3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/9ea8bbd3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/9ea8bbd3

Branch: refs/heads/release
Commit: 9ea8bbd3c15fd958a5a675571c45cc20951ec814
Parents: ccf0590
Author: yuhun-alibaba <to...@gmail.com>
Authored: Wed Oct 11 14:27:47 2017 +0800
Committer: yuhun-alibaba <to...@gmail.com>
Committed: Wed Oct 11 14:27:47 2017 +0800

----------------------------------------------------------------------
 android/sdk/libs/armeabi/libweexjsb.so | Bin 22620 -> 22620 bytes
 android/sdk/libs/armeabi/libweexjsc.so | Bin 342264 -> 342264 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/9ea8bbd3/android/sdk/libs/armeabi/libweexjsb.so
----------------------------------------------------------------------
diff --git a/android/sdk/libs/armeabi/libweexjsb.so b/android/sdk/libs/armeabi/libweexjsb.so
index cd36273..2d3b7b4 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/9ea8bbd3/android/sdk/libs/armeabi/libweexjsc.so
----------------------------------------------------------------------
diff --git a/android/sdk/libs/armeabi/libweexjsc.so b/android/sdk/libs/armeabi/libweexjsc.so
index 36eae45..d4009b8 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/9ea8bbd3/android/sdk/libs/armeabi/libweexjss.so
----------------------------------------------------------------------
diff --git a/android/sdk/libs/armeabi/libweexjss.so b/android/sdk/libs/armeabi/libweexjss.so
index 544d41d..f0bb8d4 100755
Binary files a/android/sdk/libs/armeabi/libweexjss.so and b/android/sdk/libs/armeabi/libweexjss.so differ


[3/3] incubator-weex git commit: * [android] update so delete some debug log

Posted by gu...@apache.org.
 * [android] update so
 delete some 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/05214a79
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/05214a79
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/05214a79

Branch: refs/heads/release
Commit: 05214a79dc115db0c7fc05debe0c6abae51f876e
Parents: 35a03a8
Author: yuhun-alibaba <to...@gmail.com>
Authored: Thu Oct 12 11:47:06 2017 +0800
Committer: yuhun-alibaba <to...@gmail.com>
Committed: Thu Oct 12 11:47:06 2017 +0800

----------------------------------------------------------------------
 android/sdk/libs/armeabi/libweexjsb.so | Bin 22620 -> 22616 bytes
 android/sdk/libs/armeabi/libweexjsc.so | Bin 342264 -> 341824 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/05214a79/android/sdk/libs/armeabi/libweexjsb.so
----------------------------------------------------------------------
diff --git a/android/sdk/libs/armeabi/libweexjsb.so b/android/sdk/libs/armeabi/libweexjsb.so
index 2d3b7b4..1330933 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/05214a79/android/sdk/libs/armeabi/libweexjsc.so
----------------------------------------------------------------------
diff --git a/android/sdk/libs/armeabi/libweexjsc.so b/android/sdk/libs/armeabi/libweexjsc.so
index d4009b8..4e76388 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/05214a79/android/sdk/libs/armeabi/libweexjss.so
----------------------------------------------------------------------
diff --git a/android/sdk/libs/armeabi/libweexjss.so b/android/sdk/libs/armeabi/libweexjss.so
index f0bb8d4..544d41d 100755
Binary files a/android/sdk/libs/armeabi/libweexjss.so and b/android/sdk/libs/armeabi/libweexjss.so differ


[2/3] incubator-weex git commit: * [android] if jsf not initialed, use weex to load page may fail and report exception in order to aovid wait exception, report creat instance failed directly and initFramework async

Posted by gu...@apache.org.
 * [android] if jsf not initialed, use weex to load page may fail and report exception
   in order to aovid wait exception, report creat instance failed directly and initFramework async


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

Branch: refs/heads/release
Commit: 35a03a8dd460d1c5fba5e4046dfd5424f13f1ba8
Parents: 9ea8bbd
Author: yuhun-alibaba <to...@gmail.com>
Authored: Wed Oct 11 22:41:33 2017 +0800
Committer: yuhun-alibaba <to...@gmail.com>
Committed: Wed Oct 11 22:41:33 2017 +0800

----------------------------------------------------------------------
 .../java/com/taobao/weex/bridge/WXBridgeManager.java   | 13 +++++++++++++
 1 file changed, 13 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/35a03a8d/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 07f2381..70dfc90 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
@@ -1377,6 +1377,19 @@ public class WXBridgeManager implements Callback,BactchExecutor {
       instance.onRenderError(WXRenderErrorCode.WX_CREATE_INSTANCE_ERROR, "createInstance fail!");
       return;
     }
+
+    // 如果没有初始化尽快返回Exception,并且异步初始化
+    if (!isJSFrameworkInit()) {
+      instance.onRenderError(WXRenderErrorCode.WX_CREATE_INSTANCE_ERROR, "createInstance fail!");
+      post(new Runnable() {
+        @Override
+        public void run() {
+          initFramework("");
+        }
+      }, instanceId);
+      return;
+    }
+
     WXModuleManager.createDomModule(instance);
     post(new Runnable() {
       @Override