Tastror
51a294b78d
Merge branch 'dev' into patch-3
2022-09-08 00:55:28 +08:00
MistEO
b82247b90e
fix: 再次修复界面自定义关卡名和其他选项排列组合的错误
2022-09-07 22:51:56 +08:00
MistEO
45e4f01d8b
fix: 修复手动输入关卡选项和其他选项排列组合时的界面显示问题
2022-09-07 22:29:55 +08:00
MistEO
cd5ea8754b
fix: 修复自定义关卡选项切换不实时生效的问题
2022-09-07 22:18:46 +08:00
MistEO
81b6f1ff77
feat: 界面新增支持手动输入关卡ID
...
fix https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/1776
fix https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/1778
2022-09-07 22:14:57 +08:00
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