Commit Graph

77 Commits

Author SHA1 Message Date
MistEO
5c0445d3ab refactor: 依赖大更新 (#13908)
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-09-08 21:17:47 +08:00
uye
5d1f054e5b chore: core 删除 cpr 2025-08-28 17:35:23 +08:00
Status102
eeaffe368f feat: 支持一键悖论模拟 (#13893)
* feat: 支持一键悖论模拟 (#13885)

* feat: 支持一键悖论模拟

* chore: OperParadoxBegin EN

* chore: Auto update by pre-commit hooks [skip changelog]

* feat: 支持一键悖论模拟

* chore: Auto update by pre-commit hooks [skip changelog]

* feat: 支持一键悖论模拟

* fix: 更新悖论模拟按钮位置

* feat: 悖论模拟UI资源添加

* fix: 删除xml中被误添加的文件

* feat: 根据关卡类型显示选项

* i18n: 标签翻译

* feat: 修改小提示

* i18n: EN

* chore: zh-tw

* i18n: KR

* i18n: KR 2

Long text breaks the UI :(

* i18n: SSS -> SSS

* feat: 多行 TabControl

* chore: 调整布局

* i18n: JP

* perf: 优化返回流程

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: 删掉 core 的联网功能

---------

Co-authored-by: 翔宇 战 <1361227324@qq.com>
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: _Burnside <33724737+Burnside999@users.noreply.github.com>
Co-authored-by: momomochi987 <as99us301@gmail.com>
Co-authored-by: HX3N <scarlet7518@gmail.com>
Co-authored-by: Manicsteiner <Manicsteiner@outlook.com>

* fix: 新战斗导航下的悖论模拟

---------

Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
Co-authored-by: 翔宇 战 <1361227324@qq.com>
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: _Burnside <33724737+Burnside999@users.noreply.github.com>
Co-authored-by: momomochi987 <as99us301@gmail.com>
Co-authored-by: HX3N <scarlet7518@gmail.com>
Co-authored-by: Manicsteiner <Manicsteiner@outlook.com>
2025-08-28 17:32:32 +08:00
MistEO
66cfa848b0 feat: u16 OCR replace (#13533)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-06 13:29:23 +08:00
uye
7d0343cca7 feat: Unhandled exception (#13535)
* feat: Unhandled exception

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-05 17:24:16 +08:00
SherkeyXD
edc9a1f64a chore: use SecureZeroMemory for safety 2025-07-02 19:24:09 +08:00
status102
ee77b53cf3 fix: Log宏不检查log rotate 2025-06-17 15:48:43 +08:00
status102
1979a0db05 refactor: LogDebug, LogTrace, LogInfo, LogWarn, LogError补上scope输出 (#12855) 2025-06-02 21:23:53 +08:00
status102
73d122f1c8 style: Logger可读性优化 2025-06-01 22:50:33 +08:00
status102
d01ad45038 perf: Log.debug是否写入判断优化 2025-06-01 21:59:36 +08:00
status102
59197f6230 fix: 修复MaaCore asst.log文件句柄泄露 (#12639)
* fix: 尝试修复日志文件句柄泄露

* fix: platform

* fix: platform

* fix: platform

* fix: platform

* fix: cr-lf

* chore: useless
2025-05-11 19:34:01 +08:00
status102
97a0584166 chore: MaaCore日志文件占用缓解, 取消大小限制 2025-04-20 16:46:15 +08:00
status102
f917f0b505 fix: log rotate (#12025)
* fix: log rotate

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: ubuntu

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: counter

* fix: ubuntu

* fix: static lock

* perf: type

* perf: catch file error

* fix: 修复size计算错误

* revert: 还原阈值为64mb

* chore: Auto update by pre-commit hooks [skip changelog]

* perf: 移除不必要的锁传递

* rft: 使用streambuf计数

* perf: rename & 移除未使用函数

* fix: platform diff

* perf: init

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-03-03 15:02:06 +08:00
status102
b15ade0f73 chore: 上调MaaCore Log Rotate阈值为64MB (#11834) 2025-02-10 17:38:13 +08:00
status102
59f1ec7be4 Revert "rft: 任务执行期间Log Rotate增加检查,并上调阈值至64MiB (#11670)"
This reverts commit aa97deef9b.

Revert "fix: rotate_check 位置错误"

This reverts commit d9856d96ff.

Revert "chore: 单独为肉鸽添加日志检查"

This reverts commit 5f70c92f97.

Revert "chore: 移除过于消耗性能的检查"

This reverts commit 8198017f9c.

fix #11801
2025-02-08 19:20:44 +08:00
MistEO
5f70c92f97 chore: 单独为肉鸽添加日志检查 2025-02-08 14:48:20 +08:00
MistEO
8198017f9c chore: 移除过于消耗性能的检查 2025-02-08 14:36:53 +08:00
status102
aa97deef9b rft: 任务执行期间Log Rotate增加检查,并上调阈值至64MiB (#11670)
* fix: Log Rotate在任务执行期间不进行检查导致单体log文件过大

* fix: unsigned type

* perf: 加锁

* perf: 加锁优化

* perf: 上调log单文件大小至64MiB

* perf: 继续优化

* perf: 优化加锁

* fix: 64MB
2025-01-30 23:13:02 +08:00
uye
93ab86afbb chore: Release 模式下,如文件夹中包含 DEBUG.txt 也会输出 DBG 日志 (#11496)
* chore: Release 模式,如文件夹中包含 DEBUG.txt 也会输出 DBG 日志

* chore: lambda 被否了

* chore: 不读 DEBUG
2025-01-12 17:46:38 +08:00
pre-commit-ci[bot]
ce02c80498 chore: Auto update by pre-commit hooks [skip changelog] 2024-10-22 08:40:28 +00:00
Autumn Sound
6b56af7886 feat: 移除在非windows上locale的实现 (#9680) 2024-09-15 14:17:32 +08:00
dantmnf
55198c76da feat: win32 console-aware debug logger
[skip changelog]
2024-07-23 16:58:18 +08:00
zzyyyl
64bcac6e02 feat: 支持自定义 MatchTemplate 匹配方法 2024-07-20 12:36:02 +08:00
zzyyyl
2b040b16ad feat: 重新加入 tasks.json 的默认值检查 (#9583) 2024-07-13 08:08:06 +08:00
uye
955fb136f8 fix: test code
[skip changelog]
2024-06-27 00:49:13 +08:00
uye
1b2dd235d0 perf: 优化日志输出控制 2024-06-27 00:41:38 +08:00
uye
1e42b2e8f1 chore: 简化Release日志输出 2024-06-26 18:50:23 +08:00
MistEO
bafc8c3f71 feat: mumu extras (#8939)
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
2024-05-03 22:05:37 +08:00
status102
cffa797a1e perf: Logger析构时不滚动日志 (#7975) 2024-01-11 21:36:25 +08:00
uye
36246b4e7b fix: 自动战斗群组中多名干员在编组中时不会选择
fix #7977
2024-01-10 18:05:27 +08:00
dantmnf
7890cc7c12 fix: subprocess handle leak 2024-01-02 11:04:39 +08:00
Horror Proton
344ffa2be3 perf: update PosixIO::call_command (#7748)
* perf: block busyloop with epoll, do not reuse pipe

* perf: do not call getpid() on each line of log

* perf: epoll -> poll, do not waitpid on EAGAIN

* perf: remove poll
2023-12-25 05:38:31 +00:00
Horror Proton
3f7aeb4907 perf: do not rotate logs that are symbolic links 2023-11-21 22:22:25 +08:00
zzyyyl
311ac93377 perf: 使用 std::erase & std::erase_if 取代 remove-erase 2023-11-03 16:46:04 +08:00
Horror Proton
1fafbbfe53 feat: graph to indicate LoggerAux in debug mode 2023-10-27 23:01:55 +08:00
zzyyyl
4c2067b942 rft: 从 TaskData 中拆出 JsonMisc 2023-10-18 20:57:19 +08:00
zzyyyl
7ca08cd71d feat: 在 StringMisc 中增加 chars_to_number 2023-10-12 15:19:50 +08:00
zzyyyl
69fad6f127 style: code format 2023-09-30 23:44:34 +08:00
MistEO
018e875436 Revert "fix: 尝试修复日志被占用的问题"
This reverts commit af99ea8cf3.
2023-08-22 20:32:04 +08:00
MistEO
053eef6d61 fix: build error of logger 2023-08-21 20:31:41 +08:00
MistEO
5b2ab305b6 fix: build error 2023-08-21 20:15:04 +08:00
MistEO
af99ea8cf3 fix: 尝试修复日志被占用的问题 2023-08-21 19:44:57 +08:00
lhhxxxxx
d04d107b0f fix: 紧急修复 dlx 算法工具类的越界问题 2023-08-19 18:02:56 +08:00
lhhxxxxx
93c6374618 perf: 优化了互斥规划问题的 dlx 算法实现在一定情况下的速度 2023-07-23 04:36:56 +08:00
MistEO
0cee562aa9 feat: 为日志加入简单的rotate 2023-05-29 17:07:47 +08:00
MistEO
6f480d4ff8 fix: 删掉老的日志迁移 2023-05-01 23:34:11 +08:00
MistEO
8186589685 style: Core 全局格式化 2023-04-27 23:15:03 +08:00
MistEO
1da601a2b0 fix: 修复debug模式下的crash 2023-04-25 22:59:34 +08:00
zzyyyl
bdd75de969 style: format 2023-04-24 12:07:46 +08:00
罗家欣
464629e1f2 优化逻辑,debug存图 2023-04-19 13:19:29 +08:00