Commit graph

400 commits

Author SHA1 Message Date
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
Jack251970
db0c86d50c Remove CancellationToken from semaphore WaitAsync calls
Removed the `CancellationToken` parameter from `WaitAsync` calls
on semaphores in `EverythingAPI.cs` and `Main.cs`. This change
eliminates cancellation support for semaphore waits, likely due
to a design decision prioritizing simplicity or avoiding issues
with cancellation handling.

In `EverythingAPI.cs`, `WaitAsync(token)` was replaced with
`WaitAsync()` in two methods. Similarly, in `Main.cs`, the
`WaitAsync` calls for `_win32sLock` and `_uwpsLock` were updated
to remove the `token` parameter.

Note: This change may impact the ability to gracefully handle
cancellation during semaphore waits.
2025-11-04 14:25:55 +08:00
Diego Henrique
1bfd147421
BUG: Explorer plugin navigate path should only show results in current path (#4053) 2025-10-21 12:12:45 +11:00
Jack251970
78e5bf2a60 Use Flow.Launcher.Localization to improve code quality 2025-09-21 11:50:51 +08:00
Jeremy Wu
e1cc50c579 Merge remote-tracking branch 'origin/master' into resolve_conflicts 2025-08-31 17:53:21 +10:00
Jack Ye
54a2817962
Merge branch 'dev' into code_quality 2025-07-24 11:55:46 +01:00
Jack251970
3cfe122c7b Use new MonitorInfo class class 2025-07-23 13:51:35 +08:00
Jack Ye
ed0524d207
Merge branch 'dev' into code_quality 2025-07-20 20:02:51 +08:00
Kevin Zhang
4f269d3fa9
Dialog Jump - Quickly navigate the Open/Save As dialog window (#1018) 2025-07-20 21:11:09 +10:00
VictoriousRaptor
30f7ae0d67 Use Localization for Explorer plugin 2025-07-16 21:28:17 +08:00
VictoriousRaptor
e116668ef9 Rename file 2025-07-15 23:57:21 +08:00
Jack251970
d6310bc4f0 Add quick access result score for folder results 2025-06-28 11:02:44 +08:00
Jack251970
03c1e58922 Support volume type for quick access link 2025-06-28 11:00:56 +08:00
Jeremy Wu
7ae91b1af3
Release 1.20.1 | Plugin 4.6.0 (#3706) 2025-06-14 13:45:30 +03:00
Jack251970
b166b18ab7 Add preview information back for external preview 2025-06-12 14:25:10 +08:00
Jack Ye
a3f98a69b7
Merge branch 'dev' into PreviewMedia 2025-06-09 15:54:52 +08:00
Jack Ye
d04f493e57
Merge pull request #3631 from Flow-Launcher/file_tooltip
Support More Information for Files, Folders and Volumes Tooltips & Add Custom Preview Panel Support for Folder Results
2025-06-09 13:00:16 +08:00
DB P
8f10f4a9ee Add additional media file extensions to ResultManager 2025-06-09 11:06:40 +09:00
Jack251970
bdbd1e77e8 Remove blank lines 2025-06-07 14:12:06 +08:00
Jack Ye
37cab1b30c
Merge branch 'dev' into rename-quick-access-links 2025-06-07 13:39:00 +08:00
Jack Ye
d0c240f50f
Merge branch 'dev' into file_tooltip 2025-06-06 20:09:02 +08:00
Jack251970
7d5001de18 Catch exception when installing Everything 2025-06-05 18:16:13 +08:00
Jack251970
4c7a4fec1f Add more info tooltip support for volumes 2025-06-05 11:56:21 +08:00
Jack251970
ce0729923c Add try-catch for tooltip getter 2025-06-04 17:26:33 +08:00
Jack251970
85c038719e Support custom preview panel for folder results 2025-06-04 17:12:53 +08:00
Jack251970
f069ee9094 Show more info in file & folder tooltip 2025-06-04 17:01:46 +08:00
01Dri
3b425413a2 Edit access link 2025-05-25 04:31:08 -03:00
01Dri
59d5cd62bc AccessLink Refactor 2025-05-25 02:34:48 -03:00
Jack251970
222ef41c8f Fix nullabl warnings 2025-04-15 13:29:26 +08:00
Jack251970
50130e4b00 Use class name instead 2025-04-13 17:59:39 +08:00
Jack251970
a9748acd22 Code quality 2025-04-12 21:11:22 +08:00
Jack251970
022b345a4d Add readonly 2025-04-12 21:10:39 +08:00
Jack251970
625ddbc0e1 Code quality 2025-04-12 21:10:26 +08:00
Jack251970
dd9dc82ecf Fix Logical error in query constraint using System.Search.Rank 2025-04-12 21:06:52 +08:00
Jack251970
136a4aa1dd Code quality 2025-04-12 20:47:43 +08:00
Jack Ye
cd916b391f
Merge branch 'dev' into SearchOrderByRank 2025-04-12 20:40:22 +08:00
Jack251970
da8a69038a Improve code quality 2025-04-09 13:05:43 +08:00
Jack251970
9c07989edf Improve code quality 2025-04-09 12:14:07 +08:00
Jack251970
5ee110b3b7 Fix unix directory seperator issue 2025-02-07 16:42:01 +08:00
Jack251970
3ee3528e54 Revert "Fix unix directory seperator issue"
This reverts commit a3cc5e25f9.
2025-02-07 16:40:45 +08:00
Jack251970
a3cc5e25f9 Fix unix directory seperator issue 2025-02-07 16:05:35 +08:00
Jack251970
5b344fb53c Improve windows index search with special character 2024-12-09 13:23:28 +08:00
Jack251970
57cbe10ef0 Fix parameter bug 2024-12-01 20:13:13 +08:00
Jack251970
534a1117aa Use public api to call ShowMsgBox functions & remove useless Core project import 2024-11-27 12:21:34 +08:00
Jack251970
897fd7aaba Replace Flow.Launcher.Core.MessageBoxType & MessageBoxImage with System.Windows.MessageBoxButton & MessageBoxImage
Remove useless warning file
2024-11-26 21:31:13 +08:00
Jack251970
b30cc4fc38 Replace System.Windows.MessageBox with MessageBoxEx 2024-11-25 10:38:43 +08:00
Ishmaeel
2e078d7d0e Pass MaxResult setting to EverythingApi 2024-08-03 17:16:30 +10:00
Lasith Manujitha
0f7bdeec88
Using a case-insensitive comparison
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-07-17 11:32:09 +05:30
Lasith Manujitha
b690123a19 Results filter implementation 2024-07-17 04:16:01 +05:30
Lasith Manujitha
c79b512191 feat: Everything Run Count option
Added an option in Explorer > Everything Settings to enable/disable Run Count for file/folder.
2024-07-15 12:22:12 +05:30