Commit graph

372 commits

Author SHA1 Message Date
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
Vic
6efa9d1731 Only expand environment var when path starts with % 2023-01-19 16:21:23 +08:00
Vic
2e4127c63b Catch specifc exception 2023-01-19 16:21:23 +08:00
Vic
ce8c3f9288 Fix typo 2023-01-13 15:12:45 +08:00
Hongtao Zhang
f07cff7742
fix explorer setting UseLocationAsWorkingDir 2023-01-12 15:29:58 -06:00
Vic
44438de7df Fix typo 2022-12-31 01:49:30 +08:00
Jeremy Wu
6607acbcce
Merge pull request #1706 from Flow-Launcher/fix_quickaccess_autocomplete
Fix quick access path search and autocomplete text
2022-12-25 16:53:12 +11:00
Jeremy
ae8f2d2ee8 fix wrong Everything service warning displayed when not available 2022-12-25 06:01:17 +11:00
Jeremy
9f8b205b35 Merge remote-tracking branch 'origin/dev' into fix_quickaccess_autocomplete 2022-12-25 05:00:15 +11:00
Jeremy
3f2b741dcc add unit tests for get autocomplete result 2022-12-25 04:58:37 +11:00
Jeremy
f64ebdca95 simplify get path method 2022-12-24 22:51:18 +11:00
Vic
ccac84c0f3 Fix hardcoded strings 2022-12-23 15:15:11 +08:00
Jeremy
2174fc24ce update directory navigation with same action keyword 2022-12-22 23:20:37 +11:00
Jeremy
fc9805f29e add GetAutoCompleteText method 2022-12-22 22:57:37 +11:00
Jeremy
5c1cc79751 update GetPathWithActionKeyword 2022-12-22 22:39:24 +11:00
Jeremy
f0b7898f89 fix quick access path search and autocomplete text 2022-12-22 22:04:39 +11:00
Vic
3b6c8b882b Add translatble text 2022-12-21 13:30:49 +08:00
Hongtao Zhang
42725f289c
Make the behavior more like 1.9.5- 2022-12-17 10:50:23 -06:00
Hongtao Zhang
9da322f840
Handle Search Exception more carefully 2022-12-17 10:43:17 -06:00
Jeremy Wu
00c229d82c add exception handling when Windows Search service not available 2022-12-15 22:03:54 +11:00
VictoriousRaptor
48629502f7
Merge branch 'dev' into fix_dup_results_explorer 2022-12-12 14:29:37 +08:00
Jeremy Wu
45a81a90a9 fix action keyword missing when traversing paths or using autocomplete 2022-12-12 14:07:04 +11:00
Jeremy Wu
3b8e7866ac fix duplicate Quick Access results from CreateOpenCurrentFolderResult 2022-12-12 13:14:37 +11:00
Vic
f509f56304 Fix file extension case sensitive issue 2022-12-07 14:25:16 +08:00
Vic
05dca1aebc Merge branch 'ImagePreview' of https://github.com/onesounds/Flow.Launcher into pr/1360 2022-12-07 01:18:57 +08:00
DB P
fa84f4481c
Merge branch 'dev' into ImagePreview 2022-12-06 06:17:07 +09:00
Vic
6c54ad8589 refactor preview info 2022-12-05 16:01:20 +08:00
Vic
53b17816c7 Renaming method and property 2022-12-05 14:07:35 +08:00
Vic
2194e3c5ec Preview image for explorer 2022-12-05 13:59:24 +08:00
Hongtao Zhang
ee9c53d2f9
Add CopyText in Explorer Result 2022-12-04 21:46:11 -06:00
Jeremy
74ea629c55 search window hides when prompted to install, remove threading 2022-12-05 08:46:19 +11:00
Jeremy
797464d356 remove unnecessary show Windows index state in context menu option 2022-12-05 07:06:20 +11:00
Hongtao Zhang
af07c3835a
cleanup code 2022-12-04 11:39:53 -06:00
Hongtao Zhang
e9d8579bbd
fix concurrency issue (really potentially) 2022-12-03 13:50:30 -06:00
Hongtao Zhang
4a0ee9b4fc
fix concurrency issue (potentially) 2022-12-03 13:44:43 -06:00
Jeremy
605db6095a add icon for Everything's content search warning 2022-12-02 09:04:13 +11:00
Jeremy
355035eefa re-add warning when Windows Index service is off as a search result 2022-12-01 23:03:18 +11:00
Jeremy
5ac2366697 allow path to be searchable in quick access list 2022-11-30 08:21:47 +11:00
Jeremy
a8d6e8df64 only display quick access list when action keyword is used 2022-11-30 08:21:17 +11:00
Jeremy
9fdf220e09 trigger general search only when action keywords match 2022-11-30 07:42:59 +11:00
DB p
c820bc139c Fix Context Menu Image Icon 2022-11-29 19:50:53 +09:00
Jeremy
a4ca486a6c formatting 2022-11-29 20:44:28 +11:00
Jeremy
0e555b5224 fix Windows Indexed Content search not triggering 2022-11-29 20:33:22 +11:00
Hongtao Zhang
22bc292aa9
Add try catch to encounter dllnotfound issue and move warning string to resource 2022-11-28 21:38:27 -06:00
Hongtao Zhang
acc7d5171b
Remove legacy code and slightly refactor 2022-11-28 21:38:27 -06:00
Hongtao Zhang
9267938018
Append Result for everything error and windows index error 2022-11-25 13:25:12 -06:00
Hongtao Zhang
786e9427d9
Apply IndexSearchExcludedPaths to Index Search in a unified way 2022-11-24 17:06:22 -06:00
Hongtao Zhang
2da557c2db
fix path equality check 2022-11-24 16:46:33 -06:00
DB p
d3ebeb2814 Change Constant Tooltips to String 2022-11-18 14:13:57 +09:00
Hongtao Zhang
e41691d10f
Fix everything sdk issue & a null reference issue 2022-11-04 01:06:56 -05:00
Hongtao Zhang
569cc19001
Fix setting issue and everything sdk issue 2022-11-04 00:58:07 -05:00
Hongtao Zhang
970fcd8f14
Fix testing and remove obsolete method 2022-11-03 23:57:47 -05:00
Hongtao Zhang
2a2514d1a9
Reformat some code 2022-10-10 11:11:48 -05:00