Commit graph

2,812 commits

Author SHA1 Message Date
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
Weblate (bot)
9467b6aa2f
Translations update from Hosted Weblate (#1249)
* Translated using Weblate (Chinese (Traditional Han script))

Currently translated at 100.0% (300 of 300 strings)

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

* Translated using Weblate (Chinese (Traditional Han script))

Currently translated at 100.0% (300 of 300 strings)

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

* Translated using Weblate (Chinese (Traditional Han script))

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>
Co-authored-by: 阿宇 addonian1123 <ian98765321@gmail.com>
2025-08-14 08:39:06 +08:00
Weblate (bot)
6c4d75ee3a
Translated using Weblate (Russian) (#1248)
Currently translated at 99.6% (299 of 300 strings)

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

Co-authored-by: NightFox <NightFox@myied.org>
2025-08-13 20:14:04 +08:00
Weblate (bot)
07a9643b14
Translated using Weblate (Portuguese (Brazil)) (#1247)
Currently translated at 76.3% (229 of 300 strings)

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

Co-authored-by: Toni Garces <tonigarces19@gmail.com>
2025-08-12 19:42:29 +08:00
dependabot[bot]
6ba65bd2ea
chore(deps): bump actions/download-artifact from 4 to 5 (#1245)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/download-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-08-12 08:27:35 +08:00
imgbot[bot]
4da359c524
[ImgBot] Optimize images (#1243)
*Total -- 2,663.46kb -> 2,303.87kb (13.5%)

/img/repo-card.png -- 39.81kb -> 26.83kb (32.61%)
/src/Magpie/Icons/PNG/Magpie Icon Full Disabled/128.png -- 11.38kb -> 7.67kb (32.58%)
/src/Magpie/Icons/PNG/Magpie Icon Full Enabled/128.png -- 11.12kb -> 7.59kb (31.73%)
/img/main-window-zh.png -- 137.77kb -> 95.21kb (30.89%)
/src/Magpie/Icons/PNG/Magpie Icon Full Disabled/96.png -- 8.60kb -> 6.06kb (29.58%)
/src/Magpie/Icons/PNG/Magpie Icon Full Enabled/96.png -- 8.30kb -> 6.03kb (27.3%)
/img/main-window.png -- 159.94kb -> 118.33kb (26.02%)
/src/Magpie/Icons/PNG/Magpie Icon Full Disabled/64.png -- 5.44kb -> 4.04kb (25.79%)
/src/Magpie/Icons/PNG/Magpie Icon Simplified/128.png -- 10.13kb -> 7.68kb (24.14%)
/src/Magpie/Icons/PNG/Magpie Icon Full Enabled/64.png -- 5.35kb -> 4.06kb (24.13%)
/src/Magpie/Icons/PNG/Magpie Icon Simplified/96.png -- 7.77kb -> 6.09kb (21.63%)
/src/Magpie/Icons/PNG/Magpie Icon Full Enabled/40.png -- 3.49kb -> 2.78kb (20.37%)
/src/Magpie/Icons/PNG/Magpie Icon Full Enabled/48.png -- 4.13kb -> 3.30kb (20.19%)
/src/Magpie/Icons/PNG/Magpie Icon Full Disabled/24.png -- 2.55kb -> 2.04kb (19.81%)
/src/Magpie/Icons/PNG/Magpie Icon Full Enabled/32.png -- 2.99kb -> 2.42kb (19.2%)
/src/Magpie/Icons/PNG/Magpie Icon Simplified/64.png -- 5.00kb -> 4.06kb (18.73%)
/src/Magpie/Icons/PNG/Magpie Icon Full Disabled/40.png -- 3.44kb -> 2.79kb (18.73%)
/src/Magpie/Icons/PNG/Magpie Icon Full Disabled/48.png -- 3.99kb -> 3.26kb (18.34%)
/src/Magpie/Icons/PNG/Magpie Icon Full Disabled/32.png -- 2.92kb -> 2.39kb (18.24%)
/src/Magpie/Icons/PNG/Magpie Icon Simplified/32.png -- 2.98kb -> 2.44kb (18.08%)
/src/Magpie/Icons/PNG/Magpie Icon Simplified/48.png -- 4.03kb -> 3.31kb (17.75%)
/src/Magpie/Icons/PNG/Magpie Icon Simplified/40.png -- 3.43kb -> 2.84kb (17.2%)
/src/Magpie/Icons/PNG/Magpie Icon Simplified/16.png -- 2.14kb -> 1.78kb (16.7%)
/src/Magpie/Icons/PNG/Magpie Icon Full Enabled/16.png -- 2.13kb -> 1.85kb (13.29%)
/src/Magpie/Icons/PNG/Magpie Icon Simplified/20.png -- 2.32kb -> 2.02kb (12.92%)
/src/Magpie/Icons/PNG/Magpie Icon Full Disabled/16.png -- 2.11kb -> 1.84kb (12.79%)
/img/screenshot.png -- 2,150.68kb -> 1,917.65kb (10.83%)
/src/Magpie/Icons/PNG/Magpie Icon Simplified/24.png -- 2.56kb -> 2.29kb (10.49%)
/src/Magpie/Icons/PNG/Magpie Icon Full Enabled/20.png -- 2.34kb -> 2.12kb (9.38%)
/src/Magpie/Icons/PNG/Magpie Icon Full Disabled/20.png -- 2.33kb -> 2.14kb (7.97%)
/src/Magpie/Icons/PNG/Magpie Icon Full Enabled/24.png -- 2.56kb -> 2.38kb (6.87%)
/src/Magpie/Icons/PNG/Magpie Icon Full Enabled/256.png -- 16.50kb -> 16.09kb (2.47%)
/src/Magpie/Icons/PNG/Magpie Icon Full Disabled/256.png -- 17.01kb -> 16.61kb (2.39%)
/src/Magpie/Icons/PNG/Magpie Icon Simplified/256.png -- 16.24kb -> 15.87kb (2.24%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2025-08-11 19:33:06 +08:00
Xu
6381424727 docs: 更新截图 2025-08-11 19:05:17 +08:00
Xu
9dea5f5f3e
修复截图菜单项 ID 冲突 (#1242)
* fix: 修复 ImGui ID 冲突

* fix: 修复 ImGui ID 冲突
2025-08-11 19:00:26 +08:00
Xu
8ea304bd54 docs: 更新截图 2025-08-10 21:43:13 +08:00
Xu
2ec4166905 docs: 更新 README 2025-08-10 21:04:19 +08:00
Xu
355676dc49 chore: 修复 CI 触发条件 2025-08-10 20:36:23 +08:00
Xu
19a5032da1 chore: 修复发布 wiki 脚本 2025-08-10 20:33:02 +08:00
Blinue
a350639eb3 Update version.json 2025-08-10 12:21:44 +00:00
Xu
f2888d5c81 docs: 更新文档 v0.12.0 2025-08-10 19:40:57 +08:00
Weblate (bot)
debf547ab8
Translated using Weblate (Polish) (#1239)
Currently translated at 100.0% (300 of 300 strings)

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

Co-authored-by: Krzysztof <k_marc_2002@proton.me>
2025-08-10 19:27:40 +08:00
Xu
fb2270ec89
优化 Graphics Capture 对 Kirikiri 窗口的支持 (#1238)
* feat: 尝试模拟 kirikiri 窗口行为

* feat: 完善模拟 kirikiri 窗口

* feat: 优化 WGC 对 kirikiri 窗口的处理

* chore: 优化注释

* fix: 优化错误处理

* chore: 添加注释
2025-08-09 21:20:34 +08:00
Weblate (bot)
ffdc3e772b
Translated using Weblate (Japanese) (#1234)
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-08 12:17:07 +08:00
Xu
dce6adb097 fix: 修复 Win10 中工具栏图标错误 2025-08-07 09:43:46 +08:00
Xu
07a6dc2c62 feat: 工具栏支持最小化源窗口 2025-08-06 23:13:21 +08:00
Xu
cdb27a48e6
定时器和托盘菜单支持窗口模式缩放 (#1233)
* feat: 更新 UI

* feat: 实现定时器功能

* feat: 托盘菜单支持全屏/窗口缩放定时器

* fix: 修复偶尔取消计时会立刻缩放的问题
2025-08-06 20:17:37 +08:00
Weblate (bot)
f7f7ebbc56
Translated using Weblate (Polish) (#1229)
Currently translated at 100.0% (297 of 297 strings)

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

Co-authored-by: Krzysztof <k_marc_2002@proton.me>
2025-08-05 19:19:15 +08:00
allcontributors[bot]
396a1956c2
docs: add kangurek-kao as a contributor for translation (#1230)
* docs: update README.md [skip ci]

* docs: update README_ZH.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-08-05 19:19:06 +08:00
Xu
ea107ac9c3
优化自动缩放机制 (#1227)
* fix: 重复缩放时不显示错误消息

* fix: 减小 ScalingService 和 ScalingRuntime 状态不一致的窗口期

* fix: 避免自动缩放和最小化窗口还原机制冲突

* chore: 修复 clang 编译警告

* refactor: ScalingRuntime::SwitchScalingState 重命名为 ScalingRuntime::ToggleScaling

* fix: 恢复检查自动缩放

* feat: 自动缩放可以终止当前缩放

* chore: 添加注释

* feat: 自动缩放不再等待最小化和不可见的窗口
现已支持直接缩放这类窗口,由 ScalingRuntime 等待
2025-08-05 17:55:29 +08:00
Xu
96a1c7287a feat: 源窗口隐藏会等待显示然后恢复缩放 2025-08-03 17:14:21 +08:00
Xu
7b71454b5d fix: 修复任务栏不在底部导致启动时窗口位置错误的问题 2025-08-03 14:17:06 +08:00
Weblate (bot)
151bb3a6ed
Translated using Weblate (Japanese) (#1223)
Currently translated at 100.0% (297 of 297 strings)

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

Co-authored-by: animeojisan <engine54jp@gmail.com>
2025-08-01 23:16:49 +08:00
Xu
d84ad92b97 chore: 优化项目文件 2025-07-31 19:56:17 +08:00
Xu
5db358fdf3 fix: 修复窗口模式初始缩放倍数错误 2025-07-31 13:11:30 +08:00
Weblate (bot)
16457063fb
Translated using Weblate (Japanese) (#1222)
Currently translated at 100.0% (297 of 297 strings)

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

Co-authored-by: animeojisan <engine54jp@gmail.com>
2025-07-30 22:21:10 +08:00
Xu
02bf2a1c5f chore: 发布版本 CI 不再加载缓存 2025-07-30 09:27:34 +08:00
Xu
19a964195c fix: 修复发布脚本获取最新版本标签
不确定是否修好了,只能下次发布预览版再验证
2025-07-29 21:17:34 +08:00
Blinue
2b5c715d2b Update version.json 2025-07-29 12:53:45 +00:00
Xu
e70d5ee075 fix: 使结束缩放后清理更可靠 v0.12.0-preview2 2025-07-29 20:29:40 +08:00