Skip to content

Commit 89087a8

Browse files
authored
Merge pull request #10 from IoTSharp/9.5.0
9.5.0
2 parents f7cb226 + cdacc5a commit 89087a8

File tree

101 files changed

+2099
-1529
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+2099
-1529
lines changed

.github/workflows/nuget-publish.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ on:
77
workflow_dispatch:
88
inputs:
99
version:
10-
description: "包版本号(如 9.3.0.5 或 v9.3.0.5)"
10+
description: "包版本号(如 9.5.0.5 或 v9.5.0.5)"
1111
required: true
12-
default: "9.3.0.5"
12+
default: "9.5.0.5"
1313
publish_nuget:
1414
description: "发布到 NuGet.org"
1515
type: boolean
@@ -21,7 +21,7 @@ on:
2121

2222
env:
2323
# 版本来源:优先使用 workflow_dispatch 输入,其次使用 tag 名称。
24-
# 注意:tag/输入值可能含有 'v' 前缀(如 v9.3.0.5),会在 prepare 步骤中去除。
24+
# 注意:tag/输入值可能含有 'v' 前缀(如 v9.5.0.5),会在 prepare 步骤中去除。
2525
PACKAGE_VERSION: ${{ github.event.inputs.version || github.ref_name }}
2626

2727
jobs:
@@ -47,9 +47,9 @@ jobs:
4747
fi
4848
4949
VERSION="${RAW_VERSION#v}"
50-
# 按仓库当前 tag 约定,仅支持 4 段数字版本号,例如 9.3.0.5。
50+
# 按仓库当前 tag 约定,仅支持 4 段数字版本号,例如 9.5.0.5。
5151
if [[ ! "$VERSION" =~ ^[0-9]+(\.[0-9]+){3}$ ]]; then
52-
echo "错误:版本号 '$RAW_VERSION' 不符合要求,必须为四段版本号,如 v9.3.0.5 或 9.3.0.5。"
52+
echo "错误:版本号 '$RAW_VERSION' 不符合要求,必须为四段版本号,如 v9.5.0.5 或 9.5.0.5。"
5353
exit 1
5454
fi
5555
@@ -264,7 +264,7 @@ jobs:
264264
# ── 打包 LVGLSharp.Runtime.Windows(Windows 平台运行时) ───────────────
265265
- name: 打包 LVGLSharp.Runtime.Windows
266266
run: |
267-
dotnet pack src/LVGLSharp.Windows/LVGLSharp.Runtime.Windows.csproj \
267+
dotnet pack src/LVGLSharp.Runtime.Windows/LVGLSharp.Runtime.Windows.csproj \
268268
-c Release \
269269
-p:Version=${{ needs.prepare.outputs.package_version }} \
270270
--output nupkgs

.gitmodules

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
[submodule "libs/lvgl"]
22
path = libs/lvgl
33
url = https://github.com/lvgl/lvgl.git
4-
[submodule "libs/lv_port_linux"]
5-
path = libs/lv_port_linux
6-
url = https://github.com/lvgl/lv_port_linux
7-
branch = master

CHANGELOG.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
2323

2424
---
2525

26-
## [9.3.0.5] - 2026-03-17
26+
## [9.5.0.5] - 2026-03-23
2727

2828
### 发布说明 / Release Notes
29-
- 这是基于初始版本持续整理后的正式发布说明版本,用于统一对外描述当前阶段能力,并匹配 `v9.3.0.5` 发布 tag。
29+
- 这是切换到 LVGL `release/v9.5`、统一运行时命名并清理旧 X11 宿主辅助代码后的发布说明版本,用于匹配 `v9.5.0.5` 发布 tag。
3030
- 本版本重点在于沉淀已经完成的功能边界、运行时结构、包职责以及发布路径,便于后续按 tag 进行持续发布。
3131

3232
### 新增 / Added
@@ -42,18 +42,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
4242

4343
### 变更 / Changed
4444
- README 中补充当前发布版本、发布定位与自初始版本开始的发布记录入口说明。
45-
- 统一发布工作流示例版本、README 与 CHANGELOG 中的发布标识为 `9.3.0.5` / `v9.3.0.5`
45+
- 统一发布工作流示例版本、README 与 CHANGELOG 中的发布标识为 `9.5.0.5` / `v9.5.0.5`
4646

4747
### 修复 / Fixed
4848
- 无。
4949

5050
---
5151

52-
## [9.3.0] - 初始版本 / Initial Release
52+
## [9.5.0] - 升级到 LVGL 9.5 / Upgrade to LVGL 9.5
5353

5454
### 新增 / Added
5555
- 项目初始化,基于 [imxcstar/LVGLSharp](https://github.com/imxcstar/LVGLSharp) 构建底层 LVGL .NET 封装。
56-
- 引入 LVGL 9.3 作为 git submodule。
56+
- 引入 LVGL 9.5 作为 git submodule。
5757
- 基础 `Control``Form` 类实现,支持 `Controls` 层级管理及 LVGL 对象创建。
5858
- 初步验证 NativeAOT 发布流程(win-x64、linux-arm)。
5959

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<PackageReadmeFile>README.md</PackageReadmeFile>
1313
<PackageTags>lvgl;embedded;ui;winforms;cross-platform</PackageTags>
1414
<!-- Default version; overridden by CI via -p:Version=... -->
15-
<Version>9.3.0</Version>
15+
<Version>9.5.0</Version>
1616
</PropertyGroup>
1717

1818
<PropertyGroup Condition="'$(OS)' != 'Windows_NT'">

LVGLSharp.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Demos", "Demos", "{02EA681E
99
EndProject
1010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SerialPort", "src\Demos\SerialPort\SerialPort.csproj", "{D371C54A-E3C9-40EB-BCBD-9FEDB246AE76}"
1111
EndProject
12-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LVGLSharp.Runtime.Windows", "src\LVGLSharp.Windows\LVGLSharp.Runtime.Windows.csproj", "{91F173AD-9AF0-F87F-FEF3-7E4742BABCB3}"
12+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LVGLSharp.Runtime.Windows", "src\LVGLSharp.Runtime.Windows\LVGLSharp.Runtime.Windows.csproj", "{91F173AD-9AF0-F87F-FEF3-7E4742BABCB3}"
1313
EndProject
1414
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LVGLSharp.Runtime.Linux", "src\LVGLSharp.Runtime.Linux\LVGLSharp.Runtime.Linux.csproj", "{8836E179-4FC7-4EAD-AD1B-91BFA30DD3F7}"
1515
EndProject

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010

1111
## 📢 当前发布版本
1212

13-
- **版本号**`9.3.0.5`
14-
- **发布 Tag**`v9.3.0.5`
13+
- **版本号**`9.5.0.5`
14+
- **发布 Tag**`v9.5.0.5`
1515
- **发布定位**:自初始版本演进而来的首个完整文档化发布,统一整理当前能力、包结构与发布说明。
1616

17-
### 9.3.0.5 发布摘要
17+
### 9.5.0.5 发布摘要
1818

1919
- 延续初始版本中基于 LVGL 的 WinForms API 兼容层方向,补齐核心控件、运行时宿主与打包说明。
2020
- 明确 `LVGLSharp.Forms``LVGLSharp.Core`、平台运行时包与 `LVGLSharp.Native` 的职责划分。
@@ -158,7 +158,7 @@ src/
158158
│ ├── Drawing/ # 跨平台绘图类型(Size、Point、Color 等)
159159
│ └── Runtime/ # 公共运行时注册入口与共享胶水代码
160160
├── LVGLSharp.Core/ # 公共核心库
161-
├── LVGLSharp.Windows/ # Windows 平台运行时
161+
├── LVGLSharp.Runtime.Windows/ # Windows 平台运行时
162162
├── LVGLSharp.Runtime.Linux/# Linux 平台运行时
163163
├── LVGLSharp.Interop/ # LVGL P/Invoke 自动生成绑定
164164
├── LVGLSharp.Native/ # 各平台原生库

README_en.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010

1111
## 📢 Current Release
1212

13-
- **Version**: `9.3.0.5`
14-
- **Release Tag**: `v9.3.0.5`
13+
- **Version**: `9.5.0.5`
14+
- **Release Tag**: `v9.5.0.5`
1515
- **Release Positioning**: the first fully documented release derived from the initial project baseline, consolidating the current capabilities, package layout, and release notes.
1616

17-
### 9.3.0.5 Highlights
17+
### 9.5.0.5 Highlights
1818

1919
- Continues the initial LVGL-backed WinForms compatibility direction and documents the now-available controls, runtime hosts, and packaging layout.
2020
- Clarifies the responsibilities of `LVGLSharp.Forms`, `LVGLSharp.Core`, the platform runtime packages, and `LVGLSharp.Native`.
@@ -140,7 +140,7 @@ src/
140140
├── LVGLSharp.Interop/ # LVGL P/Invoke auto-generated bindings
141141
├── LVGLSharp.Native/ # Platform-native libraries
142142
├── LVGLSharp.Core/ # Shared core library
143-
├── LVGLSharp.Windows/ # Windows platform runtime
143+
├── LVGLSharp.Runtime.Windows/ # Windows platform runtime
144144
├── LVGLSharp.Runtime.Linux/# Linux platform runtime
145145
└── Demos/
146146
├── WinFormsDemo/ # Baseline WinForms / LVGLSharp.Forms comparison demo

ROADMAP.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,21 @@
4343
- 作为下一步实施重点开始推进
4444
- 首版目标仍按“最小可交付版本”落地,优先满足独立窗口、基础渲染、基础输入与 demo 跑通
4545

46+
### `LVGLSharp.Forms` 兼容层收尾事项
47+
48+
- 键盘消息兼容链已完成第一阶段打通:
49+
- `PreProcessControlMessage`
50+
- `PreviewKeyDown`
51+
- `ProcessKeyMessage`
52+
- `ProcessDialogKey` 第一版
53+
- 后续仍需继续收尾:
54+
- `ProcessCmdKey` 第一版(常用快捷键与命令键消费语义)
55+
- `ProcessDialogKey` 增强(`Enter` / `Escape` / 默认按钮 / 取消按钮 / 更完整焦点导航)
56+
- `Focus` / `Focused` / `ContainsFocus` / `SelectNextControl` 与 LVGL `group/focus` 模型正式对齐
57+
- `TextBox``Control` 键盘处理职责继续收敛,减少重复消费
58+
- `Paint` / `Invalidate` / `Refresh` / `OnPrint` 的 LVGL 兼容策略评估与分层实现
59+
- `Message` / `KeyEventArgs` / `KeyPressEventArgs` / `PreviewKeyDownEventArgs` 继续向 WinForms 语义补齐
60+
4661
当前环境探测由 `LinuxEnvironmentDetector` 负责,`LinuxView` 只负责路由。
4762

4863
### 已支持 Linux 宿主说明

libs/lv_conf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @file lv_conf.h
3-
* Configuration file for v9.3.0-dev
3+
* Configuration file for v9.5.0
44
*/
55

66
/*

libs/lv_port_linux

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)