Improved
LCUI 3.0.0-alpha.0
Changelog
- Change naming style to
snake_case - Switch to using XMake as the build tool
- Restructure architecture into multiple sub-libraries:
lib/yutillib/pandagllib/csslib/i18nlib/ptklib/threadlib/routerlib/workerlib/uilib/ui-xmllib/ui-cursorlib/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-clipproperty - css: Add the
inline-flexkeyword - 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
scrollareawidget and improve the working mode of thescrollbarwidget - lcui/widgets: Add
router-linkandrouter-viewwidgets - lcui/widgets: Change file URI format to
"file:///path/to/file" - lcui/widgets: Rename
textviewwidget totext - lcui/widgets: Rename
texteditwidget totextinput
更新日志
- 更改命名风格为小写+下划线
- 更改构建工具为 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-link和router-view组件 - lcui/widgets: 更改文件 URI 格式为
"file:///path/to/file" - lcui/widgets:
textview组件更名为text - lcui/widgets:
textedit组件更名为textinput