@aiot-toolkit/velasim

0.1.26 • Public • Published

velasim

1. files description

  1. nuttx: the executable quickapp simulator on ubuntu os
  2. app: the quick apps directory
  3. font: the freetype font files directory

2. setup running env, install 32-bit libraries

sudo dpkg --add-architecture i386
sudo apt-get -y update
sudo apt-get -y install autoconf automake bison build-essential dfu-util genromfs flex git gperf
sudo apt-get -y install lib32ncurses5-dev libc6-dev-i386 libx11-dev libx11-dev:i386 libxext-dev
sudo apt-get -y install libxext-dev:i386 net-tools pkgconf unionfs-fuse zlib1g-dev
sudo apt-get -y install g++ g++-multilib
sudo apt-get -y install libpulse-dev:i386
sudo apt-get -y install libasound2-dev:i386
sudo apt-get -y install libasound2-plugins:i386
sudo apt-get -y install libusb-1.0-0-dev
sudo apt-get -y install libusb-1.0-0-dev:i386
sudo apt-get -y install gcc-X-multilib (X is the gcc version)

3. run the simulator on ubuntu os

./nuttx

4. run quick app in simulator

vapp app/com.xiaomi.watch.alarm

版本日志

[0.1.25] - 2022-06-21

  1. bug修复

[0.1.24] - 2022-05-18

  1. 支持子组件

[0.1.23] - 2022-03-24

  1. bug修复

[0.1.22] - 2022-01-06

  1. 支持全局配置UI属性
  2. 字体问题:
  • 字体显示不全
  1. 接口问题
  • system.interconnect 报错
  • system.brightness接口报错
  • system.vibrator接口报错
  1. 调试问题
  • 控制台大量的日志,不方便排查问题
  • 需要显示velasim的dom树结构
  1. 组件问题
  • qrcode组件内边距问题
  1. IDE需要开发的
  • vnc集成到IDE
  • IDE quickjs断点调试完成
  • dom树显示完成(选中高亮暂不处理)

[0.1.20] - 2021-11-30

  1. 修复了https无法访问的问题

[0.1.20] - 2021-10-29

  1. 使用if/else渲染的图片会闪烁 [VELAPLATFO-370]

[0.1.19] - 2021-10-21

  1. 三方应用框架 图片后台下载功能 [VELAPLATFO-216]
  2. text-indent 支持percent [VELAPLATFO-371]
  3. the style color is the foreground text color, not background color
  4. support app init performance profile

[0.1.17] - 2021-10-18

  1. device info 中增加 屏幕形状信息 [VELAPLATFO-449]
  2. 更新 framework.js
  3. 修复list 滚动后,退到上一页,系统挂死问题

[0.1.16] - 2021-10-13

  1. switch组件 background-color设置无效 [VELAPLATFO-415]
  2. QQ音乐动态改变List,显示错乱,点击闪退 [VELAPLATFO-392]
  3. list-item宽度设置不支持百分比 [VELAPLATFO-373]
  4. switch组件开和关状态的滑轨颜色是一样(预期应该不一样)[VELAPLATFO-414]
  5. slider不支持padding-top,padding-bottom样式 [VELAPLATFO-413]
  6. list不支持scrollbottom,scrolltop,scrollend,scrolltouchup事件,另外scroll事件回调函数的参数scrollState目前状态只有一种,实际应该有三种 [VELAPLATFO-412]

[0.1.15] - 2021-10-09

  1. swiper不支持通用事件. vela-qapp-samples/-/issues/99
  2. QQ音乐中动态删除list后闪退, QQ音乐动态改变List,显示错乱,点击闪退. vela-qapp-samples/-/issues/93, 95
  3. picker 组件color和selected-color不支持透明度设置. vela-qapp-samples/-/issues/97
  4. 支持font-style和font-weight. vela-qapp-samples/-/issues/35

[0.1.13] - 2021-09-27

  1. list-item 宽度设置无效, list 必须加宽度才能显示. vela-qapp-samples/-/issues/87, vela-qapp-samples/-/issues/26
  2. span/text: 支持字体 bold and italic
  3. Fix audio feature bug
  4. Use uv timer instead of idle for render ui update
  5. 支持 AIOTJS_LOG_LEVEL_OFF to disable all debug output
  6. picker:support selected-font-size
  7. 支持 font-style 和 font-weight

[0.1.12] - 2021-09-27

  1. 条件渲染的文本高度不正确
  2. progress 组件--type 为 arc 时,layer-color,color 不支持透明度
  3. progress 组件中 total-angle 设置为 360 时,进度条消失
  4. color 十六进制格式,不支持 alpha
  5. picker 组件不支持 color 样式
  6. marquee 在 align-items 为 center 时不可见
  7. swiper 组件不支持嵌套 image 标签

[0.1.10] - 2021-09-24

  1. 网络部分调整为:无需配网,可直接从外网下载

[0.1.9] - 2021-09-18

修改以下问题

  1. 使用position: absoluteleft/top/right/bottom属性不生效
  2. 设置 border 后子节点的对齐方式不正确
  3. 不支持 system.brightness
  4. 应用配置信息为空
  5. min-width/min-height 结果不正确
  6. 应用上下文 source 的 packageName 为空,logLevel 返回为空
  7. 取消监听网络连接状态崩溃
  8. border 不支持虚线
  9. border-raduis 结果不正确
  10. padding: 根元素的 padding-bottom 不生效
  11. visibility: hidden 不生效
  12. position 不支持同时设置 left/right、bottom/top
  13. CSS 中 id 选择器不生效
  14. id、style 定义的属性没有覆盖 css 定义的属性
  15. if/else 条件为非 0 数字、非空字符串和对象数组时执行不正确
  16. for 循环中 if/elif/else 执行不正确
  17. show 属性传值不生效,渲染结果不正确
  18. swiper 中 index 属性控制当前子组件索引无效
  19. swiper 中 设置 loop =false 时,手动翻页时,翻的太快会出现页面和当前索引对不上的问题
  20. swiper 中 vertical 单独使用无效,与 autoplay,interval 一起使用才有效
  21. text 标签里面嵌套 a 标签无效
  22. text 嵌套 text 出现返回上一级页面时,文字仍然在且位置在页面顶部,不依照文档流排布
  23. text 样式 font-style 设置无效
  24. text 中 font-weight 设置无效
  25. text 中 font-family 设置无效
  26. text 标签中 font-style, font-weight, font-family, text-decoration,text-indent 样式设置无效
  27. text 不支持 this 文本,会被视为关键字,转化为vm
  28. span 标签中 font-style, font-weight text-decoration 样式设置无效
  29. span 不支持 this 文本内容,会被视为关键字,替换成vm
  30. image 中 图片不显示时,alt 提示未显示
  31. image 中 src 路径为远程资源 时,远程图片未显示
  32. image 标签中样式 object-fit 为 contain 未显示在边界内
  33. image 支持 png,jpg,webp 类型,不支持 gif 类型
  34. marquee 中 font-family 设置无效
  35. 动态改变 list 会导致闪退
  36. touch 事件获取的坐标不正确
  37. click/longpress 事件获取的坐标不正确
  38. swipe 事件方向不正确
  39. input 不支持 text/email/date/time 类型,placeholder,placeholder-color 属性,caret-color 样式,focus 事件暂不能用
  40. 不支持 system.network,直接报错了
  41. foucs()方法报错
  42. 上传下载 request 接口报错
  43. picker 组件-- 一个页面出现多个 picker,比如 5 个及以上时,会报错,且页面不能滑动
  44. picker 组件 -- 日期选择器和多列文本选择器显示错误
  45. slider 组件-- color 样式不支持透明度设置
  46. 动画样式中 transition-property 不支持 flex,flex-grow,flex-shrink 和 flex-basis
  47. animation 不生效
  48. system.file 接口报错
  49. list/list-item 组件,当内容超出 list 高度时不能滚动
  50. 条件指令无法生效
  51. type 为 button 的 input 元素的 click 事件处理函数调用次数异常
  52. file.mkdir 和 file.rmdir 函数执行了 2 次

[0.1.4] - 2021-08-03

  • 修复图片切换后宽度不对的问题
  • 修复文本更新后布局更新的问题

Readme

Keywords

Package Sidebar

Install

npm i @aiot-toolkit/velasim

Weekly Downloads

657

Version

0.1.26

License

ISC

Unpacked Size

467 MB

Total Files

422

Last publish

Collaborators

  • dongwa
  • xiaobin06
  • yinhunfeixue
  • lewiscutey
  • yaotaiyang