[GitHub] [incubator-weex] ikantech opened a new issue #3135: [Android] 0.28.0 fireEventSync同步事件回调Java层无法收到
ikantech opened a new issue #3135: [Android] 0.28.0 fireEventSync同步事件回调Java层无法收到 URL: https://github.com/apache/incubator-weex/issues/3135 经测试发现,nativeback等同步事件回调Java层无法收到,底层返回callbackid与Java层callbackid无法对应,所以无法触发回调。 core_side_in_script.cpp : ```cpp void CoreSideInMultiProcess::OnReceivedResult(long callback_id, std::unique_ptr &result) { BackToWeexCoreQueue::IPCTask *ipc_task = new BackToWeexCoreQueue::IPCTask( IPCProxyMsg::ONRECEIVEDRESULT); auto temp = std::to_string(callback_id); ipc_task->addParams(temp.c_str(), temp.length()); if (result != nullptr) { ipc_task->addParams(result->data.get(), result->length); } WeexEnv::getEnv()->m_back_to_weex_core_thread.get()->addTask(ipc_task); } ``` 这里传输的是字符串,而在返回WeexCore后,则直接转成了long script_bridge_in_multi_process.cpp: ```cpp std::unique_ptr OnReceivedResult(IPCArguments *arguments) { long callback_id = arguments->get(0); std::unique_ptr result; ``` 应该要由string转long ```cpp std::unique_ptr OnReceivedResult(IPCArguments *arguments) { auto arg1 = std::unique_ptr(getArumentAsCStr(arguments, 0)); long callback_id = atol(arg1.get()); ``` 由于我未深入了解weex底层,代码不一定正确,烦请官方修复,谢谢 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [incubator-weex] zsmjhtn opened a new issue #3136: [Android] Unexpected behavior in Style where weex version is 0.28
zsmjhtn opened a new issue #3136: [Android] Unexpected behavior in Style where weex version is 0.28 URL: https://github.com/apache/incubator-weex/issues/3136 phenomenon: The code is work: ```javascript TAOBAO ``` But the code is in vain: ```javascript TAOBAO ``` If I change to this, it works as well: ```javascript TAOBAO ``` Have found the reason, the **BasicComponentData** of is very different to : ```javascript : BasicComponentData-- -WXAttr: value : ["span":x, style:['font-size':42,...]xx -WXStyle:null : BasicComponentData-- -WXAttr: null -WXStyle: fontSize:42, xxx ``` In the end of logic, the code compareWith "fontSize". the way of Style-Format "font-size" in compared failure. Only "fontSize" can works. And two ways of Style-Format in other Components are all right. But I have not get good idea to fix it. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [incubator-weex] oppo12312312 commented on issue #2621: recycle-list设置为横向,cell的宽度设置无效,总是沾满屏幕
oppo12312312 commented on issue #2621: recycle-list设置为横向,cell的宽度设置无效,总是沾满屏幕 URL: https://github.com/apache/incubator-weex/issues/2621#issuecomment-584663992 现在有一个横向长列表的需求,用scroller组件会出现内存溢出,求解决,或者一个临时解决方案 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [incubator-weex] oppo12312312 commented on issue #2560: recycle里面里面的组件添加了点击事件,只要给对应点击函数传递了参数,就会出现弹出层无效的问题。点击、滑动都操作在底部页面了0.18版本正常,0.19+至0.24都存在这个问题
oppo12312312 commented on issue #2560: recycle里面里面的组件添加了点击事件,只要给对应点击函数传递了参数,就会出现弹出层无效的问题。点击、滑动都操作在底部页面了0.18版本正常,0.19+至0.24都存在这个问题 URL: https://github.com/apache/incubator-weex/issues/2560#issuecomment-584671635 求解决,RecycleList相比list在长列表上优化了不少,但是这个bug导致不能用 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [incubator-weex] oppo12312312 commented on issue #2560: recycle里面里面的组件添加了点击事件,只要给对应点击函数传递了参数,就会出现弹出层无效的问题。点击、滑动都操作在底部页面了0.18版本正常,0.19+至0.24都存在这个问题
oppo12312312 commented on issue #2560: recycle里面里面的组件添加了点击事件,只要给对应点击函数传递了参数,就会出现弹出层无效的问题。点击、滑动都操作在底部页面了0.18版本正常,0.19+至0.24都存在这个问题 URL: https://github.com/apache/incubator-weex/issues/2560#issuecomment-584671839 > 用普通List,RecycleList的bug后续修复。 > http://dotwe.org/vue/443eaf9819c6bf59b22766352223d140 求解决,RecycleList相比list在长列表上优化了不少,但是这个bug导致不能用 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [incubator-weex] oppo12312312 removed a comment on issue #2560: recycle里面里面的组件添加了点击事件,只要给对应点击函数传递了参数,就会出现弹出层无效的问题。点击、滑动都操作在底部页面了0.18版本正常,0.19+至0.24都存在这个问题
oppo12312312 removed a comment on issue #2560: recycle里面里面的组件添加了点击事件,只要给对应点击函数传递了参数,就会出现弹出层无效的问题。点击、滑动都操作在底部页面了0.18版本正常,0.19+至0.24都存在这个问题 URL: https://github.com/apache/incubator-weex/issues/2560#issuecomment-584671635 求解决,RecycleList相比list在长列表上优化了不少,但是这个bug导致不能用 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [incubator-weex] ArrayDC opened a new issue #3137: [Android] 0.28.0 JS引擎性能问题
ArrayDC opened a new issue #3137: [Android] 0.28.0 JS引擎性能问题 URL: https://github.com/apache/incubator-weex/issues/3137 目前使用的JS引擎性能低,什么时候更新JSC版本? This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[incubator-weex-ui] branch dev updated: [+] add show-indicator param
This is an automated email from the ASF dual-hosted git repository. tw93 pushed a commit to branch dev in repository https://gitbox.apache.org/repos/asf/incubator-weex-ui.git The following commit(s) were added to refs/heads/dev by this push: new 10f97fa [+] add show-indicator param 10f97fa is described below commit 10f97fa91559afa1ecd437eee07f6f794c74cb8c Author: Tw93 AuthorDate: Wed Feb 12 14:54:46 2020 +0800 [+] add show-indicator param --- CHANGELOG.md| 3 +++ CHANGELOG_cn.md | 3 +++ docs/_coverpage.md | 2 +- example/lightbox/index.vue | 1 - package.json| 2 +- packages/wxc-lightbox/index.vue | 9 +++-- 6 files changed, 15 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9cc9ac1..edae158 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Change Log +## 0.8.4 +- [+] [wxc-lightbox](https://apache.github.io/incubator-weex-ui/#/cn/packages/wxc-lightbox) add `show-indicator` param to show indicator + ## 0.8.3 - [+] [wxc-loading](https://apache.github.io/incubator-weex-ui/#/packages/wxc-loading) add `loading-pic` param. - [+] [wxc-loading](https://apache.github.io/incubator-weex-ui/#/packages/wxc-slider-bar) add `block-color` param. diff --git a/CHANGELOG_cn.md b/CHANGELOG_cn.md index d1b20b9..1e6fbb3 100644 --- a/CHANGELOG_cn.md +++ b/CHANGELOG_cn.md @@ -1,5 +1,8 @@ # 升级日志 +## 0.8.4 +- [+] [wxc-lightbox](https://apache.github.io/incubator-weex-ui/#/cn/packages/wxc-lightbox) 增加 `show-indicator` 参数控制是否显示indicator + ## 0.8.3 - [+] [wxc-loading](https://apache.github.io/incubator-weex-ui/#/cn/packages/wxc-loading) 增加 `loading-pic` 参数用于覆盖原有 loading 图片. - [+] [wxc-loading](https://apache.github.io/incubator-weex-ui/#/cn/packages/wxc-slider-bar) 增加 `block-color` 参数用于覆盖原有滑块颜色. diff --git a/docs/_coverpage.md b/docs/_coverpage.md index 587ad77..bb46245 100644 --- a/docs/_coverpage.md +++ b/docs/_coverpage.md @@ -1,6 +1,6 @@ https://img.alicdn.com/tfs/TB1kCs_er_I8KJjy1XaXXbsxpXa-419-495.png"; width="146px"> -# Weex Ui 0.8.3 +# Weex Ui 0.8.4 > A rich > interaction, lightweight, high performance UI library. diff --git a/example/lightbox/index.vue b/example/lightbox/index.vue index 9648009..418ea31 100644 --- a/example/lightbox/index.vue +++ b/example/lightbox/index.vue @@ -38,7 +38,6 @@ under the License. @@ -77,6 +78,10 @@ under the License. type: Boolean, default: false }, + showIndicator: { +type: Boolean, +default: true + }, imageList: Array, indicatorColor: { type: Object, @@ -90,14 +95,14 @@ under the License. type: [Number, String], default: 0 }, - interval:{ + interval: { type: [Number, String], default: 3000 }, opacity: { type: [Number, String], default: 0.6 - }, + } }, computed: { indicatorStyle () {
[incubator-weex-ui] branch master updated (5e56933 -> 10f97fa)
This is an automated email from the ASF dual-hosted git repository. tw93 pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-ui.git. from 5e56933 [+]add blockcolor param add 10f97fa [+] add show-indicator param No new revisions were added by this update. Summary of changes: CHANGELOG.md| 3 +++ CHANGELOG_cn.md | 3 +++ docs/_coverpage.md | 2 +- example/lightbox/index.vue | 1 - package.json| 2 +- packages/wxc-lightbox/index.vue | 9 +++-- 6 files changed, 15 insertions(+), 5 deletions(-)
[incubator-weex-ui] tag v0.8.4 created (now 10f97fa)
This is an automated email from the ASF dual-hosted git repository. tw93 pushed a change to tag v0.8.4 in repository https://gitbox.apache.org/repos/asf/incubator-weex-ui.git. at 10f97fa (commit) No new revisions were added by this update.
[GitHub] [incubator-weex-ui] tw93 commented on issue #493: wxc-lightbox prop show-indicator didn't work
tw93 commented on issue #493: wxc-lightbox prop show-indicator didn't work URL: https://github.com/apache/incubator-weex-ui/issues/493#issuecomment-585058872 I'm sorry that I forgot to add it. Now the latest version has been added, please update to the latest version 0.8.4 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [incubator-weex-ui] tw93 closed issue #493: wxc-lightbox prop show-indicator didn't work
tw93 closed issue #493: wxc-lightbox prop show-indicator didn't work URL: https://github.com/apache/incubator-weex-ui/issues/493 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [incubator-weex-ui] tw93 commented on issue #491: wxc-lightbox prop show-indicator didn't work
tw93 commented on issue #491: wxc-lightbox prop show-indicator didn't work URL: https://github.com/apache/incubator-weex-ui/issues/491#issuecomment-585058935 I'm sorry that I forgot to add it. Now the latest version has been added, please update to the latest version 0.8.4 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [incubator-weex] zsmjhtn commented on issue #3137: [Android] 0.28.0 JS引擎性能问题
zsmjhtn commented on issue #3137: [Android] 0.28.0 JS引擎性能问题 URL: https://github.com/apache/incubator-weex/issues/3137#issuecomment-585059710 jsc的选择权移交给了开发者。现在对于jsc的好坏/高低都依赖开发者自己的了解/选择 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [incubator-weex] zsmjhtn edited a comment on issue #3137: [Android] 0.28.0 JS引擎性能问题
zsmjhtn edited a comment on issue #3137: [Android] 0.28.0 JS引擎性能问题 URL: https://github.com/apache/incubator-weex/issues/3137#issuecomment-585059710 jsc的选择权移交给了开发者。现在对于jsc的好坏/高低都依赖开发者自己的了解/选择。不同的jsc,主要由对应的jsc社区维护 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [incubator-weex] zsmjhtn edited a comment on issue #3137: [Android] 0.28.0 JS引擎性能问题
zsmjhtn edited a comment on issue #3137: [Android] 0.28.0 JS引擎性能问题 URL: https://github.com/apache/incubator-weex/issues/3137#issuecomment-585059710 jsc的选择权移交给了开发者。现在对于jsc的好坏/高低都依赖开发者自己的了解/选择。不同的jsc,主要由对应的jsc社区维护 https://weex.apache.org/zh/download/major_change.html#_0-28 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services