Commit graph

2,844 commits

Author SHA1 Message Date
Xu
6fc3594d9d
支持 Visual Studio 2026 (#1343)
* chore: 支持 VS2026

* docs: 更新文档以及排除 pdb

* chore: 修复 pdb 生成

* chore: 禁止 Magpie.Core 生成 pdb

* chore: 清理
2025-11-27 21:57:38 +08:00
dependabot[bot]
2c4e6aa8ca
chore(deps): bump actions/checkout from 5 to 6 (#1342)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-24 20:25:01 +08:00
Xu
7287e8be40 fix: 修复特定情况下终止缩放时崩溃 2025-11-19 15:47:20 +08:00
Weblate (bot)
45583f105a
Translated using Weblate (French) (#1341)
Currently translated at 91.3% (285 of 312 strings)

Translation: Magpie/UI
Translate-URL: https://hosted.weblate.org/projects/magpie/ui/fr/

Co-authored-by: Rémy Haitayan <remy.haitayan@gmail.com>
2025-11-18 08:26:58 +08:00
Xu
19bf67e285 perf: 删除 CompSwapchainPresenter 中无用传参 2025-11-16 17:15:24 +08:00
Xu
730d73ecea perf: 降低低帧率下 WGC 的延迟 2025-11-14 22:03:29 +08:00
Xu
c10034af50 perf: 优化 Deband 在启用内联效果参数时的性能 2025-11-11 16:11:57 +08:00
CHLBC
bcd5b6fed6 Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 100.0% (312 of 312 strings)

Translation: Magpie/UI
Translate-URL: https://hosted.weblate.org/projects/magpie/ui/zh_Hant/
2025-11-11 14:47:12 +08:00
Xu
046b2868c7 fix: 强制法语字体缓存过期 2025-11-10 19:46:13 +08:00
Xu
15d3e392c4
修复源窗口被最小化时偶尔没有移出屏幕 (#1335)
* fix: 修复源窗口被最小化后没有移出屏幕的错误

* fix: 位于中间状态时不再继续检查

* fix: 修复切换窗口时偶尔源窗口不会被带到顶部

* refactor: 常用 SWP 组合定义为宏

* perf: 提高细粒度

* fix: 置顶窗口可能失败,需多次尝试
2025-11-10 18:41:37 +08:00
Xu
2eb70761c9 fix: 修复叠加层法语显示错误 2025-11-10 09:07:00 +08:00
Weblate (bot)
8fba0716e6
Translations update from Hosted Weblate (#1334)
* Translated using Weblate (French)

Currently translated at 81.0% (253 of 312 strings)

Translation: Magpie/UI
Translate-URL: https://hosted.weblate.org/projects/magpie/ui/fr/

* Translated using Weblate (Russian)

Currently translated at 100.0% (312 of 312 strings)

Translation: Magpie/UI
Translate-URL: https://hosted.weblate.org/projects/magpie/ui/ru/

* Translated using Weblate (Vietnamese)

Currently translated at 100.0% (312 of 312 strings)

Translation: Magpie/UI
Translate-URL: https://hosted.weblate.org/projects/magpie/ui/vi/

---------

Co-authored-by: Louis <mail+github@louisroche.net>
Co-authored-by: Quân Trần <tquanwibu123@gmail.com>
2025-11-07 12:10:10 +08:00
Weblate (bot)
9e48ef9ab5
Translated using Weblate (Japanese) (#1331)
Currently translated at 100.0% (312 of 312 strings)

Translation: Magpie/UI
Translate-URL: https://hosted.weblate.org/projects/magpie/ui/ja/

Co-authored-by: animeojisan <engine54jp@gmail.com>
2025-11-06 11:41:25 +08:00
Xu
1413dc3e69 perf: 优化性能测试模式流畅度 2025-11-05 11:11:55 +08:00
Xu
d3fe8e56bb perf: 避免多个 WM_FRONTEND_RENDER 导致重复渲染 2025-11-04 20:34:41 +08:00
Xu
1b637c774b feat: 实现开发者选项禁用缩放窗口置顶 2025-11-04 19:40:33 +08:00
Xu
b187013b29 perf: 着色器添加 noperspective 修饰符
我们不涉及 3D 渲染,noperspective 可以稍微提高性能
2025-11-04 10:59:29 +08:00
Xu
ac758361c4 chore: 更新依赖 2025-11-04 10:30:12 +08:00
Xu
27037c3b45 fix: 修复窗口模式缩放会遮挡权限更高的窗口 2025-11-04 10:11:18 +08:00
dependabot[bot]
37f38253c7
chore(deps): bump actions/download-artifact from 5 to 6 (#1326)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-27 22:02:12 +08:00
dependabot[bot]
1988cde675
chore(deps): bump actions/upload-artifact from 4 to 5 (#1325)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-27 22:01:56 +08:00
Weblate (bot)
88f6ac243f
Translated using Weblate (Russian) (#1312)
Currently translated at 100.0% (311 of 311 strings)

Translation: Magpie/UI
Translate-URL: https://hosted.weblate.org/projects/magpie/ui/ru/

Co-authored-by: NightFox <NightFox@myied.org>
2025-10-04 08:12:23 +08:00
Weblate (bot)
1afc257050
Translated using Weblate (Chinese (Traditional Han script)) (#1311)
Currently translated at 100.0% (311 of 311 strings)

Translation: Magpie/UI
Translate-URL: https://hosted.weblate.org/projects/magpie/ui/zh_Hant/

Co-authored-by: CHLBC <chris010613@yahoo.com.tw>
2025-10-01 08:36:55 +08:00
Weblate (bot)
4bef67d775
Translated using Weblate (Japanese) (#1308)
Currently translated at 100.0% (311 of 311 strings)

Translation: Magpie/UI
Translate-URL: https://hosted.weblate.org/projects/magpie/ui/ja/

Co-authored-by: animeojisan <engine54jp@gmail.com>
2025-09-23 23:16:18 +08:00
Weblate (bot)
fb46f324c1
Translated using Weblate (Korean) (#1307)
Currently translated at 98.6% (296 of 300 strings)

Translation: Magpie/UI
Translate-URL: https://hosted.weblate.org/projects/magpie/ui/ko/

Co-authored-by: TinyUD <dongwon6073@gmail.com>
2025-09-22 19:28:10 +08:00
Xu
81e314d3a6
存在黑边时支持更改输出画面位置 (#1306)
* feat: 初步实现改变画面位置

* feat: 实现保存配置项和调整选项位置

* feat: 本地化

* chore: 修改措辞

* chore: 修改措辞

* chore: 修改措辞
2025-09-22 19:12:58 +08:00
Weblate (bot)
28bbb84cea
Translated using Weblate (Korean) (#1298)
Currently translated at 92.3% (277 of 300 strings)

Translation: Magpie/UI
Translate-URL: https://hosted.weblate.org/projects/magpie/ui/ko/

Co-authored-by: OkTeak Lim <downmix1@gmail.com>
2025-09-14 09:13:27 +08:00
dependabot[bot]
0d7ba8bd37
chore(deps): bump actions/setup-python from 5 to 6 (#1290)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-08 19:43:27 +08:00
Weblate (bot)
8fc3205844
Translated using Weblate (Portuguese (Brazil)) (#1289)
Currently translated at 84.6% (254 of 300 strings)

Translation: Magpie/UI
Translate-URL: https://hosted.weblate.org/projects/magpie/ui/pt_BR/

Co-authored-by: Luis <luisfelipekawaii@gmail.com>
2025-09-08 08:00:56 +08:00
Xu
2718439414 fix: 修复复制配置文件时不复制自动隐藏光标配置 2025-09-06 17:45:11 +08:00
Weblate (bot)
74b02f46ab
Translated using Weblate (Russian) (#1280)
Currently translated at 100.0% (300 of 300 strings)

Translation: Magpie/UI
Translate-URL: https://hosted.weblate.org/projects/magpie/ui/ru/

Co-authored-by: udaffskij <udaffskij@gmail.com>
2025-08-28 22:46:10 +08:00
Xu
23b9774716 fix: 将 SGSR.hlsl 复制到输出文件夹 2025-08-27 19:26:18 +08:00
Blinue
69d6105d56 Update version.json 2025-08-27 10:31:19 +00:00
Xu
664e0f4c8a chore: 修复 Debug 配置编译警告 v0.12.1 2025-08-27 18:13:06 +08:00
Weblate (bot)
1e7c571e6e
Translated using Weblate (Chinese (Traditional Han script)) (#1277)
Currently translated at 100.0% (300 of 300 strings)

Translation: Magpie/UI
Translate-URL: https://hosted.weblate.org/projects/magpie/ui/zh_Hant/

Co-authored-by: CHLBC <chris010613@yahoo.com.tw>
2025-08-26 20:05:21 +08:00
Xu
74d26e4a0d
正在缩放窗口时禁止自动缩放它的弹窗 (#1276)
* feat(tool): Kirikiri 模拟添加弹窗

* fix: 禁止同一进程内类名相同的窗口打断缩放

* fix: 正在缩放窗口时禁止自动缩放它的弹窗

* fix: 增加两个窗口位于同一进程的条件

* chore: 添加注释
2025-08-26 20:02:26 +08:00
Xu
4622274cb3
fix: 修复单色光标渲染错误 (#1275) 2025-08-26 18:46:00 +08:00
Xu
b8c0801f93
fix(ci): 只在 main 和 dev 分支签名 2025-08-26 08:51:28 +08:00
dependabot[bot]
10176cf4fb
chore(deps): bump actions/checkout from 4 to 5 (#1274)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-26 08:38:57 +08:00
Xu
b4c71bd912 fix: 避免意外改变源窗口 Z 顺序 2025-08-25 19:00:26 +08:00
Xu
0e3a5e8608 fix: 切换前台窗口时稍微延迟更新置顶
希望可以进一步提高可靠性
2025-08-25 18:45:43 +08:00
Weblate (bot)
5e597f8f1d
Translated using Weblate (Japanese) (#1272)
Currently translated at 100.0% (300 of 300 strings)

Translation: Magpie/UI
Translate-URL: https://hosted.weblate.org/projects/magpie/ui/ja/

Co-authored-by: animeojisan <engine54jp@gmail.com>
2025-08-25 18:41:20 +08:00
Weblate (bot)
33c3ed4c51
Translated using Weblate (Hungarian) (#1270)
Currently translated at 27.5% (82 of 298 strings)

Translation: Magpie/UI
Translate-URL: https://hosted.weblate.org/projects/magpie/ui/hu/

Co-authored-by: oknem <valami6512@pm.me>
2025-08-24 17:46:33 +08:00
Xu
ab24bd768e
支持自动隐藏光标 (#1267)
* feat: 初步实现自动隐藏光标

* UI: 稍微调整 UI

* UI: 不再禁用某些子选项

* fix: 修复隐藏延迟不准确的问题

* chore: 添加模拟隐藏光标的窗口
重构和添加注释
2025-08-24 17:39:16 +08:00
Karl Hook
61765e4344
feat: 移植SGSR (#1266)
* feat: 移植SGSR

* doc: 文档增加SGSR的描述
2025-08-23 18:59:01 +08:00
Xu
d01956e3a7
源窗口位于前台时始终置顶缩放窗口 (#1259)
* feat: 模拟中途置顶的窗口

* fix: 按钮随 DPI 缩放

* fix: 始终置顶

* fix: 修复切换前台窗口

* feat: 删除置顶选项

* refactor: 检查逻辑

* refactor: 用更简单的方式将缩放窗口置于源窗口之前

* fix: 支持源窗口中途置顶

* refactor: 小优化

* fix: 修复特定操作下意外将源窗口置顶

* fix: 提高取消置顶的可靠性

* fix: 调试模式下不置顶

* chore: WindowCase 支持模拟弹窗

* fix: 不要把被禁用的窗口设为前台

* feat: WindowCase 支持模拟“模拟模态弹窗”

* chore: 避免大量错误日志

* fix: 优化 Z 顺序维护

* fix: 不再使用 SWP_NOOWNERZORDER

* fix: 修复消息弹窗可能影响窗口 Z 顺序

* refactor: 小优化

* chore: 添加注释

* chore: 添加注释

* fix: 小优化

* chore: 小优化
2025-08-21 17:49:05 +08:00
Xu
e3e82b3bd8 fix: 再次放松挂起窗口检测
即使存在幽灵窗口,也检查源窗口是否真的处于无响应状态
2025-08-20 18:38:26 +08:00
Xu
2c75a8f328
自绘非客户区的窗口不再保留非客户区 (#1255)
* fix: 自绘非客户区的窗口也裁剪非客户区

* fix: 适配滚动条

* chore: 添加注释
2025-08-15 20:15:53 +08:00
Weblate (bot)
6bdafe8106
Translated using Weblate (Chinese (Traditional Han script)) (#1254)
Currently translated at 100.0% (300 of 300 strings)

Translation: Magpie/UI
Translate-URL: https://hosted.weblate.org/projects/magpie/ui/zh_Hant/

Co-authored-by: CHLBC <chris010613@yahoo.com.tw>
2025-08-15 08:03:34 +08:00
Xu
ae0c914c5c
修复有时误报源窗口无响应 (#1252)
* fix: 尝试修复错误检测源窗口挂起

* fix: 修复消息弹窗 bug
2025-08-14 22:36:28 +08:00