Skip to content

LCUI 3.0.0-alpha.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 10 Jan 15:58
· 2 commits to develop since this release

Changelog

  • Change naming style to snake_case
  • Switch to using XMake as the build tool
  • Restructure architecture into multiple sub-libraries:
    • lib/yutil
    • lib/pandagl
    • lib/css
    • lib/i18n
    • lib/ptk
    • lib/thread
    • lib/router
    • lib/worker
    • lib/ui
    • lib/ui-xml
    • lib/ui-cursor
    • lib/ui-server
  • Redesign the interfaces of LCUI and its sub-libraries
  • Introduce the boolean type defined in stdbool.h
  • css: Optimize data structures to reduce memory usage
  • css: Add a value definition syntax parser
  • css: Update property parsers
  • css: Add support for registering custom properties
  • css: Add support for the escape character \
  • css: Add shorthand property background
  • css: Add shorthand property border
  • css: Add shorthand properties for border-top/right/bottom/left
  • css: Add the background-clip property
  • css: Add the inline-flex keyword
  • worker: Add support for canceling unexecuted tasks
  • pandagl: Add support for setting font family aliases
  • ptk: Add clipboard module
  • ptk: Add DPI awareness
  • ui: Add UIMutationObserver
  • ui: Improve asynchronous image loading and cache management
  • ui: Improve widget update processes
  • ui: Improve layout calculation processes
  • ui: Improve dirty rectangle collection
  • ui-server: Add support for binding widgets to system windows
  • ui-server: Add per-window DPI awareness
  • lcui/ui: Improve fullscreen mode
  • lcui/widgets: Add scrollarea widget and improve the working mode of the scrollbar widget
  • lcui/widgets: Add router-link and router-view widgets
  • lcui/widgets: Change file URI format to "file:///path/to/file"
  • lcui/widgets: Rename textview widget to text
  • lcui/widgets: Rename textedit widget to textinput

更新日志

  • 更改命名风格为小写+下划线
  • 更改构建工具为 XMake
  • 更改架构为基于多个子库:
    • lib/yutil
    • lib/pandagl
    • lib/css
    • lib/i18n
    • lib/ptk
    • lib/thread
    • lib/router
    • lib/worker
    • lib/ui
    • lib/ui-xml
    • lib/ui-cursor
    • lib/ui-server
  • 重新设计 LCUI 和子库的接口
  • 使用 stdbool.h 中定义的布尔类型
  • css: 优化数据结构,减少内存占用
  • css: 添加值定义语法解析器
  • css: 更新属性解析器
  • css: 支持注册自定义属性
  • css: 支持使用 \ 转义字符
  • css: 新增 background 简写属性
  • css: 新增 border 简写属性
  • css: 新增 border-top/right/bottom/left 简写属性
  • css: 新增 background-clip 属性
  • css: 新增 inline-flex 关键字
  • worker: 支持取消未执行的任务
  • pandagl: 支持设置字族别名
  • ptk: 新增剪切板模块
  • ptk: 新增 DPI 感知
  • ui: 新增变更观察器(UIMutationObserver)
  • ui: 改进图像异步加载和缓存管理
  • ui: 改进组件更新流程
  • ui: 改进布局计算流程
  • ui: 改进脏矩形收集
  • ui-server: 支持将组件与系统窗口绑定
  • ui-server: 支持每窗口 DPI 感知
  • lcui/ui: 改进全屏显示模式
  • lcui/widgets: 新增 scrollarea 组件,改进 scrollbar 组件的工作模式
  • lcui/widgets: 新增 router-linkrouter-view 组件
  • lcui/widgets: 更改文件 URI 格式为 "file:///path/to/file"
  • lcui/widgets: textview 组件更名为 text
  • lcui/widgets: textedit 组件更名为 textinput