Flow.Launcher/Plugins/Flow.Launcher.Plugin.Program
Jack251970 3d8fd1d352 Improve cancellation, locking, and logging mechanisms
Enhanced cancellation handling by adding `token.IsCancellationRequested` checks to improve responsiveness. Refactored locking mechanisms for `_win32sLock` and `_uwpsLock` using `try-finally` blocks to ensure proper acquisition and release, improving thread safety and preventing deadlocks.

Reorganized Win32 and UWP program querying logic for better modularity and readability. Replaced shared collection access with local variables to improve clarity and maintain thread safety. Simplified empty result handling by directly returning `emptyResults` when canceled.

Removed redundant debug log statements to reduce verbosity and updated remaining logs for clarity. Suppressed unused result warnings by replacing direct calls to `EverythingApiDllImport.Everything_GetMajorVersion()` with null-coalescing assignments.
2025-11-06 15:28:13 +08:00
..
Images Change Some Icons 2022-12-12 12:45:44 +09:00
Languages New Crowdin updates (#4002) 2025-10-14 12:14:37 +03:00
Logger remove unnecessary using 2022-11-03 18:20:13 +08:00
Programs Merge branch 'dev' into nuget_dependency 2025-07-20 19:55:36 +08:00
ViewModels fix path not changed in the textbox 2022-12-12 14:40:52 -06:00
Views Add caching to QueryAsync and integrate cache reset logic 2025-10-26 20:59:29 +08:00
AddProgramSource.xaml Format xaml styles 2025-04-24 19:46:02 +08:00
AddProgramSource.xaml.cs Use public api to call ShowMsgBox functions & remove useless Core project import 2024-11-27 12:21:34 +08:00
Flow.Launcher.Plugin.Program.csproj Upgrade nuget packages 2025-09-13 14:14:59 +08:00
Main.cs Improve cancellation, locking, and logging mechanisms 2025-11-06 15:28:13 +08:00
NativeMethods.txt Replace DllImport & flags with CSWin32 2024-12-10 15:09:06 +08:00
plugin.json set all of plugins' version to default 1.0.0 2025-05-20 09:06:11 +00:00
ProgramSuffixes.xaml Move to iNKORE.UI.WPF.Modern UI Framework (#3593) 2025-10-05 13:44:40 +03:00
ProgramSuffixes.xaml.cs Use public api to call ShowMsgBox functions & remove useless Core project import 2024-11-27 12:21:34 +08:00
Settings.cs Fix typos 2025-02-21 09:29:43 +08:00
SuffixesConverter.cs bugfix 2022-10-23 22:09:22 +08:00