Commit graph

322 commits

Author SHA1 Message Date
TheBestPessimist
bfdf1dd67c Better field name 2023-04-03 15:59:17 +03:00
Vic
2a96f1cd48 Rename for clarity 2023-03-29 15:19:55 +08:00
Vic
9db13fdbb6 Fix path search logic
open folder in file manager when path search is disabled
2023-03-24 15:45:45 +08:00
Vic
0f5b02fa38 Open file with associated program
Prevent opening zip in Explorer
Fix working directory issue
2023-03-24 15:22:55 +08:00
Vic
a22028460d Add option to open in default file manager 2023-03-24 15:02:11 +08:00
TheBestPessimist
1ed1c99931 Revert "add scoring based on index and small optimization"
This reverts commit 02b321c4a3.
2023-03-15 20:53:14 +02:00
Hongtao
02b321c4a3 add scoring based on index and small optimization 2023-03-14 16:42:09 -05:00
TheBestPessimist
1da8c017f7 use more suggestive name 2023-03-14 10:50:12 +02:00
TheBestPessimist
78cb45ce76 Do not check if file/folder exists 2023-03-14 09:33:36 +02:00
TheBestPessimist
48ed1fec15 more todo 2023-03-14 09:21:11 +02:00
TheBestPessimist
569046b45d Fix private function naming convention 2023-03-14 09:21:03 +02:00
TheBestPessimist
96afa29905 cleanup + warnings 2023-03-08 14:29:46 +02:00
TheBestPessimist
9debba9e4e centralize the 3 actions: open file, open folder, open file as admin, for simpler logic 2023-03-08 14:29:46 +02:00
TheBestPessimist
2be108d740 formatting 2023-03-08 14:29:46 +02:00
TheBestPessimist
4289d10af6 Remove SortOption.RunCountAsc because it doesn't make sense 2023-03-08 14:29:46 +02:00
TheBestPessimist
fa971c6b81 Ask Everything for RunCount only if sorting by it 2023-03-08 14:29:46 +02:00
TheBestPessimist
a1a4c720c0 More comments 2023-03-08 14:29:46 +02:00
TheBestPessimist
3cecf5b302 Use String Interpolation 2023-03-08 14:29:46 +02:00
TheBestPessimist
9bc6a4e072 Waiting on a semaphore must be outside of try 2023-03-08 14:29:46 +02:00
TheBestPessimist
7d6d0258d0 Add more debugging info to DEBUG profile 2023-03-08 14:29:46 +02:00
TheBestPessimist
84b63e5f54 Use Request Flags when retrieving results from Everything, to be able to retrieve RunCount as well 2023-03-08 14:29:46 +02:00
TheBestPessimist
5ff916a17b Use the SearchResult.Score instead of 0 when creating the plugin Result 2023-03-08 14:29:46 +02:00
TheBestPessimist
ac3c955539 Async is hard.
Not sure exactly why the previous version was not working, but i _assume_ it's because I was in a deadlock on that semaphore.
2023-03-08 14:29:46 +02:00
TheBestPessimist
94b841d341 Should be working 2023-03-08 14:29:46 +02:00
TheBestPessimist
f96bf4c592 cleanup 2023-03-08 14:29:46 +02:00
TheBestPessimist
742d80922c Indentation 2023-03-08 14:29:46 +02:00
TheBestPessimist
86869ff5f4 Extract RunExplorer nested ifs as functions for readability 2023-03-08 14:29:46 +02:00
TheBestPessimist
ad8dffe468 Add direct call to Everything API from ResultManager
Obviously this is stupid because we forcefully tied Explorer plugin to Everything. This needs more thinking, but is a good enough for now solution to test what works and doesnt work
2023-03-08 14:29:46 +02:00
Hongtao Zhang
083527e603
add option for everything search in full path (default true) 2023-02-11 10:35:26 -06:00
TheBestPessimist
18d1bb5668 Cleanup unused properties 2023-01-26 09:19:42 +02:00
TheBestPessimist
1b9a879d48 Use EverythingSearchOption flag to set up FullPathSearch instead of hardcoding it 2023-01-26 08:58:41 +02:00
TheBestPessimist
2b6c92c48c question to the FL developers 2023-01-26 08:50:42 +02:00
TheBestPessimist
1482637cf1 Everything.MatchPath = true 2023-01-26 08:50:42 +02:00
Vic
f5cc792ce9 Return empty when operation canceled 2023-01-21 16:57:41 +08:00
Vic
71a2f996db Set environment var dict in LoadEnvironmentStringPaths() 2023-01-20 15:27:19 +08:00
Vic
966d3e752e Fix environment variable expansion logic 2023-01-20 15:22:54 +08:00
Vic
4d267fe71e Fix incorrect %homepath% parsing
Parse environment variables before checking path existence
2023-01-20 14:31:01 +08:00
Vic
504fb4ae05 Display environment vars in upper case 2023-01-20 14:02:04 +08:00
VictoriousRaptor
768ed4f80a
Update wording
Co-authored-by: Jeremy Wu <jeremy24wu@gmail.com>
2023-01-20 12:13:02 +08:00
Vic
4bea50d4cf Add unit test for PathEqualityComparator 2023-01-19 23:17:04 +08:00
Vic
beb144956c Rename method and add option to allow equality 2023-01-19 21:33:09 +08:00
Vic
ac92b93f66 Move IsSubPathOf to SharedCommands 2023-01-19 20:29:25 +08:00
Vic
32268890b9 Remove TranslateEnvironmentVariablePath 2023-01-19 20:23:33 +08:00
Vic
2c36692052 Use case-insensitve comparator for path 2023-01-19 16:21:24 +08:00
Vic
a6b7c5898b Fix subpath check 2023-01-19 16:21:24 +08:00
Vic
383298a46b Fix null subtitle when creating disk result 2023-01-19 16:21:23 +08:00
Vic
51f5d8a410 Add new constructor for EngineNotAvailableException 2023-01-19 16:21:23 +08:00
Vic
52e72992c2 Change context and settings to non static 2023-01-19 16:21:23 +08:00
Vic
009ee3dc5c Simplify environment variable detection 2023-01-19 16:21:23 +08:00
Vic
983f0aafc4 Use a static dictionary for environment vars 2023-01-19 16:21:23 +08:00