Commit Graph

281 Commits

Author SHA1 Message Date
uye
2d367b55e3 chore: SimpleEncryptionHelper 新增 DataProtectionScope 参数 2025-01-19 23:07:04 +08:00
status102
6dc64c65a2 rft: Wpf重构 拆分模拟器关闭相关 (#11547)
* rft: Wpf重构 拆分模拟器控制相关

* style: null check
2025-01-14 22:40:10 +08:00
uye
d63085002a feat: 肉鸽开局干员列表排除当前客户端未出干员 2025-01-02 10:20:06 +08:00
uye
53d86fb008 chore: 当前配置不存在时尝试读取全局配置 2024-12-30 15:04:18 +08:00
uye
d1e6ca611a fix: characterNamesClientAdd 获取错误 2024-12-29 11:49:48 +08:00
uye
00439ecfa9 chore: 界面设置改为全局配置 2024-12-28 16:38:45 +08:00
uye
f549c1feee perf: 优化仓库识别显示,减少读取文件次数,优化文件占用 2024-12-06 18:36:38 +08:00
status102
47d8b0f604 chore: format & nullable
[skip changelog]
2024-11-22 21:44:20 +08:00
uye
8bed0b9705 perf: 优化参数解析 2024-11-21 00:22:13 +08:00
status102
c27ae95a89 rft: 拆分 设置-界面设置 (#11188)
* rft: 拆分 设置-界面设置

* style: format

* fix: 还原错误变更
2024-11-19 09:13:19 +08:00
status102
4cc3051da5 fix: 遗漏变量
[skip changelog]
2024-11-17 13:16:54 +08:00
status102
a2902fdd29 Revert "rft: 拆分 设置-界面设置 (#11153)"
This reverts commit 1c14b211d3.

# Conflicts:
#	src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs
2024-11-17 13:08:43 +08:00
status102
1c14b211d3 rft: 拆分 设置-界面设置 (#11153)
* rft: 拆分 设置-界面设置

* rft: 还原菜单相关内容到SettingsViewModel
2024-11-16 11:07:37 +08:00
Ali (Daixin) Tian
225b6155fa perf: 公招三星优先tag 改为复选框 (#11097)
* feat: Replace AutoRecruitHighPriority (公招三星优先tag) Textbox with CheckComboBox & ListBox

* chore: update translation for AutoRecruitHighPriority and AutoRecruitHighPriorityTooltip

* perf: UI perform

* fix: Assign default value of _autoRecruitFirstList as empty string

* i18n: 支持外服及显示语言切换

---------

Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
2024-11-08 11:50:41 +08:00
uye
4b4fdb9a03 feat: 远程通知配置加密 (#11076)
* feat: 远程通知配置加密

* fix: 无法发送外部通知
2024-11-06 15:02:51 +08:00
uye
2a598bda65 chore: 对 gui.json 排序 2024-10-30 12:47:37 +08:00
uye
8f483ae1ed feat: 添加直接显示吐司内容函数,固定Show执行线程 2024-10-29 17:10:54 +08:00
uye
82a5f53ff1 chore: 启动后对已有配置排序
fix https://github.com/orgs/MaaAssistantArknights/discussions/10633
2024-09-18 19:44:07 +08:00
uye
eef2a80b36 fix: 配置问题 (#10601)
* fix: _configurationBakFile 不生效

* chore: HttpService 使用 SettingsViewModel 属性

* chore: GetValue 增加同步锁

* chore: 备份有错误的配置文件

* chore: 使用 ConcurrentDictionary

* style: 减少缩进

* chore: 移除未使用变量

* chore: 目录下存在 DEBUG/DEBUG.txt 的情况下输出更低等级的日志信息

* fix: 无配置文件时报错

* chore: gui.log 输出日志等级

* chore: 给写入文件的时候加锁

* perf: 减少重复检查

* fix: omit

---------

Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
2024-09-15 22:04:11 +08:00
uye
e5d5a48033 chore: 邪道 2024-09-06 00:04:19 +08:00
dantmnf
e227d71813 chore: use CsWin32 source generator instead of random pinvoke library (#10361)
* chore: use CsWin32 source generator instead of random pinvoke library

* fix: use local D3D12CreateDevice definition
2024-08-25 19:46:32 +08:00
Constrat
971699bcbe fix: c# warning
[skip changelog]
2024-08-22 23:56:15 +02:00
SherkeyXD
10d51c6c38 chore: fix WPF Warning 2024-08-21 19:12:02 +08:00
status102
78e82ced53 style: format
[skip changelog]
2024-08-20 23:30:54 +08:00
status102
4a156f4c7f perf: Win10以上系统在退出时Wpf不再清除Toast (#10307)
perf: Win10以上系统在退出时不再清除Toast
2024-08-20 19:17:31 +08:00
status102
72a78402fb style: format
[skip changelog]
2024-08-20 16:49:26 +08:00
Manicsteiner
66a9b4ebfa Merge branch 'dev' into feat_opername 2024-08-18 22:26:30 +08:00
acturea
c707825a92 fix(ConfigurationHelper): Clarify log messages for config loading
Revised log messages to better indicate the failure in loading the configuration and the use of default settings. This enhances the clarity and usefulness of the log outputs.

Signed-off-by: acturea <acturea@gmail.com>
2024-08-08 16:32:16 +08:00
acturea
9c69899620 refactor(ConfigurationHelper): streamline configuration loading
Refactored the configuration loading process for simplicity and clarity. Extracted several methods to manage specific tasks like directory existence and configuration parsing, improving code organization. Reduced redundancy and enhanced readability.

Signed-off-by: acturea <acturea@gmail.com>
2024-08-08 16:32:15 +08:00
status102
c01b52a6d2 perf: nullable enable
[skip changelog]
2024-08-08 11:04:24 +08:00
ManicSteiner
46abd60d9d feat: 允许选择WPFGUI中的干员名称显示语言 2024-08-04 23:50:30 +08:00
dantmnf
c17c036a0f feat: deprecate legacy GPUs (#9990)
blacklist GPU if:
* no FL 12_0
* driver predates DirectML GA
* Intel: pre-Xe (Gen9, Gen11)
* AMD: pre-Polaris (Sea Islands, Volcanic Islands, Arctic Islands)
* NVIDIA: pre-Pascal (Kepler, Maxwell)
2024-07-31 13:22:26 +08:00
uye
e5666653ff style: 优化格式 2024-07-17 10:59:14 +08:00
ChingCdesu
2ba2db3c5a pref: 将Head和ETag请求设置为Connection: close 2024-07-10 10:08:57 +08:00
uye
3e3aad1569 perf: 优化仓库识别结果展示,支持多语言显示 (#9434) 2024-06-21 16:54:50 +08:00
uye
ab484ffdc4 perf: 优化数据绑定逻辑,减少 AsstProxy 逻辑处理 2024-06-19 17:01:42 +08:00
uye
54dcd2736a perf: 优化热更新 2024-06-15 16:23:20 +08:00
dantmnf
d6572b2c7e feat: GPU acceleration (DX12/DirectML)
Co-authored-by: SherkeyXD <253294679@qq.com>
2024-06-14 18:26:41 +08:00
uye
78f6ca6fa8 refactor: 统一使用OnUIThread,AddLog默认在ui线程执行 2024-05-26 22:25:54 +08:00
北雁 Cryolitia
5b7029ca76 docs(treewide): fix license typo
introduced in b8e63a1223 (diff-4d3cb3f2d417ec9595021db8d2d4eb91950a210be491d64525152588b3a2f908R10)
2024-05-26 06:21:33 +08:00
uye
33823e1c81 fix: 暂时忽略吐司通知报错 2024-05-26 03:05:27 +08:00
uye
321347fa6b fix: 老版本 win10 吐司通知报错 2024-05-25 23:53:23 +08:00
dantmnf
e0e49b5542 fix: attempt to fix winrt notification crash 2024-05-21 18:17:35 +08:00
dantmnf
1f9aa4c7a7 feat: Wine 支持 (#8960)
* feat: WineRuntimeInformation

* fix: system theme crash under wine

* refactor: toast notification

* feat: add destory callback

* feat: detect winegcc

* feat: use native MaaCore under Wine

* feat: libnotify integration

* chore: disable hardware accelration under Wine

* fix: distorted icon under Wine

* chore: use Environment.ProcessPath instead of cursed alternatives

* chore: don't filter *.exe when using native MaaCore

* chore: force Aero2 theme

* chore: allow build MaaWpfGui without Windows

You need to extract native .NET SDK on top of Windows .NET SDK to get a working WPF SDK.

* feat: fontconfig integration

* docs: run MaaWpfGui under Wine
2024-05-12 23:27:46 +08:00
枫雨
fe742acb1c fix: 修复开局干员搜索的性能和显示问题 2024-04-25 22:06:52 +08:00
枫雨
5e03372d56 chore: 更好的开局干员搜索
close #8889
2024-04-25 15:16:57 +08:00
status102
f9717be116 perf: nullable
[skip changelog]
2024-04-03 10:54:30 +08:00
uye
8e00c54833 perf: 优化 LocalizationHelper 2024-04-03 10:36:43 +08:00
uye
a529d83758 fix: pallas 无法获取 DynamicResource 2024-04-02 18:15:02 +08:00
uye
c5cf3900d4 fix: 找不到语言资源文件 2024-04-02 18:15:02 +08:00