晓丶梦丶仁
2973ebbbdb
feat: RM-1 ( #14271 )
2025-10-01 00:54:41 +08:00
Lucien Shaw
e461208bf9
chore: 完善容器配置及依赖安装 ( #14208 )
...
格式化工具部分:
1. pre-commit 引入 python 的格式化工具,包括 black(代码格式化)和 isort(对“包导入顺序”的规范)
2. 允许 prettier 对文档站的 markdown 文件格式化
3. 不允许 prettier 对 markdown 文件中的代码块的代码本身进行格式化
4. 升级了 pre-commit 的各个 hook 的版本
5. 优化了 pre-commit 的日志文本显示
容器总览部分:
1. 由原来的单一轻量环境转为区分空环境、轻量环境和全量环境
2. 空环境是裸 Linux 镜像(Ubuntu),为默认环境
3. 轻量环境适合开发文档站前端
4. 全量环境适合开发 MaaCore
5. 目前,全量环境完整包含了轻量环境,轻量环境完整包含了空环境
6. 在仓库 README.md 中更新了三个环境的描述,并将链接分别设置为对应环境的创建链接
**注意:没有修改文档站中的对应文件**
7. 在各个语言的开发指南的最后,移除了 Codespace 部分的“安装额外依赖”相关描述,且将链接设置为全量环境的创建链接
**注意:没有添加“开发文档站”的指南和对应 codespace 的使用方式**
容器的轻量环境和全量环境共有部分:
1. 安装 black 和 isort 包
2. 调整 VS Code 设置,取消先前(对 markdown 文件单独指定 markdownlint 扩展作为格式化工具)的错误设置,现在 markdown 文件仍然使用默认的 prettier 扩展作为格式化工具
3. 引入 markdown-all-in-one 扩展作为语法提示工具
4. 将 node_modules 和 3rdparty 排除在 VS Code 的文本的搜索路径之外
容器的全量环境部分:
1. 为 tools 下的所有 python 脚本安装依赖
2. 使用 tools/maadeps-download.py 下载 maadeps,且将必要二进制文件软链接到 /usr/local/bin/
3. 使用 apt 安装 cmake 和 clangd-20,将后者通过 update-alternatives 设置为系统 clangd 的默认版本
4. 使用 cmake tools 扩展,并按照 Linux 编译方法进行配置
5. 使用 clang-format 作为 c/cpp 的格式化工具,clang-format 程序主体来自 maadeps(已经软链接到 /usr/local/bin/)
6. 使用 clangd 作为 c/cpp 的语法提示工具
7. 将 MaaDeps、install 和 build 排除在 VS Code 的文本搜索路径之外
其它手动调整:
1. 更新文档站的 package.json,指定 pnpm 包管理器的版本
2. 手动保证 markdown 文件中的列表前后有空行(注意到 MarkdownLint 官方规则不一定能精准定位所有“列表前后空行”的问题,详见:https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md032---lists-should-be-surrounded-by-blank-lines )
3. 修改了部分 markdown 文件中的 json 代码块的语法问题
**注意:相同的问题并未全部发现,仅修改了两处**
4. 在 tools 目录中,一处 python 脚本的包名误用(本地包名和某个 pip 包重名),这里修改了相应代码
5. 在 tools 目录中,一处 python 脚本使用了弃用的包 cchardet 的问题,这里更换了推荐使用的功能相近的包并修改了相应代码
自动化脚本提交的修改:
1. 自动格式化了大量 tools 中的 python 脚本
2. 自动格式化了大量 docs 中的 markdown 文件
Commits:
* chore: pre-commit引入black和isort规范py文件
* chore: Auto update by pre-commit hooks [skip changelog]
* chore: devcontainer添加isort扩展,排序python导入
* chore: pre-commit任务命名及更名
* style: isort fix
* chore: Auto update by pre-commit hooks [skip changelog]
* chore: 更新pre-commit的hook版本
* fix: 模块名与第三方库重名,大忌
* chore: 容器构建时额外安装isort
* docs: md -> markdown
* chore: 容器安装python包和maadeps
* fix: 修复过时python包
* chore: 指定pnpm版本
* chore: container支持选择轻量环境
* chore: 去掉rust
* chore: add plain env
* chore: 使用clangd语言服务器
* chore: 无需单独设置markdown的格式化工具
* chore: 更新安装的clangd版本
* docs: 简易文档适配
* docs: 在仓库README中重新编排codespaces相关指引
* chore: Auto update by pre-commit hooks [skip changelog]
* style: 调整缩进
* chore: 格式化工具不用特意排除被gitignore忽略的文件
* chore: sh文件在gitattributes中单列一类
* chore: 格式化docs下的markdown文件
* chore: 暂时不修改md文件中的代码块
* style: 人为明确markdown中的部分列表相关格式
* docs: 补上部分markdown的json代码块中缺失的逗号
* chore: Auto update by pre-commit hooks [skip changelog]
* chore: Auto update by pre-commit hooks [skip changelog]
* fix: 补上tools的服务器排序相关代码中缺失的逗号
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* chore: 使用maadeps的clangd
* build: 更新maadeps工具链版本
* style: prettier fix
* revert: 还原maadeps版本
* revert: 取消使用maadeps的clangd依赖,改用系统apt安装
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-30 19:39:48 +08:00
Weiyou Wang
ea6540cf6b
fix: 商店刷新两步走 ( #14201 )
...
* fix: 商店刷新两步走
* chore: Auto update by pre-commit hooks [skip changelog]
* refactor: buy once only when both steps succeed (suggested by status102)
Co-Authored-By: Status102 <102887808+status102@users.noreply.github.com >
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Status102 <102887808+status102@users.noreply.github.com >
2025-09-29 17:20:32 +08:00
uye
7905eb9fed
fix: 按钮显示文字错误
2025-09-28 13:55:30 +08:00
Hao Guan
a10ab607b0
chore(mac): 新图标和界面风格
2025-09-27 22:24:14 +08:00
uye
c3ebfce07b
feat: mac 支持次生预案
2025-09-27 14:59:39 +08:00
Constrat
a57e5cf98a
fix: clang
2025-09-26 21:54:06 +02:00
uye
78ff33d6f0
fix: 怎么还有人在用 adb input
2025-09-27 00:32:11 +08:00
uye
5ac171d40c
feat: 次生预案十里坡剑神
2025-09-26 13:57:33 +08:00
Constrat
0ae323c855
fix: Google Play Games Developer shutdown
2025-09-26 01:24:57 +02:00
uye
793d03d47b
feat: 设置指引添加更新设置
2025-09-22 20:31:35 +08:00
uye
56d796c92e
feat: 统一显示效果
2025-09-22 19:36:00 +08:00
uye
aae995aef5
feat: 设置指引添加性能设置
2025-09-22 19:36:00 +08:00
Rbqwow
a563b14f47
refactor: 重写完成后动作仅一次的ui字符串 ( #14196 )
2025-09-22 14:44:49 +08:00
uye
424687c3e1
fix: 成就列表解锁时间显示颜色错误
2025-09-20 14:08:34 +08:00
uye
8d346ed392
fix: 勾选启动后直接运行时无法自动切换基建排班表
...
fix #14173
2025-09-20 13:51:16 +08:00
soundofautumn
fd3204e965
chore: fix build warning ( #14176 )
...
0>RunningState.cs(49,46): Warning CS8622 : “void RunningState.TimeoutReminderTimer_Elapsed(object sender, ElapsedEventArgs e)”的参数“sender”类型中引用类型的为 Null 性与目标委托“ElapsedEventHandler”不匹配(可能是由于为 Null 性特性)。
0>RunningState.cs(41,17): Warning CS8618 : 在退出构造函数时,不可为 null 的 事件 "TimeoutOccurred" 必须包含非 null 值。请考虑添加 "required" 修饰符或将该 事件 声明为可为 null。
0>RunningState.cs(80,46): Warning CS8625 : 无法将 null 字面量转换为非 null 的引用类型。
0>RunningState.cs(80,52): Warning CS8625 : 无法将 null 字面量转换为非 null 的引用类型。
0>RunningState.cs(38,37): Warning CS8618 : 在退出构造函数时,不可为 null 的 字段 "_instance" 必须包含非 null 值。请考虑添加 "required" 修饰符或将该 字段 声明为可为 null。
2025-09-20 13:43:07 +08:00
uye
7109310145
fix: 网络连接错误的情况下读取了本地缓存也提示了获取热更成功
2025-09-20 13:38:48 +08:00
soundofautumn
a424520a1d
chore: rename RecognizerViewModel -> ToolboxViewModel ( #14177 )
...
* chore: rename RecognizerView -> ToolboxView
* chore: 重新排序顺序使得和ui顺序一致
2025-09-20 13:37:53 +08:00
Manicsteiner
b8e739bcad
chore: YostarJP ocr fix ( #14134 )
...
* chore: YostarJP ocr fix
* chore: item30165, ja-jp xaml, 随到随取
* i18n: RA task mode
2025-09-19 11:36:02 +08:00
Lucien Shaw
28ca820784
docs: 完善文档站的代码检查和涉及的文本替换 ( #14156 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-09-18 23:53:59 +08:00
Loong
1992af7159
feat: cli 支持新版战斗列表以及悖论模拟 ( #14154 )
...
chore: bump maa-cli to 0.5.9
2025-09-18 14:38:54 +08:00
status102
261ddc49d9
fix(core): CopilotTask参数可选项存在性检查
2025-09-18 00:43:17 +08:00
uye
c54b45c09f
fix: SettingsViewModel Idle
2025-09-17 17:54:19 +08:00
uye
bc7dc763fe
feat: RunningState 统一状态变更事件 ( #14141 )
...
* feat: RunningState 统一状态变更事件
* feat: 统一 Inited 与 Stopping
* perf: 优化小工具中的stop
2025-09-17 14:06:51 +08:00
status102
f4c21be051
chore: file header
2025-09-17 00:57:06 +08:00
status102
2936006087
rft: 特征匹配过程函数拆入analyze()
2025-09-17 00:53:23 +08:00
Weiyou Wang
7b6dada3ea
feat: 生息盐酸任务添加对错误模式 (有/无存档) 的提示 ( #14131 )
...
* feat: 生息盐酸任务添加对错误模式 (有/无存档) 的提示
* fix: callback 里任务名没有前缀
2025-09-17 00:26:28 +08:00
status102
67ceb02116
fix: CurrentConfig未刷新
2025-09-17 00:07:32 +08:00
status102
aa7a2731e0
fix: CurrentConfig悬空
2025-09-17 00:07:32 +08:00
uye
df8f3786f0
fix: 拥有全干员的情况下重启后进入干员识别界面不会自动选中选项卡
2025-09-16 23:48:49 +08:00
uye
20b167119a
fix: 修复 DataGrid 虚拟化下 Tab 导航异常
2025-09-16 23:44:27 +08:00
MistEO
32a3523bc4
feat: use coreml OCR for apple ( #14108 )
2025-09-16 18:20:10 +08:00
soundofautumn
3ea9912802
chore: fix build warning ( #14120 )
2025-09-15 23:00:34 +08:00
pre-commit-ci[bot]
2f09f9e591
chore: Auto update by pre-commit hooks [skip changelog]
2025-09-15 14:43:19 +00:00
uye
55f675fb8d
fix: minitouch 触控 wait ms
2025-09-15 22:38:35 +08:00
uye
36fc9a8e0a
fix: 复核自定义干员时等待游戏动画
2025-09-15 22:11:05 +08:00
uye
2884f2d0ae
fix: 自动战斗无法读取下拉列表中的作业
2025-09-15 19:52:42 +08:00
MistEO
4a2901c473
ci: fix minitouch scale
2025-09-15 16:43:58 +08:00
status102
b1d10a87dc
perf: 加个try先
2025-09-15 13:19:19 +08:00
MistEO
80511c660f
ci: split cmake file ( #14109 )
2025-09-15 04:18:40 +08:00
mistereo@hotmail.com
45ca28ed74
chore: remove SyncRes
2025-09-15 03:07:17 +08:00
Status102
5b33bc3f00
feat: 自动战斗多作业支持保存干员组内编入的干员 ( #14095 )
...
* chore: 加个存储先
* feat: 与旧编队比较
* feat: 快速编队
* fix: 计数
* fix: 缓存了旧的组名
* perf: 快速退出
* fix: 跳过编队后修改编队状态
* fix: 完事
* fix: err
* fix: 顺手一起修了
2025-09-15 01:27:51 +08:00
MistEO
6202eedeb3
refactor: use std::format instead of sprintf ( #14107 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-09-15 01:07:05 +08:00
uye
00e5c1eb9f
chore: 自定义基建配置时间仍在有效期内时不检查其他时间段
2025-09-15 00:26:33 +08:00
status102
e0ee76115b
feat: CustomTask增加任务存在检测
2025-09-14 21:45:43 +08:00
uye
1472d80c12
fix: 刷开局奖励只选票券时行为异常
...
fix #14079
2025-09-13 21:12:09 +08:00
uye
2c87975e52
feat: core 崩溃后下次启动时 ui 输出提示 ( #14022 )
...
* feat: core 崩溃后下次启动时 ui 输出提示
* style: space
* chore: ubuntu warning
* i18n: zh-tw
---------
Co-authored-by: momomochi987 <as99us301@gmail.com >
2025-09-13 20:28:56 +08:00
status102
e3245a4163
feat(wpf): allow single copilot task execution
...
有人炸就派uuu @ABA2396
2025-09-13 20:02:58 +08:00
status102
43ea1f94df
perf(wpf): wpf自动战斗列表中作业设置按钮左键单击还原为解析指定作业,新增行为修改至右键,解析作业并关闭列表
2025-09-13 19:57:37 +08:00