Commit Graph

174 Commits

Author SHA1 Message Date
zzyyyl
c5f9ef3552 style: format 2022-09-19 19:18:56 +08:00
zzyyyl
2ed51cd6a9 perf: 重连必须已经初始化 2022-09-18 20:01:36 +08:00
zzyyyl
e58a3401e0 feat: TaskQueue 界面 Stop() 也为异步函数,减少 connect 阶段 Stop 的卡顿时间 2022-09-18 19:25:55 +08:00
zzyyyl
c8fb6e3c3b feat: 增加 kill_adb_daemon() 使得在没连上模拟器的时候 adb daemon 也能退出 2022-09-18 19:25:46 +08:00
zzyyyl
bef151660e perf: set_inited() 与 try_release() 合并 2022-09-18 19:25:33 +08:00
zzyyyl
a724e97c78 perf: socket init/close 的一些逻辑调整 2022-09-18 19:25:17 +08:00
zzyyyl
9e9395f5e8 feat: core 不对连接的 call_command 进行重试 2022-09-18 19:25:02 +08:00
zzyyyl
62e3e036eb feat: 删除 screencap() 里的 try_release() 2022-09-18 12:26:34 +08:00
zzyyyl
57eb9c3975 fix: fix typo 2022-09-18 02:29:09 +08:00
zzyyyl
7bc3d823db fix: 修复 Controller 中 m_instance_count 一定会减到负数的问题
满是bug的代码居然正常的跑起来了.jpg
2022-09-17 17:01:52 +08:00
zzyyyl
7a59f471f2 fix: 修复连接失败析构时 call_command 空指令的问题 2022-09-17 02:55:55 +08:00
Horror Proton
40e5886ceb fix. fix some compile errors, etc 2022-09-15 01:21:04 +08:00
zzyyyl
ffa5e921c1 style: format 2022-09-13 15:37:18 +08:00
dantmnf
2f53502222 fix: potential data racing
&&

perf: use aligned io buffer
2022-09-12 19:09:17 +08:00
MistEO
7d10b1e773 perf: 添加separator的静态对象 2022-09-11 00:51:57 +08:00
MistEO
c557970ef4 feat: 初版 Logger::separator 2022-09-11 00:51:57 +08:00
MistEO
c42128ee68 perf: 优化调用命令时的日志 2022-09-09 22:03:57 +08:00
zzyyyl
6225a2e819 style: format 2022-09-09 20:52:24 +08:00
zzyyyl
6ea48f69d8 perf: 继续修复连接时间过长的问题
fix 83d6b7b738
2022-09-09 20:48:44 +08:00
zzyyyl
83d6b7b738 fix: 修复连接时间过长的问题
fix https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/1789
2022-09-09 15:59:41 +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
Horror Proton
b46484a069 fix: bypass a linux build error 2022-09-06 01:25:50 +08:00
MistEO
c1a01eff61 style: format 2022-09-05 23:36:27 +08:00
dantmnf
c103875cd9 fix: add variable initialization 2022-09-05 01:54:44 +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
1585340c01 chore: use overlapped io for win32 subprocess 2022-09-05 01:17:56 +08:00
MistEO
95219c8e17 Merge pull request #1741 from MaaAssistantArknights/perf/uchar
perf: 整理并优化
2022-09-05 00:21:57 +08:00
MistEO
28d63e4e81 fix: 修复socket方式截图不可用的问题 2022-09-04 23:21:22 +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
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
8f8140dc63 perf: 整理满天飞的 get_instance 2022-09-04 01:30:53 +08:00
MistEO
7c8bf92eb4 refactor: 重构 Resource 类
fix https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/1541
2022-09-04 00:27:54 +08:00
zzyyyl
4093a08ab6 feat: 用毫秒统计截图速度 2022-09-01 16:37:22 +08:00
zzyyyl
0a3358fb95 fix: 修复部分模拟器行尾变化的问题
fix https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/1719
2022-09-01 16:37:14 +08:00
zzyyyl
e9f21c0944 style: 优化部分 initializer_list 的格式 2022-08-29 12:25:55 +08:00
_ChingC
84bbe7de1e fix: 修复通用类型定义,提高cmake最低版本以禁用过老的policy 2022-08-29 10:23:08 +08:00
zzyyyl
9b80deba32 style: 优化代码格式 2022-08-28 00:31:29 +08:00
MistEO
c93dd0fe2c chore: 再整理一下日志 2022-08-28 00:02:57 +08:00
MistEO
32a8b858bd chore: 删除一些特别刷屏的日志 2022-08-27 23:48:08 +08:00
MistEO
5e82c3beaa feat: 为截图反复失败添加错误提示
fix https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/1672
fix https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/1509
2022-08-27 23:37:35 +08:00
zzyyyl
98f949346e style: clang format 2022-08-26 19:11:34 +08:00
MistEO
69a67592a3 fix: 修复编译错误和 typo 2022-08-20 03:17:07 +08:00
MistEO
b47a458b08 feat: 为controller添加退出标记
fix https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/1277
2022-08-20 02:40:03 +08:00
MistEO
05022702ff style: format 2022-08-14 03:06:10 +08:00
Horror Proton
4f27e3e162 perf: simplify for loops and lambdas, etc 2022-08-13 19:09:25 +08:00
MistEO
1815c83756 style: format 2022-08-13 18:05:02 +08:00
lhhxxxxx
2727abcc39 style. 使用字面量时间 2022-08-04 22:26:03 +08:00
lhhxxxxx
396acc47d4 perf. 使用ranges及views及<=>及其他一些c++20优化及一般优化 2022-08-02 02:59:17 +08:00