[GitHub] incubator-weex issue #1013: [Android][WIP]Enhancement for input component
Github user weex-bot commented on the issue: https://github.com/apache/incubator-weex/pull/1013 Warnings :warning: No Changelog changes! :warning: Potential BREAK CHANGE. Modify public in android/sdk/src/main/java/com/taobao/weex/ui/component/AbstractEditComponent.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 #1013: [Android][WIP]Enhancement for input compo...
GitHub user misakuo opened a pull request: https://github.com/apache/incubator-weex/pull/1013 [Android][WIP]Enhancement for input component Testcase: http://dotwe.org/vue/fbe2897970b37269be07d17b0e9cf4a2 You can merge this pull request into a Git repository by running: $ git pull https://github.com/misakuo/incubator-weex android-feature-input-keep-index Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-weex/pull/1013.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 #1013 commit 709968412fb9f3c04428d3c667a6a2279edf0099 Author: misakuoDate: 2018-01-19T10:25:34Z * [android] input component support keep cursor index after update value commit e33761c4e024174f847265e05d8b701e2e4e135c Author: misakuo Date: 2018-02-01T10:09:33Z * [android] text formatter support commit 8eb407591c284ed8f6fc0d79a6b51d97972a2f91 Author: misakuo Date: 2018-02-02T08:40:00Z * [android] add allow-copy-paste attribute to control whether allow copy and paste text content ---
incubator-weex git commit: JsService should be registered during weex reload
Repository: incubator-weex Updated Branches: refs/heads/master 3023b070b -> c6754e68f JsService should be registered during weex reload Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/c6754e68 Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/c6754e68 Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/c6754e68 Branch: refs/heads/master Commit: c6754e68f57f7a926ed49e864079abd3444a820d Parents: 3023b07 Author: DarinAuthored: Thu Jan 25 16:21:08 2018 +0800 Committer: yuhun-alibaba Committed: Fri Feb 2 16:23:50 2018 +0800 -- .../main/java/com/taobao/weex/WXSDKEngine.java | 1 + .../taobao/weex/bridge/WXServiceManager.java| 25 +--- 2 files changed, 18 insertions(+), 8 deletions(-) -- http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/c6754e68/android/sdk/src/main/java/com/taobao/weex/WXSDKEngine.java -- diff --git a/android/sdk/src/main/java/com/taobao/weex/WXSDKEngine.java b/android/sdk/src/main/java/com/taobao/weex/WXSDKEngine.java index 5548ced..7069729 100644 --- a/android/sdk/src/main/java/com/taobao/weex/WXSDKEngine.java +++ b/android/sdk/src/main/java/com/taobao/weex/WXSDKEngine.java @@ -523,6 +523,7 @@ public class WXSDKEngine { WXBridgeManager.getInstance().restart(); WXBridgeManager.getInstance().initScriptsFramework(framework); +WXServiceManager.reload(); WXModuleManager.reload(); WXComponentRegistry.reload(); WXSDKManager.getInstance().postOnUiThread(new Runnable() { http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/c6754e68/android/sdk/src/main/java/com/taobao/weex/bridge/WXServiceManager.java -- diff --git a/android/sdk/src/main/java/com/taobao/weex/bridge/WXServiceManager.java b/android/sdk/src/main/java/com/taobao/weex/bridge/WXServiceManager.java index 4baf3ba..27bfb5a 100644 --- a/android/sdk/src/main/java/com/taobao/weex/bridge/WXServiceManager.java +++ b/android/sdk/src/main/java/com/taobao/weex/bridge/WXServiceManager.java @@ -19,7 +19,6 @@ package com.taobao.weex.bridge; import android.text.TextUtils; - import com.taobao.weex.WXEnvironment; import com.taobao.weex.common.WXJSService; @@ -46,13 +45,11 @@ public class WXServiceManager { } String serviceJs = String.format(";(function(service, options){ ;%s; })({ %s }, { %s });", serviceScript, param1, param2); -if(WXEnvironment.isApkDebugable()) { -WXJSService service = new WXJSService(); -service.setName(name); -service.setScript(serviceScript); -service.setOptions(options); -sInstanceJSServiceMap.put(name, service); -} +WXJSService service = new WXJSService(); +service.setName(name); +service.setScript(serviceScript); +service.setOptions(options); +sInstanceJSServiceMap.put(name, service); WXBridgeManager.getInstance().execJSService(serviceJs); return true; @@ -84,4 +81,16 @@ public class WXServiceManager { } return null; } + +public static void reload() { +WXBridgeManager.getInstance().post(new Runnable() { +@Override +public void run() { +for (Map.Entry entry : sInstanceJSServiceMap.entrySet()) { +WXJSService service = entry.getValue(); +registerService(service.getName(), service.getScript(), service.getOptions()); +} +} +}); +} }
[incubator-weex] Git Push Summary [forced push!] [Forced Update!]
Repository: incubator-weex Updated Branches: refs/heads/master 544f92139 -> 3023b070b (forced update)
[GitHub] incubator-weex pull request #1012: *[WEEX-206][android] update x86 so for js...
Github user asfgit closed the pull request at: https://github.com/apache/incubator-weex/pull/1012 ---
[1/2] incubator-weex git commit: *[WEEX-206][android] update x86 so for jsc
Repository: incubator-weex Updated Branches: refs/heads/master 8c939acbd -> 544f92139 *[WEEX-206][android] update x86 so for jsc Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/3023b070 Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/3023b070 Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/3023b070 Branch: refs/heads/master Commit: 3023b070b4a6223c502b61eba619fa5a9cb221b0 Parents: b947109 Author: yuhun-alibabaAuthored: Fri Feb 2 15:10:04 2018 +0800 Committer: yuhun-alibaba Committed: Fri Feb 2 15:56:42 2018 +0800 -- android/sdk/libs/x86/libweexjsb.so | Bin 0 -> 3212 bytes android/sdk/libs/x86/libweexjsc.so | Bin 12126020 -> 649940 bytes android/sdk/libs/x86/libweexjss.so | Bin 0 -> 10942128 bytes 3 files changed, 0 insertions(+), 0 deletions(-) -- http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/3023b070/android/sdk/libs/x86/libweexjsb.so -- diff --git a/android/sdk/libs/x86/libweexjsb.so b/android/sdk/libs/x86/libweexjsb.so new file mode 100755 index 000..89b54ae Binary files /dev/null and b/android/sdk/libs/x86/libweexjsb.so differ http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/3023b070/android/sdk/libs/x86/libweexjsc.so -- diff --git a/android/sdk/libs/x86/libweexjsc.so b/android/sdk/libs/x86/libweexjsc.so index 6b3ca7f..3e2bf9a 100755 Binary files a/android/sdk/libs/x86/libweexjsc.so and b/android/sdk/libs/x86/libweexjsc.so differ http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/3023b070/android/sdk/libs/x86/libweexjss.so -- diff --git a/android/sdk/libs/x86/libweexjss.so b/android/sdk/libs/x86/libweexjss.so new file mode 100755 index 000..13c858f Binary files /dev/null and b/android/sdk/libs/x86/libweexjss.so differ
[2/2] incubator-weex git commit: Merge branch 'fix_x86_so_bug' of https://github.com/yuhun-alibaba/incubator-weex into incubator-master
Merge branch 'fix_x86_so_bug' of https://github.com/yuhun-alibaba/incubator-weex into incubator-master Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/544f9213 Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/544f9213 Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/544f9213 Branch: refs/heads/master Commit: 544f921399d8b9e246ff588138ced7ba0ac1d3b5 Parents: 8c939ac 3023b07 Author: yuhun-alibabaAuthored: Fri Feb 2 16:07:49 2018 +0800 Committer: yuhun-alibaba Committed: Fri Feb 2 16:07:49 2018 +0800 -- android/sdk/libs/x86/libweexjsb.so | Bin 0 -> 3212 bytes android/sdk/libs/x86/libweexjsc.so | Bin 12126020 -> 649940 bytes android/sdk/libs/x86/libweexjss.so | Bin 0 -> 10942128 bytes 3 files changed, 0 insertions(+), 0 deletions(-) --
[GitHub] incubator-weex issue #1012: *[WEEX-206][android] update x86 so for jsc
Github user weex-bot commented on the issue: https://github.com/apache/incubator-weex/pull/1012 Warnings :warning: No Changelog changes! Messages :book: danger test finished. Generated by :no_entry_sign: http://github.com/danger/danger-js/;>dangerJS ---