MistEO
92854ebce0
perf: 调整上传线程退出时机
2022-09-07 21:26:36 +08:00
MistEO
b44d11089d
fix: 修复潜在的空回调函数的问题
...
fix https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/1780
fix https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/1779
2022-09-07 21:18:02 +08:00
MistEO
4a572dd5e6
Merge pull request #1760 from et2012/fix/gui_drop
...
perf: 改进Gui指定材料下拉框过滤逻辑
2022-09-07 17:48:16 +08:00
Wallsman
4feadfbe0b
Update ja-jp.xaml
...
mistranslation fixed(誤訳修正) / Japanese tweaked(わかりにくい部分を修正) / Timer line Combined with English translation(タイマー部分がかなり分かりづらかったので英語訳と合わせた)/ Add comment out(翻訳修正候補など追加)
2022-09-06 16:40:38 +09:00
zzyyyl
e52bc9fafc
perf: noexcept, const&
2022-09-06 14:14:52 +08:00
zzyyyl
0f341c2f30
perf: 直接修改 m_raw_data 的大小写,不再重新创建 string;移除 view_cast
2022-09-06 14:14:44 +08:00
zzyyyl
ddedf824c0
perf: 围绕 AsstHttp 的各种优化
2022-09-06 14:14:22 +08:00
zzyyyl
b822e6a135
perf: 修复不了 string_split_view 传入左值 char_t 时 _pat 悬垂的问题,加个 static_assert
2022-09-06 14:14:13 +08:00
et
71afedd93d
perf: 改进Gui指定材料下拉框过滤逻辑
2022-09-06 10:17:56 +08:00
Horror Proton
b46484a069
fix: bypass a linux build error
2022-09-06 01:25:50 +08:00
zzyyyl
41557d7a20
fix: fix linux build error
2022-09-06 01:19:34 +08:00
MistEO
edf722cccb
fix: build error
2022-09-05 23:51:17 +08:00
MistEO
c1a01eff61
style: format
2022-09-05 23:36:27 +08:00
MistEO
8c280eaf50
Merge pull request #1765 from dantmnf/dev
...
chore: win32 improvements
2022-09-05 23:18:10 +08:00
dantmnf
84a0dac0c5
refactor: extract common GetShortPathNameW invocation
2022-09-05 22:03:06 +08:00
MistEO
083d115f80
fix: 修复作业文件不填写标题和简介时,界面解析失败的问题
...
fix https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/1764
2022-09-05 21:44:17 +08:00
Horror Proton
50aa678f97
chore: resolve merge conflict
...
ref. 1dbdb9730c
2022-09-05 20:16:50 +08:00
Horror Proton
82f3f4af44
fix: prevent copy in logger
2022-09-05 19:37:28 +08:00
dantmnf
62e11b2d48
refactor: move junction util to AsstPlatformWin32
2022-09-05 16:22:46 +08:00
dantmnf
c103875cd9
fix: add variable initialization
2022-09-05 01:54:44 +08:00
dantmnf
90a0621814
chore: add dummy AsstPlatformPosix.h
2022-09-05 01:33:45 +08:00
dantmnf
1e20c03e32
chore: bind socket to port 0
...
OS will choose an available port
2022-09-05 01:17:56 +08:00
dantmnf
e89e6a955e
chore: split platform utils
2022-09-05 01:17:56 +08:00
dantmnf
1585340c01
chore: use overlapped io for win32 subprocess
2022-09-05 01:17:56 +08:00
dantmnf
f79a26d529
chore: use filesystem::path everywhere
2022-09-05 01:17:54 +08:00
dantmnf
bc4663162e
chore: proper UTF-8 string marshaling
2022-09-05 01:16:11 +08:00
MistEO
3a5b69cc1e
feat: 优化日志打印
2022-09-05 01:09:47 +08:00
uye
1577423778
feat: 移除全开放不能使用备选关卡的ToolTip
2022-09-05 00:32:54 +08:00
MistEO
95219c8e17
Merge pull request #1741 from MaaAssistantArknights/perf/uchar
...
perf: 整理并优化
2022-09-05 00:21:57 +08:00
zzyyyl
fc7d38a381
fix: 暂时不使用 delimiter 为 char 的 string_split
2022-09-05 00:13:05 +08:00
MistEO
ec356ef7b1
perf: 优化Logger小细节
2022-09-04 23:53:16 +08:00
MistEO
28d63e4e81
fix: 修复socket方式截图不可用的问题
2022-09-04 23:21:22 +08:00
zzyyyl
2b78208fd7
perf: 以一种更优雅但又不那么优雅的方式实现 ASST_STATIC_ASSERT_FALSE
2022-09-04 17:36:23 +08:00
zzyyyl
1b28dfec97
perf: 按照 review 意见修改
...
Co-authored-by: Horror Proton <107091537+horror-proton@users.noreply.github.com >
2022-09-04 17:36:23 +08:00
zzyyyl
c8e7abcb22
perf: 用 ranges 重构 utils::string_split
2022-09-04 17:36:23 +08:00
zzyyyl
87df064c7b
perf: 继续用 utils::string_split 代替 views::split
...
增加 string_split 的参数 split_count 表示分割次数上限
2022-09-04 17:36:23 +08:00
zzyyyl
cc103b5d54
perf: 用 utils::string_split 代替 views::split
2022-09-04 17:36:23 +08:00
zzyyyl
d10fc79cbf
perf: rename string_replace_all_batch -> string_replace_all
2022-09-04 17:36:23 +08:00
zzyyyl
1dbdb9730c
style: constexpr static -> static constexpr
2022-09-04 17:36:23 +08:00
zzyyyl
4daed198bd
perf: 优化 Utils
...
string_replace_all 系列支持基础类型不一定为 char 的字符串
load_file_without_bom 小优化
2022-09-04 17:36:23 +08:00
zzyyyl
6889324572
refactor: use std::string instead of std::vector<uchar>
...
perf: 将 gzip 的接口数据类型改回 string,简化代码
style: format
2022-09-04 17:36:23 +08:00
zzyyyl
0428b109b5
perf: 优化行尾检测
2022-09-04 17:36:14 +08:00
MistEO
ad71d853f8
fix: 修复备选关卡/全部开放关卡 选项被disable的问题
2022-09-04 17:09:58 +08:00
MistEO
8f2adc3321
fix: 修复界面上自动战斗平台链接显示错误
2022-09-04 17:04:00 +08:00
MistEO
400ab8dd0e
fix: 修复自动战斗干员撤退不了的问题
...
fix https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/1744
2022-09-04 17:01:19 +08:00
MistEO
ef6d23b397
Merge pull request #1737 from et2012/feat/activity
...
feat: 优化Gui关卡选择逻辑
2022-09-04 15:49:09 +08:00
MistEO
7f4aae7b33
fix: 修复刷理智选择部分材料,ui崩溃的问题
...
fix https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/1756
2022-09-04 15:42:13 +08:00
MistEO
a7540d965e
fix: 修复自动战斗不支持的关卡时UI不能正确提示的问题
2022-09-04 14:57:43 +08:00
MistEO
1606fb44a4
fix: 修复copilot读取文件的检查逻辑
2022-09-04 14:32:56 +08:00
MistEO
52a75cf570
fix: 修复Copilot任务传入json路径时的报错
2022-09-04 14:27:01 +08:00