Hao Guan
|
9614cff5e5
|
feat: 实现 POSIX socket 传输
|
2022-11-12 00:33:43 +10:00 |
|
Horror Proton
|
543bb05d32
|
refactor: remove AsstUtils
|
2022-10-21 21:30:04 +08:00 |
|
MistEO
|
d2528b6f70
|
perf: 给调用命令再次加个锁
This reverts commit 019f219ef8.
|
2022-10-11 11:02:53 +08:00 |
|
MistEO
|
019f219ef8
|
fix: 修复一个死锁问题
by socket 时,这行逻辑会引发死锁
if (is_reconnect_success) {
auto recall_ret = call_command(cmd, timeout, false /* 禁止重连避免无限递归 */, recv_by_socket);
|
2022-10-11 02:16:44 +08:00 |
|
Horror Proton
|
446aefea8f
|
refactor: move platform files
|
2022-10-04 22:19:14 +08:00 |
|
zzyyyl
|
7ceb7cead6
|
style: format
|
2022-09-30 22:55:25 +08:00 |
|
zzyyyl
|
cada49478f
|
fix: 修复有时候莫名截图错误的问题
(修复 screencap 和 call_command 的 重连 和 socket 参数传递错误的问题)
link to d94a288a70
|
2022-09-30 15:56:01 +08:00 |
|
zzyyyl
|
559c913fca
|
style: format
|
2022-09-29 23:30:40 +08:00 |
|
zzyyyl
|
c9b5aa638a
|
refactor: 给头文件加上路径
直接在上一个 commit 里改的话可能会导致 history 消失
|
2022-09-29 23:30:32 +08:00 |
|
MistEO
|
d94a288a70
|
perf: 优化截图出错时的重试机制
|
2022-09-28 14:49:13 +08:00 |
|
zzyyyl
|
f86a198b38
|
fix: 加个 closesocket
|
2022-09-27 19:26:34 +08:00 |
|
zzyyyl
|
d56dd5a1ad
|
feat: 加点日志,timeout 时强制中止 hProcess
|
2022-09-27 19:10:25 +08:00 |
|
zzyyyl
|
7f0661d45f
|
fix: 继续修复退出时两次 kill-server 的问题
|
2022-09-27 19:07:12 +08:00 |
|
zzyyyl
|
b727266268
|
feat: 加点日志输出
|
2022-09-27 17:47:33 +08:00 |
|
zzyyyl
|
4a594c64a2
|
fix: 修复退出时两次 kill-server 的问题
|
2022-09-22 00:25:05 +08:00 |
|
MistEO
|
973bea20c4
|
fix: 尝试修复调用命令时抛出异常的问题
fix https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/1871
|
2022-09-21 23:28:53 +08:00 |
|
zzyyyl
|
044c4f55b8
|
fix: 修复某些情况下点击停止后重连时间很长的问题
|
2022-09-21 15:26:52 +08:00 |
|
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 |
|