Commit Graph

3480 Commits

Author SHA1 Message Date
zzyyyl
42ff5eaddf perf: 围绕 AsstHttp 的各种优化 2022-09-06 14:14:22 +08:00
zzyyyl
d2e22059c9 perf: 修复不了 string_split_view 传入左值 char_t 时 _pat 悬垂的问题,加个 static_assert 2022-09-06 14:14:13 +08:00
Helloworld
c27b54a831 Merge pull request #1769 from MaaAssistantArknights/fix/copilot/empty-title
feat. 添加对 CopilotData 导入内容的检查
2022-09-06 08:03:10 +08:00
Horror Proton
2d3a6e58b4 fix: bypass a linux build error 2022-09-06 01:25:50 +08:00
zzyyyl
4bb2e54d12 fix: fix linux build error 2022-09-06 01:19:34 +08:00
MistEO
9d6e7fd9cd fix: build error 2022-09-05 23:51:17 +08:00
MistEO
47ab442639 style: format 2022-09-05 23:36:27 +08:00
MistEO
5a76c5d052 Merge pull request #1765 from dantmnf/dev
chore: win32 improvements
2022-09-05 23:18:10 +08:00
Helloworld
297ace1e6e feat. 添加发布脚本 2022-09-05 23:03:59 +08:00
Helloworld
0946286952 feat. 支持中文选项 2022-09-05 22:56:03 +08:00
Helloworld
b7c165e441 编译 Copilot 编辑器 2022-09-05 22:42:48 +08:00
Helloworld
dc4a80716b feat. 添加 CopilotData 检查 2022-09-05 22:37:09 +08:00
dantmnf
e0e15184bd refactor: extract common GetShortPathNameW invocation 2022-09-05 22:03:06 +08:00
MistEO
8f2f9ba011 fix: 修复作业文件不填写标题和简介时,界面解析失败的问题
fix https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/1764
2022-09-05 21:44:17 +08:00
Helloworld
66fe4d492f Add "required" to properties 2022-09-05 21:31:29 +08:00
MistEO
a057afcad2 chore: 更新资源文件 2022-09-05 20:58:32 +08:00
Horror Proton
13c8452455 chore: resolve merge conflict
ref. cb1a63dbf6
2022-09-05 20:16:50 +08:00
Horror Proton
dd7bbf0d54 fix: prevent copy in logger 2022-09-05 19:37:28 +08:00
dantmnf
2595f58aea refactor: move junction util to AsstPlatformWin32 2022-09-05 16:22:46 +08:00
dantmnf
f176610378 fix: add variable initialization 2022-09-05 01:54:44 +08:00
dantmnf
9f04074a1e chore: add dummy AsstPlatformPosix.h 2022-09-05 01:33:45 +08:00
dantmnf
c51840bc6f chore: bind socket to port 0
OS will choose an available port
2022-09-05 01:17:56 +08:00
dantmnf
11a7342e9f chore: split platform utils 2022-09-05 01:17:56 +08:00
dantmnf
a540cb4b6d chore: use overlapped io for win32 subprocess 2022-09-05 01:17:56 +08:00
dantmnf
87b8f8f032 chore: use filesystem::path everywhere 2022-09-05 01:17:54 +08:00
dantmnf
9ded03bb0e chore: proper UTF-8 string marshaling 2022-09-05 01:16:11 +08:00
MistEO
3f12c2e493 Merge pull request #1761 from MaaAssistantArknights/dev
Release v4.4.0-beta.2
2022-09-05 01:10:34 +08:00
MistEO
81c4089474 feat: 优化日志打印 2022-09-05 01:09:47 +08:00
MistEO
362908947f docs: CHANGELOG 2022-09-05 00:55:16 +08:00
uye
5b51830d09 feat: 移除全开放不能使用备选关卡的ToolTip 2022-09-05 00:32:54 +08:00
MistEO
c99f1f42cf Merge pull request #1741 from MaaAssistantArknights/perf/uchar
perf: 整理并优化
2022-09-05 00:21:57 +08:00
zzyyyl
c1d067ad72 fix: 暂时不使用 delimiter 为 char 的 string_split 2022-09-05 00:13:05 +08:00
MistEO
22645e5581 perf: 优化Logger小细节 2022-09-04 23:53:16 +08:00
MistEO
bf97a60109 fix: 修复socket方式截图不可用的问题 2022-09-04 23:21:22 +08:00
MistEO
33f6e291f1 Merge branch 'master' into dev 2022-09-04 17:51:50 +08:00
zzyyyl
21db32ef0b perf: 以一种更优雅但又不那么优雅的方式实现 ASST_STATIC_ASSERT_FALSE 2022-09-04 17:36:23 +08:00
zzyyyl
02339fd54d perf: 按照 review 意见修改
Co-authored-by: Horror Proton <107091537+horror-proton@users.noreply.github.com>
2022-09-04 17:36:23 +08:00
zzyyyl
6a0294d451 perf: 用 ranges 重构 utils::string_split 2022-09-04 17:36:23 +08:00
zzyyyl
8fffc3dd61 perf: 继续用 utils::string_split 代替 views::split
增加 string_split 的参数 split_count 表示分割次数上限
2022-09-04 17:36:23 +08:00
zzyyyl
c0d25cef9d perf: 用 utils::string_split 代替 views::split 2022-09-04 17:36:23 +08:00
zzyyyl
d4cb91bbda perf: rename string_replace_all_batch -> string_replace_all 2022-09-04 17:36:23 +08:00
zzyyyl
cb1a63dbf6 style: constexpr static -> static constexpr 2022-09-04 17:36:23 +08:00
zzyyyl
9a02a6e236 perf: 优化 Utils
string_replace_all 系列支持基础类型不一定为 char 的字符串
load_file_without_bom 小优化
2022-09-04 17:36:23 +08:00
zzyyyl
d165f1d62f refactor: use std::string instead of std::vector<uchar>
perf: 将 gzip 的接口数据类型改回 string,简化代码

style: format
2022-09-04 17:36:23 +08:00
zzyyyl
1a1924da52 perf: 优化行尾检测 2022-09-04 17:36:14 +08:00
MistEO
dc032c255a docs: 更新常见问题文档
fix https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/1725
2022-09-04 17:17:13 +08:00
MistEO
06ac38c256 fix: 修复备选关卡/全部开放关卡 选项被disable的问题 2022-09-04 17:09:58 +08:00
MistEO
4e7046c829 fix: 修复界面上自动战斗平台链接显示错误 2022-09-04 17:04:00 +08:00
MistEO
e48caa998d fix: 修复自动战斗干员撤退不了的问题
fix https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/1744
2022-09-04 17:01:19 +08:00
MistEO
0bdba1b8f1 Revert "feat: 自动战斗关卡名忽略大小写,顺便格式化一下泰迪的代码"
This reverts commit 83c543ed03.
2022-09-04 16:34:44 +08:00