Commit graph

191 commits

Author SHA1 Message Date
Jack251970
1dcaf3d359 Improve theme window width setter handling
Previously, only the first width setter in WindowStyle was removed, which could leave conflicting width settings. Now, all width setters are removed before adding a new one based on user settings, ensuring the user's preferred window width is always applied.
2026-03-03 16:21:04 +08:00
Jack251970
913ef1a0bd Improve style setter property checks for CaretBrush/Foreground
Updated logic to compare dependency property objects directly
instead of using string property names when identifying and
manipulating CaretBrush and Foreground setters. This enhances
robustness and reduces risk of errors from string comparisons.
2026-03-03 16:04:48 +08:00
Jack251970
aff6b20aa0 Refactor theme font/style application and window width
Move font and style setting logic to ApplyFontSettings for better modularity. Improve window width handling by removing existing setters before applying user settings, preventing duplicates and ensuring cleaner resource dictionaries.
2026-03-03 16:02:54 +08:00
Jack251970
c9152b8b1c Improve font and caret brush setter handling in styles
Refactored style management to explicitly remove existing CaretBrush setters before adding new ones, preventing duplicates. Unified font property removal to consistently target Control's font properties, enhancing robustness and consistency for text control styling.
2026-03-03 15:53:53 +08:00
Jack Ye
a2d12eb225
Merge branch 'dev' into plugin_initialization 2025-10-05 19:25:01 +08:00
Jack Ye
5ae159de5b
Move to iNKORE.UI.WPF.Modern UI Framework (#3593) 2025-10-05 13:44:40 +03:00
Jack251970
5ed94c8abc Resolve conflicts 2025-10-02 20:25:45 +08:00
Jack Ye
6213193cda
Merge branch 'dev' into plugin_initialization 2025-10-02 20:22:20 +08:00
Jack251970
0e366a6269 Use PublicApi.Instance instead of private one 2025-09-23 17:40:54 +08:00
Jack251970
7350c1d4d5 Use Flow.Launcher.Localization to improve code quality 2025-09-23 17:14:30 +08:00
Jack Ye
3116f3d363
Merge branch 'dev' into plugin_initialization 2025-09-21 13:22:31 +08:00
Jack251970
0f6245a072 Handle exceptions inside ChangeLanguageAsync to avoid unobserved task crashes 2025-09-18 18:18:02 +08:00
Jack251970
86581e6a00 Add disposable for internalization 2025-09-18 18:17:27 +08:00
Jack251970
330e6c09e7 Add language change lock 2025-09-18 18:07:18 +08:00
Jack251970
6c695f09e7 Use clear function 2025-09-18 17:55:06 +08:00
Jack251970
b05c2c1e1a Remove old dictionaries references to fix possible memory leak 2025-09-18 16:25:21 +08:00
Jack Ye
cf8096f276
Merge branch 'dev' into plugin_initialization 2025-09-05 20:35:05 +08:00
Jeremy Wu
e1cc50c579 Merge remote-tracking branch 'origin/master' into resolve_conflicts 2025-08-31 17:53:21 +10:00
Jeremy Wu
a9b5b3aa38
Merge pull request #3860 from Flow-Launcher/taooceros-patch-1
Add Srpski (Cyrillic)
2025-08-20 18:31:51 +10:00
Jack251970
d8f8de2abe Use Српски instead of Српска 2025-08-16 11:41:25 +08:00
Kevin Zhang
7664944ff2
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-28 16:27:47 -05:00
Kevin Zhang
16603697a5
Add Srpski (Cyrillic) 2025-07-22 22:48:19 -05:00
Jack251970
d4e672d630 Add support to update translation for one plugin 2025-07-21 13:55:47 +08:00
Jack Ye
71eaf2d789
Merge branch 'dev' into code_quality 2025-07-21 10:23:08 +08:00
Jack Ye
ed0524d207
Merge branch 'dev' into code_quality 2025-07-20 20:02:51 +08:00
Jack251970
fea899d09a No need to get lower for language code 2025-07-20 17:37:12 +08:00
Jack251970
f77f14b0ee Improve code quality 2025-07-20 17:35:07 +08:00
Jack251970
ac7da2d2d6 Do not check if the language directory contains default language file 2025-07-20 17:26:14 +08:00
Jack251970
5e8acf7d74 Use OrdinalIgnoreCase 2025-07-20 15:29:27 +08:00
Jack251970
634bdc5bd6 Do not check Flow Launcher default language file since it is binary embedded 2025-07-20 15:26:07 +08:00
Jack251970
2ee53dfbf7 Initialize language before portable clean up since it needs translations 2025-07-20 15:20:18 +08:00
Jack251970
0682e9bed1 Improve code quality for public api 2025-07-20 11:38:44 +08:00
Jack Ye
fc6ff5a7a0
Merge branch 'dev' into code_quality 2025-07-14 09:09:09 +08:00
Jeremy Wu
2e0dd1cfa1
Release 1.20.2 | Plugin 4.7.0 (#3820) 2025-07-13 17:18:34 +03:00
Jack251970
d3f5274b24 Make GetPluginsForInterface private & Code quality 2025-07-03 20:45:20 +08:00
Jack251970
9be2ef0924 Remove unused class 2025-06-23 13:03:45 +08:00
Jack Ye
43c74f04ac
Merge branch 'dev' into winform_language_issue 2025-06-16 21:10:19 +08:00
Jeremy Wu
7ae91b1af3
Release 1.20.1 | Plugin 4.6.0 (#3706) 2025-06-14 13:45:30 +03:00
Jack Ye
a02a236ca4
Merge branch 'dev' into explorer_plugin_code_quality 2025-06-06 21:30:54 +08:00
DB P
c6ed0bdc2a Adjust window border style for blur themes and update border brush resource 2025-06-02 18:01:09 +09:00
Jack251970
4a50eec281 Remove TranslationConverter & project reference in Explorer plugin 2025-05-30 10:59:22 +08:00
Jack251970
b0997449c1 Handle CultureNotFoundException 2025-05-21 14:38:15 +08:00
Jack251970
f7f52e269a Set culture info before creating application 2025-05-21 14:31:09 +08:00
Jack Ye
8bb96d7f58
Fix copy to clipboard STA thread issue & Support retry for copy & Async build-in shortcut model & Fix build shortcuts text replace issue & Fix startup window hide issue (#3314) 2025-05-02 14:26:14 +10:00
DB P
b2a3782f63
Merge branch 'dev' into 250412-ImportThemePreset 2025-04-14 09:09:04 +09:00
Jack251970
4a7915b9ff Use api fuctions forr main project 2025-04-13 17:50:44 +08:00
Jack251970
dde933a96b Use api functions instead 2025-04-13 17:26:21 +08:00
DB P
3d96a368ff Fix Preview CornerRadius (Get BasedOn Style) 2025-04-13 14:20:57 +09:00
DB P
2cf7f97a8b Add Import Function 2025-04-13 07:37:55 +09:00
Jack251970
bae0fa5c0e Improve code quality 2025-04-11 22:00:36 +08:00