feat: 更名「时序图设计」并发布 V1.0.5

- 软件名:时序图设计器 → 时序图设计(窗口标题 / 关于页 / 导出标题 / 文档 / Android 应用名)
- 左上角标志区只显示「时序图」
- 版本号 1.0.4+5 → 1.0.5+6
This commit is contained in:
2026-10-08 12:11:32 +08:00
parent 3909f86dd1
commit bd198cac02
14 changed files with 28 additions and 28 deletions
+2 -2
View File
@@ -127,10 +127,10 @@ flutter pub get
flutter build apk --release # 产物:build\app\outputs\flutter-apk\app-release.apk
```
- 发布包归档:`release\sequence_diagram_android_v1.0.4_release.apk`(universal:arm64-v8a / armeabi-v7a / x86_64)。
- 发布包归档:`release\sequence_diagram_android_v1.0.5_release.apk`(universal:arm64-v8a / armeabi-v7a / x86_64)。
- 上架应用商店时建议在 `android\app\build.gradle.kts` 配置正式签名后再构建 AAB:
`flutter build appbundle --release`。
- 应用名「时序图设计器」、包名 `cc.sincos.sequence_diagram`、launcher 图标由
- 应用名「时序图设计」、包名 `cc.sincos.sequence_diagram`、launcher 图标由
`tools\gen-android-icons.py` 生成(与桌面版「环序」标志同源)。
### 正式签名
+6 -6
View File
@@ -1,4 +1,4 @@
# 时序图设计器 · Sequence Diagram Studio
# 时序图设计 · Sequence Diagram Studio
面向 **PLC 流程节拍设计 / 相位角设计** 的桌面设计软件(Flutter Desktop)。
@@ -9,7 +9,7 @@
- **深色 / 浅色双主题**:右上角 ☀ / ☾ 一键切换,语义颜色不变,导出 SVG 与屏幕一致
- **导出 SVG**:矢量、分层、带语义 `id` / `data-*` 元数据,可直接进工艺卡与 MES
## 正式版 V1.0.4
## 正式版 V1.0.5
**可运行的 Flutter Windows 桌面正式版**(源码在 `lib/`),设计人:呆头鹅。
@@ -90,14 +90,14 @@ Flutter 3.29+(Desktop) · CustomPainter 自绘 · Riverpod · 不可变模
## 安卓版(Android)
- **目标分辨率**:1280×800dp(2560×1600 物理),并动态兼容其它横竖屏分辨率;
- **无 license 授权**(面向应用商店分发);包名 `cc.sincos.sequence_diagram`,应用名「时序图设计器」;
- **无 license 授权**(面向应用商店分发);包名 `cc.sincos.sequence_diagram`,应用名「时序图设计」;
- **文件保存**:工程 / SVG / PNG 保存到系统公共目录(文件管理器可见,默认 `Documents/SequenceDiagram`,可在保存对话框「更改位置」中选择文档/下载/图片 + 自定义子文件夹;Android 10+ 走 MediaStore,无需权限);
- **导出格式**:固定 **1920×1080**,标题恒定左上、图例恒定左下,内容按包围盒自适应缩放居中(SVG / PNG 一致,exe 与安卓一致);
- **触控手势**:**单指点选选中动作,按住整体拖动移动**;选中后两端显示白色把手,抓把手拖动改时长(抓取目标加大);**双指捏合缩放 / 双指平移**(以捏合焦点为锚点);空白单指不平移;全屏无黑边(状态栏/导航栏区域融入界面);
- **正式签名**:release 用独立 keystore 签名(`android/key/release.jks`,见 `BUILD-NOTES.md`),更新安装无需卸载重装;
- **构建**:JDK 17 + Android SDK 36(详见 `BUILD-NOTES.md`),Gradle 与 Maven 已配置国内镜像:
```bash
flutter build apk --release # 产物 → release/sequence_diagram_android_v1.0.4_release.apk
flutter build apk --release # 产物 → release/sequence_diagram_android_v1.0.5_release.apk
```
- **自测**:`test/tablet_layout_test.dart` 覆盖 1280×800、2560×1600、960×600、800×480、竖屏 800×1280、600×960 等 7 种分辨率的无溢出回归;
- **demo 图**:`demo/tablet-*.png`(由 `test/tablet_screenshots_test.dart` 生成)。
@@ -111,8 +111,8 @@ Flutter 3.29+(Desktop) · CustomPainter 自绘 · Riverpod · 不可变模
## 关于
- **软件**:时序图设计器 · Sequence Diagram Studio
- **软件**:时序图设计 · Sequence Diagram Studio
- **设计人**:呆头鹅
- **版本**:V1.0.4
- **版本**:V1.0.5
- **版权**:Copyright © 2026 呆头鹅。保留所有权利。
- **架构文档**:[`docs/ARCHITECTURE.md`](docs/ARCHITECTURE.md) · **使用帮助**:[`docs/HELP.md`](docs/HELP.md)
+1 -1
View File
@@ -4,7 +4,7 @@
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="28" />
<application
android:label="时序图设计器"
android:label="时序图设计"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher">
<activity
+1 -1
View File
@@ -1,4 +1,4 @@
# 架构文档 · 时序图设计器(Sequence Diagram Studio)
# 架构文档 · 时序图设计(Sequence Diagram Studio)
> 面向 PLC 流程节拍 / 相位角设计的 Flutter Windows 桌面软件。
> 本文档描述代码结构、数据流、关键算法与**可优化点**,供后续性能与体验优化使用。
+1 -1
View File
@@ -1,4 +1,4 @@
# 时序图设计器(Sequence Diagram Studio)设计文档
# 时序图设计(Sequence Diagram Studio)设计文档
> PLC 流程节拍设计 / 相位角设计软件
> 版本 v0.1(设计草案) · 2026-09-17
+2 -2
View File
@@ -1,4 +1,4 @@
# 时序图设计器 · 使用帮助
# 时序图设计 · 使用帮助
> 面向 **PLC 流程节拍 / 相位角设计** 的桌面软件(Flutter Desktop)。
> 应用内按 **F1**(或点顶部工具栏最右侧的 **?**)可随时打开同一份帮助。
@@ -37,7 +37,7 @@
| 位置 | 元素 | 说明 |
| --- | --- | --- |
| 左 | 应用标志 + 「时序图设计器」 | 原创「环序」标志 |
| 左 | 应用标志 + 「时序图」 | 原创「环序」标志 |
| 左 | 新建 / 打开 / 保存 | **纯图标**(`Ctrl+N / O / S`) |
| 左 | 撤销 / 重做 | **纯图标**,不可用时自动置灰(`Ctrl+Z / Y`) |
| 左 | **AI 生成** | 打开自然语言生成对话框 |
+1 -1
View File
@@ -82,7 +82,7 @@ String exportSubtitle(Project project, ViewMode mode) {
/// 导出图例(左下角固定)。
String exportLegend(Project project) =>
'时序图设计器 · ${project.name} · 循环 ${tfmt(project.cycle.durationMs, project.units)} = 360°';
'时序图设计 · ${project.name} · 循环 ${tfmt(project.cycle.durationMs, project.units)} = 360°';
/// 导出专用令牌:始终使用浅色、**纯白背景**(印刷 / 工艺卡导向),
/// 文字、语义色与屏幕浅色主题保持一致。
+3 -3
View File
@@ -78,7 +78,7 @@ class _SequenceDiagramAppState extends State<SequenceDiagramApp> {
/// 原生窗口标题通道(在 Windows runner 中实现 SetWindowText)。
static const MethodChannel _windowChannel = MethodChannel('seqstudio/window');
/// 更新原生窗口标题为「时序图设计器 - <文件名 | 未命名文件>」,
/// 更新原生窗口标题为「时序图设计 - <文件名 | 未命名文件>」,
/// 有未保存修改时追加 ` *`。
void _updateWindowTitle() {
final String name = _controller.filePath == null
@@ -86,7 +86,7 @@ class _SequenceDiagramAppState extends State<SequenceDiagramApp> {
: _controller.filePath!.split(RegExp(r'[\\/]')).last;
final String dirty = _controller.dirty ? ' *' : '';
_windowChannel
.invokeMethod<void>('setTitle', '时序图设计器 - $name$dirty')
.invokeMethod<void>('setTitle', '时序图设计 - $name$dirty')
.catchError((Object _) {});
}
@@ -161,7 +161,7 @@ class _SequenceDiagramAppState extends State<SequenceDiagramApp> {
builder: (BuildContext context, Widget? child) {
final Tokens tokens = Tokens.of(_controller.brightness);
return MaterialApp(
title: '时序图设计器 · Sequence Diagram Studio',
title: '时序图设计 · Sequence Diagram Studio',
debugShowCheckedModeBanner: false,
theme: buildTheme(tokens),
// 固定文本缩放;系统栏图标随主题亮度自动切换(透明系统栏,
+2 -2
View File
@@ -485,7 +485,7 @@ class _AppShellState extends State<AppShell> {
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Text('时序图设计器',
Text('时序图',
style: TextStyle(
color: t.text,
fontSize: _toolFont(14),
@@ -529,7 +529,7 @@ class _AppShellState extends State<AppShell> {
left = <Widget>[
AppLogo(size: 28 * s),
SizedBox(width: 8 * s),
Text('时序图设计器',
Text('时序图',
style: TextStyle(
color: t.text,
fontSize: _toolFont(13),
+2 -2
View File
@@ -2121,10 +2121,10 @@ class HelpDialog extends StatelessWidget {
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Text('时序图设计器 · Sequence Diagram Studio',
Text('时序图设计 · Sequence Diagram Studio',
style: TextStyle(color: t.text, fontSize: 15, fontWeight: FontWeight.w700)),
const SizedBox(height: 4),
Text('V1.0.4(${android ? '安卓版' : 'Windows 版'})',
Text('V1.0.5(${android ? '安卓版' : 'Windows 版'})',
style: TextStyle(color: t.dim, fontSize: 12)),
],
),
+2 -2
View File
@@ -1,5 +1,5 @@
name: sequence_diagram
description: "时序图设计器 · Sequence Diagram Studio —— 面向 PLC 流程节拍 / 相位角设计的桌面软件。"
description: "时序图设计 · Sequence Diagram Studio —— 面向 PLC 流程节拍 / 相位角设计的桌面软件。"
# The following line prevents the package from being accidentally published to
# pub.dev using `flutter pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
@@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 1.0.4+5
version: 1.0.5+6
environment:
sdk: ^3.13.3
+2 -2
View File
@@ -1,4 +1,4 @@
// keygen.cpp -- Win32 GUI license key generator for 时序图设计器.
// keygen.cpp -- Win32 GUI license key generator for 时序图设计.
//
// Enter a MAC address (e.g. AA-BB-CC-DD-EE-FF), press "生成", and copy the
// resulting single-line license string into a .lic file under the app's
@@ -182,7 +182,7 @@ int WINAPI wWinMain(HINSTANCE instance, HINSTANCE, PWSTR, int show) {
const int w = 600, h = 260;
const int x = (GetSystemMetrics(SM_CXSCREEN) - w) / 2;
const int y = (GetSystemMetrics(SM_CYSCREEN) - h) / 2;
HWND hwnd = CreateWindowExW(0, wc.lpszClassName, L"时序图设计器 · 授权码生成器",
HWND hwnd = CreateWindowExW(0, wc.lpszClassName, L"时序图设计 · 授权码生成器",
WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU |
WS_MINIMIZEBOX,
x, y, w, h, nullptr, nullptr, instance, nullptr);
+2 -2
View File
@@ -90,12 +90,12 @@ BEGIN
BLOCK "040904e4"
BEGIN
VALUE "CompanyName", "呆头鹅" "\0"
VALUE "FileDescription", "时序图设计器 Sequence Diagram Studio" "\0"
VALUE "FileDescription", "时序图设计 Sequence Diagram Studio" "\0"
VALUE "FileVersion", VERSION_AS_STRING "\0"
VALUE "InternalName", "sequence_diagram" "\0"
VALUE "LegalCopyright", "Copyright (C) 2026 呆头鹅. All rights reserved." "\0"
VALUE "OriginalFilename", "sequence_diagram.exe" "\0"
VALUE "ProductName", "时序图设计器" "\0"
VALUE "ProductName", "时序图设计" "\0"
VALUE "ProductVersion", VERSION_AS_STRING "\0"
END
END
+1 -1
View File
@@ -33,7 +33,7 @@ bool FlutterWindow::OnCreate() {
SetChildContent(flutter_controller_->view()->GetNativeWindow());
// Method channel used by the Dart side to update the native window title
// (e.g. "时序图设计器 - <file name>").
// (e.g. "时序图设计 - <file name>").
title_channel_ =
std::make_unique<flutter::MethodChannel<flutter::EncodableValue>>(
flutter_controller_->engine()->messenger(), "seqstudio/window",