Commit graph

2,879 commits

Author SHA1 Message Date
Weblate (bot)
4068872634
Translations update from Hosted Weblate (#1103)
* Added translation using Weblate (Georgian)

* Translated using Weblate (Indonesian)

Currently translated at 100.0% (253 of 253 strings)

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

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

Currently translated at 100.0% (253 of 253 strings)

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

* Translated using Weblate (Georgian)

Currently translated at 45.4% (115 of 253 strings)

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

---------

Co-authored-by: Temuri Doghonadze <temuri.doghonadze@gmail.com>
Co-authored-by: Raka Prasetya Pratama <123168129+hiratazx@users.noreply.github.com>
Co-authored-by: ɴᴇᴋᴏ <s99095lkjjim@gmail.com>
2025-03-22 11:49:45 +08:00
Xu
2d093d6575
修复主窗口调整大小时边缘闪烁 (#1096)
* fix: 修复调整尺寸时边缘闪烁

* chore: 添加注释

* fix: 修复调整窗口尺寸时控制按钮位置不稳定

* fix: 修复特定操作后导航栏状态错误
2025-03-16 21:13:18 +08:00
Xu
a28c6d06ff fix: 修复导航栏收起时展开按钮无法点击的问题 2025-02-24 20:54:19 +08:00
Weblate (bot)
4c45a03fba
Translated using Weblate (Turkish) (#1079)
Currently translated at 100.0% (253 of 253 strings)

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

Co-authored-by: Serdar Sağlam <teknomobil@msn.com>
2025-02-21 08:38:09 +08:00
Weblate (bot)
8f8ee7ceee
Translated using Weblate (Portuguese (Brazil)) (#1078)
Currently translated at 99.2% (251 of 253 strings)

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

Co-authored-by: Marcio Felipe <marciofelipenf1@gmail.com>
2025-02-20 08:26:48 +08:00
Xu
0762c3fac8 fix: 修复消息框 Z 轴顺序错误 2025-02-17 17:22:33 +08:00
Weblate (bot)
86d4c1a152
Translated using Weblate (Polish) (#1073)
Currently translated at 96.4% (244 of 253 strings)

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

Co-authored-by: Maksymilian Jakubiak <maksjakubiak09@gmail.com>
2025-02-13 08:48:55 +08:00
Xu
c2d78f9100 feat: 日志记录新缩放选项 2025-02-11 09:41:10 +08:00
Xu
d853d820ea refactor: 代码格式优化 2025-02-08 17:07:35 +08:00
Xu
cd41a175c7 feat: 同版本的 FX 向下兼容
遇到未知指令不再失败
2025-02-08 16:43:51 +08:00
Xu
cf4e7126e0 chore: 更新依赖 2025-02-08 16:32:31 +08:00
Xu
efe1004c71 fix: 优化自定义标题栏和第三方程序兼容性
现在主窗口可以正确处理 WM_NCHITTEST 消息
2025-02-08 16:21:32 +08:00
Weblate (bot)
89e619d169
Translations update from Hosted Weblate (#1066)
* Translated using Weblate (German)

Currently translated at 96.4% (244 of 253 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 100.0% (253 of 253 strings)

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

---------

Co-authored-by: Ettore Atalan <atalanttore@googlemail.com>
Co-authored-by: animeojisan <engine54jp@gmail.com>
2025-02-03 19:59:40 +08:00
Xu
5b9ccaecd8
fix: 复制配置文件时复制自动缩放选项 (#1065) 2025-02-02 15:10:52 +08:00
Xu
2db1444374 perf: 直接调用窗口过程而不是发送消息 2025-02-02 14:36:16 +08:00
Xu
a6f86d0849
FX 支持使用 FP16 (#1049)
* feat: 自动使用半精度浮点数,除非在开发者选项中禁用

* feat: 添加用于测试效果性能的模式,将持续渲染不做等待

* chore: 避免不同配置使用相同的着色器头文件

* fix: 不再使用 wil::CreateDirectoryDeepNoThrow,因为它不支持相对路径

* feat: 内联常量改为使用全局只读变量实现
这可以避免宏定义引起的名字冲突,如 #678

* feat: 引入 rapidhash,不再使用 wyhash
这会使效果缓存失效

* feat: 优化缓存系统
加载缓存将检查源码是否匹配,更改缓存文件名

* ui: 优化开发者选项 UI

* perf: 避免复制

* feat: 使用 USE_FP16 指令声明效果支持 FP16

* fix: 小修复

* chore: 修改措辞

* feat: 使几个效果支持 FP16,但性能变化不如预期

* feat: 适配几个效果供测试

* CuNNy-D16N16

* ACNet 从 mad 改为使用 dp4

* Anime4K_Upscale_L 和 CuNNy-16x16C-NVL 改为使用 mad

* ACNet 改为使用 mad

* feat: FX 支持 USE 指令

* feat: 内置函数新增 MulAdd

* perf: 优化 jinc 和 Anime4K_3D_Upscale_US

* perf: 优化 Anime4K_3D_Upscale_US 和 Anime4K_Restore_L

* perf: 优化 Anime4K_Restore_M

* perf: 优化几个效果

* perf: 优化两个效果

* perf: 优化两个效果

* perf: 优化更多效果

* perf: 优化更多效果

* perf: 优化更多效果

* feat: 记录显卡是否支持 fp16

* perf: 优化 CAS

* perf: 优化 FSRCNNX

* perf: 优化更多效果

* perf: 优化更多效果

* perf: 优化更多效果

* perf: 优化更多效果

* perf: 优化更多效果

* fix: 修正字符串资源

* fix: 修正字符串资源

* perf: 优化 FSR_EASU

* perf: 优化 FSR_RCAS

* perf: NIS 和 NVSharpen 更新到 v1.0.3
也添加了 FP16 支持,性能有很小的下降,但显存占用大幅下降

* feat: 叠加层上显示效果是否使用 FP16

* docs: 更新文档

* docs: 优化文档

* docs: 优化文档
2025-02-01 12:33:20 +08:00
Xu
d9c9a80c5e fix: 修复导入缩放模式时崩溃的错误 2025-01-25 22:41:40 +08:00
Xu
f6a8e737bf fix: 更好的解决双击关闭按钮闪退问题 2025-01-22 00:43:24 +08:00
Xu
536935a57e fix: 修复关闭主窗口时崩溃的问题 2025-01-22 00:17:34 +08:00
Xu
a8508cbe21 fix: 修复双击关闭按钮后闪退的问题 2025-01-21 20:57:06 +08:00
Weblate (bot)
f4bd23d4bb
Translations update from Hosted Weblate (#1060)
* Translated using Weblate (Indonesian)

Currently translated at 100.0% (251 of 251 strings)

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

* Translated using Weblate (Vietnamese)

Currently translated at 99.6% (250 of 251 strings)

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

---------

Co-authored-by: Raka Prasetya Pratama <123168129+hiratazx@users.noreply.github.com>
Co-authored-by: OHaiiBuzzle <ohaibuzzle@gmail.com>
2025-01-19 23:33:47 +08:00
allcontributors[bot]
d3a0ab8168
docs: add TamilNeram as a contributor for translation (#1058)
* 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-01-15 09:48:30 +08:00
Weblate (bot)
c50f238e7c
支持泰米尔语
* Added translation using Weblate (Tamil)

* Translated using Weblate (Tamil)

Currently translated at 100.0% (251 of 251 strings)

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

* feat: 添加泰米尔语

---------

Co-authored-by: தமிழ்நேரம் <anishprabu.t@gmail.com>
Co-authored-by: Xu <xu.liu@bonsmile.com>
2025-01-15 09:47:47 +08:00
Weblate (bot)
29cfcd0d35
Translated using Weblate (Spanish) (#1055)
Currently translated at 94.8% (238 of 251 strings)

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

Co-authored-by: Geovanny Padilla <geovannypadilla6@gmail.com>
2025-01-12 09:20:42 +08:00
xmcp
5944cebc32
修复CuNNy的死链 (#1054)
* fix broken link for cunny

* also update username for all-contributor
2025-01-09 08:47:31 +08:00
Weblate (bot)
bf5ded6a69
Translations update from Hosted Weblate (#1050)
* Translated using Weblate (German)

Currently translated at 97.2% (244 of 251 strings)

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

* Translated using Weblate (Russian)

Currently translated at 100.0% (251 of 251 strings)

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

---------

Co-authored-by: Ettore Atalan <atalanttore@googlemail.com>
Co-authored-by: NightFox <NightFox@myied.org>
2025-01-03 21:53:30 +08:00
Weblate (bot)
ac09fe9770
Translated using Weblate (Japanese) (#1048)
Currently translated at 100.0% (251 of 251 strings)

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

Co-authored-by: animeojisan <engine54jp@gmail.com>
2025-01-02 21:27:45 +08:00
Xu
7937700643
实现最小帧率 (#1043)
* feat: 初步实现最小帧率

* fix: 优化 StepTimer

* fix: 使帧间隔保持稳定

* feat: 添加最小帧率设置

* feat: 实现用户界面

* fix: 优化帧率限制精度

* chore: 添加注释

* fix: 修正第一秒的帧率

* feat: 允许用户修改最小帧率

* fix: 避免强制帧干扰重复帧检测

* fix: 修复限制最大帧率时 Graphics Capture 严重卡顿

* chore: 更好的处理卡顿以及添加注释

* fix: 默认最小帧率改为 10 FPS

* perf: MinFrameRateOptions 改为静态成员
2024-12-31 20:34:37 +08:00
Xu
303b90a038 fix: 修正显示窗口时最大化按钮的状态 2024-12-29 12:38:03 +08:00
Xu
33e17a274e feat: 记录缩放开始和结束 2024-12-28 17:16:21 +08:00
Xu
8548abfe62
feat: 通知区域图标菜单支持定时缩放 (#1042) 2024-12-28 16:43:53 +08:00
Weblate (bot)
836d240c94
Translated using Weblate (Japanese) (#1041)
Currently translated at 100.0% (249 of 249 strings)

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

Co-authored-by: animeojisan <engine54jp@gmail.com>
2024-12-28 08:43:07 +08:00
Xu
a84099ed9d feat: 单击通知区域图标即可打开主窗口 2024-12-26 20:09:26 +08:00
Xu
ed61b66537
刚显示窗口时跳过动画 (#1040)
* feat: 初步实现启动时跳过动画

* perf: 尝试优化性能

* ui: 优化 SettingsExpander 箭头动画

* perf: 优化启动性能

* fix: 优化最大化显示窗口逻辑

* chore: 优化注释

* chore
2024-12-26 19:25:13 +08:00
Weblate (bot)
6fd97a4144
Translated using Weblate (Turkish) (#1039)
Currently translated at 100.0% (249 of 249 strings)

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

Co-authored-by: Serdar Sağlam <teknomobil@msn.com>
2024-12-26 18:55:01 +08:00
Xu
d09a30287b fix: 修复 TextBlockHelper 的内存泄露 2024-12-26 15:06:12 +08:00
Xu
fa5159fd53 refactor: 减少全局包含文件 2024-12-25 13:28:00 +08:00
Xu
4f481e4ec5 perf: 避免重复尝试创建 D3D 设备 2024-12-25 13:05:01 +08:00
Xu
7309604d8e UI: 稍微增加快捷键控件的对比度 2024-12-24 21:18:34 +08:00
Xu
d8dd777053
优化显卡选择并实现监听显卡变化 (#1037)
* fix: 优化初始化失败逻辑

* feat: 实现 AdapterService 功能

* feat: 优化 GPU 选择

* feat: 实现根据显卡改变更新配置文件

* feat: 支持检测运行时显卡变化

* feat: 排除不支持功能级别 11 的显卡

* perf: 延迟检查显卡的功能级别以加快主窗口显示

* fix: 确保检查显卡的功能级别在主窗口显示后执行
2024-12-24 20:52:40 +08:00
Xu
6d6bd791fb fix: 修复解析失败的效果导致的崩溃 2024-12-23 22:23:01 +08:00
Xu
63df4f9a55 perf: 优化 Event 的内存占用和性能 2024-12-23 19:13:16 +08:00
Weblate (bot)
f1a82fd8a3
Translations update from Hosted Weblate (#1036)
* Translated using Weblate (English (United States))

Currently translated at 100.0% (248 of 248 strings)

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

* Translated using Weblate (Italian)

Currently translated at 89.1% (221 of 248 strings)

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

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (248 of 248 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 89.9% (223 of 248 strings)

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

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

Currently translated at 99.5% (247 of 248 strings)

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

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

Currently translated at 89.1% (221 of 248 strings)

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

* Translated using Weblate (English (United States))

Currently translated at 100.0% (248 of 248 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 100.0% (248 of 248 strings)

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

* Translated using Weblate (German)

Currently translated at 97.5% (242 of 248 strings)

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

* Translated using Weblate (Spanish)

Currently translated at 95.5% (237 of 248 strings)

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

* Translated using Weblate (French)

Currently translated at 97.5% (242 of 248 strings)

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

* Translated using Weblate (Hungarian)

Currently translated at 32.6% (81 of 248 strings)

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

* Translated using Weblate (Korean)

Currently translated at 96.3% (239 of 248 strings)

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

* Translated using Weblate (Polish)

Currently translated at 96.3% (239 of 248 strings)

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

* Translated using Weblate (Russian)

Currently translated at 100.0% (248 of 248 strings)

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

* Translated using Weblate (Turkish)

Currently translated at 96.3% (239 of 248 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 90.3% (224 of 248 strings)

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

* Translated using Weblate (Vietnamese)

Currently translated at 96.3% (239 of 248 strings)

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

* Translated using Weblate (English (United States))

Currently translated at 100.0% (248 of 248 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 100.0% (248 of 248 strings)

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

---------

Co-authored-by: Toni Garces <tonigarces19@gmail.com>
Co-authored-by: 刘旭 <blinue@outlook.com>
Co-authored-by: animeojisan <engine54jp@gmail.com>
2024-12-23 11:38:40 +08:00
Xu
f541343d8a fix: 修复主窗口无法显示错误 2024-12-21 10:29:55 +08:00
Xu
ff850d28f4 refactor: 减少头文件间的依赖 2024-12-21 00:47:55 +08:00
Xu
23af3e2090 fix: 防止 ImGui 中 ID 冲突 2024-12-20 22:54:14 +08:00
Xu
07e143be7a chore: 修复 Magpie 项目的警告等级 2024-12-20 21:46:51 +08:00
Xu
e3badf85ba chore: 更新依赖 2024-12-19 09:09:28 +08:00
Xu
1cbe9ddca3
优化标题栏功能 (#1034)
* feat: 优化标题栏功能
1. 修正 Win11 23H2 和以管理员身份运行时的贴靠布局弹窗位置
2. 标题栏命中测试支持 HTTOPLEFT 和 HTTOPRIGHT

* chore: 修正注释

* chore: 修正注释
2024-12-18 20:00:50 +08:00
Xu
8b278b4f52
将 Magpie.App.dll 合并进 Magpie.exe (#1032)
* chore: 将 Magpie.App.dll 合并进 Magpie.exe

* fix: Logger 不再需要初始化两次

* chore: 防止退出时在 threadpoolwinrt.dll 中崩溃

* chore: 优化编译

* chore: _ConanDeps 移植为 msbuild 脚本,需要进一步实现 up-to-date 检查

* chore: _ConanDeps 实现 up-to-date 检查

* chore: 由于架构更改,现在可以直接引用 Magpie.Core

* chore: 修复编译

* refactor: 将一些类移出 Shared

* chore: 将 Shared 中的文件移到 Magpie.Core

* refactor: 优化架构

* refactor: 命名空间调整

* refactor: XamlApp 合并进 App

* perf: 优化自定义事件的性能

* refactor: 使 XamlWindow 继承自 WindowBase

* refactor: 删除几个控件的 DependencyProperty

* fix: 避免 Win10 中退出后崩溃

* chore: 添加断言和注释

* refactor: 检测主题更改的逻辑集中在 App 中

* perf: 直接使用 RootPage 的实现类型

* refactor: 添加主窗口 DPI 改变事件

* refactor: 不再使用 Magpie.Core 命名空间

* fix: 修复析构全局变量时崩溃的问题

* chore: 添加注释

* perf: 更多地方直接使用实现类型

* perf: 更多地方直接使用实现类型

* chore: 避免依赖项缺少 pdb 导致链接警告

* perf: 更多地方直接使用实现类型

* fix: 修复无法更新的问题
2024-12-18 18:27:39 +08:00